the connection command with a '\n' connector. Makes the text
output of parse_comsub closer to the original source text. From a
report from Martijn Dekker <martijn@inlv.org>
+
+ 7/6
+ ---
+doc/bash.1,lib/readline/doc/rluser.texi
+ - complete: add note about arguments passed to command specified by
+ `complete -C'; suggested by Mark Chandler <mcp@synq.so>
+
+builtins/setattr.def
+ - show_local_var_attributes: special-case `local -', since there is
+ no `declare -' equivalent.
+ Reported by Emanuele Torre <torreemanuele6@gmail.com>.
+ - show_all_var_attributes: use `local -' when printing a variable named
+ `-' at the current non-zero variable context
+
+parse.y
+ - shell_getc: if we are at the end of an alias, returning a space,
+ make sure we mark the previous character as single-byte by modifying
+ shell_input_line_property so the space we return is properly
+ recognized. This would fail before if the last character of the
+ alias was a multi-byte character. Reported by
+ Vangelis Natsios <vnatsios@gmail.com>
+
+ 7/12
+ ----
+lib/readline/isearch.c
+ - rl_display_search: don't call rl_redisplay_function before returning;
+ rl_message already calls it. Reported by
+ Frédéric Moulins <frederic@moulins.org>
tests/alias3.sub f
tests/alias4.sub f
tests/alias5.sub f
+tests/alias6.sub f
tests/alias.right f
tests/appendop.tests f
tests/appendop1.sub f
for (i = any_failed = 0; var = variable_list[i]; i++)
{
- show_var_attributes (var, READONLY_OR_EXPORT, nodefs);
+ /* There is no equivalent `declare -'. */
+ if (variable_context && var->context == variable_context && STREQ (var->name, "-"))
+ printf ("local -\n");
+ else
+ show_var_attributes (var, READONLY_OR_EXPORT, nodefs);
if (any_failed = sh_chkwrite (any_failed))
break;
}
for (i = any_failed = 0; var = variable_list[i]; i++)
{
- show_var_attributes (var, READONLY_OR_EXPORT, nodefs);
+ /* There is no equivalent `declare -'. */
+ if (STREQ (var->name, "-"))
+ printf ("local -\n");
+ else
+ show_var_attributes (var, READONLY_OR_EXPORT, nodefs);
if (any_failed = sh_chkwrite (any_failed))
break;
}
s\bse\bel\ble\bec\bct\bt _\bn_\ba_\bm_\be [ i\bin\bn _\bw_\bo_\br_\bd ] ; d\bdo\bo _\bl_\bi_\bs_\bt ; d\bdo\bon\bne\be
The list of words following i\bin\bn is expanded, generating a list of
- items. The set of expanded words is printed on the standard er-
- ror, each preceded by a number. If the i\bin\bn _\bw_\bo_\br_\bd is omitted, the
- positional parameters are printed (see P\bPA\bAR\bRA\bAM\bME\bET\bTE\bER\bRS\bS below). The
- P\bPS\bS3\b3 prompt is then displayed and a line read from the standard
- input. If the line consists of a number corresponding to one of
- the displayed words, then the value of _\bn_\ba_\bm_\be is set to that word.
- If the line is empty, the words and prompt are displayed again.
- If EOF is read, the command completes. Any other value read
- causes _\bn_\ba_\bm_\be to be set to null. The line read is saved in the
- variable R\bRE\bEP\bPL\bLY\bY. The _\bl_\bi_\bs_\bt is executed after each selection until
- a b\bbr\bre\bea\bak\bk command is executed. The exit status of s\bse\bel\ble\bec\bct\bt is the
- exit status of the last command executed in _\bl_\bi_\bs_\bt, or zero if no
- commands were executed.
+ items, and the set of expanded words is printed on the standard
+ error, each preceded by a number. If the i\bin\bn _\bw_\bo_\br_\bd is omitted,
+ the positional parameters are printed (see P\bPA\bAR\bRA\bAM\bME\bET\bTE\bER\bRS\bS below).
+ s\bse\bel\ble\bec\bct\bt then displays the P\bPS\bS3\b3 prompt and reads a line from the
+ standard input. If the line consists of a number corresponding
+ to one of the displayed words, then the value of _\bn_\ba_\bm_\be is set to
+ that word. If the line is empty, the words and prompt are dis-
+ played again. If EOF is read, the s\bse\bel\ble\bec\bct\bt command completes and
+ returns 1. Any other value read causes _\bn_\ba_\bm_\be to be set to null.
+ The line read is saved in the variable R\bRE\bEP\bPL\bLY\bY. The _\bl_\bi_\bs_\bt is exe-
+ cuted after each selection until a b\bbr\bre\bea\bak\bk command is executed.
+ The exit status of s\bse\bel\ble\bec\bct\bt is the exit status of the last command
+ executed in _\bl_\bi_\bs_\bt, or zero if no commands were executed.
c\bca\bas\bse\be _\bw_\bo_\br_\bd i\bin\bn [ [(] _\bp_\ba_\bt_\bt_\be_\br_\bn [ |\b| _\bp_\ba_\bt_\bt_\be_\br_\bn ] ... ) _\bl_\bi_\bs_\bt ;; ] ... e\bes\bsa\bac\bc
A c\bca\bas\bse\be command first expands _\bw_\bo_\br_\bd, and tries to match it against
ified as -\b-v\bv.
-\b-C\bC _\bc_\bo_\bm_\bm_\ba_\bn_\bd
_\bc_\bo_\bm_\bm_\ba_\bn_\bd is executed in a subshell environment, and its
- output is used as the possible completions.
+ output is used as the possible completions. Arguments
+ are passed as with the -\b-F\bF option.
-\b-F\bF _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn
- The shell function _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn is executed in the current
- shell environment. When the function is executed, the
+ The shell function _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn is executed in the current
+ shell environment. When the function is executed, the
first argument ($\b$1\b1) is the name of the command whose ar-
guments are being completed, the second argument ($\b$2\b2) is
the word being completed, and the third argument ($\b$3\b3) is
- the word preceding the word being completed on the cur-
- rent command line. When it finishes, the possible com-
- pletions are retrieved from the value of the C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY
+ the word preceding the word being completed on the cur-
+ rent command line. When it finishes, the possible com-
+ pletions are retrieved from the value of the C\bCO\bOM\bMP\bPR\bRE\bEP\bPL\bLY\bY
array variable.
-\b-G\bG _\bg_\bl_\bo_\bb_\bp_\ba_\bt
- The pathname expansion pattern _\bg_\bl_\bo_\bb_\bp_\ba_\bt is expanded to
+ The pathname expansion pattern _\bg_\bl_\bo_\bb_\bp_\ba_\bt is expanded to
generate the possible completions.
-\b-P\bP _\bp_\br_\be_\bf_\bi_\bx
- _\bp_\br_\be_\bf_\bi_\bx is added at the beginning of each possible com-
+ _\bp_\br_\be_\bf_\bi_\bx is added at the beginning of each possible com-
pletion after all other options have been applied.
-\b-S\bS _\bs_\bu_\bf_\bf_\bi_\bx
_\bs_\bu_\bf_\bf_\bi_\bx is appended to each possible completion after all
other options have been applied.
-\b-W\bW _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt
- The _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt is split using the characters in the I\bIF\bFS\bS
- special variable as delimiters, and each resultant word
- is expanded. Shell quoting is honored within _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt,
+ The _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt is split using the characters in the I\bIF\bFS\bS
+ special variable as delimiters, and each resultant word
+ is expanded. Shell quoting is honored within _\bw_\bo_\br_\bd_\bl_\bi_\bs_\bt,
in order to provide a mechanism for the words to contain
- shell metacharacters or characters in the value of I\bIF\bFS\bS.
- The possible completions are the members of the resul-
+ shell metacharacters or characters in the value of I\bIF\bFS\bS.
+ The possible completions are the members of the resul-
tant list which match the word being completed.
-\b-X\bX _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt
- _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is a pattern as used for pathname expansion.
+ _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt 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 _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed from the list.
- A leading !\b! in _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt negates the pattern; in this
+ ated by the preceding options and arguments, and each
+ completion matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed from the list.
+ A leading !\b! in _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt negates the pattern; in this
case, any completion not matching _\bf_\bi_\bl_\bt_\be_\br_\bp_\ba_\bt is removed.
- The return value is true unless an invalid option is supplied,
- an option other than -\b-p\bp or -\b-r\br is supplied without a _\bn_\ba_\bm_\be argu-
- ment, an attempt is made to remove a completion specification
+ The return value is true unless an invalid option is supplied,
+ an option other than -\b-p\bp or -\b-r\br is supplied without a _\bn_\ba_\bm_\be argu-
+ ment, an attempt is made to remove a completion specification
for a _\bn_\ba_\bm_\be for which no specification exists, or an error occurs
adding a completion specification.
c\bco\bom\bmp\bpo\bop\bpt\bt [-\b-o\bo _\bo_\bp_\bt_\bi_\bo_\bn] [-\b-D\bDE\bEI\bI] [+\b+o\bo _\bo_\bp_\bt_\bi_\bo_\bn] [_\bn_\ba_\bm_\be]
- Modify completion options for each _\bn_\ba_\bm_\be according to the _\bo_\bp_\b-
+ Modify completion options for each _\bn_\ba_\bm_\be according to the _\bo_\bp_\b-
_\bt_\bi_\bo_\bns, or for the currently-executing completion if no _\bn_\ba_\bm_\bes are
- supplied. If no _\bo_\bp_\bt_\bi_\bo_\bns are given, display the completion op-
- tions for each _\bn_\ba_\bm_\be or the current completion. The possible
- values of _\bo_\bp_\bt_\bi_\bo_\bn are those valid for the c\bco\bom\bmp\bpl\ble\bet\bte\be builtin de-
- scribed above. The -\b-D\bD option indicates that other supplied op-
- tions should apply to the ``default'' command completion; that
- is, completion attempted on a command for which no completion
+ supplied. If no _\bo_\bp_\bt_\bi_\bo_\bns are given, display the completion op-
+ tions for each _\bn_\ba_\bm_\be or the current completion. The possible
+ values of _\bo_\bp_\bt_\bi_\bo_\bn are those valid for the c\bco\bom\bmp\bpl\ble\bet\bte\be builtin de-
+ scribed above. The -\b-D\bD option indicates that other supplied op-
+ tions should apply to the ``default'' command completion; that
+ is, completion attempted on a command for which no completion
has previously been defined. The -\b-E\bE option indicates that other
- supplied options should apply to ``empty'' command completion;
- that is, completion attempted on a blank line. The -\b-I\bI option
+ supplied options should apply to ``empty'' command completion;
+ that is, completion attempted on a blank line. The -\b-I\bI option
indicates that other supplied options should apply to completion
- on the initial non-assignment word on the line, or after a com-
- mand delimiter such as ;\b; or |\b|, which is usually command name
+ on the initial non-assignment word on the line, or after a com-
+ mand delimiter such as ;\b; or |\b|, which is usually command name
completion.
- The return value is true unless an invalid option is supplied,
+ The return value is true unless an invalid option is supplied,
an attempt is made to modify the options for a _\bn_\ba_\bm_\be for which no
completion specification exists, or an output error occurs.
c\bco\bon\bnt\bti\bin\bnu\bue\be [_\bn]
Resume the next iteration of the enclosing f\bfo\bor\br, w\bwh\bhi\bil\ble\be, u\bun\bnt\bti\bil\bl, or
- s\bse\bel\ble\bec\bct\bt loop. If _\bn is specified, resume at the _\bnth enclosing
- loop. _\bn must be >= 1. If _\bn is greater than the number of en-
- closing loops, the last enclosing loop (the ``top-level'' loop)
- is resumed. The return value is 0 unless _\bn is not greater than
+ s\bse\bel\ble\bec\bct\bt loop. If _\bn is specified, resume at the _\bnth enclosing
+ loop. _\bn must be >= 1. If _\bn is greater than the number of en-
+ closing loops, the last enclosing loop (the ``top-level'' loop)
+ is resumed. The return value is 0 unless _\bn is not greater than
or equal to 1.
d\bde\bec\bcl\bla\bar\bre\be [-\b-a\baA\bAf\bfF\bFg\bgi\biI\bIl\bln\bnr\brt\btu\bux\bx] [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
t\bty\byp\bpe\bes\bse\bet\bt [-\b-a\baA\bAf\bfF\bFg\bgi\biI\bIl\bln\bnr\brt\btu\bux\bx] [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ...]
- Declare variables and/or give them attributes. If no _\bn_\ba_\bm_\bes are
- given then display the values of variables. The -\b-p\bp option will
+ Declare variables and/or give them attributes. If no _\bn_\ba_\bm_\bes are
+ given then display the values of variables. The -\b-p\bp option will
display the attributes and values of each _\bn_\ba_\bm_\be. When -\b-p\bp is used
- with _\bn_\ba_\bm_\be arguments, additional options, other than -\b-f\bf and -\b-F\bF,
- are ignored. When -\b-p\bp is supplied without _\bn_\ba_\bm_\be arguments, it
- will display the attributes and values of all variables having
+ with _\bn_\ba_\bm_\be arguments, additional options, other than -\b-f\bf and -\b-F\bF,
+ are ignored. When -\b-p\bp is supplied without _\bn_\ba_\bm_\be arguments, it
+ will display the attributes and values of all variables having
the attributes specified by the additional options. If no other
- options are supplied with -\b-p\bp, d\bde\bec\bcl\bla\bar\bre\be will display the at-
- tributes and values of all shell variables. The -\b-f\bf option will
+ options are supplied with -\b-p\bp, d\bde\bec\bcl\bla\bar\bre\be will display the at-
+ tributes and values of all shell variables. The -\b-f\bf option will
restrict the display to shell functions. The -\b-F\bF option inhibits
- the display of function definitions; only the function name and
+ the display of function definitions; only the function name and
attributes are printed. If the e\bex\bxt\btd\bde\beb\bbu\bug\bg shell option is enabled
- using s\bsh\bho\bop\bpt\bt, the source file name and line number where each
- _\bn_\ba_\bm_\be is defined are displayed as well. The -\b-F\bF option implies
+ using s\bsh\bho\bop\bpt\bt, the source file name and line number where each
+ _\bn_\ba_\bm_\be is defined are displayed as well. The -\b-F\bF option implies
-\b-f\bf. The -\b-g\bg option forces variables to be created or modified at
the global scope, even when d\bde\bec\bcl\bla\bar\bre\be is executed in a shell func-
- tion. It is ignored in all other cases. The -\b-I\bI option causes
- local variables to inherit the attributes (except the _\bn_\ba_\bm_\be_\br_\be_\bf
+ tion. It is ignored in all other cases. The -\b-I\bI option causes
+ local variables to inherit the attributes (except the _\bn_\ba_\bm_\be_\br_\be_\bf
attribute) and value of any existing variable with the same _\bn_\ba_\bm_\be
- at a surrounding scope. If there is no existing variable, the
+ at a surrounding scope. If there is no existing variable, the
local variable is initially unset. The following options can be
- used to restrict output to variables with the specified attri-
+ used to restrict output to variables with the specified attri-
bute or to give variables attributes:
- -\b-a\ba Each _\bn_\ba_\bm_\be is an indexed array variable (see A\bAr\brr\bra\bay\bys\bs
+ -\b-a\ba Each _\bn_\ba_\bm_\be is an indexed array variable (see A\bAr\brr\bra\bay\bys\bs
above).
- -\b-A\bA Each _\bn_\ba_\bm_\be is an associative array variable (see A\bAr\brr\bra\bay\bys\bs
+ -\b-A\bA Each _\bn_\ba_\bm_\be is an associative array variable (see A\bAr\brr\bra\bay\bys\bs
above).
-\b-f\bf Use function names only.
-\b-i\bi The variable is treated as an integer; arithmetic evalua-
- tion (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN above) is performed when
+ tion (see A\bAR\bRI\bIT\bTH\bHM\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN above) is performed when
the variable is assigned a value.
- -\b-l\bl When the variable is assigned a value, all upper-case
- characters are converted to lower-case. The upper-case
+ -\b-l\bl When the variable is assigned a value, all upper-case
+ characters are converted to lower-case. The upper-case
attribute is disabled.
- -\b-n\bn Give each _\bn_\ba_\bm_\be the _\bn_\ba_\bm_\be_\br_\be_\bf attribute, making it a name
- reference to another variable. That other variable is
- defined by the value of _\bn_\ba_\bm_\be. All references, assign-
- ments, and attribute modifications to _\bn_\ba_\bm_\be, except those
- using or changing the -\b-n\bn attribute itself, are performed
- on the variable referenced by _\bn_\ba_\bm_\be's value. The nameref
+ -\b-n\bn Give each _\bn_\ba_\bm_\be the _\bn_\ba_\bm_\be_\br_\be_\bf attribute, making it a name
+ reference to another variable. That other variable is
+ defined by the value of _\bn_\ba_\bm_\be. All references, assign-
+ ments, and attribute modifications to _\bn_\ba_\bm_\be, except those
+ using or changing the -\b-n\bn attribute itself, are performed
+ on the variable referenced by _\bn_\ba_\bm_\be's value. The nameref
attribute cannot be applied to array variables.
-\b-r\br Make _\bn_\ba_\bm_\bes readonly. These names cannot then be assigned
values by subsequent assignment statements or unset.
-\b-t\bt Give each _\bn_\ba_\bm_\be the _\bt_\br_\ba_\bc_\be attribute. Traced functions in-
- herit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps from the calling shell.
+ herit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps from the calling shell.
The trace attribute has no special meaning for variables.
- -\b-u\bu When the variable is assigned a value, all lower-case
- characters are converted to upper-case. The lower-case
+ -\b-u\bu When the variable is assigned a value, all lower-case
+ characters are converted to upper-case. The lower-case
attribute is disabled.
- -\b-x\bx Mark _\bn_\ba_\bm_\bes for export to subsequent commands via the en-
+ -\b-x\bx Mark _\bn_\ba_\bm_\bes for export to subsequent commands via the en-
vironment.
- Using `+' instead of `-' turns off the attribute instead, with
- the exceptions that +\b+a\ba and +\b+A\bA may not be used to destroy array
- variables and +\b+r\br will not remove the readonly attribute. When
+ Using `+' instead of `-' turns off the attribute instead, with
+ the exceptions that +\b+a\ba and +\b+A\bA may not be used to destroy array
+ variables and +\b+r\br will not remove the readonly attribute. When
used in a function, d\bde\bec\bcl\bla\bar\bre\be and t\bty\byp\bpe\bes\bse\bet\bt make each _\bn_\ba_\bm_\be local, as
- with the l\blo\boc\bca\bal\bl command, unless the -\b-g\bg option is supplied. If a
- variable name is followed by =_\bv_\ba_\bl_\bu_\be, the value of the variable
- is set to _\bv_\ba_\bl_\bu_\be. When using -\b-a\ba or -\b-A\bA and the compound assign-
- ment syntax to create array variables, additional attributes do
- not take effect until subsequent assignments. The return value
+ with the l\blo\boc\bca\bal\bl command, unless the -\b-g\bg option is supplied. If a
+ variable name is followed by =_\bv_\ba_\bl_\bu_\be, the value of the variable
+ is set to _\bv_\ba_\bl_\bu_\be. When using -\b-a\ba or -\b-A\bA and the compound assign-
+ ment syntax to create array variables, additional attributes do
+ not take effect until subsequent assignments. The return value
is 0 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 as-
sign a value to an array variable without using the compound as-
- signment syntax (see A\bAr\brr\bra\bay\bys\bs above), one of the _\bn_\ba_\bm_\be_\bs is not a
- valid shell variable name, an attempt is made to turn off read-
- only status for a readonly variable, an attempt is made to turn
+ signment syntax (see A\bAr\brr\bra\bay\bys\bs above), one of the _\bn_\ba_\bm_\be_\bs is not a
+ valid shell variable name, an attempt is made to turn off read-
+ only 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 -\b-f\bf.
d\bdi\bir\brs\bs [\b[-\b-c\bcl\blp\bpv\bv]\b] [\b[+\b+_\bn]\b] [\b[-\b-_\bn]\b]
- Without options, displays the list of currently remembered di-
- rectories. The default display is on a single line with direc-
- tory names separated by spaces. Directories are added to the
- list with the p\bpu\bus\bsh\bhd\bd command; the p\bpo\bop\bpd\bd command removes entries
+ Without options, displays the list of currently remembered di-
+ rectories. The default display is on a single line with direc-
+ tory names separated by spaces. Directories are added to the
+ list with the p\bpu\bus\bsh\bhd\bd command; the p\bpo\bop\bpd\bd command removes entries
from the list. The current directory is always the first direc-
tory in the stack.
- -\b-c\bc Clears the directory stack by deleting all of the en-
+ -\b-c\bc Clears the directory stack by deleting all of the en-
tries.
- -\b-l\bl Produces a listing using full pathnames; the default
+ -\b-l\bl Produces a listing using full pathnames; the default
listing format uses a tilde to denote the home directory.
-\b-p\bp Print the directory stack with one entry per line.
- -\b-v\bv Print the directory stack with one entry per line, pre-
+ -\b-v\bv Print the directory stack with one entry per line, pre-
fixing each entry with its index in the stack.
+\b+_\bn Displays the _\bnth entry counting from the left of the list
shown by d\bdi\bir\brs\bs when invoked without options, starting with
zero.
- -\b-_\bn Displays the _\bnth entry counting from the right of the
+ -\b-_\bn Displays the _\bnth entry counting from the right of the
list shown by d\bdi\bir\brs\bs when invoked without options, starting
with zero.
- The return value is 0 unless an invalid option is supplied or _\bn
+ The return value is 0 unless an invalid option is supplied or _\bn
indexes beyond the end of the directory stack.
d\bdi\bis\bso\bow\bwn\bn [-\b-a\bar\br] [-\b-h\bh] [_\bj_\bo_\bb_\bs_\bp_\be_\bc ... | _\bp_\bi_\bd ... ]
- Without options, remove each _\bj_\bo_\bb_\bs_\bp_\be_\bc from the table of active
- jobs. If _\bj_\bo_\bb_\bs_\bp_\be_\bc is not present, and neither the -\b-a\ba nor the -\b-r\br
- option is supplied, the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. If the -\b-h\bh option
- is given, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is not removed from the table, but is
- marked so that S\bSI\bIG\bGH\bHU\bUP\bP is not sent to the job if the shell re-
+ Without options, remove each _\bj_\bo_\bb_\bs_\bp_\be_\bc from the table of active
+ jobs. If _\bj_\bo_\bb_\bs_\bp_\be_\bc is not present, and neither the -\b-a\ba nor the -\b-r\br
+ option is supplied, the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb is used. If the -\b-h\bh option
+ is given, each _\bj_\bo_\bb_\bs_\bp_\be_\bc is not removed from the table, but is
+ marked so that S\bSI\bIG\bGH\bHU\bUP\bP is not sent to the job if the shell re-
ceives a S\bSI\bIG\bGH\bHU\bUP\bP. If no _\bj_\bo_\bb_\bs_\bp_\be_\bc is supplied, the -\b-a\ba option means
- to remove or mark all jobs; the -\b-r\br option without a _\bj_\bo_\bb_\bs_\bp_\be_\bc ar-
+ to remove or mark all jobs; the -\b-r\br option without a _\bj_\bo_\bb_\bs_\bp_\be_\bc ar-
gument restricts operation to running jobs. The return value is
0 unless a _\bj_\bo_\bb_\bs_\bp_\be_\bc does not specify a valid job.
e\bec\bch\bho\bo [-\b-n\bne\beE\bE] [_\ba_\br_\bg ...]
- Output the _\ba_\br_\bgs, separated by spaces, followed by a newline.
- The return status is 0 unless a write error occurs. If -\b-n\bn is
+ Output the _\ba_\br_\bgs, separated by spaces, followed by a newline.
+ The return status is 0 unless a write error occurs. If -\b-n\bn is
specified, the trailing newline is suppressed. If the -\b-e\be option
- is given, interpretation of the following backslash-escaped
- characters is enabled. The -\b-E\bE option disables the interpreta-
- tion of these escape characters, even on systems where they are
- interpreted by default. The x\bxp\bpg\bg_\b_e\bec\bch\bho\bo shell option may be used
- to dynamically determine whether or not e\bec\bch\bho\bo expands these es-
- cape characters by default. e\bec\bch\bho\bo does not interpret -\b--\b- to mean
- the end of options. e\bec\bch\bho\bo interprets the following escape se-
+ is given, interpretation of the following backslash-escaped
+ characters is enabled. The -\b-E\bE option disables the interpreta-
+ tion of these escape characters, even on systems where they are
+ interpreted by default. The x\bxp\bpg\bg_\b_e\bec\bch\bho\bo shell option may be used
+ to dynamically determine whether or not e\bec\bch\bho\bo expands these es-
+ cape characters by default. e\bec\bch\bho\bo does not interpret -\b--\b- to mean
+ the end of options. e\bec\bch\bho\bo interprets the following escape se-
quences:
\\b\a\ba alert (bell)
\\b\b\bb backspace
\\b\t\bt horizontal tab
\\b\v\bv vertical tab
\\b\\\b\ backslash
- \\b\0\b0_\bn_\bn_\bn the eight-bit character whose value is the octal value
+ \\b\0\b0_\bn_\bn_\bn the eight-bit character whose value is the octal value
_\bn_\bn_\bn (zero to three octal digits)
- \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
+ \\b\x\bx_\bH_\bH the eight-bit character whose value is the hexadecimal
value _\bH_\bH (one or two hex digits)
- \\b\u\bu_\bH_\bH_\bH_\bH the Unicode (ISO/IEC 10646) character whose value is the
+ \\b\u\bu_\bH_\bH_\bH_\bH the Unicode (ISO/IEC 10646) character whose value is the
hexadecimal value _\bH_\bH_\bH_\bH (one to four hex digits)
\\b\U\bU_\bH_\bH_\bH_\bH_\bH_\bH_\bH_\bH
- the Unicode (ISO/IEC 10646) character whose value is the
+ the Unicode (ISO/IEC 10646) character whose value is the
hexadecimal value _\bH_\bH_\bH_\bH_\bH_\bH_\bH_\bH (one to eight hex digits)
e\ben\bna\bab\bbl\ble\be [-\b-a\ba] [-\b-d\bdn\bnp\bps\bs] [-\b-f\bf _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be] [_\bn_\ba_\bm_\be ...]
- Enable and disable builtin shell commands. Disabling a builtin
+ 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 -\b-n\bn is used, each _\bn_\ba_\bm_\be is disabled; otherwise, _\bn_\ba_\bm_\be_\bs are en-
- abled. For example, to use the t\bte\bes\bst\bt binary found via the P\bPA\bAT\bTH\bH
- instead of the shell builtin version, run ``enable -n test''.
- The -\b-f\bf option means to load the new builtin command _\bn_\ba_\bm_\be from
+ to be executed without specifying a full pathname, even though
+ the shell normally searches for builtins before disk commands.
+ If -\b-n\bn is used, each _\bn_\ba_\bm_\be is disabled; otherwise, _\bn_\ba_\bm_\be_\bs are en-
+ abled. For example, to use the t\bte\bes\bst\bt binary found via the P\bPA\bAT\bTH\bH
+ instead of the shell builtin version, run ``enable -n test''.
+ The -\b-f\bf option means to load the new builtin command _\bn_\ba_\bm_\be from
shared object _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be, on systems that support dynamic loading.
Bash will use the value of the B\bBA\bAS\bSH\bH_\b_L\bLO\bOA\bAD\bDA\bAB\bBL\bLE\bES\bS_\b_P\bPA\bAT\bTH\bH variable as a
colon-separated list of directories in which to search for _\bf_\bi_\bl_\be_\b-
- _\bn_\ba_\bm_\be. The default is system-dependent. The -\b-d\bd option will
- delete a builtin previously loaded with -\b-f\bf. If no _\bn_\ba_\bm_\be argu-
- ments are given, or if the -\b-p\bp option is supplied, a list of
- shell builtins is printed. With no other option arguments, the
+ _\bn_\ba_\bm_\be. The default is system-dependent. The -\b-d\bd option will
+ delete a builtin previously loaded with -\b-f\bf. If no _\bn_\ba_\bm_\be argu-
+ ments are given, or if the -\b-p\bp option is supplied, a list of
+ shell builtins is printed. With no other option arguments, the
list consists of all enabled shell builtins. If -\b-n\bn is supplied,
only disabled builtins are printed. If -\b-a\ba is supplied, the list
- printed includes all builtins, with an indication of whether or
- not each is enabled. If -\b-s\bs is supplied, the output is re-
- stricted to the POSIX _\bs_\bp_\be_\bc_\bi_\ba_\bl builtins. If no options are sup-
- plied and a _\bn_\ba_\bm_\be is not a shell builtin, e\ben\bna\bab\bbl\ble\be will attempt to
- load _\bn_\ba_\bm_\be from a shared object named _\bn_\ba_\bm_\be, as if the command
- were ``enable -f _\bn_\ba_\bm_\be _\bn_\ba_\bm_\be . The return value is 0 unless a
- _\bn_\ba_\bm_\be is not a shell builtin or there is an error loading a new
+ printed includes all builtins, with an indication of whether or
+ not each is enabled. If -\b-s\bs is supplied, the output is re-
+ stricted to the POSIX _\bs_\bp_\be_\bc_\bi_\ba_\bl builtins. If no options are sup-
+ plied and a _\bn_\ba_\bm_\be is not a shell builtin, e\ben\bna\bab\bbl\ble\be will attempt to
+ load _\bn_\ba_\bm_\be from a shared object named _\bn_\ba_\bm_\be, as if the command
+ were ``enable -f _\bn_\ba_\bm_\be _\bn_\ba_\bm_\be . The return value is 0 unless a
+ _\bn_\ba_\bm_\be is not a shell builtin or there is an error loading a new
builtin from a shared object.
e\bev\bva\bal\bl [_\ba_\br_\bg ...]
- The _\ba_\br_\bgs are read and concatenated together into a single com-
- mand. This command is then read and executed by the shell, and
- its exit status is returned as the value of e\bev\bva\bal\bl. If there are
+ The _\ba_\br_\bgs are read and concatenated together into a single com-
+ mand. This command is then read and executed by the shell, and
+ its exit status is returned as the value of e\bev\bva\bal\bl. If there are
no _\ba_\br_\bg_\bs, or only null arguments, e\bev\bva\bal\bl returns 0.
e\bex\bxe\bec\bc [-\b-c\bcl\bl] [-\b-a\ba _\bn_\ba_\bm_\be] [_\bc_\bo_\bm_\bm_\ba_\bn_\bd [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]]
- If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is specified, it replaces the shell. No new process
- is created. The _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs become the arguments to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. If
+ If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is specified, it replaces the shell. No new process
+ is created. The _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs become the arguments to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. If
the -\b-l\bl option is supplied, the shell places a dash at the begin-
ning of the zeroth argument passed to _\bc_\bo_\bm_\bm_\ba_\bn_\bd. This is what _\bl_\bo_\b-
- _\bg_\bi_\bn(1) does. The -\b-c\bc option causes _\bc_\bo_\bm_\bm_\ba_\bn_\bd to be executed with
- an empty environment. If -\b-a\ba is supplied, the shell passes _\bn_\ba_\bm_\be
+ _\bg_\bi_\bn(1) does. The -\b-c\bc option causes _\bc_\bo_\bm_\bm_\ba_\bn_\bd to be executed with
+ an empty environment. If -\b-a\ba is supplied, the shell passes _\bn_\ba_\bm_\be
as the zeroth argument to the executed command. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd can-
- not be executed for some reason, a non-interactive shell exits,
- unless the e\bex\bxe\bec\bcf\bfa\bai\bil\bl shell option is enabled. In that case, it
- returns failure. An interactive shell returns failure if the
- file cannot be executed. A subshell exits unconditionally if
- e\bex\bxe\bec\bc fails. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is not specified, any redirections take
- effect in the current shell, and the return status is 0. If
+ not be executed for some reason, a non-interactive shell exits,
+ unless the e\bex\bxe\bec\bcf\bfa\bai\bil\bl shell option is enabled. In that case, it
+ returns failure. An interactive shell returns failure if the
+ file cannot be executed. A subshell exits unconditionally if
+ e\bex\bxe\bec\bc fails. If _\bc_\bo_\bm_\bm_\ba_\bn_\bd is not specified, any redirections take
+ effect in the current shell, and the return status is 0. If
there is a redirection error, the return status is 1.
e\bex\bxi\bit\bt [_\bn]
- Cause the shell to exit with a status of _\bn. If _\bn is omitted,
+ Cause the shell to exit with a status of _\bn. If _\bn is omitted,
the exit status is that of the last command executed. A trap on
E\bEX\bXI\bIT\bT is executed before the shell terminates.
e\bex\bxp\bpo\bor\brt\bt [-\b-f\bfn\bn] [_\bn_\ba_\bm_\be[=_\bw_\bo_\br_\bd]] ...
e\bex\bxp\bpo\bor\brt\bt -\b-p\bp
- The supplied _\bn_\ba_\bm_\be_\bs are marked for automatic export to the envi-
- ronment of subsequently executed commands. If the -\b-f\bf option is
- given, the _\bn_\ba_\bm_\be_\bs refer to functions. If no _\bn_\ba_\bm_\be_\bs are given, or
- if the -\b-p\bp option is supplied, a list of names of all exported
- variables is printed. The -\b-n\bn option causes the export property
+ The supplied _\bn_\ba_\bm_\be_\bs are marked for automatic export to the envi-
+ ronment of subsequently executed commands. If the -\b-f\bf option is
+ given, the _\bn_\ba_\bm_\be_\bs refer to functions. If no _\bn_\ba_\bm_\be_\bs are given, or
+ if the -\b-p\bp option is supplied, a list of names of all exported
+ variables is printed. The -\b-n\bn option causes the export property
to be removed from each _\bn_\ba_\bm_\be. If a variable name is followed by
=_\bw_\bo_\br_\bd, the value of the variable is set to _\bw_\bo_\br_\bd. e\bex\bxp\bpo\bor\brt\bt returns
an exit status of 0 unless an invalid option is encountered, one
- of the _\bn_\ba_\bm_\be_\bs is not a valid shell variable name, or -\b-f\bf is sup-
+ of the _\bn_\ba_\bm_\be_\bs is not a valid shell variable name, or -\b-f\bf is sup-
plied with a _\bn_\ba_\bm_\be that is not a function.
f\bfc\bc [-\b-e\be _\be_\bn_\ba_\bm_\be] [-\b-l\bln\bnr\br] [_\bf_\bi_\br_\bs_\bt] [_\bl_\ba_\bs_\bt]
f\bfc\bc -\b-s\bs [_\bp_\ba_\bt=_\br_\be_\bp] [_\bc_\bm_\bd]
- The first form selects a range of commands from _\bf_\bi_\br_\bs_\bt to _\bl_\ba_\bs_\bt
- from the history list and displays or edits and re-executes
- them. _\bF_\bi_\br_\bs_\bt and _\bl_\ba_\bs_\bt 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). When listing, a
- _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt of 0 is equivalent to -1 and -0 is equivalent to
- the current command (usually the f\bfc\bc command); otherwise 0 is
- equivalent to -1 and -0 is invalid. If _\bl_\ba_\bs_\bt is not specified,
- it is set to the current command for listing (so that ``fc -l
- -10'' prints the last 10 commands) and to _\bf_\bi_\br_\bs_\bt otherwise. If
- _\bf_\bi_\br_\bs_\bt is not specified, it is set to the previous command for
+ The first form selects a range of commands from _\bf_\bi_\br_\bs_\bt to _\bl_\ba_\bs_\bt
+ from the history list and displays or edits and re-executes
+ them. _\bF_\bi_\br_\bs_\bt and _\bl_\ba_\bs_\bt 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). When listing, a
+ _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt of 0 is equivalent to -1 and -0 is equivalent to
+ the current command (usually the f\bfc\bc command); otherwise 0 is
+ equivalent to -1 and -0 is invalid. If _\bl_\ba_\bs_\bt is not specified,
+ it is set to the current command for listing (so that ``fc -l
+ -10'' prints the last 10 commands) and to _\bf_\bi_\br_\bs_\bt otherwise. If
+ _\bf_\bi_\br_\bs_\bt is not specified, it is set to the previous command for
editing and -16 for listing.
- The -\b-n\bn option suppresses the command numbers when listing. The
- -\b-r\br option reverses the order of the commands. If the -\b-l\bl option
- is given, the commands are listed on standard output. Other-
- wise, the editor given by _\be_\bn_\ba_\bm_\be is invoked on a file containing
- those commands. If _\be_\bn_\ba_\bm_\be is not given, the value of the F\bFC\bCE\bED\bDI\bIT\bT
- variable is used, and the value of E\bED\bDI\bIT\bTO\bOR\bR if F\bFC\bCE\bED\bDI\bIT\bT is not set.
- If neither variable is set, _\bv_\bi is used. When editing is com-
+ The -\b-n\bn option suppresses the command numbers when listing. The
+ -\b-r\br option reverses the order of the commands. If the -\b-l\bl option
+ is given, the commands are listed on standard output. Other-
+ wise, the editor given by _\be_\bn_\ba_\bm_\be is invoked on a file containing
+ those commands. If _\be_\bn_\ba_\bm_\be is not given, the value of the F\bFC\bCE\bED\bDI\bIT\bT
+ variable is used, and the value of E\bED\bDI\bIT\bTO\bOR\bR if F\bFC\bCE\bED\bDI\bIT\bT is not set.
+ If neither variable is set, _\bv_\bi is used. When editing is com-
plete, the edited commands are echoed and executed.
- In the second form, _\bc_\bo_\bm_\bm_\ba_\bn_\bd is re-executed after each instance
- of _\bp_\ba_\bt is replaced by _\br_\be_\bp. _\bC_\bo_\bm_\bm_\ba_\bn_\bd is interpreted the same as
- _\bf_\bi_\br_\bs_\bt 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, _\bc_\bo_\bm_\bm_\ba_\bn_\bd is re-executed after each instance
+ of _\bp_\ba_\bt is replaced by _\br_\be_\bp. _\bC_\bo_\bm_\bm_\ba_\bn_\bd is interpreted the same as
+ _\bf_\bi_\br_\bs_\bt 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 in-
- valid option is encountered or _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt specify history
- lines out of range. If the -\b-e\be option is supplied, the return
+ If the first form is used, the return value is 0 unless an in-
+ valid option is encountered or _\bf_\bi_\br_\bs_\bt or _\bl_\ba_\bs_\bt specify history
+ lines out of range. If the -\b-e\be 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 _\bc_\bm_\bd does not specify a valid history line, in
+ form is used, the return status is that of the command re-exe-
+ cuted, unless _\bc_\bm_\bd does not specify a valid history line, in
which case f\bfc\bc returns failure.
f\bfg\bg [_\bj_\bo_\bb_\bs_\bp_\be_\bc]
- Resume _\bj_\bo_\bb_\bs_\bp_\be_\bc in the foreground, and make it the current job.
+ Resume _\bj_\bo_\bb_\bs_\bp_\be_\bc in the foreground, and make it the current job.
If _\bj_\bo_\bb_\bs_\bp_\be_\bc is not present, the shell's notion of the _\bc_\bu_\br_\br_\be_\bn_\bt _\bj_\bo_\bb
- 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 _\bj_\bo_\bb_\bs_\bp_\be_\bc does not spec-
- ify a valid job or _\bj_\bo_\bb_\bs_\bp_\be_\bc specifies a job that was started
+ ify a valid job or _\bj_\bo_\bb_\bs_\bp_\be_\bc specifies a job that was started
without job control.
g\bge\bet\bto\bop\bpt\bts\bs _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg _\bn_\ba_\bm_\be [_\ba_\br_\bg _\b._\b._\b.]
- g\bge\bet\bto\bop\bpt\bts\bs is used by shell procedures to parse positional parame-
- ters. _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg contains the option characters to be recog-
- nized; if a character is followed by a colon, the option is ex-
+ g\bge\bet\bto\bop\bpt\bts\bs is used by shell procedures to parse positional parame-
+ ters. _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg contains the option characters to be recog-
+ nized; if a character is followed by a colon, the option is ex-
pected 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, g\bge\bet\bto\bop\bpt\bts\bs
- places the next option in the shell variable _\bn_\ba_\bm_\be, initializing
+ white space. The colon and question mark characters may not be
+ used as option characters. Each time it is invoked, g\bge\bet\bto\bop\bpt\bts\bs
+ places the next option in the shell variable _\bn_\ba_\bm_\be, initializing
_\bn_\ba_\bm_\be if it does not exist, and the index of the next argument to
be processed into the variable O\bOP\bPT\bTI\bIN\bND\bD. O\bOP\bPT\bTI\bIN\bND\bD is initialized to
1 each time the shell or a shell script is invoked. When an op-
tion requires an argument, g\bge\bet\bto\bop\bpt\bts\bs places that argument into the
variable O\bOP\bPT\bTA\bAR\bRG\bG. The shell does not reset O\bOP\bPT\bTI\bIN\bND\bD automatically;
- it must be manually reset between multiple calls to g\bge\bet\bto\bop\bpt\bts\bs
- within the same shell invocation if a new set of parameters is
+ it must be manually reset between multiple calls to g\bge\bet\bto\bop\bpt\bts\bs
+ within the same shell invocation if a new set of parameters is
to be used.
When the end of options is encountered, g\bge\bet\bto\bop\bpt\bts\bs exits with a re-
turn value greater than zero. O\bOP\bPT\bTI\bIN\bND\bD is set to the index of the
first non-option argument, and _\bn_\ba_\bm_\be is set to ?.
- g\bge\bet\bto\bop\bpt\bts\bs normally parses the positional parameters, but if more
- arguments are supplied as _\ba_\br_\bg values, g\bge\bet\bto\bop\bpt\bts\bs parses those in-
+ g\bge\bet\bto\bop\bpt\bts\bs normally parses the positional parameters, but if more
+ arguments are supplied as _\ba_\br_\bg values, g\bge\bet\bto\bop\bpt\bts\bs parses those in-
stead.
- g\bge\bet\bto\bop\bpt\bts\bs can report errors in two ways. If the first character
- of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is a colon, _\bs_\bi_\bl_\be_\bn_\bt error reporting is used. In
- normal operation, diagnostic messages are printed when invalid
- options or missing option arguments are encountered. If the
- variable O\bOP\bPT\bTE\bER\bRR\bR is set to 0, no error messages will be dis-
+ g\bge\bet\bto\bop\bpt\bts\bs can report errors in two ways. If the first character
+ of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is a colon, _\bs_\bi_\bl_\be_\bn_\bt error reporting is used. In
+ normal operation, diagnostic messages are printed when invalid
+ options or missing option arguments are encountered. If the
+ variable O\bOP\bPT\bTE\bER\bRR\bR is set to 0, no error messages will be dis-
played, even if the first character of _\bo_\bp_\bt_\bs_\bt_\br_\bi_\bn_\bg is not a colon.
If an invalid option is seen, g\bge\bet\bto\bop\bpt\bts\bs places ? into _\bn_\ba_\bm_\be and, if
- not silent, prints an error message and unsets O\bOP\bPT\bTA\bAR\bRG\bG. If
- g\bge\bet\bto\bop\bpt\bts\bs is silent, the option character found is placed in O\bOP\bP-\b-
+ not silent, prints an error message and unsets O\bOP\bPT\bTA\bAR\bRG\bG. If
+ g\bge\bet\bto\bop\bpt\bts\bs is silent, the option character found is placed in O\bOP\bP-\b-
T\bTA\bAR\bRG\bG and no diagnostic message is printed.
- If a required argument is not found, and g\bge\bet\bto\bop\bpt\bts\bs is not silent,
- a question mark (?\b?) is placed in _\bn_\ba_\bm_\be, O\bOP\bPT\bTA\bAR\bRG\bG is unset, and a
- diagnostic message is printed. If g\bge\bet\bto\bop\bpt\bts\bs is silent, then a
- colon (:\b:) is placed in _\bn_\ba_\bm_\be and O\bOP\bPT\bTA\bAR\bRG\bG is set to the option
+ If a required argument is not found, and g\bge\bet\bto\bop\bpt\bts\bs is not silent,
+ a question mark (?\b?) is placed in _\bn_\ba_\bm_\be, O\bOP\bPT\bTA\bAR\bRG\bG is unset, and a
+ diagnostic message is printed. If g\bge\bet\bto\bop\bpt\bts\bs is silent, then a
+ colon (:\b:) is placed in _\bn_\ba_\bm_\be and O\bOP\bPT\bTA\bAR\bRG\bG is set to the option
character found.
- g\bge\bet\bto\bop\bpt\bts\bs returns true if an option, specified or unspecified, is
+ g\bge\bet\bto\bop\bpt\bts\bs returns true if an option, specified or unspecified, is
found. It returns false if the end of options is encountered or
an error occurs.
h\bha\bas\bsh\bh [-\b-l\blr\br] [-\b-p\bp _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be] [-\b-d\bdt\bt] [_\bn_\ba_\bm_\be]
Each time h\bha\bas\bsh\bh is invoked, the full pathname of the command _\bn_\ba_\bm_\be
- is determined by searching the directories in $\b$P\bPA\bAT\bTH\bH and remem-
+ is determined by searching the directories in $\b$P\bPA\bAT\bTH\bH and remem-
bered. Any previously-remembered pathname is discarded. If the
-\b-p\bp option is supplied, no path search is performed, and _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be
- is used as the full filename of the command. The -\b-r\br option
+ is used as the full filename of the command. The -\b-r\br option
causes the shell to forget all remembered locations. The -\b-d\bd op-
- tion causes the shell to forget the remembered location of each
- _\bn_\ba_\bm_\be. If the -\b-t\bt option is supplied, the full pathname to which
- each _\bn_\ba_\bm_\be corresponds is printed. If multiple _\bn_\ba_\bm_\be arguments
+ tion causes the shell to forget the remembered location of each
+ _\bn_\ba_\bm_\be. If the -\b-t\bt option is supplied, the full pathname to which
+ each _\bn_\ba_\bm_\be corresponds is printed. If multiple _\bn_\ba_\bm_\be arguments
are supplied with -\b-t\bt, the _\bn_\ba_\bm_\be is printed before the hashed full
pathname. The -\b-l\bl option causes output to be displayed in a for-
- mat that may be reused as input. If no arguments are given, or
+ mat that may be reused as input. If no arguments are given, or
if only -\b-l\bl is supplied, information about remembered commands is
- printed. The return status is true unless a _\bn_\ba_\bm_\be is not found
+ printed. The return status is true unless a _\bn_\ba_\bm_\be is not found
or an invalid option is supplied.
h\bhe\bel\blp\bp [-\b-d\bdm\bms\bs] [_\bp_\ba_\bt_\bt_\be_\br_\bn]
- Display helpful information about builtin commands. If _\bp_\ba_\bt_\bt_\be_\br_\bn
- is specified, h\bhe\bel\blp\bp gives detailed help on all commands matching
- _\bp_\ba_\bt_\bt_\be_\br_\bn; otherwise help for all the builtins and shell control
+ Display helpful information about builtin commands. If _\bp_\ba_\bt_\bt_\be_\br_\bn
+ is specified, h\bhe\bel\blp\bp gives detailed help on all commands matching
+ _\bp_\ba_\bt_\bt_\be_\br_\bn; otherwise help for all the builtins and shell control
structures is printed.
-\b-d\bd Display a short description of each _\bp_\ba_\bt_\bt_\be_\br_\bn
-\b-m\bm Display the description of each _\bp_\ba_\bt_\bt_\be_\br_\bn in a manpage-like
h\bhi\bis\bst\bto\bor\bry\by -\b-s\bs _\ba_\br_\bg [_\ba_\br_\bg _\b._\b._\b.]
With no options, display the command history list with line num-
bers. Lines listed with a *\b* have been modified. An argument of
- _\bn lists only the last _\bn lines. If the shell variable H\bHI\bIS\bST\bTT\bTI\bIM\bME\bE-\b-
- F\bFO\bOR\bRM\bMA\bAT\bT is set and not null, it is used as a format string for
- _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) to display the time stamp associated with each dis-
- played history entry. No intervening blank is printed between
- the formatted time stamp and the history line. If _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is
- supplied, it is used as the name of the history file; if not,
- the value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is used. Options, if supplied, have the
+ _\bn lists only the last _\bn lines. If the shell variable H\bHI\bIS\bST\bTT\bTI\bIM\bME\bE-\b-
+ F\bFO\bOR\bRM\bMA\bAT\bT is set and not null, it is used as a format string for
+ _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3) to display the time stamp associated with each dis-
+ played history entry. No intervening blank is printed between
+ the formatted time stamp and the history line. If _\bf_\bi_\bl_\be_\bn_\ba_\bm_\be is
+ supplied, it is used as the name of the history file; if not,
+ the value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE is used. Options, if supplied, have the
following meanings:
-\b-c\bc Clear the history list by deleting all the entries.
-\b-d\bd _\bo_\bf_\bf_\bs_\be_\bt
- Delete the history entry at position _\bo_\bf_\bf_\bs_\be_\bt. If _\bo_\bf_\bf_\bs_\be_\bt
+ Delete the history entry at position _\bo_\bf_\bf_\bs_\be_\bt. If _\bo_\bf_\bf_\bs_\be_\bt
is negative, it is interpreted as relative to one greater
than the last history position, so negative indices count
- back from the end of the history, and an index of -1
+ back from the end of the history, and an index of -1
refers to the current h\bhi\bis\bst\bto\bor\bry\by -\b-d\bd command.
-\b-d\bd _\bs_\bt_\ba_\br_\bt-_\be_\bn_\bd
- Delete the range of history entries between positions
- _\bs_\bt_\ba_\br_\bt and _\be_\bn_\bd, inclusive. Positive and negative values
+ Delete the range of history entries between positions
+ _\bs_\bt_\ba_\br_\bt and _\be_\bn_\bd, inclusive. Positive and negative values
for _\bs_\bt_\ba_\br_\bt and _\be_\bn_\bd are interpreted as described above.
- -\b-a\ba Append the ``new'' history lines to the history file.
- These are history lines entered since the beginning of
+ -\b-a\ba Append the ``new'' history lines to the history file.
+ These are history lines entered since the beginning of
the current b\bba\bas\bsh\bh session, but not already appended to the
history file.
- -\b-n\bn Read the history lines not already read from the history
- file into the current history list. These are lines ap-
- pended to the history file since the beginning of the
+ -\b-n\bn Read the history lines not already read from the history
+ file into the current history list. These are lines ap-
+ pended to the history file since the beginning of the
current b\bba\bas\bsh\bh session.
- -\b-r\br Read the contents of the history file and append them to
+ -\b-r\br Read the contents of the history file and append them to
the current history list.
-\b-w\bw Write the current history list to the history file, over-
writing the history file's contents.
- -\b-p\bp Perform history substitution on the following _\ba_\br_\bg_\bs and
- display the result on the standard output. Does not
- store the results in the history list. Each _\ba_\br_\bg must be
+ -\b-p\bp Perform history substitution on the following _\ba_\br_\bg_\bs and
+ display the result on the standard output. Does not
+ store the results in the history list. Each _\ba_\br_\bg must be
quoted to disable normal history expansion.
- -\b-s\bs Store the _\ba_\br_\bg_\bs in the history list as a single entry.
- The last command in the history list is removed before
+ -\b-s\bs Store the _\ba_\br_\bg_\bs in the history list as a single entry.
+ The last command in the history list is removed before
the _\ba_\br_\bg_\bs are added.
- If the H\bHI\bIS\bST\bTT\bTI\bIM\bME\bEF\bFO\bOR\bRM\bMA\bAT\bT 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
+ If the H\bHI\bIS\bST\bTT\bTI\bIM\bME\bEF\bFO\bOR\bRM\bMA\bAT\bT 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 _\bo_\bf_\bf_\bs_\be_\bt or range
- is supplied as an argument to -\b-d\bd, or the history expansion sup-
+ reading or writing the history file, an invalid _\bo_\bf_\bf_\bs_\be_\bt or range
+ is supplied as an argument to -\b-d\bd, or the history expansion sup-
plied as an argument to -\b-p\bp fails.
j\bjo\bob\bbs\bs [-\b-l\bln\bnp\bpr\brs\bs] [ _\bj_\bo_\bb_\bs_\bp_\be_\bc ... ]
The first form lists the active jobs. The options have the fol-
lowing meanings:
-\b-l\bl List process IDs in addition to the normal information.
- -\b-n\bn Display information only about jobs that have changed
+ -\b-n\bn Display information only about jobs that have changed
status since the user was last notified of their status.
- -\b-p\bp List only the process ID of the job's process group
+ -\b-p\bp List only the process ID of the job's process group
leader.
-\b-r\br Display only running jobs.
-\b-s\bs Display only stopped jobs.
- If _\bj_\bo_\bb_\bs_\bp_\be_\bc is given, output is restricted to information about
- that job. The return status is 0 unless an invalid option is
+ If _\bj_\bo_\bb_\bs_\bp_\be_\bc is given, output is restricted to information about
+ that job. The return status is 0 unless an invalid option is
encountered or an invalid _\bj_\bo_\bb_\bs_\bp_\be_\bc is supplied.
If the -\b-x\bx option is supplied, j\bjo\bob\bbs\bs replaces any _\bj_\bo_\bb_\bs_\bp_\be_\bc found in
k\bki\bil\bll\bl [-\b-s\bs _\bs_\bi_\bg_\bs_\bp_\be_\bc | -\b-n\bn _\bs_\bi_\bg_\bn_\bu_\bm | -\b-_\bs_\bi_\bg_\bs_\bp_\be_\bc] [_\bp_\bi_\bd | _\bj_\bo_\bb_\bs_\bp_\be_\bc] ...
k\bki\bil\bll\bl -\b-l\bl|-\b-L\bL [_\bs_\bi_\bg_\bs_\bp_\be_\bc | _\be_\bx_\bi_\bt_\b__\bs_\bt_\ba_\bt_\bu_\bs]
- Send the signal named by _\bs_\bi_\bg_\bs_\bp_\be_\bc or _\bs_\bi_\bg_\bn_\bu_\bm to the processes
- named by _\bp_\bi_\bd or _\bj_\bo_\bb_\bs_\bp_\be_\bc. _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a case-insensitive
- signal name such as S\bSI\bIG\bGK\bKI\bIL\bLL\bL (with or without the S\bSI\bIG\bG prefix) or
- a signal number; _\bs_\bi_\bg_\bn_\bu_\bm is a signal number. If _\bs_\bi_\bg_\bs_\bp_\be_\bc is not
- present, then S\bSI\bIG\bGT\bTE\bER\bRM\bM is assumed. An argument of -\b-l\bl lists the
- signal names. If any arguments are supplied when -\b-l\bl is given,
- the names of the signals corresponding to the arguments are
+ Send the signal named by _\bs_\bi_\bg_\bs_\bp_\be_\bc or _\bs_\bi_\bg_\bn_\bu_\bm to the processes
+ named by _\bp_\bi_\bd or _\bj_\bo_\bb_\bs_\bp_\be_\bc. _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a case-insensitive
+ signal name such as S\bSI\bIG\bGK\bKI\bIL\bLL\bL (with or without the S\bSI\bIG\bG prefix) or
+ a signal number; _\bs_\bi_\bg_\bn_\bu_\bm is a signal number. If _\bs_\bi_\bg_\bs_\bp_\be_\bc is not
+ present, then S\bSI\bIG\bGT\bTE\bER\bRM\bM is assumed. An argument of -\b-l\bl lists the
+ signal names. If any arguments are supplied when -\b-l\bl is given,
+ the names of the signals corresponding to the arguments are
listed, and the return status is 0. The _\be_\bx_\bi_\bt_\b__\bs_\bt_\ba_\bt_\bu_\bs argument to
- -\b-l\bl is a number specifying either a signal number or the exit
- status of a process terminated by a signal. The -\b-L\bL option is
- equivalent to -\b-l\bl. k\bki\bil\bll\bl returns true if at least one signal was
+ -\b-l\bl is a number specifying either a signal number or the exit
+ status of a process terminated by a signal. The -\b-L\bL option is
+ equivalent to -\b-l\bl. k\bki\bil\bll\bl returns true if at least one signal was
successfully sent, or false if an error occurs or an invalid op-
tion is encountered.
l\ble\bet\bt _\ba_\br_\bg [_\ba_\br_\bg ...]
Each _\ba_\br_\bg is an arithmetic expression to be evaluated (see A\bAR\bRI\bIT\bTH\bH-\b-
- M\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN above). If the last _\ba_\br_\bg evaluates to 0, l\ble\bet\bt
+ M\bME\bET\bTI\bIC\bC E\bEV\bVA\bAL\bLU\bUA\bAT\bTI\bIO\bON\bN above). If the last _\ba_\br_\bg evaluates to 0, l\ble\bet\bt
returns 1; 0 is returned otherwise.
l\blo\boc\bca\bal\bl [_\bo_\bp_\bt_\bi_\bo_\bn] [_\bn_\ba_\bm_\be[=_\bv_\ba_\bl_\bu_\be] ... | - ]
- For each argument, a local variable named _\bn_\ba_\bm_\be is created, and
- assigned _\bv_\ba_\bl_\bu_\be. The _\bo_\bp_\bt_\bi_\bo_\bn can be any of the options accepted
+ For each argument, a local variable named _\bn_\ba_\bm_\be is created, and
+ assigned _\bv_\ba_\bl_\bu_\be. The _\bo_\bp_\bt_\bi_\bo_\bn can be any of the options accepted
by d\bde\bec\bcl\bla\bar\bre\be. When l\blo\boc\bca\bal\bl is used within a function, it causes the
- variable _\bn_\ba_\bm_\be to have a visible scope restricted to that func-
- tion and its children. If _\bn_\ba_\bm_\be is -, the set of shell options
- is made local to the function in which l\blo\boc\bca\bal\bl is invoked: shell
- options changed using the s\bse\bet\bt builtin inside the function are
- restored to their original values when the function returns.
+ variable _\bn_\ba_\bm_\be to have a visible scope restricted to that func-
+ tion and its children. If _\bn_\ba_\bm_\be is -, the set of shell options
+ is made local to the function in which l\blo\boc\bca\bal\bl is invoked: shell
+ options changed using the s\bse\bet\bt builtin inside the function are
+ restored to their original values when the function returns.
The restore is effected as if a series of s\bse\bet\bt commands were exe-
- cuted to restore the values that were in place before the func-
- tion. With no operands, l\blo\boc\bca\bal\bl writes a list of local variables
- to the standard output. It is an error to use l\blo\boc\bca\bal\bl when not
- within a function. The return status is 0 unless l\blo\boc\bca\bal\bl is used
- outside a function, an invalid _\bn_\ba_\bm_\be is supplied, or _\bn_\ba_\bm_\be is a
+ cuted to restore the values that were in place before the func-
+ tion. With no operands, l\blo\boc\bca\bal\bl writes a list of local variables
+ to the standard output. It is an error to use l\blo\boc\bca\bal\bl when not
+ within a function. The return status is 0 unless l\blo\boc\bca\bal\bl is used
+ outside a function, an invalid _\bn_\ba_\bm_\be is supplied, or _\bn_\ba_\bm_\be is a
readonly variable.
l\blo\bog\bgo\bou\but\bt Exit a login shell.
- m\bma\bap\bpf\bfi\bil\ble\be [-\b-d\bd _\bd_\be_\bl_\bi_\bm] [-\b-n\bn _\bc_\bo_\bu_\bn_\bt] [-\b-O\bO _\bo_\br_\bi_\bg_\bi_\bn] [-\b-s\bs _\bc_\bo_\bu_\bn_\bt] [-\b-t\bt] [-\b-u\bu _\bf_\bd] [-\b-C\bC
+ m\bma\bap\bpf\bfi\bil\ble\be [-\b-d\bd _\bd_\be_\bl_\bi_\bm] [-\b-n\bn _\bc_\bo_\bu_\bn_\bt] [-\b-O\bO _\bo_\br_\bi_\bg_\bi_\bn] [-\b-s\bs _\bc_\bo_\bu_\bn_\bt] [-\b-t\bt] [-\b-u\bu _\bf_\bd] [-\b-C\bC
_\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk] [-\b-c\bc _\bq_\bu_\ba_\bn_\bt_\bu_\bm] [_\ba_\br_\br_\ba_\by]
r\bre\bea\bad\bda\bar\brr\bra\bay\by [-\b-d\bd _\bd_\be_\bl_\bi_\bm] [-\b-n\bn _\bc_\bo_\bu_\bn_\bt] [-\b-O\bO _\bo_\br_\bi_\bg_\bi_\bn] [-\b-s\bs _\bc_\bo_\bu_\bn_\bt] [-\b-t\bt] [-\b-u\bu _\bf_\bd] [-\b-C\bC
_\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk] [-\b-c\bc _\bq_\bu_\ba_\bn_\bt_\bu_\bm] [_\ba_\br_\br_\ba_\by]
- Read lines from the standard input into the indexed array vari-
- able _\ba_\br_\br_\ba_\by, or from file descriptor _\bf_\bd if the -\b-u\bu option is sup-
- plied. The variable M\bMA\bAP\bPF\bFI\bIL\bLE\bE is the default _\ba_\br_\br_\ba_\by. Options, if
+ Read lines from the standard input into the indexed array vari-
+ able _\ba_\br_\br_\ba_\by, or from file descriptor _\bf_\bd if the -\b-u\bu option is sup-
+ plied. The variable M\bMA\bAP\bPF\bFI\bIL\bLE\bE is the default _\ba_\br_\br_\ba_\by. Options, if
supplied, have the following meanings:
- -\b-d\bd The first character of _\bd_\be_\bl_\bi_\bm is used to terminate each
- input line, rather than newline. If _\bd_\be_\bl_\bi_\bm is the empty
+ -\b-d\bd The first character of _\bd_\be_\bl_\bi_\bm is used to terminate each
+ input line, rather than newline. If _\bd_\be_\bl_\bi_\bm is the empty
string, m\bma\bap\bpf\bfi\bil\ble\be will terminate a line when it reads a NUL
character.
- -\b-n\bn Copy at most _\bc_\bo_\bu_\bn_\bt lines. If _\bc_\bo_\bu_\bn_\bt is 0, all lines are
+ -\b-n\bn Copy at most _\bc_\bo_\bu_\bn_\bt lines. If _\bc_\bo_\bu_\bn_\bt is 0, all lines are
copied.
- -\b-O\bO Begin assigning to _\ba_\br_\br_\ba_\by at index _\bo_\br_\bi_\bg_\bi_\bn. The default
+ -\b-O\bO Begin assigning to _\ba_\br_\br_\ba_\by at index _\bo_\br_\bi_\bg_\bi_\bn. The default
index is 0.
-\b-s\bs Discard the first _\bc_\bo_\bu_\bn_\bt lines read.
- -\b-t\bt Remove a trailing _\bd_\be_\bl_\bi_\bm (default newline) from each line
+ -\b-t\bt Remove a trailing _\bd_\be_\bl_\bi_\bm (default newline) from each line
read.
- -\b-u\bu Read lines from file descriptor _\bf_\bd instead of the stan-
+ -\b-u\bu Read lines from file descriptor _\bf_\bd instead of the stan-
dard input.
- -\b-C\bC Evaluate _\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk each time _\bq_\bu_\ba_\bn_\bt_\bu_\bm lines are read. The
+ -\b-C\bC Evaluate _\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk each time _\bq_\bu_\ba_\bn_\bt_\bu_\bm lines are read. The
-\b-c\bc option specifies _\bq_\bu_\ba_\bn_\bt_\bu_\bm.
- -\b-c\bc Specify the number of lines read between each call to
+ -\b-c\bc Specify the number of lines read between each call to
_\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk.
- If -\b-C\bC is specified without -\b-c\bc, the default quantum is 5000.
+ If -\b-C\bC is specified without -\b-c\bc, the default quantum is 5000.
When _\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk 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. _\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk is evaluated after
+ element as additional arguments. _\bc_\ba_\bl_\bl_\bb_\ba_\bc_\bk is evaluated after
the line is read but before the array element is assigned.
- If not supplied with an explicit origin, m\bma\bap\bpf\bfi\bil\ble\be will clear _\ba_\br_\b-
+ If not supplied with an explicit origin, m\bma\bap\bpf\bfi\bil\ble\be will clear _\ba_\br_\b-
_\br_\ba_\by before assigning to it.
- m\bma\bap\bpf\bfi\bil\ble\be returns successfully unless an invalid option or option
- argument is supplied, _\ba_\br_\br_\ba_\by is invalid or unassignable, or if
+ m\bma\bap\bpf\bfi\bil\ble\be returns successfully unless an invalid option or option
+ argument is supplied, _\ba_\br_\br_\ba_\by is invalid or unassignable, or if
_\ba_\br_\br_\ba_\by is not an indexed array.
p\bpo\bop\bpd\bd [-n\bn] [+_\bn] [-_\bn]
Removes entries from the directory stack. The elements are num-
- bered from 0 starting at the first directory listed by d\bdi\bir\brs\bs.
- With no arguments, p\bpo\bop\bpd\bd removes the top directory from the
+ bered from 0 starting at the first directory listed by d\bdi\bir\brs\bs.
+ With no arguments, p\bpo\bop\bpd\bd removes the top directory from the
stack, and changes to the new top directory. Arguments, if sup-
plied, have the following meanings:
- -\b-n\bn Suppresses the normal change of directory when removing
+ -\b-n\bn Suppresses the normal change of directory when removing
directories from the stack, so that only the stack is ma-
nipulated.
- +\b+_\bn Removes the _\bnth entry counting from the left of the list
- shown by d\bdi\bir\brs\bs, starting with zero, from the stack. For
- example: ``popd +0'' removes the first directory, ``popd
+ +\b+_\bn Removes the _\bnth entry counting from the left of the list
+ shown by d\bdi\bir\brs\bs, starting with zero, from the stack. For
+ example: ``popd +0'' removes the first directory, ``popd
+1'' the second.
-\b-_\bn Removes the _\bnth entry counting from the right of the list
- shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
- -0'' removes the last directory, ``popd -1'' the next to
+ shown by d\bdi\bir\brs\bs, starting with zero. For example: ``popd
+ -0'' removes the last directory, ``popd -1'' the next to
last.
- If the top element of the directory stack is modified, and the
- _\b-_\bn option was not supplied, p\bpo\bop\bpd\bd uses the c\bcd\bd builtin to change
+ If the top element of the directory stack is modified, and the
+ _\b-_\bn option was not supplied, p\bpo\bop\bpd\bd uses the c\bcd\bd builtin to change
to the directory at the top of the stack. If the c\bcd\bd fails, p\bpo\bop\bpd\bd
returns a non-zero value.
- Otherwise, p\bpo\bop\bpd\bd returns false if an invalid option is encoun-
+ Otherwise, p\bpo\bop\bpd\bd returns false if an invalid option is encoun-
tered, the directory stack is empty, or a non-existent directory
stack entry is specified.
- If the p\bpo\bop\bpd\bd command is successful, bash runs d\bdi\bir\brs\bs to show the
- final contents of the directory stack, and the return status is
+ If the p\bpo\bop\bpd\bd command is successful, bash runs d\bdi\bir\brs\bs to show the
+ final contents of the directory stack, and the return status is
0.
p\bpr\bri\bin\bnt\btf\bf [-\b-v\bv _\bv_\ba_\br] _\bf_\bo_\br_\bm_\ba_\bt [_\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs]
- Write the formatted _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs to the standard output under the
- control of the _\bf_\bo_\br_\bm_\ba_\bt. The -\b-v\bv option causes the output to be
- assigned to the variable _\bv_\ba_\br rather than being printed to the
+ Write the formatted _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs to the standard output under the
+ control of the _\bf_\bo_\br_\bm_\ba_\bt. The -\b-v\bv option causes the output to be
+ assigned to the variable _\bv_\ba_\br rather than being printed to the
standard output.
- The _\bf_\bo_\br_\bm_\ba_\bt 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 _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt. In
+ The _\bf_\bo_\br_\bm_\ba_\bt 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 _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt. In
addition to the standard _\bp_\br_\bi_\bn_\bt_\bf(1) format specifications, p\bpr\bri\bin\bnt\btf\bf
interprets the following extensions:
%\b%b\bb causes p\bpr\bri\bin\bnt\btf\bf to expand backslash escape sequences in the
corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt in the same way as e\bec\bch\bho\bo -\b-e\be.
- %\b%q\bq causes p\bpr\bri\bin\bnt\btf\bf to output the corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt in a
+ %\b%q\bq causes p\bpr\bri\bin\bnt\btf\bf to output the corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt in a
format that can be reused as shell input.
- %\b%Q\bQ like %\b%q\bq, but applies any supplied precision to the _\ba_\br_\bg_\bu_\b-
+ %\b%Q\bQ like %\b%q\bq, but applies any supplied precision to the _\ba_\br_\bg_\bu_\b-
_\bm_\be_\bn_\bt before quoting it.
%\b%(\b(_\bd_\ba_\bt_\be_\bf_\bm_\bt)\b)T\bT
- causes p\bpr\bri\bin\bnt\btf\bf to output the date-time string resulting
- from using _\bd_\ba_\bt_\be_\bf_\bm_\bt as a format string for _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3).
+ causes p\bpr\bri\bin\bnt\btf\bf to output the date-time string resulting
+ from using _\bd_\ba_\bt_\be_\bf_\bm_\bt as a format string for _\bs_\bt_\br_\bf_\bt_\bi_\bm_\be(3).
The corresponding _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt 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 ar-
+ 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 ar-
gument is specified, conversion behaves as if -1 had been
- given. This is an exception to the usual p\bpr\bri\bin\bnt\btf\bf behav-
+ given. This is an exception to the usual p\bpr\bri\bin\bnt\btf\bf behav-
ior.
The %b, %q, and %T directives all use the field width and preci-
bytes from (or use that wide a field for) the expanded argument,
which usually contains more characters than the original.
- 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 _\bf_\bo_\br_\bm_\ba_\bt is reused as necessary to consume all of the _\ba_\br_\bg_\bu_\b-
+ The _\bf_\bo_\br_\bm_\ba_\bt is reused as necessary to consume all of the _\ba_\br_\bg_\bu_\b-
_\bm_\be_\bn_\bt_\bs. If the _\bf_\bo_\br_\bm_\ba_\bt requires more _\ba_\br_\bg_\bu_\bm_\be_\bn_\bt_\bs 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.
p\bpu\bus\bsh\bhd\bd [-\b-n\bn] [+_\bn] [-_\bn]
p\bpu\bus\bsh\bhd\bd [-\b-n\bn] [_\bd_\bi_\br]
- 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, p\bpu\bus\bsh\bhd\bd exchanges the top two ele-
- ments of the directory stack. Arguments, if supplied, have the
+ 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, p\bpu\bus\bsh\bhd\bd exchanges the top two ele-
+ ments of the directory stack. Arguments, if supplied, have the
following meanings:
- -\b-n\bn Suppresses the normal change of directory when rotating
- or adding directories to the stack, so that only the
+ -\b-n\bn Suppresses the normal change of directory when rotating
+ or adding directories to the stack, so that only the
stack is manipulated.
- +\b+_\bn Rotates the stack so that the _\bnth directory (counting
- from the left of the list shown by d\bdi\bir\brs\bs, starting with
+ +\b+_\bn Rotates the stack so that the _\bnth directory (counting
+ from the left of the list shown by d\bdi\bir\brs\bs, starting with
zero) is at the top.
- -\b-_\bn Rotates the stack so that the _\bnth directory (counting
- from the right of the list shown by d\bdi\bir\brs\bs, starting with
+ -\b-_\bn Rotates the stack so that the _\bnth directory (counting
+ from the right of the list shown by d\bdi\bir\brs\bs, starting with
zero) is at the top.
_\bd_\bi_\br Adds _\bd_\bi_\br to the directory stack at the top
After the stack has been modified, if the -\b-n\bn option was not sup-
- plied, p\bpu\bus\bsh\bhd\bd uses the c\bcd\bd builtin to change to the directory at
+ plied, p\bpu\bus\bsh\bhd\bd uses the c\bcd\bd builtin to change to the directory at
the top of the stack. If the c\bcd\bd fails, p\bpu\bus\bsh\bhd\bd returns a non-zero
value.
- Otherwise, if no arguments are supplied, p\bpu\bus\bsh\bhd\bd returns 0 unless
- the directory stack is empty. When rotating the directory
- stack, p\bpu\bus\bsh\bhd\bd returns 0 unless the directory stack is empty or a
+ Otherwise, if no arguments are supplied, p\bpu\bus\bsh\bhd\bd returns 0 unless
+ the directory stack is empty. When rotating the directory
+ stack, p\bpu\bus\bsh\bhd\bd returns 0 unless the directory stack is empty or a
non-existent directory stack element is specified.
- If the p\bpu\bus\bsh\bhd\bd command is successful, bash runs d\bdi\bir\brs\bs to show the
+ If the p\bpu\bus\bsh\bhd\bd command is successful, bash runs d\bdi\bir\brs\bs to show the
final contents of the directory stack.
p\bpw\bwd\bd [-\b-L\bLP\bP]
- 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 -\b-P\bP option
is supplied or the -\b-o\bo p\bph\bhy\bys\bsi\bic\bca\bal\bl option to the s\bse\bet\bt builtin command
- is enabled. If the -\b-L\bL option is used, the pathname printed may
- contain symbolic links. The return status is 0 unless an error
+ is enabled. If the -\b-L\bL 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 in-
valid option is supplied.
r\bre\bea\bad\bd [-\b-e\ber\brs\bs] [-\b-a\ba _\ba_\bn_\ba_\bm_\be] [-\b-d\bd _\bd_\be_\bl_\bi_\bm] [-\b-i\bi _\bt_\be_\bx_\bt] [-\b-n\bn _\bn_\bc_\bh_\ba_\br_\bs] [-\b-N\bN _\bn_\bc_\bh_\ba_\br_\bs] [-\b-p\bp
_\bp_\br_\bo_\bm_\bp_\bt] [-\b-t\bt _\bt_\bi_\bm_\be_\bo_\bu_\bt] [-\b-u\bu _\bf_\bd] [_\bn_\ba_\bm_\be ...]
- One line is read from the standard input, or from the file de-
+ One line is read from the standard input, or from the file de-
scriptor _\bf_\bd supplied as an argument to the -\b-u\bu option, split into
- words as described above under W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg, and the first
- word is assigned to the first _\bn_\ba_\bm_\be, the second word to the sec-
- ond _\bn_\ba_\bm_\be, and so on. If there are more words than names, the
+ words as described above under W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg, and the first
+ word is assigned to the first _\bn_\ba_\bm_\be, the second word to the sec-
+ ond _\bn_\ba_\bm_\be, and so on. If there are more words than names, the
remaining words and their intervening delimiters are assigned to
- the last _\bn_\ba_\bm_\be. If there are fewer words read from the input
- stream than names, the remaining names are assigned empty val-
- ues. The characters in I\bIF\bFS\bS are used to split the line into
- words using the same rules the shell uses for expansion (de-
- scribed above under W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg). The backslash character
+ the last _\bn_\ba_\bm_\be. If there are fewer words read from the input
+ stream than names, the remaining names are assigned empty val-
+ ues. The characters in I\bIF\bFS\bS are used to split the line into
+ words using the same rules the shell uses for expansion (de-
+ scribed above under W\bWo\bor\brd\bd S\bSp\bpl\bli\bit\btt\bti\bin\bng\bg). The backslash character
(\\b\) may be used to remove any special meaning for the next char-
- acter read and for line continuation. Options, if supplied,
+ acter read and for line continuation. Options, if supplied,
have the following meanings:
-\b-a\ba _\ba_\bn_\ba_\bm_\be
The words are assigned to sequential indices of the array
variable _\ba_\bn_\ba_\bm_\be, starting at 0. _\ba_\bn_\ba_\bm_\be is unset before any
- new values are assigned. Other _\bn_\ba_\bm_\be arguments are ig-
+ new values are assigned. Other _\bn_\ba_\bm_\be arguments are ig-
nored.
-\b-d\bd _\bd_\be_\bl_\bi_\bm
The first character of _\bd_\be_\bl_\bi_\bm is used to terminate the in-
- put line, rather than newline. If _\bd_\be_\bl_\bi_\bm is the empty
- string, r\bre\bea\bad\bd will terminate a line when it reads a NUL
+ put line, rather than newline. If _\bd_\be_\bl_\bi_\bm is the empty
+ string, r\bre\bea\bad\bd will terminate a line when it reads a NUL
character.
-\b-e\be If the standard input is coming from a terminal, r\bre\bea\bad\bdl\bli\bin\bne\be
- (see R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE above) is used to obtain the line. Read-
- line uses the current (or default, if line editing was
- not previously active) editing settings, but uses Read-
+ (see R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE above) is used to obtain the line. Read-
+ line uses the current (or default, if line editing was
+ not previously active) editing settings, but uses Read-
line's default filename completion.
-\b-i\bi _\bt_\be_\bx_\bt
- If r\bre\bea\bad\bdl\bli\bin\bne\be is being used to read the line, _\bt_\be_\bx_\bt is
+ If r\bre\bea\bad\bdl\bli\bin\bne\be is being used to read the line, _\bt_\be_\bx_\bt is
placed into the editing buffer before editing begins.
-\b-n\bn _\bn_\bc_\bh_\ba_\br_\bs
- r\bre\bea\bad\bd returns after reading _\bn_\bc_\bh_\ba_\br_\bs characters rather than
+ r\bre\bea\bad\bd returns after reading _\bn_\bc_\bh_\ba_\br_\bs characters rather than
waiting for a complete line of input, but honors a delim-
- iter if fewer than _\bn_\bc_\bh_\ba_\br_\bs characters are read before the
+ iter if fewer than _\bn_\bc_\bh_\ba_\br_\bs characters are read before the
delimiter.
-\b-N\bN _\bn_\bc_\bh_\ba_\br_\bs
- r\bre\bea\bad\bd returns after reading exactly _\bn_\bc_\bh_\ba_\br_\bs characters
- rather than waiting for a complete line of input, unless
- EOF is encountered or r\bre\bea\bad\bd times out. Delimiter charac-
- ters encountered in the input are not treated specially
- and do not cause r\bre\bea\bad\bd to return until _\bn_\bc_\bh_\ba_\br_\bs characters
- are read. The result is not split on the characters in
- I\bIF\bFS\bS; the intent is that the variable is assigned exactly
+ r\bre\bea\bad\bd returns after reading exactly _\bn_\bc_\bh_\ba_\br_\bs characters
+ rather than waiting for a complete line of input, unless
+ EOF is encountered or r\bre\bea\bad\bd times out. Delimiter charac-
+ ters encountered in the input are not treated specially
+ and do not cause r\bre\bea\bad\bd to return until _\bn_\bc_\bh_\ba_\br_\bs characters
+ are read. The result is not split on the characters in
+ I\bIF\bFS\bS; the intent is that the variable is assigned exactly
the characters read (with the exception of backslash; see
the -\b-r\br option below).
-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt
line, before attempting to read any input. The prompt is
displayed only if input is coming from a terminal.
-\b-r\br 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 then be used as a
+ slash is considered to be part of the line. In particu-
+ lar, a backslash-newline pair may not then be used as a
line continuation.
-\b-s\bs Silent mode. If input is coming from a terminal, charac-
ters are not echoed.
-\b-t\bt _\bt_\bi_\bm_\be_\bo_\bu_\bt
- Cause r\bre\bea\bad\bd to time out and return failure if a complete
- line of input (or a specified number of characters) is
- not read within _\bt_\bi_\bm_\be_\bo_\bu_\bt seconds. _\bt_\bi_\bm_\be_\bo_\bu_\bt may be a deci-
- mal number with a fractional portion following the deci-
- mal point. This option is only effective if r\bre\bea\bad\bd is
- reading input from a terminal, pipe, or other special
- file; it has no effect when reading from regular files.
+ Cause r\bre\bea\bad\bd to time out and return failure if a complete
+ line of input (or a specified number of characters) is
+ not read within _\bt_\bi_\bm_\be_\bo_\bu_\bt seconds. _\bt_\bi_\bm_\be_\bo_\bu_\bt may be a deci-
+ mal number with a fractional portion following the deci-
+ mal point. This option is only effective if r\bre\bea\bad\bd is
+ reading input from a terminal, pipe, or other special
+ file; it has no effect when reading from regular files.
If r\bre\bea\bad\bd times out, r\bre\bea\bad\bd saves any partial input read into
- the specified variable _\bn_\ba_\bm_\be. If _\bt_\bi_\bm_\be_\bo_\bu_\bt is 0, r\bre\bea\bad\bd re-
- turns immediately, without trying to read any data. The
- exit status is 0 if input is available on the specified
- file descriptor, or the read will return EOF, non-zero
- otherwise. The exit status is greater than 128 if the
+ the specified variable _\bn_\ba_\bm_\be. If _\bt_\bi_\bm_\be_\bo_\bu_\bt is 0, r\bre\bea\bad\bd re-
+ turns immediately, without trying to read any data. The
+ exit status is 0 if input is available on the specified
+ file descriptor, or the read will return EOF, non-zero
+ otherwise. The exit status is greater than 128 if the
timeout is exceeded.
-\b-u\bu _\bf_\bd Read input from file descriptor _\bf_\bd.
- If no _\bn_\ba_\bm_\be_\bs are supplied, the line read, without the ending de-
- limiter but otherwise unmodified, is assigned to the variable
- R\bRE\bEP\bPL\bLY\bY. The exit status is zero, unless end-of-file is encoun-
- tered, r\bre\bea\bad\bd times out (in which case the status is greater than
- 128), a variable assignment error (such as assigning to a read-
+ If no _\bn_\ba_\bm_\be_\bs are supplied, the line read, without the ending de-
+ limiter but otherwise unmodified, is assigned to the variable
+ R\bRE\bEP\bPL\bLY\bY. The exit status is zero, unless end-of-file is encoun-
+ tered, r\bre\bea\bad\bd times out (in which case the status is greater than
+ 128), a variable assignment error (such as assigning to a read-
only variable) occurs, or an invalid file descriptor is supplied
as the argument to -\b-u\bu.
r\bre\bea\bad\bdo\bon\bnl\bly\by [-\b-a\baA\bAf\bf] [-\b-p\bp] [_\bn_\ba_\bm_\be[=_\bw_\bo_\br_\bd] ...]
- The given _\bn_\ba_\bm_\be_\bs are marked readonly; the values of these _\bn_\ba_\bm_\be_\bs
- may not be changed by subsequent assignment. If the -\b-f\bf option
- is supplied, the functions corresponding to the _\bn_\ba_\bm_\be_\bs are so
- marked. The -\b-a\ba option restricts the variables to indexed ar-
- rays; the -\b-A\bA option restricts the variables to associative ar-
+ The given _\bn_\ba_\bm_\be_\bs are marked readonly; the values of these _\bn_\ba_\bm_\be_\bs
+ may not be changed by subsequent assignment. If the -\b-f\bf option
+ is supplied, the functions corresponding to the _\bn_\ba_\bm_\be_\bs are so
+ marked. The -\b-a\ba option restricts the variables to indexed ar-
+ rays; the -\b-A\bA option restricts the variables to associative ar-
rays. If both options are supplied, -\b-A\bA takes precedence. If no
- _\bn_\ba_\bm_\be arguments are given, or if the -\b-p\bp option is supplied, a
+ _\bn_\ba_\bm_\be arguments are given, or if the -\b-p\bp 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 -\b-p\bp option causes output to be displayed in a format
- that may be reused as input. If a variable name is followed by
- =_\bw_\bo_\br_\bd, the value of the variable is set to _\bw_\bo_\br_\bd. 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 -\b-p\bp option causes output to be displayed in a format
+ that may be reused as input. If a variable name is followed by
+ =_\bw_\bo_\br_\bd, the value of the variable is set to _\bw_\bo_\br_\bd. The return
+ status is 0 unless an invalid option is encountered, one of the
_\bn_\ba_\bm_\be_\bs is not a valid shell variable name, or -\b-f\bf is supplied with
a _\bn_\ba_\bm_\be that is not a function.
r\bre\bet\btu\bur\brn\bn [_\bn]
- Causes a function to stop executing and return the value speci-
- fied by _\bn to its caller. If _\bn is omitted, the return status is
- that of the last command executed in the function body. If r\bre\be-\b-
+ Causes a function to stop executing and return the value speci-
+ fied by _\bn to its caller. If _\bn is omitted, the return status is
+ that of the last command executed in the function body. If r\bre\be-\b-
t\btu\bur\brn\bn is executed by a trap handler, the last command used to de-
- termine the status is the last command executed before the trap
- handler. If r\bre\bet\btu\bur\brn\bn is executed during a D\bDE\bEB\bBU\bUG\bG trap, the last
- command used to determine the status is the last command exe-
- cuted by the trap handler before r\bre\bet\btu\bur\brn\bn was invoked. If r\bre\bet\btu\bur\brn\bn
- is used outside a function, but during execution of a script by
- the .\b. (s\bso\bou\bur\brc\bce\be) command, it causes the shell to stop executing
- that script and return either _\bn or the exit status of the last
- command executed within the script as the exit status of the
+ termine the status is the last command executed before the trap
+ handler. If r\bre\bet\btu\bur\brn\bn is executed during a D\bDE\bEB\bBU\bUG\bG trap, the last
+ command used to determine the status is the last command exe-
+ cuted by the trap handler before r\bre\bet\btu\bur\brn\bn was invoked. If r\bre\bet\btu\bur\brn\bn
+ is used outside a function, but during execution of a script by
+ the .\b. (s\bso\bou\bur\brc\bce\be) command, it causes the shell to stop executing
+ that script and return either _\bn or the exit status of the last
+ command executed within the script as the exit status of the
script. If _\bn is supplied, the return value is its least signif-
- icant 8 bits. The return status is non-zero if r\bre\bet\btu\bur\brn\bn is sup-
- plied a non-numeric argument, or is used outside a function and
- not during execution of a script by .\b. or s\bso\bou\bur\brc\bce\be. Any command
+ icant 8 bits. The return status is non-zero if r\bre\bet\btu\bur\brn\bn is sup-
+ plied a non-numeric argument, or is used outside a function and
+ not during execution of a script by .\b. or s\bso\bou\bur\brc\bce\be. Any command
associated with the R\bRE\bET\bTU\bUR\bRN\bN trap is executed before execution re-
sumes after the function or script.
s\bse\bet\bt [-\b-a\bab\bbe\bef\bfh\bhk\bkm\bmn\bnp\bpt\btu\buv\bvx\bxB\bBC\bCE\bEH\bHP\bPT\bT] [-\b-o\bo _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be] [-\b--\b-] [-\b-] [_\ba_\br_\bg ...]
s\bse\bet\bt [+\b+a\bab\bbe\bef\bfh\bhk\bkm\bmn\bnp\bpt\btu\buv\bvx\bxB\bBC\bCE\bEH\bHP\bPT\bT] [+\b+o\bo _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be] [-\b--\b-] [-\b-] [_\ba_\br_\bg ...]
- Without options, display the name and value of each shell vari-
- able in a format that can be reused as input for setting or re-
+ Without options, display the name and value of each shell vari-
+ able in a format that can be reused as input for setting or re-
setting the currently-set variables. Read-only variables cannot
- be reset. In _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, 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 argu-
- ments remaining after option processing are treated as values
+ be reset. In _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be, 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 argu-
+ ments remaining after option processing are treated as values
for the positional parameters and are assigned, in order, to $\b$1\b1,
- $\b$2\b2, .\b..\b..\b. $\b$_\bn. Options, if specified, have the following mean-
+ $\b$2\b2, .\b..\b..\b. $\b$_\bn. Options, if specified, have the following mean-
ings:
-\b-a\ba Each variable or function that is created or modified is
- given the export attribute and marked for export to the
+ given the export attribute and marked for export to the
environment of subsequent commands.
- -\b-b\bb Report the status of terminated background jobs immedi-
+ -\b-b\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.
- -\b-e\be Exit immediately if a _\bp_\bi_\bp_\be_\bl_\bi_\bn_\be (which may consist of a
- single _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd), a _\bl_\bi_\bs_\bt, or a _\bc_\bo_\bm_\bp_\bo_\bu_\bn_\bd _\bc_\bo_\bm_\bm_\ba_\bn_\bd
+ -\b-e\be Exit immediately if a _\bp_\bi_\bp_\be_\bl_\bi_\bn_\be (which may consist of a
+ single _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd), a _\bl_\bi_\bs_\bt, or a _\bc_\bo_\bm_\bp_\bo_\bu_\bn_\bd _\bc_\bo_\bm_\bm_\ba_\bn_\bd
(see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR 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 w\bwh\bhi\bil\ble\be
- or u\bun\bnt\bti\bil\bl keyword, part of the test following the i\bif\bf or
- e\bel\bli\bif\bf reserved words, part of any command executed in a
- &\b&&\b& or |\b||\b| list except the command following the final &\b&&\b&
+ The shell does not exit if the command that fails is
+ part of the command list immediately following a w\bwh\bhi\bil\ble\be
+ or u\bun\bnt\bti\bil\bl keyword, part of the test following the i\bif\bf or
+ e\bel\bli\bif\bf reserved words, part of any command executed in a
+ &\b&&\b& or |\b||\b| list except the command following the final &\b&&\b&
or |\b||\b|, any command in a pipeline but the last, or if the
- command's return value is being inverted with !\b!. If a
- compound command other than a subshell returns a non-
- zero status because a command failed while -\b-e\be was being
- ignored, the shell does not exit. A trap on E\bER\bRR\bR, if
- set, is executed before the shell exits. This option
+ command's return value is being inverted with !\b!. If a
+ compound command other than a subshell returns a non-
+ zero status because a command failed while -\b-e\be was being
+ ignored, the shell does not exit. A trap on E\bER\bRR\bR, if
+ set, is executed before the shell exits. This option
applies to the shell environment and each subshell envi-
- ronment separately (see C\bCO\bOM\bMM\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
+ ronment separately (see C\bCO\bOM\bMM\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bT
above), 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 -\b-e\be is being ignored, none of the commands
- executed within the compound command or function body
- will be affected by the -\b-e\be setting, even if -\b-e\be is set
- and a command returns a failure status. If a compound
- command or shell function sets -\b-e\be while executing in a
- context where -\b-e\be is ignored, that setting will not have
- any effect until the compound command or the command
+ If a compound command or shell function executes in a
+ context where -\b-e\be is being ignored, none of the commands
+ executed within the compound command or function body
+ will be affected by the -\b-e\be setting, even if -\b-e\be is set
+ and a command returns a failure status. If a compound
+ command or shell function sets -\b-e\be while executing in a
+ context where -\b-e\be is ignored, that setting will not have
+ any effect until the compound command or the command
containing the function call completes.
-\b-f\bf Disable pathname expansion.
- -\b-h\bh Remember the location of commands as they are looked up
+ -\b-h\bh Remember the location of commands as they are looked up
for execution. This is enabled by default.
- -\b-k\bk All arguments in the form of assignment statements are
- placed in the environment for a command, not just those
+ -\b-k\bk All arguments in the form of assignment statements are
+ placed in the environment for a command, not just those
that precede the command name.
- -\b-m\bm Monitor mode. Job control is enabled. This option is
- on by default for interactive shells on systems that
- support it (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL above). All processes run
+ -\b-m\bm Monitor mode. Job control is enabled. This option is
+ on by default for interactive shells on systems that
+ support it (see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL above). All processes run
in a separate process group. When a background job com-
pletes, the shell prints a line containing its exit sta-
tus.
-\b-n\bn Read commands but do not execute them. This may be used
- to check a shell script for syntax errors. This is ig-
+ to check a shell script for syntax errors. This is ig-
nored by interactive shells.
-\b-o\bo _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be
The _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be can be one of the following:
Same as -\b-a\ba.
b\bbr\bra\bac\bce\bee\bex\bxp\bpa\ban\bnd\bd
Same as -\b-B\bB.
- e\bem\bma\bac\bcs\bs Use an emacs-style command line editing inter-
+ e\bem\bma\bac\bcs\bs Use an emacs-style command line editing inter-
face. This is enabled by default when the shell
is interactive, unless the shell is started with
- the -\b--\b-n\bno\boe\bed\bdi\bit\bti\bin\bng\bg option. This also affects the
+ the -\b--\b-n\bno\boe\bed\bdi\bit\bti\bin\bng\bg option. This also affects the
editing interface used for r\bre\bea\bad\bd -\b-e\be.
e\ber\brr\bre\bex\bxi\bit\bt Same as -\b-e\be.
e\ber\brr\brt\btr\bra\bac\bce\be
H\bHI\bIS\bST\bTO\bOR\bRY\bY. This option is on by default in inter-
active shells.
i\big\bgn\bno\bor\bre\bee\beo\bof\bf
- The effect is as if the shell command ``IG-
- NOREEOF=10'' had been executed (see S\bSh\bhe\bel\bll\bl V\bVa\bar\bri\bi-\b-
+ The effect is as if the shell command ``IG-
+ NOREEOF=10'' had been executed (see S\bSh\bhe\bel\bll\bl V\bVa\bar\bri\bi-\b-
a\bab\bbl\ble\bes\bs above).
k\bke\bey\byw\bwo\bor\brd\bd Same as -\b-k\bk.
m\bmo\bon\bni\bit\bto\bor\br Same as -\b-m\bm.
p\bph\bhy\bys\bsi\bic\bca\bal\bl
Same as -\b-P\bP.
p\bpi\bip\bpe\bef\bfa\bai\bil\bl
- 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
+ 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.
- p\bpo\bos\bsi\bix\bx Change the behavior of b\bba\bas\bsh\bh where the default
- operation differs from the POSIX standard to
- match the standard (_\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be). See S\bSE\bEE\bE A\bAL\bLS\bSO\bO
+ p\bpo\bos\bsi\bix\bx Change the behavior of b\bba\bas\bsh\bh where the default
+ operation differs from the POSIX standard to
+ match the standard (_\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be). See S\bSE\bEE\bE A\bAL\bLS\bSO\bO
below for a reference to a document that details
how posix mode affects bash's behavior.
p\bpr\bri\biv\bvi\bil\ble\beg\bge\bed\bd
Same as -\b-p\bp.
v\bve\ber\brb\bbo\bos\bse\be Same as -\b-v\bv.
- v\bvi\bi Use a vi-style command line editing interface.
+ v\bvi\bi Use a vi-style command line editing interface.
This also affects the editing interface used for
r\bre\bea\bad\bd -\b-e\be.
x\bxt\btr\bra\bac\bce\be Same as -\b-x\bx.
If -\b-o\bo is supplied with no _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, the values of the
- current options are printed. If +\b+o\bo is supplied with no
- _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, a series of s\bse\bet\bt commands to recreate the
- current option settings is displayed on the standard
+ current options are printed. If +\b+o\bo is supplied with no
+ _\bo_\bp_\bt_\bi_\bo_\bn_\b-_\bn_\ba_\bm_\be, a series of s\bse\bet\bt commands to recreate the
+ current option settings is displayed on the standard
output.
- -\b-p\bp Turn on _\bp_\br_\bi_\bv_\bi_\bl_\be_\bg_\be_\bd mode. In this mode, the $\b$E\bEN\bNV\bV and
- $\b$B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV files are not processed, shell functions are
- not inherited from the environment, and the S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS,
- B\bBA\bAS\bSH\bHO\bOP\bPT\bTS\bS, C\bCD\bDP\bPA\bAT\bTH\bH, and G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE variables, if they ap-
- pear 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 -\b-p\bp option is not sup-
+ -\b-p\bp Turn on _\bp_\br_\bi_\bv_\bi_\bl_\be_\bg_\be_\bd mode. In this mode, the $\b$E\bEN\bNV\bV and
+ $\b$B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV files are not processed, shell functions are
+ not inherited from the environment, and the S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS,
+ B\bBA\bAS\bSH\bHO\bOP\bPT\bTS\bS, C\bCD\bDP\bPA\bAT\bTH\bH, and G\bGL\bLO\bOB\bBI\bIG\bGN\bNO\bOR\bRE\bE variables, if they ap-
+ pear 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 -\b-p\bp option is not sup-
plied, these actions are taken and the effective user id
- is set to the real user id. If the -\b-p\bp option is sup-
- plied at startup, the effective user id is not reset.
- Turning this option off causes the effective user and
+ is set to the real user id. If the -\b-p\bp option is sup-
+ plied 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.
-\b-r\br Enable restricted shell mode. This option cannot be un-
set once it has been set.
-\b-t\bt Exit after reading and executing one command.
-\b-u\bu Treat unset variables and parameters other than the spe-
- cial parameters "@" and "*", or array variables sub-
- scripted with "@" or "*", as an error when performing
- parameter expansion. If expansion is attempted on an
- unset variable or parameter, the shell prints an error
- message, and, if not interactive, exits with a non-zero
+ cial parameters "@" and "*", or array variables sub-
+ scripted with "@" or "*", as an error when performing
+ parameter expansion. If expansion is attempted on an
+ unset variable or parameter, the shell prints an error
+ message, and, if not interactive, exits with a non-zero
status.
-\b-v\bv Print shell input lines as they are read.
- -\b-x\bx After expanding each _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, f\bfo\bor\br command, c\bca\bas\bse\be
+ -\b-x\bx After expanding each _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, f\bfo\bor\br command, c\bca\bas\bse\be
command, s\bse\bel\ble\bec\bct\bt command, or arithmetic f\bfo\bor\br command, dis-
- play the expanded value of P\bPS\bS4\b4, followed by the command
+ play the expanded value of P\bPS\bS4\b4, followed by the command
and its expanded arguments or associated word list.
- -\b-B\bB The shell performs brace expansion (see B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
+ -\b-B\bB The shell performs brace expansion (see B\bBr\bra\bac\bce\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
above). This is on by default.
- -\b-C\bC If set, b\bba\bas\bsh\bh does not overwrite an existing file with
- the >\b>, >\b>&\b&, and <\b<>\b> redirection operators. This may be
+ -\b-C\bC If set, b\bba\bas\bsh\bh does not overwrite an existing file with
+ the >\b>, >\b>&\b&, and <\b<>\b> redirection operators. This may be
overridden when creating output files by using the redi-
rection operator >\b>|\b| instead of >\b>.
-\b-E\bE If set, any trap on E\bER\bRR\bR is inherited by shell functions,
- command substitutions, and commands executed in a sub-
- shell environment. The E\bER\bRR\bR trap is normally not inher-
+ command substitutions, and commands executed in a sub-
+ shell environment. The E\bER\bRR\bR trap is normally not inher-
ited in such cases.
-\b-H\bH Enable !\b! style history substitution. This option is on
by default when the shell is interactive.
- -\b-P\bP If set, the shell does not resolve symbolic links when
- executing commands such as c\bcd\bd that change the current
+ -\b-P\bP If set, the shell does not resolve symbolic links when
+ executing commands such as c\bcd\bd that change the current
working directory. It uses the physical directory
structure instead. By default, b\bba\bas\bsh\bh follows the logical
- chain of directories when performing commands which
+ chain of directories when performing commands which
change the current directory.
- -\b-T\bT If set, any traps on D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN are inherited by
+ -\b-T\bT If set, any traps on D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN are inherited by
shell functions, command substitutions, and commands ex-
- ecuted in a subshell environment. The D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN
+ ecuted in a subshell environment. The D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN
traps are normally not inherited in such cases.
- -\b--\b- If no arguments follow this option, then the positional
+ -\b--\b- If no arguments follow this option, then the positional
parameters are unset. Otherwise, the positional parame-
- ters are set to the _\ba_\br_\bgs, even if some of them begin
+ ters are set to the _\ba_\br_\bgs, even if some of them begin
with a -\b-.
- -\b- Signal the end of options, cause all remaining _\ba_\br_\bgs to
+ -\b- Signal the end of options, cause all remaining _\ba_\br_\bgs to
be assigned to the positional parameters. The -\b-x\bx and -\b-v\bv
options are turned off. If there are no _\ba_\br_\bgs, the posi-
tional parameters remain unchanged.
- The options are off by default unless otherwise noted. Using +
- rather than - causes these options to be turned off. The op-
+ The options are off by default unless otherwise noted. Using +
+ rather than - causes these options to be turned off. The op-
tions can also be specified as arguments to an invocation of the
- shell. The current set of options may be found in $\b$-\b-. The re-
- turn status is always true unless an invalid option is encoun-
+ shell. The current set of options may be found in $\b$-\b-. The re-
+ turn status is always true unless an invalid option is encoun-
tered.
s\bsh\bhi\bif\bft\bt [_\bn]
- The positional parameters from _\bn+1 ... are renamed to $\b$1\b1 .\b..\b..\b..\b.
- Parameters represented by the numbers $\b$#\b# down to $\b$#\b#-_\bn+1 are un-
- set. _\bn must be a non-negative number less than or equal to $\b$#\b#.
- If _\bn is 0, no parameters are changed. If _\bn is not given, it is
+ The positional parameters from _\bn+1 ... are renamed to $\b$1\b1 .\b..\b..\b..\b.
+ Parameters represented by the numbers $\b$#\b# down to $\b$#\b#-_\bn+1 are un-
+ set. _\bn must be a non-negative number less than or equal to $\b$#\b#.
+ If _\bn is 0, no parameters are changed. If _\bn is not given, it is
assumed to be 1. If _\bn is greater than $\b$#\b#, the positional param-
- eters are not changed. The return status is greater than zero
+ eters are not changed. The return status is greater than zero
if _\bn is greater than $\b$#\b# or less than zero; otherwise 0.
s\bsh\bho\bop\bpt\bt [-\b-p\bpq\bqs\bsu\bu] [-\b-o\bo] [_\bo_\bp_\bt_\bn_\ba_\bm_\be ...]
- Toggle the values of settings controlling optional shell behav-
- ior. The settings can be either those listed below, or, if the
+ Toggle the values of settings controlling optional shell behav-
+ ior. The settings can be either those listed below, or, if the
-\b-o\bo option is used, those available with the -\b-o\bo option to the s\bse\bet\bt
builtin command. With no options, or with the -\b-p\bp option, a list
- of all settable options is displayed, with an indication of
+ of all settable options is displayed, with an indication of
whether or not each is set; if _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs are supplied, the output
- is restricted to those options. The -\b-p\bp option causes output to
- be displayed in a form that may be reused as input. Other op-
+ is restricted to those options. The -\b-p\bp option causes output to
+ be displayed in a form that may be reused as input. Other op-
tions have the following meanings:
-\b-s\bs Enable (set) each _\bo_\bp_\bt_\bn_\ba_\bm_\be.
-\b-u\bu Disable (unset) each _\bo_\bp_\bt_\bn_\ba_\bm_\be.
- -\b-q\bq Suppresses normal output (quiet mode); the return status
+ -\b-q\bq Suppresses normal output (quiet mode); the return status
indicates whether the _\bo_\bp_\bt_\bn_\ba_\bm_\be is set or unset. If multi-
- ple _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments are given with -\b-q\bq, the return sta-
- tus is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs are enabled; non-zero other-
+ ple _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments are given with -\b-q\bq, the return sta-
+ tus is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs are enabled; non-zero other-
wise.
- -\b-o\bo Restricts the values of _\bo_\bp_\bt_\bn_\ba_\bm_\be to be those defined for
+ -\b-o\bo Restricts the values of _\bo_\bp_\bt_\bn_\ba_\bm_\be to be those defined for
the -\b-o\bo option to the s\bse\bet\bt builtin.
- If either -\b-s\bs or -\b-u\bu is used with no _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments, s\bsh\bho\bop\bpt\bt
- shows only those options which are set or unset, respectively.
- Unless otherwise noted, the s\bsh\bho\bop\bpt\bt options are disabled (unset)
+ If either -\b-s\bs or -\b-u\bu is used with no _\bo_\bp_\bt_\bn_\ba_\bm_\be arguments, s\bsh\bho\bop\bpt\bt
+ shows only those options which are set or unset, respectively.
+ Unless otherwise noted, the s\bsh\bho\bop\bpt\bt options are disabled (unset)
by default.
- The return status when listing options is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs
- are enabled, non-zero otherwise. When setting or unsetting op-
- tions, the return status is zero unless an _\bo_\bp_\bt_\bn_\ba_\bm_\be is not a
+ The return status when listing options is zero if all _\bo_\bp_\bt_\bn_\ba_\bm_\be_\bs
+ are enabled, non-zero otherwise. When setting or unsetting op-
+ tions, the return status is zero unless an _\bo_\bp_\bt_\bn_\ba_\bm_\be is not a
valid shell option.
The list of s\bsh\bho\bop\bpt\bt options is:
a\bas\bss\bso\boc\bc_\b_e\bex\bxp\bpa\ban\bnd\bd_\b_o\bon\bnc\bce\be
- If set, the shell suppresses multiple evaluation of as-
- sociative array subscripts during arithmetic expression
- evaluation, while executing builtins that can perform
- variable assignments, and while executing builtins that
+ If set, the shell suppresses multiple evaluation of as-
+ sociative array subscripts during arithmetic expression
+ evaluation, while executing builtins that can perform
+ variable assignments, and while executing builtins that
perform array dereferencing.
- a\bau\but\bto\boc\bcd\bd If set, a command name that is the name of a directory
- is executed as if it were the argument to the c\bcd\bd com-
+ a\bau\but\bto\boc\bcd\bd If set, a command name that is the name of a directory
+ is executed as if it were the argument to the c\bcd\bd com-
mand. This option is only used by interactive shells.
c\bcd\bda\bab\bbl\ble\be_\b_v\bva\bar\brs\bs
- If set, an argument to the c\bcd\bd builtin command that is
- not a directory is assumed to be the name of a variable
+ If set, an argument to the c\bcd\bd builtin command that is
+ not a directory is assumed to be the name of a variable
whose value is the directory to change to.
c\bcd\bds\bsp\bpe\bel\bll\bl If set, minor errors in the spelling of a directory com-
- ponent in a c\bcd\bd command will be corrected. The errors
+ ponent in a c\bcd\bd command will be corrected. The errors
checked for are transposed characters, a missing charac-
- ter, and one character too many. If a correction is
- found, the corrected filename is printed, and the com-
- mand proceeds. This option is only used by interactive
+ ter, and one character too many. If a correction is
+ found, the corrected filename is printed, and the com-
+ mand proceeds. This option is only used by interactive
shells.
c\bch\bhe\bec\bck\bkh\bha\bas\bsh\bh
If set, b\bba\bas\bsh\bh checks that a command found in the hash ta-
- ble exists before trying to execute it. If a hashed
- command no longer exists, a normal path search is per-
+ ble exists before trying to execute it. If a hashed
+ command no longer exists, a normal path search is per-
formed.
c\bch\bhe\bec\bck\bkj\bjo\bob\bbs\bs
If set, b\bba\bas\bsh\bh lists the status of any stopped and running
- jobs before exiting an interactive shell. If any jobs
+ 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
+ second exit is attempted without an intervening command
(see J\bJO\bOB\bB C\bCO\bON\bNT\bTR\bRO\bOL\bL above). The shell always postpones ex-
iting if any jobs are stopped.
c\bch\bhe\bec\bck\bkw\bwi\bin\bns\bsi\biz\bze\be
- If set, b\bba\bas\bsh\bh checks the window size after each external
- (non-builtin) command and, if necessary, updates the
- values of L\bLI\bIN\bNE\bES\bS and C\bCO\bOL\bLU\bUM\bMN\bNS\bS. This option is enabled by
+ If set, b\bba\bas\bsh\bh checks the window size after each external
+ (non-builtin) command and, if necessary, updates the
+ values of L\bLI\bIN\bNE\bES\bS and C\bCO\bOL\bLU\bUM\bMN\bNS\bS. This option is enabled by
default.
- c\bcm\bmd\bdh\bhi\bis\bst\bt If set, b\bba\bas\bsh\bh attempts to save all lines of a multiple-
- line command in the same history entry. This allows
- easy re-editing of multi-line commands. This option is
- enabled by default, but only has an effect if command
+ c\bcm\bmd\bdh\bhi\bis\bst\bt If set, b\bba\bas\bsh\bh attempts to save all lines of a multiple-
+ line command in the same history entry. This allows
+ easy re-editing of multi-line commands. This option is
+ enabled by default, but only has an effect if command
history is enabled, as described above under H\bHI\bIS\bST\bTO\bOR\bRY\bY.
c\bco\bom\bmp\bpa\bat\bt3\b31\b1
c\bco\bom\bmp\bpa\bat\bt3\b32\b2
c\bco\bom\bmp\bpa\bat\bt4\b43\b3
c\bco\bom\bmp\bpa\bat\bt4\b44\b4
c\bco\bom\bmp\bpa\bat\bt5\b50\b0
- These control aspects of the shell's compatibility mode
+ These control aspects of the shell's compatibility mode
(see S\bSH\bHE\bEL\bLL\bL C\bCO\bOM\bMP\bPA\bAT\bTI\bIB\bBI\bIL\bLI\bIT\bTY\bY M\bMO\bOD\bDE\bE below).
c\bco\bom\bmp\bpl\ble\bet\bte\be_\b_f\bfu\bul\bll\blq\bqu\buo\bot\bte\be
- If set, b\bba\bas\bsh\bh quotes all shell metacharacters in file-
- names and directory names when performing completion.
+ If set, b\bba\bas\bsh\bh quotes all shell metacharacters in file-
+ names and directory names when performing completion.
If not set, b\bba\bas\bsh\bh 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 ex-
- pand 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 ex-
+ pand 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.
d\bdi\bir\bre\bex\bxp\bpa\ban\bnd\bd
- If set, b\bba\bas\bsh\bh 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, b\bba\bas\bsh\bh attempts to preserve what the
+ If set, b\bba\bas\bsh\bh 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, b\bba\bas\bsh\bh attempts to preserve what the
user typed.
d\bdi\bir\brs\bsp\bpe\bel\bll\bl
- If set, b\bba\bas\bsh\bh attempts spelling correction on directory
- names during word completion if the directory name ini-
+ If set, b\bba\bas\bsh\bh attempts spelling correction on directory
+ names during word completion if the directory name ini-
tially supplied does not exist.
- d\bdo\bot\btg\bgl\blo\bob\bb If set, b\bba\bas\bsh\bh includes filenames beginning with a `.' in
- the results of pathname expansion. The filenames `\b``\b`.\b.'\b''\b'
- and `\b``\b`.\b..\b.'\b''\b' must always be matched explicitly, even if
+ d\bdo\bot\btg\bgl\blo\bob\bb If set, b\bba\bas\bsh\bh includes filenames beginning with a `.' in
+ the results of pathname expansion. The filenames `\b``\b`.\b.'\b''\b'
+ and `\b``\b`.\b..\b.'\b''\b' must always be matched explicitly, even if
d\bdo\bot\btg\bgl\blo\bob\bb is set.
e\bex\bxe\bec\bcf\bfa\bai\bil\bl
If set, a non-interactive shell will not exit if it can-
- not execute the file specified as an argument to the
- e\bex\bxe\bec\bc builtin command. An interactive shell does not
+ not execute the file specified as an argument to the
+ e\bex\bxe\bec\bc builtin command. An interactive shell does not
exit if e\bex\bxe\bec\bc fails.
e\bex\bxp\bpa\ban\bnd\bd_\b_a\bal\bli\bia\bas\bse\bes\bs
- If set, aliases are expanded as described above under
+ If set, aliases are expanded as described above under
A\bAL\bLI\bIA\bAS\bSE\bES\bS. This option is enabled by default for interac-
tive shells.
e\bex\bxt\btd\bde\beb\bbu\bug\bg
- If set at shell invocation, or in a shell startup file,
+ If set at shell invocation, or in a shell startup file,
arrange to execute the debugger profile before the shell
- starts, identical to the -\b--\b-d\bde\beb\bbu\bug\bgg\bge\ber\br option. If set af-
- ter invocation, behavior intended for use by debuggers
+ starts, identical to the -\b--\b-d\bde\beb\bbu\bug\bgg\bge\ber\br option. If set af-
+ ter invocation, behavior intended for use by debuggers
is enabled:
1\b1.\b. The -\b-F\bF option to the d\bde\bec\bcl\bla\bar\bre\be builtin displays the
source file name and line number corresponding to
each function name supplied as an argument.
- 2\b2.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
- non-zero value, the next command is skipped and
+ 2\b2.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG trap returns a
+ non-zero value, the next command is skipped and
not executed.
- 3\b3.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG 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 .\b. or s\bso\bou\bur\brc\bce\be builtins), the shell
+ 3\b3.\b. If the command run by the D\bDE\bEB\bBU\bUG\bG 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 .\b. or s\bso\bou\bur\brc\bce\be builtins), the shell
simulates a call to r\bre\bet\btu\bur\brn\bn.
- 4\b4.\b. B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC and B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV are updated as described
- in their descriptions above.
+ 4\b4.\b. B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC and B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV are updated as described
+ in their descriptions above).
- 5\b5.\b. Function tracing is enabled: command substitu-
+ 5\b5.\b. Function tracing is enabled: command substitu-
tion, shell functions, and subshells invoked with
(\b( _\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the D\bDE\bEB\bBU\bUG\bG and R\bRE\bET\bTU\bUR\bRN\bN traps.
- 6\b6.\b. Error tracing is enabled: command substitution,
- shell functions, and subshells invoked with (\b(
+ 6\b6.\b. Error tracing is enabled: command substitution,
+ shell functions, and subshells invoked with (\b(
_\bc_\bo_\bm_\bm_\ba_\bn_\bd )\b) inherit the E\bER\bRR\bR trap.
e\bex\bxt\btg\bgl\blo\bob\bb If set, the extended pattern matching features described
above under P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn are enabled.
e\bex\bxt\btq\bqu\buo\bot\bte\be
- If set, $\b$'_\bs_\bt_\br_\bi_\bn_\bg' and $\b$"_\bs_\bt_\br_\bi_\bn_\bg" quoting is performed
- within $\b${\b{_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}\b} expansions enclosed in double
+ If set, $\b$'_\bs_\bt_\br_\bi_\bn_\bg' and $\b$"_\bs_\bt_\br_\bi_\bn_\bg" quoting is performed
+ within $\b${\b{_\bp_\ba_\br_\ba_\bm_\be_\bt_\be_\br}\b} expansions enclosed in double
quotes. This option is enabled by default.
f\bfa\bai\bil\blg\bgl\blo\bob\bb
- 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.
f\bfo\bor\brc\bce\be_\b_f\bfi\big\bgn\bno\bor\bre\be
- If set, the suffixes specified by the F\bFI\bIG\bGN\bNO\bOR\bRE\bE shell
- variable cause words to be ignored when performing word
+ If set, the suffixes specified by the F\bFI\bIG\bGN\bNO\bOR\bRE\bE shell
+ variable cause words to be ignored when performing word
completion even if the ignored words are the only possi-
- ble completions. See S\bSH\bHE\bEL\bLL\bL V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS above for a de-
- scription of F\bFI\bIG\bGN\bNO\bOR\bRE\bE. This option is enabled by de-
+ ble completions. See S\bSH\bHE\bEL\bLL\bL V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS above for a de-
+ scription of F\bFI\bIG\bGN\bNO\bOR\bRE\bE. This option is enabled by de-
fault.
g\bgl\blo\bob\bba\bas\bsc\bci\bii\bir\bra\ban\bng\bge\bes\bs
- If set, range expressions used in pattern matching
- bracket expressions (see P\bPa\bat\btt\bte\ber\brn\bn M\bMa\bat\btc\bch\bhi\bin\bng\bg above) behave
- as if in the traditional C locale when performing com-
- parisons. That is, the current locale's collating se-
- quence is not taken into account, so b\bb will not collate
- between A\bA and B\bB, and upper-case and lower-case ASCII
+ If set, range expressions used in pattern matching
+ bracket expressions (see P\bPa\bat\btt\bte\ber\brn\bn M\bMa\bat\btc\bch\bhi\bin\bng\bg above) behave
+ as if in the traditional C locale when performing com-
+ parisons. That is, the current locale's collating se-
+ quence is not taken into account, so b\bb will not collate
+ between A\bA and B\bB, and upper-case and lower-case ASCII
characters will collate together.
g\bgl\blo\bob\bbs\bsk\bki\bip\bpd\bdo\bot\bts\bs
- If set, pathname expansion will never match the file-
+ If set, pathname expansion will never match the file-
names `\b``\b`.\b.'\b''\b' and `\b``\b`.\b..\b.'\b''\b', even if the pattern begins with
a `\b``\b`.\b.'\b''\b'. This option is enabled by default.
g\bgl\blo\bob\bbs\bst\bta\bar\br
If set, the pattern *\b**\b* 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 /\b/,
+ text will match all files and zero or more directories
+ and subdirectories. If the pattern is followed by a /\b/,
only directories and subdirectories match.
g\bgn\bnu\bu_\b_e\ber\brr\brf\bfm\bmt\bt
GNU error message format.
h\bhi\bis\bst\bta\bap\bpp\bpe\ben\bnd\bd
- If set, the history list is appended to the file named
+ If set, the history list is appended to the file named
by the value of the H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE variable when the shell ex-
its, rather than overwriting the file.
h\bhi\bis\bst\btr\bre\bee\bed\bdi\bit\bt
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, a user is given the
+ If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, a user is given the
opportunity to re-edit a failed history substitution.
h\bhi\bis\bst\btv\bve\ber\bri\bif\bfy\by
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be 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 r\bre\bea\bad\bdl\bli\bin\bne\be 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 r\bre\bea\bad\bdl\bli\bin\bne\be editing buffer, allowing further modi-
fication.
h\bho\bos\bst\btc\bco\bom\bmp\bpl\ble\bet\bte\be
If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will attempt to
- perform hostname completion when a word containing a @\b@
- is being completed (see C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg under R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE
+ perform hostname completion when a word containing a @\b@
+ is being completed (see C\bCo\bom\bmp\bpl\ble\bet\bti\bin\bng\bg under R\bRE\bEA\bAD\bDL\bLI\bIN\bNE\bE
above). This is enabled by default.
h\bhu\bup\bpo\bon\bne\bex\bxi\bit\bt
active login shell exits.
i\bin\bnh\bhe\ber\bri\bit\bt_\b_e\ber\brr\bre\bex\bxi\bit\bt
- If set, command substitution inherits the value of the
- e\ber\brr\bre\bex\bxi\bit\bt option, instead of unsetting it in the subshell
- environment. This option is enabled when _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be is
+ If set, command substitution inherits the value of the
+ e\ber\brr\bre\bex\bxi\bit\bt option, instead of unsetting it in the subshell
+ environment. This option is enabled when _\bp_\bo_\bs_\bi_\bx _\bm_\bo_\bd_\be is
enabled.
i\bin\bnt\bte\ber\bra\bac\bct\bti\biv\bve\be_\b_c\bco\bom\bmm\bme\ben\bnt\bts\bs
If set, allow a word beginning with #\b# to cause that word
- and all remaining characters on that line to be ignored
- in an interactive shell (see C\bCO\bOM\bMM\bME\bEN\bNT\bTS\bS above). This op-
+ and all remaining characters on that line to be ignored
+ in an interactive shell (see C\bCO\bOM\bMM\bME\bEN\bNT\bTS\bS above). This op-
tion is enabled by default.
l\bla\bas\bst\btp\bpi\bip\bpe\be
- If set, and job control is not active, the shell runs
+ If set, and job control is not active, the shell runs
the last command of a pipeline not executed in the back-
ground in the current shell environment.
- l\bli\bit\bth\bhi\bis\bst\bt If set, and the c\bcm\bmd\bdh\bhi\bis\bst\bt option is enabled, multi-line
+ l\bli\bit\bth\bhi\bis\bst\bt If set, and the c\bcm\bmd\bdh\bhi\bis\bst\bt option is enabled, multi-line
commands are saved to the history with embedded newlines
rather than using semicolon separators where possible.
tribute is not inherited.
l\blo\boc\bca\bal\blv\bva\bar\br_\b_u\bun\bns\bse\bet\bt
- If set, calling u\bun\bns\bse\bet\bt on local variables in previous
- function scopes marks them so subsequent lookups find
- them unset until that function returns. This is identi-
- cal to the behavior of unsetting local variables at the
+ If set, calling u\bun\bns\bse\bet\bt on local variables in previous
+ function scopes marks them so subsequent lookups find
+ them unset until that function returns. This is identi-
+ cal to the behavior of unsetting local variables at the
current function scope.
l\blo\bog\bgi\bin\bn_\b_s\bsh\bhe\bel\bll\bl
- The shell sets this option if it is started as a login
- shell (see I\bIN\bNV\bVO\bOC\bCA\bAT\bTI\bIO\bON\bN above). The value may not be
+ The shell sets this option if it is started as a login
+ shell (see I\bIN\bNV\bVO\bOC\bCA\bAT\bTI\bIO\bON\bN above). The value may not be
changed.
m\bma\bai\bil\blw\bwa\bar\brn\bn
- If set, and a file that b\bba\bas\bsh\bh is checking for mail has
- been accessed since the last time it was checked, the
- message ``The mail in _\bm_\ba_\bi_\bl_\bf_\bi_\bl_\be has been read'' is dis-
+ If set, and a file that b\bba\bas\bsh\bh is checking for mail has
+ been accessed since the last time it was checked, the
+ message ``The mail in _\bm_\ba_\bi_\bl_\bf_\bi_\bl_\be has been read'' is dis-
played.
n\bno\bo_\b_e\bem\bmp\bpt\bty\by_\b_c\bcm\bmd\bd_\b_c\bco\bom\bmp\bpl\ble\bet\bti\bio\bon\bn
- If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will not at-
- tempt to search the P\bPA\bAT\bTH\bH for possible completions when
+ If set, and r\bre\bea\bad\bdl\bli\bin\bne\be is being used, b\bba\bas\bsh\bh will not at-
+ tempt to search the P\bPA\bAT\bTH\bH for possible completions when
completion is attempted on an empty line.
n\bno\boc\bca\bas\bse\beg\bgl\blo\bob\bb
- If set, b\bba\bas\bsh\bh matches filenames in a case-insensitive
+ If set, b\bba\bas\bsh\bh matches filenames in a case-insensitive
fashion when performing pathname expansion (see P\bPa\bat\bth\bhn\bna\bam\bme\be
E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above).
n\bno\boc\bca\bas\bse\bem\bma\bat\btc\bch\bh
- If set, b\bba\bas\bsh\bh matches patterns in a case-insensitive
+ If set, b\bba\bas\bsh\bh matches patterns in a case-insensitive
fashion when performing matching while executing c\bca\bas\bse\be or
[\b[[\b[ conditional commands, when performing pattern substi-
- tution word expansions, or when filtering possible com-
+ tution word expansions, or when filtering possible com-
pletions as part of programmable completion.
n\bno\boe\bex\bxp\bpa\ban\bnd\bd_\b_t\btr\bra\ban\bns\bsl\bla\bat\bti\bio\bon\bn
- If set, b\bba\bas\bsh\bh encloses the translated results of $"..."
- quoting in single quotes instead of double quotes. If
+ If set, b\bba\bas\bsh\bh encloses the translated results of $"..."
+ quoting in single quotes instead of double quotes. If
the string is not translated, this has no effect.
n\bnu\bul\bll\blg\bgl\blo\bob\bb
- If set, b\bba\bas\bsh\bh allows patterns which match no files (see
- P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above) to expand to a null string,
+ If set, b\bba\bas\bsh\bh allows patterns which match no files (see
+ P\bPa\bat\bth\bhn\bna\bam\bme\be E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn above) to expand to a null string,
rather than themselves.
p\bpa\bat\bts\bsu\bub\bb_\b_r\bre\bep\bpl\bla\bac\bce\bem\bme\ben\bnt\bt
If set, b\bba\bas\bsh\bh expands occurrences of &\b& in the replacement
- string of pattern substitution to the text matched by
- the pattern, as described under P\bPa\bar\bra\bam\bme\bet\bte\ber\br E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
+ string of pattern substitution to the text matched by
+ the pattern, as described under P\bPa\bar\bra\bam\bme\bet\bte\ber\br E\bEx\bxp\bpa\ban\bns\bsi\bio\bon\bn
above. This option is enabled by default.
p\bpr\bro\bog\bgc\bco\bom\bmp\bp
enabled by default.
p\bpr\bro\bog\bgc\bco\bom\bmp\bp_\b_a\bal\bli\bia\bas\bs
- If set, and programmable completion is enabled, b\bba\bas\bsh\bh
- treats a command name that doesn't have any completions
- as a possible alias and attempts alias expansion. If it
- has an alias, b\bba\bas\bsh\bh attempts programmable completion us-
+ If set, and programmable completion is enabled, b\bba\bas\bsh\bh
+ treats a command name that doesn't have any completions
+ as a possible alias and attempts alias expansion. If it
+ has an alias, b\bba\bas\bsh\bh attempts programmable completion us-
ing the command word resulting from the expanded alias.
p\bpr\bro\bom\bmp\bpt\btv\bva\bar\brs\bs
If set, prompt strings undergo parameter expansion, com-
- mand substitution, arithmetic expansion, and quote re-
- moval after being expanded as described in P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG
+ mand substitution, arithmetic expansion, and quote re-
+ moval after being expanded as described in P\bPR\bRO\bOM\bMP\bPT\bTI\bIN\bNG\bG
above. This option is enabled by default.
r\bre\bes\bst\btr\bri\bic\bct\bte\bed\bd_\b_s\bsh\bhe\bel\bll\bl
- The shell sets this option if it is started in re-
- stricted mode (see R\bRE\bES\bST\bTR\bRI\bIC\bCT\bTE\bED\bD S\bSH\bHE\bEL\bLL\bL below). The value
- may not be changed. This is not reset when the startup
- files are executed, allowing the startup files to dis-
+ The shell sets this option if it is started in re-
+ stricted mode (see R\bRE\bES\bST\bTR\bRI\bIC\bCT\bTE\bED\bD S\bSH\bHE\bEL\bLL\bL below). The value
+ may not be changed. This is not reset when the startup
+ files are executed, allowing the startup files to dis-
cover whether or not a shell is restricted.
s\bsh\bhi\bif\bft\bt_\b_v\bve\ber\brb\bbo\bos\bse\be
- If set, the s\bsh\bhi\bif\bft\bt builtin prints an error message when
+ If set, the s\bsh\bhi\bif\bft\bt builtin prints an error message when
the shift count exceeds the number of positional parame-
ters.
s\bso\bou\bur\brc\bce\bep\bpa\bat\bth\bh
If set, the .\b. (s\bso\bou\bur\brc\bce\be) builtin uses the value of P\bPA\bAT\bTH\bH to
- find the directory containing the file supplied as an
+ find the directory containing the file supplied as an
argument. This option is enabled by default.
v\bva\bar\brr\bre\bed\bdi\bir\br_\b_c\bcl\blo\bos\bse\be
- If set, the shell automatically closes file descriptors
+ If set, the shell automatically closes file descriptors
assigned using the _\b{_\bv_\ba_\br_\bn_\ba_\bm_\be_\b} redirection syntax (see R\bRE\bE-\b-
- D\bDI\bIR\bRE\bEC\bCT\bTI\bIO\bON\bN above) instead of leaving them open when the
+ D\bDI\bIR\bRE\bEC\bCT\bTI\bIO\bON\bN above) instead of leaving them open when the
command completes.
x\bxp\bpg\bg_\b_e\bec\bch\bho\bo
- If set, the e\bec\bch\bho\bo builtin expands backslash-escape se-
+ If set, the e\bec\bch\bho\bo builtin expands backslash-escape se-
quences by default.
s\bsu\bus\bsp\bpe\ben\bnd\bd [-\b-f\bf]
- Suspend the execution of this shell until it receives a S\bSI\bIG\bGC\bCO\bON\bNT\bT
- signal. A login shell, or a shell without job control enabled,
- cannot be suspended; the -\b-f\bf option can be used to override this
- and force the suspension. The return status is 0 unless the
- shell is a login shell or job control is not enabled and -\b-f\bf is
+ Suspend the execution of this shell until it receives a S\bSI\bIG\bGC\bCO\bON\bNT\bT
+ signal. A login shell, or a shell without job control enabled,
+ cannot be suspended; the -\b-f\bf option can be used to override this
+ and force the suspension. The return status is 0 unless the
+ shell is a login shell or job control is not enabled and -\b-f\bf is
not supplied.
t\bte\bes\bst\bt _\be_\bx_\bp_\br
[\b[ _\be_\bx_\bp_\br ]\b]
Return a status of 0 (true) or 1 (false) depending on the evalu-
ation of the conditional expression _\be_\bx_\bp_\br. Each operator and op-
- erand must be a separate argument. Expressions are composed of
- the primaries described above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS.
- t\bte\bes\bst\bt does not accept any options, nor does it accept and ignore
+ erand must be a separate argument. Expressions are composed of
+ the primaries described above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS.
+ t\bte\bes\bst\bt does not accept any options, nor does it accept and ignore
an argument of -\b--\b- as signifying the end of options.
- Expressions may be combined using the following operators,
- listed in decreasing order of precedence. The evaluation de-
- pends on the number of arguments; see below. Operator prece-
+ Expressions may be combined using the following operators,
+ listed in decreasing order of precedence. The evaluation de-
+ pends on the number of arguments; see below. Operator prece-
dence is used when there are five or more arguments.
!\b! _\be_\bx_\bp_\br True if _\be_\bx_\bp_\br is false.
(\b( _\be_\bx_\bp_\br )\b)
- Returns the value of _\be_\bx_\bp_\br. This may be used to override
+ Returns the value of _\be_\bx_\bp_\br. This may be used to override
the normal precedence of operators.
_\be_\bx_\bp_\br_\b1 -a\ba _\be_\bx_\bp_\br_\b2
True if both _\be_\bx_\bp_\br_\b1 and _\be_\bx_\bp_\br_\b2 are true.
null.
2 arguments
If the first argument is !\b!, the expression is true if and
- only if the second argument is null. If the first argu-
- ment is one of the unary conditional operators listed
- above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, the expression is
+ only if the second argument is null. If the first argu-
+ ment is one of the unary conditional operators listed
+ above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, the expression is
true if the unary test is true. If the first argument is
not a valid unary conditional 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
+ If the second argument is one of the binary conditional
operators listed above under C\bCO\bON\bND\bDI\bIT\bTI\bIO\bON\bNA\bAL\bL E\bEX\bXP\bPR\bRE\bES\bSS\bSI\bIO\bON\bNS\bS, the
result of the expression is the result of the binary test
- using the first and third arguments as operands. The -\b-a\ba
- and -\b-o\bo operators are considered binary operators when
- there are three arguments. If the first argument is !\b!,
- the value is the negation of the two-argument test using
+ using the first and third arguments as operands. The -\b-a\ba
+ and -\b-o\bo operators are considered binary operators when
+ there are three arguments. If the first argument is !\b!,
+ the value is the negation of the two-argument test using
the second and third arguments. If the first argument is
exactly (\b( and the third argument is exactly )\b), the result
- is the one-argument test of the second argument. Other-
+ is the one-argument test of the second argument. Other-
wise, the expression is false.
4 arguments
The following conditions are applied in the order listed.
If the first argument is !\b!, the result is the negation of
- the three-argument expression composed of the remaining
- arguments. the two-argument test using the second and
- third arguments. If the first argument is exactly (\b( and
- the fourth argument is exactly )\b), the result is the two-
- argument test of the second and third arguments. Other-
+ the three-argument expression composed of the remaining
+ arguments. the two-argument test using the second and
+ third arguments. If the first argument is exactly (\b( and
+ the fourth argument is exactly )\b), the result is the two-
+ argument test of the second and third arguments. Other-
wise, 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
+ The expression is parsed and evaluated according to
precedence using the rules listed above.
- When used with t\bte\bes\bst\bt or [\b[, the <\b< and >\b> operators sort lexico-
+ When used with t\bte\bes\bst\bt or [\b[, the <\b< and >\b> operators sort lexico-
graphically using ASCII ordering.
- t\bti\bim\bme\bes\bs Print the accumulated user and system times for the shell and
+ t\bti\bim\bme\bes\bs Print the accumulated user and system times for the shell and
for processes run from the shell. The return status is 0.
t\btr\bra\bap\bp [-\b-l\blp\bp] [[_\ba_\br_\bg] _\bs_\bi_\bg_\bs_\bp_\be_\bc ...]
- The command _\ba_\br_\bg is to be read and executed when the shell re-
+ The command _\ba_\br_\bg is to be read and executed when the shell re-
ceives signal(s) _\bs_\bi_\bg_\bs_\bp_\be_\bc. If _\ba_\br_\bg is absent (and there is a sin-
- gle _\bs_\bi_\bg_\bs_\bp_\be_\bc) or -\b-, each specified signal is reset to its origi-
- nal disposition (the value it had upon entrance to the shell).
- If _\ba_\br_\bg is the null string the signal specified by each _\bs_\bi_\bg_\bs_\bp_\be_\bc
- is ignored by the shell and by the commands it invokes. If _\ba_\br_\bg
- is not present and -\b-p\bp has been supplied, then the trap commands
+ gle _\bs_\bi_\bg_\bs_\bp_\be_\bc) or -\b-, each specified signal is reset to its origi-
+ nal disposition (the value it had upon entrance to the shell).
+ If _\ba_\br_\bg is the null string the signal specified by each _\bs_\bi_\bg_\bs_\bp_\be_\bc
+ is ignored by the shell and by the commands it invokes. If _\ba_\br_\bg
+ is not present and -\b-p\bp has been supplied, then the trap commands
associated with each _\bs_\bi_\bg_\bs_\bp_\be_\bc are displayed. If no arguments are
- supplied or if only -\b-p\bp is given, t\btr\bra\bap\bp prints the list of com-
- mands associated with each signal. The -\b-l\bl option causes the
- shell to print a list of signal names and their corresponding
- numbers. Each _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a signal name defined in <_\bs_\bi_\bg_\b-
- _\bn_\ba_\bl_\b._\bh>, or a signal number. Signal names are case insensitive
+ supplied or if only -\b-p\bp is given, t\btr\bra\bap\bp prints the list of com-
+ mands associated with each signal. The -\b-l\bl option causes the
+ shell to print a list of signal names and their corresponding
+ numbers. Each _\bs_\bi_\bg_\bs_\bp_\be_\bc is either a signal name defined in <_\bs_\bi_\bg_\b-
+ _\bn_\ba_\bl_\b._\bh>, or a signal number. Signal names are case insensitive
and the S\bSI\bIG\bG prefix is optional.
- If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bEX\bXI\bIT\bT (0) the command _\ba_\br_\bg is executed on exit
- from the shell. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is D\bDE\bEB\bBU\bUG\bG, the command _\ba_\br_\bg is exe-
- cuted before every _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, _\bf_\bo_\br command, _\bc_\ba_\bs_\be command,
- _\bs_\be_\bl_\be_\bc_\bt command, every arithmetic _\bf_\bo_\br command, and before the
- first command executes in a shell function (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR
- above). Refer to the description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg option to the
+ If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bEX\bXI\bIT\bT (0) the command _\ba_\br_\bg is executed on exit
+ from the shell. If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is D\bDE\bEB\bBU\bUG\bG, the command _\ba_\br_\bg is exe-
+ cuted before every _\bs_\bi_\bm_\bp_\bl_\be _\bc_\bo_\bm_\bm_\ba_\bn_\bd, _\bf_\bo_\br command, _\bc_\ba_\bs_\be command,
+ _\bs_\be_\bl_\be_\bc_\bt command, every arithmetic _\bf_\bo_\br command, and before the
+ first command executes in a shell function (see S\bSH\bHE\bEL\bLL\bL G\bGR\bRA\bAM\bMM\bMA\bAR\bR
+ above). Refer to the description of the e\bex\bxt\btd\bde\beb\bbu\bug\bg option to the
s\bsh\bho\bop\bpt\bt builtin for details of its effect on the D\bDE\bEB\bBU\bUG\bG trap. If a
_\bs_\bi_\bg_\bs_\bp_\be_\bc is R\bRE\bET\bTU\bUR\bRN\bN, the command _\ba_\br_\bg is executed each time a shell
function or a script executed with the .\b. or s\bso\bou\bur\brc\bce\be builtins fin-
ishes executing.
- If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bER\bRR\bR, the command _\ba_\br_\bg is executed whenever a
+ If a _\bs_\bi_\bg_\bs_\bp_\be_\bc is E\bER\bRR\bR, the command _\ba_\br_\bg 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 E\bER\bRR\bR trap is not executed if the
+ the following conditions. The E\bER\bRR\bR trap is not executed if the
failed command is part of the command list immediately following
- a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword, part of the test in an _\bi_\bf statement,
+ a w\bwh\bhi\bil\ble\be or u\bun\bnt\bti\bil\bl keyword, part of the test in an _\bi_\bf statement,
part of a command executed in a &\b&&\b& or |\b||\b| list except the command
- following the final &\b&&\b& or |\b||\b|, any command in a pipeline but the
- last, or if the command's return value is being inverted using
+ following the final &\b&&\b& or |\b||\b|, any command in a pipeline but the
+ last, or if the command's return value is being inverted using
!\b!. These are the same conditions obeyed by the e\ber\brr\bre\bex\bxi\bit\bt (-\b-e\be) op-
tion.
Signals ignored upon entry to the shell cannot be trapped or re-
- set. Trapped signals that are not being ignored are reset to
+ set. 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 false if any _\bs_\bi_\bg_\bs_\bp_\be_\bc is
+ one is created. The return status is false if any _\bs_\bi_\bg_\bs_\bp_\be_\bc is
invalid; otherwise t\btr\bra\bap\bp returns true.
t\bty\byp\bpe\be [-\b-a\baf\bft\btp\bpP\bP] _\bn_\ba_\bm_\be [_\bn_\ba_\bm_\be ...]
- With no options, indicate how each _\bn_\ba_\bm_\be would be interpreted if
+ With no options, indicate how each _\bn_\ba_\bm_\be would be interpreted if
used as a command name. If the -\b-t\bt option is used, t\bty\byp\bpe\be prints a
- string which is one of _\ba_\bl_\bi_\ba_\bs, _\bk_\be_\by_\bw_\bo_\br_\bd, _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn, _\bb_\bu_\bi_\bl_\bt_\bi_\bn, or
- _\bf_\bi_\bl_\be if _\bn_\ba_\bm_\be is an alias, shell reserved word, function,
- builtin, or disk file, respectively. If the _\bn_\ba_\bm_\be is not found,
- then nothing is printed, and an exit status of false is re-
- turned. If the -\b-p\bp option is used, t\bty\byp\bpe\be either returns the name
- of the disk file that would be executed if _\bn_\ba_\bm_\be were specified
- as a command name, or nothing if ``type -t name'' would not re-
- turn _\bf_\bi_\bl_\be. The -\b-P\bP option forces a P\bPA\bAT\bTH\bH search for each _\bn_\ba_\bm_\be,
+ string which is one of _\ba_\bl_\bi_\ba_\bs, _\bk_\be_\by_\bw_\bo_\br_\bd, _\bf_\bu_\bn_\bc_\bt_\bi_\bo_\bn, _\bb_\bu_\bi_\bl_\bt_\bi_\bn, or
+ _\bf_\bi_\bl_\be if _\bn_\ba_\bm_\be is an alias, shell reserved word, function,
+ builtin, or disk file, respectively. If the _\bn_\ba_\bm_\be is not found,
+ then nothing is printed, and an exit status of false is re-
+ turned. If the -\b-p\bp option is used, t\bty\byp\bpe\be either returns the name
+ of the disk file that would be executed if _\bn_\ba_\bm_\be were specified
+ as a command name, or nothing if ``type -t name'' would not re-
+ turn _\bf_\bi_\bl_\be. The -\b-P\bP option forces a P\bPA\bAT\bTH\bH search for each _\bn_\ba_\bm_\be,
even if ``type -t name'' would not return _\bf_\bi_\bl_\be. If a command is
hashed, -\b-p\bp and -\b-P\bP print the hashed value, which is not necessar-
- ily the file that appears first in P\bPA\bAT\bTH\bH. If the -\b-a\ba option is
- used, t\bty\byp\bpe\be prints all of the places that contain an executable
+ ily the file that appears first in P\bPA\bAT\bTH\bH. If the -\b-a\ba option is
+ used, t\bty\byp\bpe\be prints all of the places that contain an executable
named _\bn_\ba_\bm_\be. This includes aliases and functions, if and only if
the -\b-p\bp option is not also used. The table of hashed commands is
- not consulted when using -\b-a\ba. The -\b-f\bf option suppresses shell
+ not consulted when using -\b-a\ba. The -\b-f\bf option suppresses shell
function lookup, as with the c\bco\bom\bmm\bma\ban\bnd\bd builtin. t\bty\byp\bpe\be returns true
if all of the arguments are found, false if any are not found.
u\bul\bli\bim\bmi\bit\bt [-\b-H\bHS\bS] -\b-a\ba
u\bul\bli\bim\bmi\bit\bt [-\b-H\bHS\bS] [-\b-b\bbc\bcd\bde\bef\bfi\bik\bkl\blm\bmn\bnp\bpq\bqr\brs\bst\btu\buv\bvx\bxP\bPR\bRT\bT [_\bl_\bi_\bm_\bi_\bt]]
- Provides control over the resources available to the shell and
- to processes started by it, on systems that allow such control.
+ Provides control over the resources available to the shell and
+ to processes started by it, on systems that allow such control.
The -\b-H\bH and -\b-S\bS options specify that the hard or soft limit is set
- for the given resource. 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. If neither -\b-H\bH nor -\b-S\bS is speci-
+ for the given resource. 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. If neither -\b-H\bH nor -\b-S\bS is speci-
fied, both the soft and hard limits are set. The value of _\bl_\bi_\bm_\bi_\bt
can be a number in the unit specified for the resource or one of
the special values h\bha\bar\brd\bd, s\bso\bof\bft\bt, or u\bun\bnl\bli\bim\bmi\bit\bte\bed\bd, which stand for the
- current hard limit, the current soft limit, and no limit, re-
- spectively. If _\bl_\bi_\bm_\bi_\bt is omitted, the current value of the soft
+ current hard limit, the current soft limit, and no limit, re-
+ spectively. If _\bl_\bi_\bm_\bi_\bt is omitted, the current value of the soft
limit of the resource is printed, unless the -\b-H\bH option is given.
- When more than one resource is specified, the limit name and
- unit, if appropriate, are printed before the value. Other op-
+ When more than one resource is specified, the limit name and
+ unit, if appropriate, are printed before the value. Other op-
tions are interpreted as follows:
-\b-a\ba All current limits are reported; no limits are set
-\b-b\bb The maximum socket buffer size
-\b-c\bc The maximum size of core files created
-\b-d\bd The maximum size of a process's data segment
-\b-e\be The maximum scheduling priority ("nice")
- -\b-f\bf The maximum size of files written by the shell and its
+ -\b-f\bf The maximum size of files written by the shell and its
children
-\b-i\bi The maximum number of pending signals
-\b-k\bk The maximum number of kqueues that may be allocated
-\b-l\bl The maximum size that may be locked into memory
- -\b-m\bm The maximum resident set size (many systems do not honor
+ -\b-m\bm The maximum resident set size (many systems do not honor
this limit)
-\b-n\bn The maximum number of open file descriptors (most systems
do not allow this value to be set)
-\b-r\br The maximum real-time scheduling priority
-\b-s\bs The maximum stack size
-\b-t\bt The maximum amount of cpu time in seconds
- -\b-u\bu The maximum number of processes available to a single
+ -\b-u\bu The maximum number of processes available to a single
user
- -\b-v\bv The maximum amount of virtual memory available to the
+ -\b-v\bv The maximum amount of virtual memory available to the
shell and, on some systems, to its children
-\b-x\bx The maximum number of file locks
-\b-P\bP The maximum number of pseudoterminals
- -\b-R\bR The maximum time a real-time process can run before
+ -\b-R\bR The maximum time a real-time process can run before
blocking, in microseconds
-\b-T\bT The maximum number of threads
- If _\bl_\bi_\bm_\bi_\bt is given, and the -\b-a\ba option is not used, _\bl_\bi_\bm_\bi_\bt is the
- new value of the specified resource. If no option is given,
- then -\b-f\bf is assumed. Values are in 1024-byte increments, except
- for -\b-t\bt, which is in seconds; -\b-R\bR, which is in microseconds; -\b-p\bp,
- which is in units of 512-byte blocks; -\b-P\bP, -\b-T\bT, -\b-b\bb, -\b-k\bk, -\b-n\bn, and
- -\b-u\bu, which are unscaled values; and, when in posix mode, -\b-c\bc and
- -\b-f\bf, which are in 512-byte increments. The return status is 0
- unless an invalid option or argument is supplied, or an error
+ If _\bl_\bi_\bm_\bi_\bt is given, and the -\b-a\ba option is not used, _\bl_\bi_\bm_\bi_\bt is the
+ new value of the specified resource. If no option is given,
+ then -\b-f\bf is assumed. Values are in 1024-byte increments, except
+ for -\b-t\bt, which is in seconds; -\b-R\bR, which is in microseconds; -\b-p\bp,
+ which is in units of 512-byte blocks; -\b-P\bP, -\b-T\bT, -\b-b\bb, -\b-k\bk, -\b-n\bn, and
+ -\b-u\bu, which are unscaled values; and, when in posix mode, -\b-c\bc and
+ -\b-f\bf, 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.
u\bum\bma\bas\bsk\bk [-\b-p\bp] [-\b-S\bS] [_\bm_\bo_\bd_\be]
The user file-creation mask is set to _\bm_\bo_\bd_\be. If _\bm_\bo_\bd_\be 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
- _\bc_\bh_\bm_\bo_\bd(1). If _\bm_\bo_\bd_\be is omitted, the current value of the mask is
- printed. The -\b-S\bS option causes the mask to be printed in sym-
- bolic form; the default output is an octal number. If the -\b-p\bp
+ a digit, it is interpreted as an octal number; otherwise it is
+ interpreted as a symbolic mode mask similar to that accepted by
+ _\bc_\bh_\bm_\bo_\bd(1). If _\bm_\bo_\bd_\be is omitted, the current value of the mask is
+ printed. The -\b-S\bS option causes the mask to be printed in sym-
+ bolic form; the default output is an octal number. If the -\b-p\bp
option is supplied, and _\bm_\bo_\bd_\be 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 _\bm_\bo_\bd_\be argument was supplied,
+ was successfully changed or if no _\bm_\bo_\bd_\be argument was supplied,
and false otherwise.
u\bun\bna\bal\bli\bia\bas\bs [-a\ba] [_\bn_\ba_\bm_\be ...]
- Remove each _\bn_\ba_\bm_\be from the list of defined aliases. If -\b-a\ba is
- supplied, all alias definitions are removed. The return value
+ Remove each _\bn_\ba_\bm_\be from the list of defined aliases. If -\b-a\ba is
+ supplied, all alias definitions are removed. The return value
is true unless a supplied _\bn_\ba_\bm_\be is not a defined alias.
u\bun\bns\bse\bet\bt [-f\bfv\bv] [-n\bn] [_\bn_\ba_\bm_\be ...]
- For each _\bn_\ba_\bm_\be, remove the corresponding variable or function.
+ For each _\bn_\ba_\bm_\be, remove the corresponding variable or function.
If the -\b-v\bv option is given, each _\bn_\ba_\bm_\be refers to a shell variable,
- and that variable is removed. Read-only variables may not be
- unset. If -\b-f\bf is specified, each _\bn_\ba_\bm_\be refers to a shell func-
- tion, and the function definition is removed. If the -\b-n\bn option
- is supplied, and _\bn_\ba_\bm_\be is a variable with the _\bn_\ba_\bm_\be_\br_\be_\bf attribute,
- _\bn_\ba_\bm_\be will be unset rather than the variable it references. -\b-n\bn
- has no effect if the -\b-f\bf option is supplied. If no options are
- supplied, each _\bn_\ba_\bm_\be refers to a variable; if there is no vari-
- able by that name, a function with that name, if any, is unset.
- Each unset variable or function is removed from the environment
- passed to subsequent commands. If any of B\bBA\bAS\bSH\bH_\b_A\bAL\bLI\bIA\bAS\bSE\bES\bS,
+ and that variable is removed. Read-only variables may not be
+ unset. If -\b-f\bf is specified, each _\bn_\ba_\bm_\be refers to a shell func-
+ tion, and the function definition is removed. If the -\b-n\bn option
+ is supplied, and _\bn_\ba_\bm_\be is a variable with the _\bn_\ba_\bm_\be_\br_\be_\bf attribute,
+ _\bn_\ba_\bm_\be will be unset rather than the variable it references. -\b-n\bn
+ has no effect if the -\b-f\bf option is supplied. If no options are
+ supplied, each _\bn_\ba_\bm_\be refers to a variable; if there is no vari-
+ able by that name, a function with that name, if any, is unset.
+ Each unset variable or function is removed from the environment
+ passed to subsequent commands. If any of B\bBA\bAS\bSH\bH_\b_A\bAL\bLI\bIA\bAS\bSE\bES\bS,
B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV0\b0, B\bBA\bAS\bSH\bH_\b_C\bCM\bMD\bDS\bS, B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMM\bMA\bAN\bND\bD, B\bBA\bAS\bSH\bH_\b_S\bSU\bUB\bBS\bSH\bHE\bEL\bLL\bL, B\bBA\bAS\bSH\bHP\bPI\bID\bD,
- C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDB\bBR\bRE\bEA\bAK\bKS\bS, D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK, E\bEP\bPO\bOC\bCH\bHR\bRE\bEA\bAL\bLT\bTI\bIM\bME\bE, E\bEP\bPO\bOC\bCH\bHS\bSE\bEC\bCO\bON\bND\bDS\bS, F\bFU\bUN\bNC\bC-\b-
- N\bNA\bAM\bME\bE, G\bGR\bRO\bOU\bUP\bPS\bS, H\bHI\bIS\bST\bTC\bCM\bMD\bD, L\bLI\bIN\bNE\bEN\bNO\bO, R\bRA\bAN\bND\bDO\bOM\bM, S\bSE\bEC\bCO\bON\bND\bDS\bS, or S\bSR\bRA\bAN\bND\bDO\bOM\bM are
+ C\bCO\bOM\bMP\bP_\b_W\bWO\bOR\bRD\bDB\bBR\bRE\bEA\bAK\bKS\bS, D\bDI\bIR\bRS\bST\bTA\bAC\bCK\bK, E\bEP\bPO\bOC\bCH\bHR\bRE\bEA\bAL\bLT\bTI\bIM\bME\bE, E\bEP\bPO\bOC\bCH\bHS\bSE\bEC\bCO\bON\bND\bDS\bS, F\bFU\bUN\bNC\bC-\b-
+ N\bNA\bAM\bME\bE, G\bGR\bRO\bOU\bUP\bPS\bS, H\bHI\bIS\bST\bTC\bCM\bMD\bD, L\bLI\bIN\bNE\bEN\bNO\bO, R\bRA\bAN\bND\bDO\bOM\bM, S\bSE\bEC\bCO\bON\bND\bDS\bS, or S\bSR\bRA\bAN\bND\bDO\bOM\bM are
unset, they lose their special properties, even if they are sub-
sequently reset. The exit status is true unless a _\bn_\ba_\bm_\be is read-
only or may not be unset.
w\bwa\bai\bit\bt [-\b-f\bfn\bn] [-\b-p\bp _\bv_\ba_\br_\bn_\ba_\bm_\be] [_\bi_\bd _\b._\b._\b.]
Wait for each specified child process and return its termination
- status. Each _\bi_\bd 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 _\bi_\bd is not given, w\bwa\bai\bit\bt waits for all running
- background jobs and the last-executed process substitution, if
+ status. Each _\bi_\bd 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 _\bi_\bd is not given, w\bwa\bai\bit\bt waits for all running
+ background jobs and the last-executed process substitution, if
its process id is the same as $\b$!\b!, and the return status is zero.
- If the -\b-n\bn option is supplied, w\bwa\bai\bit\bt waits for a single job from
+ If the -\b-n\bn option is supplied, w\bwa\bai\bit\bt waits for a single job from
the list of _\bi_\bds or, if no _\bi_\bds are supplied, any job, to complete
- and returns its exit status. If none of the supplied arguments
+ and returns its exit status. If none of the supplied arguments
is a child of the shell, or if no arguments are supplied and the
- shell has no unwaited-for children, the exit status is 127. If
- the -\b-p\bp option is supplied, the process or job identifier of the
- job for which the exit status is returned is assigned to the
- variable _\bv_\ba_\br_\bn_\ba_\bm_\be named by the option argument. The variable
- will be unset initially, before any assignment. This is useful
- only when the -\b-n\bn option is supplied. Supplying the -\b-f\bf option,
- when job control is enabled, forces w\bwa\bai\bit\bt to wait for _\bi_\bd to ter-
+ shell has no unwaited-for children, the exit status is 127. If
+ the -\b-p\bp option is supplied, the process or job identifier of the
+ job for which the exit status is returned is assigned to the
+ variable _\bv_\ba_\br_\bn_\ba_\bm_\be named by the option argument. The variable
+ will be unset initially, before any assignment. This is useful
+ only when the -\b-n\bn option is supplied. Supplying the -\b-f\bf option,
+ when job control is enabled, forces w\bwa\bai\bit\bt to wait for _\bi_\bd to ter-
minate before returning its status, instead of returning when it
- changes status. If _\bi_\bd 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.
+ changes status. If _\bi_\bd specifies a non-existent process or job,
+ the return status is 127. If w\bwa\bai\bit\bt is interrupted by a signal,
+ the return status will be greater than 128, as described under
+ S\bSI\bIG\bGN\bNA\bAL\bLS\bS above. Otherwise, the return status is the exit status
+ of the last process or job waited for.
S\bSH\bHE\bEL\bLL\bL C\bCO\bOM\bMP\bPA\bAT\bTI\bIB\bBI\bIL\bLI\bIT\bTY\bY M\bMO\bOD\bDE\bE
- Bash-4.0 introduced the concept of a _\bs_\bh_\be_\bl_\bl _\bc_\bo_\bm_\bp_\ba_\bt_\bi_\bb_\bi_\bl_\bi_\bt_\by _\bl_\be_\bv_\be_\bl, speci-
- fied as a set of options to the shopt builtin ( c\bco\bom\bmp\bpa\bat\bt3\b31\b1, c\bco\bom\bmp\bpa\bat\bt3\b32\b2,
- c\bco\bom\bmp\bpa\bat\bt4\b40\b0, c\bco\bom\bmp\bpa\bat\bt4\b41\b1, and so on). There is only one current compatibil-
- ity level -- each option is mutually exclusive. The compatibility
- level is intended to allow users to select behavior from previous ver-
- sions that is incompatible with newer versions while they migrate
- scripts to use current features and behavior. It's intended to be a
+ Bash-4.0 introduced the concept of a _\bs_\bh_\be_\bl_\bl _\bc_\bo_\bm_\bp_\ba_\bt_\bi_\bb_\bi_\bl_\bi_\bt_\by _\bl_\be_\bv_\be_\bl, speci-
+ fied as a set of options to the shopt builtin ( c\bco\bom\bmp\bpa\bat\bt3\b31\b1, c\bco\bom\bmp\bpa\bat\bt3\b32\b2,
+ c\bco\bom\bmp\bpa\bat\bt4\b40\b0, c\bco\bom\bmp\bpa\bat\bt4\b41\b1, and so on). There is only one current compatibil-
+ ity level -- each option is mutually exclusive. The compatibility
+ level is intended to allow users to select behavior from previous ver-
+ sions that is incompatible with newer versions while they migrate
+ scripts to use current features and behavior. It's intended to be a
temporary solution.
- This section does not mention behavior that is standard for a particu-
- lar version (e.g., setting c\bco\bom\bmp\bpa\bat\bt3\b32\b2 means that quoting the rhs of the
- regexp matching operator quotes special regexp characters in the word,
- which is default behavior in bash-3.2 and above).
-
- If a user enables, say, c\bco\bom\bmp\bpa\bat\bt3\b32\b2, it may affect the behavior of other
- compatibility levels up to and including the current compatibility
- level. The idea is that each compatibility level controls behavior
- that changed in that version of b\bba\bas\bsh\bh, but that behavior may have been
- present in earlier versions. For instance, the change to use locale-
- based comparisons with the [\b[[\b[ command came in bash-4.1, and earlier
+ This section does not mention behavior that is standard for a particu-
+ lar version (e.g., setting c\bco\bom\bmp\bpa\bat\bt3\b32\b2 means that quoting the rhs of the
+ regexp matching operator quotes special regexp characters in the word,
+ which is default behavior in bash-3.2 and subsequent versions).
+
+ If a user enables, say, c\bco\bom\bmp\bpa\bat\bt3\b32\b2, it may affect the behavior of other
+ compatibility levels up to and including the current compatibility
+ level. The idea is that each compatibility level controls behavior
+ that changed in that version of b\bba\bas\bsh\bh, but that behavior may have been
+ present in earlier versions. For instance, the change to use locale-
+ based comparisons with the [\b[[\b[ command came in bash-4.1, and earlier
versions used ASCII-based comparisons, so enabling c\bco\bom\bmp\bpa\bat\bt3\b32\b2 will enable
- ASCII-based comparisons as well. That granularity may not be suffi-
- cient for all uses, and as a result users should employ compatibility
- levels carefully. Read the documentation for a particular feature to
+ ASCII-based comparisons as well. That granularity may not be suffi-
+ cient for all uses, and as a result users should employ compatibility
+ levels carefully. Read the documentation for a particular feature to
find out the current behavior.
- Bash-4.3 introduced a new shell variable: B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT. The value as-
+ Bash-4.3 introduced a new shell variable: B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT. The value as-
signed to this variable (a decimal version number like 4.2, or an inte-
- ger corresponding to the c\bco\bom\bmp\bpa\bat\bt_\bN_\bN option, like 42) determines the com-
+ ger corresponding to the c\bco\bom\bmp\bpa\bat\bt_\bN_\bN option, like 42) determines the com-
patibility level.
- Starting with bash-4.4, Bash has begun deprecating older compatibility
- levels. Eventually, the options will be removed in favor of B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bM-\b-
+ Starting with bash-4.4, Bash has begun deprecating older compatibility
+ levels. Eventually, the options will be removed in favor of B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bM-\b-
P\bPA\bAT\bT.
- Bash-5.0 is the final version for which there will be an individual
- shopt option for the previous version. Users should use B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT on
+ Bash-5.0 is the final version for which there will be an individual
+ shopt option for the previous version. Users should use B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT on
bash-5.0 and later versions.
- The following table describes the behavior changes controlled by each
+ The following table describes the behavior changes controlled by each
compatibility level setting. The c\bco\bom\bmp\bpa\bat\bt_\bN_\bN tag is used as shorthand for
setting the compatibility level to _\bN_\bN using one of the following mecha-
- nisms. For versions prior to bash-5.0, the compatibility level may be
- set using the corresponding c\bco\bom\bmp\bpa\bat\bt_\bN_\bN shopt option. For bash-4.3 and
- later versions, the B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT variable is preferred, and it is re-
+ nisms. For versions prior to bash-5.0, the compatibility level may be
+ set using the corresponding c\bco\bom\bmp\bpa\bat\bt_\bN_\bN shopt option. For bash-4.3 and
+ later versions, the B\bBA\bAS\bSH\bH_\b_C\bCO\bOM\bMP\bPA\bAT\bT variable is preferred, and it is re-
quired for bash-5.1 and later versions.
c\bco\bom\bmp\bpa\bat\bt3\b31\b1
ator (=~) has no special effect
c\bco\bom\bmp\bpa\bat\bt3\b32\b2
- +\bo interrupting a command list such as "a ; b ; c" causes
- the execution of the next command in the list (in
- bash-4.0 and later versions, the shell acts as if it re-
- ceived the interrupt, so interrupting one command in a
+ +\bo interrupting a command list such as "a ; b ; c" causes
+ the execution of the next command in the list (in
+ bash-4.0 and later versions, the shell acts as if it re-
+ ceived the interrupt, so interrupting one command in a
list aborts the execution of the entire list)
c\bco\bom\bmp\bpa\bat\bt4\b40\b0
- +\bo the <\b< and >\b> operators to the [\b[[\b[ command do not consider
+ +\bo the <\b< and >\b> operators to the [\b[[\b[ command do not consider
the current locale when comparing strings; they use ASCII
ordering. Bash versions prior to bash-4.1 use ASCII col-
- lation and _\bs_\bt_\br_\bc_\bm_\bp(3); bash-4.1 and later use the current
+ lation and _\bs_\bt_\br_\bc_\bm_\bp(3); bash-4.1 and later use the current
locale's collation sequence and _\bs_\bt_\br_\bc_\bo_\bl_\bl(3).
c\bco\bom\bmp\bpa\bat\bt4\b41\b1
- +\bo in _\bp_\bo_\bs_\bi_\bx mode, t\bti\bim\bme\be may be followed by options and still
+ +\bo in _\bp_\bo_\bs_\bi_\bx mode, t\bti\bim\bme\be may be followed by options and still
be recognized as a reserved word (this is POSIX interpre-
tation 267)
+\bo in _\bp_\bo_\bs_\bi_\bx mode, the parser requires that an even number of
- single quotes occur in the _\bw_\bo_\br_\bd portion of a double-
- quoted parameter expansion and treats them specially, so
- that characters within the single quotes are considered
+ single quotes occur in the _\bw_\bo_\br_\bd portion of a double-
+ quoted parameter expansion and treats them specially, so
+ that characters within the single quotes are considered
quoted (this is POSIX interpretation 221)
c\bco\bom\bmp\bpa\bat\bt4\b42\b2
+\bo the replacement string in double-quoted pattern substitu-
- tion does not undergo quote removal, as it does in ver-
+ tion does not undergo quote removal, as it does in ver-
sions after bash-4.2
- +\bo in posix mode, single quotes are considered special when
- expanding the _\bw_\bo_\br_\bd portion of a double-quoted parameter
- expansion and can be used to quote a closing brace or
- other special character (this is part of POSIX interpre-
- tation 221); in later versions, single quotes are not
+ +\bo in posix mode, single quotes are considered special when
+ expanding the _\bw_\bo_\br_\bd portion of a double-quoted parameter
+ expansion and can be used to quote a closing brace or
+ other special character (this is part of POSIX interpre-
+ tation 221); in later versions, single quotes are not
special within double-quoted word expansions
c\bco\bom\bmp\bpa\bat\bt4\b43\b3
- +\bo the shell does not print a warning message if an attempt
- is made to use a quoted compound assignment as an argu-
- ment to declare (declare -a foo='(1 2)'). Later versions
+ +\bo the shell does not print a warning message if an attempt
+ is made to use a quoted compound assignment as an argu-
+ ment to declare (declare -a foo='(1 2)'). Later versions
warn that this usage is deprecated
- +\bo word expansion errors are considered non-fatal errors
- that cause the current command to fail, even in posix
- mode (the default behavior is to make them fatal errors
+ +\bo word expansion errors are considered non-fatal errors
+ that cause the current command to fail, even in posix
+ mode (the default behavior is to make them fatal errors
that cause the shell to exit)
- +\bo when executing a shell function, the loop state
+ +\bo when executing a shell function, the loop state
(while/until/etc.) is not reset, so b\bbr\bre\bea\bak\bk or c\bco\bon\bnt\bti\bin\bnu\bue\be in
that function will break or continue loops in the calling
- context. Bash-4.4 and later reset the loop state to pre-
+ context. Bash-4.4 and later reset the loop state to pre-
vent this
c\bco\bom\bmp\bpa\bat\bt4\b44\b4
- +\bo the shell sets up the values used by B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV and
- B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC so they can expand to the shell's positional
+ +\bo the shell sets up the values used by B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGV\bV and
+ B\bBA\bAS\bSH\bH_\b_A\bAR\bRG\bGC\bC so they can expand to the shell's positional
parameters even if extended debugging mode is not enabled
- +\bo a subshell inherits loops from its parent context, so
- b\bbr\bre\bea\bak\bk or c\bco\bon\bnt\bti\bin\bnu\bue\be will cause the subshell to exit.
- Bash-5.0 and later reset the loop state to prevent the
+ +\bo a subshell inherits loops from its parent context, so
+ b\bbr\bre\bea\bak\bk or c\bco\bon\bnt\bti\bin\bnu\bue\be will cause the subshell to exit.
+ Bash-5.0 and later reset the loop state to prevent the
exit
- +\bo variable assignments preceding builtins like e\bex\bxp\bpo\bor\brt\bt and
+ +\bo variable assignments preceding builtins like e\bex\bxp\bpo\bor\brt\bt and
r\bre\bea\bad\bdo\bon\bnl\bly\by that set attributes continue to affect variables
with the same name in the calling environment even if the
shell is not in posix mode
c\bco\bom\bmp\bpa\bat\bt5\b50\b0
- +\bo Bash-5.1 changed the way $\b$R\bRA\bAN\bND\bDO\bOM\bM is generated to intro-
+ +\bo Bash-5.1 changed the way $\b$R\bRA\bAN\bND\bDO\bOM\bM is generated to intro-
duce slightly more randomness. If the shell compatibility
- level is set to 50 or lower, it reverts to the method
- from bash-5.0 and previous versions, so seeding the ran-
- dom number generator by assigning a value to R\bRA\bAN\bND\bDO\bOM\bM will
+ level is set to 50 or lower, it reverts to the method
+ from bash-5.0 and previous versions, so seeding the ran-
+ dom number generator by assigning a value to R\bRA\bAN\bND\bDO\bOM\bM will
produce the same sequence as in bash-5.0
- +\bo If the command hash table is empty, bash versions prior
- to bash-5.1 printed an informational message to that ef-
- fect, even when producing output that can be reused as
- input. Bash-5.1 suppresses that message when the -\b-l\bl op-
+ +\bo If the command hash table is empty, bash versions prior
+ to bash-5.1 printed an informational message to that ef-
+ fect, even when producing output that can be reused as
+ input. Bash-5.1 suppresses that message when the -\b-l\bl op-
tion is supplied.
c\bco\bom\bmp\bpa\bat\bt5\b51\b1
- +\bo The u\bun\bns\bse\bet\bt builtin treats attempts to unset array sub-
- scripts @\b@ and *\b* differently depending on whether the ar-
- ray is indexed or associative, and differently than in
+ +\bo The u\bun\bns\bse\bet\bt builtin treats attempts to unset array sub-
+ scripts @\b@ and *\b* differently depending on whether the ar-
+ ray is indexed or associative, and differently than in
previous versions.
R\bRE\bES\bST\bTR\bRI\bIC\bCT\bTE\bED\bD S\bSH\bHE\bEL\bLL\bL
If b\bba\bas\bsh\bh is started with the name r\brb\bba\bas\bsh\bh, or the -\b-r\br 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 b\bba\bas\bsh\bh 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 b\bba\bas\bsh\bh with the exception that the following are
disallowed or not performed:
+\bo changing directories with c\bcd\bd
- +\bo setting or unsetting the values of S\bSH\bHE\bEL\bLL\bL, P\bPA\bAT\bTH\bH, H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE, E\bEN\bNV\bV,
+ +\bo setting or unsetting the values of S\bSH\bHE\bEL\bLL\bL, P\bPA\bAT\bTH\bH, H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE, E\bEN\bNV\bV,
or B\bBA\bAS\bSH\bH_\b_E\bEN\bNV\bV
+\bo specifying command names containing /\b/
- +\bo specifying a filename containing a /\b/ as an argument to the .\b.
+ +\bo specifying a filename containing a /\b/ as an argument to the .\b.
builtin command
- +\bo specifying a filename containing a slash as an argument to the
+ +\bo specifying a filename containing a slash as an argument to the
h\bhi\bis\bst\bto\bor\bry\by builtin command
- +\bo specifying a filename containing a slash as an argument to the
+ +\bo specifying a filename containing a slash as an argument to the
-\b-p\bp option to the h\bha\bas\bsh\bh builtin command
- +\bo importing function definitions from the shell environment at
+ +\bo importing function definitions from the shell environment at
startup
- +\bo parsing the value of S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS from the shell environment at
+ +\bo parsing the value of S\bSH\bHE\bEL\bLL\bLO\bOP\bPT\bTS\bS from the shell environment at
startup
+\bo redirecting output using the >, >|, <>, >&, &>, and >> redirect-
+\bo using the e\bex\bxe\bec\bc builtin command to replace the shell with another
command
- +\bo adding or deleting builtin commands with the -\b-f\bf and -\b-d\bd options
+ +\bo adding or deleting builtin commands with the -\b-f\bf and -\b-d\bd options
to the e\ben\bna\bab\bbl\ble\be builtin command
- +\bo using the e\ben\bna\bab\bbl\ble\be builtin command to enable disabled shell
+ +\bo using the e\ben\bna\bab\bbl\ble\be builtin command to enable disabled shell
builtins
+\bo specifying the -\b-p\bp option to the c\bco\bom\bmm\bma\ban\bnd\bd builtin command
- +\bo turning off restricted mode with s\bse\bet\bt +\b+r\br or s\bsh\bho\bop\bpt\bt -\b-u\bu r\bre\be-\b-
+ +\bo turning off restricted mode with s\bse\bet\bt +\b+r\br or s\bsh\bho\bop\bpt\bt -\b-u\bu r\bre\be-\b-
s\bst\btr\bri\bic\bct\bte\bed\bd_\b_s\bsh\bhe\bel\bll\bl.
These restrictions are enforced after any startup files are read.
When a command that is found to be a shell script is executed (see C\bCO\bOM\bM-\b-
- M\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN above), r\brb\bba\bas\bsh\bh turns off any restrictions in the shell
+ M\bMA\bAN\bND\bD E\bEX\bXE\bEC\bCU\bUT\bTI\bIO\bON\bN above), r\brb\bba\bas\bsh\bh turns off any restrictions in the shell
spawned to execute the script.
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
_\bB_\ba_\bs_\bh _\bR_\be_\bf_\be_\br_\be_\bn_\bc_\be _\bM_\ba_\bn_\bu_\ba_\bl, Brian Fox and Chet Ramey
_\bT_\bh_\be _\bG_\bn_\bu _\bR_\be_\ba_\bd_\bl_\bi_\bn_\be _\bL_\bi_\bb_\br_\ba_\br_\by, Brian Fox and Chet Ramey
_\bT_\bh_\be _\bG_\bn_\bu _\bH_\bi_\bs_\bt_\bo_\br_\by _\bL_\bi_\bb_\br_\ba_\br_\by, Brian Fox and Chet Ramey
- _\bP_\bo_\br_\bt_\ba_\bb_\bl_\be _\bO_\bp_\be_\br_\ba_\bt_\bi_\bn_\bg _\bS_\by_\bs_\bt_\be_\bm _\bI_\bn_\bt_\be_\br_\bf_\ba_\bc_\be _\b(_\bP_\bO_\bS_\bI_\bX_\b) _\bP_\ba_\br_\bt _\b2_\b: _\bS_\bh_\be_\bl_\bl _\ba_\bn_\bd _\bU_\bt_\bi_\bl_\bi_\b-
+ _\bP_\bo_\br_\bt_\ba_\bb_\bl_\be _\bO_\bp_\be_\br_\ba_\bt_\bi_\bn_\bg _\bS_\by_\bs_\bt_\be_\bm _\bI_\bn_\bt_\be_\br_\bf_\ba_\bc_\be _\b(_\bP_\bO_\bS_\bI_\bX_\b) _\bP_\ba_\br_\bt _\b2_\b: _\bS_\bh_\be_\bl_\bl _\ba_\bn_\bd _\bU_\bt_\bi_\bl_\bi_\b-
_\bt_\bi_\be_\bs, IEEE --
http://pubs.opengroup.org/onlinepubs/9699919799/
http://tiswww.case.edu/~chet/bash/POSIX -- a description of posix mode
_\b~_\b/_\b._\bb_\ba_\bs_\bh_\br_\bc
The individual per-interactive-shell startup file
_\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bl_\bo_\bg_\bo_\bu_\bt
- The individual login shell cleanup file, executed when a login
+ The individual login shell cleanup file, executed when a login
shell exits
_\b~_\b/_\b._\bb_\ba_\bs_\bh_\b__\bh_\bi_\bs_\bt_\bo_\br_\by
- The default value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE, the file in which bash saves the
+ The default value of H\bHI\bIS\bST\bTF\bFI\bIL\bLE\bE, the file in which bash saves the
command history
_\b~_\b/_\b._\bi_\bn_\bp_\bu_\bt_\br_\bc
Individual _\br_\be_\ba_\bd_\bl_\bi_\bn_\be initialization file
B\bBU\bUG\bG R\bRE\bEP\bPO\bOR\bRT\bTS\bS
If you find a bug in b\bba\bas\bsh\bh,\b, 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 b\bba\bas\bsh\bh. The latest version is always available from
+ make sure that it really is a bug, and that it appears in the latest
+ version of b\bba\bas\bsh\bh. The latest version is always available from
_\bf_\bt_\bp_\b:_\b/_\b/_\bf_\bt_\bp_\b._\bg_\bn_\bu_\b._\bo_\br_\bg_\b/_\bp_\bu_\bb_\b/_\bg_\bn_\bu_\b/_\bb_\ba_\bs_\bh_\b/ and _\bh_\bt_\bt_\bp_\b:_\b/_\b/_\bg_\bi_\bt_\b._\bs_\ba_\bv_\ba_\bn_\b-
_\bn_\ba_\bh_\b._\bg_\bn_\bu_\b._\bo_\br_\bg_\b/_\bc_\bg_\bi_\bt_\b/_\bb_\ba_\bs_\bh_\b._\bg_\bi_\bt_\b/_\bs_\bn_\ba_\bp_\bs_\bh_\bo_\bt_\b/_\bb_\ba_\bs_\bh_\b-_\bm_\ba_\bs_\bt_\be_\br_\b._\bt_\ba_\br_\b._\bg_\bz.
- Once you have determined that a bug actually exists, use the _\bb_\ba_\bs_\bh_\bb_\bu_\bg
- 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 _\bb_\bu_\bg_\b-_\bb_\ba_\bs_\bh_\b@_\bg_\bn_\bu_\b._\bo_\br_\bg or posted to the Usenet newsgroup
+ Once you have determined that a bug actually exists, use the _\bb_\ba_\bs_\bh_\bb_\bu_\bg
+ 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 _\bb_\bu_\bg_\b-_\bb_\ba_\bs_\bh_\b@_\bg_\bn_\bu_\b._\bo_\br_\bg or posted to the Usenet newsgroup
g\bgn\bnu\bu.\b.b\bba\bas\bsh\bh.\b.b\bbu\bug\bg.
ALL bug reports should include:
A description of the bug behaviour
A short script or `recipe' which exercises the bug
- _\bb_\ba_\bs_\bh_\bb_\bu_\bg inserts the first three items automatically into the template
+ _\bb_\ba_\bs_\bh_\bb_\bu_\bg 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
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.
-GNU Bash 5.2 2022 June 3 BASH(1)
+GNU Bash 5.2 2022 June 16 BASH(1)
.TP
\fBselect\fP \fIname\fP [ \fBin\fP \fIword\fP ] ; \fBdo\fP \fIlist\fP ; \fBdone\fP
The list of words following \fBin\fP is expanded, generating a list
-of items. The set of expanded words is printed on the standard
+of items, and the set of expanded words is printed on the standard
error, each preceded by a number. If the \fBin\fP
\fIword\fP is omitted, the positional parameters are printed (see
.SM
.B PARAMETERS
-below). The
+below).
+.B select
+then displays the
.SM
.B PS3
-prompt is then displayed and a line read from the standard input.
+prompt and reads a line from the standard input.
If the line consists of a number corresponding to one of
the displayed words, then the value of
.I name
-is set to that word. If the line is empty, the words and prompt
-are displayed again. If EOF is read, the command completes. Any
-other value read causes
+is set to that word.
+If the line is empty, the words and prompt are displayed again.
+If EOF is read, the \fBselect\fP command completes and returns 1.
+Any other value read causes
.I name
to be set to null. The line read is saved in the variable
.SM
\fB\-C\fP \fIcommand\fP
\fIcommand\fP is executed in a subshell environment, and its output is
used as the possible completions.
+Arguments are passed as with the \fB\-F\fP option.
.TP 8
\fB\-F\fP \fIfunction\fP
The shell function \fIfunction\fP is executed in the current shell
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'.
+ items, and 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. 'select' then displays the 'PS3' prompt and
+ reads a line 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 and returns 1. 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.
This section does not mention behavior that is standard for a
particular version (e.g., setting 'compat32' means that quoting the rhs
of the regexp matching operator quotes special regexp characters in the
-word, which is default behavior in bash-3.2 and above).
+word, which is default behavior in bash-3.2 and subsequent versions).
If a user enables, say, 'compat32', it may affect the behavior of
other compatibility levels up to and including the current compatibility
'wait' to wait for each PID or JOBSPEC to terminate before
returning its status, intead of returning when it changes status.
If neither JOBSPEC nor PID specifies an active child process of the
- shell, the return status is 127.
+ shell, the return status is 127. If 'wait' is interrupted by a
+ signal, the return status will be greater than 128, as described
+ above (*note Signals::). Otherwise, the return status is the exit
+ status of the last process or job waited for.
'disown'
disown [-ar] [-h] [JOBSPEC ... | PID ... ]
'-C COMMAND'
COMMAND is executed in a subshell environment, and its output
- is used as the possible completions.
+ is used as the possible completions. Arguments are passed as
+ with the '-F' option.
'-F FUNCTION'
The shell function FUNCTION is executed in the current shell
* complete: Programmable Completion Builtins.
(line 30)
* compopt: Programmable Completion Builtins.
- (line 237)
+ (line 238)
* continue: Bourne Shell Builtins.
(line 89)
* declare: Bash Builtins. (line 154)
* dirs: Directory Stack Builtins.
(line 7)
* disown: Job Control Builtins.
- (line 101)
+ (line 104)
* echo: Bash Builtins. (line 257)
* enable: Bash Builtins. (line 306)
* eval: Bourne Shell Builtins.
* shopt: The Shopt Builtin. (line 9)
* source: Bash Builtins. (line 594)
* suspend: Job Control Builtins.
- (line 113)
+ (line 116)
* test: Bourne Shell Builtins.
(line 274)
* times: Bourne Shell Builtins.
Node: Compound Commands\7f31001
Node: Looping Constructs\7f32010
Node: Conditional Constructs\7f34502
-Node: Command Grouping\7f48966
-Node: Coprocesses\7f50441
-Node: GNU Parallel\7f53101
-Node: Shell Functions\7f54015
-Node: Shell Parameters\7f61897
-Node: Positional Parameters\7f66282
-Node: Special Parameters\7f67181
-Node: Shell Expansions\7f70392
-Node: Brace Expansion\7f72516
-Node: Tilde Expansion\7f75247
-Node: Shell Parameter Expansion\7f77865
-Node: Command Substitution\7f96213
-Node: Arithmetic Expansion\7f97565
-Node: Process Substitution\7f98530
-Node: Word Splitting\7f99647
-Node: Filename Expansion\7f101588
-Node: Pattern Matching\7f104334
-Node: Quote Removal\7f108988
-Node: Redirections\7f109280
-Node: Executing Commands\7f118937
-Node: Simple Command Expansion\7f119604
-Node: Command Search and Execution\7f121711
-Node: Command Execution Environment\7f124086
-Node: Environment\7f127118
-Node: Exit Status\7f128778
-Node: Signals\7f130559
-Node: Shell Scripts\7f134005
-Node: Shell Builtin Commands\7f137029
-Node: Bourne Shell Builtins\7f139064
-Node: Bash Builtins\7f160522
-Node: Modifying Shell Behavior\7f191375
-Node: The Set Builtin\7f191717
-Node: The Shopt Builtin\7f202315
-Node: Special Builtins\7f218224
-Node: Shell Variables\7f219200
-Node: Bourne Shell Variables\7f219634
-Node: Bash Variables\7f221735
-Node: Bash Features\7f254548
-Node: Invoking Bash\7f255558
-Node: Bash Startup Files\7f261568
-Node: Interactive Shells\7f266696
-Node: What is an Interactive Shell?\7f267103
-Node: Is this Shell Interactive?\7f267749
-Node: Interactive Shell Behavior\7f268561
-Node: Bash Conditional Expressions\7f272187
-Node: Shell Arithmetic\7f276826
-Node: Aliases\7f279767
-Node: Arrays\7f282377
-Node: The Directory Stack\7f288765
-Node: Directory Stack Builtins\7f289546
-Node: Controlling the Prompt\7f293803
-Node: The Restricted Shell\7f296765
-Node: Bash POSIX Mode\7f299372
-Node: Shell Compatibility Mode\7f311293
-Node: Job Control\7f319319
-Node: Job Control Basics\7f319776
-Node: Job Control Builtins\7f324775
-Node: Job Control Variables\7f330342
-Node: Command Line Editing\7f331495
-Node: Introduction and Notation\7f333163
-Node: Readline Interaction\7f334783
-Node: Readline Bare Essentials\7f335971
-Node: Readline Movement Commands\7f337751
-Node: Readline Killing Commands\7f338708
-Node: Readline Arguments\7f340623
-Node: Searching\7f341664
-Node: Readline Init File\7f343847
-Node: Readline Init File Syntax\7f345105
-Node: Conditional Init Constructs\7f368301
-Node: Sample Init File\7f372494
-Node: Bindable Readline Commands\7f375615
-Node: Commands For Moving\7f376816
-Node: Commands For History\7f378864
-Node: Commands For Text\7f383855
-Node: Commands For Killing\7f387501
-Node: Numeric Arguments\7f390531
-Node: Commands For Completion\7f391667
-Node: Keyboard Macros\7f395855
-Node: Miscellaneous Commands\7f396539
-Node: Readline vi Mode\7f402475
-Node: Programmable Completion\7f403379
-Node: Programmable Completion Builtins\7f411156
-Node: A Programmable Completion Example\7f421848
-Node: Using History Interactively\7f427092
-Node: Bash History Facilities\7f427773
-Node: Bash History Builtins\7f430775
-Node: History Interaction\7f435780
-Node: Event Designators\7f439397
-Node: Word Designators\7f440748
-Node: Modifiers\7f442505
-Node: Installing Bash\7f444313
-Node: Basic Installation\7f445447
-Node: Compilers and Options\7f449166
-Node: Compiling For Multiple Architectures\7f449904
-Node: Installation Names\7f451594
-Node: Specifying the System Type\7f453700
-Node: Sharing Defaults\7f454413
-Node: Operation Controls\7f455083
-Node: Optional Features\7f456038
-Node: Reporting Bugs\7f467253
-Node: Major Differences From The Bourne Shell\7f468525
-Node: GNU Free Documentation License\7f485372
-Node: Indexes\7f510546
-Node: Builtin Index\7f510997
-Node: Reserved Word Index\7f517821
-Node: Variable Index\7f520266
-Node: Function Index\7f537037
-Node: Concept Index\7f550818
+Node: Command Grouping\7f48987
+Node: Coprocesses\7f50462
+Node: GNU Parallel\7f53122
+Node: Shell Functions\7f54036
+Node: Shell Parameters\7f61918
+Node: Positional Parameters\7f66303
+Node: Special Parameters\7f67202
+Node: Shell Expansions\7f70413
+Node: Brace Expansion\7f72537
+Node: Tilde Expansion\7f75268
+Node: Shell Parameter Expansion\7f77886
+Node: Command Substitution\7f96234
+Node: Arithmetic Expansion\7f97586
+Node: Process Substitution\7f98551
+Node: Word Splitting\7f99668
+Node: Filename Expansion\7f101609
+Node: Pattern Matching\7f104355
+Node: Quote Removal\7f109009
+Node: Redirections\7f109301
+Node: Executing Commands\7f118958
+Node: Simple Command Expansion\7f119625
+Node: Command Search and Execution\7f121732
+Node: Command Execution Environment\7f124107
+Node: Environment\7f127139
+Node: Exit Status\7f128799
+Node: Signals\7f130580
+Node: Shell Scripts\7f134026
+Node: Shell Builtin Commands\7f137050
+Node: Bourne Shell Builtins\7f139085
+Node: Bash Builtins\7f160543
+Node: Modifying Shell Behavior\7f191396
+Node: The Set Builtin\7f191738
+Node: The Shopt Builtin\7f202336
+Node: Special Builtins\7f218245
+Node: Shell Variables\7f219221
+Node: Bourne Shell Variables\7f219655
+Node: Bash Variables\7f221756
+Node: Bash Features\7f254569
+Node: Invoking Bash\7f255579
+Node: Bash Startup Files\7f261589
+Node: Interactive Shells\7f266717
+Node: What is an Interactive Shell?\7f267124
+Node: Is this Shell Interactive?\7f267770
+Node: Interactive Shell Behavior\7f268582
+Node: Bash Conditional Expressions\7f272208
+Node: Shell Arithmetic\7f276847
+Node: Aliases\7f279788
+Node: Arrays\7f282398
+Node: The Directory Stack\7f288786
+Node: Directory Stack Builtins\7f289567
+Node: Controlling the Prompt\7f293824
+Node: The Restricted Shell\7f296786
+Node: Bash POSIX Mode\7f299393
+Node: Shell Compatibility Mode\7f311314
+Node: Job Control\7f319354
+Node: Job Control Basics\7f319811
+Node: Job Control Builtins\7f324810
+Node: Job Control Variables\7f330601
+Node: Command Line Editing\7f331754
+Node: Introduction and Notation\7f333422
+Node: Readline Interaction\7f335042
+Node: Readline Bare Essentials\7f336230
+Node: Readline Movement Commands\7f338010
+Node: Readline Killing Commands\7f338967
+Node: Readline Arguments\7f340882
+Node: Searching\7f341923
+Node: Readline Init File\7f344106
+Node: Readline Init File Syntax\7f345364
+Node: Conditional Init Constructs\7f368560
+Node: Sample Init File\7f372753
+Node: Bindable Readline Commands\7f375874
+Node: Commands For Moving\7f377075
+Node: Commands For History\7f379123
+Node: Commands For Text\7f384114
+Node: Commands For Killing\7f387760
+Node: Numeric Arguments\7f390790
+Node: Commands For Completion\7f391926
+Node: Keyboard Macros\7f396114
+Node: Miscellaneous Commands\7f396798
+Node: Readline vi Mode\7f402734
+Node: Programmable Completion\7f403638
+Node: Programmable Completion Builtins\7f411415
+Node: A Programmable Completion Example\7f422164
+Node: Using History Interactively\7f427408
+Node: Bash History Facilities\7f428089
+Node: Bash History Builtins\7f431091
+Node: History Interaction\7f436096
+Node: Event Designators\7f439713
+Node: Word Designators\7f441064
+Node: Modifiers\7f442821
+Node: Installing Bash\7f444629
+Node: Basic Installation\7f445763
+Node: Compilers and Options\7f449482
+Node: Compiling For Multiple Architectures\7f450220
+Node: Installation Names\7f451910
+Node: Specifying the System Type\7f454016
+Node: Sharing Defaults\7f454729
+Node: Operation Controls\7f455399
+Node: Optional Features\7f456354
+Node: Reporting Bugs\7f467569
+Node: Major Differences From The Bourne Shell\7f468841
+Node: GNU Free Documentation License\7f485688
+Node: Indexes\7f510862
+Node: Builtin Index\7f511313
+Node: Reserved Word Index\7f518137
+Node: Variable Index\7f520582
+Node: Function Index\7f537353
+Node: Concept Index\7f551134
\1f
End Tag Table
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'.
+ items, and 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. 'select' then displays the 'PS3' prompt and
+ reads a line 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 and returns 1. 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.
This section does not mention behavior that is standard for a
particular version (e.g., setting 'compat32' means that quoting the rhs
of the regexp matching operator quotes special regexp characters in the
-word, which is default behavior in bash-3.2 and above).
+word, which is default behavior in bash-3.2 and subsequent versions).
If a user enables, say, 'compat32', it may affect the behavior of
other compatibility levels up to and including the current compatibility
'wait' to wait for each PID or JOBSPEC to terminate before
returning its status, intead of returning when it changes status.
If neither JOBSPEC nor PID specifies an active child process of the
- shell, the return status is 127.
+ shell, the return status is 127. If 'wait' is interrupted by a
+ signal, the return status will be greater than 128, as described
+ above (*note Signals::). Otherwise, the return status is the exit
+ status of the last process or job waited for.
'disown'
disown [-ar] [-h] [JOBSPEC ... | PID ... ]
'-C COMMAND'
COMMAND is executed in a subshell environment, and its output
- is used as the possible completions.
+ is used as the possible completions. Arguments are passed as
+ with the '-F' option.
'-F FUNCTION'
The shell function FUNCTION is executed in the current shell
* complete: Programmable Completion Builtins.
(line 30)
* compopt: Programmable Completion Builtins.
- (line 237)
+ (line 238)
* continue: Bourne Shell Builtins.
(line 89)
* declare: Bash Builtins. (line 154)
* dirs: Directory Stack Builtins.
(line 7)
* disown: Job Control Builtins.
- (line 101)
+ (line 104)
* echo: Bash Builtins. (line 257)
* enable: Bash Builtins. (line 306)
* eval: Bourne Shell Builtins.
* shopt: The Shopt Builtin. (line 9)
* source: Bash Builtins. (line 594)
* suspend: Job Control Builtins.
- (line 113)
+ (line 116)
* test: Bourne Shell Builtins.
(line 274)
* times: Bourne Shell Builtins.
Node: Compound Commands\7f31067
Node: Looping Constructs\7f32079
Node: Conditional Constructs\7f34574
-Node: Command Grouping\7f49041
-Node: Coprocesses\7f50519
-Node: GNU Parallel\7f53182
-Node: Shell Functions\7f54099
-Node: Shell Parameters\7f61984
-Node: Positional Parameters\7f66372
-Node: Special Parameters\7f67274
-Node: Shell Expansions\7f70488
-Node: Brace Expansion\7f72615
-Node: Tilde Expansion\7f75349
-Node: Shell Parameter Expansion\7f77970
-Node: Command Substitution\7f96321
-Node: Arithmetic Expansion\7f97676
-Node: Process Substitution\7f98644
-Node: Word Splitting\7f99764
-Node: Filename Expansion\7f101708
-Node: Pattern Matching\7f104457
-Node: Quote Removal\7f109114
-Node: Redirections\7f109409
-Node: Executing Commands\7f119069
-Node: Simple Command Expansion\7f119739
-Node: Command Search and Execution\7f121849
-Node: Command Execution Environment\7f124227
-Node: Environment\7f127262
-Node: Exit Status\7f128925
-Node: Signals\7f130709
-Node: Shell Scripts\7f134158
-Node: Shell Builtin Commands\7f137185
-Node: Bourne Shell Builtins\7f139223
-Node: Bash Builtins\7f160684
-Node: Modifying Shell Behavior\7f191540
-Node: The Set Builtin\7f191885
-Node: The Shopt Builtin\7f202486
-Node: Special Builtins\7f218398
-Node: Shell Variables\7f219377
-Node: Bourne Shell Variables\7f219814
-Node: Bash Variables\7f221918
-Node: Bash Features\7f254734
-Node: Invoking Bash\7f255747
-Node: Bash Startup Files\7f261760
-Node: Interactive Shells\7f266891
-Node: What is an Interactive Shell?\7f267301
-Node: Is this Shell Interactive?\7f267950
-Node: Interactive Shell Behavior\7f268765
-Node: Bash Conditional Expressions\7f272394
-Node: Shell Arithmetic\7f277036
-Node: Aliases\7f279980
-Node: Arrays\7f282593
-Node: The Directory Stack\7f288984
-Node: Directory Stack Builtins\7f289768
-Node: Controlling the Prompt\7f294028
-Node: The Restricted Shell\7f296993
-Node: Bash POSIX Mode\7f299603
-Node: Shell Compatibility Mode\7f311527
-Node: Job Control\7f319556
-Node: Job Control Basics\7f320016
-Node: Job Control Builtins\7f325018
-Node: Job Control Variables\7f330588
-Node: Command Line Editing\7f331744
-Node: Introduction and Notation\7f333415
-Node: Readline Interaction\7f335038
-Node: Readline Bare Essentials\7f336229
-Node: Readline Movement Commands\7f338012
-Node: Readline Killing Commands\7f338972
-Node: Readline Arguments\7f340890
-Node: Searching\7f341934
-Node: Readline Init File\7f344120
-Node: Readline Init File Syntax\7f345381
-Node: Conditional Init Constructs\7f368580
-Node: Sample Init File\7f372776
-Node: Bindable Readline Commands\7f375900
-Node: Commands For Moving\7f377104
-Node: Commands For History\7f379155
-Node: Commands For Text\7f384149
-Node: Commands For Killing\7f387798
-Node: Numeric Arguments\7f390831
-Node: Commands For Completion\7f391970
-Node: Keyboard Macros\7f396161
-Node: Miscellaneous Commands\7f396848
-Node: Readline vi Mode\7f402787
-Node: Programmable Completion\7f403694
-Node: Programmable Completion Builtins\7f411474
-Node: A Programmable Completion Example\7f422169
-Node: Using History Interactively\7f427416
-Node: Bash History Facilities\7f428100
-Node: Bash History Builtins\7f431105
-Node: History Interaction\7f436113
-Node: Event Designators\7f439733
-Node: Word Designators\7f441087
-Node: Modifiers\7f442847
-Node: Installing Bash\7f444658
-Node: Basic Installation\7f445795
-Node: Compilers and Options\7f449517
-Node: Compiling For Multiple Architectures\7f450258
-Node: Installation Names\7f451951
-Node: Specifying the System Type\7f454060
-Node: Sharing Defaults\7f454776
-Node: Operation Controls\7f455449
-Node: Optional Features\7f456407
-Node: Reporting Bugs\7f467625
-Node: Major Differences From The Bourne Shell\7f468900
-Node: GNU Free Documentation License\7f485750
-Node: Indexes\7f510927
-Node: Builtin Index\7f511381
-Node: Reserved Word Index\7f518208
-Node: Variable Index\7f520656
-Node: Function Index\7f537430
-Node: Concept Index\7f551214
+Node: Command Grouping\7f49062
+Node: Coprocesses\7f50540
+Node: GNU Parallel\7f53203
+Node: Shell Functions\7f54120
+Node: Shell Parameters\7f62005
+Node: Positional Parameters\7f66393
+Node: Special Parameters\7f67295
+Node: Shell Expansions\7f70509
+Node: Brace Expansion\7f72636
+Node: Tilde Expansion\7f75370
+Node: Shell Parameter Expansion\7f77991
+Node: Command Substitution\7f96342
+Node: Arithmetic Expansion\7f97697
+Node: Process Substitution\7f98665
+Node: Word Splitting\7f99785
+Node: Filename Expansion\7f101729
+Node: Pattern Matching\7f104478
+Node: Quote Removal\7f109135
+Node: Redirections\7f109430
+Node: Executing Commands\7f119090
+Node: Simple Command Expansion\7f119760
+Node: Command Search and Execution\7f121870
+Node: Command Execution Environment\7f124248
+Node: Environment\7f127283
+Node: Exit Status\7f128946
+Node: Signals\7f130730
+Node: Shell Scripts\7f134179
+Node: Shell Builtin Commands\7f137206
+Node: Bourne Shell Builtins\7f139244
+Node: Bash Builtins\7f160705
+Node: Modifying Shell Behavior\7f191561
+Node: The Set Builtin\7f191906
+Node: The Shopt Builtin\7f202507
+Node: Special Builtins\7f218419
+Node: Shell Variables\7f219398
+Node: Bourne Shell Variables\7f219835
+Node: Bash Variables\7f221939
+Node: Bash Features\7f254755
+Node: Invoking Bash\7f255768
+Node: Bash Startup Files\7f261781
+Node: Interactive Shells\7f266912
+Node: What is an Interactive Shell?\7f267322
+Node: Is this Shell Interactive?\7f267971
+Node: Interactive Shell Behavior\7f268786
+Node: Bash Conditional Expressions\7f272415
+Node: Shell Arithmetic\7f277057
+Node: Aliases\7f280001
+Node: Arrays\7f282614
+Node: The Directory Stack\7f289005
+Node: Directory Stack Builtins\7f289789
+Node: Controlling the Prompt\7f294049
+Node: The Restricted Shell\7f297014
+Node: Bash POSIX Mode\7f299624
+Node: Shell Compatibility Mode\7f311548
+Node: Job Control\7f319591
+Node: Job Control Basics\7f320051
+Node: Job Control Builtins\7f325053
+Node: Job Control Variables\7f330847
+Node: Command Line Editing\7f332003
+Node: Introduction and Notation\7f333674
+Node: Readline Interaction\7f335297
+Node: Readline Bare Essentials\7f336488
+Node: Readline Movement Commands\7f338271
+Node: Readline Killing Commands\7f339231
+Node: Readline Arguments\7f341149
+Node: Searching\7f342193
+Node: Readline Init File\7f344379
+Node: Readline Init File Syntax\7f345640
+Node: Conditional Init Constructs\7f368839
+Node: Sample Init File\7f373035
+Node: Bindable Readline Commands\7f376159
+Node: Commands For Moving\7f377363
+Node: Commands For History\7f379414
+Node: Commands For Text\7f384408
+Node: Commands For Killing\7f388057
+Node: Numeric Arguments\7f391090
+Node: Commands For Completion\7f392229
+Node: Keyboard Macros\7f396420
+Node: Miscellaneous Commands\7f397107
+Node: Readline vi Mode\7f403046
+Node: Programmable Completion\7f403953
+Node: Programmable Completion Builtins\7f411733
+Node: A Programmable Completion Example\7f422485
+Node: Using History Interactively\7f427732
+Node: Bash History Facilities\7f428416
+Node: Bash History Builtins\7f431421
+Node: History Interaction\7f436429
+Node: Event Designators\7f440049
+Node: Word Designators\7f441403
+Node: Modifiers\7f443163
+Node: Installing Bash\7f444974
+Node: Basic Installation\7f446111
+Node: Compilers and Options\7f449833
+Node: Compiling For Multiple Architectures\7f450574
+Node: Installation Names\7f452267
+Node: Specifying the System Type\7f454376
+Node: Sharing Defaults\7f455092
+Node: Operation Controls\7f455765
+Node: Optional Features\7f456723
+Node: Reporting Bugs\7f467941
+Node: Major Differences From The Bourne Shell\7f469216
+Node: GNU Free Documentation License\7f486066
+Node: Indexes\7f511243
+Node: Builtin Index\7f511697
+Node: Reserved Word Index\7f518524
+Node: Variable Index\7f520972
+Node: Function Index\7f537746
+Node: Concept Index\7f551530
\1f
End Tag Table
@end example
The list of words following @code{in} is expanded, generating a list
-of items. The set of expanded words is printed on the standard
+of items, and the set of expanded words is printed on the standard
error output stream, each preceded by a number. If the
@samp{in @var{words}} is omitted, the positional parameters are printed,
as if @samp{in "$@@"} had been specified.
-The @env{PS3} prompt is then displayed and a line is read from the
-standard input.
+@code{select} then displays the @env{PS3}
+prompt and reads a line from the standard input.
If the line consists of a number corresponding to one of the displayed
words, then the value of @var{name} is set to that word.
If the line is empty, the words and prompt are displayed again.
-If @code{EOF} is read, the @code{select} command completes.
+If @code{EOF} is read, the @code{select} command completes and returns 1.
Any other value read causes @var{name} to be set to null.
The line read is saved in the variable @env{REPLY}.
#define COMMA ','
/* This should be the function corresponding to the operator with the
- highest precedence. */
-#define EXP_HIGHEST expcomma
+ lowest precedence. */
+#define EXP_LOWEST expcomma
#ifndef MAX_INT_LEN
# define MAX_INT_LEN 32
readtok ();
- val = EXP_HIGHEST ();
+ val = EXP_LOWEST ();
+ /*TAG:bash-5.3 make it clear that these are arithmetic syntax errors */
if (curtok != 0)
evalerror (_("syntax error in expression"));
if (curtok == 0 || curtok == COL)
evalerror (_("expression expected"));
- val1 = EXP_HIGHEST ();
+ val1 = EXP_LOWEST ();
if (set_noeval)
noeval--;
{
/* XXX - save curlval here? Or entire expression context? */
readtok ();
- val = EXP_HIGHEST ();
+ val = EXP_LOWEST ();
if (curtok != RPAR) /* ( */
evalerror (_("missing `)'"));
c = POWER;
else if ((c == '-' || c == '+') && c1 == c && curtok == STR)
c = (c == '-') ? POSTDEC : POSTINC;
+#if STRICT_ARITH_PARSING
+ else if ((c == '-' || c == '+') && c1 == c && curtok == NUM)
+#else
else if ((c == '-' || c == '+') && c1 == c && curtok == NUM && (lasttok == PREINC || lasttok == PREDEC))
+#endif
{
/* This catches something like --FOO++ */
+ /* TAG:bash-5.3 add gettext calls here or make this a separate function */
if (c == '-')
evalerror ("--: assignment requires lvalue");
else
c = (c == '-') ? PREDEC : PREINC;
else
/* Could force parsing as preinc or predec and throw an error */
-#if 0
+#if STRICT_ARITH_PARSING
{
/* Posix says unary plus and minus have higher priority than
preinc and predec. */
register char *s;
register unsigned char c;
int base, foundbase;
- intmax_t val;
+ intmax_t val, pval;
s = num;
{
base = 16;
s++;
+#if STRICT_ARITH_PARSING
+ if (*s == 0)
+ evalerror (_("invalid number"));
+#endif
}
else
base = 8;
if (c >= base)
evalerror (_("value too great for base"));
+#ifdef CHECK_OVERFLOW
+ pval = val;
val = (val * base) + c;
+ if (val < 0 || val < pval) /* overflow */
+ return INTMAX_MAX;
+#else
+ val = (val * base) + c;
+#endif
}
else
break;
@item -C @var{command}
@var{command} is executed in a subshell environment, and its output is
used as the possible completions.
+Arguments are passed as with the @option{-F} option.
@item -F @var{function}
The shell function @var{function} is executed in the current shell
rl_message ("%s", message);
xfree (message);
+#if 0
+ /* rl_message calls this */
(*rl_redisplay_function) ();
+#endif
}
static _rl_search_cxt *
# define MBTEST(x) ((x))
#endif
+#define EXTEND_SHELL_INPUT_LINE_PROPERTY() \
+do { \
+ if (shell_input_line_len + 2 > shell_input_line_propsize) \
+ { \
+ shell_input_line_propsize = shell_input_line_len + 2; \
+ shell_input_line_property = (char *)xrealloc (shell_input_line_property, \
+ shell_input_line_propsize); \
+ } \
+} while (0)
+
#if defined (EXTENDED_GLOB)
extern int extended_glob;
#endif
shell_input_line[shell_input_line_len] = '\n';
shell_input_line[shell_input_line_len + 1] = '\0';
-#if 0
- set_line_mbstate (); /* XXX - this is wasteful */
-#else
-# if defined (HANDLE_MULTIBYTE)
+#if defined (HANDLE_MULTIBYTE)
/* This is kind of an abstraction violation, but there's no need to
go through the entire shell_input_line again with a call to
set_line_mbstate(). */
- if (shell_input_line_len + 2 > shell_input_line_propsize)
- {
- shell_input_line_propsize = shell_input_line_len + 2;
- shell_input_line_property = (char *)xrealloc (shell_input_line_property,
- shell_input_line_propsize);
- }
+ EXTEND_SHELL_INPUT_LINE_PROPERTY();
shell_input_line_property[shell_input_line_len] = 1;
-# endif
#endif
}
}
(current_delimiter (dstack) != '\'' && current_delimiter (dstack) != '"'))
{
parser_state |= PST_ENDALIAS;
+ /* We need to do this to make sure last_shell_getc_is_singlebyte returns
+ true, since we are returning a single-byte space. */
+ if (shell_input_line_index == shell_input_line_len && last_shell_getc_is_singlebyte == 0)
+ {
+#if 0
+ EXTEND_SHELL_INPUT_LINE_PROPERTY();
+ shell_input_line_property[shell_input_line_len++] = 1;
+ /* extend shell_input_line to accommodate the shell_ungetc that
+ read_token_word() will perform, since we're extending the index */
+ RESIZE_MALLOCED_BUFFER (shell_input_line, shell_input_line_index, 2, shell_input_line_size, 16);
+ shell_input_line[++shell_input_line_index] = '\0'; /* XXX */
+#else
+ shell_input_line_property[shell_input_line_index - 1] = 1;
+#endif
+ }
return ' '; /* END_ALIAS */
}
#endif
# Catalan messages for GNU bash.
-# Copyright (C) 2002, 2003, 2010, 2014, 2015, 2017 Free Software Foundation, Inc.
+# Copyright (C) 2022 Free Software Foundation, Inc.
# This file is distributed under the same license as the bash package.
# Montxo Vicente i Sempere <montxo@enmoviment.com>, 2003 (traducció), 2010 (revisions).
# Jordi Mas i Hernàndez <jmas@softcatala.org>, 2004 (correccions).
-# Ernest Adrogué Calveras <eadrogue@gmx.net>, 2014, 2015, 2017.
+# Ernest Adrogué i Calveras <nr9@posteo.net>, 2014-2022.
msgid ""
msgstr ""
-"Project-Id-Version: bash-4.4\n"
+"Project-Id-Version: bash-5.2-rc1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2020-11-28 12:51-0500\n"
-"PO-Revision-Date: 2017-01-10 20:11+0100\n"
+"POT-Creation-Date: 2022-01-11 14:50-0500\n"
+"PO-Revision-Date: 2022-07-06 20:08+0200\n"
"Last-Translator: Ernest Adrogué Calveras <eadrogue@gmx.net>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
"Language: ca\n"
msgid "bad array subscript"
msgstr "subíndex erroni"
-#: arrayfunc.c:421 builtins/declare.def:638 variables.c:2274 variables.c:2300
-#: variables.c:3133
+#: arrayfunc.c:471 builtins/declare.def:709 variables.c:2242 variables.c:2268
+#: variables.c:3101
#, c-format
msgid "%s: removing nameref attribute"
msgstr "%s: s'elimina l'atribut «nameref»"
-#: arrayfunc.c:446 builtins/declare.def:851
+#: arrayfunc.c:496 builtins/declare.def:868
#, c-format
msgid "%s: cannot convert indexed to associative array"
msgstr "%s: no és possible convertir un vector indexat en associatiu"
-#: arrayfunc.c:700
-#, c-format
-msgid "%s: invalid associative array key"
-msgstr "%s: clau de vector associatiu no vàlida"
-
-#: arrayfunc.c:702
+#: arrayfunc.c:777
#, c-format
msgid "%s: cannot assign to non-numeric index"
msgstr "%s: no es pot assignar a un índex no-numèric"
-#: arrayfunc.c:747
+#: arrayfunc.c:822
#, c-format
msgid "%s: %s: must use subscript when assigning associative array"
msgstr "%s: %s: l'assignació en vectors associatius requereix un subíndex"
-#: bashhist.c:452
+#: bashhist.c:455
#, c-format
msgid "%s: cannot create: %s"
msgstr "%s: no es pot crear: %s"
-#: bashline.c:4310
+#: bashline.c:4479
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"
+msgstr "bash_execute_unix_command: no s'ha trobat el mapa de tecles per a l'ordre"
-#: bashline.c:4459
+#: bashline.c:4637
#, c-format
msgid "%s: first non-whitespace character is not `\"'"
msgstr "%s: el primer caràcter no-blanc no és «\"»"
-#: bashline.c:4488
+#: bashline.c:4666
#, c-format
msgid "no closing `%c' in %s"
msgstr "falta un caràcter de tancament «%c» a %s"
-#: bashline.c:4519
+#: bashline.c:4697
#, c-format
msgid "%s: missing colon separator"
msgstr "%s: falta un caràcter «:» de separació"
-#: bashline.c:4555
-#, fuzzy, c-format
+#: bashline.c:4733
+#, c-format
msgid "`%s': cannot unbind in command keymap"
-msgstr "«%s»: no es pot desvincular"
+msgstr "«%s»: no es pot desvincular en el mapa de tecles de l'ordre"
#: braces.c:327
#, c-format
msgstr "expansió de claus: no es pot assignar memòria per a %s"
#: braces.c:406
-#, fuzzy, c-format
+#, c-format
msgid "brace expansion: failed to allocate memory for %u elements"
-msgstr "expansió de claus: ha fallat l'assignació de memòria per a %d elements"
+msgstr "expansió de claus: ha fallat l'assignació de memòria per a %u elements"
#: braces.c:451
#, c-format
msgid "brace expansion: failed to allocate memory for `%s'"
msgstr "expansió de claus: ha fallat l'assignació de memòria per a «%s»"
-#: builtins/alias.def:131 variables.c:1844
+#: builtins/alias.def:131 variables.c:1817
#, c-format
msgid "`%s': invalid alias name"
msgstr "«%s»: el nom de l'àlies no és valid"
# help caller
#: builtins/caller.def:136
-#, fuzzy
msgid ""
"Returns the context of the current subroutine call.\n"
" \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."
+" «frame» superior és el 0."
#: builtins/cd.def:327
msgid "HOME not set"
msgstr "la variable HOME no està definida"
-#: builtins/cd.def:335 builtins/common.c:161 test.c:901
+#: builtins/cd.def:335 builtins/common.c:161 test.c:916
msgid "too many arguments"
msgstr "sobren arguments"
msgid "%s: usage: "
msgstr "%s: sintaxi: "
-#: builtins/common.c:193 shell.c:516 shell.c:844
+#: builtins/common.c:193 shell.c:524 shell.c:866
#, c-format
msgid "%s: option requires an argument"
msgstr "%s: l'opció requereix un argument"
msgid "%s: not found"
msgstr "%s: no s'ha trobat"
-#: builtins/common.c:216 shell.c:857
+#: builtins/common.c:216 shell.c:879
#, c-format
msgid "%s: invalid option"
msgstr "%s: l'opció no és vàlida"
msgid "%s: invalid option name"
msgstr "%s: el nom de l'opció no és vàlid"
-#: builtins/common.c:230 execute_cmd.c:2373 general.c:368 general.c:373
+#: builtins/common.c:230 execute_cmd.c:2402 general.c:368 general.c:373
#, c-format
msgid "`%s': not a valid identifier"
msgstr "«%s»: no és un identificador vàlid"
msgid "invalid hex number"
msgstr "nombre hexadecimal no vàlid"
-#: builtins/common.c:244 expr.c:1569
+#: builtins/common.c:244 expr.c:1574
msgid "invalid number"
msgstr "nombre no vàlid"
msgid "`%s': not a pid or valid job spec"
msgstr "«%s»: pid o especificació de feina no vàlids"
-#: builtins/common.c:266 error.c:510
+#: builtins/common.c:266 error.c:536
#, c-format
msgid "%s: readonly variable"
msgstr "%s: variable de només lectura"
-#: builtins/common.c:274
+#: builtins/common.c:273
+#, c-format
+msgid "%s: cannot assign"
+msgstr "%s: no es pot assignar"
+
+#: builtins/common.c:281
#, c-format
msgid "%s: %s out of range"
msgstr "%s: %s fora del domini"
-#: builtins/common.c:274 builtins/common.c:276
+#: builtins/common.c:281 builtins/common.c:283
msgid "argument"
msgstr "argument"
-#: builtins/common.c:276
+#: builtins/common.c:283
#, c-format
msgid "%s out of range"
msgstr "%s fora del domini"
-#: builtins/common.c:284
+#: builtins/common.c:291
#, c-format
msgid "%s: no such job"
msgstr "%s: no existeix tal feina"
-#: builtins/common.c:292
+#: builtins/common.c:299
#, c-format
msgid "%s: no job control"
msgstr "%s: no hi ha control de feines"
-#: builtins/common.c:294
+#: builtins/common.c:301
msgid "no job control"
msgstr "no hi ha control de feines"
# cd .. en un intèrpret restringit
-#: builtins/common.c:304
+#: builtins/common.c:311
#, c-format
msgid "%s: restricted"
msgstr "%s: restringit"
-#: builtins/common.c:306
+#: builtins/common.c:313
msgid "restricted"
msgstr "restringit"
-#: builtins/common.c:314
+#: builtins/common.c:321
#, c-format
msgid "%s: not a shell builtin"
msgstr "%s: no és una ordre interna de l'intèrpret"
-#: builtins/common.c:323
+#: builtins/common.c:330
#, c-format
msgid "write error: %s"
msgstr "error d'escriptura: %s"
-#: builtins/common.c:331
+#: builtins/common.c:338
#, c-format
msgid "error setting terminal attributes: %s"
msgstr "error en establir els atributs del terminal: %s"
-#: builtins/common.c:333
+#: builtins/common.c:340
#, c-format
msgid "error getting terminal attributes: %s"
msgstr "error en obtenir els atributs del terminal: %s"
-#: builtins/common.c:635
+#: builtins/common.c:642
#, c-format
msgid "%s: error retrieving current directory: %s: %s\n"
msgstr "%s: error en obtenir el directori actual: %s: %s\n"
-#: builtins/common.c:701 builtins/common.c:703
+#: builtins/common.c:708 builtins/common.c:710
#, c-format
msgid "%s: ambiguous job spec"
msgstr "%s: l'especificació de feina és ambigua"
-#: builtins/common.c:964
+#: builtins/common.c:971
msgid "help not available in this version"
msgstr "aquesta versió no té ajuda disponible"
# unset UID
-#: builtins/common.c:1008 builtins/set.def:953 variables.c:3839
+#: builtins/common.c:1038 builtins/set.def:953 variables.c:3825
#, c-format
msgid "%s: cannot unset: readonly %s"
msgstr "%s: no es pot suprimir: %s de només lectura"
-#: builtins/common.c:1013 builtins/set.def:932 variables.c:3844
+#: builtins/common.c:1043 builtins/set.def:932 variables.c:3830
#, c-format
msgid "%s: cannot unset"
msgstr "%s: no es pot suprimir"
msgid "%s: invalid action name"
msgstr "%s: nom d'acció no vàlid"
-#: builtins/complete.def:486 builtins/complete.def:634
-#: builtins/complete.def:865
+#: builtins/complete.def:486 builtins/complete.def:642
+#: builtins/complete.def:873
#, c-format
msgid "%s: no completion specification"
msgstr "%s: no hi ha especificació de compleció"
-#: builtins/complete.def:688
+#: builtins/complete.def:696
msgid "warning: -F option may not work as you expect"
msgstr "atenció: l'opció -F pot no funcionar com us espereu"
-#: builtins/complete.def:690
+#: builtins/complete.def:698
msgid "warning: -C option may not work as you expect"
msgstr "atenció: l'opció -C pot no funcionar com us espereu"
-#: builtins/complete.def:838
+#: builtins/complete.def:846
msgid "not currently executing completion function"
msgstr "no s'està executant una funció de compleció"
-#: builtins/declare.def:134
+#: builtins/declare.def:137
msgid "can only be used in a function"
msgstr "només es pot utilitzar en una funció"
-#: builtins/declare.def:363 builtins/declare.def:756
+#: builtins/declare.def:437
+msgid "cannot use `-f' to make functions"
+msgstr "no és possible usar «-f» per convertir en funció"
+
+#: builtins/declare.def:464 execute_cmd.c:6132
+#, c-format
+msgid "%s: readonly function"
+msgstr "%s: funció de només lectura"
+
+#: builtins/declare.def:521 builtins/declare.def:804
#, c-format
msgid "%s: reference variable cannot be an array"
msgstr "%s: una variable referència no pot ser un vector"
-#: builtins/declare.def:374 variables.c:3385
+#: builtins/declare.def:532 variables.c:3359
#, c-format
msgid "%s: nameref variable self references not allowed"
msgstr "%s: no es permeten autoreferències en variables referència"
-#: builtins/declare.def:379 variables.c:2104 variables.c:3304 variables.c:3312
-#: variables.c:3382
+#: builtins/declare.def:537 variables.c:2072 variables.c:3278 variables.c:3286
+#: variables.c:3356
#, c-format
msgid "%s: circular name reference"
msgstr "%s: referència circular"
-#: builtins/declare.def:384 builtins/declare.def:762 builtins/declare.def:773
+#: builtins/declare.def:541 builtins/declare.def:811 builtins/declare.def:820
#, c-format
msgid "`%s': invalid variable name for name reference"
msgstr "«%s»: la variable referència conté un nom de variable no vàlid"
-#: builtins/declare.def:514
-msgid "cannot use `-f' to make functions"
-msgstr "no és possible usar «-f» per convertir en funció"
-
-#: builtins/declare.def:526 execute_cmd.c:5986
-#, c-format
-msgid "%s: readonly function"
-msgstr "%s: funció de només lectura"
-
-#: builtins/declare.def:824
-#, c-format
-msgid "%s: quoted compound array assignment deprecated"
-msgstr ""
-"%s: es desaconsella l'assignació múltiple en vectors utilitzant cometes"
-
-#: builtins/declare.def:838
+#: builtins/declare.def:856
#, c-format
msgid "%s: cannot destroy array variables in this way"
msgstr "%s: no és possible destruir variables vector d'aquesta manera"
-#: builtins/declare.def:845 builtins/read.def:815
+#: builtins/declare.def:862 builtins/read.def:887
#, c-format
msgid "%s: cannot convert associative to indexed array"
msgstr "%s: no és possible convertir un vector associatiu en indexat"
-#: builtins/enable.def:143 builtins/enable.def:151
+#: builtins/declare.def:891
+#, c-format
+msgid "%s: quoted compound array assignment deprecated"
+msgstr "%s: es desaconsella l'assignació múltiple en vectors utilitzant cometes"
+
+#: builtins/enable.def:145 builtins/enable.def:153
msgid "dynamic loading not available"
msgstr "no es poden carregar biblioteques dinàmicament"
-#: builtins/enable.def:343
+#: builtins/enable.def:376
#, c-format
msgid "cannot open shared object %s: %s"
msgstr "no es pot obrir l'objecte compartit %s: %s"
-#: builtins/enable.def:371
+#: builtins/enable.def:405
#, c-format
msgid "cannot find %s in shared object %s: %s"
msgstr "no s'ha trobat %s a l'objecte compartit %s: %s"
-#: builtins/enable.def:388
-#, fuzzy, c-format
+# help enable
+#: builtins/enable.def:422
+#, c-format
msgid "%s: dynamic builtin already loaded"
-msgstr "%s: no s'ha carregat dinàmicament"
+msgstr "%s: ordre interna dinàmica ja carregada"
-#: builtins/enable.def:392
+#: builtins/enable.def:426
#, c-format
msgid "load function for %s returns failure (%d): not loaded"
msgstr "l'intent de carregar %s ha fallat (%d): no carregat"
-#: builtins/enable.def:517
+#: builtins/enable.def:551
#, c-format
msgid "%s: not dynamically loaded"
msgstr "%s: no s'ha carregat dinàmicament"
-#: builtins/enable.def:543
+#: builtins/enable.def:577
#, c-format
msgid "%s: cannot delete: %s"
msgstr "%s: no es pot eliminar: %s"
-#: builtins/evalfile.c:138 builtins/hash.def:185 execute_cmd.c:5818
+#: builtins/evalfile.c:138 builtins/hash.def:185 execute_cmd.c:5959
#, c-format
msgid "%s: is a directory"
msgstr "%s: és un directori"
msgid "%s: file is too large"
msgstr "%s: el fitxer és massa gran"
-#: builtins/evalfile.c:188 builtins/evalfile.c:206 shell.c:1647
+#: builtins/evalfile.c:188 builtins/evalfile.c:206 shell.c:1673
#, c-format
msgid "%s: cannot execute binary file"
msgstr "%s: no es poden executar fitxers binaris"
"'\n"
"\n"
msgstr ""
+"'\n"
+"\n"
#: builtins/help.def:185
#, 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»."
+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:224
+#: builtins/help.def:223
#, c-format
msgid "%s: cannot open: %s"
msgstr "%s: no es pot obrir: %s"
-#: builtins/help.def:524
+#: builtins/help.def:523
#, c-format
msgid ""
"These shell commands are defined internally. Type `help' to see this list.\n"
"Un asterisc (*) significa que l'ordre està deshabilitada.\n"
"\n"
-#: builtins/history.def:155
+#: builtins/history.def:159
msgid "cannot use more than one of -anrw"
msgstr "no és possible usar més d'una opció d'entre -anrw"
-#: builtins/history.def:188 builtins/history.def:198 builtins/history.def:213
-#: builtins/history.def:230 builtins/history.def:242 builtins/history.def:249
+#: builtins/history.def:192 builtins/history.def:204 builtins/history.def:215
+#: builtins/history.def:228 builtins/history.def:240 builtins/history.def:247
msgid "history position"
msgstr "posició a l'historial"
-#: builtins/history.def:340
+#: builtins/history.def:338
#, c-format
msgid "%s: invalid timestamp"
msgstr "%s: la marca horària no és vàlida"
-#: builtins/history.def:451
+#: builtins/history.def:449
#, c-format
msgid "%s: history expansion failed"
msgstr "%s: ha fallat l'expansió de l'historial"
msgid "Unknown error"
msgstr "Error desconegut"
-#: builtins/let.def:97 builtins/let.def:122 expr.c:639 expr.c:657
+#: builtins/let.def:97 builtins/let.def:122 expr.c:640 expr.c:658
msgid "expression expected"
msgstr "s'esperava una expressió"
-#: builtins/mapfile.def:178
+#: builtins/mapfile.def:180
#, c-format
msgid "%s: not an indexed array"
msgstr "%s: no és un vector indexat"
-#: builtins/mapfile.def:271 builtins/read.def:308
+#: builtins/mapfile.def:276 builtins/read.def:336
#, c-format
msgid "%s: invalid file descriptor specification"
msgstr "%s: l'especificació de descriptor de fitxer no és vàlida"
-#: builtins/mapfile.def:279 builtins/read.def:315
+#: builtins/mapfile.def:284 builtins/read.def:343
#, c-format
msgid "%d: invalid file descriptor: %s"
msgstr "%d: el descriptor de fitxer no és vàlid: %s"
-#: builtins/mapfile.def:288 builtins/mapfile.def:326
+#: builtins/mapfile.def:293 builtins/mapfile.def:331
#, c-format
msgid "%s: invalid line count"
msgstr "%s: el nombre de línies no és vàlid"
-#: builtins/mapfile.def:299
+#: builtins/mapfile.def:304
#, c-format
msgid "%s: invalid array origin"
msgstr "%s: l'origen del vector no és vàlid"
-#: builtins/mapfile.def:316
+#: builtins/mapfile.def:321
#, c-format
msgid "%s: invalid callback quantum"
msgstr "%s: el quàntum de retorn no és vàlid"
-#: builtins/mapfile.def:349
+#: builtins/mapfile.def:354
msgid "empty array variable name"
msgstr "nom de variable vector en blanc"
-#: builtins/mapfile.def:370
+#: builtins/mapfile.def:375
msgid "array variable support required"
msgstr "fa falta suport per a variables vector"
-#: builtins/printf.def:419
+#: builtins/printf.def:430
#, c-format
msgid "`%s': missing format character"
msgstr "«%s»: falta un caràcter de format"
-#: builtins/printf.def:474
+#: builtins/printf.def:485
#, c-format
msgid "`%c': invalid time format specification"
msgstr "«%c»: l'especificació de format de temps no és vàlida"
-#: builtins/printf.def:676
+#: builtins/printf.def:708
#, c-format
msgid "`%c': invalid format character"
msgstr "«%c»: el caràcter de format no és vàlid"
-#: builtins/printf.def:702
+#: builtins/printf.def:734
#, c-format
msgid "warning: %s: %s"
msgstr "atenció: %s: %s"
-#: builtins/printf.def:788
+#: builtins/printf.def:822
#, c-format
msgid "format parsing problem: %s"
msgstr "problema en interpretar el format: %s"
-#: builtins/printf.def:885
+#: builtins/printf.def:919
msgid "missing hex digit for \\x"
msgstr "falta un dígit hexadecimal a \\x"
-#: builtins/printf.def:900
+#: builtins/printf.def:934
#, c-format
msgid "missing unicode digit for \\%c"
msgstr "falta un dígit Unicode a \\%c"
" \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 ""
-"Mostra la llista actual de directoris recordats. Els directoris són "
-"afegits\n"
+"Mostra la llista actual de directoris recordats. Els directoris són afegits\n"
" a la llista mitjançant l'ordre «pushd»; podeu recórrer la llista de\n"
" directoris cap enrere amb l'ordre «popd».\n"
"\n"
msgstr ""
"Afegeix un directori al capdamunt de la pila de directoris, o fa girar la\n"
" llista, de manera que al capdamunt de la pila hi queda el directori de\n"
-" treball corrent. Sense arguments, intercanvia els dos directoris de "
-"més\n"
+" treball corrent. Sense arguments, intercanvia els dos directoris de més\n"
" amunt.\n"
"\n"
" Opcions:\n"
" Podeu veure el contingut de la pila de directoris amb l'ordre «dirs»."
# read -t -5
-#: builtins/read.def:280
+#: builtins/read.def:308
#, c-format
msgid "%s: invalid timeout specification"
msgstr "%s: el límit de temps no és vàlid"
-#: builtins/read.def:755
+#: builtins/read.def:827
#, c-format
msgid "read error: %d: %s"
msgstr "error de lectura: %d: %s"
msgid "cannot simultaneously unset a function and a variable"
msgstr "no és possible suprimir una funció i una variable alhora"
-#: builtins/set.def:966
+#: builtins/set.def:969
#, c-format
msgid "%s: not an array variable"
msgstr "%s: no és una variable vector"
msgid "shift count"
msgstr "nombre de «shifts»"
-#: builtins/shopt.def:310
+#: builtins/shopt.def:323
msgid "cannot set and unset shell options simultaneously"
msgstr "no es poden activar i desactivar opcions de forma simultània"
# shopt -s foo
-#: builtins/shopt.def:428
+#: builtins/shopt.def:444
#, c-format
msgid "%s: invalid shell option name"
msgstr "%s: l'opció de l'intèrpret no és vàlida"
msgid "`%c': bad command"
msgstr "«%c»: ordre errònia"
-#: builtins/ulimit.def:455
+#: builtins/ulimit.def:464
#, c-format
msgid "%s: cannot get limit: %s"
msgstr "%s: no es pot obtenir el límit: %s"
-#: builtins/ulimit.def:481
+#: builtins/ulimit.def:490
msgid "limit"
msgstr "límit"
-#: builtins/ulimit.def:493 builtins/ulimit.def:793
+#: builtins/ulimit.def:502 builtins/ulimit.def:802
#, c-format
msgid "%s: cannot modify limit: %s"
msgstr "%s: no es pot modificar el límit: %s"
msgid "`%c': invalid symbolic mode character"
msgstr "«%c»: el mode simbòlic conté caràcters no vàlids"
-#: error.c:89 error.c:347 error.c:349 error.c:351
+#: error.c:89 error.c:373 error.c:375 error.c:377
msgid " line "
msgstr " línia "
msgid "INFORM: "
msgstr "INFORMACIÓ: "
-#: error.c:462
+#: error.c:310
+#, c-format
+msgid "DEBUG warning: "
+msgstr "atenció: "
+
+#: error.c:488
msgid "unknown command error"
msgstr "error no identificat"
-#: error.c:463
+#: error.c:489
msgid "bad command type"
msgstr "tipus d'ordre erroni"
-#: error.c:464
+#: error.c:490
msgid "bad connector"
msgstr "connector erroni"
-#: error.c:465
+#: error.c:491
msgid "bad jump"
msgstr "salt erroni"
-#: error.c:503
+#: error.c:529
#, c-format
msgid "%s: unbound variable"
msgstr "%s: variable no definida"
# SIGALRM
-#: eval.c:242
+#: eval.c:243
msgid "\atimed out waiting for input: auto-logout\n"
msgstr "\atemps esgotat mentre s'esperaven dades: autodesconnexió\n"
# error intern
-#: execute_cmd.c:537
+#: execute_cmd.c:555
#, c-format
msgid "cannot redirect standard input from /dev/null: %s"
msgstr "no s'ha pogut redirigir l'entrada estàndard des de /dev/null: %s"
# error intern
-#: execute_cmd.c:1297
+#: execute_cmd.c:1317
#, c-format
msgid "TIMEFORMAT: `%c': invalid format character"
msgstr "TIMEFORMAT: «%c»: el caràcter de format no és vàlid"
-#: execute_cmd.c:2362
+#: execute_cmd.c:2391
#, c-format
msgid "execute_coproc: coproc [%d:%s] still exists"
msgstr "execute_coproc: el coprocés [%d:%s] encara existeix"
-#: execute_cmd.c:2486
+#: execute_cmd.c:2524
msgid "pipe error"
msgstr "error de canonada"
-#: execute_cmd.c:4793
+#: execute_cmd.c:4923
#, c-format
msgid "eval: maximum eval nesting level exceeded (%d)"
msgstr "eval: excedit el nombre màxim d'avaluacions imbricades (%d)"
-#: execute_cmd.c:4805
+#: execute_cmd.c:4935
#, c-format
msgid "%s: maximum source nesting level exceeded (%d)"
msgstr "%s: excedit el nombre màxim d'imbricacions per a «source» (%d)"
-#: execute_cmd.c:4913
+#: execute_cmd.c:5043
#, c-format
msgid "%s: maximum function nesting level exceeded (%d)"
msgstr "%s: excedit el nombre màxim de funcions imbricades (%d)"
-#: execute_cmd.c:5467
+#: execute_cmd.c:5598
#, c-format
msgid "%s: restricted: cannot specify `/' in command names"
msgstr "%s: restricció: no podeu especificar «/» en noms d'ordres"
-#: execute_cmd.c:5574
+#: execute_cmd.c:5715
#, c-format
msgid "%s: command not found"
msgstr "%s: no s'ha trobat l'ordre"
-#: execute_cmd.c:5816
+#: execute_cmd.c:5957
#, c-format
msgid "%s: %s"
msgstr "%s: %s"
-#: execute_cmd.c:5854
+#: execute_cmd.c:5975
+#, c-format
+msgid "%s: cannot execute: required file not found"
+msgstr "%s: no es pot executar: no s'ha trobat un fitxer necessari"
+
+#: execute_cmd.c:6000
#, c-format
msgid "%s: %s: bad interpreter"
msgstr "%s: %s: intèrpret erroni"
# error intern
-#: execute_cmd.c:5891
+#: execute_cmd.c:6037
#, c-format
msgid "%s: cannot execute binary file: %s"
msgstr "%s: no es pot executar el fitxer binari: %s"
-#: execute_cmd.c:5977
+#: execute_cmd.c:6123
#, c-format
msgid "`%s': is a special builtin"
msgstr "«%s»: és una ordre interna especial"
-#: execute_cmd.c:6029
+#: execute_cmd.c:6175
#, c-format
msgid "cannot duplicate fd %d to fd %d"
msgstr "no s'ha pogut duplicar l'fd %d com a fd %d"
msgid "recursion stack underflow"
msgstr "«underflow» a la pila de recursivitat"
-#: expr.c:477
+#: expr.c:478
msgid "syntax error in expression"
msgstr "error de sintaxi a l'expressió"
-#: expr.c:521
+#: expr.c:522
msgid "attempted assignment to non-variable"
msgstr "intent d'assignació a una no-variable"
-#: expr.c:530
-#, fuzzy
+#: expr.c:531
msgid "syntax error in variable assignment"
-msgstr "error de sintaxi a l'expressió"
+msgstr "error de sintaxi en una assignació de variable"
-#: expr.c:544 expr.c:911
+#: expr.c:545 expr.c:912
msgid "division by 0"
msgstr "divisió per 0"
-#: expr.c:592
+#: expr.c:593
msgid "bug: bad expassign token"
msgstr "bug: el component «expassign» és erroni"
# echo $((4 > 5 ? 0))
-#: expr.c:646
+#: expr.c:647
msgid "`:' expected for conditional expression"
msgstr "falta un caràcter «:» a l'expressió condicional"
# echo $((4 ** -1))
-#: expr.c:972
+#: expr.c:973
msgid "exponent less than 0"
msgstr "exponent menor que 0"
-#: expr.c:1029
+#: expr.c:1030
msgid "identifier expected after pre-increment or pre-decrement"
msgstr "fa falta un identificador després del pre-increment o pre-decrement"
-#: expr.c:1056
+#: expr.c:1057
msgid "missing `)'"
msgstr "falta un caràcter «)»"
-#: expr.c:1107 expr.c:1487
+#: expr.c:1108 expr.c:1492
msgid "syntax error: operand expected"
msgstr "error de sintaxi: s'esperava un operand"
-#: expr.c:1489
+#: expr.c:1494
msgid "syntax error: invalid arithmetic operator"
msgstr "error de sintaxi: l'operador aritmètic no és vàlid"
-#: expr.c:1513
+#: expr.c:1518
#, c-format
msgid "%s%s%s: %s (error token is \"%s\")"
msgstr "%s%s%s: %s (l'element erroni és «%s»)"
-#: expr.c:1573
+#: expr.c:1578
msgid "invalid arithmetic base"
msgstr "la base aritmètica no és vàlida"
-#: expr.c:1582
-#, fuzzy
+#: expr.c:1587
msgid "invalid integer constant"
-msgstr "%s: el nombre de línies no és vàlid"
+msgstr "nombre enter invàlid"
-#: expr.c:1598
+#: expr.c:1603
msgid "value too great for base"
msgstr "el valor de la base és massa gran"
-#: expr.c:1647
+#: expr.c:1652
#, c-format
msgid "%s: expression error\n"
msgstr "%s: expressió errònia\n"
msgid "getcwd: cannot access parent directories"
msgstr "getcwd: els directoris superiors són inaccessibles"
-#: input.c:99 subst.c:6069
+#: input.c:99 subst.c:6208
#, c-format
msgid "cannot reset nodelay mode for fd %d"
msgstr "no s'ha pogut restablir el mode «nodelay» per a l'fd %d"
msgid "start_pipeline: pgrp pipe"
msgstr "start_pipeline: pgrp de la canonada"
-#: jobs.c:906
+#: jobs.c:907
#, c-format
msgid "bgp_delete: LOOP: psi (%d) == storage[psi].bucket_next"
-msgstr ""
+msgstr "bgp_delete: LOOP: psi (%d) == storage[psi].bucket_next"
-#: jobs.c:959
+#: jobs.c:960
#, c-format
msgid "bgp_search: LOOP: psi (%d) == storage[psi].bucket_next"
-msgstr ""
+msgstr "bgp_search: LOOP: psi (%d) == storage[psi].bucket_next"
-#: jobs.c:1283
+#: jobs.c:1279
#, c-format
msgid "forked pid %d appears in running job %d"
msgstr "el pid bifurcat %d apareix a la feina en execució %d"
-#: jobs.c:1402
+#: jobs.c:1397
#, c-format
msgid "deleting stopped job %d with process group %ld"
msgstr "s'elimina la feina aturada %d amb grup de procés %ld"
-#: jobs.c:1511
+#: jobs.c:1502
#, c-format
msgid "add_process: pid %5ld (%s) marked as still alive"
msgstr "add_process: el pid %5ld (%s) està marcat com a viu"
-#: jobs.c:1850
+#: jobs.c:1839
#, c-format
msgid "describe_pid: %ld: no such pid"
msgstr "describe_pid: %ld: no existeix tal pid"
-#: jobs.c:1865
+#: jobs.c:1854
#, c-format
msgid "Signal %d"
msgstr "Senyal %d"
-#: jobs.c:1879 jobs.c:1905
+#: jobs.c:1868 jobs.c:1894
msgid "Done"
msgstr "Fet"
-#: jobs.c:1884 siglist.c:122
+#: jobs.c:1873 siglist.c:123
msgid "Stopped"
msgstr "Aturat"
-#: jobs.c:1888
+#: jobs.c:1877
#, c-format
msgid "Stopped(%s)"
msgstr "Aturat(%s)"
# ha de tenir menys de 10 caràcters o no queda alineat
-#: jobs.c:1892
+#: jobs.c:1881
msgid "Running"
msgstr "Funcionant"
-#: jobs.c:1909
+#: jobs.c:1898
#, c-format
msgid "Done(%d)"
msgstr "Fet(%d)"
-#: jobs.c:1911
+#: jobs.c:1900
#, c-format
msgid "Exit %d"
msgstr "Sortida %d"
-#: jobs.c:1914
+#: jobs.c:1903
msgid "Unknown status"
msgstr "Estat desconegut"
-#: jobs.c:2001
+#: jobs.c:1990
#, c-format
msgid "(core dumped) "
msgstr "(s'ha bolcat la memòria)"
# wd = working directory
-#: jobs.c:2020
+#: jobs.c:2009
#, c-format
msgid " (wd: %s)"
msgstr " (dt: %s)"
-#: jobs.c:2259
+#: jobs.c:2250
#, c-format
msgid "child setpgid (%ld to %ld)"
msgstr "setpgid (de %ld a %ld) per al procés inferior"
-#: jobs.c:2617 nojobs.c:664
+#: jobs.c:2608 nojobs.c:666
#, c-format
msgid "wait: pid %ld is not a child of this shell"
msgstr "wait: el pid %ld no és un fill d'aquest intèrpret"
-#: jobs.c:2893
+#: jobs.c:2884
#, c-format
msgid "wait_for: No record of process %ld"
-msgstr "wait_for: No es té constància del procés %ld"
+msgstr "wait_for: No hi ha constància del procés %ld"
-#: jobs.c:3236
+#: jobs.c:3223
#, c-format
msgid "wait_for_job: job %d is stopped"
msgstr "wait_for_job: la feina %d està aturada"
-#: jobs.c:3564
-#, fuzzy, c-format
+#: jobs.c:3551
+#, c-format
msgid "%s: no current jobs"
-msgstr "%s: no existeix tal feina"
+msgstr "%s: no hi ha feines en curs"
-#: jobs.c:3571
+#: jobs.c:3558
#, c-format
msgid "%s: job has terminated"
msgstr "%s: la feina ha acabat"
-#: jobs.c:3580
+#: jobs.c:3567
#, c-format
msgid "%s: job %d already in background"
msgstr "%s: la feina %d ja es troba en segon pla"
-#: jobs.c:3806
+#: jobs.c:3793
msgid "waitchld: turning on WNOHANG to avoid indefinite block"
msgstr "waitchld: s'activa «WNOHANG» per a evitar un bloqueig indefinit"
-#: jobs.c:4320
+#: jobs.c:4307
#, c-format
msgid "%s: line %d: "
msgstr "%s línia %d: "
-#: jobs.c:4334 nojobs.c:919
+#: jobs.c:4321 nojobs.c:921
#, c-format
msgid " (core dumped)"
msgstr " (s'ha bolcat la memòria)"
-#: jobs.c:4346 jobs.c:4359
+#: jobs.c:4333 jobs.c:4346
#, c-format
msgid "(wd now: %s)\n"
msgstr "(dt ara: %s)\n"
-#: jobs.c:4391
+#: jobs.c:4378
msgid "initialize_job_control: getpgrp failed"
msgstr "initialize_job_control: getpgrp ha fallat"
-#: jobs.c:4447
-#, fuzzy
+#: jobs.c:4434
msgid "initialize_job_control: no job control in background"
-msgstr "initialize_job_control: disciplina de línia"
+msgstr "initialize_job_control: no s'està executant el control de feines"
-#: jobs.c:4463
+#: jobs.c:4450
msgid "initialize_job_control: line discipline"
msgstr "initialize_job_control: disciplina de línia"
-#: jobs.c:4473
+#: jobs.c:4460
msgid "initialize_job_control: setpgid"
msgstr "initialize_job_control: setpgid"
-#: jobs.c:4494 jobs.c:4503
+#: jobs.c:4481 jobs.c:4490
#, c-format
msgid "cannot set terminal process group (%d)"
msgstr "no s'ha pogut establir el grup de procés del terminal (%d)"
-#: jobs.c:4508
+#: jobs.c:4495
msgid "no job control in this shell"
msgstr "aquesta sessió no té control de feines"
-#: lib/malloc/malloc.c:353
+#: lib/malloc/malloc.c:367
#, c-format
msgid "malloc: failed assertion: %s\n"
msgstr "malloc: asserció fallida: %s\n"
# error intern i el \r provoca warnings
-#: lib/malloc/malloc.c:369
+#: lib/malloc/malloc.c:383
#, c-format
msgid ""
"\r\n"
"malloc: %s:%d: assertion botched\r\n"
msgstr ""
+"\\r\n"
+"malloc: %s:%d: asserció mal executada\\r\n"
-#: lib/malloc/malloc.c:370 lib/malloc/malloc.c:933
+#: lib/malloc/malloc.c:384 lib/malloc/malloc.c:941
msgid "unknown"
msgstr "desconegut"
-#: lib/malloc/malloc.c:882
+#: lib/malloc/malloc.c:892
msgid "malloc: block on free list clobbered"
msgstr "malloc: bloc abatussat a la llista de disponibles"
-#: lib/malloc/malloc.c:972
+#: lib/malloc/malloc.c:980
msgid "free: called with already freed block argument"
msgstr "free: cridat amb un argument de bloc ja alliberat"
-#: lib/malloc/malloc.c:975
+#: lib/malloc/malloc.c:983
msgid "free: called with unallocated block argument"
msgstr "free: cridat amb un argument bloc no assignat"
-#: lib/malloc/malloc.c:994
+#: lib/malloc/malloc.c:1001
msgid "free: underflow detected; mh_nbytes out of range"
msgstr "free: underflow detectat; mh_nbytes fora del domini"
-#: lib/malloc/malloc.c:1001
-#, fuzzy
+#: lib/malloc/malloc.c:1007
msgid "free: underflow detected; magic8 corrupted"
-msgstr "free: underflow detectat; mh_nbytes fora del domini"
+msgstr "free: underflow detectat; la variable magic8 està corrompuda"
-#: lib/malloc/malloc.c:1009
+#: lib/malloc/malloc.c:1014
msgid "free: start and end chunk sizes differ"
msgstr "free: les mides inicial i final del fragment difereixen"
-#: lib/malloc/malloc.c:1119
+#: lib/malloc/malloc.c:1176
msgid "realloc: called with unallocated block argument"
msgstr "realloc: cridat amb un argument de bloc no assignat"
-#: lib/malloc/malloc.c:1134
+#: lib/malloc/malloc.c:1191
msgid "realloc: underflow detected; mh_nbytes out of range"
msgstr "realloc: underflow detectat: mh_nbytes fora del domini"
-#: lib/malloc/malloc.c:1141
-#, fuzzy
+#: lib/malloc/malloc.c:1197
msgid "realloc: underflow detected; magic8 corrupted"
-msgstr "realloc: underflow detectat: mh_nbytes fora del domini"
+msgstr "realloc: underflow detectat: la variable magic8 està corrumpuda"
-#: lib/malloc/malloc.c:1150
+#: lib/malloc/malloc.c:1205
msgid "realloc: start and end chunk sizes differ"
msgstr "realloc: les mides inicial i final del fragment difereixen"
msgid "network operations not supported"
msgstr "les operacions de xarxa no estan suportades"
-#: locale.c:217
+#: locale.c:219
#, c-format
msgid "setlocale: LC_ALL: cannot change locale (%s)"
msgstr "setlocale: LC_ALL: no s'ha pogut canviar el local (%s)"
-#: locale.c:219
+#: locale.c:221
#, c-format
msgid "setlocale: LC_ALL: cannot change locale (%s): %s"
msgstr "setlocale: LC_ALL: no s'ha pogut canviar el local (%s): %s"
-#: locale.c:292
+#: locale.c:294
#, c-format
msgid "setlocale: %s: cannot change locale (%s)"
msgstr "setlocale: %s: no s'ha pogut canviar el local (%s)"
-#: locale.c:294
+#: locale.c:296
#, c-format
msgid "setlocale: %s: cannot change locale (%s): %s"
msgstr "setlocale: %s: no s'ha pogut canviar el local (%s): %s"
msgid "The mail in %s has been read\n"
msgstr "El correu a %s ha estat llegit\n"
-#: make_cmd.c:317
+#: make_cmd.c:314
msgid "syntax error: arithmetic expression required"
msgstr "error de sintaxi: fa falta una expressió aritmètica"
-#: make_cmd.c:319
+#: make_cmd.c:316
msgid "syntax error: `;' unexpected"
msgstr "error de sintaxi: «;» inesperat"
-#: make_cmd.c:320
+#: make_cmd.c:317
#, c-format
msgid "syntax error: `((%s))'"
msgstr "error de sintaxi: «((%s))»"
-#: make_cmd.c:572
+#: make_cmd.c:569
#, c-format
msgid "make_here_document: bad instruction type %d"
msgstr "make_here_document: tipus d'instrucció erroni %d"
-#: make_cmd.c:657
+#: make_cmd.c:668
#, c-format
msgid "here-document at line %d delimited by end-of-file (wanted `%s')"
msgstr "document literal a la línia %d delimitat per EOF (volia «%s»)"
-#: make_cmd.c:756
+#: make_cmd.c:769
#, c-format
msgid "make_redirection: redirection instruction `%d' out of range"
msgstr "make_redirection: instrucció de redirecció «%d» fora del domini"
-#: parse.y:2393
+#: parse.y:2428
#, c-format
-msgid ""
-"shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line "
-"truncated"
-msgstr ""
-"shell_getc: shell_input_line_size (%zu) excedeix «SIZE_MAX» (%lu): línia "
-"truncada"
+msgid "shell_getc: shell_input_line_size (%zu) exceeds SIZE_MAX (%lu): line truncated"
+msgstr "shell_getc: shell_input_line_size (%zu) excedeix «SIZE_MAX» (%lu): línia truncada"
-#: parse.y:2826
+#: parse.y:2921
msgid "maximum here-document count exceeded"
msgstr "excedit el nombre màxim de documents literals"
# "echo $(echo" en un script
-#: parse.y:3581 parse.y:3957 parse.y:4556
+#: parse.y:3684 parse.y:4244 parse.y:6148
#, c-format
msgid "unexpected EOF while looking for matching `%c'"
msgstr "EOF inesperat mentre es cercava «%c»"
-#: parse.y:4696
+#: parse.y:4452
msgid "unexpected EOF while looking for `]]'"
msgstr "EOF inesperat mentre es cercava «]]»"
-#: parse.y:4701
+#: parse.y:4457
#, c-format
msgid "syntax error in conditional expression: unexpected token `%s'"
msgstr "error de sintaxi a l'expressió condicional: element «%s» inesperat"
-#: parse.y:4705
+#: parse.y:4461
msgid "syntax error in conditional expression"
msgstr "error de sintaxi a l'expressió condicional"
-#: parse.y:4783
+#: parse.y:4539
#, c-format
msgid "unexpected token `%s', expected `)'"
msgstr "element «%s» inesperat, s'esperava «)»"
-#: parse.y:4787
+#: parse.y:4543
msgid "expected `)'"
msgstr "s'esperava «)»"
# [[ -d ]]
-#: parse.y:4815
+#: parse.y:4571
#, c-format
msgid "unexpected argument `%s' to conditional unary operator"
msgstr "argument «%s» inesperat a un operador unari condicional"
-#: parse.y:4819
+#: parse.y:4575
msgid "unexpected argument to conditional unary operator"
msgstr "argument inesperat a un operador unari condicional"
-#: parse.y:4865
+#: parse.y:4621
#, c-format
msgid "unexpected token `%s', conditional binary operator expected"
msgstr "element «%s» inesperat, s'esperava un operador binari condicional"
-#: parse.y:4869
+#: parse.y:4625
msgid "conditional binary operator expected"
msgstr "s'esperava un operador binari condicional"
-#: parse.y:4891
+#: parse.y:4647
#, c-format
msgid "unexpected argument `%s' to conditional binary operator"
msgstr "argument inesperat «%s» a un operador binari condicional"
-#: parse.y:4895
+#: parse.y:4651
msgid "unexpected argument to conditional binary operator"
msgstr "argument inesperat a un operador binari condicional"
-#: parse.y:4906
+#: parse.y:4662
#, c-format
msgid "unexpected token `%c' in conditional command"
msgstr "element «%c» inesperat en una ordre condicional"
-#: parse.y:4909
+#: parse.y:4665
#, c-format
msgid "unexpected token `%s' in conditional command"
msgstr "element «%s» inesperat en una ordre condicional"
-#: parse.y:4913
+#: parse.y:4669
#, c-format
msgid "unexpected token %d in conditional command"
msgstr "element %d inesperat en una ordre condicional"
-#: parse.y:6336
+#: parse.y:6118
#, c-format
msgid "syntax error near unexpected token `%s'"
msgstr "error de sintaxi a prop de l'element inesperat «%s»"
-#: parse.y:6355
+#: parse.y:6137
#, c-format
msgid "syntax error near `%s'"
msgstr "error de sintaxi a prop de «%s»"
-#: parse.y:6365
+#: parse.y:6151
msgid "syntax error: unexpected end of file"
msgstr "error de sintaxi: final de fitxer inesperat"
-#: parse.y:6365
+#: parse.y:6151
msgid "syntax error"
msgstr "error de sintaxi"
-#: parse.y:6428
+#: parse.y:6216
#, c-format
msgid "Use \"%s\" to leave the shell.\n"
msgstr "Useu \"%s\" per a abandonar l'intèrpret.\n"
-#: parse.y:6602
+#: parse.y:6394
msgid "unexpected EOF while looking for matching `)'"
msgstr "EOF inesperat mentre es cercava un «)»"
msgid "xtrace fd (%d) != fileno xtrace fp (%d)"
msgstr "xtrace fd (%d) != fileno xtrace fp (%d)"
-#: print_cmd.c:1540
+#: print_cmd.c:1545
#, c-format
msgid "cprintf: `%c': invalid format character"
msgstr "cprintf: «%c»: el caràcter de format no és vàlid"
-#: redir.c:149 redir.c:197
+#: redir.c:150 redir.c:198
msgid "file descriptor out of range"
msgstr "descriptor de fitxer fora del domini"
-#: redir.c:204
+#: redir.c:205
#, c-format
msgid "%s: ambiguous redirect"
msgstr "%s: redirecció ambigua"
# opció noclobber
-#: redir.c:208
+#: redir.c:209
#, c-format
msgid "%s: cannot overwrite existing file"
msgstr "%s: no es pot escriure sobre un fitxer existent"
-#: redir.c:213
+#: redir.c:214
#, c-format
msgid "%s: restricted: cannot redirect output"
msgstr "%s: restricció: no podeu redirigir la sortida"
-#: redir.c:218
+#: redir.c:219
#, c-format
msgid "cannot create temp file for here-document: %s"
msgstr "no s'ha pogut crear el fitxer temporal per a un document literal: %s"
-#: redir.c:222
+#: redir.c:223
#, c-format
msgid "%s: cannot assign fd to variable"
msgstr "%s: no és possible assignar un fd a una variable"
-#: redir.c:649
+#: redir.c:650
msgid "/dev/(tcp|udp)/host/port not supported without networking"
msgstr "/dev/(tcp|udp)/host/port no està suportat si no hi ha xarxa"
-#: redir.c:938 redir.c:1053 redir.c:1114 redir.c:1284
+#: redir.c:945 redir.c:1065 redir.c:1130 redir.c:1303
msgid "redirection error: cannot duplicate fd"
msgstr "error de redirecció: no es pot duplicar l'fd"
-#: shell.c:347
+#: shell.c:353
msgid "could not find /tmp, please create!"
msgstr "no s'ha trobat el directori /tmp, sis-plau creeu-lo!"
-#: shell.c:351
+#: shell.c:357
msgid "/tmp must be a valid directory name"
msgstr "/tmp ha de ser un nom de directori vàlid"
-#: shell.c:804
+#: shell.c:826
msgid "pretty-printing mode ignored in interactive shells"
-msgstr ""
+msgstr "el mode «pretty-printing» s'ignora en sessions interactives"
-#: shell.c:948
+#: shell.c:972
#, c-format
msgid "%c%c: invalid option"
msgstr "%c%c: l'opció no és vàlida"
-#: shell.c:1319
+#: shell.c:1343
#, c-format
msgid "cannot set uid to %d: effective uid %d"
msgstr "no s'ha pogut establir l'uid com a %d: uid effectiu %d"
-#: shell.c:1330
+#: shell.c:1354
#, c-format
msgid "cannot set gid to %d: effective gid %d"
msgstr "no s'ha pogut establir el gid com a %d: gid effectiu %d"
-#: shell.c:1518
+#: shell.c:1544
msgid "cannot start debugger; debugging mode disabled"
msgstr "no es pot iniciar el depurador; mode de depuració desactivat"
-#: shell.c:1632
+#: shell.c:1658
#, c-format
msgid "%s: Is a directory"
msgstr "%s: És un directori"
-#: shell.c:1881
+#: shell.c:1907
msgid "I have no name!"
msgstr "No teniu nom!"
-#: shell.c:2035
+#: shell.c:2061
#, c-format
msgid "GNU bash, version %s-(%s)\n"
msgstr "GNU bash, versió %s-(%s)\n"
#
-#: shell.c:2036
+#: shell.c:2062
#, c-format
msgid ""
"Usage:\t%s [GNU long option] [option] ...\n"
"Sintaxi: %s [opció GNU llarga] [opció] ...\n"
" %s [opció GNU llarga] [opció] fitxer-script ...\n"
-#: shell.c:2038
+#: shell.c:2064
msgid "GNU long options:\n"
msgstr "Opcions GNU llargues:\n"
-#: shell.c:2042
+#: shell.c:2068
msgid "Shell options:\n"
msgstr "Opcions de l'intèrpret:\n"
-#: shell.c:2043
+#: shell.c:2069
msgid "\t-ilrsD or -c command or -O shopt_option\t\t(invocation only)\n"
msgstr "\t-ilrsD, o -c ordre, o bé -O opció_intèrpret\t(només invocació)\n"
-#: shell.c:2062
+#: shell.c:2088
#, c-format
msgid "\t-%s or -o option\n"
msgstr "\t-%s, o bé -o opció\n"
-#: shell.c:2068
+#: shell.c:2094
#, c-format
msgid "Type `%s -c \"help set\"' for more information about shell options.\n"
-msgstr ""
-"Feu «%s -c \"help set\"» per a informació sobre les opcions de l'intèrpret.\n"
+msgstr "Feu «%s -c \"help set\"» per a informació sobre les opcions de l'intèrpret.\n"
-#: shell.c:2069
+#: shell.c:2095
#, c-format
msgid "Type `%s -c help' for more information about shell builtin commands.\n"
msgstr "Feu «%s -c help» per a obtenir informació sobre les ordres internes.\n"
-#: shell.c:2070
+#: shell.c:2096
#, c-format
msgid "Use the `bashbug' command to report bugs.\n"
msgstr "Feu servir l'ordre «bashbug» per a informar de «bugs».\n"
-#: shell.c:2072
+#: shell.c:2098
#, c-format
msgid "bash home page: <http://www.gnu.org/software/bash>\n"
msgstr "pàgina web de bash: <http://www.gnu.org/software/bash>\n"
-#: shell.c:2073
+#: shell.c:2099
#, c-format
msgid "General help using GNU software: <http://www.gnu.org/gethelp/>\n"
msgstr "Ajuda general per a programari GNU: <http://www.gnu.org/gethelp/>\n"
-#: sig.c:757
+#: sig.c:765
#, c-format
msgid "sigprocmask: %d: invalid operation"
msgstr "sigprocmask: %d: l'operació no és vàlida"
-#: siglist.c:47
+#: siglist.c:48
msgid "Bogus signal"
msgstr "Senyal no fiable"
# Senyals POSIX
-#: siglist.c:50
+#: siglist.c:51
msgid "Hangup"
msgstr "Desconnexió"
-#: siglist.c:54
+#: siglist.c:55
msgid "Interrupt"
msgstr "Interrupció"
-#: siglist.c:58
+#: siglist.c:59
msgid "Quit"
msgstr "Sortida"
-#: siglist.c:62
+#: siglist.c:63
msgid "Illegal instruction"
msgstr "Instrucció il·legal"
-#: siglist.c:66
+#: siglist.c:67
msgid "BPT trace/trap"
msgstr "Traçat/trampa BPT"
-#: siglist.c:74
+#: siglist.c:75
msgid "ABORT instruction"
msgstr "Instrucció «ABORT»"
-#: siglist.c:78
+#: siglist.c:79
msgid "EMT instruction"
msgstr "Instrucció «EMT»"
-#: siglist.c:82
+#: siglist.c:83
msgid "Floating point exception"
msgstr "Excepció de coma flotant"
-#: siglist.c:86
+#: siglist.c:87
msgid "Killed"
msgstr "Mort"
-#: siglist.c:90
+#: siglist.c:91
msgid "Bus error"
msgstr "Error de bus"
-#: siglist.c:94
+#: siglist.c:95
msgid "Segmentation fault"
msgstr "Violació de segment"
-#: siglist.c:98
+#: siglist.c:99
msgid "Bad system call"
msgstr "Crida de sistema errònia"
-#: siglist.c:102
+#: siglist.c:103
msgid "Broken pipe"
msgstr "Canonada trencada"
-#: siglist.c:106
+#: siglist.c:107
msgid "Alarm clock"
msgstr "Alarma"
-#: siglist.c:110
+#: siglist.c:111
msgid "Terminated"
msgstr "Finalitzat"
-#: siglist.c:114
+#: siglist.c:115
msgid "Urgent IO condition"
msgstr "Estat E/S urgent"
-#: siglist.c:118
+#: siglist.c:119
msgid "Stopped (signal)"
msgstr "Aturat (senyal)"
-#: siglist.c:126
+#: siglist.c:127
msgid "Continue"
msgstr "Continua"
-#: siglist.c:134
+#: siglist.c:135
msgid "Child death or stop"
msgstr "Procés inferior mort o aturat"
-#: siglist.c:138
+#: siglist.c:139
msgid "Stopped (tty input)"
msgstr "Aturat (entrada tty)"
-#: siglist.c:142
+#: siglist.c:143
msgid "Stopped (tty output)"
msgstr "Aturat (sortida tty)"
-#: siglist.c:146
+#: siglist.c:147
msgid "I/O ready"
msgstr "E/S a punt"
-#: siglist.c:150
+#: siglist.c:151
msgid "CPU limit"
msgstr "Limitació de CPU"
-#: siglist.c:154
+#: siglist.c:155
msgid "File limit"
msgstr "Limitació de fitxers"
-#: siglist.c:158
+#: siglist.c:159
msgid "Alarm (virtual)"
msgstr "Alarma (virtual)"
-#: siglist.c:162
+#: siglist.c:163
msgid "Alarm (profile)"
msgstr "Alarma (perfil)"
-#: siglist.c:166
+#: siglist.c:167
msgid "Window changed"
msgstr "Canvi de finestra"
-#: siglist.c:170
+#: siglist.c:171
msgid "Record lock"
msgstr "Bloqueig de registre"
-#: siglist.c:174
+#: siglist.c:175
msgid "User signal 1"
msgstr "Senyal d'usuari 1"
-#: siglist.c:178
+#: siglist.c:179
msgid "User signal 2"
msgstr "Senyal d'usuari 2"
-#: siglist.c:182
+#: siglist.c:183
msgid "HFT input data pending"
msgstr "Dades HFT d'entrada pendents"
-#: siglist.c:186
+#: siglist.c:187
msgid "power failure imminent"
msgstr "fallada imminent de l'alimentació"
-#: siglist.c:190
+#: siglist.c:191
msgid "system crash imminent"
msgstr "fallada imminent del sistema"
-#: siglist.c:194
+#: siglist.c:195
msgid "migrate process to another CPU"
msgstr "migració del procés a una altra CPU"
-#: siglist.c:198
+#: siglist.c:199
msgid "programming error"
msgstr "error de programació"
-#: siglist.c:202
+#: siglist.c:203
msgid "HFT monitor mode granted"
msgstr "mode de monitoratge HFT concedit"
-#: siglist.c:206
+#: siglist.c:207
msgid "HFT monitor mode retracted"
msgstr "mode de monitoratge HFT retractat"
-#: siglist.c:210
+#: siglist.c:211
msgid "HFT sound sequence has completed"
msgstr "seqüència d'àudio HFT completada"
-#: siglist.c:214
+#: siglist.c:215
msgid "Information request"
msgstr "Petició d'informació"
-#: siglist.c:222 siglist.c:224
+#: siglist.c:223 siglist.c:225
#, c-format
msgid "Unknown Signal #%d"
msgstr "Senyal Desconegut #%d"
# missatge similar a subst.c:75XX
-#: subst.c:1476 subst.c:1666
+#: subst.c:1480 subst.c:1670
#, c-format
msgid "bad substitution: no closing `%s' in %s"
msgstr "substitució errònia: falta un «%s» a %s"
# foo[1]=(1 2 3)
-#: subst.c:3281
+#: subst.c:3307
#, c-format
msgid "%s: cannot assign list to array member"
msgstr "%s: no és possible assignar llistes a l'element d'un vector"
-#: subst.c:5910 subst.c:5926
+#: subst.c:6048 subst.c:6064
msgid "cannot make pipe for process substitution"
msgstr "no s'ha pogut crear la canonada per a la substitució de procés"
-#: subst.c:5985
+#: subst.c:6124
msgid "cannot make child for process substitution"
msgstr "no s'ha pogut crear el fill per a la substitució de procés"
-#: subst.c:6059
+#: subst.c:6198
#, c-format
msgid "cannot open named pipe %s for reading"
msgstr "no s'ha pogut obrir la canonada %s per a lectura"
-#: subst.c:6061
+#: subst.c:6200
#, c-format
msgid "cannot open named pipe %s for writing"
msgstr "no s'ha pogut obrir la canonada %s per a escriptura"
-#: subst.c:6084
+#: subst.c:6223
#, c-format
msgid "cannot duplicate named pipe %s as fd %d"
msgstr "no s'ha pogut duplicar la canonada %s com a fd %d"
-#: subst.c:6213
+#: subst.c:6370
msgid "command substitution: ignored null byte in input"
msgstr "substitució d'ordre: s'ignora un octet nul en l'entrada"
-#: subst.c:6353
+#: subst.c:6533
msgid "cannot make pipe for command substitution"
msgstr "no s'ha pogut crear la canonada per a la substitució d'ordre"
-#: subst.c:6397
+#: subst.c:6580
msgid "cannot make child for command substitution"
msgstr "no s'ha pogut crear un fill per a la substitució d'ordre"
-#: subst.c:6423
+#: subst.c:6613
msgid "command_substitute: cannot duplicate pipe as fd 1"
msgstr "command_substitute: no s'ha pogut duplicar la canonada com a fd 1"
# buscar context
-#: subst.c:6883 subst.c:9952
+#: subst.c:7082 subst.c:10252
#, c-format
msgid "%s: invalid variable name for name reference"
msgstr "%s: el nom de la variable referenciada no és vàlid"
-#: subst.c:6979 subst.c:6997 subst.c:7169
+#: subst.c:7178 subst.c:7196 subst.c:7369
#, c-format
msgid "%s: invalid indirect expansion"
msgstr "%s: expansió indirecta no vàlida"
-#: subst.c:7013 subst.c:7177
+#: subst.c:7212 subst.c:7377
#, c-format
msgid "%s: invalid variable name"
msgstr "%s: nom de variable no vàlid"
-#: subst.c:7256
-#, fuzzy, c-format
+#: subst.c:7478
+#, c-format
msgid "%s: parameter not set"
-msgstr "%s: paràmetre nul o no definit"
+msgstr "%s: paràmetre no definit"
-#: subst.c:7258
+#: subst.c:7480
#, c-format
msgid "%s: parameter null or not set"
msgstr "%s: paràmetre nul o no definit"
-#: subst.c:7503 subst.c:7518
+#: subst.c:7727 subst.c:7742
#, c-format
msgid "%s: substring expression < 0"
msgstr "%s: expressió de subcadena < 0"
-#: subst.c:9281 subst.c:9302
+#: subst.c:9560 subst.c:9587
#, c-format
msgid "%s: bad substitution"
msgstr "%s: substitució errònia"
-#: subst.c:9390
+#: subst.c:9678
#, c-format
msgid "$%s: cannot assign in this way"
msgstr "$%s: no és possible assignar d'aquesta manera"
-#: subst.c:9814
-msgid ""
-"future versions of the shell will force evaluation as an arithmetic "
-"substitution"
+#: subst.c:10111
+msgid "future versions of the shell will force evaluation as an arithmetic substitution"
msgstr "en futures versions de bash s'avaluarà com a substitució aritmètica"
-#: subst.c:10367
+#: subst.c:10795
#, c-format
msgid "bad substitution: no closing \"`\" in %s"
msgstr "subtitució errònia: falta un caràcter «`» final a %s"
-#: subst.c:11434
+#: subst.c:11874
#, c-format
msgid "no match: %s"
msgstr "cap coincidència: %s"
msgid "`)' expected, found %s"
msgstr "s'esperava «)», s'ha trobat %s"
-#: test.c:466 test.c:799
+#: test.c:469 test.c:814
#, c-format
msgid "%s: binary operator expected"
msgstr "%s: s'esperava un operador binari"
-#: test.c:756 test.c:759
+#: test.c:771 test.c:774
#, c-format
msgid "%s: unary operator expected"
msgstr "%s: s'esperava un operador unari"
-#: test.c:881
+#: test.c:896
msgid "missing `]'"
msgstr "falta un «]»"
-#: test.c:899
-#, fuzzy, c-format
+#: test.c:914
+#, c-format
msgid "syntax error: `%s' unexpected"
-msgstr "error de sintaxi: «;» inesperat"
+msgstr "error de sintaxi: «%s» inesperat"
#: trap.c:220
msgid "invalid signal number"
msgstr "el número de senyal no és vàlid"
-#: trap.c:325
-#, fuzzy, c-format
+#: trap.c:323
+#, c-format
msgid "trap handler: maximum trap handler level exceeded (%d)"
-msgstr "eval: excedit el nombre màxim d'avaluacions imbricades (%d)"
+msgstr "trap handler: excedit el nivell màxim d'interceptació de senyals (%d)"
# internal warning
-#: trap.c:414
+#: trap.c:412
#, c-format
msgid "run_pending_traps: bad value in trap_list[%d]: %p"
msgstr "run_pending_traps: valor incorrecte a trap_list[%d]: %p"
# internal warning
-#: trap.c:418
+#: trap.c:416
#, c-format
-msgid ""
-"run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself"
-msgstr ""
+msgid "run_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myself"
+msgstr "run_pending_traps: el gestor de senyal és SIG_DFL, em re-envio %d (%s) a mi mateix"
-#: trap.c:487
+#: trap.c:509
#, c-format
msgid "trap_handler: bad signal %d"
msgstr "trap_handler: senyal erroni %d"
-#: variables.c:421
+#: variables.c:424
#, c-format
msgid "error importing function definition for `%s'"
msgstr "error en importar la definició de funció de «%s»"
-#: variables.c:833
+#: variables.c:838
#, c-format
msgid "shell level (%d) too high, resetting to 1"
msgstr "el nivell de l'intèrpret (%d) és massa elevat, es restableix a 1"
# error intern
-#: variables.c:2674
+#: variables.c:2642
msgid "make_local_variable: no function context at current scope"
-msgstr ""
+msgstr "make_local_variable: no existeix un context de funció en l'àmbit actual"
-#: variables.c:2693
+#: variables.c:2661
#, c-format
msgid "%s: variable may not be assigned value"
msgstr "%s: no és possible assignar un valor a la variable"
+#: variables.c:2818 variables.c:2874
+#, c-format
+msgid "%s: cannot inherit value from incompatible type"
+msgstr "%s: no es pot heretar un valor de tipus incompatible"
+
# buscar context
-#: variables.c:3475
+#: variables.c:3459
#, c-format
msgid "%s: assigning integer to name reference"
msgstr "%s: assignació numèrica a una variable referència"
# error intern
-#: variables.c:4404
+#: variables.c:4390
msgid "all_local_variables: no function context at current scope"
-msgstr ""
+msgstr "all_local_variables: no existeix un context de función en l'àmbit actual"
-#: variables.c:4771
+#: variables.c:4757
#, c-format
msgid "%s has null exportstr"
msgstr "el paràmetre «exportstr» de la variable %s és nul"
-#: variables.c:4776 variables.c:4785
+#: variables.c:4762 variables.c:4771
#, c-format
msgid "invalid character %d in exportstr for %s"
msgstr "el caràcter %d en el paràmetre «exportstr» de %s no és vàlid"
-#: variables.c:4791
+#: variables.c:4777
#, c-format
msgid "no `=' in exportstr for %s"
msgstr "falta un «=» en el paràmetre «exportstr» de %s"
# error intern
-#: variables.c:5331
+#: variables.c:5317
msgid "pop_var_context: head of shell_variables not a function context"
-msgstr ""
+msgstr "pop_var_context: la capçalera de shell_variables no és un context de funció"
# error intern
-#: variables.c:5344
+#: variables.c:5330
msgid "pop_var_context: no global_variables context"
-msgstr ""
+msgstr "pop_var_context: no existeix un context de global_variables"
# error intern
-#: variables.c:5424
+#: variables.c:5410
msgid "pop_scope: head of shell_variables not a temporary environment scope"
-msgstr ""
+msgstr "pop_scope: la capçaleras shell_variables no és un àmbit temporal d'entorn"
# error intern
-#: variables.c:6387
+#: variables.c:6400
#, c-format
msgid "%s: %s: cannot open as FILE"
msgstr "%s: %s: no s'ha pogut obrir com a FITXER"
# error intern
-#: variables.c:6392
+#: variables.c:6405
#, c-format
msgid "%s: %s: invalid value for trace file descriptor"
-msgstr ""
+msgstr "%s: %s: valor invàlid per a una traça de descriptor de fitxer"
-#: variables.c:6437
+#: variables.c:6450
#, c-format
msgid "%s: %s: compatibility value out of range"
msgstr "%s: %s: el valor de compatibilitat és fora del domini"
#: version.c:46 version2.c:46
-#, fuzzy
-msgid "Copyright (C) 2020 Free Software Foundation, Inc."
-msgstr "Copyright (C) 2012 Free Software Foundation, Inc."
+msgid "Copyright (C) 2022 Free Software Foundation, Inc."
+msgstr "Copyright (C) 2022 Free Software Foundation, Inc."
#: version.c:47 version2.c:47
-msgid ""
-"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl."
-"html>\n"
+msgid "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"
msgstr ""
"Llicència GPLv3+: GNU GPL versió 3 o posterior\n"
" <http://gnu.org/licenses/gpl.html>\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."
+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."
# 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 [-lpsvPSVX] [-m mapa] [-f fitxer] [-q nom] [-u nom] [-r tecles] [-x "
-"tecles:ordre-intèrpret] [tecles:funció-readline o ordre-readline]"
+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 mapa] [-f fitxer] [-q nom] [-u nom] [-r tecles] [-x tecles:ordre-intèrpret] [tecles:funció-readline o ordre-readline]"
#: builtins.c:56
msgid "break [n]"
msgstr "command [-pVv] ordre [arg ...]"
#: builtins.c:78
-#, fuzzy
-msgid "declare [-aAfFgiIlnrtux] [-p] [name[=value] ...]"
-msgstr "declare [-aAfFgilnrtux] [-p] [nom[=valor] ...]"
+msgid "declare [-aAfFgiIlnrtux] [name[=value] ...] or declare -p [-aAfFilnrtux] [name ...]"
+msgstr "declare [-aAfFgiIlnrtux] [nom[=valor] ...] o declare -p [-aAfFilnrtux] [nom ...]"
#: builtins.c:80
-#, fuzzy
-msgid "typeset [-aAfFgiIlnrtux] [-p] name[=value] ..."
-msgstr "typeset [-aAfFgilnrtux] [-p] nom[=valor] ..."
+msgid "typeset [-aAfFgiIlnrtux] name[=value] ... or typeset -p [-aAfFilnrtux] [name ...]"
+msgstr "typeset [-aAfFgiIlnrtux] nom[=valor] ... o typeset -p [-aAfFilnrtux] [nom ...]"
#: builtins.c:82
msgid "local [option] name[=value] ..."
msgstr "eval [arg ...]"
#: builtins.c:96
-#, fuzzy
msgid "getopts optstring name [arg ...]"
-msgstr "getopts cadena nom [arg]"
+msgstr "getopts cadena nom [arg ...]"
#: builtins.c:98
-#, fuzzy
msgid "exec [-cl] [-a name] [command [argument ...]] [redirection ...]"
-msgstr "exec [-cl] [-a nom] [ordre [arguments ...]] [redirecció ...]"
+msgstr "exec [-cl] [-a nom] [ordre [argument ...]] [redirecció ...]"
#: builtins.c:100
msgid "exit [n]"
msgstr "help [-dms] [patró ...]"
#: builtins.c:123
-msgid ""
-"history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg "
-"[arg...]"
-msgstr ""
-"history [-c] [-d offset] [n] o history -anrw [fitxer] o history -ps arg "
-"[arg...]"
+msgid "history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]"
+msgstr "history [-c] [-d offset] [n] o history -anrw [fitxer] o history -ps arg [arg...]"
#: builtins.c:127
msgid "jobs [-lnprs] [jobspec ...] or jobs -x command [args]"
msgstr "disown [-h] [-ar] [feina ... | pid ...]"
#: builtins.c:134
-msgid ""
-"kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l "
-"[sigspec]"
-msgstr ""
-"kill [-s senyal | -n númsenyal | -senyal] pid | feina ... o kill -l [senyal]"
+msgid "kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]"
+msgstr "kill [-s senyal | -n númsenyal | -senyal] pid | feina ... o kill -l [senyal]"
#: 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 vector] [-d delim] [-i text] [-n núm] [-N núm] [-p introd] [-"
-"t espera] [-u fd] [nom ...]"
+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:140
msgid "return [n]"
msgstr "return [n]"
#: builtins.c:142
-msgid "set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]"
-msgstr "set [-abefhkmnptuvxBCHP] [-o nom-opció] [--] [arg ...]"
+msgid "set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]"
+msgstr "set [-abefhkmnptuvxBCEHPT] [-o nom-opció] [--] [-] [arg ...]"
#: builtins.c:144
msgid "unset [-f] [-v] [-n] [name ...]"
msgstr "type [-afptP] nom [nom ...]"
#: builtins.c:171
-msgid "ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]"
-msgstr "ulimit [-SHabcdefiklmnpqrstuvxPT] [límit]"
+msgid "ulimit [-SHabcdefiklmnpqrstuvxPRT] [limit]"
+msgstr "ulimit [-SHabcdefiklmnpqrstuvxPRT] [límit]"
#: builtins.c:174
msgid "umask [-p] [-S] [mode]"
msgstr "umask [-p] [-S] [mode]"
#: builtins.c:177
-#, fuzzy
msgid "wait [-fn] [-p var] [id ...]"
-msgstr "wait [-n] [id ...]"
+msgstr "wait [-fn] [-p var] [id ...]"
#: builtins.c:181
msgid "wait [pid ...]"
msgstr "case PARAULA in [PATRÓ [| PATRÓ]...) ORDRES ;;]... esac"
#: 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"
+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:196
-msgid "while COMMANDS; do COMMANDS; done"
-msgstr "while ORDRES; do ORDRES; done"
+msgid "while COMMANDS; do COMMANDS-2; done"
+msgstr "while ORDRES; do ORDRES-2; done"
#: builtins.c:198
-msgid "until COMMANDS; do COMMANDS; done"
-msgstr "until ORDRES; do ORDRES; done"
+msgid "until COMMANDS; do COMMANDS-2; done"
+msgstr "until ORDRES; do ORDRES-2; done"
#: builtins.c:200
msgid "coproc [NAME] command [redirections]"
msgstr "printf [-v var] format [arguments]"
#: builtins.c:231
-#, fuzzy
-msgid ""
-"complete [-abcdefgjksuv] [-pr] [-DEI] [-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 ...]"
+msgid "complete [-abcdefgjksuv] [-pr] [-DEI] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]"
+msgstr "complete [-abcdefgjksuv] [-pr] [-DEI] [-o opció] [-A acció] [-G patró] [-W paraules] [-F funció] [-C ordre] [-X patró] [-P prefix] [-S sufix] [nom ...]"
#: builtins.c:235
-#, fuzzy
-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 opció] [-A acció] [-G patró] [-W paraules]\n"
-"[-F funció] [-C ordre] [-X filtre] [-P prefix] [-S sufix] [paraula]"
+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 opció] [-A acció] [-G patró] [-W paraules] [-F funció] [-C ordre] [-X filtre] [-P prefix] [-S sufix] [paraula]"
#: builtins.c:239
-#, fuzzy
msgid "compopt [-o|+o option] [-DEI] [name ...]"
-msgstr "compopt [-o|+o opció] [-DE] [nom ...]"
+msgstr "compopt [-o|+o opció] [-DEI] [nom ...]"
#: builtins.c:242
-msgid ""
-"mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C "
-"callback] [-c quantum] [array]"
-msgstr ""
-"mapfile [-d delim] [-n nombre] [-O origen] [-s nombre] [-t] [-u fd] [-C "
-"callback] [-c quàntum] [vector]"
+msgid "mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]"
+msgstr "mapfile [-d delim] [-n nombre] [-O origen] [-s nombre] [-t] [-u fd] [-C callback] [-c quàntum] [vector]"
#: builtins.c:244
-#, fuzzy
-msgid ""
-"readarray [-d delim] [-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]"
+msgid "readarray [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]"
+msgstr "readarray [-d delim] [-n nombre] [-O origen] [-s nombre] [-t] [-u fd] [-C callback] [-c quàntum] [vector]"
#: builtins.c:256
msgid ""
" -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 ""
"Defineix o mostra àlies.\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"
+" 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 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"
" 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"
+" 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"
" -S Mostra les seqüències de tecles que invoquen macros i els\n"
" seus valors respectius.\n"
" -s Mostra les seqüències de tecles que invoquen macros i els\n"
-" seus valors respectius en un format que es pot "
-"reutilitzar\n"
+" seus valors respectius 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 funció Consulta quines tecles invoquen la funció especificada.\n"
-" -u funció Desvincula les tecles vinculades a la funció "
-"especificada.\n"
+" -u funció Desvincula les tecles vinculades a la funció especificada.\n"
" -r tecles Elimina el vincle associat a TECLES.\n"
" -f fitxer Obté els vincles de tecles de FITXER.\n"
" -x tecles:ordre Fa que s'executi ORDRE quan es prem TECLES.\n"
" L'estat de sortida és 0 excepte si N és més petit que 1."
#: builtins.c:354
-#, fuzzy
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"
" 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"
+" Torna l'estat de sortida de ORDRE-INTERNA, o fals si ORDRE-INTERNA no és\n"
" una ordre interna."
# help caller
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"
" \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 ""
"Canvia el directori de treball de l'intèrpret.\n"
" punts (:). Un nom de directori nul s'interpreta com al directori\n"
" actual. Si DIR comença amb una barra, aleshores no s'usa CDPATH.\n"
"\n"
-" Si no es troba el directori, i l'opció de l'intèrpret «cdable_vars» "
-"està\n"
+" Si no es troba el directori, i l'opció de l'intèrpret «cdable_vars» està\n"
" activada, aleshores la paraula s'interpreta com a un nom de variable.\n"
" Si la variable especificada té algun valor, aquest valor s'usa en lloc\n"
" de DIR.\n"
" Opcions:\n"
" -L força el seguiment d'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 sense seguir "
-"possibles\n"
+" -P usa l'estructura de directoris física sense seguir possibles\n"
" enllaços simbòlics: resol els enllaços simbòlics que conté\n"
" DIR abans de processar «..»\n"
" -e amb l'opció -P, si no es pot determinar el directori de\n"
" estesos com a directoris que contenen els atributs del\n"
" fitxer\n"
"\n"
-" Per defecte, se segueixen els enllaços simbòlics, com si "
-"especifiquéssiu\n"
+" Per defecte, se segueixen els enllaços simbòlics, com si especifiquéssiu\n"
" l'opció «-L». El component «..» es processa eliminant el component del\n"
" camí immediatament previ fins a la primera barra o fins al principi de\n"
" DIR.\n"
"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"
# help declare
#: builtins.c:490
-#, fuzzy
msgid ""
"Set variable values and attributes.\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"
+" 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"
" el nom del fitxer, en mode de depuració)\n"
" -g crea variables globals quan s'utilitza dins d'una funció,\n"
" altrament s'ignora\n"
+" -I en crear una variable local, hereda els atributs i valor de \n"
+" la variable del mateix nom d'un àmbit anterior\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 de nombre enter a NOMs\n"
-" -l per a convertir NOMs a minúscules en l'assignació\n"
+" -l per a convertir els valors de NOMs a minúscules en l'assignació\n"
" -n per a fer NOM una referència a la variable que té per nom\n"
" el seu valor\n"
" -r per a fer NOMs variables de només lectura\n"
" -t per a assignar l'atribut «traça» a NOMs\n"
-" -u per a convertir NOMs a majúscules en l'assignació\n"
+" -u per a convertir els valors de 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"
" 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». L'opció «-g» inhabilita aquest "
-"comportament.\n"
+" Quan s'usa en una funció, «declare» converteix NOMs en variables locals,\n"
+" igual que l'ordre «local». L'opció «-g» suprimeix aquest comportament.\n"
"\n"
" Estat de sortida:\n"
" Torna èxit, excepte si rep una opció invàlida o es produeix un error."
msgstr ""
"Defineix variables locals.\n"
"\n"
-" Crea una variable local anomenada NOM i li assigna VALOR. OPCIÓ pot "
-"ser\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"
+" 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"
" un error, o l'intèrpret no està executant una funció."
#: builtins.c:557
-#, fuzzy
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"
" \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"
-" \\uHHHH\tthe Unicode character whose value is the hexadecimal value "
-"HHHH.\n"
+" \\uHHHH\tthe Unicode character whose value is the hexadecimal value HHHH.\n"
" \t\tHHHH can be one to four hex digits.\n"
-" \\UHHHHHHHH the Unicode character whose value is the hexadecimal "
-"value\n"
+" \\UHHHHHHHH the Unicode character whose value is the hexadecimal value\n"
" \t\tHHHHHHHH. HHHHHHHH can be one to eight hex digits.\n"
" \n"
" Exit Status:\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 amb una barra "
-"inversa:\n"
+" «echo» interpreta els següents caràcters escapats amb una barra inversa:\n"
" \\a alerta (campana)\n"
" \\b retrocés\n"
" \\c suprimeix tota sortida ulterior\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"
+" \\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"
+" \\uHHHH caràcter Unicode corresponent al valor hexadecimal HHHH, on\n"
+" HHHH pot tenir de 1 a 4 dígits.\n"
+" \\uHHHHHHHH caràcter Unicode corresponent al valor hexadecimal HHHHHHHH,\n"
+" on HHHHHHHH pot tenir de 1 a 8 dígits.\n"
"\n"
" Estat de sortida:\n"
" Torna èxit, tret que es produeixi un error d'escriptura."
"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"
+" 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"
+" -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"
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"
msgstr ""
"Executa els arguments com una ordre.\n"
"\n"
-" Combina ARGs en una única cadena, utilitza el resultat com a entrada "
-"per\n"
+" Combina ARGs en una única cadena, utilitza el resultat com a entrada per\n"
" 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:652
-#, fuzzy
msgid ""
"Parse option arguments.\n"
" \n"
" Returns success if an option is found; fails if the end of options is\n"
" encountered or an error occurs."
msgstr ""
-"Interpreta arguments que representen opcions.\n"
+"Processa arguments que representen opcions.\n"
"\n"
-" getopts és utilitzat per les utilitats de bash per a interpretar els\n"
+" getopts és utilitzat per les utilitats de bash per a processar els\n"
" 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"
+" seguida de dos punts, l'opció requereix un argument, que s'ha de separar\n"
+" de l'opció amb un espai en blanc.\n"
"\n"
-" Cada cop que s'invoca, getopts posarà l'opció successiva a la variable\n"
+" Cada cop que s'invoca, getopts posa 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"
+" 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"
+" 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"
+" 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"
" 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"
+" Normalment, getopts interpreta els paràmetres posicionals, però si\n"
+" es proporcionen arguments com a valors ARG, s'intepreten aquests.\n"
"\n"
" Estat de sortida:\n"
-" Retorna èxit si es troba alguna opció; falla si s'arriba al final de "
-"les\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:694
"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"
" -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 ""
"Substitueix el procés de l'intèrpret per l'ordre especificada.\n"
"\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"
+" 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"
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 ""
"Abandona una sessió d'entrada.\n"
"\n"
-" Abandona una sessió d'entrada amb estat de sortida N. Torna un error "
-"si\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."
# help fc (hi ha un bug a la cadena original)
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"
" 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 ""
"Mostra o executa ordres de l'historial.\n"
"\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 números de línia a l'hora de mostrar la llista\n"
-" -r\tinverteix l'ordre de les línies (més recents primer)\n"
+" -l mostra les línies en lloc d'editar-les\n"
+" -n omet els números de línia a l'hora de mostrar la llista\n"
+" -r inverteix l'ordre de les línies (més recents primer)\n"
"\n"
-" Amb el format «fc -s [pat=sub ...] [ordre]», ORDRE es re-executa "
-"després\n"
+" Amb el format «fc -s [pat=sub ...] [ordre]», ORDRE es re-executa després\n"
" d'haver fet la substitució PAT=SUB.\n"
"\n"
" Un àlies útil és r='fc -s', de manera que «r cc» executa l'última ordre\n"
" que comença per «cc» i «r» re-executa l'última ordre.\n"
"\n"
" Estat de sortida:\n"
-" Torna èxit o l'estat de l'última ordre executada; diferent de zero si "
-"es\n"
+" Torna èxit o l'estat de l'última ordre executada; diferent de zero si es\n"
" produeix un error."
#: builtins.c:764
" 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"
+" L'estat de l'ordre que es mou al primer pla, o fallada si es produeix un\n"
" error."
#: builtins.c:779
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"
"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\tforget the remembered location of each NAME\n"
"\n"
" Opcions:\n"
" -d oblida la ubicació recordada per a cada NOM\n"
-" -l utilitza un format que es pot reciclar com a "
-"entrada\n"
+" -l utilitza un format que es pot reciclar com a entrada\n"
" -p ubicació utilitza UBICACIÓ com a ubicació completa per a NOM\n"
" -r oblida totes les ubicacions recordades\n"
" -t mostra la ubicació recordada per a cada NOM,\n"
# help help
#: builtins.c:818
-#, fuzzy
msgid ""
"Display information about builtin commands.\n"
" \n"
" PATTERN\tPattern specifying 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 ""
"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"
+" Mostra ajuda sobre les ordres internes. Si s'especifica PATRÓ,\n"
+" dóna informació detallada sobre aquelles ordres que coincideixen\n"
+" amb PATRÓ, altrament mostra una llista amb temes d'ajuda.\n"
"\n"
" Opcions:\n"
" -d mostra una descripció curta de cada tema\n"
" Torna èxit, excepte si PATRÓ no es troba o passeu una opció invàlida."
#: builtins.c:842
-#, fuzzy
msgid ""
"Display or manipulate the history list.\n"
" \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"
+" 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."
" a la llista\n"
" -s afegeix ARGs a la llista com una única entrada\n"
"\n"
-" Si passeu un nom de FITXER, s'utilitza com a fitxer d'historial. En "
-"cas\n"
-" contrari, si $HISTFILE té algun valor, s'utilitza aquest, si no\n"
+" Si proporcioneu un nom de FITXER, s'utilitza com a fitxer d'historial.\n"
+" En cas contrari, si $HISTFILE té algun valor, s'utilitza aquest, si no\n"
" s'utilitza ~/.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"
+" Si la variable HISTTIMEFORMAT està definida i no és nul·la, el seu valor\n"
+" 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"
-" informació horària.\n"
+" la marca horària.\n"
"\n"
" Estat de sortida: \n"
" Torna èxit, excepte si passeu una opció invàlida o es produeix un error."
"Mostra l'estat de feines.\n"
"\n"
" Mostra les feines actives. Si especifiqueu FEINA, es restringeix la\n"
-" sortida a la feina especificada. Sense opcions, mostra l'estat de "
-"totes\n"
+" sortida a la feina especificada. Sense opcions, mostra l'estat de totes\n"
" les feines actives.\n"
"\n"
" Opcions:\n"
" processos d'aquella feina, a ARGS.\n"
"\n"
" Estat de sortida:\n"
-" Torna èxit, excepte si passeu una opció invàlida o es produeix un "
-"error.\n"
+" Torna èxit, excepte si passeu una opció invàlida o es produeix un error.\n"
" Si utilitzeu -x, torna l'estat de sortida d'ORDRE."
# help disown
"\n"
" Opcions:\n"
" -a suprimeix totes les feines si no especifiqueu FEINA\n"
-" -h\tmarca FEINA per a no enviar-li un senyal SIGHUP si\n"
+" -h marca FEINA per a no enviar-li un senyal SIGHUP si\n"
" l'intèrpret rep un SIGHUP\n"
" -r suprimeix totes les feines en execució\n"
"\n"
msgstr ""
"Envia un senyal a una feina.\n"
"\n"
-" Envia el senyal SENYAL o NÚMSENYAL al procés corresponent a PID o "
-"FEINA.\n"
+" Envia el senyal SENYAL o NÚMSENYAL al procés corresponent a PID o FEINA.\n"
" Si no especifiqueu 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"
+" -n númsenyal NÚ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"
" -L sinònim de -l\n"
"\n"
-" kill és una ordre interna per dues raons: perquè això permet usar IDs "
-"de\n"
+" kill és una ordre interna per dues raons: perquè això permet usar IDs de\n"
" feina 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"
" 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"
"Avalua expressions aritmètiques.\n"
"\n"
" Avalua cada ARG com a expressió aritmètica. Les operacions es fan amb\n"
-" enters d'amplada 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"
+" enters d'amplada 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 en nivells d'igual precedència. Els\n"
" nivells apareixen 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 a nivell de bits\n"
-" \t**\t\texponenciació\n"
-" \t*, /, %\t\tmultiplicació, divisió, residu\n"
-" \t+, -\t\taddició, subtracció\n"
-" \t<<, >>\t\tdesplaçament de bits a l'esquerra i a la dreta\n"
-" \t<=, >=, <, >\tcomparació\n"
-" \t==, !=\t\tigualtat, desigualtat\n"
-" \t&\t\tAND a nivell de bits\n"
-" \t^\t\tXOR a nivell de bits\n"
-" \t|\t\tOR a nivell de bits\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"
+" id++, id-- postincrement, postdecrement\n"
+" ++id, --id preincrement, predecrement\n"
+" -, + negatiu, positiu unaris\n"
+" !, ~ negació lògica i a nivell de bits\n"
+" ** exponenciació\n"
+" *, /, % multiplicació, divisió, residu\n"
+" +, - addició, subtracció\n"
+" <<, >> desplaçament de bits a l'esquerra i a la dreta\n"
+" <=, >=, <, > comparació\n"
+" ==, != igualtat, desigualtat\n"
+" & AND a nivell de bits\n"
+" ^ XOR a nivell de bits\n"
+" | OR a nivell de bits\n"
+" && AND lògic\n"
+" || OR lògic\n"
+" expr ? expr : expr\n"
+" operador condicional\n"
+" =, *=, /=, %=,\n"
+" +=, -=, <<=, >>=,\n"
+" &=, ^=, |= assignació\n"
"\n"
" S'admeten variables de l'intèrpret com a operands. El nom de la\n"
" variable se substitueix pel seu valor (convertit en enter d'amplada\n"
" Si l'avaluació de l'últim ARG és 0, let torna 1; altrament torna 0."
#: builtins.c:994
-#, fuzzy
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"
-" delimiters.\n"
+" the last NAME. Only the characters found in $IFS are recognized as word\n"
+" delimiters. By default, the backslash character escapes delimiter characters\n"
+" and newline.\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"
" -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"
+" -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"
" -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 ""
"Llegeix una línia a l'entrada estàndard i la divideix en camps.\n"
"\n"
" Llegeix una sola línia a l'entrada estàndard, o al descriptor de fitxer\n"
-" FD si especifiqueu l'opció -u. La línia es divideix en camps, segons\n"
+" FD si especifiqueu l'opció -u. La línia és dividida en camps, segons\n"
" 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 especifiqueu cap NOM, en aquest cas la línia llegida es desa a la\n"
-" variable REPLY.\n"
+" Si no especifiqueu cap NOM, la línia es desa a la variable REPLY.\n"
"\n"
" Opcions:\n"
-" -a vector\tassigna les paraules llegides a VECTOR, de forma "
-"seqüencial\n"
+" -a vector assigna les paraules llegides a VECTOR, de forma seqüencial\n"
" començant des de l'índex número 0.\n"
-" -d delim\tcontinue llegint fins a trobar el caràcter DELIM, en lloc "
-"de\n"
+" -d delim continua 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"
+" -e si 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, o quan es\n"
+" -i text Utilitza TEXT com a text inicial per a Readline\n"
+" -n núm torna després de llegir exactament NÚM caràcters, o quan es\n"
" trobi el delimitador si apareix abans de NÚM caràcters\n"
" -N núm torna només després de llegir exactament NÚM caràcters,\n"
" excepte si es troba EOF o s'esgota el temps d'espera,\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"
+" -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"
+" de temps és el valor de la variable TMOUT. TEMPS pot ser un\n"
" número amb decimals. Si TEMPS és 0, read torna\n"
" immediatament, sense intentar llegir cap dada, i torna èxit\n"
" només si hi ha dades disponibles en el descriptor de fitxer\n"
-" FD especificat. Un estat de sortida més gran que 128 "
-"indica\n"
+" FD especificat. Un estat de sortida més gran que 128 indica\n"
" que s'ha esgotat el temps d'espera.\n"
" -u fd llegeix dades al descriptor de fitxer FD, en lloc de a\n"
" l'entrada estàndard.\n"
"\n"
" Estat de sortida:\n"
" El codi de retorn és zero, excepte si es troba EOF (final de fitxer),\n"
-" s'arriba al límit de temps (en aquest cas, és major que 128), es\n"
-" produeix un error d'assignació de variable, o si heu especificat un\n"
-" descriptor de fitxer invàlid amb l'opció -u."
+" s'arriba al límit de temps (en aquest cas, retorna un número major que\n"
+" 128), es produeix un error d'assignació de variable, o si heu\n"
+" especificat un descriptor de fitxer invàlid amb l'opció -u."
# help return
-#: builtins.c:1041
+#: builtins.c:1042
msgid ""
"Return from a shell function.\n"
" \n"
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"
+" 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:1054
+#: builtins.c:1055
msgid ""
"Set or unset values of shell options and positional parameters.\n"
" \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"
+" 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"
" 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"
+" -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"
msgstr ""
"Estableix opcions de l'intèrpret i paràmetres posicionals.\n"
"\n"
-" Modifica el valor d'atributs de l'intèrpret i de paràmetres "
-"posicionals,\n"
+" Modifica el valor d'atributs de l'intèrpret i de paràmetres posicionals,\n"
" o mostra els noms i valors de les variables de l'intèrpret.\n"
"\n"
" Opcions:\n"
" l'última ordre que ha acabat amb estat no-zero,\n"
" o zero si cap ordre ha acabat amb estat diferent\n"
" de zero\n"
-" posix ajusta el comportament de bash a l'estàndard "
-"Posix\n"
+" posix ajusta el comportament de bash a 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"
" Estat de sortida:\n"
" Torna èxit, excepte si especifiqueu una opció no vàlida."
-#: builtins.c:1139
+#: builtins.c:1140
msgid ""
"Unset values and attributes of shell variables and functions.\n"
" \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"
+" 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"
" Torna èxit, excepte si especifiqueu una opció no vàlida o NOM és una\n"
" variable o funció de només lectura."
-#: builtins.c:1161
+#: builtins.c:1162
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"
" Torna èxit, excepte si especifiqueu una opció no vàlida o NOM no és\n"
" vàlid."
-#: builtins.c:1180
+#: builtins.c:1181
msgid ""
"Mark shell variables as unchangeable.\n"
" \n"
" Torna èxit, excepte si especifiqueu una opció no vàlida o NOM no és\n"
" vàlid."
-#: builtins.c:1202
+#: builtins.c:1203
msgid ""
"Shift positional parameters.\n"
" \n"
msgstr ""
"Desplaça els paràmetres posicionals.\n"
"\n"
-" Reanomena els paràmetres posicionals $N+1, $N+2 ... com a $1, $2 ... "
-"Si\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:1214 builtins.c:1229
+#: builtins.c:1215 builtins.c:1230
msgid ""
"Execute commands from a file in the current shell.\n"
" \n"
" Torna l'estat de l'última ordre a FITXER executada; falla si FITXER no\n"
" es pot llegir."
-#: builtins.c:1245
+#: builtins.c:1246
msgid ""
"Suspend shell execution.\n"
" \n"
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. "
-"Si\n"
+" Suspèn l'execució d'aquest intèrpret fins a rebre un senyal SIGCONT. Si\n"
" no es força, les sessions d'entrada no es poden suspendre.\n"
"\n"
" Opcions:\n"
" Estat de sortida:\n"
" Torna èxit, excepte si no hi ha control de feines o es produeix un error."
-#: builtins.c:1261
+#: builtins.c:1262
msgid ""
"Evaluate conditional expression.\n"
" \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 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"
" 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"
msgstr ""
"Avalua una expressió condicional.\n"
"\n"
-" Surt amb estat 0 (cert) o 1 (fals) en funció de l'avaluació d'EXPR. "
-"Les\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é podeu\n"
" utilitzar operadors de cadenes, i operadors de comparació numèrica.\n"
" -G FITXER Cert si el vostre grup és propietari del fitxer.\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"
+" 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 antic que fitxer2.\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 certes.\n"
"\n"
-" arg1 OP arg2 Tests aritmètics. OP és un de -eq, -ne, -lt, -le, -"
-"gt,\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, no\n"
" Torna èxit si EXPR s'avalua com a cert; falla si EXPR s'avalua com a\n"
" fals o si especifiqueu un argument no vàlid."
-#: builtins.c:1343
+#: builtins.c:1344
msgid ""
"Evaluate conditional expression.\n"
" \n"
" l'últim argument ha de ser un signe «]» que tanqui el «[» inicial."
# help times
-#: builtins.c:1352
+#: builtins.c:1353
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"
msgstr ""
"Mostra els temps d'execució.\n"
"\n"
-" Mostra el temps d'execució d'usuari i sistema acumulat per l'intèrpret "
-"i\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:1364
+#: builtins.c:1365
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"
" 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 <signal.h> or a signal "
-"number.\n"
+" Each SIGNAL_SPEC is either a signal name in <signal.h> 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 ""
"Intercepta senyals i altres esdeveniments.\n"
"\n"
" Defineix i activa controladors de senyal, que són executats 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 "
-"SENYAL.\n"
+" ARG és una ordre que es llegeix i s'executa quan l'intèrpret rep SENYAL.\n"
" Si ometeu ARG (i especifiqueu un únic SENYAL) o ARG és «-», cada senyal\n"
" és restablert al seu valor original. Si ARG és una cadena nul·la,\n"
" aleshores SENYAL és ignorat per l'intèrpret i per tots els programes\n"
" Torna èxit, excepte si algun SENYAL no és vàlid o especifiqueu una\n"
" ordre no vàlida."
-#: builtins.c:1400
+#: builtins.c:1401
msgid ""
"Display information about command type.\n"
" \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 ""
"Mostra informació sobre el tipus d'ordre.\n"
"\n"
" Torna èxit si es troben tots els NOMs; falla si n'hi ha algun que no es\n"
" pot trobar."
-#: builtins.c:1431
-#, fuzzy
+#: builtins.c:1432
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"
" 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"
+"Modifica la limitació de recursos de l'intèrpret.\n"
"\n"
-" Permet controlar la quantitat de recursos disponibles per a l'intèrpret\n"
-" d'ordres i per als processos que aquest crea, en els sistemes que\n"
-" admeten tal control.\n"
+" Permet especificar la quantitat de recursos disponibles per a\n"
+" l'intèrpret d'ordres i per als processos que aquest crea, en els\n"
+" sistemes que permeten tal control.\n"
"\n"
" Opcions:\n"
" -S estableix una limitació «tova»\n"
" -H estableix una limitació «dura»\n"
-" -a\tmostra tots els límits establerts\n"
-" -b\tmida màxima de la memòria intermèdia per a «sockets»\n"
-" -c\tmida màxima dels fitxers de bolcat de memòria\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"
+" -a mostra tots els límits establerts\n"
+" -b mida màxima de la memòria intermèdia per a «sockets»\n"
+" -c mida màxima dels fitxers de bolcat de memòria\n"
+" -d mida màxima del segment de dades d'un procés\n"
+" -e prioritat màxima d'un procés («nice»)\n"
+" -f mida màxima dels fitxers escrits per l'intèrpret i fills\n"
+" -i nombre màxim de senyals pendents\n"
" -k nombre màxim de cues («kqueue») obertes per a aquest procés\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 de la memòria intermèdia per a canonades\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"
+" -l quantitat màxima de memòria que un procés pot blocar\n"
+" -m mida màxima del conjunt resident (RSS)\n"
+" -n nombre màxim de descriptors de fitxers oberts\n"
+" -p mida màxima de la memòria intermèdia per a canonades\n"
+" -q nombre màxim d'octets a les cues de missatges POSIX\n"
+" -r prioritat màxima de temps-real\n"
+" -s mida màxima de la pila\n"
+" -t quantitat màxima de temps de CPU en segons\n"
+" -u nombre màxim de processos d'usuari\n"
+" -v mida de la memòria virtual\n"
+" -x nombre màxim de fitxers de bloqueig\n"
" -P nombre màxim de pseudoterminals\n"
+" -R temps màxim d'execució per a processos de temps real\n"
" -T nombre màxim de fils d'execució\n"
"\n"
" Algunes opcions poden no estar disponibles en algunes plataformes.\n"
"\n"
" Si especifiqueu un LÍMIT, aquest s'utilitza com a nou valor per al\n"
" recurs indicat; els valors especials de LÍMIT són «soft», «hard» i\n"
-" «unlimited», que signifiquen límit tou actual, límit dur actual, i "
-"sense\n"
+" «unlimited», que signifiquen límit tou actual, límit dur actual, i sense\n"
" límit, respectivament. En cas contrari, es mostra el valor actual per\n"
" al recurs especificat. Si no especifiqueu cap opció, se suposa -f.\n"
"\n"
-" Els valors s'indiquen en increments de 1024 octets, excepte en el cas "
-"de\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"
" Torna èxit, tret que especifiqueu una opció invàlida o es produeixi un\n"
" error."
-#: builtins.c:1482
+#: builtins.c:1483
msgid ""
"Display or set file mode mask.\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"
+" -S mostra 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 passeu una opció no vàlida."
-#: builtins.c:1502
-#, fuzzy
+#: builtins.c:1503
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 job specification, waits for all processes\n"
" in that job's pipeline.\n"
" \n"
-" If the -n option is supplied, waits for a single job from the list of "
-"IDs,\n"
-" or, if no IDs are supplied, for the next job to complete and returns "
-"its\n"
+" If the -n option is supplied, waits for a single job from the list of IDs,\n"
+" or, if no IDs are supplied, for the next job to complete and returns its\n"
" exit status.\n"
" \n"
" If the -p option is supplied, the process or job identifier of the job\n"
" for which the exit status is returned is assigned to the variable VAR\n"
-" named by the option argument. The variable will be unset initially, "
-"before\n"
+" named by the option argument. The variable will be unset initially, before\n"
" any assignment. This is useful only when the -n option is supplied.\n"
" \n"
" If the -f option is supplied, and job control is enabled, waits for the\n"
" option is given, or if -n is supplied and the shell has no unwaited-for\n"
" children."
msgstr ""
-"Espera la finalització de feines i en retorna l'estat de sortida.\n"
+"Espera la finalització de feines i 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 feina, acabi d'executar-se, i en torna\n"
+" procés o una especificació de feina, acabi d'executar-se, i informa de\n"
" l'estat de sortida. Si ometeu ID, espera que acabin d'executar-se tots\n"
" els processos inferiors, i surt amb estat zero. Si ID és una\n"
" especificació de feina, espera cada un dels processos a la canonada\n"
" d'aquella feina.\n"
"\n"
+" Si especifiqueu l'opció -n, espera que finalitzi una única feina de la\n"
+" llista d'IDs. Si no s'ha especificat cap ID, espera que finalitzi la\n"
+" propera feina i en retorna l'estat de sortida.\n"
+"\n"
+" Si especifiqueu l'opció -p, el procés o l'identificador de la feina\n"
+" s'assigna a la variable VAR. La variable inicialment serà esborrada,\n"
+" abans de que es podueixi assignació. L'opció -p només és útil en\n"
+" combinació amb l'opció -n.\n"
+"\n"
+" Si especifiqueu l'opció -f, i el control de feines està habilitat,\n"
+" espera fins que les IDs especificades finalitzin, enlloc d'esperar fins\n"
+" que canviïn d'estat.\n"
+"\n"
" Estat de sortida:\n"
-" Torna l'estat de sortida de l'últim ID; falla si ID no és vàlid o "
-"passeu\n"
-" una opció no vàlida."
+" Torna l'estat de sortida de l'última ID; falla si ID no és vàlid o\n"
+" passeu una opció no vàlida, o si s'ha especificat -n i l'intèrpret no té\n"
+" processos inferiors que no s'estiguin esperant."
-#: builtins.c:1533
+#: builtins.c:1534
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 ""
"Espera la finalització de processos i en retorna l'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:1548
+#: builtins.c:1549
msgid ""
"Execute commands for each member in a list.\n"
" \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"
+" 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:1562
+#: builtins.c:1563
msgid ""
"Arithmetic for loop.\n"
" \n"
"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"
+" (( EXP1 ))\n"
+" while (( EXP2 )); do\n"
+" ORDRES\n"
+" (( EXP 3 ))\n"
+" done\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"
" Estat de sortida:\n"
" Torna l'estat de sortida de l'última ordre executada."
-#: builtins.c:1580
+#: builtins.c:1581
msgid ""
"Select words from a list and execute commands.\n"
" \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"
+" 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"
+" 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"
" Torna l'estat de sortida de l'última ordre executada."
# help time
-#: builtins.c:1601
+#: builtins.c:1602
msgid ""
"Report time consumed by pipeline's execution.\n"
" \n"
"Informa del temps transcorregut durant l'execució d'una canonada.\n"
"\n"
" Executa CANONADA i mostra un resum del temps real, el temps de CPU\n"
-" d'usuari i el temps de CPU de sistema transcorregut durant l'execució "
-"de\n"
+" d'usuari i el temps de CPU de sistema transcorregut durant l'execució de\n"
" CANONADA.\n"
"\n"
" Opcions:\n"
" Estat de sortida:\n"
" L'estat de sortida és l'estat de sortida de la CANONADA."
-#: builtins.c:1618
+#: builtins.c:1619
msgid ""
"Execute commands based on pattern matching.\n"
" \n"
msgstr ""
"Executa ordres segons la coincidència amb patrons.\n"
"\n"
-" Executa ORDRES de forma selectiva en funció de si PARAULA coincideix "
-"amb\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:1630
+#: builtins.c:1631
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"
" 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"
+" 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:1647
+#: builtins.c:1648
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"
+" Expand and execute COMMANDS-2 as long as the final command in COMMANDS has\n"
+" an exit status of zero.\n"
" \n"
" Exit Status:\n"
" Returns the status of the last command executed."
msgstr ""
"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"
+" Expandeix i executa ORDRES-2 repetidament mentre l'última ordre de\n"
+" les ORDRES tingui estat de sortida igual a zero.\n"
"\n"
" Estat de sortida:\n"
" Torna l'estat de l'última ordre executada."
-#: builtins.c:1659
+#: builtins.c:1660
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"
+" Expand and execute COMMANDS-2 as long as the final command in COMMANDS has\n"
+" an exit status which is not zero.\n"
" \n"
" Exit Status:\n"
" Returns the status of the last command executed."
msgstr ""
"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"
+" Expandeix i executa ORDRES-2 repetidament mentre l'última ordre de\n"
+" les ORDRES tingui estat de sortida diferent de zero.\n"
"\n"
" Estat de sortida:\n"
" Torna l'estat de l'última ordre executada."
# help coproc
-#: builtins.c:1671
+#: builtins.c:1672
msgid ""
"Create a coprocess named NAME.\n"
" \n"
msgstr ""
"Crea un coprocés anomenat NOM.\n"
"\n"
-" Executa ORDRE de forma asincrònica, amb la sortida estàndard i "
-"l'entrada\n"
+" Executa ORDRE de forma asincrònica, amb la sortida estàndard i l'entrada\n"
" estàndard de l'ordre connectades via canonada als descriptors de fitxer\n"
" assignats als índexs 0 i 1 de la variable vector NOM. Per defecte NOM\n"
" és \"COPROC\".\n"
" Estat de sortida:\n"
" Torna l'estat de sortida d'ORDRE."
-#: builtins.c:1685
+#: builtins.c:1686
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"
msgstr ""
"Defineix una funció.\n"
"\n"
-" Crea una funció de l'intèrpret anomenada NOM. Quan s'invoca com a "
-"ordre\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"
" Estat de sortida:\n"
" Torna èxit, excepte si NOM és de només lectura."
-#: builtins.c:1699
+#: builtins.c:1700
msgid ""
"Group commands as a unit.\n"
" \n"
" Estat de sortida:\n"
" Torna l'estat de sortida de l'última ordre executada."
-#: builtins.c:1711
+#: builtins.c:1712
msgid ""
"Resume job in foreground.\n"
" \n"
msgstr ""
"Reprèn una feina i la porta al primer pla.\n"
"\n"
-" Equivalent a utilitzar FEINA com a argument en l'ordre «fg». Reprèn "
-"una\n"
+" Equivalent a utilitzar FEINA com a argument en l'ordre «fg». Reprèn una\n"
" feina aturada o en segon pla. FEINA pot ser el nom d'una feina, o el\n"
" número d'una feina. Si es troba un «&» després de FEINA, llavors la\n"
" feina s'envia en un segon pla, com si l'especificació de feina\n"
" Torna l'estat de sortida de la feina represa."
# help '(('
-#: builtins.c:1726
-#, fuzzy
+#: builtins.c:1727
msgid ""
"Evaluate arithmetic expression.\n"
" \n"
" Si el resultat de l'avaluació és 0, torna 1; altrament torna 0."
# help '[['
-#: builtins.c:1738
+#: builtins.c:1739
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"
" 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"
+" 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"
" Estat de sortida:\n"
" 0 o 1, depenent del valor d'EXPRESSIÓ."
-#: builtins.c:1764
+#: builtins.c:1765
msgid ""
"Common shell variable names and usage.\n"
" \n"
"Nom i ús de 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"
+" CDPATH Llista 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"
+" GLOBIGNORE Llista 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"
+" HISTFILE Nom del fitxer on es desa l'historial d'ordres.\n"
+" HISTFILESIZE Nombre 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"
+" HISTSIZE Nombre màxim de línies de l'historial a què un\n"
+" intèrpret té accés.\n"
+" HOME Camí complet cap al vostre directori personal.\n"
+" HOSTNAME Nom de la màquina actual.\n"
+" HOSTTYPE Tipus de CPU de la màquina en què corre Bash.\n"
+" IGNOREEOF Controla el comportament de l'intèrpret en trobar un\n"
+" carà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"
+" MACHTYPE Cadena que descriu el sistema en què corre Bash.\n"
+" MAILCHECK Amb 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"
+" MAILPATH Llista 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\tfeines aturades. Si es troba, aquella feina es\n"
+" OSTYPE La versió de Unix en què corre Bash.\n"
+" PATH Llista de directoris separats per «:» on buscar quan\n"
+" se cerquen ordres.\n"
+" PROMPT_COMMAND Ordre que s'executa cada cop abans de mostrar\n"
+" l'introductor de l'intèrpret.\n"
+" PS1 Cadena de l'introductor principal.\n"
+" PS2 Cadena de l'introductor secundari.\n"
+" PWD Camí complet cap al directori corrent.\n"
+" SHELLOPTS Llista d'opcions habilitades separades per «:».\n"
+" TERM Nom del tipus de terminal actual.\n"
+" TIMEFORMAT Format de sortida per a les estadístiques de temps\n"
+" produïdes per l'ordre «time».\n"
+" auto_resume No-nul·la significa que una ordre sola en una línia\n"
+" es busca en primera instància a la llista actual de\n"
+" feines aturades. Si es troba, aquella feina 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 feines aturades. El valor\n"
" amb una subcadena de la feina. Qualsevol altre\n"
" valor significa que l'ordre ha de ser el prefix\n"
" d'una feina 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"
+" histchars Caràcters que controlen l'expansió de l'historial i\n"
+" les substitucions ràpides. El primer caràcter és el\n"
+" caràcter de substitució de l'historial, habitualment\n"
+" «!». 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"
+" HISTIGNORE Llista de patrons separats per «:» utilitzats per a\n"
+" decidir si les ordres s'han de desar a l'historial.\n"
# si modifiqueu aquesta cadena cal actualitzar la còpia que es troba més
# enrere en aquest fitxer
-#: builtins.c:1821
+#: builtins.c:1822
msgid ""
"Add directories to stack.\n"
" \n"
# si modifiqueu aquesta cadena cal actualitzar la còpia que es troba més
# enrere en aquest fitxer
-#: builtins.c:1855
+#: builtins.c:1856
msgid ""
"Remove directories from stack.\n"
" \n"
# si modifiqueu aquesta cadena cal actualitzar la còpia que es troba més
# enrere en aquest fitxer
-#: builtins.c:1885
+#: builtins.c:1886
msgid ""
"Display directory stack.\n"
" \n"
"Mostra la pila de directoris.\n"
"\n"
" Mostra la llista actual de directoris recordats. Els directoris són\n"
-" afegits a la llista mitjançant l'ordre «pushd»; podeu recórrer la "
-"llista\n"
+" afegits a la llista mitjançant l'ordre «pushd»; podeu recórrer la llista\n"
" de directoris cap enrere amb l'ordre «popd».\n"
"\n"
" Opcions:\n"
" Retorna èxit, excepte si es rep una opció invàlida o es produeix un\n"
" error."
-#: builtins.c:1916
-#, fuzzy
+#: builtins.c:1917
msgid ""
"Set and unset shell options.\n"
" \n"
msgstr ""
"Activa i desactiva opcions de l'intèrpret.\n"
"\n"
-" Canvia l'estat de cada OPCIÓ. Si no especifiqueu cap OPCIÓ, mostra una\n"
-" llista de totes les opcions indicant si estan activades o no.\n"
+" Canvia l'estat de cada OPCIÓ. Sense cap argument d'opció, mostra un\n"
+" llistat amb cada OPCIÓ, o un llistat amb totes les opcions de\n"
+" l'intèrpret si no s'ha especificat cap OPCIÓ, indicant si les opcions\n"
+" 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"
+" -p mostra totes les opcions indicant-ne l'estat\n"
+" -q suprimeix la sortida\n"
+" -s activa OPCIÓ\n"
+" -u desactiva OPCIÓ\n"
"\n"
" Estat de sortida:\n"
" Torna èxit si OPCIÓ està activada; falla si especifiqueu una opció\n"
" invàlida o OPCIÓ està desactivada."
-#: builtins.c:1937
+#: builtins.c:1938
msgid ""
"Formats and prints ARGUMENTS under control of the FORMAT.\n"
" \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"
+" 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\toutput the date-time string resulting from using FMT as a "
-"format\n"
+" %Q\tlike %q, but apply any precision to the unquoted argument before\n"
+" \t\tquoting\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 ""
"Formata i escriu ARGUMENTS d'acord amb FORMAT.\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"
+" %Q com %q, però aplica qualsevol precisió a l'argument abans\n"
+" d'afegir les cometes \n"
" %(fmt)T escriu la cadena resultant de passar FMT a strftime(3) com a\n"
" argument\n"
"\n"
" Retorna èxit, excepte si es rep una opció invàlida o es produeix un\n"
" error d'assignació o d'escriptura."
-#: builtins.c:1971
-#, fuzzy
+#: builtins.c:1974
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"
" \t\tcommand) word\n"
" \n"
" When completion is attempted, the actions are applied in the order the\n"
-" uppercase-letter options are listed above. If multiple options are "
-"supplied,\n"
-" the -D option takes precedence over -E, and both take precedence over -"
-"I.\n"
+" uppercase-letter options are listed above. If multiple options are supplied,\n"
+" the -D option takes precedence over -E, and both take precedence over -I.\n"
" \n"
" Exit Status:\n"
" Returns success unless an invalid option is supplied or an error occurs."
" Opcions:\n"
" -p mostra les especificacions existents en 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"
+" s'indica cap NOM, totes les especificacions de compleció\n"
+" -D assigna les accions i 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"
+" -E assigna les accions i complecions a ordres \"en blanc\", o\n"
" sigui, als intents de completar una línia en blanc\n"
+" -I assigna les accions i complecions a la paraula inicial\n"
+" (normalment una ordre)\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 l'opció -E.\n"
+" Quan s'intenta una compleció, s'apliquen primer les accions\n"
+" especificades amb l'opció -D, seguides de les acciones especificades amb\n"
+" l'opció -E, i l'opció -I (en aquest ordre). Si es proporcionen\n"
+" múltiples opcions, l'opció -D té preferència sobre l'opció -E, i ambdues\n"
+" opcions tenen preferència sobre l'opció -I.\n"
"\n"
" Estat de sortida:\n"
" Torna èxit, excepte si passeu una opció invàlida o es produeix un error."
-#: builtins.c:2001
+#: builtins.c:2004
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"
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"
+" Aquesta ordre està pensada per a ser utilitzada en una funció que generi\n"
" possibles complecions. Si especifiqueu 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 passeu una opció invàlida o es produeix un error."
-#: builtins.c:2016
-#, fuzzy
+#: builtins.c:2019
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"
msgstr ""
"Modifica o mostra opcions de compleció.\n"
"\n"
-" Modifica les opcions de compleció de NOM, o, si no especifiqueu cap "
-"NOM,\n"
+" Modifica les opcions de compleció de NOM, o, si no especifiqueu 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"
+" -D Canvia les opcions de compleció d'ordres per defecte\n"
+" -E Canvia les opcions de compleció d'ordres «buides»\n"
+" -I Canvia les opcions de compleció de la paraula inicial\n"
"\n"
" Si utilitzeu «+o» en lloc de «-o», desactiva l'opció especificada.\n"
"\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"
-" especifiqueu cap NOM, compopt s'ha de cridar des d'una funció "
-"generadora\n"
+" especifiqueu 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"
" definida cap especificació de compleció."
# help readarray
-#: builtins.c:2047
+#: builtins.c:2050
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"
" -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"
+" -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"
+" -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"
" 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 ""
"Llegeix línies d'un fitxer cap a una variable vector.\n"
" per defecte és MAPFILE.\n"
"\n"
" Opcions:\n"
-" -d delim Usa DELIM com delimitador de línies, en lloc del caràcter "
-"de\n"
+" -d delim Usa DELIM com delimitador de línies, en lloc del caràcter de\n"
" salt de línia\n"
" -n nombre Copia com a màxim NOMBRE línies. Si NOMBRE és 0, es copien\n"
-" \t\ttotes les línies.\n"
+" totes les línies.\n"
" -O origen Comença l'assignació a l'índex ORIGEN, per defecte 0.\n"
" -s nombre Descarta les primeres NOMBRE línies.\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 Nombre de línies llegides abans de cridar "
-"CALLBACK\n"
+" -c quàntum Nombre de línies llegides abans de cridar CALLBACK\n"
"\n"
" Arguments:\n"
" VECTOR Nom de la variable vector per a les dades.\n"
"\n"
" Si especifiqueu 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"
+" 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"
" Torna èxit, excepte si passeu una opció no vàlida o VECTOR és de només\n"
" lectura o no és una variable vector."
-#: builtins.c:2083
+#: builtins.c:2086
msgid ""
"Read lines from a file into an array variable.\n"
" \n"
"\n"
" Un sinònim de «mapfile»."
-#, fuzzy
-#~ msgid "Copyright (C) 2019 Free Software Foundation, Inc."
-#~ msgstr "Copyright (C) 2016 Free Software Foundation, Inc."
+#~ msgid "%s: invalid associative array key"
+#~ msgstr "%s: clau de vector associatiu no vàlida"
#~ msgid "add_process: process %5ld (%s) in the_pipeline"
#~ msgstr "add_process: procés %5ld (%s) a the_pipeline"
#~ msgid "Unknown Signal #"
#~ msgstr "Senyal Desconegut #"
+#~ msgid "Copyright (C) 2016 Free Software Foundation, Inc."
+#~ msgstr "Copyright (C) 2016 Free Software Foundation, Inc."
+
#, fuzzy
#~ msgid "Copyright (C) 2014 Free Software Foundation, Inc."
#~ msgstr "Copyright (C) 2013 Free Software Foundation, Inc."
${THIS_SH} ./alias3.sub
${THIS_SH} ./alias4.sub
${THIS_SH} ./alias5.sub
+${THIS_SH} ./alias6.sub
--- /dev/null
+# make sure aliases that end in multibyte characters don't interfere with the
+# space sentinel alias expansion adds; problem through bash-5.1
+shopt -s expand_aliases
+
+LC_ALL=en_US.UTF-8
+
+alias a1='printf "<%s>\\n" áa'
+a1
+
+alias a2='printf "<%s>\\n" aá'
+a2
+
+unalias a1 a2
argv[1] = <foo\^Jbar>
argv[1] = <foobar>
argv[1] = <foo\^Jbar>
+nested
#esac
a
ok 1
ok 5
ok 6
ok 7
+ok 9
ok 8
ok 8
echo $(while true; do case $HOME in /*) echo abs ;; esac; done)
}
+echo $(
+echo $(
+echo $(echo $( echo nested )
+)
+)
+)
+
${THIS_SH} ./comsub1.sub
${THIS_SH} ./comsub2.sub
${THIS_SH} ./comsub3.sub
alias short='echo ok 8 )'
+alias DO='{ '
+alias DONE='}'
+got=$(DO
+echo ok 9; DONE)
+echo "$got"
+
echo $( short
echo "$( short "