From: Chet Ramey Date: Tue, 12 Jul 2022 14:19:29 +0000 (-0400) Subject: additional tests; documentation updates X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=87a6e89edc7cb1af057e2c15666df189595d305b;p=thirdparty%2Fbash.git additional tests; documentation updates --- diff --git a/CWRU/CWRU.chlog b/CWRU/CWRU.chlog index 8dffe9c04..01ff43126 100644 --- a/CWRU/CWRU.chlog +++ b/CWRU/CWRU.chlog @@ -3749,3 +3749,31 @@ parse.y 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 + + 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 + +builtins/setattr.def + - show_local_var_attributes: special-case `local -', since there is + no `declare -' equivalent. + Reported by Emanuele Torre . + - 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 + + 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 diff --git a/MANIFEST b/MANIFEST index 06f3f2109..cbe97c648 100644 --- a/MANIFEST +++ b/MANIFEST @@ -890,6 +890,7 @@ tests/alias2.sub f 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 diff --git a/builtins/setattr.def b/builtins/setattr.def index c2ea7d568..f2df3a6e7 100644 --- a/builtins/setattr.def +++ b/builtins/setattr.def @@ -363,7 +363,11 @@ show_all_var_attributes (v, nodefs) 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; } @@ -387,7 +391,11 @@ show_local_var_attributes (v, nodefs) 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; } diff --git a/doc/bash.0 b/doc/bash.0 index 4e3d97bb2..5f6e08302 100644 --- a/doc/bash.0 +++ b/doc/bash.0 @@ -459,19 +459,19 @@ SSHHEELLLL GGRRAAMMMMAARR sseelleecctt _n_a_m_e [ iinn _w_o_r_d ] ; ddoo _l_i_s_t ; ddoonnee The list of words following iinn 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 iinn _w_o_r_d is omitted, the - positional parameters are printed (see PPAARRAAMMEETTEERRSS below). The - PPSS33 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 _n_a_m_e 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 _n_a_m_e to be set to null. The line read is saved in the - variable RREEPPLLYY. The _l_i_s_t is executed after each selection until - a bbrreeaakk command is executed. The exit status of sseelleecctt is the - exit status of the last command executed in _l_i_s_t, 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 iinn _w_o_r_d is omitted, + the positional parameters are printed (see PPAARRAAMMEETTEERRSS below). + sseelleecctt then displays the PPSS33 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 _n_a_m_e is set to + that word. If the line is empty, the words and prompt are dis- + played again. If EOF is read, the sseelleecctt command completes and + returns 1. Any other value read causes _n_a_m_e to be set to null. + The line read is saved in the variable RREEPPLLYY. The _l_i_s_t is exe- + cuted after each selection until a bbrreeaakk command is executed. + The exit status of sseelleecctt is the exit status of the last command + executed in _l_i_s_t, or zero if no commands were executed. ccaassee _w_o_r_d iinn [ [(] _p_a_t_t_e_r_n [ || _p_a_t_t_e_r_n ] ... ) _l_i_s_t ;; ] ... eessaacc A ccaassee command first expands _w_o_r_d, and tries to match it against @@ -4764,196 +4764,197 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS ified as --vv. --CC _c_o_m_m_a_n_d _c_o_m_m_a_n_d is executed in a subshell environment, and its - output is used as the possible completions. + output is used as the possible completions. Arguments + are passed as with the --FF option. --FF _f_u_n_c_t_i_o_n - The shell function _f_u_n_c_t_i_o_n is executed in the current - shell environment. When the function is executed, the + The shell function _f_u_n_c_t_i_o_n is executed in the current + shell environment. When the function is executed, the first argument ($$11) is the name of the command whose ar- guments are being completed, the second argument ($$22) is the word being completed, and the third argument ($$33) is - the word preceding the word being completed on the cur- - rent command line. When it finishes, the possible com- - pletions are retrieved from the value of the CCOOMMPPRREEPPLLYY + 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 CCOOMMPPRREEPPLLYY array variable. --GG _g_l_o_b_p_a_t - The pathname expansion pattern _g_l_o_b_p_a_t is expanded to + The pathname expansion pattern _g_l_o_b_p_a_t is expanded to generate the possible completions. --PP _p_r_e_f_i_x - _p_r_e_f_i_x is added at the beginning of each possible com- + _p_r_e_f_i_x is added at the beginning of each possible com- pletion after all other options have been applied. --SS _s_u_f_f_i_x _s_u_f_f_i_x is appended to each possible completion after all other options have been applied. --WW _w_o_r_d_l_i_s_t - The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS - special variable as delimiters, and each resultant word - is expanded. Shell quoting is honored within _w_o_r_d_l_i_s_t, + The _w_o_r_d_l_i_s_t is split using the characters in the IIFFSS + special variable as delimiters, and each resultant word + is expanded. Shell quoting is honored within _w_o_r_d_l_i_s_t, in order to provide a mechanism for the words to contain - shell metacharacters or characters in the value of IIFFSS. - The possible completions are the members of the resul- + shell metacharacters or characters in the value of IIFFSS. + The possible completions are the members of the resul- tant list which match the word being completed. --XX _f_i_l_t_e_r_p_a_t - _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. + _f_i_l_t_e_r_p_a_t is a pattern as used for pathname expansion. It is applied to the list of possible completions gener- - ated by the preceding options and arguments, and each - completion matching _f_i_l_t_e_r_p_a_t is removed from the list. - A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this + ated by the preceding options and arguments, and each + completion matching _f_i_l_t_e_r_p_a_t is removed from the list. + A leading !! in _f_i_l_t_e_r_p_a_t negates the pattern; in this case, any completion not matching _f_i_l_t_e_r_p_a_t is removed. - The return value is true unless an invalid option is supplied, - an option other than --pp or --rr is supplied without a _n_a_m_e argu- - 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 --pp or --rr is supplied without a _n_a_m_e argu- + ment, an attempt is made to remove a completion specification for a _n_a_m_e for which no specification exists, or an error occurs adding a completion specification. ccoommppoopptt [--oo _o_p_t_i_o_n] [--DDEEII] [++oo _o_p_t_i_o_n] [_n_a_m_e] - Modify completion options for each _n_a_m_e according to the _o_p_- + Modify completion options for each _n_a_m_e according to the _o_p_- _t_i_o_ns, or for the currently-executing completion if no _n_a_m_es are - supplied. If no _o_p_t_i_o_ns are given, display the completion op- - tions for each _n_a_m_e or the current completion. The possible - values of _o_p_t_i_o_n are those valid for the ccoommpplleettee builtin de- - scribed above. The --DD 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 _o_p_t_i_o_ns are given, display the completion op- + tions for each _n_a_m_e or the current completion. The possible + values of _o_p_t_i_o_n are those valid for the ccoommpplleettee builtin de- + scribed above. The --DD 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 --EE option indicates that other - supplied options should apply to ``empty'' command completion; - that is, completion attempted on a blank line. The --II option + supplied options should apply to ``empty'' command completion; + that is, completion attempted on a blank line. The --II 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 ;; or ||, which is usually command name + on the initial non-assignment word on the line, or after a com- + mand delimiter such as ;; or ||, 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 _n_a_m_e for which no completion specification exists, or an output error occurs. ccoonnttiinnuuee [_n] Resume the next iteration of the enclosing ffoorr, wwhhiillee, uunnttiill, or - sseelleecctt loop. If _n is specified, resume at the _nth enclosing - loop. _n must be >= 1. If _n 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 _n is not greater than + sseelleecctt loop. If _n is specified, resume at the _nth enclosing + loop. _n must be >= 1. If _n 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 _n is not greater than or equal to 1. ddeeccllaarree [--aaAAffFFggiiIIllnnrrttuuxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] ttyyppeesseett [--aaAAffFFggiiIIllnnrrttuuxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] - Declare variables and/or give them attributes. If no _n_a_m_es are - given then display the values of variables. The --pp option will + Declare variables and/or give them attributes. If no _n_a_m_es are + given then display the values of variables. The --pp option will display the attributes and values of each _n_a_m_e. When --pp is used - with _n_a_m_e arguments, additional options, other than --ff and --FF, - are ignored. When --pp is supplied without _n_a_m_e arguments, it - will display the attributes and values of all variables having + with _n_a_m_e arguments, additional options, other than --ff and --FF, + are ignored. When --pp is supplied without _n_a_m_e 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 --pp, ddeeccllaarree will display the at- - tributes and values of all shell variables. The --ff option will + options are supplied with --pp, ddeeccllaarree will display the at- + tributes and values of all shell variables. The --ff option will restrict the display to shell functions. The --FF 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 eexxttddeebbuugg shell option is enabled - using sshhoopptt, the source file name and line number where each - _n_a_m_e is defined are displayed as well. The --FF option implies + using sshhoopptt, the source file name and line number where each + _n_a_m_e is defined are displayed as well. The --FF option implies --ff. The --gg option forces variables to be created or modified at the global scope, even when ddeeccllaarree is executed in a shell func- - tion. It is ignored in all other cases. The --II option causes - local variables to inherit the attributes (except the _n_a_m_e_r_e_f + tion. It is ignored in all other cases. The --II option causes + local variables to inherit the attributes (except the _n_a_m_e_r_e_f attribute) and value of any existing variable with the same _n_a_m_e - 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: - --aa Each _n_a_m_e is an indexed array variable (see AArrrraayyss + --aa Each _n_a_m_e is an indexed array variable (see AArrrraayyss above). - --AA Each _n_a_m_e is an associative array variable (see AArrrraayyss + --AA Each _n_a_m_e is an associative array variable (see AArrrraayyss above). --ff Use function names only. --ii The variable is treated as an integer; arithmetic evalua- - tion (see AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN above) is performed when + tion (see AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN above) is performed when the variable is assigned a value. - --ll When the variable is assigned a value, all upper-case - characters are converted to lower-case. The upper-case + --ll When the variable is assigned a value, all upper-case + characters are converted to lower-case. The upper-case attribute is disabled. - --nn Give each _n_a_m_e the _n_a_m_e_r_e_f attribute, making it a name - reference to another variable. That other variable is - defined by the value of _n_a_m_e. All references, assign- - ments, and attribute modifications to _n_a_m_e, except those - using or changing the --nn attribute itself, are performed - on the variable referenced by _n_a_m_e's value. The nameref + --nn Give each _n_a_m_e the _n_a_m_e_r_e_f attribute, making it a name + reference to another variable. That other variable is + defined by the value of _n_a_m_e. All references, assign- + ments, and attribute modifications to _n_a_m_e, except those + using or changing the --nn attribute itself, are performed + on the variable referenced by _n_a_m_e's value. The nameref attribute cannot be applied to array variables. --rr Make _n_a_m_es readonly. These names cannot then be assigned values by subsequent assignment statements or unset. --tt Give each _n_a_m_e the _t_r_a_c_e attribute. Traced functions in- - herit the DDEEBBUUGG and RREETTUURRNN traps from the calling shell. + herit the DDEEBBUUGG and RREETTUURRNN traps from the calling shell. The trace attribute has no special meaning for variables. - --uu When the variable is assigned a value, all lower-case - characters are converted to upper-case. The lower-case + --uu When the variable is assigned a value, all lower-case + characters are converted to upper-case. The lower-case attribute is disabled. - --xx Mark _n_a_m_es for export to subsequent commands via the en- + --xx Mark _n_a_m_es for export to subsequent commands via the en- vironment. - Using `+' instead of `-' turns off the attribute instead, with - the exceptions that ++aa and ++AA may not be used to destroy array - variables and ++rr will not remove the readonly attribute. When + Using `+' instead of `-' turns off the attribute instead, with + the exceptions that ++aa and ++AA may not be used to destroy array + variables and ++rr will not remove the readonly attribute. When used in a function, ddeeccllaarree and ttyyppeesseett make each _n_a_m_e local, as - with the llooccaall command, unless the --gg option is supplied. If a - variable name is followed by =_v_a_l_u_e, the value of the variable - is set to _v_a_l_u_e. When using --aa or --AA and the compound assign- - ment syntax to create array variables, additional attributes do - not take effect until subsequent assignments. The return value + with the llooccaall command, unless the --gg option is supplied. If a + variable name is followed by =_v_a_l_u_e, the value of the variable + is set to _v_a_l_u_e. When using --aa or --AA 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 AArrrraayyss above), one of the _n_a_m_e_s 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 AArrrraayyss above), one of the _n_a_m_e_s 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 --ff. ddiirrss [[--ccllppvv]] [[++_n]] [[--_n]] - 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 ppuusshhdd command; the ppooppdd 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 ppuusshhdd command; the ppooppdd command removes entries from the list. The current directory is always the first direc- tory in the stack. - --cc Clears the directory stack by deleting all of the en- + --cc Clears the directory stack by deleting all of the en- tries. - --ll Produces a listing using full pathnames; the default + --ll Produces a listing using full pathnames; the default listing format uses a tilde to denote the home directory. --pp Print the directory stack with one entry per line. - --vv Print the directory stack with one entry per line, pre- + --vv Print the directory stack with one entry per line, pre- fixing each entry with its index in the stack. ++_n Displays the _nth entry counting from the left of the list shown by ddiirrss when invoked without options, starting with zero. - --_n Displays the _nth entry counting from the right of the + --_n Displays the _nth entry counting from the right of the list shown by ddiirrss when invoked without options, starting with zero. - The return value is 0 unless an invalid option is supplied or _n + The return value is 0 unless an invalid option is supplied or _n indexes beyond the end of the directory stack. ddiissoowwnn [--aarr] [--hh] [_j_o_b_s_p_e_c ... | _p_i_d ... ] - Without options, remove each _j_o_b_s_p_e_c from the table of active - jobs. If _j_o_b_s_p_e_c is not present, and neither the --aa nor the --rr - option is supplied, the _c_u_r_r_e_n_t _j_o_b is used. If the --hh option - is given, each _j_o_b_s_p_e_c is not removed from the table, but is - marked so that SSIIGGHHUUPP is not sent to the job if the shell re- + Without options, remove each _j_o_b_s_p_e_c from the table of active + jobs. If _j_o_b_s_p_e_c is not present, and neither the --aa nor the --rr + option is supplied, the _c_u_r_r_e_n_t _j_o_b is used. If the --hh option + is given, each _j_o_b_s_p_e_c is not removed from the table, but is + marked so that SSIIGGHHUUPP is not sent to the job if the shell re- ceives a SSIIGGHHUUPP. If no _j_o_b_s_p_e_c is supplied, the --aa option means - to remove or mark all jobs; the --rr option without a _j_o_b_s_p_e_c ar- + to remove or mark all jobs; the --rr option without a _j_o_b_s_p_e_c ar- gument restricts operation to running jobs. The return value is 0 unless a _j_o_b_s_p_e_c does not specify a valid job. eecchhoo [--nneeEE] [_a_r_g ...] - Output the _a_r_gs, separated by spaces, followed by a newline. - The return status is 0 unless a write error occurs. If --nn is + Output the _a_r_gs, separated by spaces, followed by a newline. + The return status is 0 unless a write error occurs. If --nn is specified, the trailing newline is suppressed. If the --ee option - is given, interpretation of the following backslash-escaped - characters is enabled. The --EE option disables the interpreta- - tion of these escape characters, even on systems where they are - interpreted by default. The xxppgg__eecchhoo shell option may be used - to dynamically determine whether or not eecchhoo expands these es- - cape characters by default. eecchhoo does not interpret ---- to mean - the end of options. eecchhoo interprets the following escape se- + is given, interpretation of the following backslash-escaped + characters is enabled. The --EE option disables the interpreta- + tion of these escape characters, even on systems where they are + interpreted by default. The xxppgg__eecchhoo shell option may be used + to dynamically determine whether or not eecchhoo expands these es- + cape characters by default. eecchhoo does not interpret ---- to mean + the end of options. eecchhoo interprets the following escape se- quences: \\aa alert (bell) \\bb backspace @@ -4966,200 +4967,200 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS \\tt horizontal tab \\vv vertical tab \\\\ backslash - \\00_n_n_n the eight-bit character whose value is the octal value + \\00_n_n_n the eight-bit character whose value is the octal value _n_n_n (zero to three octal digits) - \\xx_H_H the eight-bit character whose value is the hexadecimal + \\xx_H_H the eight-bit character whose value is the hexadecimal value _H_H (one or two hex digits) - \\uu_H_H_H_H the Unicode (ISO/IEC 10646) character whose value is the + \\uu_H_H_H_H the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value _H_H_H_H (one to four hex digits) \\UU_H_H_H_H_H_H_H_H - the Unicode (ISO/IEC 10646) character whose value is the + the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value _H_H_H_H_H_H_H_H (one to eight hex digits) eennaabbllee [--aa] [--ddnnppss] [--ff _f_i_l_e_n_a_m_e] [_n_a_m_e ...] - 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 --nn is used, each _n_a_m_e is disabled; otherwise, _n_a_m_e_s are en- - abled. For example, to use the tteesstt binary found via the PPAATTHH - instead of the shell builtin version, run ``enable -n test''. - The --ff option means to load the new builtin command _n_a_m_e from + to be executed without specifying a full pathname, even though + the shell normally searches for builtins before disk commands. + If --nn is used, each _n_a_m_e is disabled; otherwise, _n_a_m_e_s are en- + abled. For example, to use the tteesstt binary found via the PPAATTHH + instead of the shell builtin version, run ``enable -n test''. + The --ff option means to load the new builtin command _n_a_m_e from shared object _f_i_l_e_n_a_m_e, on systems that support dynamic loading. Bash will use the value of the BBAASSHH__LLOOAADDAABBLLEESS__PPAATTHH variable as a colon-separated list of directories in which to search for _f_i_l_e_- - _n_a_m_e. The default is system-dependent. The --dd option will - delete a builtin previously loaded with --ff. If no _n_a_m_e argu- - ments are given, or if the --pp option is supplied, a list of - shell builtins is printed. With no other option arguments, the + _n_a_m_e. The default is system-dependent. The --dd option will + delete a builtin previously loaded with --ff. If no _n_a_m_e argu- + ments are given, or if the --pp option is supplied, a list of + shell builtins is printed. With no other option arguments, the list consists of all enabled shell builtins. If --nn is supplied, only disabled builtins are printed. If --aa is supplied, the list - printed includes all builtins, with an indication of whether or - not each is enabled. If --ss is supplied, the output is re- - stricted to the POSIX _s_p_e_c_i_a_l builtins. If no options are sup- - plied and a _n_a_m_e is not a shell builtin, eennaabbllee will attempt to - load _n_a_m_e from a shared object named _n_a_m_e, as if the command - were ``enable -f _n_a_m_e _n_a_m_e . The return value is 0 unless a - _n_a_m_e 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 --ss is supplied, the output is re- + stricted to the POSIX _s_p_e_c_i_a_l builtins. If no options are sup- + plied and a _n_a_m_e is not a shell builtin, eennaabbllee will attempt to + load _n_a_m_e from a shared object named _n_a_m_e, as if the command + were ``enable -f _n_a_m_e _n_a_m_e . The return value is 0 unless a + _n_a_m_e is not a shell builtin or there is an error loading a new builtin from a shared object. eevvaall [_a_r_g ...] - The _a_r_gs 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 eevvaall. If there are + The _a_r_gs 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 eevvaall. If there are no _a_r_g_s, or only null arguments, eevvaall returns 0. eexxeecc [--ccll] [--aa _n_a_m_e] [_c_o_m_m_a_n_d [_a_r_g_u_m_e_n_t_s]] - If _c_o_m_m_a_n_d is specified, it replaces the shell. No new process - is created. The _a_r_g_u_m_e_n_t_s become the arguments to _c_o_m_m_a_n_d. If + If _c_o_m_m_a_n_d is specified, it replaces the shell. No new process + is created. The _a_r_g_u_m_e_n_t_s become the arguments to _c_o_m_m_a_n_d. If the --ll option is supplied, the shell places a dash at the begin- ning of the zeroth argument passed to _c_o_m_m_a_n_d. This is what _l_o_- - _g_i_n(1) does. The --cc option causes _c_o_m_m_a_n_d to be executed with - an empty environment. If --aa is supplied, the shell passes _n_a_m_e + _g_i_n(1) does. The --cc option causes _c_o_m_m_a_n_d to be executed with + an empty environment. If --aa is supplied, the shell passes _n_a_m_e as the zeroth argument to the executed command. If _c_o_m_m_a_n_d can- - not be executed for some reason, a non-interactive shell exits, - unless the eexxeeccffaaiill 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 - eexxeecc fails. If _c_o_m_m_a_n_d 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 eexxeeccffaaiill 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 + eexxeecc fails. If _c_o_m_m_a_n_d 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. eexxiitt [_n] - Cause the shell to exit with a status of _n. If _n is omitted, + Cause the shell to exit with a status of _n. If _n is omitted, the exit status is that of the last command executed. A trap on EEXXIITT is executed before the shell terminates. eexxppoorrtt [--ffnn] [_n_a_m_e[=_w_o_r_d]] ... eexxppoorrtt --pp - The supplied _n_a_m_e_s are marked for automatic export to the envi- - ronment of subsequently executed commands. If the --ff option is - given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or - if the --pp option is supplied, a list of names of all exported - variables is printed. The --nn option causes the export property + The supplied _n_a_m_e_s are marked for automatic export to the envi- + ronment of subsequently executed commands. If the --ff option is + given, the _n_a_m_e_s refer to functions. If no _n_a_m_e_s are given, or + if the --pp option is supplied, a list of names of all exported + variables is printed. The --nn option causes the export property to be removed from each _n_a_m_e. If a variable name is followed by =_w_o_r_d, the value of the variable is set to _w_o_r_d. eexxppoorrtt returns an exit status of 0 unless an invalid option is encountered, one - of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- + of the _n_a_m_e_s is not a valid shell variable name, or --ff is sup- plied with a _n_a_m_e that is not a function. ffcc [--ee _e_n_a_m_e] [--llnnrr] [_f_i_r_s_t] [_l_a_s_t] ffcc --ss [_p_a_t=_r_e_p] [_c_m_d] - The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t - from the history list and displays or edits and re-executes - them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate - the last command beginning with that string) or as a number (an - index into the history list, where a negative number is used as - an offset from the current command number). When listing, a - _f_i_r_s_t or _l_a_s_t of 0 is equivalent to -1 and -0 is equivalent to - the current command (usually the ffcc command); otherwise 0 is - equivalent to -1 and -0 is invalid. If _l_a_s_t is not specified, - it is set to the current command for listing (so that ``fc -l - -10'' prints the last 10 commands) and to _f_i_r_s_t otherwise. If - _f_i_r_s_t is not specified, it is set to the previous command for + The first form selects a range of commands from _f_i_r_s_t to _l_a_s_t + from the history list and displays or edits and re-executes + them. _F_i_r_s_t and _l_a_s_t may be specified as a string (to locate + the last command beginning with that string) or as a number (an + index into the history list, where a negative number is used as + an offset from the current command number). When listing, a + _f_i_r_s_t or _l_a_s_t of 0 is equivalent to -1 and -0 is equivalent to + the current command (usually the ffcc command); otherwise 0 is + equivalent to -1 and -0 is invalid. If _l_a_s_t is not specified, + it is set to the current command for listing (so that ``fc -l + -10'' prints the last 10 commands) and to _f_i_r_s_t otherwise. If + _f_i_r_s_t is not specified, it is set to the previous command for editing and -16 for listing. - The --nn option suppresses the command numbers when listing. The - --rr option reverses the order of the commands. If the --ll option - is given, the commands are listed on standard output. Other- - wise, the editor given by _e_n_a_m_e is invoked on a file containing - those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT - variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. - If neither variable is set, _v_i is used. When editing is com- + The --nn option suppresses the command numbers when listing. The + --rr option reverses the order of the commands. If the --ll option + is given, the commands are listed on standard output. Other- + wise, the editor given by _e_n_a_m_e is invoked on a file containing + those commands. If _e_n_a_m_e is not given, the value of the FFCCEEDDIITT + variable is used, and the value of EEDDIITTOORR if FFCCEEDDIITT is not set. + If neither variable is set, _v_i is used. When editing is com- plete, the edited commands are echoed and executed. - In the second form, _c_o_m_m_a_n_d is re-executed after each instance - of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is interpreted the same as - _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', - so that typing ``r cc'' runs the last command beginning with + In the second form, _c_o_m_m_a_n_d is re-executed after each instance + of _p_a_t is replaced by _r_e_p. _C_o_m_m_a_n_d is interpreted the same as + _f_i_r_s_t above. A useful alias to use with this is ``r="fc -s"'', + so that typing ``r cc'' runs the last command beginning with ``cc'' and typing ``r'' re-executes the last command. - If the first form is used, the return value is 0 unless an in- - valid option is encountered or _f_i_r_s_t or _l_a_s_t specify history - lines out of range. If the --ee option is supplied, the return + If the first form is used, the return value is 0 unless an in- + valid option is encountered or _f_i_r_s_t or _l_a_s_t specify history + lines out of range. If the --ee option is supplied, the return value is the value of the last command executed or failure if an error occurs with the temporary file of commands. If the second - form is used, the return status is that of the command re-exe- - cuted, unless _c_m_d does not specify a valid history line, in + form is used, the return status is that of the command re-exe- + cuted, unless _c_m_d does not specify a valid history line, in which case ffcc returns failure. ffgg [_j_o_b_s_p_e_c] - Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. + Resume _j_o_b_s_p_e_c in the foreground, and make it the current job. If _j_o_b_s_p_e_c is not present, the shell's notion of the _c_u_r_r_e_n_t _j_o_b - is used. The return value is that of the command placed into - the foreground, or failure if run when job control is disabled + is used. The return value is that of the command placed into + the foreground, or failure if run when job control is disabled or, when run with job control enabled, if _j_o_b_s_p_e_c does not spec- - ify a valid job or _j_o_b_s_p_e_c specifies a job that was started + ify a valid job or _j_o_b_s_p_e_c specifies a job that was started without job control. ggeettooppttss _o_p_t_s_t_r_i_n_g _n_a_m_e [_a_r_g _._._.] - ggeettooppttss is used by shell procedures to parse positional parame- - ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- - nized; if a character is followed by a colon, the option is ex- + ggeettooppttss is used by shell procedures to parse positional parame- + ters. _o_p_t_s_t_r_i_n_g contains the option characters to be recog- + nized; if a character is followed by a colon, the option is 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, ggeettooppttss - places the next option in the shell variable _n_a_m_e, initializing + white space. The colon and question mark characters may not be + used as option characters. Each time it is invoked, ggeettooppttss + places the next option in the shell variable _n_a_m_e, initializing _n_a_m_e if it does not exist, and the index of the next argument to be processed into the variable OOPPTTIINNDD. OOPPTTIINNDD is initialized to 1 each time the shell or a shell script is invoked. When an op- tion requires an argument, ggeettooppttss places that argument into the variable OOPPTTAARRGG. The shell does not reset OOPPTTIINNDD automatically; - it must be manually reset between multiple calls to ggeettooppttss - within the same shell invocation if a new set of parameters is + it must be manually reset between multiple calls to ggeettooppttss + within the same shell invocation if a new set of parameters is to be used. When the end of options is encountered, ggeettooppttss exits with a re- turn value greater than zero. OOPPTTIINNDD is set to the index of the first non-option argument, and _n_a_m_e is set to ?. - ggeettooppttss normally parses the positional parameters, but if more - arguments are supplied as _a_r_g values, ggeettooppttss parses those in- + ggeettooppttss normally parses the positional parameters, but if more + arguments are supplied as _a_r_g values, ggeettooppttss parses those in- stead. - ggeettooppttss can report errors in two ways. If the first character - of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In - normal operation, diagnostic messages are printed when invalid - options or missing option arguments are encountered. If the - variable OOPPTTEERRRR is set to 0, no error messages will be dis- + ggeettooppttss can report errors in two ways. If the first character + of _o_p_t_s_t_r_i_n_g is a colon, _s_i_l_e_n_t error reporting is used. In + normal operation, diagnostic messages are printed when invalid + options or missing option arguments are encountered. If the + variable OOPPTTEERRRR is set to 0, no error messages will be dis- played, even if the first character of _o_p_t_s_t_r_i_n_g is not a colon. If an invalid option is seen, ggeettooppttss places ? into _n_a_m_e and, if - not silent, prints an error message and unsets OOPPTTAARRGG. If - ggeettooppttss is silent, the option character found is placed in OOPP-- + not silent, prints an error message and unsets OOPPTTAARRGG. If + ggeettooppttss is silent, the option character found is placed in OOPP-- TTAARRGG and no diagnostic message is printed. - If a required argument is not found, and ggeettooppttss is not silent, - a question mark (??) is placed in _n_a_m_e, OOPPTTAARRGG is unset, and a - diagnostic message is printed. If ggeettooppttss is silent, then a - colon (::) is placed in _n_a_m_e and OOPPTTAARRGG is set to the option + If a required argument is not found, and ggeettooppttss is not silent, + a question mark (??) is placed in _n_a_m_e, OOPPTTAARRGG is unset, and a + diagnostic message is printed. If ggeettooppttss is silent, then a + colon (::) is placed in _n_a_m_e and OOPPTTAARRGG is set to the option character found. - ggeettooppttss returns true if an option, specified or unspecified, is + ggeettooppttss returns true if an option, specified or unspecified, is found. It returns false if the end of options is encountered or an error occurs. hhaasshh [--llrr] [--pp _f_i_l_e_n_a_m_e] [--ddtt] [_n_a_m_e] Each time hhaasshh is invoked, the full pathname of the command _n_a_m_e - is determined by searching the directories in $$PPAATTHH and remem- + is determined by searching the directories in $$PPAATTHH and remem- bered. Any previously-remembered pathname is discarded. If the --pp option is supplied, no path search is performed, and _f_i_l_e_n_a_m_e - is used as the full filename of the command. The --rr option + is used as the full filename of the command. The --rr option causes the shell to forget all remembered locations. The --dd op- - tion causes the shell to forget the remembered location of each - _n_a_m_e. If the --tt option is supplied, the full pathname to which - each _n_a_m_e corresponds is printed. If multiple _n_a_m_e arguments + tion causes the shell to forget the remembered location of each + _n_a_m_e. If the --tt option is supplied, the full pathname to which + each _n_a_m_e corresponds is printed. If multiple _n_a_m_e arguments are supplied with --tt, the _n_a_m_e is printed before the hashed full pathname. The --ll 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 --ll is supplied, information about remembered commands is - printed. The return status is true unless a _n_a_m_e is not found + printed. The return status is true unless a _n_a_m_e is not found or an invalid option is supplied. hheellpp [--ddmmss] [_p_a_t_t_e_r_n] - Display helpful information about builtin commands. If _p_a_t_t_e_r_n - is specified, hheellpp gives detailed help on all commands matching - _p_a_t_t_e_r_n; otherwise help for all the builtins and shell control + Display helpful information about builtin commands. If _p_a_t_t_e_r_n + is specified, hheellpp gives detailed help on all commands matching + _p_a_t_t_e_r_n; otherwise help for all the builtins and shell control structures is printed. --dd Display a short description of each _p_a_t_t_e_r_n --mm Display the description of each _p_a_t_t_e_r_n in a manpage-like @@ -5177,54 +5178,54 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS hhiissttoorryy --ss _a_r_g [_a_r_g _._._.] With no options, display the command history list with line num- bers. Lines listed with a ** have been modified. An argument of - _n lists only the last _n lines. If the shell variable HHIISSTTTTIIMMEE-- - FFOORRMMAATT is set and not null, it is used as a format string for - _s_t_r_f_t_i_m_e(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 _f_i_l_e_n_a_m_e is - supplied, it is used as the name of the history file; if not, - the value of HHIISSTTFFIILLEE is used. Options, if supplied, have the + _n lists only the last _n lines. If the shell variable HHIISSTTTTIIMMEE-- + FFOORRMMAATT is set and not null, it is used as a format string for + _s_t_r_f_t_i_m_e(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 _f_i_l_e_n_a_m_e is + supplied, it is used as the name of the history file; if not, + the value of HHIISSTTFFIILLEE is used. Options, if supplied, have the following meanings: --cc Clear the history list by deleting all the entries. --dd _o_f_f_s_e_t - Delete the history entry at position _o_f_f_s_e_t. If _o_f_f_s_e_t + Delete the history entry at position _o_f_f_s_e_t. If _o_f_f_s_e_t 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 hhiissttoorryy --dd command. --dd _s_t_a_r_t-_e_n_d - Delete the range of history entries between positions - _s_t_a_r_t and _e_n_d, inclusive. Positive and negative values + Delete the range of history entries between positions + _s_t_a_r_t and _e_n_d, inclusive. Positive and negative values for _s_t_a_r_t and _e_n_d are interpreted as described above. - --aa Append the ``new'' history lines to the history file. - These are history lines entered since the beginning of + --aa Append the ``new'' history lines to the history file. + These are history lines entered since the beginning of the current bbaasshh session, but not already appended to the history file. - --nn Read the history lines not already read from the history - file into the current history list. These are lines ap- - pended to the history file since the beginning of the + --nn Read the history lines not already read from the history + file into the current history list. These are lines ap- + pended to the history file since the beginning of the current bbaasshh session. - --rr Read the contents of the history file and append them to + --rr Read the contents of the history file and append them to the current history list. --ww Write the current history list to the history file, over- writing the history file's contents. - --pp Perform history substitution on the following _a_r_g_s and - display the result on the standard output. Does not - store the results in the history list. Each _a_r_g must be + --pp Perform history substitution on the following _a_r_g_s and + display the result on the standard output. Does not + store the results in the history list. Each _a_r_g must be quoted to disable normal history expansion. - --ss Store the _a_r_g_s in the history list as a single entry. - The last command in the history list is removed before + --ss Store the _a_r_g_s in the history list as a single entry. + The last command in the history list is removed before the _a_r_g_s are added. - If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- - tion associated with each history entry is written to the his- - tory file, marked with the history comment character. When the - history file is read, lines beginning with the history comment - character followed immediately by a digit are interpreted as + If the HHIISSTTTTIIMMEEFFOORRMMAATT variable is set, the time stamp informa- + tion associated with each history entry is written to the his- + tory file, marked with the history comment character. When the + history file is read, lines beginning with the history comment + character followed immediately by a digit are interpreted as timestamps for the following history entry. The return value is 0 unless an invalid option is encountered, an error occurs while - reading or writing the history file, an invalid _o_f_f_s_e_t or range - is supplied as an argument to --dd, or the history expansion sup- + reading or writing the history file, an invalid _o_f_f_s_e_t or range + is supplied as an argument to --dd, or the history expansion sup- plied as an argument to --pp fails. jjoobbss [--llnnpprrss] [ _j_o_b_s_p_e_c ... ] @@ -5232,15 +5233,15 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS The first form lists the active jobs. The options have the fol- lowing meanings: --ll List process IDs in addition to the normal information. - --nn Display information only about jobs that have changed + --nn Display information only about jobs that have changed status since the user was last notified of their status. - --pp List only the process ID of the job's process group + --pp List only the process ID of the job's process group leader. --rr Display only running jobs. --ss Display only stopped jobs. - If _j_o_b_s_p_e_c is given, output is restricted to information about - that job. The return status is 0 unless an invalid option is + If _j_o_b_s_p_e_c is given, output is restricted to information about + that job. The return status is 0 unless an invalid option is encountered or an invalid _j_o_b_s_p_e_c is supplied. If the --xx option is supplied, jjoobbss replaces any _j_o_b_s_p_e_c found in @@ -5249,142 +5250,142 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS kkiillll [--ss _s_i_g_s_p_e_c | --nn _s_i_g_n_u_m | --_s_i_g_s_p_e_c] [_p_i_d | _j_o_b_s_p_e_c] ... kkiillll --ll|--LL [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] - Send the signal named by _s_i_g_s_p_e_c or _s_i_g_n_u_m to the processes - named by _p_i_d or _j_o_b_s_p_e_c. _s_i_g_s_p_e_c is either a case-insensitive - signal name such as SSIIGGKKIILLLL (with or without the SSIIGG prefix) or - a signal number; _s_i_g_n_u_m is a signal number. If _s_i_g_s_p_e_c is not - present, then SSIIGGTTEERRMM is assumed. An argument of --ll lists the - signal names. If any arguments are supplied when --ll is given, - the names of the signals corresponding to the arguments are + Send the signal named by _s_i_g_s_p_e_c or _s_i_g_n_u_m to the processes + named by _p_i_d or _j_o_b_s_p_e_c. _s_i_g_s_p_e_c is either a case-insensitive + signal name such as SSIIGGKKIILLLL (with or without the SSIIGG prefix) or + a signal number; _s_i_g_n_u_m is a signal number. If _s_i_g_s_p_e_c is not + present, then SSIIGGTTEERRMM is assumed. An argument of --ll lists the + signal names. If any arguments are supplied when --ll is given, + the names of the signals corresponding to the arguments are listed, and the return status is 0. The _e_x_i_t___s_t_a_t_u_s argument to - --ll is a number specifying either a signal number or the exit - status of a process terminated by a signal. The --LL option is - equivalent to --ll. kkiillll returns true if at least one signal was + --ll is a number specifying either a signal number or the exit + status of a process terminated by a signal. The --LL option is + equivalent to --ll. kkiillll returns true if at least one signal was successfully sent, or false if an error occurs or an invalid op- tion is encountered. lleett _a_r_g [_a_r_g ...] Each _a_r_g is an arithmetic expression to be evaluated (see AARRIITTHH-- - MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett + MMEETTIICC EEVVAALLUUAATTIIOONN above). If the last _a_r_g evaluates to 0, lleett returns 1; 0 is returned otherwise. llooccaall [_o_p_t_i_o_n] [_n_a_m_e[=_v_a_l_u_e] ... | - ] - For each argument, a local variable named _n_a_m_e is created, and - assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted + For each argument, a local variable named _n_a_m_e is created, and + assigned _v_a_l_u_e. The _o_p_t_i_o_n can be any of the options accepted by ddeeccllaarree. When llooccaall is used within a function, it causes the - variable _n_a_m_e to have a visible scope restricted to that func- - tion and its children. If _n_a_m_e is -, the set of shell options - is made local to the function in which llooccaall is invoked: shell - options changed using the sseett builtin inside the function are - restored to their original values when the function returns. + variable _n_a_m_e to have a visible scope restricted to that func- + tion and its children. If _n_a_m_e is -, the set of shell options + is made local to the function in which llooccaall is invoked: shell + options changed using the sseett builtin inside the function are + restored to their original values when the function returns. The restore is effected as if a series of sseett commands were exe- - cuted to restore the values that were in place before the func- - tion. With no operands, llooccaall writes a list of local variables - to the standard output. It is an error to use llooccaall when not - within a function. The return status is 0 unless llooccaall is used - outside a function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a + cuted to restore the values that were in place before the func- + tion. With no operands, llooccaall writes a list of local variables + to the standard output. It is an error to use llooccaall when not + within a function. The return status is 0 unless llooccaall is used + outside a function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly variable. llooggoouutt Exit a login shell. - mmaappffiillee [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC + mmaappffiillee [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] rreeaaddaarrrraayy [--dd _d_e_l_i_m] [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u_n_t] [--tt] [--uu _f_d] [--CC _c_a_l_l_b_a_c_k] [--cc _q_u_a_n_t_u_m] [_a_r_r_a_y] - Read lines from the standard input into the indexed array vari- - able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- - plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if + Read lines from the standard input into the indexed array vari- + able _a_r_r_a_y, or from file descriptor _f_d if the --uu option is sup- + plied. The variable MMAAPPFFIILLEE is the default _a_r_r_a_y. Options, if supplied, have the following meanings: - --dd The first character of _d_e_l_i_m is used to terminate each - input line, rather than newline. If _d_e_l_i_m is the empty + --dd The first character of _d_e_l_i_m is used to terminate each + input line, rather than newline. If _d_e_l_i_m is the empty string, mmaappffiillee will terminate a line when it reads a NUL character. - --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are + --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are copied. - --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default + --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default index is 0. --ss Discard the first _c_o_u_n_t lines read. - --tt Remove a trailing _d_e_l_i_m (default newline) from each line + --tt Remove a trailing _d_e_l_i_m (default newline) from each line read. - --uu Read lines from file descriptor _f_d instead of the stan- + --uu Read lines from file descriptor _f_d instead of the stan- dard input. - --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The + --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The --cc option specifies _q_u_a_n_t_u_m. - --cc Specify the number of lines read between each call to + --cc Specify the number of lines read between each call to _c_a_l_l_b_a_c_k. - If --CC is specified without --cc, the default quantum is 5000. + If --CC is specified without --cc, the default quantum is 5000. When _c_a_l_l_b_a_c_k is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that - element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after + element as additional arguments. _c_a_l_l_b_a_c_k is evaluated after the line is read but before the array element is assigned. - If not supplied with an explicit origin, mmaappffiillee will clear _a_r_- + If not supplied with an explicit origin, mmaappffiillee will clear _a_r_- _r_a_y before assigning to it. - mmaappffiillee returns successfully unless an invalid option or option - argument is supplied, _a_r_r_a_y is invalid or unassignable, or if + mmaappffiillee returns successfully unless an invalid option or option + argument is supplied, _a_r_r_a_y is invalid or unassignable, or if _a_r_r_a_y is not an indexed array. ppooppdd [-nn] [+_n] [-_n] Removes entries from the directory stack. The elements are num- - bered from 0 starting at the first directory listed by ddiirrss. - With no arguments, ppooppdd removes the top directory from the + bered from 0 starting at the first directory listed by ddiirrss. + With no arguments, ppooppdd removes the top directory from the stack, and changes to the new top directory. Arguments, if sup- plied, have the following meanings: - --nn Suppresses the normal change of directory when removing + --nn Suppresses the normal change of directory when removing directories from the stack, so that only the stack is ma- nipulated. - ++_n Removes the _nth entry counting from the left of the list - shown by ddiirrss, starting with zero, from the stack. For - example: ``popd +0'' removes the first directory, ``popd + ++_n Removes the _nth entry counting from the left of the list + shown by ddiirrss, starting with zero, from the stack. For + example: ``popd +0'' removes the first directory, ``popd +1'' the second. --_n Removes the _nth entry counting from the right of the list - shown by ddiirrss, starting with zero. For example: ``popd - -0'' removes the last directory, ``popd -1'' the next to + shown by ddiirrss, 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 - _-_n option was not supplied, ppooppdd uses the ccdd builtin to change + If the top element of the directory stack is modified, and the + _-_n option was not supplied, ppooppdd uses the ccdd builtin to change to the directory at the top of the stack. If the ccdd fails, ppooppdd returns a non-zero value. - Otherwise, ppooppdd returns false if an invalid option is encoun- + Otherwise, ppooppdd 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 ppooppdd command is successful, bash runs ddiirrss to show the - final contents of the directory stack, and the return status is + If the ppooppdd command is successful, bash runs ddiirrss to show the + final contents of the directory stack, and the return status is 0. pprriinnttff [--vv _v_a_r] _f_o_r_m_a_t [_a_r_g_u_m_e_n_t_s] - Write the formatted _a_r_g_u_m_e_n_t_s to the standard output under the - control of the _f_o_r_m_a_t. The --vv option causes the output to be - assigned to the variable _v_a_r rather than being printed to the + Write the formatted _a_r_g_u_m_e_n_t_s to the standard output under the + control of the _f_o_r_m_a_t. The --vv option causes the output to be + assigned to the variable _v_a_r rather than being printed to the standard output. - The _f_o_r_m_a_t 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 _a_r_g_u_m_e_n_t. In + The _f_o_r_m_a_t 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 _a_r_g_u_m_e_n_t. In addition to the standard _p_r_i_n_t_f(1) format specifications, pprriinnttff interprets the following extensions: %%bb causes pprriinnttff to expand backslash escape sequences in the corresponding _a_r_g_u_m_e_n_t in the same way as eecchhoo --ee. - %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a + %%qq causes pprriinnttff to output the corresponding _a_r_g_u_m_e_n_t in a format that can be reused as shell input. - %%QQ like %%qq, but applies any supplied precision to the _a_r_g_u_- + %%QQ like %%qq, but applies any supplied precision to the _a_r_g_u_- _m_e_n_t before quoting it. %%((_d_a_t_e_f_m_t))TT - causes pprriinnttff to output the date-time string resulting - from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). + causes pprriinnttff to output the date-time string resulting + from using _d_a_t_e_f_m_t as a format string for _s_t_r_f_t_i_m_e(3). The corresponding _a_r_g_u_m_e_n_t is an integer representing the - number of seconds since the epoch. Two special argument - values may be used: -1 represents the current time, and - -2 represents the time the shell was invoked. If no 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 pprriinnttff behav- + given. This is an exception to the usual pprriinnttff behav- ior. The %b, %q, and %T directives all use the field width and preci- @@ -5392,104 +5393,104 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS 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 _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- + The _f_o_r_m_a_t is reused as necessary to consume all of the _a_r_g_u_- _m_e_n_t_s. If the _f_o_r_m_a_t requires more _a_r_g_u_m_e_n_t_s than are supplied, - the extra format specifications behave as if a zero value or - null string, as appropriate, had been supplied. The return + the extra format specifications behave as if a zero value or + null string, as appropriate, had been supplied. The return value is zero on success, non-zero on failure. ppuusshhdd [--nn] [+_n] [-_n] ppuusshhdd [--nn] [_d_i_r] - Adds a directory to the top of the directory stack, or rotates - the stack, making the new top of the stack the current working - directory. With no arguments, ppuusshhdd 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, ppuusshhdd exchanges the top two ele- + ments of the directory stack. Arguments, if supplied, have the following meanings: - --nn Suppresses the normal change of directory when rotating - or adding directories to the stack, so that only the + --nn Suppresses the normal change of directory when rotating + or adding directories to the stack, so that only the stack is manipulated. - ++_n Rotates the stack so that the _nth directory (counting - from the left of the list shown by ddiirrss, starting with + ++_n Rotates the stack so that the _nth directory (counting + from the left of the list shown by ddiirrss, starting with zero) is at the top. - --_n Rotates the stack so that the _nth directory (counting - from the right of the list shown by ddiirrss, starting with + --_n Rotates the stack so that the _nth directory (counting + from the right of the list shown by ddiirrss, starting with zero) is at the top. _d_i_r Adds _d_i_r to the directory stack at the top After the stack has been modified, if the --nn option was not sup- - plied, ppuusshhdd uses the ccdd builtin to change to the directory at + plied, ppuusshhdd uses the ccdd builtin to change to the directory at the top of the stack. If the ccdd fails, ppuusshhdd returns a non-zero value. - Otherwise, if no arguments are supplied, ppuusshhdd returns 0 unless - the directory stack is empty. When rotating the directory - stack, ppuusshhdd returns 0 unless the directory stack is empty or a + Otherwise, if no arguments are supplied, ppuusshhdd returns 0 unless + the directory stack is empty. When rotating the directory + stack, ppuusshhdd returns 0 unless the directory stack is empty or a non-existent directory stack element is specified. - If the ppuusshhdd command is successful, bash runs ddiirrss to show the + If the ppuusshhdd command is successful, bash runs ddiirrss to show the final contents of the directory stack. ppwwdd [--LLPP] - Print the absolute pathname of the current working directory. + Print the absolute pathname of the current working directory. The pathname printed contains no symbolic links if the --PP option is supplied or the --oo pphhyyssiiccaall option to the sseett builtin command - is enabled. If the --LL option is used, the pathname printed may - contain symbolic links. The return status is 0 unless an error + is enabled. If the --LL option is used, the pathname printed may + contain symbolic links. The return status is 0 unless an error occurs while reading the name of the current directory or an in- valid option is supplied. rreeaadd [--eerrss] [--aa _a_n_a_m_e] [--dd _d_e_l_i_m] [--ii _t_e_x_t] [--nn _n_c_h_a_r_s] [--NN _n_c_h_a_r_s] [--pp _p_r_o_m_p_t] [--tt _t_i_m_e_o_u_t] [--uu _f_d] [_n_a_m_e ...] - One line is read from the standard input, or from the file de- + One line is read from the standard input, or from the file de- scriptor _f_d supplied as an argument to the --uu option, split into - words as described above under WWoorrdd SSpplliittttiinngg, and the first - word is assigned to the first _n_a_m_e, the second word to the sec- - ond _n_a_m_e, and so on. If there are more words than names, the + words as described above under WWoorrdd SSpplliittttiinngg, and the first + word is assigned to the first _n_a_m_e, the second word to the sec- + ond _n_a_m_e, and so on. If there are more words than names, the remaining words and their intervening delimiters are assigned to - the last _n_a_m_e. If there are fewer words read from the input - stream than names, the remaining names are assigned empty val- - ues. The characters in IIFFSS are used to split the line into - words using the same rules the shell uses for expansion (de- - scribed above under WWoorrdd SSpplliittttiinngg). The backslash character + the last _n_a_m_e. If there are fewer words read from the input + stream than names, the remaining names are assigned empty val- + ues. The characters in IIFFSS are used to split the line into + words using the same rules the shell uses for expansion (de- + scribed above under WWoorrdd SSpplliittttiinngg). The backslash character (\\) may be used to remove any special meaning for the next char- - acter read and for line continuation. Options, if supplied, + acter read and for line continuation. Options, if supplied, have the following meanings: --aa _a_n_a_m_e The words are assigned to sequential indices of the array variable _a_n_a_m_e, starting at 0. _a_n_a_m_e is unset before any - new values are assigned. Other _n_a_m_e arguments are ig- + new values are assigned. Other _n_a_m_e arguments are ig- nored. --dd _d_e_l_i_m The first character of _d_e_l_i_m is used to terminate the in- - put line, rather than newline. If _d_e_l_i_m is the empty - string, rreeaadd will terminate a line when it reads a NUL + put line, rather than newline. If _d_e_l_i_m is the empty + string, rreeaadd will terminate a line when it reads a NUL character. --ee If the standard input is coming from a terminal, rreeaaddlliinnee - (see RREEAADDLLIINNEE 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 RREEAADDLLIINNEE 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. --ii _t_e_x_t - If rreeaaddlliinnee is being used to read the line, _t_e_x_t is + If rreeaaddlliinnee is being used to read the line, _t_e_x_t is placed into the editing buffer before editing begins. --nn _n_c_h_a_r_s - rreeaadd returns after reading _n_c_h_a_r_s characters rather than + rreeaadd returns after reading _n_c_h_a_r_s characters rather than waiting for a complete line of input, but honors a delim- - iter if fewer than _n_c_h_a_r_s characters are read before the + iter if fewer than _n_c_h_a_r_s characters are read before the delimiter. --NN _n_c_h_a_r_s - rreeaadd returns after reading exactly _n_c_h_a_r_s characters - rather than waiting for a complete line of input, unless - EOF is encountered or rreeaadd times out. Delimiter charac- - ters encountered in the input are not treated specially - and do not cause rreeaadd to return until _n_c_h_a_r_s characters - are read. The result is not split on the characters in - IIFFSS; the intent is that the variable is assigned exactly + rreeaadd returns after reading exactly _n_c_h_a_r_s characters + rather than waiting for a complete line of input, unless + EOF is encountered or rreeaadd times out. Delimiter charac- + ters encountered in the input are not treated specially + and do not cause rreeaadd to return until _n_c_h_a_r_s characters + are read. The result is not split on the characters in + IIFFSS; the intent is that the variable is assigned exactly the characters read (with the exception of backslash; see the --rr option below). --pp _p_r_o_m_p_t @@ -5497,133 +5498,133 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS line, before attempting to read any input. The prompt is displayed only if input is coming from a terminal. --rr Backslash does not act as an escape character. The back- - slash is considered to be part of the line. In particu- - lar, a backslash-newline pair may not 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. --ss Silent mode. If input is coming from a terminal, charac- ters are not echoed. --tt _t_i_m_e_o_u_t - Cause rreeaadd to time out and return failure if a complete - line of input (or a specified number of characters) is - not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- - mal number with a fractional portion following the deci- - mal point. This option is only effective if rreeaadd is - reading input from a terminal, pipe, or other special - file; it has no effect when reading from regular files. + Cause rreeaadd to time out and return failure if a complete + line of input (or a specified number of characters) is + not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_o_u_t may be a deci- + mal number with a fractional portion following the deci- + mal point. This option is only effective if rreeaadd is + reading input from a terminal, pipe, or other special + file; it has no effect when reading from regular files. If rreeaadd times out, rreeaadd saves any partial input read into - the specified variable _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd 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 _n_a_m_e. If _t_i_m_e_o_u_t is 0, rreeaadd 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. --uu _f_d Read input from file descriptor _f_d. - If no _n_a_m_e_s are supplied, the line read, without the ending de- - limiter but otherwise unmodified, is assigned to the variable - RREEPPLLYY. The exit status is zero, unless end-of-file is encoun- - tered, rreeaadd times out (in which case the status is greater than - 128), a variable assignment error (such as assigning to a read- + If no _n_a_m_e_s are supplied, the line read, without the ending de- + limiter but otherwise unmodified, is assigned to the variable + RREEPPLLYY. The exit status is zero, unless end-of-file is encoun- + tered, rreeaadd 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 --uu. rreeaaddoonnllyy [--aaAAff] [--pp] [_n_a_m_e[=_w_o_r_d] ...] - The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s - may not be changed by subsequent assignment. If the --ff option - is supplied, the functions corresponding to the _n_a_m_e_s are so - marked. The --aa option restricts the variables to indexed ar- - rays; the --AA option restricts the variables to associative ar- + The given _n_a_m_e_s are marked readonly; the values of these _n_a_m_e_s + may not be changed by subsequent assignment. If the --ff option + is supplied, the functions corresponding to the _n_a_m_e_s are so + marked. The --aa option restricts the variables to indexed ar- + rays; the --AA option restricts the variables to associative ar- rays. If both options are supplied, --AA takes precedence. If no - _n_a_m_e arguments are given, or if the --pp option is supplied, a + _n_a_m_e arguments are given, or if the --pp option is supplied, a list of all readonly names is printed. The other options may be - used to restrict the output to a subset of the set of readonly - names. The --pp option causes output to be displayed in a format - that may be reused as input. If a variable name is followed by - =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return - status is 0 unless an invalid option is encountered, one of the + used to restrict the output to a subset of the set of readonly + names. The --pp option causes output to be displayed in a format + that may be reused as input. If a variable name is followed by + =_w_o_r_d, the value of the variable is set to _w_o_r_d. The return + status is 0 unless an invalid option is encountered, one of the _n_a_m_e_s is not a valid shell variable name, or --ff is supplied with a _n_a_m_e that is not a function. rreettuurrnn [_n] - Causes a function to stop executing and return the value speci- - fied by _n to its caller. If _n is omitted, the return status is - that of the last command executed in the function body. If rree-- + Causes a function to stop executing and return the value speci- + fied by _n to its caller. If _n is omitted, the return status is + that of the last command executed in the function body. If rree-- ttuurrnn 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 rreettuurrnn is executed during a DDEEBBUUGG trap, the last - command used to determine the status is the last command exe- - cuted by the trap handler before rreettuurrnn was invoked. If rreettuurrnn - is used outside a function, but during execution of a script by - the .. (ssoouurrccee) command, it causes the shell to stop executing - that script and return either _n or the exit status of 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 rreettuurrnn is executed during a DDEEBBUUGG trap, the last + command used to determine the status is the last command exe- + cuted by the trap handler before rreettuurrnn was invoked. If rreettuurrnn + is used outside a function, but during execution of a script by + the .. (ssoouurrccee) command, it causes the shell to stop executing + that script and return either _n or the exit status of the last + command executed within the script as the exit status of the script. If _n is supplied, the return value is its least signif- - icant 8 bits. The return status is non-zero if rreettuurrnn is sup- - plied a non-numeric argument, or is used outside a function and - not during execution of a script by .. or ssoouurrccee. Any command + icant 8 bits. The return status is non-zero if rreettuurrnn is sup- + plied a non-numeric argument, or is used outside a function and + not during execution of a script by .. or ssoouurrccee. Any command associated with the RREETTUURRNN trap is executed before execution re- sumes after the function or script. sseett [--aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [--oo _o_p_t_i_o_n_-_n_a_m_e] [----] [--] [_a_r_g ...] sseett [++aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [++oo _o_p_t_i_o_n_-_n_a_m_e] [----] [--] [_a_r_g ...] - 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 _p_o_s_i_x _m_o_d_e, 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 _p_o_s_i_x _m_o_d_e, 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 $$11, - $$22, ...... $$_n. Options, if specified, have the following mean- + $$22, ...... $$_n. Options, if specified, have the following mean- ings: --aa 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. - --bb Report the status of terminated background jobs immedi- + --bb Report the status of terminated background jobs immedi- ately, rather than before the next primary prompt. This is effective only when job control is enabled. - --ee Exit immediately if a _p_i_p_e_l_i_n_e (which may consist of a - single _s_i_m_p_l_e _c_o_m_m_a_n_d), a _l_i_s_t, or a _c_o_m_p_o_u_n_d _c_o_m_m_a_n_d + --ee Exit immediately if a _p_i_p_e_l_i_n_e (which may consist of a + single _s_i_m_p_l_e _c_o_m_m_a_n_d), a _l_i_s_t, or a _c_o_m_p_o_u_n_d _c_o_m_m_a_n_d (see SSHHEELLLL GGRRAAMMMMAARR above), exits with a non-zero status. - The shell does not exit if the command that fails is - part of the command list immediately following a wwhhiillee - or uunnttiill keyword, part of the test following the iiff or - eelliiff reserved words, part of any command executed in a - &&&& or |||| list except the command following the final &&&& + The shell does not exit if the command that fails is + part of the command list immediately following a wwhhiillee + or uunnttiill keyword, part of the test following the iiff or + eelliiff reserved words, part of any command executed in a + &&&& or |||| list except the command following the final &&&& or ||||, any command in a pipeline but the last, or if the - command's return value is being inverted with !!. If a - compound command other than a subshell returns a non- - zero status because a command failed while --ee was being - ignored, the shell does not exit. A trap on EERRRR, if - set, is executed before the shell exits. This option + command's return value is being inverted with !!. If a + compound command other than a subshell returns a non- + zero status because a command failed while --ee was being + ignored, the shell does not exit. A trap on EERRRR, if + set, is executed before the shell exits. This option applies to the shell environment and each subshell envi- - ronment separately (see CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT + ronment separately (see CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT 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 --ee is being ignored, none of the commands - executed within the compound command or function body - will be affected by the --ee setting, even if --ee is set - and a command returns a failure status. If a compound - command or shell function sets --ee while executing in a - context where --ee 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 --ee is being ignored, none of the commands + executed within the compound command or function body + will be affected by the --ee setting, even if --ee is set + and a command returns a failure status. If a compound + command or shell function sets --ee while executing in a + context where --ee is ignored, that setting will not have + any effect until the compound command or the command containing the function call completes. --ff Disable pathname expansion. - --hh Remember the location of commands as they are looked up + --hh Remember the location of commands as they are looked up for execution. This is enabled by default. - --kk All arguments in the form of assignment statements are - placed in the environment for a command, not just those + --kk All arguments in the form of assignment statements are + placed in the environment for a command, not just those that precede the command name. - --mm Monitor mode. Job control is enabled. This option is - on by default for interactive shells on systems that - support it (see JJOOBB CCOONNTTRROOLL above). All processes run + --mm Monitor mode. Job control is enabled. This option is + on by default for interactive shells on systems that + support it (see JJOOBB CCOONNTTRROOLL 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. --nn 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. --oo _o_p_t_i_o_n_-_n_a_m_e The _o_p_t_i_o_n_-_n_a_m_e can be one of the following: @@ -5631,10 +5632,10 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Same as --aa. bbrraacceeeexxppaanndd Same as --BB. - eemmaaccss Use an emacs-style command line editing inter- + eemmaaccss 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 ----nnooeeddiittiinngg option. This also affects the + the ----nnooeeddiittiinngg option. This also affects the editing interface used for rreeaadd --ee. eerrrreexxiitt Same as --ee. eerrrrttrraaccee @@ -5648,8 +5649,8 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS HHIISSTTOORRYY. This option is on by default in inter- active shells. iiggnnoorreeeeooff - The effect is as if the shell command ``IG- - NOREEOF=10'' had been executed (see SShheellll VVaarrii-- + The effect is as if the shell command ``IG- + NOREEOF=10'' had been executed (see SShheellll VVaarrii-- aabblleess above). kkeeyywwoorrdd Same as --kk. mmoonniittoorr Same as --mm. @@ -5664,175 +5665,175 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS pphhyyssiiccaall Same as --PP. ppiippeeffaaiill - 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. - ppoossiixx Change the behavior of bbaasshh where the default - operation differs from the POSIX standard to - match the standard (_p_o_s_i_x _m_o_d_e). See SSEEEE AALLSSOO + ppoossiixx Change the behavior of bbaasshh where the default + operation differs from the POSIX standard to + match the standard (_p_o_s_i_x _m_o_d_e). See SSEEEE AALLSSOO below for a reference to a document that details how posix mode affects bash's behavior. pprriivviilleeggeedd Same as --pp. vveerrbboossee Same as --vv. - vvii Use a vi-style command line editing interface. + vvii Use a vi-style command line editing interface. This also affects the editing interface used for rreeaadd --ee. xxttrraaccee Same as --xx. If --oo is supplied with no _o_p_t_i_o_n_-_n_a_m_e, the values of the - current options are printed. If ++oo is supplied with no - _o_p_t_i_o_n_-_n_a_m_e, a series of sseett commands to recreate the - current option settings is displayed on the standard + current options are printed. If ++oo is supplied with no + _o_p_t_i_o_n_-_n_a_m_e, a series of sseett commands to recreate the + current option settings is displayed on the standard output. - --pp Turn on _p_r_i_v_i_l_e_g_e_d mode. In this mode, the $$EENNVV and - $$BBAASSHH__EENNVV files are not processed, shell functions are - not inherited from the environment, and the SSHHEELLLLOOPPTTSS, - BBAASSHHOOPPTTSS, CCDDPPAATTHH, and GGLLOOBBIIGGNNOORREE 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 --pp option is not sup- + --pp Turn on _p_r_i_v_i_l_e_g_e_d mode. In this mode, the $$EENNVV and + $$BBAASSHH__EENNVV files are not processed, shell functions are + not inherited from the environment, and the SSHHEELLLLOOPPTTSS, + BBAASSHHOOPPTTSS, CCDDPPAATTHH, and GGLLOOBBIIGGNNOORREE 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 --pp option is not sup- plied, these actions are taken and the effective user id - is set to the real user id. If the --pp 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 --pp 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. --rr Enable restricted shell mode. This option cannot be un- set once it has been set. --tt Exit after reading and executing one command. --uu 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. --vv Print shell input lines as they are read. - --xx After expanding each _s_i_m_p_l_e _c_o_m_m_a_n_d, ffoorr command, ccaassee + --xx After expanding each _s_i_m_p_l_e _c_o_m_m_a_n_d, ffoorr command, ccaassee command, sseelleecctt command, or arithmetic ffoorr command, dis- - play the expanded value of PPSS44, followed by the command + play the expanded value of PPSS44, followed by the command and its expanded arguments or associated word list. - --BB The shell performs brace expansion (see BBrraaccee EExxppaannssiioonn + --BB The shell performs brace expansion (see BBrraaccee EExxppaannssiioonn above). This is on by default. - --CC If set, bbaasshh does not overwrite an existing file with - the >>, >>&&, and <<>> redirection operators. This may be + --CC If set, bbaasshh does not overwrite an existing file with + the >>, >>&&, and <<>> redirection operators. This may be overridden when creating output files by using the redi- rection operator >>|| instead of >>. --EE If set, any trap on EERRRR is inherited by shell functions, - command substitutions, and commands executed in a sub- - shell environment. The EERRRR trap is normally not inher- + command substitutions, and commands executed in a sub- + shell environment. The EERRRR trap is normally not inher- ited in such cases. --HH Enable !! style history substitution. This option is on by default when the shell is interactive. - --PP If set, the shell does not resolve symbolic links when - executing commands such as ccdd that change the current + --PP If set, the shell does not resolve symbolic links when + executing commands such as ccdd that change the current working directory. It uses the physical directory structure instead. By default, bbaasshh follows the logical - chain of directories when performing commands which + chain of directories when performing commands which change the current directory. - --TT If set, any traps on DDEEBBUUGG and RREETTUURRNN are inherited by + --TT If set, any traps on DDEEBBUUGG and RREETTUURRNN are inherited by shell functions, command substitutions, and commands ex- - ecuted in a subshell environment. The DDEEBBUUGG and RREETTUURRNN + ecuted in a subshell environment. The DDEEBBUUGG and RREETTUURRNN traps are normally not inherited in such cases. - ---- If no arguments follow this option, then the positional + ---- If no arguments follow this option, then the positional parameters are unset. Otherwise, the positional parame- - ters are set to the _a_r_gs, even if some of them begin + ters are set to the _a_r_gs, even if some of them begin with a --. - -- Signal the end of options, cause all remaining _a_r_gs to + -- Signal the end of options, cause all remaining _a_r_gs to be assigned to the positional parameters. The --xx and --vv options are turned off. If there are no _a_r_gs, 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 $$--. The re- - turn status is always true unless an invalid option is encoun- + shell. The current set of options may be found in $$--. The re- + turn status is always true unless an invalid option is encoun- tered. sshhiifftt [_n] - The positional parameters from _n+1 ... are renamed to $$11 ........ - Parameters represented by the numbers $$## down to $$##-_n+1 are un- - set. _n must be a non-negative number less than or equal to $$##. - If _n is 0, no parameters are changed. If _n is not given, it is + The positional parameters from _n+1 ... are renamed to $$11 ........ + Parameters represented by the numbers $$## down to $$##-_n+1 are un- + set. _n must be a non-negative number less than or equal to $$##. + If _n is 0, no parameters are changed. If _n is not given, it is assumed to be 1. If _n is greater than $$##, 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 _n is greater than $$## or less than zero; otherwise 0. sshhoopptt [--ppqqssuu] [--oo] [_o_p_t_n_a_m_e ...] - 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 --oo option is used, those available with the --oo option to the sseett builtin command. With no options, or with the --pp 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 _o_p_t_n_a_m_e_s are supplied, the output - is restricted to those options. The --pp option causes output to - be displayed in a form that may be reused as input. Other op- + is restricted to those options. The --pp option causes output to + be displayed in a form that may be reused as input. Other op- tions have the following meanings: --ss Enable (set) each _o_p_t_n_a_m_e. --uu Disable (unset) each _o_p_t_n_a_m_e. - --qq Suppresses normal output (quiet mode); the return status + --qq Suppresses normal output (quiet mode); the return status indicates whether the _o_p_t_n_a_m_e is set or unset. If multi- - ple _o_p_t_n_a_m_e arguments are given with --qq, the return sta- - tus is zero if all _o_p_t_n_a_m_e_s are enabled; non-zero other- + ple _o_p_t_n_a_m_e arguments are given with --qq, the return sta- + tus is zero if all _o_p_t_n_a_m_e_s are enabled; non-zero other- wise. - --oo Restricts the values of _o_p_t_n_a_m_e to be those defined for + --oo Restricts the values of _o_p_t_n_a_m_e to be those defined for the --oo option to the sseett builtin. - If either --ss or --uu is used with no _o_p_t_n_a_m_e arguments, sshhoopptt - shows only those options which are set or unset, respectively. - Unless otherwise noted, the sshhoopptt options are disabled (unset) + If either --ss or --uu is used with no _o_p_t_n_a_m_e arguments, sshhoopptt + shows only those options which are set or unset, respectively. + Unless otherwise noted, the sshhoopptt options are disabled (unset) by default. - The return status when listing options is zero if all _o_p_t_n_a_m_e_s - are enabled, non-zero otherwise. When setting or unsetting op- - tions, the return status is zero unless an _o_p_t_n_a_m_e is not a + The return status when listing options is zero if all _o_p_t_n_a_m_e_s + are enabled, non-zero otherwise. When setting or unsetting op- + tions, the return status is zero unless an _o_p_t_n_a_m_e is not a valid shell option. The list of sshhoopptt options is: aassssoocc__eexxppaanndd__oonnccee - 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. - aauuttooccdd If set, a command name that is the name of a directory - is executed as if it were the argument to the ccdd com- + aauuttooccdd If set, a command name that is the name of a directory + is executed as if it were the argument to the ccdd com- mand. This option is only used by interactive shells. ccddaabbllee__vvaarrss - If set, an argument to the ccdd builtin command that is - not a directory is assumed to be the name of a variable + If set, an argument to the ccdd builtin command that is + not a directory is assumed to be the name of a variable whose value is the directory to change to. ccddssppeellll If set, minor errors in the spelling of a directory com- - ponent in a ccdd command will be corrected. The errors + ponent in a ccdd 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. cchheecckkhhaasshh If set, bbaasshh 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. cchheecckkjjoobbss If set, bbaasshh 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 JJOOBB CCOONNTTRROOLL above). The shell always postpones ex- iting if any jobs are stopped. cchheecckkwwiinnssiizzee - If set, bbaasshh checks the window size after each external - (non-builtin) command and, if necessary, updates the - values of LLIINNEESS and CCOOLLUUMMNNSS. This option is enabled by + If set, bbaasshh checks the window size after each external + (non-builtin) command and, if necessary, updates the + values of LLIINNEESS and CCOOLLUUMMNNSS. This option is enabled by default. - ccmmddhhiisstt If set, bbaasshh 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 + ccmmddhhiisstt If set, bbaasshh 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 HHIISSTTOORRYY. ccoommppaatt3311 ccoommppaatt3322 @@ -5842,122 +5843,122 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS ccoommppaatt4433 ccoommppaatt4444 ccoommppaatt5500 - These control aspects of the shell's compatibility mode + These control aspects of the shell's compatibility mode (see SSHHEELLLL CCOOMMPPAATTIIBBIILLIITTYY MMOODDEE below). ccoommpplleettee__ffuullllqquuoottee - If set, bbaasshh quotes all shell metacharacters in file- - names and directory names when performing completion. + If set, bbaasshh quotes all shell metacharacters in file- + names and directory names when performing completion. If not set, bbaasshh removes metacharacters such as the dol- - lar sign from the set of characters that will be quoted - in completed filenames when these metacharacters appear - in shell variable references in words to be completed. - This means that dollar signs in variable names that 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. ddiirreexxppaanndd - If set, bbaasshh replaces directory names with the results - of word expansion when performing filename completion. - This changes the contents of the readline editing buf- - fer. If not set, bbaasshh attempts to preserve what the + If set, bbaasshh replaces directory names with the results + of word expansion when performing filename completion. + This changes the contents of the readline editing buf- + fer. If not set, bbaasshh attempts to preserve what the user typed. ddiirrssppeellll - If set, bbaasshh attempts spelling correction on directory - names during word completion if the directory name ini- + If set, bbaasshh attempts spelling correction on directory + names during word completion if the directory name ini- tially supplied does not exist. - ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in - the results of pathname expansion. The filenames ````..'''' - and ````....'''' must always be matched explicitly, even if + ddoottgglloobb If set, bbaasshh includes filenames beginning with a `.' in + the results of pathname expansion. The filenames ````..'''' + and ````....'''' must always be matched explicitly, even if ddoottgglloobb is set. eexxeeccffaaiill If set, a non-interactive shell will not exit if it can- - not execute the file specified as an argument to the - eexxeecc builtin command. An interactive shell does not + not execute the file specified as an argument to the + eexxeecc builtin command. An interactive shell does not exit if eexxeecc fails. eexxppaanndd__aalliiaasseess - If set, aliases are expanded as described above under + If set, aliases are expanded as described above under AALLIIAASSEESS. This option is enabled by default for interac- tive shells. eexxttddeebbuugg - If set 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 ----ddeebbuuggggeerr option. If set af- - ter invocation, behavior intended for use by debuggers + starts, identical to the ----ddeebbuuggggeerr option. If set af- + ter invocation, behavior intended for use by debuggers is enabled: 11.. The --FF option to the ddeeccllaarree builtin displays the source file name and line number corresponding to each function name supplied as an argument. - 22.. If the command run by the DDEEBBUUGG trap returns a - non-zero value, the next command is skipped and + 22.. If the command run by the DDEEBBUUGG trap returns a + non-zero value, the next command is skipped and not executed. - 33.. If the command run by the DDEEBBUUGG trap returns a - value of 2, and the shell is executing in a sub- - routine (a shell function or a shell script exe- - cuted by the .. or ssoouurrccee builtins), the shell + 33.. If the command run by the DDEEBBUUGG trap returns a + value of 2, and the shell is executing in a sub- + routine (a shell function or a shell script exe- + cuted by the .. or ssoouurrccee builtins), the shell simulates a call to rreettuurrnn. - 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described - in their descriptions above. + 44.. BBAASSHH__AARRGGCC and BBAASSHH__AARRGGVV are updated as described + in their descriptions above). - 55.. Function tracing is enabled: command substitu- + 55.. Function tracing is enabled: command substitu- tion, shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the DDEEBBUUGG and RREETTUURRNN traps. - 66.. Error tracing is enabled: command substitution, - shell functions, and subshells invoked with (( + 66.. Error tracing is enabled: command substitution, + shell functions, and subshells invoked with (( _c_o_m_m_a_n_d )) inherit the EERRRR trap. eexxttgglloobb If set, the extended pattern matching features described above under PPaatthhnnaammee EExxppaannssiioonn are enabled. eexxttqquuoottee - If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed - within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double + If set, $$'_s_t_r_i_n_g' and $$"_s_t_r_i_n_g" quoting is performed + within $${{_p_a_r_a_m_e_t_e_r}} expansions enclosed in double quotes. This option is enabled by default. ffaaiillgglloobb - If set, patterns which fail to match filenames during + If set, patterns which fail to match filenames during pathname expansion result in an expansion error. ffoorrccee__ffiiggnnoorree - If set, the suffixes specified by the FFIIGGNNOORREE shell - variable cause words to be ignored when performing word + If set, the suffixes specified by the FFIIGGNNOORREE shell + variable cause words to be ignored when performing word completion even if the ignored words are the only possi- - ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a de- - scription of FFIIGGNNOORREE. This option is enabled by de- + ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a de- + scription of FFIIGGNNOORREE. This option is enabled by de- fault. gglloobbaasscciiiirraannggeess - If set, range expressions used in pattern matching - bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave - as if in the traditional C locale when performing com- - parisons. That is, the current locale's collating se- - quence is not taken into account, so bb will not collate - between AA and BB, and upper-case and lower-case ASCII + If set, range expressions used in pattern matching + bracket expressions (see PPaatttteerrnn MMaattcchhiinngg above) behave + as if in the traditional C locale when performing com- + parisons. That is, the current locale's collating se- + quence is not taken into account, so bb will not collate + between AA and BB, and upper-case and lower-case ASCII characters will collate together. gglloobbsskkiippddoottss - If set, pathname expansion will never match the file- + If set, pathname expansion will never match the file- names ````..'''' and ````....'''', even if the pattern begins with a ````..''''. This option is enabled by default. gglloobbssttaarr If set, the pattern **** used in a pathname expansion con- - text will match all files and zero or more directories - and subdirectories. If the pattern is followed by a //, + text will match all files and zero or more directories + and subdirectories. If the pattern is followed by a //, only directories and subdirectories match. ggnnuu__eerrrrffmmtt @@ -5965,25 +5966,25 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS GNU error message format. hhiissttaappppeenndd - 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 HHIISSTTFFIILLEE variable when the shell ex- its, rather than overwriting the file. hhiissttrreeeeddiitt - If set, and rreeaaddlliinnee is being used, a user is given the + If set, and rreeaaddlliinnee is being used, a user is given the opportunity to re-edit a failed history substitution. hhiissttvveerriiffyy - If set, and rreeaaddlliinnee is being used, the results of his- - tory substitution are not immediately passed to the - shell parser. Instead, the resulting line is loaded + If set, and rreeaaddlliinnee is being used, the results of his- + tory substitution are not immediately passed to the + shell parser. Instead, the resulting line is loaded into the rreeaaddlliinnee editing buffer, allowing further modi- fication. hhoossttccoommpplleettee If set, and rreeaaddlliinnee is being used, bbaasshh will attempt to - perform hostname completion when a word containing a @@ - is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE + perform hostname completion when a word containing a @@ + is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE above). This is enabled by default. hhuuppoonneexxiitt @@ -5991,23 +5992,23 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS active login shell exits. iinnhheerriitt__eerrrreexxiitt - If set, command substitution inherits the value of the - eerrrreexxiitt option, instead of unsetting it in the subshell - environment. This option is enabled when _p_o_s_i_x _m_o_d_e is + If set, command substitution inherits the value of the + eerrrreexxiitt option, instead of unsetting it in the subshell + environment. This option is enabled when _p_o_s_i_x _m_o_d_e is enabled. iinntteerraaccttiivvee__ccoommmmeennttss If set, allow a word beginning with ## to cause that word - and all remaining characters on that line to be ignored - in an interactive shell (see CCOOMMMMEENNTTSS above). This op- + and all remaining characters on that line to be ignored + in an interactive shell (see CCOOMMMMEENNTTSS above). This op- tion is enabled by default. llaassttppiippee - 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. - lliitthhiisstt If set, and the ccmmddhhiisstt option is enabled, multi-line + lliitthhiisstt If set, and the ccmmddhhiisstt option is enabled, multi-line commands are saved to the history with embedded newlines rather than using semicolon separators where possible. @@ -6018,54 +6019,54 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS tribute is not inherited. llooccaallvvaarr__uunnsseett - If set, calling uunnsseett 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 uunnsseett 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. llooggiinn__sshheellll - The shell sets this option if it is started as a login - shell (see IINNVVOOCCAATTIIOONN above). The value may not be + The shell sets this option if it is started as a login + shell (see IINNVVOOCCAATTIIOONN above). The value may not be changed. mmaaiillwwaarrnn - If set, and a file that bbaasshh is checking for mail has - been accessed since the last time it was checked, the - message ``The mail in _m_a_i_l_f_i_l_e has been read'' is dis- + If set, and a file that bbaasshh is checking for mail has + been accessed since the last time it was checked, the + message ``The mail in _m_a_i_l_f_i_l_e has been read'' is dis- played. nnoo__eemmppttyy__ccmmdd__ccoommpplleettiioonn - If set, and rreeaaddlliinnee is being used, bbaasshh will not at- - tempt to search the PPAATTHH for possible completions when + If set, and rreeaaddlliinnee is being used, bbaasshh will not at- + tempt to search the PPAATTHH for possible completions when completion is attempted on an empty line. nnooccaasseegglloobb - If set, bbaasshh matches filenames in a case-insensitive + If set, bbaasshh matches filenames in a case-insensitive fashion when performing pathname expansion (see PPaatthhnnaammee EExxppaannssiioonn above). nnooccaasseemmaattcchh - If set, bbaasshh matches patterns in a case-insensitive + If set, bbaasshh matches patterns in a case-insensitive fashion when performing matching while executing ccaassee or [[[[ 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. nnooeexxppaanndd__ttrraannssllaattiioonn - If set, bbaasshh encloses the translated results of $"..." - quoting in single quotes instead of double quotes. If + If set, bbaasshh encloses the translated results of $"..." + quoting in single quotes instead of double quotes. If the string is not translated, this has no effect. nnuullllgglloobb - If set, bbaasshh allows patterns which match no files (see - PPaatthhnnaammee EExxppaannssiioonn above) to expand to a null string, + If set, bbaasshh allows patterns which match no files (see + PPaatthhnnaammee EExxppaannssiioonn above) to expand to a null string, rather than themselves. ppaattssuubb__rreeppllaacceemmeenntt If set, bbaasshh expands occurrences of && in the replacement - string of pattern substitution to the text matched by - the pattern, as described under PPaarraammeetteerr EExxppaannssiioonn + string of pattern substitution to the text matched by + the pattern, as described under PPaarraammeetteerr EExxppaannssiioonn above. This option is enabled by default. pprrooggccoommpp @@ -6074,69 +6075,69 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS enabled by default. pprrooggccoommpp__aalliiaass - If set, and programmable completion is enabled, bbaasshh - treats a command name that doesn't have any completions - as a possible alias and attempts alias expansion. If it - has an alias, bbaasshh attempts programmable completion us- + If set, and programmable completion is enabled, bbaasshh + treats a command name that doesn't have any completions + as a possible alias and attempts alias expansion. If it + has an alias, bbaasshh attempts programmable completion us- ing the command word resulting from the expanded alias. pprroommppttvvaarrss If set, prompt strings undergo parameter expansion, com- - mand substitution, arithmetic expansion, and quote re- - moval after being expanded as described in PPRROOMMPPTTIINNGG + mand substitution, arithmetic expansion, and quote re- + moval after being expanded as described in PPRROOMMPPTTIINNGG above. This option is enabled by default. rreessttrriicctteedd__sshheellll - The shell sets this option if it is started in re- - stricted mode (see RREESSTTRRIICCTTEEDD SSHHEELLLL 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 RREESSTTRRIICCTTEEDD SSHHEELLLL 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. sshhiifftt__vveerrbboossee - If set, the sshhiifftt builtin prints an error message when + If set, the sshhiifftt builtin prints an error message when the shift count exceeds the number of positional parame- ters. ssoouurrcceeppaatthh If set, the .. (ssoouurrccee) builtin uses the value of PPAATTHH 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. vvaarrrreeddiirr__cclloossee - If set, the shell automatically closes file descriptors + If set, the shell automatically closes file descriptors assigned using the _{_v_a_r_n_a_m_e_} redirection syntax (see RREE-- - DDIIRREECCTTIIOONN above) instead of leaving them open when the + DDIIRREECCTTIIOONN above) instead of leaving them open when the command completes. xxppgg__eecchhoo - If set, the eecchhoo builtin expands backslash-escape se- + If set, the eecchhoo builtin expands backslash-escape se- quences by default. ssuussppeenndd [--ff] - Suspend the execution of this shell until it receives a SSIIGGCCOONNTT - signal. A login shell, or a shell without job control enabled, - cannot be suspended; the --ff 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 --ff is + Suspend the execution of this shell until it receives a SSIIGGCCOONNTT + signal. A login shell, or a shell without job control enabled, + cannot be suspended; the --ff 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 --ff is not supplied. tteesstt _e_x_p_r [[ _e_x_p_r ]] Return a status of 0 (true) or 1 (false) depending on the evalu- ation of the conditional expression _e_x_p_r. Each operator and op- - erand must be a separate argument. Expressions are composed of - the primaries described above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS. - tteesstt 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 CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS. + tteesstt does not accept any options, nor does it accept and ignore an argument of ---- 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. !! _e_x_p_r True if _e_x_p_r is false. (( _e_x_p_r )) - Returns the value of _e_x_p_r. This may be used to override + Returns the value of _e_x_p_r. This may be used to override the normal precedence of operators. _e_x_p_r_1 -aa _e_x_p_r_2 True if both _e_x_p_r_1 and _e_x_p_r_2 are true. @@ -6153,139 +6154,139 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS null. 2 arguments If the first argument is !!, 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 CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, 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 CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, 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 CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS, the result of the expression is the result of the binary test - using the first and third arguments as operands. The --aa - and --oo operators are considered binary operators when - there are three arguments. If the first argument is !!, - the value is the negation of the two-argument test using + using the first and third arguments as operands. The --aa + and --oo operators are considered binary operators when + there are three arguments. If the first argument is !!, + the value is the negation of the two-argument test using the second and third arguments. If the first argument is exactly (( and the third argument is exactly )), the result - is the one-argument test of the second argument. 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 !!, 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 (( and - the fourth argument is exactly )), 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 (( and + the fourth argument is exactly )), 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 tteesstt or [[, the << and >> operators sort lexico- + When used with tteesstt or [[, the << and >> operators sort lexico- graphically using ASCII ordering. - ttiimmeess Print the accumulated user and system times for the shell and + ttiimmeess Print the accumulated user and system times for the shell and for processes run from the shell. The return status is 0. ttrraapp [--llpp] [[_a_r_g] _s_i_g_s_p_e_c ...] - The command _a_r_g is to be read and executed when the shell re- + The command _a_r_g is to be read and executed when the shell re- ceives signal(s) _s_i_g_s_p_e_c. If _a_r_g is absent (and there is a sin- - gle _s_i_g_s_p_e_c) or --, each specified signal is reset to its origi- - nal disposition (the value it had upon entrance to the shell). - If _a_r_g is the null string the signal specified by each _s_i_g_s_p_e_c - is ignored by the shell and by the commands it invokes. If _a_r_g - is not present and --pp has been supplied, then the trap commands + gle _s_i_g_s_p_e_c) or --, each specified signal is reset to its origi- + nal disposition (the value it had upon entrance to the shell). + If _a_r_g is the null string the signal specified by each _s_i_g_s_p_e_c + is ignored by the shell and by the commands it invokes. If _a_r_g + is not present and --pp has been supplied, then the trap commands associated with each _s_i_g_s_p_e_c are displayed. If no arguments are - supplied or if only --pp is given, ttrraapp prints the list of com- - mands associated with each signal. The --ll option causes the - shell to print a list of signal names and their corresponding - numbers. Each _s_i_g_s_p_e_c is either a signal name defined in <_s_i_g_- - _n_a_l_._h>, or a signal number. Signal names are case insensitive + supplied or if only --pp is given, ttrraapp prints the list of com- + mands associated with each signal. The --ll option causes the + shell to print a list of signal names and their corresponding + numbers. Each _s_i_g_s_p_e_c is either a signal name defined in <_s_i_g_- + _n_a_l_._h>, or a signal number. Signal names are case insensitive and the SSIIGG prefix is optional. - If a _s_i_g_s_p_e_c is EEXXIITT (0) the command _a_r_g is executed on exit - from the shell. If a _s_i_g_s_p_e_c is DDEEBBUUGG, the command _a_r_g is exe- - cuted before every _s_i_m_p_l_e _c_o_m_m_a_n_d, _f_o_r command, _c_a_s_e command, - _s_e_l_e_c_t command, every arithmetic _f_o_r command, and before the - first command executes in a shell function (see SSHHEELLLL GGRRAAMMMMAARR - above). Refer to the description of the eexxttddeebbuugg option to the + If a _s_i_g_s_p_e_c is EEXXIITT (0) the command _a_r_g is executed on exit + from the shell. If a _s_i_g_s_p_e_c is DDEEBBUUGG, the command _a_r_g is exe- + cuted before every _s_i_m_p_l_e _c_o_m_m_a_n_d, _f_o_r command, _c_a_s_e command, + _s_e_l_e_c_t command, every arithmetic _f_o_r command, and before the + first command executes in a shell function (see SSHHEELLLL GGRRAAMMMMAARR + above). Refer to the description of the eexxttddeebbuugg option to the sshhoopptt builtin for details of its effect on the DDEEBBUUGG trap. If a _s_i_g_s_p_e_c is RREETTUURRNN, the command _a_r_g is executed each time a shell function or a script executed with the .. or ssoouurrccee builtins fin- ishes executing. - If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a + If a _s_i_g_s_p_e_c is EERRRR, the command _a_r_g is executed whenever a pipeline (which may consist of a single simple command), a list, or a compound command returns a non-zero exit status, subject to - the following conditions. The EERRRR trap is not executed if the + the following conditions. The EERRRR trap is not executed if the failed command is part of the command list immediately following - a wwhhiillee or uunnttiill keyword, part of the test in an _i_f statement, + a wwhhiillee or uunnttiill keyword, part of the test in an _i_f statement, part of a command executed in a &&&& or |||| list except the command - following the final &&&& or ||||, any command in a pipeline but the - last, or if the command's return value is being inverted using + following the final &&&& or ||||, any command in a pipeline but the + last, or if the command's return value is being inverted using !!. These are the same conditions obeyed by the eerrrreexxiitt (--ee) 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 _s_i_g_s_p_e_c is + one is created. The return status is false if any _s_i_g_s_p_e_c is invalid; otherwise ttrraapp returns true. ttyyppee [--aaffttppPP] _n_a_m_e [_n_a_m_e ...] - With no options, indicate how each _n_a_m_e would be interpreted if + With no options, indicate how each _n_a_m_e would be interpreted if used as a command name. If the --tt option is used, ttyyppee prints a - string which is one of _a_l_i_a_s, _k_e_y_w_o_r_d, _f_u_n_c_t_i_o_n, _b_u_i_l_t_i_n, or - _f_i_l_e if _n_a_m_e is an alias, shell reserved word, function, - builtin, or disk file, respectively. If the _n_a_m_e is not found, - then nothing is printed, and an exit status of false is re- - turned. If the --pp option is used, ttyyppee either returns the name - of the disk file that would be executed if _n_a_m_e were specified - as a command name, or nothing if ``type -t name'' would not re- - turn _f_i_l_e. The --PP option forces a PPAATTHH search for each _n_a_m_e, + string which is one of _a_l_i_a_s, _k_e_y_w_o_r_d, _f_u_n_c_t_i_o_n, _b_u_i_l_t_i_n, or + _f_i_l_e if _n_a_m_e is an alias, shell reserved word, function, + builtin, or disk file, respectively. If the _n_a_m_e is not found, + then nothing is printed, and an exit status of false is re- + turned. If the --pp option is used, ttyyppee either returns the name + of the disk file that would be executed if _n_a_m_e were specified + as a command name, or nothing if ``type -t name'' would not re- + turn _f_i_l_e. The --PP option forces a PPAATTHH search for each _n_a_m_e, even if ``type -t name'' would not return _f_i_l_e. If a command is hashed, --pp and --PP print the hashed value, which is not necessar- - ily the file that appears first in PPAATTHH. If the --aa option is - used, ttyyppee prints all of the places that contain an executable + ily the file that appears first in PPAATTHH. If the --aa option is + used, ttyyppee prints all of the places that contain an executable named _n_a_m_e. This includes aliases and functions, if and only if the --pp option is not also used. The table of hashed commands is - not consulted when using --aa. The --ff option suppresses shell + not consulted when using --aa. The --ff option suppresses shell function lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if all of the arguments are found, false if any are not found. uulliimmiitt [--HHSS] --aa uulliimmiitt [--HHSS] [--bbccddeeffiikkllmmnnppqqrrssttuuvvxxPPRRTT [_l_i_m_i_t]] - Provides control over the resources available to the shell and - to processes started by it, on systems that allow such control. + Provides control over the resources available to the shell and + to processes started by it, on systems that allow such control. The --HH and --SS options specify that the hard or soft limit is set - 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 --HH nor --SS 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 --HH nor --SS is speci- fied, both the soft and hard limits are set. The value of _l_i_m_i_t can be a number in the unit specified for the resource or one of the special values hhaarrdd, ssoofftt, or uunnlliimmiitteedd, which stand for the - current hard limit, the current soft limit, and no limit, re- - spectively. If _l_i_m_i_t is omitted, the current value of the soft + current hard limit, the current soft limit, and no limit, re- + spectively. If _l_i_m_i_t is omitted, the current value of the soft limit of the resource is printed, unless the --HH 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: --aa All current limits are reported; no limits are set --bb The maximum socket buffer size --cc The maximum size of core files created --dd The maximum size of a process's data segment --ee The maximum scheduling priority ("nice") - --ff The maximum size of files written by the shell and its + --ff The maximum size of files written by the shell and its children --ii The maximum number of pending signals --kk The maximum number of kqueues that may be allocated --ll The maximum size that may be locked into memory - --mm The maximum resident set size (many systems do not honor + --mm The maximum resident set size (many systems do not honor this limit) --nn The maximum number of open file descriptors (most systems do not allow this value to be set) @@ -6294,132 +6295,134 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --rr The maximum real-time scheduling priority --ss The maximum stack size --tt The maximum amount of cpu time in seconds - --uu The maximum number of processes available to a single + --uu The maximum number of processes available to a single user - --vv The maximum amount of virtual memory available to the + --vv The maximum amount of virtual memory available to the shell and, on some systems, to its children --xx The maximum number of file locks --PP The maximum number of pseudoterminals - --RR The maximum time a real-time process can run before + --RR The maximum time a real-time process can run before blocking, in microseconds --TT The maximum number of threads - If _l_i_m_i_t is given, and the --aa option is not used, _l_i_m_i_t is the - new value of the specified resource. If no option is given, - then --ff is assumed. Values are in 1024-byte increments, except - for --tt, which is in seconds; --RR, which is in microseconds; --pp, - which is in units of 512-byte blocks; --PP, --TT, --bb, --kk, --nn, and - --uu, which are unscaled values; and, when in posix mode, --cc and - --ff, which are in 512-byte increments. The return status is 0 - unless an invalid option or argument is supplied, or an error + If _l_i_m_i_t is given, and the --aa option is not used, _l_i_m_i_t is the + new value of the specified resource. If no option is given, + then --ff is assumed. Values are in 1024-byte increments, except + for --tt, which is in seconds; --RR, which is in microseconds; --pp, + which is in units of 512-byte blocks; --PP, --TT, --bb, --kk, --nn, and + --uu, which are unscaled values; and, when in posix mode, --cc and + --ff, which are in 512-byte increments. The return status is 0 + unless an invalid option or argument is supplied, or an error occurs while setting a new limit. uummaasskk [--pp] [--SS] [_m_o_d_e] The user file-creation mask is set to _m_o_d_e. If _m_o_d_e begins with - a digit, it is interpreted as an octal number; otherwise it is - interpreted as a symbolic mode mask similar to that accepted by - _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is - printed. The --SS option causes the mask to be printed in sym- - bolic form; the default output is an octal number. If the --pp + a digit, it is interpreted as an octal number; otherwise it is + interpreted as a symbolic mode mask similar to that accepted by + _c_h_m_o_d(1). If _m_o_d_e is omitted, the current value of the mask is + printed. The --SS option causes the mask to be printed in sym- + bolic form; the default output is an octal number. If the --pp option is supplied, and _m_o_d_e is omitted, the output is in a form that may be reused as input. The return status is 0 if the mode - was successfully changed or if no _m_o_d_e argument was supplied, + was successfully changed or if no _m_o_d_e argument was supplied, and false otherwise. uunnaalliiaass [-aa] [_n_a_m_e ...] - Remove each _n_a_m_e from the list of defined aliases. If --aa is - supplied, all alias definitions are removed. The return value + Remove each _n_a_m_e from the list of defined aliases. If --aa is + supplied, all alias definitions are removed. The return value is true unless a supplied _n_a_m_e is not a defined alias. uunnsseett [-ffvv] [-nn] [_n_a_m_e ...] - For each _n_a_m_e, remove the corresponding variable or function. + For each _n_a_m_e, remove the corresponding variable or function. If the --vv option is given, each _n_a_m_e refers to a shell variable, - and that variable is removed. Read-only variables may not be - unset. If --ff is specified, each _n_a_m_e refers to a shell func- - tion, and the function definition is removed. If the --nn option - is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, - _n_a_m_e will be unset rather than the variable it references. --nn - has no effect if the --ff option is supplied. If no options are - supplied, each _n_a_m_e refers to a variable; if there is no vari- - able by that name, 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 BBAASSHH__AALLIIAASSEESS, + and that variable is removed. Read-only variables may not be + unset. If --ff is specified, each _n_a_m_e refers to a shell func- + tion, and the function definition is removed. If the --nn option + is supplied, and _n_a_m_e is a variable with the _n_a_m_e_r_e_f attribute, + _n_a_m_e will be unset rather than the variable it references. --nn + has no effect if the --ff option is supplied. If no options are + supplied, each _n_a_m_e refers to a variable; if there is no vari- + able by that name, 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 BBAASSHH__AALLIIAASSEESS, BBAASSHH__AARRGGVV00, BBAASSHH__CCMMDDSS, BBAASSHH__CCOOMMMMAANNDD, BBAASSHH__SSUUBBSSHHEELLLL, BBAASSHHPPIIDD, - CCOOMMPP__WWOORRDDBBRREEAAKKSS, DDIIRRSSTTAACCKK, EEPPOOCCHHRREEAALLTTIIMMEE, EEPPOOCCHHSSEECCOONNDDSS, FFUUNNCC-- - NNAAMMEE, GGRROOUUPPSS, HHIISSTTCCMMDD, LLIINNEENNOO, RRAANNDDOOMM, SSEECCOONNDDSS, or SSRRAANNDDOOMM are + CCOOMMPP__WWOORRDDBBRREEAAKKSS, DDIIRRSSTTAACCKK, EEPPOOCCHHRREEAALLTTIIMMEE, EEPPOOCCHHSSEECCOONNDDSS, FFUUNNCC-- + NNAAMMEE, GGRROOUUPPSS, HHIISSTTCCMMDD, LLIINNEENNOO, RRAANNDDOOMM, SSEECCOONNDDSS, or SSRRAANNDDOOMM are unset, they lose their special properties, even if they are sub- sequently reset. The exit status is true unless a _n_a_m_e is read- only or may not be unset. wwaaiitt [--ffnn] [--pp _v_a_r_n_a_m_e] [_i_d _._._.] Wait for each specified child process and return its termination - status. Each _i_d 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 _i_d is not given, wwaaiitt waits for all running - background jobs and the last-executed process substitution, if + status. Each _i_d 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 _i_d is not given, wwaaiitt waits for all running + background jobs and the last-executed process substitution, if its process id is the same as $$!!, and the return status is zero. - If the --nn option is supplied, wwaaiitt waits for a single job from + If the --nn option is supplied, wwaaiitt waits for a single job from the list of _i_ds or, if no _i_ds 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 --pp option is supplied, the process or job identifier of the - job for which the exit status is returned is assigned to the - variable _v_a_r_n_a_m_e named by the option argument. The variable - will be unset initially, before any assignment. This is useful - only when the --nn option is supplied. Supplying the --ff option, - when job control is enabled, forces wwaaiitt to wait for _i_d to ter- + shell has no unwaited-for children, the exit status is 127. If + the --pp option is supplied, the process or job identifier of the + job for which the exit status is returned is assigned to the + variable _v_a_r_n_a_m_e named by the option argument. The variable + will be unset initially, before any assignment. This is useful + only when the --nn option is supplied. Supplying the --ff option, + when job control is enabled, forces wwaaiitt to wait for _i_d to ter- minate before returning its status, instead of returning when it - changes status. If _i_d 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 _i_d specifies a non-existent process or job, + the return status is 127. If wwaaiitt is interrupted by a signal, + the return status will be greater than 128, as described under + SSIIGGNNAALLSS above. Otherwise, the return status is the exit status + of the last process or job waited for. SSHHEELLLL CCOOMMPPAATTIIBBIILLIITTYY MMOODDEE - Bash-4.0 introduced the concept of a _s_h_e_l_l _c_o_m_p_a_t_i_b_i_l_i_t_y _l_e_v_e_l, speci- - fied as a set of options to the shopt builtin ( ccoommppaatt3311, ccoommppaatt3322, - ccoommppaatt4400, ccoommppaatt4411, 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 _s_h_e_l_l _c_o_m_p_a_t_i_b_i_l_i_t_y _l_e_v_e_l, speci- + fied as a set of options to the shopt builtin ( ccoommppaatt3311, ccoommppaatt3322, + ccoommppaatt4400, ccoommppaatt4411, 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 ccoommppaatt3322 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, ccoommppaatt3322, 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 bbaasshh, but that behavior may have been - present in earlier versions. For instance, the change to use locale- - based comparisons with the [[[[ 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 ccoommppaatt3322 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, ccoommppaatt3322, 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 bbaasshh, but that behavior may have been + present in earlier versions. For instance, the change to use locale- + based comparisons with the [[[[ command came in bash-4.1, and earlier versions used ASCII-based comparisons, so enabling ccoommppaatt3322 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: BBAASSHH__CCOOMMPPAATT. The value as- + Bash-4.3 introduced a new shell variable: BBAASSHH__CCOOMMPPAATT. The value as- signed to this variable (a decimal version number like 4.2, or an inte- - ger corresponding to the ccoommppaatt_N_N option, like 42) determines the com- + ger corresponding to the ccoommppaatt_N_N 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 BBAASSHH__CCOOMM-- + Starting with bash-4.4, Bash has begun deprecating older compatibility + levels. Eventually, the options will be removed in favor of BBAASSHH__CCOOMM-- PPAATT. - Bash-5.0 is the final version for which there will be an individual - shopt option for the previous version. Users should use BBAASSHH__CCOOMMPPAATT on + Bash-5.0 is the final version for which there will be an individual + shopt option for the previous version. Users should use BBAASSHH__CCOOMMPPAATT 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 ccoommppaatt_N_N tag is used as shorthand for setting the compatibility level to _N_N using one of the following mecha- - nisms. For versions prior to bash-5.0, the compatibility level may be - set using the corresponding ccoommppaatt_N_N shopt option. For bash-4.3 and - later versions, the BBAASSHH__CCOOMMPPAATT variable is preferred, and it is re- + nisms. For versions prior to bash-5.0, the compatibility level may be + set using the corresponding ccoommppaatt_N_N shopt option. For bash-4.3 and + later versions, the BBAASSHH__CCOOMMPPAATT variable is preferred, and it is re- quired for bash-5.1 and later versions. ccoommppaatt3311 @@ -6427,114 +6430,114 @@ SSHHEELLLL CCOOMMPPAATTIIBBIILLIITTYY MMOODDEE ator (=~) has no special effect ccoommppaatt3322 - +o 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 + +o 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) ccoommppaatt4400 - +o the << and >> operators to the [[[[ command do not consider + +o the << and >> operators to the [[[[ 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 _s_t_r_c_m_p(3); bash-4.1 and later use the current + lation and _s_t_r_c_m_p(3); bash-4.1 and later use the current locale's collation sequence and _s_t_r_c_o_l_l(3). ccoommppaatt4411 - +o in _p_o_s_i_x mode, ttiimmee may be followed by options and still + +o in _p_o_s_i_x mode, ttiimmee may be followed by options and still be recognized as a reserved word (this is POSIX interpre- tation 267) +o in _p_o_s_i_x mode, the parser requires that an even number of - single quotes occur in the _w_o_r_d 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 _w_o_r_d 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) ccoommppaatt4422 +o 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 - +o in posix mode, single quotes are considered special when - expanding the _w_o_r_d 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 + +o in posix mode, single quotes are considered special when + expanding the _w_o_r_d 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 ccoommppaatt4433 - +o 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 + +o 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 - +o 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 + +o 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) - +o when executing a shell function, the loop state + +o when executing a shell function, the loop state (while/until/etc.) is not reset, so bbrreeaakk or ccoonnttiinnuuee 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 ccoommppaatt4444 - +o the shell sets up the values used by BBAASSHH__AARRGGVV and - BBAASSHH__AARRGGCC so they can expand to the shell's positional + +o the shell sets up the values used by BBAASSHH__AARRGGVV and + BBAASSHH__AARRGGCC so they can expand to the shell's positional parameters even if extended debugging mode is not enabled - +o a subshell inherits loops from its parent context, so - bbrreeaakk or ccoonnttiinnuuee will cause the subshell to exit. - Bash-5.0 and later reset the loop state to prevent the + +o a subshell inherits loops from its parent context, so + bbrreeaakk or ccoonnttiinnuuee will cause the subshell to exit. + Bash-5.0 and later reset the loop state to prevent the exit - +o variable assignments preceding builtins like eexxppoorrtt and + +o variable assignments preceding builtins like eexxppoorrtt and rreeaaddoonnllyy that set attributes continue to affect variables with the same name in the calling environment even if the shell is not in posix mode ccoommppaatt5500 - +o Bash-5.1 changed the way $$RRAANNDDOOMM is generated to intro- + +o Bash-5.1 changed the way $$RRAANNDDOOMM 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 RRAANNDDOOMM 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 RRAANNDDOOMM will produce the same sequence as in bash-5.0 - +o 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 --ll op- + +o 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 --ll op- tion is supplied. ccoommppaatt5511 - +o The uunnsseett builtin treats attempts to unset array sub- - scripts @@ and ** differently depending on whether the ar- - ray is indexed or associative, and differently than in + +o The uunnsseett builtin treats attempts to unset array sub- + scripts @@ and ** differently depending on whether the ar- + ray is indexed or associative, and differently than in previous versions. RREESSTTRRIICCTTEEDD SSHHEELLLL If bbaasshh is started with the name rrbbaasshh, or the --rr option is supplied at - invocation, the shell becomes restricted. A restricted shell is used - to set up an environment more controlled than the standard shell. It - behaves identically to bbaasshh with the exception that the following are + invocation, the shell becomes restricted. A restricted shell is used + to set up an environment more controlled than the standard shell. It + behaves identically to bbaasshh with the exception that the following are disallowed or not performed: +o changing directories with ccdd - +o setting or unsetting the values of SSHHEELLLL, PPAATTHH, HHIISSTTFFIILLEE, EENNVV, + +o setting or unsetting the values of SSHHEELLLL, PPAATTHH, HHIISSTTFFIILLEE, EENNVV, or BBAASSHH__EENNVV +o specifying command names containing // - +o specifying a filename containing a // as an argument to the .. + +o specifying a filename containing a // as an argument to the .. builtin command - +o specifying a filename containing a slash as an argument to the + +o specifying a filename containing a slash as an argument to the hhiissttoorryy builtin command - +o specifying a filename containing a slash as an argument to the + +o specifying a filename containing a slash as an argument to the --pp option to the hhaasshh builtin command - +o importing function definitions from the shell environment at + +o importing function definitions from the shell environment at startup - +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at + +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at startup +o redirecting output using the >, >|, <>, >&, &>, and >> redirect- @@ -6543,28 +6546,28 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL +o using the eexxeecc builtin command to replace the shell with another command - +o adding or deleting builtin commands with the --ff and --dd options + +o adding or deleting builtin commands with the --ff and --dd options to the eennaabbllee builtin command - +o using the eennaabbllee builtin command to enable disabled shell + +o using the eennaabbllee builtin command to enable disabled shell builtins +o specifying the --pp option to the ccoommmmaanndd builtin command - +o turning off restricted mode with sseett ++rr or sshhoopptt --uu rree-- + +o turning off restricted mode with sseett ++rr or sshhoopptt --uu rree-- ssttrriicctteedd__sshheellll. These restrictions are enforced after any startup files are read. When a command that is found to be a shell script is executed (see CCOOMM-- - MMAANNDD EEXXEECCUUTTIIOONN above), rrbbaasshh turns off any restrictions in the shell + MMAANNDD EEXXEECCUUTTIIOONN above), rrbbaasshh turns off any restrictions in the shell spawned to execute the script. SSEEEE AALLSSOO _B_a_s_h _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, Brian Fox and Chet Ramey _T_h_e _G_n_u _R_e_a_d_l_i_n_e _L_i_b_r_a_r_y, Brian Fox and Chet Ramey _T_h_e _G_n_u _H_i_s_t_o_r_y _L_i_b_r_a_r_y, Brian Fox and Chet Ramey - _P_o_r_t_a_b_l_e _O_p_e_r_a_t_i_n_g _S_y_s_t_e_m _I_n_t_e_r_f_a_c_e _(_P_O_S_I_X_) _P_a_r_t _2_: _S_h_e_l_l _a_n_d _U_t_i_l_i_- + _P_o_r_t_a_b_l_e _O_p_e_r_a_t_i_n_g _S_y_s_t_e_m _I_n_t_e_r_f_a_c_e _(_P_O_S_I_X_) _P_a_r_t _2_: _S_h_e_l_l _a_n_d _U_t_i_l_i_- _t_i_e_s, IEEE -- http://pubs.opengroup.org/onlinepubs/9699919799/ http://tiswww.case.edu/~chet/bash/POSIX -- a description of posix mode @@ -6582,10 +6585,10 @@ FFIILLEESS _~_/_._b_a_s_h_r_c The individual per-interactive-shell startup file _~_/_._b_a_s_h___l_o_g_o_u_t - The individual login shell cleanup file, executed when a login + The individual login shell cleanup file, executed when a login shell exits _~_/_._b_a_s_h___h_i_s_t_o_r_y - The default value of HHIISSTTFFIILLEE, the file in which bash saves the + The default value of HHIISSTTFFIILLEE, the file in which bash saves the command history _~_/_._i_n_p_u_t_r_c Individual _r_e_a_d_l_i_n_e initialization file @@ -6599,15 +6602,15 @@ AAUUTTHHOORRSS BBUUGG RREEPPOORRTTSS If you find a bug in bbaasshh,, you should report it. But first, you should - make sure that it really is a bug, and that it appears in the latest - version of bbaasshh. The latest version is always available from + make sure that it really is a bug, and that it appears in the latest + version of bbaasshh. The latest version is always available from _f_t_p_:_/_/_f_t_p_._g_n_u_._o_r_g_/_p_u_b_/_g_n_u_/_b_a_s_h_/ and _h_t_t_p_:_/_/_g_i_t_._s_a_v_a_n_- _n_a_h_._g_n_u_._o_r_g_/_c_g_i_t_/_b_a_s_h_._g_i_t_/_s_n_a_p_s_h_o_t_/_b_a_s_h_-_m_a_s_t_e_r_._t_a_r_._g_z. - Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g - command to submit a bug report. If you have a fix, you are encouraged - to mail that as well! Suggestions and `philosophical' bug reports may - be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup + Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g + command to submit a bug report. If you have a fix, you are encouraged + to mail that as well! Suggestions and `philosophical' bug reports may + be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup ggnnuu..bbaasshh..bbuugg. ALL bug reports should include: @@ -6618,7 +6621,7 @@ BBUUGG RREEPPOORRTTSS A description of the bug behaviour A short script or `recipe' which exercises the bug - _b_a_s_h_b_u_g inserts the first three items automatically into the template + _b_a_s_h_b_u_g inserts the first three items automatically into the template it provides for filing a bug report. Comments and bug reports concerning this manual page should be directed @@ -6635,10 +6638,10 @@ BBUUGGSS Shell builtin commands and functions are not stoppable/restartable. Compound commands and command sequences of the form `a ; b ; c' are not - handled gracefully when process suspension is attempted. When a - process is stopped, the shell immediately executes the next command in - the sequence. It suffices to place the sequence of commands between - parentheses to force it into a subshell, which may be stopped as a + handled gracefully when process suspension is attempted. When a + process is stopped, the shell immediately executes the next command in + the sequence. It suffices to place the sequence of commands between + parentheses to force it into a subshell, which may be stopped as a unit. Array variables may not (yet) be exported. @@ -6647,4 +6650,4 @@ BBUUGGSS -GNU Bash 5.2 2022 June 3 BASH(1) +GNU Bash 5.2 2022 June 16 BASH(1) diff --git a/doc/bash.1 b/doc/bash.1 index 14f4b0ec7..5d6edc8c5 100644 --- a/doc/bash.1 +++ b/doc/bash.1 @@ -864,21 +864,24 @@ that is executed, or false if any of the expressions is invalid. .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 @@ -8220,6 +8223,7 @@ Names of all shell variables. May also be specified as \fB\-v\fP. \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 diff --git a/doc/bash.info b/doc/bash.info index ad48774bb..b5f05d1c5 100644 --- a/doc/bash.info +++ b/doc/bash.info @@ -949,16 +949,16 @@ File: bash.info, Node: Conditional Constructs, Next: Command Grouping, Prev: 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. @@ -7294,7 +7294,7 @@ be a temporary solution. 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 @@ -7638,7 +7638,10 @@ File: bash.info, Node: Job Control Builtins, Next: Job Control Variables, Pre '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 ... ] @@ -9698,7 +9701,8 @@ happening. '-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 @@ -11774,14 +11778,14 @@ D.1 Index of Shell Builtin Commands * 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. @@ -11830,7 +11834,7 @@ D.1 Index of Shell Builtin Commands * 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. @@ -12532,114 +12536,114 @@ Node: Lists29209 Node: Compound Commands31001 Node: Looping Constructs32010 Node: Conditional Constructs34502 -Node: Command Grouping48966 -Node: Coprocesses50441 -Node: GNU Parallel53101 -Node: Shell Functions54015 -Node: Shell Parameters61897 -Node: Positional Parameters66282 -Node: Special Parameters67181 -Node: Shell Expansions70392 -Node: Brace Expansion72516 -Node: Tilde Expansion75247 -Node: Shell Parameter Expansion77865 -Node: Command Substitution96213 -Node: Arithmetic Expansion97565 -Node: Process Substitution98530 -Node: Word Splitting99647 -Node: Filename Expansion101588 -Node: Pattern Matching104334 -Node: Quote Removal108988 -Node: Redirections109280 -Node: Executing Commands118937 -Node: Simple Command Expansion119604 -Node: Command Search and Execution121711 -Node: Command Execution Environment124086 -Node: Environment127118 -Node: Exit Status128778 -Node: Signals130559 -Node: Shell Scripts134005 -Node: Shell Builtin Commands137029 -Node: Bourne Shell Builtins139064 -Node: Bash Builtins160522 -Node: Modifying Shell Behavior191375 -Node: The Set Builtin191717 -Node: The Shopt Builtin202315 -Node: Special Builtins218224 -Node: Shell Variables219200 -Node: Bourne Shell Variables219634 -Node: Bash Variables221735 -Node: Bash Features254548 -Node: Invoking Bash255558 -Node: Bash Startup Files261568 -Node: Interactive Shells266696 -Node: What is an Interactive Shell?267103 -Node: Is this Shell Interactive?267749 -Node: Interactive Shell Behavior268561 -Node: Bash Conditional Expressions272187 -Node: Shell Arithmetic276826 -Node: Aliases279767 -Node: Arrays282377 -Node: The Directory Stack288765 -Node: Directory Stack Builtins289546 -Node: Controlling the Prompt293803 -Node: The Restricted Shell296765 -Node: Bash POSIX Mode299372 -Node: Shell Compatibility Mode311293 -Node: Job Control319319 -Node: Job Control Basics319776 -Node: Job Control Builtins324775 -Node: Job Control Variables330342 -Node: Command Line Editing331495 -Node: Introduction and Notation333163 -Node: Readline Interaction334783 -Node: Readline Bare Essentials335971 -Node: Readline Movement Commands337751 -Node: Readline Killing Commands338708 -Node: Readline Arguments340623 -Node: Searching341664 -Node: Readline Init File343847 -Node: Readline Init File Syntax345105 -Node: Conditional Init Constructs368301 -Node: Sample Init File372494 -Node: Bindable Readline Commands375615 -Node: Commands For Moving376816 -Node: Commands For History378864 -Node: Commands For Text383855 -Node: Commands For Killing387501 -Node: Numeric Arguments390531 -Node: Commands For Completion391667 -Node: Keyboard Macros395855 -Node: Miscellaneous Commands396539 -Node: Readline vi Mode402475 -Node: Programmable Completion403379 -Node: Programmable Completion Builtins411156 -Node: A Programmable Completion Example421848 -Node: Using History Interactively427092 -Node: Bash History Facilities427773 -Node: Bash History Builtins430775 -Node: History Interaction435780 -Node: Event Designators439397 -Node: Word Designators440748 -Node: Modifiers442505 -Node: Installing Bash444313 -Node: Basic Installation445447 -Node: Compilers and Options449166 -Node: Compiling For Multiple Architectures449904 -Node: Installation Names451594 -Node: Specifying the System Type453700 -Node: Sharing Defaults454413 -Node: Operation Controls455083 -Node: Optional Features456038 -Node: Reporting Bugs467253 -Node: Major Differences From The Bourne Shell468525 -Node: GNU Free Documentation License485372 -Node: Indexes510546 -Node: Builtin Index510997 -Node: Reserved Word Index517821 -Node: Variable Index520266 -Node: Function Index537037 -Node: Concept Index550818 +Node: Command Grouping48987 +Node: Coprocesses50462 +Node: GNU Parallel53122 +Node: Shell Functions54036 +Node: Shell Parameters61918 +Node: Positional Parameters66303 +Node: Special Parameters67202 +Node: Shell Expansions70413 +Node: Brace Expansion72537 +Node: Tilde Expansion75268 +Node: Shell Parameter Expansion77886 +Node: Command Substitution96234 +Node: Arithmetic Expansion97586 +Node: Process Substitution98551 +Node: Word Splitting99668 +Node: Filename Expansion101609 +Node: Pattern Matching104355 +Node: Quote Removal109009 +Node: Redirections109301 +Node: Executing Commands118958 +Node: Simple Command Expansion119625 +Node: Command Search and Execution121732 +Node: Command Execution Environment124107 +Node: Environment127139 +Node: Exit Status128799 +Node: Signals130580 +Node: Shell Scripts134026 +Node: Shell Builtin Commands137050 +Node: Bourne Shell Builtins139085 +Node: Bash Builtins160543 +Node: Modifying Shell Behavior191396 +Node: The Set Builtin191738 +Node: The Shopt Builtin202336 +Node: Special Builtins218245 +Node: Shell Variables219221 +Node: Bourne Shell Variables219655 +Node: Bash Variables221756 +Node: Bash Features254569 +Node: Invoking Bash255579 +Node: Bash Startup Files261589 +Node: Interactive Shells266717 +Node: What is an Interactive Shell?267124 +Node: Is this Shell Interactive?267770 +Node: Interactive Shell Behavior268582 +Node: Bash Conditional Expressions272208 +Node: Shell Arithmetic276847 +Node: Aliases279788 +Node: Arrays282398 +Node: The Directory Stack288786 +Node: Directory Stack Builtins289567 +Node: Controlling the Prompt293824 +Node: The Restricted Shell296786 +Node: Bash POSIX Mode299393 +Node: Shell Compatibility Mode311314 +Node: Job Control319354 +Node: Job Control Basics319811 +Node: Job Control Builtins324810 +Node: Job Control Variables330601 +Node: Command Line Editing331754 +Node: Introduction and Notation333422 +Node: Readline Interaction335042 +Node: Readline Bare Essentials336230 +Node: Readline Movement Commands338010 +Node: Readline Killing Commands338967 +Node: Readline Arguments340882 +Node: Searching341923 +Node: Readline Init File344106 +Node: Readline Init File Syntax345364 +Node: Conditional Init Constructs368560 +Node: Sample Init File372753 +Node: Bindable Readline Commands375874 +Node: Commands For Moving377075 +Node: Commands For History379123 +Node: Commands For Text384114 +Node: Commands For Killing387760 +Node: Numeric Arguments390790 +Node: Commands For Completion391926 +Node: Keyboard Macros396114 +Node: Miscellaneous Commands396798 +Node: Readline vi Mode402734 +Node: Programmable Completion403638 +Node: Programmable Completion Builtins411415 +Node: A Programmable Completion Example422164 +Node: Using History Interactively427408 +Node: Bash History Facilities428089 +Node: Bash History Builtins431091 +Node: History Interaction436096 +Node: Event Designators439713 +Node: Word Designators441064 +Node: Modifiers442821 +Node: Installing Bash444629 +Node: Basic Installation445763 +Node: Compilers and Options449482 +Node: Compiling For Multiple Architectures450220 +Node: Installation Names451910 +Node: Specifying the System Type454016 +Node: Sharing Defaults454729 +Node: Operation Controls455399 +Node: Optional Features456354 +Node: Reporting Bugs467569 +Node: Major Differences From The Bourne Shell468841 +Node: GNU Free Documentation License485688 +Node: Indexes510862 +Node: Builtin Index511313 +Node: Reserved Word Index518137 +Node: Variable Index520582 +Node: Function Index537353 +Node: Concept Index551134  End Tag Table diff --git a/doc/bashref.info b/doc/bashref.info index 646572a21..cb1cf57ba 100644 --- a/doc/bashref.info +++ b/doc/bashref.info @@ -950,16 +950,16 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre 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. @@ -7295,7 +7295,7 @@ be a temporary solution. 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 @@ -7639,7 +7639,10 @@ File: bashref.info, Node: Job Control Builtins, Next: Job Control Variables, '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 ... ] @@ -9699,7 +9702,8 @@ happening. '-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 @@ -11775,14 +11779,14 @@ D.1 Index of Shell Builtin Commands * 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. @@ -11831,7 +11835,7 @@ D.1 Index of Shell Builtin Commands * 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. @@ -12533,114 +12537,114 @@ Node: Lists29272 Node: Compound Commands31067 Node: Looping Constructs32079 Node: Conditional Constructs34574 -Node: Command Grouping49041 -Node: Coprocesses50519 -Node: GNU Parallel53182 -Node: Shell Functions54099 -Node: Shell Parameters61984 -Node: Positional Parameters66372 -Node: Special Parameters67274 -Node: Shell Expansions70488 -Node: Brace Expansion72615 -Node: Tilde Expansion75349 -Node: Shell Parameter Expansion77970 -Node: Command Substitution96321 -Node: Arithmetic Expansion97676 -Node: Process Substitution98644 -Node: Word Splitting99764 -Node: Filename Expansion101708 -Node: Pattern Matching104457 -Node: Quote Removal109114 -Node: Redirections109409 -Node: Executing Commands119069 -Node: Simple Command Expansion119739 -Node: Command Search and Execution121849 -Node: Command Execution Environment124227 -Node: Environment127262 -Node: Exit Status128925 -Node: Signals130709 -Node: Shell Scripts134158 -Node: Shell Builtin Commands137185 -Node: Bourne Shell Builtins139223 -Node: Bash Builtins160684 -Node: Modifying Shell Behavior191540 -Node: The Set Builtin191885 -Node: The Shopt Builtin202486 -Node: Special Builtins218398 -Node: Shell Variables219377 -Node: Bourne Shell Variables219814 -Node: Bash Variables221918 -Node: Bash Features254734 -Node: Invoking Bash255747 -Node: Bash Startup Files261760 -Node: Interactive Shells266891 -Node: What is an Interactive Shell?267301 -Node: Is this Shell Interactive?267950 -Node: Interactive Shell Behavior268765 -Node: Bash Conditional Expressions272394 -Node: Shell Arithmetic277036 -Node: Aliases279980 -Node: Arrays282593 -Node: The Directory Stack288984 -Node: Directory Stack Builtins289768 -Node: Controlling the Prompt294028 -Node: The Restricted Shell296993 -Node: Bash POSIX Mode299603 -Node: Shell Compatibility Mode311527 -Node: Job Control319556 -Node: Job Control Basics320016 -Node: Job Control Builtins325018 -Node: Job Control Variables330588 -Node: Command Line Editing331744 -Node: Introduction and Notation333415 -Node: Readline Interaction335038 -Node: Readline Bare Essentials336229 -Node: Readline Movement Commands338012 -Node: Readline Killing Commands338972 -Node: Readline Arguments340890 -Node: Searching341934 -Node: Readline Init File344120 -Node: Readline Init File Syntax345381 -Node: Conditional Init Constructs368580 -Node: Sample Init File372776 -Node: Bindable Readline Commands375900 -Node: Commands For Moving377104 -Node: Commands For History379155 -Node: Commands For Text384149 -Node: Commands For Killing387798 -Node: Numeric Arguments390831 -Node: Commands For Completion391970 -Node: Keyboard Macros396161 -Node: Miscellaneous Commands396848 -Node: Readline vi Mode402787 -Node: Programmable Completion403694 -Node: Programmable Completion Builtins411474 -Node: A Programmable Completion Example422169 -Node: Using History Interactively427416 -Node: Bash History Facilities428100 -Node: Bash History Builtins431105 -Node: History Interaction436113 -Node: Event Designators439733 -Node: Word Designators441087 -Node: Modifiers442847 -Node: Installing Bash444658 -Node: Basic Installation445795 -Node: Compilers and Options449517 -Node: Compiling For Multiple Architectures450258 -Node: Installation Names451951 -Node: Specifying the System Type454060 -Node: Sharing Defaults454776 -Node: Operation Controls455449 -Node: Optional Features456407 -Node: Reporting Bugs467625 -Node: Major Differences From The Bourne Shell468900 -Node: GNU Free Documentation License485750 -Node: Indexes510927 -Node: Builtin Index511381 -Node: Reserved Word Index518208 -Node: Variable Index520656 -Node: Function Index537430 -Node: Concept Index551214 +Node: Command Grouping49062 +Node: Coprocesses50540 +Node: GNU Parallel53203 +Node: Shell Functions54120 +Node: Shell Parameters62005 +Node: Positional Parameters66393 +Node: Special Parameters67295 +Node: Shell Expansions70509 +Node: Brace Expansion72636 +Node: Tilde Expansion75370 +Node: Shell Parameter Expansion77991 +Node: Command Substitution96342 +Node: Arithmetic Expansion97697 +Node: Process Substitution98665 +Node: Word Splitting99785 +Node: Filename Expansion101729 +Node: Pattern Matching104478 +Node: Quote Removal109135 +Node: Redirections109430 +Node: Executing Commands119090 +Node: Simple Command Expansion119760 +Node: Command Search and Execution121870 +Node: Command Execution Environment124248 +Node: Environment127283 +Node: Exit Status128946 +Node: Signals130730 +Node: Shell Scripts134179 +Node: Shell Builtin Commands137206 +Node: Bourne Shell Builtins139244 +Node: Bash Builtins160705 +Node: Modifying Shell Behavior191561 +Node: The Set Builtin191906 +Node: The Shopt Builtin202507 +Node: Special Builtins218419 +Node: Shell Variables219398 +Node: Bourne Shell Variables219835 +Node: Bash Variables221939 +Node: Bash Features254755 +Node: Invoking Bash255768 +Node: Bash Startup Files261781 +Node: Interactive Shells266912 +Node: What is an Interactive Shell?267322 +Node: Is this Shell Interactive?267971 +Node: Interactive Shell Behavior268786 +Node: Bash Conditional Expressions272415 +Node: Shell Arithmetic277057 +Node: Aliases280001 +Node: Arrays282614 +Node: The Directory Stack289005 +Node: Directory Stack Builtins289789 +Node: Controlling the Prompt294049 +Node: The Restricted Shell297014 +Node: Bash POSIX Mode299624 +Node: Shell Compatibility Mode311548 +Node: Job Control319591 +Node: Job Control Basics320051 +Node: Job Control Builtins325053 +Node: Job Control Variables330847 +Node: Command Line Editing332003 +Node: Introduction and Notation333674 +Node: Readline Interaction335297 +Node: Readline Bare Essentials336488 +Node: Readline Movement Commands338271 +Node: Readline Killing Commands339231 +Node: Readline Arguments341149 +Node: Searching342193 +Node: Readline Init File344379 +Node: Readline Init File Syntax345640 +Node: Conditional Init Constructs368839 +Node: Sample Init File373035 +Node: Bindable Readline Commands376159 +Node: Commands For Moving377363 +Node: Commands For History379414 +Node: Commands For Text384408 +Node: Commands For Killing388057 +Node: Numeric Arguments391090 +Node: Commands For Completion392229 +Node: Keyboard Macros396420 +Node: Miscellaneous Commands397107 +Node: Readline vi Mode403046 +Node: Programmable Completion403953 +Node: Programmable Completion Builtins411733 +Node: A Programmable Completion Example422485 +Node: Using History Interactively427732 +Node: Bash History Facilities428416 +Node: Bash History Builtins431421 +Node: History Interaction436429 +Node: Event Designators440049 +Node: Word Designators441403 +Node: Modifiers443163 +Node: Installing Bash444974 +Node: Basic Installation446111 +Node: Compilers and Options449833 +Node: Compiling For Multiple Architectures450574 +Node: Installation Names452267 +Node: Specifying the System Type454376 +Node: Sharing Defaults455092 +Node: Operation Controls455765 +Node: Optional Features456723 +Node: Reporting Bugs467941 +Node: Major Differences From The Bourne Shell469216 +Node: GNU Free Documentation License486066 +Node: Indexes511243 +Node: Builtin Index511697 +Node: Reserved Word Index518524 +Node: Variable Index520972 +Node: Function Index537746 +Node: Concept Index551530  End Tag Table diff --git a/doc/bashref.texi b/doc/bashref.texi index d540c6048..e7a92d5ad 100644 --- a/doc/bashref.texi +++ b/doc/bashref.texi @@ -1096,16 +1096,16 @@ select @var{name} [in @var{words} @dots{}]; do @var{commands}; done @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}. diff --git a/expr.c b/expr.c index ef7c5d121..5079bd476 100644 --- a/expr.c +++ b/expr.c @@ -139,8 +139,8 @@ #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 @@ -472,8 +472,9 @@ subexpr (expr) 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")); @@ -639,7 +640,7 @@ expcond () if (curtok == 0 || curtok == COL) evalerror (_("expression expected")); - val1 = EXP_HIGHEST (); + val1 = EXP_LOWEST (); if (set_noeval) noeval--; @@ -1051,7 +1052,7 @@ exp0 () { /* XXX - save curlval here? Or entire expression context? */ readtok (); - val = EXP_HIGHEST (); + val = EXP_LOWEST (); if (curtok != RPAR) /* ( */ evalerror (_("missing `)'")); @@ -1446,9 +1447,14 @@ readtok () 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 @@ -1465,7 +1471,7 @@ readtok () 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. */ @@ -1541,7 +1547,7 @@ strlong (num) register char *s; register unsigned char c; int base, foundbase; - intmax_t val; + intmax_t val, pval; s = num; @@ -1559,6 +1565,10 @@ strlong (num) { base = 16; s++; +#if STRICT_ARITH_PARSING + if (*s == 0) + evalerror (_("invalid number")); +#endif } else base = 8; @@ -1602,7 +1612,14 @@ strlong (num) 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; diff --git a/lib/readline/doc/rluser.texi b/lib/readline/doc/rluser.texi index 0921d24d1..4a4cee47a 100644 --- a/lib/readline/doc/rluser.texi +++ b/lib/readline/doc/rluser.texi @@ -2282,6 +2282,7 @@ Names of all shell variables. May also be specified as @option{-v}. @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 diff --git a/lib/readline/isearch.c b/lib/readline/isearch.c index 3e398a6ca..c2d4d236e 100644 --- a/lib/readline/isearch.c +++ b/lib/readline/isearch.c @@ -194,7 +194,10 @@ rl_display_search (char *search_string, int flags, int where) rl_message ("%s", message); xfree (message); +#if 0 + /* rl_message calls this */ (*rl_redisplay_function) (); +#endif } static _rl_search_cxt * diff --git a/parse.y b/parse.y index b986c0244..402ef0714 100644 --- a/parse.y +++ b/parse.y @@ -114,6 +114,16 @@ typedef void *alias_t; # 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 @@ -2555,21 +2565,12 @@ shell_getc (remove_quoted_newline) 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 } } @@ -2622,6 +2623,21 @@ next_alias_char: (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 diff --git a/po/ca.gmo b/po/ca.gmo index 0b94a7a0c..c144d0ed7 100644 Binary files a/po/ca.gmo and b/po/ca.gmo differ diff --git a/po/ca.po b/po/ca.po index f1cadd2b4..eb9791a01 100644 --- a/po/ca.po +++ b/po/ca.po @@ -1,15 +1,15 @@ # 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 , 2003 (traducció), 2010 (revisions). # Jordi Mas i Hernàndez , 2004 (correccions). -# Ernest Adrogué Calveras , 2014, 2015, 2017. +# Ernest Adrogué i Calveras , 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 \n" "Language-Team: Catalan \n" "Language: ca\n" @@ -23,61 +23,55 @@ msgstr "" 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 @@ -85,16 +79,16 @@ msgid "brace expansion: cannot allocate memory for %s" 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" @@ -143,7 +137,6 @@ msgstr "només té sentit en una iteració de tipus «for», «while» o «until # help caller #: builtins/caller.def:136 -#, fuzzy msgid "" "Returns the context of the current subroutine call.\n" " \n" @@ -161,17 +154,13 @@ msgstr "" " 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" @@ -198,7 +187,7 @@ msgstr "atenció: " 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" @@ -213,7 +202,7 @@ msgstr "%s: falta un argument numèric" 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" @@ -223,7 +212,7 @@ 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" @@ -236,7 +225,7 @@ msgstr "nombre octal no 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" @@ -250,90 +239,95 @@ msgstr "%s: especificació de senyal no vàlida" 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" @@ -343,109 +337,109 @@ 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" @@ -460,7 +454,7 @@ msgstr "%s: no és un fitxer ordinari" 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" @@ -549,20 +543,20 @@ msgid "" "'\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" @@ -582,21 +576,21 @@ msgstr "" "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" @@ -619,78 +613,78 @@ msgstr "%s: els arguments han de ser ids de processos o feines" 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" @@ -732,16 +726,13 @@ msgid "" " \twith its position in the stack\n" " \n" " Arguments:\n" -" +N\tDisplays the Nth entry counting from the left of the list shown " -"by\n" +" +N\tDisplays the Nth entry counting from the left of the list shown by\n" " \tdirs when invoked without options, starting with zero.\n" " \n" -" -N\tDisplays the Nth entry counting from the right of the list shown " -"by\n" +" -N\tDisplays the Nth entry counting from the right of the list shown by\n" "\tdirs when invoked without options, starting with zero." msgstr "" -"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" @@ -789,8 +780,7 @@ msgid "" 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" @@ -855,12 +845,12 @@ msgstr "" " 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" @@ -874,7 +864,7 @@ msgstr "només es permet fer «return» des d'una funció o script" 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" @@ -894,12 +884,12 @@ msgstr "%s: no es pot exportar" 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" @@ -969,16 +959,16 @@ msgstr "%s: el límit no és vàlid" 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" @@ -999,7 +989,7 @@ msgstr "«%c»: l'operador de mode simbòlic no és vàlid" 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 " @@ -1020,100 +1010,110 @@ msgstr "Avortant..." 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" @@ -1126,72 +1126,70 @@ msgstr "excedit el nivell màxim de recursivitat per a expressions" 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" @@ -1200,7 +1198,7 @@ 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" @@ -1219,220 +1217,219 @@ msgstr "save_bash_input: ja existia un «buffer» per al nou 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" @@ -1474,22 +1471,22 @@ msgstr "%s: la ubicació remota no és vàlida" 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" @@ -1507,142 +1504,138 @@ msgstr "Teniu correu nou a $_" 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 «)»" @@ -1680,96 +1673,96 @@ msgstr "xtrace_set: el punter de fitxer és NUL" 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" @@ -1778,324 +1771,321 @@ msgstr "" "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: \n" msgstr "pàgina web de bash: \n" -#: shell.c:2073 +#: shell.c:2099 #, c-format msgid "General help using GNU software: \n" msgstr "Ajuda general per a programari GNU: \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" @@ -2118,139 +2108,140 @@ msgstr "s'esperava «)»" 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 \n" +msgid "License GPLv3+: GNU GPL version 3 or later \n" msgstr "" "Llicència GPLv3+: GNU GPL versió 3 o posterior\n" " \n" @@ -2262,8 +2253,7 @@ msgstr "GNU bash, versió %s (%s)\n" #: version.c:91 version2.c:91 msgid "This is free software; you are free to change and redistribute it." -msgstr "" -"Aquest programa és lliure; sou lliures de modificar-lo i redistribuir-lo." +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." @@ -2301,12 +2291,8 @@ msgstr "unalias [-a] nom [nom ...]" # 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]" @@ -2337,14 +2323,12 @@ msgid "command [-pVv] command [arg ...]" 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] ..." @@ -2367,14 +2351,12 @@ msgid "eval [arg ...]" 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]" @@ -2405,12 +2387,8 @@ msgid "help [-dms] [pattern ...]" 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]" @@ -2421,31 +2399,24 @@ msgid "disown [-h] [-ar] [jobspec ... | pid ...]" 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 ...]" @@ -2492,17 +2463,16 @@ msgid "type [-afptP] name [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 ...]" @@ -2529,19 +2499,16 @@ msgid "case WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esac" 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]" @@ -2592,45 +2559,24 @@ msgid "printf [-v var] format [arguments]" 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 "" @@ -2647,8 +2593,7 @@ 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" @@ -2695,30 +2640,25 @@ msgid "" " Options:\n" " -m keymap Use KEYMAP as the keymap for the duration of this\n" " command. Acceptable keymap names are emacs,\n" -" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-" -"move,\n" +" emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move,\n" " vi-command, and vi-insert.\n" " -l List names of functions.\n" " -P List function names and bindings.\n" " -p List functions and bindings in a form that can be\n" " reused as input.\n" -" -S List key sequences that invoke macros and their " -"values\n" -" -s List key sequences that invoke macros and their " -"values\n" +" -S List key sequences that invoke macros and their values\n" +" -s List key sequences that invoke macros and their values\n" " in a form that can be reused as input.\n" " -V List variable names and values\n" " -v List variable names and values in a form that can\n" " be reused as input.\n" " -q function-name Query about which keys invoke the named function.\n" -" -u function-name Unbind all keys which are bound to the named " -"function.\n" +" -u function-name Unbind all keys which are bound to the named function.\n" " -r keyseq Remove the binding for KEYSEQ.\n" " -f filename Read key bindings from FILENAME.\n" " -x keyseq:shell-command\tCause SHELL-COMMAND to be executed when\n" " \t\t\t\tKEYSEQ is entered.\n" -" -X 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" @@ -2734,8 +2674,7 @@ msgstr "" " 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" @@ -2744,15 +2683,13 @@ msgstr "" " -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" @@ -2802,14 +2739,12 @@ msgstr "" " 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" @@ -2823,8 +2758,7 @@ msgstr "" " 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 @@ -2860,22 +2794,16 @@ msgstr "" 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" @@ -2891,13 +2819,11 @@ msgid "" " \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" @@ -2910,8 +2836,7 @@ msgstr "" " 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" @@ -2919,8 +2844,7 @@ msgstr "" " 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" @@ -2929,8 +2853,7 @@ msgstr "" " 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" @@ -3012,8 +2935,7 @@ msgid "" "Execute a simple command or display information about commands.\n" " \n" " Runs COMMAND with ARGS suppressing shell function lookup, or display\n" -" information about the specified COMMANDs. Can be used to invoke " -"commands\n" +" information about the specified COMMANDs. Can be used to invoke commands\n" " on disk when a function with the same name exists.\n" " \n" " Options:\n" @@ -3044,7 +2966,6 @@ msgstr "" # help declare #: builtins.c:490 -#, fuzzy msgid "" "Set variable values and attributes.\n" " \n" @@ -3077,8 +2998,7 @@ msgid "" " Variables with the integer attribute have arithmetic evaluation (see\n" " the `let' command) performed when the variable is assigned a value.\n" " \n" -" When used in a function, `declare' makes NAMEs local, as with the " -"`local'\n" +" When used in a function, `declare' makes NAMEs local, as with the `local'\n" " command. The `-g' option suppresses this behavior.\n" " \n" " Exit Status:\n" @@ -3096,18 +3016,20 @@ msgstr "" " 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" @@ -3116,10 +3038,8 @@ msgstr "" " 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." @@ -3151,13 +3071,11 @@ msgid "" 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" @@ -3165,12 +3083,10 @@ msgstr "" " 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" @@ -3194,11 +3110,9 @@ msgid "" " \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" @@ -3214,8 +3128,7 @@ msgstr "" " -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" @@ -3227,11 +3140,14 @@ msgstr "" " \\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." @@ -3288,15 +3204,13 @@ msgstr "" "Habilita o inhabilita ordres internes de l'intèrpret.\n" "\n" " Habilita o inhabilita ordres internes de l'intèrpret. Inhabilitar una\n" -" ordre interna permet executar una ordre que es troba en el disc i que " -"té\n" +" 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" @@ -3317,8 +3231,7 @@ msgstr "" 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" @@ -3326,15 +3239,13 @@ msgid "" 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" @@ -3374,33 +3285,28 @@ msgid "" " 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" @@ -3408,12 +3314,11 @@ msgstr "" " 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 @@ -3421,8 +3326,7 @@ msgid "" "Replace the shell with the given command.\n" " \n" " Execute COMMAND, replacing this shell with the specified program.\n" -" ARGUMENTS become the arguments to COMMAND. If COMMAND is not " -"specified,\n" +" ARGUMENTS become the arguments to COMMAND. If COMMAND is not specified,\n" " any redirections take effect in the current shell.\n" " \n" " Options:\n" @@ -3430,13 +3334,11 @@ msgid "" " -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" @@ -3449,8 +3351,7 @@ msgstr "" " -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" @@ -3473,14 +3374,12 @@ msgstr "" 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) @@ -3488,15 +3387,13 @@ msgstr "" 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" @@ -3510,8 +3407,7 @@ msgid "" " the last command.\n" " \n" " Exit Status:\n" -" Returns success or status of executed command; non-zero if an error " -"occurs." +" Returns success or status of executed command; non-zero if an error occurs." msgstr "" "Mostra o executa ordres de l'historial.\n" "\n" @@ -3524,20 +3420,18 @@ msgstr "" " -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 @@ -3558,18 +3452,15 @@ msgstr "" " 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" @@ -3591,8 +3482,7 @@ msgid "" "Remember or display program locations.\n" " \n" " Determine and remember the full pathname of each command NAME. If\n" -" no arguments are given, information about remembered commands is " -"displayed.\n" +" no arguments are given, information about remembered commands is displayed.\n" " \n" " Options:\n" " -d\tforget the remembered location of each NAME\n" @@ -3616,8 +3506,7 @@ msgstr "" "\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" @@ -3632,7 +3521,6 @@ msgstr "" # help help #: builtins.c:818 -#, fuzzy msgid "" "Display information about builtin commands.\n" " \n" @@ -3650,14 +3538,13 @@ msgid "" " 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" @@ -3671,7 +3558,6 @@ msgstr "" " 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" @@ -3699,8 +3585,7 @@ msgid "" " \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." @@ -3724,16 +3609,14 @@ msgstr "" " 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." @@ -3764,8 +3647,7 @@ msgstr "" "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" @@ -3781,8 +3663,7 @@ msgstr "" " 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 @@ -3809,7 +3690,7 @@ msgstr "" "\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" @@ -3841,20 +3722,18 @@ msgid "" 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" @@ -3869,8 +3748,7 @@ msgid "" " 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" @@ -3909,33 +3787,31 @@ msgstr "" "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" @@ -3950,21 +3826,18 @@ msgstr "" " 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" @@ -3976,8 +3849,7 @@ msgid "" " -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" @@ -3995,36 +3867,31 @@ msgid "" " -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" @@ -4032,29 +3899,26 @@ msgstr "" " -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" @@ -4067,15 +3931,14 @@ msgid "" 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" @@ -4118,8 +3981,7 @@ msgid "" " physical same as -P\n" " pipefail the return value of a pipeline is the status of\n" " the last command to exit with a non-zero status,\n" -" or zero if no command exited with a non-zero " -"status\n" +" or zero if no command exited with a non-zero status\n" " posix change the behavior of bash where the default\n" " operation differs from the Posix standard to\n" " match the standard\n" @@ -4143,8 +4005,7 @@ msgid "" " by default when the shell is interactive.\n" " -P If set, do not resolve symbolic links when executing commands\n" " such as cd which change the current directory.\n" -" -T If set, the DEBUG 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" @@ -4162,8 +4023,7 @@ msgid "" 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" @@ -4204,8 +4064,7 @@ msgstr "" " 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" @@ -4245,7 +4104,7 @@ msgstr "" " 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" @@ -4257,8 +4116,7 @@ msgid "" " -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" @@ -4286,13 +4144,12 @@ msgstr "" " 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" @@ -4322,7 +4179,7 @@ msgstr "" " 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" @@ -4362,7 +4219,7 @@ msgstr "" " 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" @@ -4374,14 +4231,13 @@ msgid "" 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" @@ -4405,7 +4261,7 @@ msgstr "" " 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" @@ -4420,8 +4276,7 @@ msgid "" 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" @@ -4430,7 +4285,7 @@ msgstr "" " 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" @@ -4464,8 +4319,7 @@ msgid "" " -x FILE True if the file is executable by you.\n" " -O FILE True if the file is effectively owned by you.\n" " -G FILE True if the file is effectively owned by your group.\n" -" -N FILE True if the file has been modified since it was last " -"read.\n" +" -N FILE True if the file has been modified since it was last read.\n" " \n" " FILE1 -nt FILE2 True if file1 is newer than file2 (according to\n" " modification date).\n" @@ -4486,8 +4340,7 @@ msgid "" " STRING1 != STRING2\n" " True if the strings are not equal.\n" " STRING1 < STRING2\n" -" True if STRING1 sorts before STRING2 " -"lexicographically.\n" +" True if STRING1 sorts before STRING2 lexicographically.\n" " STRING1 > STRING2\n" " True if STRING1 sorts after STRING2 lexicographically.\n" " \n" @@ -4514,8 +4367,7 @@ msgid "" 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" @@ -4547,8 +4399,7 @@ msgstr "" " -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" @@ -4580,8 +4431,7 @@ msgstr "" " 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" @@ -4592,7 +4442,7 @@ msgstr "" " 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" @@ -4605,12 +4455,11 @@ msgstr "" " 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" @@ -4618,19 +4467,17 @@ msgid "" 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" @@ -4639,42 +4486,33 @@ msgid "" " value. If ARG is the null string each SIGNAL_SPEC is ignored by the\n" " shell and by the commands it invokes.\n" " \n" -" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. " -"If\n" -" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. " -"If\n" -" a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or " -"a\n" -" script run by the . or source builtins finishes executing. A " -"SIGNAL_SPEC\n" -" of ERR means to execute ARG each time a command's failure would cause " -"the\n" +" If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If\n" +" a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If\n" +" a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a\n" +" script run by the . or source builtins finishes executing. A SIGNAL_SPEC\n" +" of ERR means to execute ARG each time a command's failure would cause the\n" " shell to exit when the -e option is enabled.\n" " \n" -" If no arguments are supplied, trap prints the list of commands " -"associated\n" +" If no arguments are supplied, trap prints the list of commands associated\n" " with each signal.\n" " \n" " Options:\n" " -l\tprint a list of signal names and their corresponding numbers\n" " -p\tdisplay the trap commands associated with each SIGNAL_SPEC\n" " \n" -" Each SIGNAL_SPEC is either a signal name in or a signal " -"number.\n" +" Each SIGNAL_SPEC is either a signal name in or a signal number.\n" " Signal names are case insensitive and the SIG prefix is optional. A\n" " signal may be sent to the shell with \"kill -signal $$\".\n" " \n" " Exit Status:\n" -" Returns success unless a SIGSPEC is invalid or an invalid option is " -"given." +" Returns success unless a SIGSPEC is invalid or an invalid option is given." msgstr "" "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" @@ -4704,7 +4542,7 @@ msgstr "" " 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" @@ -4730,8 +4568,7 @@ msgid "" " 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" @@ -4760,13 +4597,11 @@ msgstr "" " 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" @@ -4810,48 +4645,47 @@ msgid "" " Exit Status:\n" " Returns success unless an invalid option is supplied or an error occurs." msgstr "" -"Canvia els límits d'utilització de recursos per part de l'intèrpret.\n" +"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" @@ -4859,7 +4693,7 @@ msgstr "" " 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" @@ -4887,34 +4721,29 @@ msgstr "" " 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" @@ -4925,32 +4754,43 @@ msgid "" " 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" @@ -4964,7 +4804,7 @@ msgstr "" " 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" @@ -4980,14 +4820,13 @@ msgstr "" "\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" @@ -5006,11 +4845,11 @@ msgstr "" "Bucle «for» aritmètic.\n" "\n" " Equivalent a\n" -" \t(( EXP1 ))\n" -" \twhile (( EXP2 )); do\n" -" \t\tORDRES\n" -" \t\t(( EXP 3 ))\n" -" \tdone\n" +" (( 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" @@ -5019,7 +4858,7 @@ msgstr "" " 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" @@ -5042,11 +4881,9 @@ msgstr "" "\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" @@ -5058,7 +4895,7 @@ msgstr "" " 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" @@ -5076,8 +4913,7 @@ msgstr "" "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" @@ -5088,7 +4924,7 @@ msgstr "" " 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" @@ -5100,28 +4936,22 @@ msgid "" 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" @@ -5135,51 +4965,50 @@ msgstr "" " 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" @@ -5193,8 +5022,7 @@ msgid "" 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" @@ -5202,13 +5030,12 @@ msgstr "" " 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" @@ -5217,8 +5044,7 @@ msgid "" 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" @@ -5226,7 +5052,7 @@ msgstr "" " 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" @@ -5244,7 +5070,7 @@ msgstr "" " 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" @@ -5259,8 +5085,7 @@ msgid "" 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" @@ -5270,8 +5095,7 @@ msgstr "" " Torna l'estat de sortida de la feina represa." # help '((' -#: builtins.c:1726 -#, fuzzy +#: builtins.c:1727 msgid "" "Evaluate arithmetic expression.\n" " \n" @@ -5290,16 +5114,13 @@ msgstr "" " 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" @@ -5330,10 +5151,8 @@ msgstr "" " 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" @@ -5343,7 +5162,7 @@ msgstr "" " 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" @@ -5399,45 +5218,45 @@ msgstr "" "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" @@ -5445,18 +5264,18 @@ msgstr "" " 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" @@ -5518,7 +5337,7 @@ msgstr "" # 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" @@ -5573,7 +5392,7 @@ msgstr "" # 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" @@ -5604,8 +5423,7 @@ msgstr "" "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" @@ -5629,8 +5447,7 @@ msgstr "" " 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" @@ -5651,21 +5468,23 @@ msgid "" 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" @@ -5673,34 +5492,29 @@ msgid "" " -v var\tassign the output to shell variable VAR rather than\n" " \t\tdisplay it on the standard output\n" " \n" -" FORMAT is a character string which contains three types of objects: " -"plain\n" -" characters, which are simply copied to standard output; character " -"escape\n" +" FORMAT is a character string which contains three types of objects: plain\n" +" characters, which are simply copied to standard output; character escape\n" " sequences, which are converted and copied to the standard output; and\n" -" format specifications, each of which causes printing of the next " -"successive\n" +" format specifications, each of which causes printing of the next successive\n" " argument.\n" " \n" -" In addition to the standard format specifications described in " -"printf(1),\n" +" In addition to the standard format specifications described in printf(1),\n" " printf interprets:\n" " \n" " %b\texpand backslash escape sequences in the corresponding argument\n" " %q\tquote the argument in a way that can be reused as shell input\n" -" %(fmt)T\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" @@ -5721,6 +5535,8 @@ msgstr "" " %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" @@ -5733,15 +5549,12 @@ msgstr "" " 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" @@ -5756,10 +5569,8 @@ msgid "" " \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." @@ -5773,26 +5584,29 @@ msgstr "" " 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" @@ -5800,25 +5614,20 @@ msgid "" 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" @@ -5842,17 +5651,16 @@ msgid "" 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" @@ -5860,8 +5668,7 @@ msgstr "" "\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" @@ -5870,26 +5677,21 @@ msgstr "" " 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" @@ -5902,13 +5704,11 @@ msgid "" " 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" @@ -5918,26 +5718,23 @@ msgstr "" " 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" @@ -5948,7 +5745,7 @@ msgstr "" " 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" @@ -5958,9 +5755,8 @@ msgstr "" "\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" @@ -5968,6 +5764,9 @@ msgstr "" #~ 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." diff --git a/tests/alias.right b/tests/alias.right index 475f8b31c..76f32076f 100644 --- a/tests/alias.right +++ b/tests/alias.right @@ -41,3 +41,5 @@ baz foo bar baz +<áa> + diff --git a/tests/alias.tests b/tests/alias.tests index c270661c5..15eac5b17 100644 --- a/tests/alias.tests +++ b/tests/alias.tests @@ -62,3 +62,4 @@ ${THIS_SH} ./alias2.sub ${THIS_SH} ./alias3.sub ${THIS_SH} ./alias4.sub ${THIS_SH} ./alias5.sub +${THIS_SH} ./alias6.sub diff --git a/tests/alias6.sub b/tests/alias6.sub new file mode 100644 index 000000000..d2d7daf59 --- /dev/null +++ b/tests/alias6.sub @@ -0,0 +1,13 @@ +# 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 diff --git a/tests/comsub.right b/tests/comsub.right index 318e40fae..3d478713c 100644 --- a/tests/comsub.right +++ b/tests/comsub.right @@ -19,6 +19,7 @@ argv[1] = argv[2] = <-e> argv[3] = argv[1] = argv[1] = argv[1] = +nested #esac a ok 1 @@ -62,5 +63,6 @@ ok 4 ok 5 ok 6 ok 7 +ok 9 ok 8 ok 8 diff --git a/tests/comsub.tests b/tests/comsub.tests index 7d6c83036..2c2107f9f 100644 --- a/tests/comsub.tests +++ b/tests/comsub.tests @@ -69,6 +69,13 @@ comsub_foo_1() 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 diff --git a/tests/comsub5.sub b/tests/comsub5.sub index 48bf62d4b..cc83374c1 100644 --- a/tests/comsub5.sub +++ b/tests/comsub5.sub @@ -36,6 +36,12 @@ echo "$( nest echo ok 7 ) )" alias short='echo ok 8 )' +alias DO='{ ' +alias DONE='}' +got=$(DO +echo ok 9; DONE) +echo "$got" + echo $( short echo "$( short "