diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:24:27 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:24:27 -0500 |
commit | ed35cb4a6394a5121724fc8a2c0ace6eb5be9de1 (patch) | |
tree | e21014b9aa0aba059196693ef7e0b2c817ca0953 /doc | |
parent | 8943768b87f00cb5ce36f5aa494471c9a9e09652 (diff) | |
download | bash-ed35cb4a6394a5121724fc8a2c0ace6eb5be9de1.tar.gz |
commit bash-20080529 snapshot
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.in | 1 | ||||
-rw-r--r-- | doc/bash.0 | 1402 | ||||
-rw-r--r-- | doc/bash.1 | 13 | ||||
-rw-r--r-- | doc/bash.1~ | 11 | ||||
-rw-r--r-- | doc/bash.html | 485 | ||||
-rw-r--r-- | doc/bash.pdf | bin | 268650 -> 273937 bytes | |||
-rw-r--r-- | doc/bash.ps | 10196 | ||||
-rw-r--r-- | doc/bashref.aux | 102 | ||||
-rw-r--r-- | doc/bashref.bt | 31 | ||||
-rw-r--r-- | doc/bashref.bts | 32 | ||||
-rw-r--r-- | doc/bashref.cp | 48 | ||||
-rw-r--r-- | doc/bashref.cps | 48 | ||||
-rw-r--r-- | doc/bashref.dvi | bin | 615548 -> 624132 bytes | |||
-rw-r--r-- | doc/bashref.fn | 193 | ||||
-rw-r--r-- | doc/bashref.fns | 193 | ||||
-rw-r--r-- | doc/bashref.html | 4458 | ||||
-rw-r--r-- | doc/bashref.info | 616 | ||||
-rw-r--r-- | doc/bashref.log | 124 | ||||
-rw-r--r-- | doc/bashref.pdf | bin | 545252 -> 551444 bytes | |||
-rw-r--r-- | doc/bashref.ps | 8395 | ||||
-rw-r--r-- | doc/bashref.rw | 12 | ||||
-rw-r--r-- | doc/bashref.rws | 12 | ||||
-rw-r--r-- | doc/bashref.texi | 9 | ||||
-rw-r--r-- | doc/bashref.texi~ | 22 | ||||
-rw-r--r-- | doc/bashref.toc | 129 | ||||
-rw-r--r-- | doc/bashref.vr | 14 | ||||
-rw-r--r-- | doc/bashref.vrs | 14 | ||||
-rw-r--r-- | doc/builtins.0 | 458 | ||||
-rw-r--r-- | doc/builtins.ps | 2952 | ||||
-rw-r--r-- | doc/rbash.ps | 2 | ||||
-rw-r--r-- | doc/version.texi | 6 | ||||
-rw-r--r-- | doc/version.texi~ | 4 |
32 files changed, 15514 insertions, 14468 deletions
diff --git a/doc/Makefile.in b/doc/Makefile.in index 469987d7..7af67ff3 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -145,6 +145,7 @@ BASHREF_FILES = $(srcdir)/bashref.texi $(srcdir)/version.texi all: ps info dvi text html nodvi: ps info text html +everything: all pdf PSFILES = bash.ps bashbug.ps article.ps builtins.ps rbash.ps DVIFILES = bashref.dvi bashref.ps @@ -217,7 +217,7 @@ DDEEFFIINNIITTIIOONNSS ccoonnttrrooll ooppeerraattoorr A _t_o_k_e_n that performs a control function. It is one of the fol- lowing symbols: - |||| && &&&& ;; ;;;; (( )) || <<nneewwlliinnee>> + |||| && &&&& ;; ;;;; (( )) || ||&& <<nneewwlliinnee>> RREESSEERRVVEEDD WWOORRDDSS _R_e_s_e_r_v_e_d _w_o_r_d_s are words that have a special meaning to the shell. The @@ -240,14 +240,18 @@ SSHHEELLLL GGRRAAMMMMAARR the command is terminated by signal _n. PPiippeelliinneess - A _p_i_p_e_l_i_n_e is a sequence of one or more commands separated by the char- - acter ||. The format for a pipeline is: + A _p_i_p_e_l_i_n_e is a sequence of one or more commands separated by one of + the control operators || or ||&&. The format for a pipeline is: - [ttiimmee [--pp]] [ ! ] _c_o_m_m_a_n_d [ || _c_o_m_m_a_n_d_2 ... ] + [ttiimmee [--pp]] [ ! ] _c_o_m_m_a_n_d [ [|||||&&] _c_o_m_m_a_n_d_2 ... ] The standard output of _c_o_m_m_a_n_d is connected via a pipe to the standard input of _c_o_m_m_a_n_d_2. This connection is performed before any redirec- - tions specified by the command (see RREEDDIIRREECCTTIIOONN below). + tions specified by the command (see RREEDDIIRREECCTTIIOONN below). If ||&& is used, + the standard error of _c_o_m_m_a_n_d is connected to _c_o_m_m_a_n_d_2's standard input + through the pipe; it is shorthand for 22>>&&11 ||. This implicit redirect- + ion of the standard error is performed after any redirections specified + by the command. The return status of a pipeline is the exit status of the last command, unless the ppiippeeffaaiill option is enabled. If ppiippeeffaaiill is enabled, the @@ -432,10 +436,14 @@ SSHHEELLLL GGRRAAMMMMAARR substitution. If the shell option nnooccaasseemmaattcchh is enabled, the match is performed without regard to the case of alphabetic characters. When a match is found, the corresponding _l_i_s_t is - executed. After the first match, no subsequent matches are - attempted. The exit status is zero if no pattern matches. Oth- - erwise, it is the exit status of the last command executed in - _l_i_s_t. + executed. If the ;;;; operator is used, no subsequent matches are + attempted after the first pattern match. Using ;;&& in place of + ;;;; causes execution to continue with the _l_i_s_t associated with + the next set of patterns. Using ;;;;&& in place of ;;;; causes the + shell to test the next pattern list in the statement, if any, + and execute any associated _l_i_s_t on a successful match. The exit + status is zero if no pattern matches. Otherwise, it is the exit + status of the last command executed in _l_i_s_t. iiff _l_i_s_t; tthheenn _l_i_s_t_; [ eelliiff _l_i_s_t; tthheenn _l_i_s_t; ] ... [ eellssee _l_i_s_t; ] ffii The iiff _l_i_s_t is executed. If its exit status is zero, the tthheenn @@ -1226,12 +1234,18 @@ EEXXPPAANNSSIIOONN are not sorted; left to right order is preserved. For example, a{{d,c,b}}e expands into `ade ace abe'. - A sequence expression takes the form {{_x...._y}}, where _x and _y are either - integers or single characters. When integers are supplied, the expres- - sion expands to each number between _x and _y, inclusive. When charac- - ters are supplied, the expression expands to each character lexico- - graphically between _x and _y, inclusive. Note that both _x and _y must be - of the same type. + A sequence expression takes the form {{_x...._y[[...._i_n_c_r]]}}_, _w_h_e_r_e _x _a_n_d _y _a_r_e + _e_i_t_h_e_r _i_n_t_e_g_e_r_s _o_r _s_i_n_g_l_e _c_h_a_r_a_c_t_e_r_s_, _a_n_d _i_n_c_r_, _a_n _o_p_t_i_o_n_a_l _i_n_c_r_e_m_e_n_t_, + _i_s _a_n _i_n_t_e_g_e_r_. _W_h_e_n _i_n_t_e_g_e_r_s _a_r_e _s_u_p_p_l_i_e_d_, _t_h_e _e_x_p_r_e_s_s_i_o_n _e_x_p_a_n_d_s _t_o + _e_a_c_h _n_u_m_b_e_r _b_e_t_w_e_e_n _x _a_n_d _y_, _i_n_c_l_u_s_i_v_e_. _S_u_p_p_l_i_e_d _i_n_t_e_g_e_r_s _m_a_y _b_e _p_r_e_- + _f_i_x_e_d _w_i_t_h _0 _t_o _f_o_r_c_e _e_a_c_h _t_e_r_m _t_o _h_a_v_e _t_h_e _s_a_m_e _w_i_d_t_h_. _W_h_e_n _e_i_t_h_e_r _x + _o_r _y _b_e_g_i_n_s _w_i_t_h _a _z_e_r_o_, _t_h_e _s_h_e_l_l _a_t_t_e_m_p_t_s _t_o _f_o_r_c_e _a_l_l _g_e_n_e_r_a_t_e_d + _t_e_r_m_s _t_o _c_o_n_t_a_i_n _t_h_e _s_a_m_e _n_u_m_b_e_r _o_f _d_i_g_i_t_s_, _z_e_r_o_-_p_a_d_d_i_n_g _w_h_e_r_e _n_e_c_e_s_- + _s_a_r_y_. _W_h_e_n _c_h_a_r_a_c_t_e_r_s _a_r_e _s_u_p_p_l_i_e_d_, _t_h_e _e_x_p_r_e_s_s_i_o_n _e_x_p_a_n_d_s _t_o _e_a_c_h + _c_h_a_r_a_c_t_e_r _l_e_x_i_c_o_g_r_a_p_h_i_c_a_l_l_y _b_e_t_w_e_e_n _x _a_n_d _y_, _i_n_c_l_u_s_i_v_e_. _N_o_t_e _t_h_a_t _b_o_t_h + _x _a_n_d _y _m_u_s_t _b_e _o_f _t_h_e _s_a_m_e _t_y_p_e_. _W_h_e_n _t_h_e _i_n_c_r_e_m_e_n_t _i_s _s_u_p_p_l_i_e_d_, _i_t + _i_s _u_s_e_d _a_s _t_h_e _d_i_f_f_e_r_e_n_c_e _b_e_t_w_e_e_n _e_a_c_h _t_e_r_m_. _T_h_e _d_e_f_a_u_l_t _i_n_c_r_e_m_e_n_t _i_s + _1 _o_r _-_1 _a_s _a_p_p_r_o_p_r_i_a_t_e_. Brace expansion is performed before any other expansions, and any char- acters special to other expansions are preserved in the result. It is @@ -1560,39 +1574,44 @@ EEXXPPAANNSSIIOONN The special pattern characters have the following meanings: - ** Matches any string, including the null string. + ** Matches any string, including the null string. When the gglloobb-- + ssttaarr shell option is enabled, and ** is used in a filename expan- + sion context, two adjacent **s used as a single pattern will + match all files and zero or more directories and subdirectories. + If followed by a //, two adjacent **s will match only directories + and subdirectories. ?? Matches any single character. - [[......]] Matches any one of the enclosed characters. A pair of charac- + [[......]] Matches any one of the enclosed characters. A pair of charac- ters separated by a hyphen denotes a _r_a_n_g_e _e_x_p_r_e_s_s_i_o_n; any char- - acter that sorts between those two characters, inclusive, using - the current locale's collating sequence and character set, is - matched. If the first character following the [[ is a !! or a ^^ - then any character not enclosed is matched. The sorting order - of characters in range expressions is determined by the current - locale and the value of the LLCC__CCOOLLLLAATTEE shell variable, if set. - A -- may be matched by including it as the first or last charac- + acter that sorts between those two characters, inclusive, using + the current locale's collating sequence and character set, is + matched. If the first character following the [[ is a !! or a ^^ + then any character not enclosed is matched. The sorting order + of characters in range expressions is determined by the current + locale and the value of the LLCC__CCOOLLLLAATTEE shell variable, if set. + A -- may be matched by including it as the first or last charac- ter in the set. A ]] may be matched by including it as the first character in the set. - Within [[ and ]], _c_h_a_r_a_c_t_e_r _c_l_a_s_s_e_s can be specified using the - syntax [[::_c_l_a_s_s::]], where _c_l_a_s_s is one of the following classes + Within [[ and ]], _c_h_a_r_a_c_t_e_r _c_l_a_s_s_e_s can be specified using the + syntax [[::_c_l_a_s_s::]], where _c_l_a_s_s is one of the following classes defined in the POSIX standard: - aallnnuumm aallpphhaa aasscciiii bbllaannkk ccnnttrrll ddiiggiitt ggrraapphh lloowweerr pprriinntt ppuunncctt + aallnnuumm aallpphhaa aasscciiii bbllaannkk ccnnttrrll ddiiggiitt ggrraapphh lloowweerr pprriinntt ppuunncctt ssppaaccee uuppppeerr wwoorrdd xxddiiggiitt A character class matches any character belonging to that class. - The wwoorrdd character class matches letters, digits, and the char- + The wwoorrdd character class matches letters, digits, and the char- acter _. - Within [[ and ]], an _e_q_u_i_v_a_l_e_n_c_e _c_l_a_s_s can be specified using the - syntax [[==_c==]], which matches all characters with the same colla- - tion weight (as defined by the current locale) as the character + Within [[ and ]], an _e_q_u_i_v_a_l_e_n_c_e _c_l_a_s_s can be specified using the + syntax [[==_c==]], which matches all characters with the same colla- + tion weight (as defined by the current locale) as the character _c. Within [[ and ]], the syntax [[.._s_y_m_b_o_l..]] matches the collating sym- bol _s_y_m_b_o_l. If the eexxttgglloobb shell option is enabled using the sshhoopptt builtin, several - extended pattern matching operators are recognized. In the following + extended pattern matching operators are recognized. In the following description, a _p_a_t_t_e_r_n_-_l_i_s_t is a list of one or more patterns separated by a ||. Composite patterns may be formed using one or more of the fol- lowing sub-patterns: @@ -1610,48 +1629,48 @@ EEXXPPAANNSSIIOONN QQuuoottee RReemmoovvaall After the preceding expansions, all unquoted occurrences of the charac- - ters \\, '', and "" that did not result from one of the above expansions + ters \\, '', and "" that did not result from one of the above expansions are removed. RREEDDIIRREECCTTIIOONN - Before a command is executed, its input and output may be _r_e_d_i_r_e_c_t_e_d - using a special notation interpreted by the shell. Redirection may - also be used to open and close files for the current shell execution + Before a command is executed, its input and output may be _r_e_d_i_r_e_c_t_e_d + using a special notation interpreted by the shell. Redirection may + also be used to open and close files for the current shell execution environment. The following redirection operators may precede or appear anywhere within a _s_i_m_p_l_e _c_o_m_m_a_n_d or may follow a _c_o_m_m_a_n_d. Redirections are processed in the order they appear, from left to right. - In the following descriptions, if the file descriptor number is omit- - ted, and the first character of the redirection operator is <<, the re- - direction refers to the standard input (file descriptor 0). If the - first character of the redirection operator is >>, the redirection + In the following descriptions, if the file descriptor number is omit- + ted, and the first character of the redirection operator is <<, the re- + direction refers to the standard input (file descriptor 0). If the + first character of the redirection operator is >>, the redirection refers to the standard output (file descriptor 1). - The word following the redirection operator in the following descrip- - tions, unless otherwise noted, is subjected to brace expansion, tilde + The word following the redirection operator in the following descrip- + tions, unless otherwise noted, is subjected to brace expansion, tilde expansion, parameter expansion, command substitution, arithmetic expan- - sion, quote removal, pathname expansion, and word splitting. If it + sion, quote removal, pathname expansion, and word splitting. If it expands to more than one word, bbaasshh reports an error. - Note that the order of redirections is significant. For example, the + Note that the order of redirections is significant. For example, the command ls >> dirlist 2>>&&1 - directs both standard output and standard error to the file _d_i_r_l_i_s_t, + directs both standard output and standard error to the file _d_i_r_l_i_s_t, while the command ls 2>>&&1 >> dirlist - directs only the standard output to file _d_i_r_l_i_s_t, because the standard - error was duplicated as standard output before the standard output was + directs only the standard output to file _d_i_r_l_i_s_t, because the standard + error was duplicated as standard output before the standard output was redirected to _d_i_r_l_i_s_t. BBaasshh handles several filenames specially when they are used in redirec- tions, as described in the following table: //ddeevv//ffdd//_f_d - If _f_d is a valid integer, file descriptor _f_d is dupli- + If _f_d is a valid integer, file descriptor _f_d is dupli- cated. //ddeevv//ssttddiinn File descriptor 0 is duplicated. @@ -1661,22 +1680,22 @@ RREEDDIIRREECCTTIIOONN File descriptor 2 is duplicated. //ddeevv//ttccpp//_h_o_s_t//_p_o_r_t If _h_o_s_t is a valid hostname or Internet address, and _p_o_r_t - is an integer port number or service name, bbaasshh attempts + is an integer port number or service name, bbaasshh attempts to open a TCP connection to the corresponding socket. //ddeevv//uuddpp//_h_o_s_t//_p_o_r_t If _h_o_s_t is a valid hostname or Internet address, and _p_o_r_t - is an integer port number or service name, bbaasshh attempts + is an integer port number or service name, bbaasshh attempts to open a UDP connection to the corresponding socket. A failure to open or create a file causes the redirection to fail. - Redirections using file descriptors greater than 9 should be used with - care, as they may conflict with file descriptors the shell uses inter- + Redirections using file descriptors greater than 9 should be used with + care, as they may conflict with file descriptors the shell uses inter- nally. RReeddiirreeccttiinngg IInnppuutt Redirection of input causes the file whose name results from the expan- - sion of _w_o_r_d to be opened for reading on file descriptor _n, or the + sion of _w_o_r_d to be opened for reading on file descriptor _n, or the standard input (file descriptor 0) if _n is not specified. The general format for redirecting input is: @@ -1684,27 +1703,27 @@ RREEDDIIRREECCTTIIOONN [_n]<<_w_o_r_d RReeddiirreeccttiinngg OOuuttppuutt - Redirection of output causes the file whose name results from the + Redirection of output causes the file whose name results from the expansion of _w_o_r_d to be opened for writing on file descriptor _n, or the standard output (file descriptor 1) if _n is not specified. If the file - does not exist it is created; if it does exist it is truncated to zero + does not exist it is created; if it does exist it is truncated to zero size. The general format for redirecting output is: [_n]>>_w_o_r_d - If the redirection operator is >>, and the nnoocclloobbbbeerr option to the sseett - builtin has been enabled, the redirection will fail if the file whose - name results from the expansion of _w_o_r_d exists and is a regular file. + If the redirection operator is >>, and the nnoocclloobbbbeerr option to the sseett + builtin has been enabled, the redirection will fail if the file whose + name results from the expansion of _w_o_r_d exists and is a regular file. If the redirection operator is >>||, or the redirection operator is >> and the nnoocclloobbbbeerr option to the sseett builtin command is not enabled, the re- direction is attempted even if the file named by _w_o_r_d exists. AAppppeennddiinngg RReeddiirreecctteedd OOuuttppuutt - Redirection of output in this fashion causes the file whose name - results from the expansion of _w_o_r_d to be opened for appending on file - descriptor _n, or the standard output (file descriptor 1) if _n is not + Redirection of output in this fashion causes the file whose name + results from the expansion of _w_o_r_d to be opened for appending on file + descriptor _n, or the standard output (file descriptor 1) if _n is not specified. If the file does not exist it is created. The general format for appending output is: @@ -1713,11 +1732,11 @@ RREEDDIIRREECCTTIIOONN RReeddiirreeccttiinngg SSttaannddaarrdd OOuuttppuutt aanndd SSttaannddaarrdd EErrrroorr - BBaasshh allows both the standard output (file descriptor 1) and the stan- - dard error output (file descriptor 2) to be redirected to the file - whose name is the expansion of _w_o_r_d with this construct. + This construct allows both the standard output (file descriptor 1) and + the standard error output (file descriptor 2) to be redirected to the + file whose name is the expansion of _w_o_r_d. - There are two formats for redirecting standard output and standard + There are two formats for redirecting standard output and standard error: &&>>_w_o_r_d @@ -1729,10 +1748,24 @@ RREEDDIIRREECCTTIIOONN >>_w_o_r_d 2>>&&1 + + AAppppeennddiinngg SSttaannddaarrdd OOuuttppuutt aanndd SSttaannddaarrdd EErrrroorr + This construct allows both the standard output (file descriptor 1) and + the standard error output (file descriptor 2) to be appended to the + file whose name is the expansion of _w_o_r_d. + + The format for appending standard output and standard error is: + + &&>>>>_w_o_r_d + + This is semantically equivalent to + + >>>>_w_o_r_d 2>>&&1 + HHeerree DDooccuummeennttss - This type of redirection instructs the shell to read input from the - current source until a line containing only _w_o_r_d (with no trailing - blanks) is seen. All of the lines read up to that point are then used + This type of redirection instructs the shell to read input from the + current source until a line containing only _w_o_r_d (with no trailing + blanks) is seen. All of the lines read up to that point are then used as the standard input for a command. The format of here-documents is: @@ -1741,18 +1774,18 @@ RREEDDIIRREECCTTIIOONN _h_e_r_e_-_d_o_c_u_m_e_n_t _d_e_l_i_m_i_t_e_r - No parameter expansion, command substitution, arithmetic expansion, or + No parameter expansion, command substitution, arithmetic expansion, or pathname expansion is performed on _w_o_r_d. If any characters in _w_o_r_d are - quoted, the _d_e_l_i_m_i_t_e_r is the result of quote removal on _w_o_r_d, and the - lines in the here-document are not expanded. If _w_o_r_d is unquoted, all - lines of the here-document are subjected to parameter expansion, com- - mand substitution, and arithmetic expansion. In the latter case, the - character sequence \\<<nneewwlliinnee>> is ignored, and \\ must be used to quote + quoted, the _d_e_l_i_m_i_t_e_r is the result of quote removal on _w_o_r_d, and the + lines in the here-document are not expanded. If _w_o_r_d is unquoted, all + lines of the here-document are subjected to parameter expansion, com- + mand substitution, and arithmetic expansion. In the latter case, the + character sequence \\<<nneewwlliinnee>> is ignored, and \\ must be used to quote the characters \\, $$, and ``. If the redirection operator is <<<<--, then all leading tab characters are - stripped from input lines and the line containing _d_e_l_i_m_i_t_e_r. This - allows here-documents within shell scripts to be indented in a natural + stripped from input lines and the line containing _d_e_l_i_m_i_t_e_r. This + allows here-documents within shell scripts to be indented in a natural fashion. HHeerree SSttrriinnggss @@ -1768,20 +1801,20 @@ RREEDDIIRREECCTTIIOONN [_n]<<&&_w_o_r_d is used to duplicate input file descriptors. If _w_o_r_d expands to one or - more digits, the file descriptor denoted by _n is made to be a copy of - that file descriptor. If the digits in _w_o_r_d do not specify a file - descriptor open for input, a redirection error occurs. If _w_o_r_d evalu- - ates to --, file descriptor _n is closed. If _n is not specified, the + more digits, the file descriptor denoted by _n is made to be a copy of + that file descriptor. If the digits in _w_o_r_d do not specify a file + descriptor open for input, a redirection error occurs. If _w_o_r_d evalu- + ates to --, file descriptor _n is closed. If _n is not specified, the standard input (file descriptor 0) is used. The operator [_n]>>&&_w_o_r_d - is used similarly to duplicate output file descriptors. If _n is not - specified, the standard output (file descriptor 1) is used. If the - digits in _w_o_r_d do not specify a file descriptor open for output, a re- - direction error occurs. As a special case, if _n is omitted, and _w_o_r_d + is used similarly to duplicate output file descriptors. If _n is not + specified, the standard output (file descriptor 1) is used. If the + digits in _w_o_r_d do not specify a file descriptor open for output, a re- + direction error occurs. As a special case, if _n is omitted, and _w_o_r_d does not expand to one or more digits, the standard output and standard error are redirected as described previously. @@ -1790,7 +1823,7 @@ RREEDDIIRREECCTTIIOONN [_n]<<&&_d_i_g_i_t-- - moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard + moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard input (file descriptor 0) if _n is not specified. _d_i_g_i_t is closed after being duplicated to _n. @@ -1798,7 +1831,7 @@ RREEDDIIRREECCTTIIOONN [_n]>>&&_d_i_g_i_t-- - moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard + moves the file descriptor _d_i_g_i_t to file descriptor _n, or the standard output (file descriptor 1) if _n is not specified. OOppeenniinngg FFiillee DDeessccrriippttoorrss ffoorr RReeaaddiinngg aanndd WWrriittiinngg @@ -1806,108 +1839,108 @@ RREEDDIIRREECCTTIIOONN [_n]<<>>_w_o_r_d - causes the file whose name is the expansion of _w_o_r_d to be opened for - both reading and writing on file descriptor _n, or on file descriptor 0 + causes the file whose name is the expansion of _w_o_r_d to be opened for + both reading and writing on file descriptor _n, or on file descriptor 0 if _n is not specified. If the file does not exist, it is created. AALLIIAASSEESS - _A_l_i_a_s_e_s allow a string to be substituted for a word when it is used as - the first word of a simple command. The shell maintains a list of - aliases that may be set and unset with the aalliiaass and uunnaalliiaass builtin - commands (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The first word of each - simple command, if unquoted, is checked to see if it has an alias. If - so, that word is replaced by the text of the alias. The characters //, - $$, ``, and == and any of the shell _m_e_t_a_c_h_a_r_a_c_t_e_r_s or quoting characters + _A_l_i_a_s_e_s allow a string to be substituted for a word when it is used as + the first word of a simple command. The shell maintains a list of + aliases that may be set and unset with the aalliiaass and uunnaalliiaass builtin + commands (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). The first word of each + simple command, if unquoted, is checked to see if it has an alias. If + so, that word is replaced by the text of the alias. The characters //, + $$, ``, and == and any of the shell _m_e_t_a_c_h_a_r_a_c_t_e_r_s or quoting characters listed above may not appear in an alias name. The replacement text may - contain any valid shell input, including shell metacharacters. The - first word of the replacement text is tested for aliases, but a word - that is identical to an alias being expanded is not expanded a second - time. This means that one may alias llss to llss --FF, for instance, and - bbaasshh does not try to recursively expand the replacement text. If the - last character of the alias value is a _b_l_a_n_k, then the next command + contain any valid shell input, including shell metacharacters. The + first word of the replacement text is tested for aliases, but a word + that is identical to an alias being expanded is not expanded a second + time. This means that one may alias llss to llss --FF, for instance, and + bbaasshh does not try to recursively expand the replacement text. If the + last character of the alias value is a _b_l_a_n_k, then the next command word following the alias is also checked for alias expansion. Aliases are created and listed with the aalliiaass command, and removed with the uunnaalliiaass command. - There is no mechanism for using arguments in the replacement text. If - arguments are needed, a shell function should be used (see FFUUNNCCTTIIOONNSS + There is no mechanism for using arguments in the replacement text. If + arguments are needed, a shell function should be used (see FFUUNNCCTTIIOONNSS below). - Aliases are not expanded when the shell is not interactive, unless the - eexxppaanndd__aalliiaasseess shell option is set using sshhoopptt (see the description of + Aliases are not expanded when the shell is not interactive, unless the + eexxppaanndd__aalliiaasseess shell option is set using sshhoopptt (see the description of sshhoopptt under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). - The rules concerning the definition and use of aliases are somewhat - confusing. BBaasshh always reads at least one complete line of input - before executing any of the commands on that line. Aliases are - expanded when a command is read, not when it is executed. Therefore, - an alias definition appearing on the same line as another command does - not take effect until the next line of input is read. The commands + The rules concerning the definition and use of aliases are somewhat + confusing. BBaasshh always reads at least one complete line of input + before executing any of the commands on that line. Aliases are + expanded when a command is read, not when it is executed. Therefore, + an alias definition appearing on the same line as another command does + not take effect until the next line of input is read. The commands following the alias definition on that line are not affected by the new - alias. This behavior is also an issue when functions are executed. - Aliases are expanded when a function definition is read, not when the - function is executed, because a function definition is itself a com- + alias. This behavior is also an issue when functions are executed. + Aliases are expanded when a function definition is read, not when the + function is executed, because a function definition is itself a com- pound command. As a consequence, aliases defined in a function are not - available until after that function is executed. To be safe, always - put alias definitions on a separate line, and do not use aalliiaass in com- + available until after that function is executed. To be safe, always + put alias definitions on a separate line, and do not use aalliiaass in com- pound commands. For almost every purpose, aliases are superseded by shell functions. FFUUNNCCTTIIOONNSS - A shell function, defined as described above under SSHHEELLLL GGRRAAMMMMAARR, - stores a series of commands for later execution. When the name of a - shell function is used as a simple command name, the list of commands + A shell function, defined as described above under SSHHEELLLL GGRRAAMMMMAARR, + stores a series of commands for later execution. When the name of a + shell function is used as a simple command name, the list of commands associated with that function name is executed. Functions are executed - in the context of the current shell; no new process is created to - interpret them (contrast this with the execution of a shell script). - When a function is executed, the arguments to the function become the + in the context of the current shell; no new process is created to + interpret them (contrast this with the execution of a shell script). + When a function is executed, the arguments to the function become the positional parameters during its execution. The special parameter ## is - updated to reflect the change. Special parameter 0 is unchanged. The - first element of the FFUUNNCCNNAAMMEE variable is set to the name of the func- - tion while the function is executing. All other aspects of the shell - execution environment are identical between a function and its caller + updated to reflect the change. Special parameter 0 is unchanged. The + first element of the FFUUNNCCNNAAMMEE variable is set to the name of the func- + tion while the function is executing. All other aspects of the shell + execution environment are identical between a function and its caller with the exception that the DDEEBBUUGG and RREETTUURRNN traps (see the description - of the ttrraapp builtin under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below) are not inher- - ited unless the function has been given the ttrraaccee attribute (see the - description of the ddeeccllaarree builtin below) or the --oo ffuunnccttrraaccee shell - option has been enabled with the sseett builtin (in which case all func- + of the ttrraapp builtin under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below) are not inher- + ited unless the function has been given the ttrraaccee attribute (see the + description of the ddeeccllaarree builtin below) or the --oo ffuunnccttrraaccee shell + option has been enabled with the sseett builtin (in which case all func- tions inherit the DDEEBBUUGG and RREETTUURRNN traps). - Variables local to the function may be declared with the llooccaall builtin + Variables local to the function may be declared with the llooccaall builtin command. Ordinarily, variables and their values are shared between the function and its caller. - If the builtin command rreettuurrnn is executed in a function, the function - completes and execution resumes with the next command after the func- - tion call. Any command associated with the RREETTUURRNN trap is executed + If the builtin command rreettuurrnn is executed in a function, the function + completes and execution resumes with the next command after the func- + tion call. Any command associated with the RREETTUURRNN trap is executed before execution resumes. When a function completes, the values of the - positional parameters and the special parameter ## are restored to the + positional parameters and the special parameter ## are restored to the values they had prior to the function's execution. - Function names and definitions may be listed with the --ff option to the + Function names and definitions may be listed with the --ff option to the ddeeccllaarree or ttyyppeesseett builtin commands. The --FF option to ddeeccllaarree or ttyyppee-- - sseett will list the function names only (and optionally the source file - and line number, if the eexxttddeebbuugg shell option is enabled). Functions - may be exported so that subshells automatically have them defined with - the --ff option to the eexxppoorrtt builtin. A function definition may be - deleted using the --ff option to the uunnsseett builtin. Note that shell + sseett will list the function names only (and optionally the source file + and line number, if the eexxttddeebbuugg shell option is enabled). Functions + may be exported so that subshells automatically have them defined with + the --ff option to the eexxppoorrtt builtin. A function definition may be + deleted using the --ff option to the uunnsseett builtin. Note that shell functions and variables with the same name may result in multiple iden- - tically-named entries in the environment passed to the shell's chil- + tically-named entries in the environment passed to the shell's chil- dren. Care should be taken in cases where this may cause a problem. - Functions may be recursive. No limit is imposed on the number of + Functions may be recursive. No limit is imposed on the number of recursive calls. AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN - The shell allows arithmetic expressions to be evaluated, under certain - circumstances (see the lleett and ddeeccllaarree builtin commands and AArriitthhmmeettiicc - EExxppaannssiioonn). Evaluation is done in fixed-width integers with no check - for overflow, though division by 0 is trapped and flagged as an error. - The operators and their precedence, associativity, and values are the - same as in the C language. The following list of operators is grouped - into levels of equal-precedence operators. The levels are listed in + The shell allows arithmetic expressions to be evaluated, under certain + circumstances (see the lleett and ddeeccllaarree builtin commands and AArriitthhmmeettiicc + EExxppaannssiioonn). Evaluation is done in fixed-width integers with no check + for overflow, though division by 0 is trapped and flagged as an error. + The operators and their precedence, associativity, and values are the + same as in the C language. The following list of operators is grouped + into levels of equal-precedence operators. The levels are listed in order of decreasing precedence. _i_d++++ _i_d---- @@ -1935,39 +1968,39 @@ AARRIITTHHMMEETTIICC EEVVAALLUUAATTIIOONN _e_x_p_r_1 ,, _e_x_p_r_2 comma - Shell variables are allowed as operands; parameter expansion is per- + Shell variables are allowed as operands; parameter expansion is per- formed before the expression is evaluated. Within an expression, shell - variables may also be referenced by name without using the parameter - expansion syntax. A shell variable that is null or unset evaluates to + variables may also be referenced by name without using the parameter + expansion syntax. A shell variable that is null or unset evaluates to 0 when referenced by name without using the parameter expansion syntax. - The value of a variable is evaluated as an arithmetic expression when - it is referenced, or when a variable which has been given the _i_n_t_e_g_e_r + The value of a variable is evaluated as an arithmetic expression when + it is referenced, or when a variable which has been given the _i_n_t_e_g_e_r attribute using ddeeccllaarree --ii is assigned a value. A null value evaluates - to 0. A shell variable need not have its integer attribute turned on + to 0. A shell variable need not have its integer attribute turned on to be used in an expression. Constants with a leading 0 are interpreted as octal numbers. A leading - 0x or 0X denotes hexadecimal. Otherwise, numbers take the form - [_b_a_s_e_#]n, where _b_a_s_e is a decimal number between 2 and 64 representing + 0x or 0X denotes hexadecimal. Otherwise, numbers take the form + [_b_a_s_e_#]n, where _b_a_s_e is a decimal number between 2 and 64 representing the arithmetic base, and _n is a number in that base. If _b_a_s_e_# is omit- - ted, then base 10 is used. The digits greater than 9 are represented - by the lowercase letters, the uppercase letters, @, and _, in that - order. If _b_a_s_e is less than or equal to 36, lowercase and uppercase + ted, then base 10 is used. The digits greater than 9 are represented + by the lowercase letters, the uppercase letters, @, and _, in that + order. If _b_a_s_e is less than or equal to 36, lowercase and uppercase letters may be used interchangeably to represent numbers between 10 and 35. - Operators are evaluated in order of precedence. Sub-expressions in - parentheses are evaluated first and may override the precedence rules + Operators are evaluated in order of precedence. Sub-expressions in + parentheses are evaluated first and may override the precedence rules above. CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS - Conditional expressions are used by the [[[[ compound command and the - tteesstt and [[ builtin commands to test file attributes and perform string - and arithmetic comparisons. Expressions are formed from the following - unary or binary primaries. If any _f_i_l_e argument to one of the pri- + Conditional expressions are used by the [[[[ compound command and the + tteesstt and [[ builtin commands to test file attributes and perform string + and arithmetic comparisons. Expressions are formed from the following + unary or binary primaries. If any _f_i_l_e argument to one of the pri- maries is of the form _/_d_e_v_/_f_d_/_n, then file descriptor _n is checked. If - the _f_i_l_e argument to one of the primaries is one of _/_d_e_v_/_s_t_d_i_n, - _/_d_e_v_/_s_t_d_o_u_t, or _/_d_e_v_/_s_t_d_e_r_r, file descriptor 0, 1, or 2, respectively, + the _f_i_l_e argument to one of the primaries is one of _/_d_e_v_/_s_t_d_i_n, + _/_d_e_v_/_s_t_d_o_u_t, or _/_d_e_v_/_s_t_d_e_r_r, file descriptor 0, 1, or 2, respectively, is checked. Unless otherwise specified, primaries that operate on files follow sym- @@ -2014,20 +2047,20 @@ CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS --SS _f_i_l_e True if _f_i_l_e exists and is a socket. --NN _f_i_l_e - True if _f_i_l_e exists and has been modified since it was last + True if _f_i_l_e exists and has been modified since it was last read. _f_i_l_e_1 -nntt _f_i_l_e_2 - True if _f_i_l_e_1 is newer (according to modification date) than + True if _f_i_l_e_1 is newer (according to modification date) than _f_i_l_e_2, or if _f_i_l_e_1 exists and _f_i_l_e_2 does not. _f_i_l_e_1 -oott _f_i_l_e_2 - True if _f_i_l_e_1 is older than _f_i_l_e_2, or if _f_i_l_e_2 exists and _f_i_l_e_1 + True if _f_i_l_e_1 is older than _f_i_l_e_2, or if _f_i_l_e_2 exists and _f_i_l_e_1 does not. _f_i_l_e_1 --eeff _f_i_l_e_2 - True if _f_i_l_e_1 and _f_i_l_e_2 refer to the same device and inode num- + True if _f_i_l_e_1 and _f_i_l_e_2 refer to the same device and inode num- bers. --oo _o_p_t_n_a_m_e - True if shell option _o_p_t_n_a_m_e is enabled. See the list of - options under the description of the --oo option to the sseett + True if shell option _o_p_t_n_a_m_e is enabled. See the list of + options under the description of the --oo option to the sseett builtin below. --zz _s_t_r_i_n_g True if the length of _s_t_r_i_n_g is zero. @@ -2043,111 +2076,115 @@ CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS True if the strings are not equal. _s_t_r_i_n_g_1 << _s_t_r_i_n_g_2 - True if _s_t_r_i_n_g_1 sorts before _s_t_r_i_n_g_2 lexicographically in the + True if _s_t_r_i_n_g_1 sorts before _s_t_r_i_n_g_2 lexicographically in the current locale. _s_t_r_i_n_g_1 >> _s_t_r_i_n_g_2 - True if _s_t_r_i_n_g_1 sorts after _s_t_r_i_n_g_2 lexicographically in the + True if _s_t_r_i_n_g_1 sorts after _s_t_r_i_n_g_2 lexicographically in the current locale. _a_r_g_1 OOPP _a_r_g_2 - OOPP is one of --eeqq, --nnee, --lltt, --llee, --ggtt, or --ggee. These arithmetic - binary operators return true if _a_r_g_1 is equal to, not equal to, - less than, less than or equal to, greater than, or greater than - or equal to _a_r_g_2, respectively. _A_r_g_1 and _a_r_g_2 may be positive + OOPP is one of --eeqq, --nnee, --lltt, --llee, --ggtt, or --ggee. These arithmetic + binary operators return true if _a_r_g_1 is equal to, not equal to, + less than, less than or equal to, greater than, or greater than + or equal to _a_r_g_2, respectively. _A_r_g_1 and _a_r_g_2 may be positive or negative integers. SSIIMMPPLLEE CCOOMMMMAANNDD EEXXPPAANNSSIIOONN - When a simple command is executed, the shell performs the following + When a simple command is executed, the shell performs the following expansions, assignments, and redirections, from left to right. - 1. The words that the parser has marked as variable assignments - (those preceding the command name) and redirections are saved + 1. The words that the parser has marked as variable assignments + (those preceding the command name) and redirections are saved for later processing. - 2. The words that are not variable assignments or redirections are - expanded. If any words remain after expansion, the first word - is taken to be the name of the command and the remaining words + 2. The words that are not variable assignments or redirections are + expanded. If any words remain after expansion, the first word + is taken to be the name of the command and the remaining words are the arguments. 3. Redirections are performed as described above under RREEDDIIRREECCTTIIOONN. 4. The text after the == in each variable assignment undergoes tilde expansion, parameter expansion, command substitution, arithmetic - expansion, and quote removal before being assigned to the vari- + expansion, and quote removal before being assigned to the vari- able. If no command name results, the variable assignments affect the current - shell environment. Otherwise, the variables are added to the environ- - ment of the executed command and do not affect the current shell envi- - ronment. If any of the assignments attempts to assign a value to a - readonly variable, an error occurs, and the command exits with a non- + shell environment. Otherwise, the variables are added to the environ- + ment of the executed command and do not affect the current shell envi- + ronment. If any of the assignments attempts to assign a value to a + readonly variable, an error occurs, and the command exits with a non- zero status. - If no command name results, redirections are performed, but do not - affect the current shell environment. A redirection error causes the + If no command name results, redirections are performed, but do not + affect the current shell environment. A redirection error causes the command to exit with a non-zero status. - If there is a command name left after expansion, execution proceeds as - described below. Otherwise, the command exits. If one of the expan- - sions contained a command substitution, the exit status of the command - is the exit status of the last command substitution performed. If + If there is a command name left after expansion, execution proceeds as + described below. Otherwise, the command exits. If one of the expan- + sions contained a command substitution, the exit status of the command + is the exit status of the last command substitution performed. If there were no command substitutions, the command exits with a status of zero. CCOOMMMMAANNDD EEXXEECCUUTTIIOONN - After a command has been split into words, if it results in a simple - command and an optional list of arguments, the following actions are + After a command has been split into words, if it results in a simple + command and an optional list of arguments, the following actions are taken. - If the command name contains no slashes, the shell attempts to locate - it. If there exists a shell function by that name, that function is - invoked as described above in FFUUNNCCTTIIOONNSS. If the name does not match a - function, the shell searches for it in the list of shell builtins. If + If the command name contains no slashes, the shell attempts to locate + it. If there exists a shell function by that name, that function is + invoked as described above in FFUUNNCCTTIIOONNSS. If the name does not match a + function, the shell searches for it in the list of shell builtins. If a match is found, that builtin is invoked. - If the name is neither a shell function nor a builtin, and contains no - slashes, bbaasshh searches each element of the PPAATTHH for a directory con- - taining an executable file by that name. BBaasshh uses a hash table to - remember the full pathnames of executable files (see hhaasshh under SSHHEELLLL - BBUUIILLTTIINN CCOOMMMMAANNDDSS below). A full search of the directories in PPAATTHH is - performed only if the command is not found in the hash table. If the - search is unsuccessful, the shell prints an error message and returns - an exit status of 127. - - If the search is successful, or if the command name contains one or + If the name is neither a shell function nor a builtin, and contains no + slashes, bbaasshh searches each element of the PPAATTHH for a directory con- + taining an executable file by that name. BBaasshh uses a hash table to + remember the full pathnames of executable files (see hhaasshh under SSHHEELLLL + BBUUIILLTTIINN CCOOMMMMAANNDDSS below). A full search of the directories in PPAATTHH is + performed only if the command is not found in the hash table. If the + search is unsuccessful, the shell searches for a defined shell function + named ccoommmmaanndd__nnoott__ffoouunndd__hhaannddllee. If that function exists, it is invoked + with the original command and the original command's arguments as its + arguments, and the function's exit status becomes the exit status of + the shell. If that function is not defined, the shell prints an error + message and returns an exit status of 127. + + If the search is successful, or if the command name contains one or more slashes, the shell executes the named program in a separate execu- tion environment. Argument 0 is set to the name given, and the remain- ing arguments to the command are set to the arguments given, if any. - If this execution fails because the file is not in executable format, - and the file is not a directory, it is assumed to be a _s_h_e_l_l _s_c_r_i_p_t, a - file containing shell commands. A subshell is spawned to execute it. - This subshell reinitializes itself, so that the effect is as if a new - shell had been invoked to handle the script, with the exception that - the locations of commands remembered by the parent (see hhaasshh below + If this execution fails because the file is not in executable format, + and the file is not a directory, it is assumed to be a _s_h_e_l_l _s_c_r_i_p_t, a + file containing shell commands. A subshell is spawned to execute it. + This subshell reinitializes itself, so that the effect is as if a new + shell had been invoked to handle the script, with the exception that + the locations of commands remembered by the parent (see hhaasshh below under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS) are retained by the child. - If the program is a file beginning with ##!!, the remainder of the first - line specifies an interpreter for the program. The shell executes the + If the program is a file beginning with ##!!, the remainder of the first + line specifies an interpreter for the program. The shell executes the specified interpreter on operating systems that do not handle this exe- cutable format themselves. The arguments to the interpreter consist of - a single optional argument following the interpreter name on the first - line of the program, followed by the name of the program, followed by + a single optional argument following the interpreter name on the first + line of the program, followed by the name of the program, followed by the command arguments, if any. CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENNTT - The shell has an _e_x_e_c_u_t_i_o_n _e_n_v_i_r_o_n_m_e_n_t, which consists of the follow- + The shell has an _e_x_e_c_u_t_i_o_n _e_n_v_i_r_o_n_m_e_n_t, which consists of the follow- ing: - +o open files inherited by the shell at invocation, as modified by + +o open files inherited by the shell at invocation, as modified by redirections supplied to the eexxeecc builtin - +o the current working directory as set by ccdd, ppuusshhdd, or ppooppdd, or + +o the current working directory as set by ccdd, ppuusshhdd, or ppooppdd, or inherited by the shell at invocation - +o the file creation mode mask as set by uummaasskk or inherited from + +o the file creation mode mask as set by uummaasskk or inherited from the shell's parent +o current traps set by ttrraapp @@ -2155,234 +2192,234 @@ CCOOMMMMAANNDD EEXXEECCUUTTIIOONN EENNVVIIRROONNMMEENN +o shell parameters that are set by variable assignment or with sseett or inherited from the shell's parent in the environment - +o shell functions defined during execution or inherited from the + +o shell functions defined during execution or inherited from the shell's parent in the environment - +o options enabled at invocation (either by default or with com- + +o options enabled at invocation (either by default or with com- mand-line arguments) or by sseett +o options enabled by sshhoopptt +o shell aliases defined with aalliiaass - +o various process IDs, including those of background jobs, the + +o various process IDs, including those of background jobs, the value of $$$$, and the value of $$PPPPIIDD - When a simple command other than a builtin or shell function is to be - executed, it is invoked in a separate execution environment that con- - sists of the following. Unless otherwise noted, the values are inher- + When a simple command other than a builtin or shell function is to be + executed, it is invoked in a separate execution environment that con- + sists of the following. Unless otherwise noted, the values are inher- ited from the shell. - +o the shell's open files, plus any modifications and additions + +o the shell's open files, plus any modifications and additions specified by redirections to the command +o the current working directory +o the file creation mode mask - +o shell variables and functions marked for export, along with + +o shell variables and functions marked for export, along with variables exported for the command, passed in the environment +o traps caught by the shell are reset to the values inherited from the shell's parent, and traps ignored by the shell are ignored - A command invoked in this separate environment cannot affect the + A command invoked in this separate environment cannot affect the shell's execution environment. - Command substitution, commands grouped with parentheses, and asynchro- + Command substitution, commands grouped with parentheses, and asynchro- nous commands are invoked in a subshell environment that is a duplicate - of the shell environment, except that traps caught by the shell are + of the shell environment, except that traps caught by the shell are reset to the values that the shell inherited from its parent at invoca- tion. Builtin commands that are invoked as part of a pipeline are also executed in a subshell environment. Changes made to the subshell envi- ronment cannot affect the shell's execution environment. - If a command is followed by a && and job control is not active, the - default standard input for the command is the empty file _/_d_e_v_/_n_u_l_l. - Otherwise, the invoked command inherits the file descriptors of the + If a command is followed by a && and job control is not active, the + default standard input for the command is the empty file _/_d_e_v_/_n_u_l_l. + Otherwise, the invoked command inherits the file descriptors of the calling shell as modified by redirections. EENNVVIIRROONNMMEENNTT - When a program is invoked it is given an array of strings called the + When a program is invoked it is given an array of strings called the _e_n_v_i_r_o_n_m_e_n_t. This is a list of _n_a_m_e-_v_a_l_u_e pairs, of the form _n_a_m_e=_v_a_l_u_e. - The shell provides several ways to manipulate the environment. On + The shell provides several ways to manipulate the environment. On invocation, the shell scans its own environment and creates a parameter - for each name found, automatically marking it for _e_x_p_o_r_t to child pro- - cesses. Executed commands inherit the environment. The eexxppoorrtt and - ddeeccllaarree --xx commands allow parameters and functions to be added to and + for each name found, automatically marking it for _e_x_p_o_r_t to child pro- + cesses. Executed commands inherit the environment. The eexxppoorrtt and + ddeeccllaarree --xx commands allow parameters and functions to be added to and deleted from the environment. If the value of a parameter in the envi- - ronment is modified, the new value becomes part of the environment, - replacing the old. The environment inherited by any executed command - consists of the shell's initial environment, whose values may be modi- - fied in the shell, less any pairs removed by the uunnsseett command, plus + ronment is modified, the new value becomes part of the environment, + replacing the old. The environment inherited by any executed command + consists of the shell's initial environment, whose values may be modi- + fied in the shell, less any pairs removed by the uunnsseett command, plus any additions via the eexxppoorrtt and ddeeccllaarree --xx commands. - The environment for any _s_i_m_p_l_e _c_o_m_m_a_n_d or function may be augmented - temporarily by prefixing it with parameter assignments, as described + The environment for any _s_i_m_p_l_e _c_o_m_m_a_n_d or function may be augmented + temporarily by prefixing it with parameter assignments, as described above in PPAARRAAMMEETTEERRSS. These assignment statements affect only the envi- ronment seen by that command. - If the --kk option is set (see the sseett builtin command below), then _a_l_l - parameter assignments are placed in the environment for a command, not + If the --kk option is set (see the sseett builtin command below), then _a_l_l + parameter assignments are placed in the environment for a command, not just those that precede the command name. - When bbaasshh invokes an external command, the variable __ is set to the - full file name of the command and passed to that command in its envi- + When bbaasshh invokes an external command, the variable __ is set to the + full file name of the command and passed to that command in its envi- ronment. EEXXIITT SSTTAATTUUSS - The exit status of an executed command is the value returned by the + The exit status of an executed command is the value returned by the _w_a_i_t_p_i_d system call or equivalent function. Exit statuses fall between - 0 and 255, though, as explained below, the shell may use values above + 0 and 255, though, as explained below, the shell may use values above 125 specially. Exit statuses from shell builtins and compound commands - are also limited to this range. Under certain circumstances, the shell + are also limited to this range. Under certain circumstances, the shell will use special values to indicate specific failure modes. For the shell's purposes, a command which exits with a zero exit status - has succeeded. An exit status of zero indicates success. A non-zero - exit status indicates failure. When a command terminates on a fatal + has succeeded. An exit status of zero indicates success. A non-zero + exit status indicates failure. When a command terminates on a fatal signal _N, bbaasshh uses the value of 128+_N as the exit status. - If a command is not found, the child process created to execute it - returns a status of 127. If a command is found but is not executable, + If a command is not found, the child process created to execute it + returns a status of 127. If a command is found but is not executable, the return status is 126. If a command fails because of an error during expansion or redirection, the exit status is greater than zero. - Shell builtin commands return a status of 0 (_t_r_u_e) if successful, and - non-zero (_f_a_l_s_e) if an error occurs while they execute. All builtins + Shell builtin commands return a status of 0 (_t_r_u_e) if successful, and + non-zero (_f_a_l_s_e) if an error occurs while they execute. All builtins return an exit status of 2 to indicate incorrect usage. - BBaasshh itself returns the exit status of the last command executed, - unless a syntax error occurs, in which case it exits with a non-zero + BBaasshh itself returns the exit status of the last command executed, + unless a syntax error occurs, in which case it exits with a non-zero value. See also the eexxiitt builtin command below. SSIIGGNNAALLSS - When bbaasshh is interactive, in the absence of any traps, it ignores + When bbaasshh is interactive, in the absence of any traps, it ignores SSIIGGTTEERRMM (so that kkiillll 00 does not kill an interactive shell), and SSIIGGIINNTT - is caught and handled (so that the wwaaiitt builtin is interruptible). In - all cases, bbaasshh ignores SSIIGGQQUUIITT. If job control is in effect, bbaasshh + is caught and handled (so that the wwaaiitt builtin is interruptible). In + all cases, bbaasshh ignores SSIIGGQQUUIITT. If job control is in effect, bbaasshh ignores SSIIGGTTTTIINN, SSIIGGTTTTOOUU, and SSIIGGTTSSTTPP. Non-builtin commands run by bbaasshh have signal handlers set to the values - inherited by the shell from its parent. When job control is not in - effect, asynchronous commands ignore SSIIGGIINNTT and SSIIGGQQUUIITT in addition to - these inherited handlers. Commands run as a result of command substi- + inherited by the shell from its parent. When job control is not in + effect, asynchronous commands ignore SSIIGGIINNTT and SSIIGGQQUUIITT in addition to + these inherited handlers. Commands run as a result of command substi- tution ignore the keyboard-generated job control signals SSIIGGTTTTIINN, SSIIGGTT-- TTOOUU, and SSIIGGTTSSTTPP. - The shell exits by default upon receipt of a SSIIGGHHUUPP. Before exiting, - an interactive shell resends the SSIIGGHHUUPP to all jobs, running or + The shell exits by default upon receipt of a SSIIGGHHUUPP. Before exiting, + an interactive shell resends the SSIIGGHHUUPP to all jobs, running or stopped. Stopped jobs are sent SSIIGGCCOONNTT to ensure that they receive the - SSIIGGHHUUPP. To prevent the shell from sending the signal to a particular - job, it should be removed from the jobs table with the ddiissoowwnn builtin - (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below) or marked to not receive SSIIGGHHUUPP + SSIIGGHHUUPP. To prevent the shell from sending the signal to a particular + job, it should be removed from the jobs table with the ddiissoowwnn builtin + (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below) or marked to not receive SSIIGGHHUUPP using ddiissoowwnn --hh. - If the hhuuppoonneexxiitt shell option has been set with sshhoopptt, bbaasshh sends a + If the hhuuppoonneexxiitt shell option has been set with sshhoopptt, bbaasshh sends a SSIIGGHHUUPP to all jobs when an interactive login shell exits. - If bbaasshh is waiting for a command to complete and receives a signal for + If bbaasshh is waiting for a command to complete and receives a signal for which a trap has been set, the trap will not be executed until the com- - mand completes. When bbaasshh is waiting for an asynchronous command via - the wwaaiitt builtin, the reception of a signal for which a trap has been + mand completes. When bbaasshh is waiting for an asynchronous command via + the wwaaiitt builtin, the reception of a signal for which a trap has been set will cause the wwaaiitt builtin to return immediately with an exit sta- tus greater than 128, immediately after which the trap is executed. JJOOBB CCOONNTTRROOLL - _J_o_b _c_o_n_t_r_o_l refers to the ability to selectively stop (_s_u_s_p_e_n_d) the + _J_o_b _c_o_n_t_r_o_l refers to the ability to selectively stop (_s_u_s_p_e_n_d) the execution of processes and continue (_r_e_s_u_m_e) their execution at a later - point. A user typically employs this facility via an interactive + point. A user typically employs this facility via an interactive interface supplied jointly by the system's terminal driver and bbaasshh. - The shell associates a _j_o_b with each pipeline. It keeps a table of - currently executing jobs, which may be listed with the jjoobbss command. - When bbaasshh starts a job asynchronously (in the _b_a_c_k_g_r_o_u_n_d), it prints a + The shell associates a _j_o_b with each pipeline. It keeps a table of + currently executing jobs, which may be listed with the jjoobbss command. + When bbaasshh starts a job asynchronously (in the _b_a_c_k_g_r_o_u_n_d), it prints a line that looks like: [1] 25647 indicating that this job is job number 1 and that the process ID of the last process in the pipeline associated with this job is 25647. All of - the processes in a single pipeline are members of the same job. BBaasshh + the processes in a single pipeline are members of the same job. BBaasshh uses the _j_o_b abstraction as the basis for job control. - To facilitate the implementation of the user interface to job control, + To facilitate the implementation of the user interface to job control, the operating system maintains the notion of a _c_u_r_r_e_n_t _t_e_r_m_i_n_a_l _p_r_o_c_e_s_s _g_r_o_u_p _I_D. Members of this process group (processes whose process group ID is equal to the current terminal process group ID) receive keyboard- - generated signals such as SSIIGGIINNTT. These processes are said to be in - the _f_o_r_e_g_r_o_u_n_d. _B_a_c_k_g_r_o_u_n_d processes are those whose process group ID + generated signals such as SSIIGGIINNTT. These processes are said to be in + the _f_o_r_e_g_r_o_u_n_d. _B_a_c_k_g_r_o_u_n_d processes are those whose process group ID differs from the terminal's; such processes are immune to keyboard-gen- - erated signals. Only foreground processes are allowed to read from or + erated signals. Only foreground processes are allowed to read from or write to the terminal. Background processes which attempt to read from (write to) the terminal are sent a SSIIGGTTTTIINN ((SSIIGGTTTTOOUU)) signal by the ter- minal driver, which, unless caught, suspends the process. - If the operating system on which bbaasshh is running supports job control, + If the operating system on which bbaasshh is running supports job control, bbaasshh contains facilities to use it. Typing the _s_u_s_p_e_n_d character (typ- ically ^^ZZ, Control-Z) while a process is running causes that process to - be stopped and returns control to bbaasshh. Typing the _d_e_l_a_y_e_d _s_u_s_p_e_n_d - character (typically ^^YY, Control-Y) causes the process to be stopped - when it attempts to read input from the terminal, and control to be - returned to bbaasshh. The user may then manipulate the state of this job, - using the bbgg command to continue it in the background, the ffgg command + be stopped and returns control to bbaasshh. Typing the _d_e_l_a_y_e_d _s_u_s_p_e_n_d + character (typically ^^YY, Control-Y) causes the process to be stopped + when it attempts to read input from the terminal, and control to be + returned to bbaasshh. The user may then manipulate the state of this job, + using the bbgg command to continue it in the background, the ffgg command to continue it in the foreground, or the kkiillll command to kill it. A ^^ZZ takes effect immediately, and has the additional side effect of causing pending output and typeahead to be discarded. There are a number of ways to refer to a job in the shell. The charac- ter %% introduces a job name. Job number _n may be referred to as %%nn. A - job may also be referred to using a prefix of the name used to start - it, or using a substring that appears in its command line. For exam- + job may also be referred to using a prefix of the name used to start + it, or using a substring that appears in its command line. For exam- ple, %%ccee refers to a stopped ccee job. If a prefix matches more than one - job, bbaasshh reports an error. Using %%??ccee, on the other hand, refers to + job, bbaasshh reports an error. Using %%??ccee, on the other hand, refers to any job containing the string ccee in its command line. If the substring - matches more than one job, bbaasshh reports an error. The symbols %%%% and - %%++ refer to the shell's notion of the _c_u_r_r_e_n_t _j_o_b, which is the last - job stopped while it was in the foreground or started in the back- - ground. The _p_r_e_v_i_o_u_s _j_o_b may be referenced using %%--. In output per- + matches more than one job, bbaasshh reports an error. The symbols %%%% and + %%++ refer to the shell's notion of the _c_u_r_r_e_n_t _j_o_b, which is the last + job stopped while it was in the foreground or started in the back- + ground. The _p_r_e_v_i_o_u_s _j_o_b may be referenced using %%--. In output per- taining to jobs (e.g., the output of the jjoobbss command), the current job - is always flagged with a ++, and the previous job with a --. A single % - (with no accompanying job specification) also refers to the current + is always flagged with a ++, and the previous job with a --. A single % + (with no accompanying job specification) also refers to the current job. - Simply naming a job can be used to bring it into the foreground: %%11 is - a synonym for ````ffgg %%11'''', bringing job 1 from the background into the - foreground. Similarly, ````%%11 &&'''' resumes job 1 in the background, + Simply naming a job can be used to bring it into the foreground: %%11 is + a synonym for ````ffgg %%11'''', bringing job 1 from the background into the + foreground. Similarly, ````%%11 &&'''' resumes job 1 in the background, equivalent to ````bbgg %%11''''. - The shell learns immediately whenever a job changes state. Normally, + The shell learns immediately whenever a job changes state. Normally, bbaasshh waits until it is about to print a prompt before reporting changes - in a job's status so as to not interrupt any other output. If the --bb + in a job's status so as to not interrupt any other output. If the --bb option to the sseett builtin command is enabled, bbaasshh reports such changes - immediately. Any trap on SSIIGGCCHHLLDD is executed for each child that + immediately. Any trap on SSIIGGCCHHLLDD is executed for each child that exits. - If an attempt to exit bbaasshh is made while jobs are stopped (or, if the - cchheecckkjjoobbss shell option has been enabled using the sshhoopptt builtin, run- + If an attempt to exit bbaasshh is made while jobs are stopped (or, if the + cchheecckkjjoobbss shell option has been enabled using the sshhoopptt builtin, run- ning), the shell prints a warning message, and, if the cchheecckkjjoobbss option - is enabled, lists the jobs and their statuses. The jjoobbss command may - then be used to inspect their status. If a second attempt to exit is - made without an intervening command, the shell does not print another + is enabled, lists the jobs and their statuses. The jjoobbss command may + then be used to inspect their status. If a second attempt to exit is + made without an intervening command, the shell does not print another warning, and any stopped jobs are terminated. PPRROOMMPPTTIINNGG When executing interactively, bbaasshh displays the primary prompt PPSS11 when - it is ready to read a command, and the secondary prompt PPSS22 when it - needs more input to complete a command. BBaasshh allows these prompt - strings to be customized by inserting a number of backslash-escaped + it is ready to read a command, and the secondary prompt PPSS22 when it + needs more input to complete a command. BBaasshh allows these prompt + strings to be customized by inserting a number of backslash-escaped special characters that are decoded as follows: \\aa an ASCII bell character (07) - \\dd the date in "Weekday Month Date" format (e.g., "Tue May + \\dd the date in "Weekday Month Date" format (e.g., "Tue May 26") \\DD{{_f_o_r_m_a_t}} - the _f_o_r_m_a_t is passed to _s_t_r_f_t_i_m_e(3) and the result is - inserted into the prompt string; an empty _f_o_r_m_a_t results + the _f_o_r_m_a_t is passed to _s_t_r_f_t_i_m_e(3) and the result is + inserted into the prompt string; an empty _f_o_r_m_a_t results in a locale-specific time representation. The braces are required \\ee an ASCII escape character (033) @@ -2392,7 +2429,7 @@ PPRROOMMPPTTIINNGG \\ll the basename of the shell's terminal device name \\nn newline \\rr carriage return - \\ss the name of the shell, the basename of $$00 (the portion + \\ss the name of the shell, the basename of $$00 (the portion following the final slash) \\tt the current time in 24-hour HH:MM:SS format \\TT the current time in 12-hour HH:MM:SS format @@ -2401,7 +2438,7 @@ PPRROOMMPPTTIINNGG \\uu the username of the current user \\vv the version of bbaasshh (e.g., 2.00) \\VV the release of bbaasshh, version + patch level (e.g., 2.00.0) - \\ww the current working directory, with $$HHOOMMEE abbreviated + \\ww the current working directory, with $$HHOOMMEE abbreviated with a tilde \\WW the basename of the current working directory, with $$HHOOMMEE abbreviated with a tilde @@ -2410,63 +2447,63 @@ PPRROOMMPPTTIINNGG \\$$ if the effective UID is 0, a ##, otherwise a $$ \\_n_n_n the character corresponding to the octal number _n_n_n \\\\ a backslash - \\[[ begin a sequence of non-printing characters, which could - be used to embed a terminal control sequence into the + \\[[ begin a sequence of non-printing characters, which could + be used to embed a terminal control sequence into the prompt \\]] end a sequence of non-printing characters - The command number and the history number are usually different: the - history number of a command is its position in the history list, which - may include commands restored from the history file (see HHIISSTTOORRYY - below), while the command number is the position in the sequence of - commands executed during the current shell session. After the string - is decoded, it is expanded via parameter expansion, command substitu- - tion, arithmetic expansion, and quote removal, subject to the value of - the pprroommppttvvaarrss shell option (see the description of the sshhoopptt command + The command number and the history number are usually different: the + history number of a command is its position in the history list, which + may include commands restored from the history file (see HHIISSTTOORRYY + below), while the command number is the position in the sequence of + commands executed during the current shell session. After the string + is decoded, it is expanded via parameter expansion, command substitu- + tion, arithmetic expansion, and quote removal, subject to the value of + the pprroommppttvvaarrss shell option (see the description of the sshhoopptt command under SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). RREEAADDLLIINNEE - This is the library that handles reading input when using an interac- + This is the library that handles reading input when using an interac- tive shell, unless the ----nnooeeddiittiinngg option is given at shell invocation. By default, the line editing commands are similar to those of emacs. A - vi-style line editing interface is also available. To turn off line - editing after the shell is running, use the ++oo eemmaaccss or ++oo vvii options + vi-style line editing interface is also available. To turn off line + editing after the shell is running, use the ++oo eemmaaccss or ++oo vvii options to the sseett builtin (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). RReeaaddlliinnee NNoottaattiioonn In this section, the emacs-style notation is used to denote keystrokes. - Control keys are denoted by C-_k_e_y, e.g., C-n means Control-N. Simi- - larly, _m_e_t_a keys are denoted by M-_k_e_y, so M-x means Meta-X. (On key- - boards without a _m_e_t_a key, M-_x means ESC _x, i.e., press the Escape key + Control keys are denoted by C-_k_e_y, e.g., C-n means Control-N. Simi- + larly, _m_e_t_a keys are denoted by M-_k_e_y, so M-x means Meta-X. (On key- + boards without a _m_e_t_a key, M-_x means ESC _x, i.e., press the Escape key then the _x key. This makes ESC the _m_e_t_a _p_r_e_f_i_x. The combination M-C-_x - means ESC-Control-_x, or press the Escape key then hold the Control key + means ESC-Control-_x, or press the Escape key then hold the Control key while pressing the _x key.) Readline commands may be given numeric _a_r_g_u_m_e_n_t_s, which normally act as - a repeat count. Sometimes, however, it is the sign of the argument - that is significant. Passing a negative argument to a command that - acts in the forward direction (e.g., kkiillll--lliinnee) causes that command to - act in a backward direction. Commands whose behavior with arguments + a repeat count. Sometimes, however, it is the sign of the argument + that is significant. Passing a negative argument to a command that + acts in the forward direction (e.g., kkiillll--lliinnee) causes that command to + act in a backward direction. Commands whose behavior with arguments deviates from this are noted below. - When a command is described as _k_i_l_l_i_n_g text, the text deleted is saved + When a command is described as _k_i_l_l_i_n_g text, the text deleted is saved for possible future retrieval (_y_a_n_k_i_n_g). The killed text is saved in a _k_i_l_l _r_i_n_g. Consecutive kills cause the text to be accumulated into one unit, which can be yanked all at once. Commands which do not kill text separate the chunks of text on the kill ring. RReeaaddlliinnee IInniittiiaalliizzaattiioonn - Readline is customized by putting commands in an initialization file - (the _i_n_p_u_t_r_c file). The name of this file is taken from the value of - the IINNPPUUTTRRCC variable. If that variable is unset, the default is - _~_/_._i_n_p_u_t_r_c. When a program which uses the readline library starts up, + Readline is customized by putting commands in an initialization file + (the _i_n_p_u_t_r_c file). The name of this file is taken from the value of + the IINNPPUUTTRRCC variable. If that variable is unset, the default is + _~_/_._i_n_p_u_t_r_c. When a program which uses the readline library starts up, the initialization file is read, and the key bindings and variables are - set. There are only a few basic constructs allowed in the readline - initialization file. Blank lines are ignored. Lines beginning with a - ## are comments. Lines beginning with a $$ indicate conditional con- + set. There are only a few basic constructs allowed in the readline + initialization file. Blank lines are ignored. Lines beginning with a + ## are comments. Lines beginning with a $$ indicate conditional con- structs. Other lines denote key bindings and variable settings. - The default key-bindings may be changed with an _i_n_p_u_t_r_c file. Other + The default key-bindings may be changed with an _i_n_p_u_t_r_c file. Other programs that use this library may add their own commands and bindings. For example, placing @@ -2474,19 +2511,19 @@ RREEAADDLLIINNEE M-Control-u: universal-argument or C-Meta-u: universal-argument - into the _i_n_p_u_t_r_c would make M-C-u execute the readline command _u_n_i_v_e_r_- + into the _i_n_p_u_t_r_c would make M-C-u execute the readline command _u_n_i_v_e_r_- _s_a_l_-_a_r_g_u_m_e_n_t. - The following symbolic character names are recognized: _R_U_B_O_U_T, _D_E_L, + The following symbolic character names are recognized: _R_U_B_O_U_T, _D_E_L, _E_S_C, _L_F_D, _N_E_W_L_I_N_E, _R_E_T, _R_E_T_U_R_N, _S_P_C, _S_P_A_C_E, and _T_A_B. - In addition to command names, readline allows keys to be bound to a + In addition to command names, readline allows keys to be bound to a string that is inserted when the key is pressed (a _m_a_c_r_o). RReeaaddlliinnee KKeeyy BBiinnddiinnggss - The syntax for controlling key bindings in the _i_n_p_u_t_r_c file is simple. - All that is required is the name of the command or the text of a macro - and a key sequence to which it should be bound. The name may be speci- + The syntax for controlling key bindings in the _i_n_p_u_t_r_c file is simple. + All that is required is the name of the command or the text of a macro + and a key sequence to which it should be bound. The name may be speci- fied in one of two ways: as a symbolic key name, possibly with _M_e_t_a_- or _C_o_n_t_r_o_l_- prefixes, or as a key sequence. @@ -2497,15 +2534,15 @@ RREEAADDLLIINNEE Meta-Rubout: backward-kill-word Control-o: "> output" - In the above example, _C_-_u is bound to the function uunniivveerrssaall--aarrgguummeenntt, - _M_-_D_E_L is bound to the function bbaacckkwwaarrdd--kkiillll--wwoorrdd, and _C_-_o is bound to - run the macro expressed on the right hand side (that is, to insert the + In the above example, _C_-_u is bound to the function uunniivveerrssaall--aarrgguummeenntt, + _M_-_D_E_L is bound to the function bbaacckkwwaarrdd--kkiillll--wwoorrdd, and _C_-_o is bound to + run the macro expressed on the right hand side (that is, to insert the text ``> output'' into the line). - In the second form, ""kkeeyysseeqq"":_f_u_n_c_t_i_o_n_-_n_a_m_e or _m_a_c_r_o, kkeeyysseeqq differs - from kkeeyynnaammee above in that strings denoting an entire key sequence may - be specified by placing the sequence within double quotes. Some GNU - Emacs style key escapes can be used, as in the following example, but + In the second form, ""kkeeyysseeqq"":_f_u_n_c_t_i_o_n_-_n_a_m_e or _m_a_c_r_o, kkeeyysseeqq differs + from kkeeyynnaammee above in that strings denoting an entire key sequence may + be specified by placing the sequence within double quotes. Some GNU + Emacs style key escapes can be used, as in the following example, but the symbolic character names are not recognized. "\C-u": universal-argument @@ -2513,7 +2550,7 @@ RREEAADDLLIINNEE "\e[11~": "Function Key 1" In this example, _C_-_u is again bound to the function uunniivveerrssaall--aarrgguummeenntt. - _C_-_x _C_-_r is bound to the function rree--rreeaadd--iinniitt--ffiillee, and _E_S_C _[ _1 _1 _~ is + _C_-_x _C_-_r is bound to the function rree--rreeaadd--iinniitt--ffiillee, and _E_S_C _[ _1 _1 _~ is bound to insert the text ``Function Key 1''. The full set of GNU Emacs style escape sequences is @@ -2524,7 +2561,7 @@ RREEAADDLLIINNEE \\"" literal " \\'' literal ' - In addition to the GNU Emacs style escape sequences, a second set of + In addition to the GNU Emacs style escape sequences, a second set of backslash escapes is available: \\aa alert (bell) \\bb backspace @@ -2534,20 +2571,20 @@ RREEAADDLLIINNEE \\rr carriage return \\tt horizontal tab \\vv vertical tab - \\_n_n_n the eight-bit character whose value is the octal value + \\_n_n_n the eight-bit character whose value is the octal value _n_n_n (one to three digits) - \\xx_H_H the eight-bit character whose value is the hexadecimal + \\xx_H_H the eight-bit character whose value is the hexadecimal value _H_H (one or two hex digits) When entering the text of a macro, single or double quotes must be used to indicate a macro definition. Unquoted text is assumed to be a func- - tion name. In the macro body, the backslash escapes described above - are expanded. Backslash will quote any other character in the macro + tion name. In the macro body, the backslash escapes described above + are expanded. Backslash will quote any other character in the macro text, including " and '. - BBaasshh allows the current readline key bindings to be displayed or modi- - fied with the bbiinndd builtin command. The editing mode may be switched - during interactive use by using the --oo option to the sseett builtin com- + BBaasshh allows the current readline key bindings to be displayed or modi- + fied with the bbiinndd builtin command. The editing mode may be switched + during interactive use by using the --oo option to the sseett builtin com- mand (see SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS below). RReeaaddlliinnee VVaarriiaabblleess @@ -2557,44 +2594,50 @@ RREEAADDLLIINNEE sseett _v_a_r_i_a_b_l_e_-_n_a_m_e _v_a_l_u_e - Except where noted, readline variables can take the values OOnn or OOffff - (without regard to case). Unrecognized variable names are ignored. - When a variable value is read, empty or null values, "on" (case-insen- + Except where noted, readline variables can take the values OOnn or OOffff + (without regard to case). Unrecognized variable names are ignored. + When a variable value is read, empty or null values, "on" (case-insen- sitive), and "1" are equivalent to OOnn. All other values are equivalent to OOffff. The variables and their default values are: bbeellll--ssttyyllee ((aauuddiibbllee)) - Controls what happens when readline wants to ring the terminal + Controls what happens when readline wants to ring the terminal bell. If set to nnoonnee, readline never rings the bell. If set to - vviissiibbllee, readline uses a visible bell if one is available. If + vviissiibbllee, readline uses a visible bell if one is available. If set to aauuddiibbllee, readline attempts to ring the terminal's bell. bbiinndd--ttttyy--ssppeecciiaall--cchhaarrss ((OOnn)) - If set to OOnn, readline attempts to bind the control characters + If set to OOnn, readline attempts to bind the control characters treated specially by the kernel's terminal driver to their read- line equivalents. ccoommmmeenntt--bbeeggiinn ((````##'''')) - The string that is inserted when the readline iinnsseerrtt--ccoommmmeenntt + The string that is inserted when the readline iinnsseerrtt--ccoommmmeenntt command is executed. This command is bound to MM--## in emacs mode and to ## in vi command mode. ccoommpplleettiioonn--iiggnnoorree--ccaassee ((OOffff)) If set to OOnn, readline performs filename matching and completion in a case-insensitive fashion. + ccoommpplleettiioonn--pprreeffiixx--ddiissppllaayy--lleennggtthh ((00)) + The length in characters of the common prefix of a list of pos- + sible completions that is displayed without modification. When + set to a value greater than zero, common prefixes longer than + this value are replaced with an ellipsis when displaying possi- + ble completions. ccoommpplleettiioonn--qquueerryy--iitteemmss ((110000)) - This determines when the user is queried about viewing the num- - ber of possible completions generated by the ppoossssiibbllee--ccoommppllee-- - ttiioonnss command. It may be set to any integer value greater than - or equal to zero. If the number of possible completions is + This determines when the user is queried about viewing the num- + ber of possible completions generated by the ppoossssiibbllee--ccoommppllee-- + ttiioonnss command. It may be set to any integer value greater than + or equal to zero. If the number of possible completions is greater than or equal to the value of this variable, the user is - asked whether or not he wishes to view them; otherwise they are + asked whether or not he wishes to view them; otherwise they are simply listed on the terminal. ccoonnvveerrtt--mmeettaa ((OOnn)) - If set to OOnn, readline will convert characters with the eighth + If set to OOnn, readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and - prefixing an escape character (in effect, using escape as the + prefixing an escape character (in effect, using escape as the _m_e_t_a _p_r_e_f_i_x). ddiissaabbllee--ccoommpplleettiioonn ((OOffff)) If set to OOnn, readline will inhibit word completion. Completion - characters will be inserted into the line as if they had been + characters will be inserted into the line as if they had been mapped to sseellff--iinnsseerrtt. eeddiittiinngg--mmooddee ((eemmaaccss)) Controls whether readline begins with a set of key bindings sim- @@ -2602,64 +2645,69 @@ RREEAADDLLIINNEE vvii. eennaabbllee--kkeeyyppaadd ((OOffff)) When set to OOnn, readline will try to enable the application key- - pad when it is called. Some systems need this to enable the + pad when it is called. Some systems need this to enable the arrow keys. eexxppaanndd--ttiillddee ((OOffff)) - If set to oonn, tilde expansion is performed when readline + If set to oonn, tilde expansion is performed when readline attempts word completion. hhiissttoorryy--pprreesseerrvvee--ppooiinntt ((OOffff)) - If set to oonn, the history code attempts to place point at the - same location on each history line retrieved with pprreevviioouuss--hhiiss-- + If set to oonn, the history code attempts to place point at the + same location on each history line retrieved with pprreevviioouuss--hhiiss-- ttoorryy or nneexxtt--hhiissttoorryy. hhiissttoorryy--ssiizzee ((00)) - Set the maximum number of history entries saved in the history + Set the maximum number of history entries saved in the history list. If set to zero, the number of entries in the history list is not limited. hhoorriizzoonnttaall--ssccrroollll--mmooddee ((OOffff)) - When set to OOnn, makes readline use a single line for display, + When set to OOnn, makes readline use a single line for display, scrolling the input horizontally on a single screen line when it - becomes longer than the screen width rather than wrapping to a + becomes longer than the screen width rather than wrapping to a new line. iinnppuutt--mmeettaa ((OOffff)) - If set to OOnn, readline will enable eight-bit input (that is, it - will not strip the high bit from the characters it reads), + If set to OOnn, readline will enable eight-bit input (that is, it + will not strip the high bit from the characters it reads), regardless of what the terminal claims it can support. The name mmeettaa--ffllaagg is a synonym for this variable. iisseeaarrcchh--tteerrmmiinnaattoorrss ((````CC--[[CC--JJ'''')) - The string of characters that should terminate an incremental - search without subsequently executing the character as a com- - mand. If this variable has not been given a value, the charac- + The string of characters that should terminate an incremental + search without subsequently executing the character as a com- + mand. If this variable has not been given a value, the charac- ters _E_S_C and _C_-_J will terminate an incremental search. kkeeyymmaapp ((eemmaaccss)) - Set the current readline keymap. The set of valid keymap names - is _e_m_a_c_s_, _e_m_a_c_s_-_s_t_a_n_d_a_r_d_, _e_m_a_c_s_-_m_e_t_a_, _e_m_a_c_s_-_c_t_l_x_, _v_i_, _v_i_-_c_o_m_- - _m_a_n_d, and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d; _e_m_a_c_s is - equivalent to _e_m_a_c_s_-_s_t_a_n_d_a_r_d. The default value is _e_m_a_c_s; the + Set the current readline keymap. The set of valid keymap names + is _e_m_a_c_s_, _e_m_a_c_s_-_s_t_a_n_d_a_r_d_, _e_m_a_c_s_-_m_e_t_a_, _e_m_a_c_s_-_c_t_l_x_, _v_i_, _v_i_-_c_o_m_- + _m_a_n_d, and _v_i_-_i_n_s_e_r_t. _v_i is equivalent to _v_i_-_c_o_m_m_a_n_d; _e_m_a_c_s is + equivalent to _e_m_a_c_s_-_s_t_a_n_d_a_r_d. The default value is _e_m_a_c_s; the value of eeddiittiinngg--mmooddee also affects the default keymap. mmaarrkk--ddiirreeccttoorriieess ((OOnn)) If set to OOnn, completed directory names have a slash appended. mmaarrkk--mmooddiiffiieedd--lliinneess ((OOffff)) - If set to OOnn, history lines that have been modified are dis- + If set to OOnn, history lines that have been modified are dis- played with a preceding asterisk (**). mmaarrkk--ssyymmlliinnkkeedd--ddiirreeccttoorriieess ((OOffff)) If set to OOnn, completed names which are symbolic links to direc- - tories have a slash appended (subject to the value of + tories have a slash appended (subject to the value of mmaarrkk--ddiirreeccttoorriieess). mmaattcchh--hhiiddddeenn--ffiilleess ((OOnn)) - This variable, when set to OOnn, causes readline to match files - whose names begin with a `.' (hidden files) when performing - filename completion, unless the leading `.' is supplied by the + This variable, when set to OOnn, causes readline to match files + whose names begin with a `.' (hidden files) when performing + filename completion, unless the leading `.' is supplied by the user in the filename to be completed. oouuttppuutt--mmeettaa ((OOffff)) - If set to OOnn, readline will display characters with the eighth + If set to OOnn, readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. ppaaggee--ccoommpplleettiioonnss ((OOnn)) - If set to OOnn, readline uses an internal _m_o_r_e-like pager to dis- + If set to OOnn, readline uses an internal _m_o_r_e-like pager to dis- play a screenful of possible completions at a time. pprriinntt--ccoommpplleettiioonnss--hhoorriizzoonnttaallllyy ((OOffff)) - If set to OOnn, readline will display completions with matches - sorted horizontally in alphabetical order, rather than down the + If set to OOnn, readline will display completions with matches + sorted horizontally in alphabetical order, rather than down the screen. + rreevveerrtt--aallll--aatt--nneewwlliinnee ((OOffff)) + If set to oonn, readline will undo all changes to history lines + before returning when aacccceepptt--lliinnee is executed. By default, his- + tory lines may be modified and retain individual undo lists + across calls to rreeaaddlliinnee. sshhooww--aallll--iiff--aammbbiigguuoouuss ((OOffff)) This alters the default behavior of the completion functions. If set to oonn, words which have more than one possible completion @@ -3049,6 +3097,10 @@ RREEAADDLLIINNEE Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. + ddaabbbbrreevv--eexxppaanndd + Attempt menu completion on the text before point, comparing the + text against lines from the history list for possible completion + matches. ccoommpplleettee--iinnttoo--bbrraacceess ((MM--{{)) Perform filename completion and insert the list of possible com- pletions enclosed within braces so the list is available to the @@ -3504,7 +3556,13 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Remove any current binding for _k_e_y_s_e_q. --xx _k_e_y_s_e_q::_s_h_e_l_l_-_c_o_m_m_a_n_d Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is - entered. + entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets + the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- + lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the + current location of the insertion point. If the executed + command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- + LLIINNEE__PPOOIINNTT, those new values will be reflected in the + editing state. The return value is 0 unless an unrecognized option is given or an error occurred. @@ -3513,8 +3571,8 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is specified, break _n levels. _n must be >= 1. If _n is greater than the number of enclosing loops, all enclosing loops are - exited. The return value is 0 unless the shell is not executing - a loop when bbrreeaakk is executed. + exited. The return value is 0 unless _n is not greater than or + equal to 1. bbuuiillttiinn _s_h_e_l_l_-_b_u_i_l_t_i_n [_a_r_g_u_m_e_n_t_s] Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and @@ -3524,6 +3582,19 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS commonly redefined this way. The return status is false if _s_h_e_l_l_-_b_u_i_l_t_i_n is not a shell builtin command. + ccaalllleerr [_e_x_p_r] + Returns the context of any active subroutine call (a shell func- + tion or a script executed with the .. or ssoouurrccee builtins. With- + out _e_x_p_r, ccaalllleerr displays the line number and source filename of + the current subroutine call. If a non-negative integer is sup- + plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, + and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. + The return value is 0 unless the shell is not executing a sub- + routine call or _e_x_p_r does not correspond to a valid position in + the call stack. + ccdd [--LL||--PP] [_d_i_r] Change the current directory to _d_i_r. The variable HHOOMMEE is the default _d_i_r. The variable CCDDPPAATTHH defines the search path for @@ -3541,19 +3612,6 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS output. The return value is true if the directory was success- fully changed; false otherwise. - ccaalllleerr [_e_x_p_r] - Returns the context of any active subroutine call (a shell func- - tion or a script executed with the .. or ssoouurrccee builtins. With- - out _e_x_p_r, ccaalllleerr displays the line number and source filename of - the current subroutine call. If a non-negative integer is sup- - plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, - and source file corresponding to that position in the current - execution call stack. This extra information may be used, for - example, to print a stack trace. The current frame is frame 0. - The return value is 0 unless the shell is not executing a sub- - routine call or _e_x_p_r does not correspond to a valid position in - the call stack. - ccoommmmaanndd [--ppVVvv] _c_o_m_m_a_n_d [_a_r_g ...] Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function lookup. Only builtin commands or commands found in the PPAATTHH are @@ -3585,16 +3643,18 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS The return value is true unless an invalid option is supplied, or no matches were generated. - ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_p_a_t] [--WW - _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] + ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--EE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_p_a_t] + [--WW _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] [--XX _f_i_l_t_e_r_p_a_t] [--PP _p_r_e_f_i_x] [--SS _s_u_f_f_i_x] _n_a_m_e [_n_a_m_e _._._.] - ccoommpplleettee --pprr [_n_a_m_e ...] + ccoommpplleettee --pprr [--EE] [_n_a_m_e ...] Specify how arguments to each _n_a_m_e should be completed. If the --pp option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. The --rr option removes a completion spec- ification for each _n_a_m_e, or, if no _n_a_m_es are supplied, all com- - pletion specifications. + pletion specifications. The --EE option indicates that the + remaining options and actions should apply to ``empty'' command + completion; that is, completion attempted on a blank line. The process of applying these completion specifications when word completion is attempted is described above under PPrroo-- @@ -3726,8 +3786,8 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS sseelleecctt loop. If _n is specified, resume at the _nth enclosing loop. _n must be >= 1. If _n is greater than the number of enclosing loops, the last enclosing loop (the ``top-level'' - loop) is resumed. The return value is 0 unless the shell is not - executing a loop when ccoonnttiinnuuee is executed. + loop) is resumed. The return value is 0 unless _n is not greater + than or equal to 1. ddeeccllaarree [--aaffFFiirrttxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] ttyyppeesseett [--aaffFFiirrttxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] @@ -4008,13 +4068,16 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS printed. The return status is true unless a _n_a_m_e is not found or an invalid option is supplied. - hheellpp [--ss] [_p_a_t_t_e_r_n] + 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 - structures is printed. The --ss option restricts the information - displayed to a short usage synopsis. The return status is 0 - unless no command matches _p_a_t_t_e_r_n. + 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 + format + --ss Display only a short usage synopsis for each _p_a_t_t_e_r_n + The return status is 0 unless no command matches _p_a_t_t_e_r_n. hhiissttoorryy [[_n]] hhiissttoorryy --cc @@ -4024,44 +4087,44 @@ 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. - --aa Append the ``new'' history lines (history lines entered - since the beginning of the current bbaasshh session) to the + --aa Append the ``new'' history lines (history lines entered + since the beginning of the current bbaasshh session) to the history file. - --nn Read the history lines not already read from the history - file into the current history list. These are lines - appended to the history file since the beginning of the + --nn Read the history lines not already read from the history + file into the current history list. These are lines + appended to the history file since the beginning of the current bbaasshh session. --rr Read the contents of the history file and use them as the current history. - --ww Write the current history to the history file, overwrit- + --ww Write the current history to the history file, overwrit- ing 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 is set, the time stamp information associ- - ated with each history entry is written to the history file, - marked with the history comment character. When the history + ated with each history entry is written to the history file, + marked with the history comment character. When the history file is read, lines beginning with the history comment character - followed immediately by a digit are interpreted as timestamps - for the previous history line. The return value is 0 unless an - invalid option is encountered, an error occurs while reading or - writing the history file, an invalid _o_f_f_s_e_t is supplied as an + followed immediately by a digit are interpreted as timestamps + for the previous history line. The return value is 0 unless an + invalid option is encountered, an error occurs while reading or + writing the history file, an invalid _o_f_f_s_e_t is supplied as an argument to --dd, or the history expansion supplied as an argument to --pp fails. @@ -4070,54 +4133,81 @@ 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. - --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. - --nn Display information only about jobs that have changed - status since the user was last notified of their status. + --nn Display information only about jobs that have changed + status since the user was last notified of their status. --rr Restrict output to running jobs. --ss Restrict output to 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 - _c_o_m_m_a_n_d or _a_r_g_s with the corresponding process group ID, and + _c_o_m_m_a_n_d or _a_r_g_s with the corresponding process group ID, and executes _c_o_m_m_a_n_d passing it _a_r_g_s, returning its exit status. kkiillll [--ss _s_i_g_s_p_e_c | --nn _s_i_g_n_u_m | --_s_i_g_s_p_e_c] [_p_i_d | _j_o_b_s_p_e_c] ... kkiillll --ll [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] - 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. kkiillll returns true - if at least one signal was successfully sent, or false if an + --ll is a number specifying either a signal number or the exit + status of a process terminated by a signal. kkiillll returns true + if at least one signal was successfully sent, or false if an error occurs or an invalid option is encountered. lleett _a_r_g [_a_r_g ...] Each _a_r_g is an arithmetic expression to be evaluated (see AARRIITTHH-- - MMEETTIICC EEVVAALLUUAATTIIOONN). If the last _a_r_g evaluates to 0, lleett returns + MMEETTIICC EEVVAALLUUAATTIIOONN). 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- + variable _n_a_m_e to have a visible scope restricted to that func- tion and its children. With no operands, llooccaall writes a list of - local variables to the standard output. It is an error to use + 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, + llooccaall is used outside a function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly variable. llooggoouutt Exit a login shell. + mmaappffiillee [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u + nt_] _[--tt_] _[--uu _f_d_] _[--CC _c_a_l_l_b_a_c_k_] _[--cc _I_q_u_a_n_t_u_m]] [[_a_r_r_a_y]] RReeaadd lliinneess + ffrroomm tthhee ssttaannddaarrdd iinnppuutt iinnttoo aarrrraayy vvaarriiaabbllee _a_r_r_a_y, or from file + descriptor _f_d if the --uu option is supplied. The variable MMAAPP-- + FFIILLEE is the default _a_r_r_a_y. Options, if supplied, have the fol- + lowing meanings: + --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are + copied. + --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default + index is 0. + --ss Discard the first _c_o_u_n_t lines read. + --tt Remove a trailing line from each line read. + --uu Read lines from file descriptor _f_d instead of the stan- + dard input. + --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The + --cc option specifies _q_u_a_n_t_u_m. + --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 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, or _a_r_r_a_y is invalid or unassignable. + ppooppdd [-nn] [+_n] [-_n] Removes entries from the directory stack. With no arguments, removes the top directory from the stack, and performs a ccdd to @@ -4240,9 +4330,10 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS 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 is not read within _t_i_m_e_o_u_t seconds. This - option has no effect if rreeaadd is not reading input from - the terminal or a pipe. + line of input is not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_- + _o_u_t may be a decimal number with a fractional portion + following the decimal point. This option has no effect + if rreeaadd is not reading input from the terminal or a pipe. --uu _f_d Read input from file descriptor _f_d. If no _n_a_m_e_s are supplied, the line read is assigned to the vari- @@ -4511,6 +4602,10 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS If set, bbaasshh changes its behavior to that of version 3.1 with respect to quoted arguments to the conditional com- mand's =~ operator. + ddiirrssppeellll + 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. eexxeeccffaaiill @@ -4560,62 +4655,67 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a description of FFIIGGNNOORREE. This option is enabled by default. + gglloobbssttaarr + If set, the pattern **** used in a filename expansion con- + text will match a files and zero or more directories and + subdirectories. If the pattern is followed by a //, only + directories and subdirectories match. ggnnuu__eerrrrffmmtt If set, shell error messages are written in the standard GNU error message format. hhiissttaappppeenndd - If set, the history list is appended to the file named - by the value of the HHIISSTTFFIILLEE variable when the shell + If set, the history list is appended to the file named + by the value of the HHIISSTTFFIILLEE variable when the shell exits, rather than overwriting the file. hhiissttrreeeeddiitt - If set, and rreeaaddlliinnee is being used, a user is given the + If set, and rreeaaddlliinnee is being used, a user is given the opportunity to re-edit a failed history substitution. hhiissttvveerriiffyy - If set, and rreeaaddlliinnee is being used, the results of his- - tory substitution are not immediately passed to the - shell parser. Instead, the resulting line is loaded + If set, and rreeaaddlliinnee is being used, the results of his- + tory substitution are not immediately passed to the + shell parser. Instead, the resulting line is loaded into the rreeaaddlliinnee editing buffer, allowing further modi- fication. hhoossttccoommpplleettee If set, and rreeaaddlliinnee is being used, bbaasshh will attempt to - perform hostname completion when a word containing a @@ - is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE + perform hostname completion when a word containing a @@ + is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE above). This is enabled by default. hhuuppoonneexxiitt If set, bbaasshh will send SSIIGGHHUUPP to all jobs when an inter- active login shell exits. 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 + and all remaining characters on that line to be ignored + in an interactive shell (see CCOOMMMMEENNTTSS above). This option is enabled by default. - 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. 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 + If set, and rreeaaddlliinnee is being used, bbaasshh will not attempt 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. 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. pprrooggccoommpp If set, the programmable completion facilities (see PPrroo-- @@ -4623,47 +4723,47 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS enabled by default. pprroommppttvvaarrss If set, prompt strings undergo parameter expansion, com- - mand substitution, arithmetic expansion, and quote - removal after being expanded as described in PPRROOMMPPTTIINNGG + mand substitution, arithmetic expansion, and quote + removal 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 + The shell sets this option if it is started in restricted 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- + 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. xxppgg__eecchhoo - If set, the eecchhoo builtin expands backslash-escape + If set, the eecchhoo builtin expands backslash-escape sequences by default. ssuussppeenndd [--ff] - Suspend the execution of this shell until it receives a SSIIGGCCOONNTT - signal. The --ff option says not to complain if this is a login - shell; just suspend anyway. The return status is 0 unless the + Suspend the execution of this shell until it receives a SSIIGGCCOONNTT + signal. The --ff option says not to complain if this is a login + shell; just suspend anyway. The return status is 0 unless the shell is a login shell and --ff is not supplied, or if job control is not enabled. tteesstt _e_x_p_r [[ _e_x_p_r ]] - Return a status of 0 or 1 depending on the evaluation of the - conditional expression _e_x_p_r. Each operator and operand must be - a separate argument. Expressions are composed of the primaries - described above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS. tteesstt does not + Return a status of 0 or 1 depending on the evaluation of the + conditional expression _e_x_p_r. Each operator and operand 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, + Expressions may be combined using the following operators, listed in decreasing order of precedence. The evaluation depends on the number of arguments; see below. !! _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. @@ -4680,108 +4780,108 @@ 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 - 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 If the first argument is !!, the result is the negation of - the three-argument expression composed of the remaining + the three-argument expression composed of the remaining arguments. Otherwise, the expression is parsed and eval- - uated according to precedence using the rules listed + uated 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. - 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 - receives signal(s) _s_i_g_s_p_e_c. If _a_r_g is absent (and there is a - single _s_i_g_s_p_e_c) or --, each specified signal is reset to its - original 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 commands associated with each signal. The --ll option - causes the shell to print a list of signal names and their cor- - responding 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 SIG 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 executed before every + The command _a_r_g is to be read and executed when the shell + receives signal(s) _s_i_g_s_p_e_c. If _a_r_g is absent (and there is a + single _s_i_g_s_p_e_c) or --, each specified signal is reset to its + original 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 commands associated with each signal. The --ll option + causes the shell to print a list of signal names and their cor- + responding 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 SIG 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 executed 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 EERRRR, - the command _a_r_g is executed whenever a simple command has a - non-zero exit status, subject to 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, part of a command executed - in a &&&& or |||| list, or if the command's return value is being - inverted via !!. These are the same conditions obeyed by the + 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 EERRRR, + the command _a_r_g is executed whenever a simple command has a + non-zero exit status, subject to 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, part of a command executed + in a &&&& or |||| list, or if the command's return value is being + inverted via !!. These are the same conditions obeyed by the eerrrreexxiitt option. If a _s_i_g_s_p_e_c is RREETTUURRNN, the command _a_r_g is exe- cuted each time a shell function or a script executed with the .. - or ssoouurrccee builtins finishes executing. Signals ignored upon - entry to the shell cannot be trapped or reset. Trapped signals + or ssoouurrccee builtins finishes executing. Signals ignored upon + entry to the shell cannot be trapped or reset. Trapped signals that are not being ignored are reset to their original values in - a child process when it is created. The return status is false + a child process when it 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 - returned. If the --pp option is used, ttyyppee either returns the + 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 + returned. 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 speci- fied as a command name, or nothing if ``type -t name'' would not - return _f_i_l_e. The --PP option forces a PPAATTHH search for each _n_a_m_e, + return _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, not necessarily the + hashed, --pp and --PP print the hashed value, not necessarily 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 func- - tion lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if - any of the arguments are found, false if none are found. + 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 func- + tion lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if + all of the arguments are found, false if any are not found. uulliimmiitt [--HHSSTTaabbccddeeffiillmmnnppqqrrssttuuvvxx [_l_i_m_i_t]] - 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, - respectively. 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 + current hard limit, the current soft limit, and no limit, + respectively. 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 are printed before the value. Other options are inter- preted as follows: @@ -4790,7 +4890,7 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS --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 --ll The maximum size that may be locked into memory @@ -4802,65 +4902,65 @@ 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 --xx The maximum number of file locks --TT The maximum number of threads If _l_i_m_i_t is given, it is the new value of the specified resource (the --aa option is display only). If no option is given, then --ff - is assumed. Values are in 1024-byte increments, except for --tt, - which is in seconds, --pp, which is in units of 512-byte blocks, - and --TT, --bb, --nn, and --uu, which are unscaled values. The return + is assumed. Values are in 1024-byte increments, except for --tt, + which is in seconds, --pp, which is in units of 512-byte blocks, + and --TT, --bb, --nn, and --uu, which are unscaled values. The return status is 0 unless an invalid option or argument is 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] [_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 no options are supplied, or the --vv option is given, each _n_a_m_e - refers to a shell variable. 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. Each unset vari- - able or function is removed from the environment passed to sub- - sequent commands. If any of RRAANNDDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, + refers to a shell variable. 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. Each unset vari- + able or function is removed from the environment passed to sub- + sequent commands. If any of RRAANNDDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, FFUUNNCCNNAAMMEE, GGRROOUUPPSS, or DDIIRRSSTTAACCKK are unset, they lose their special - properties, even if they are subsequently reset. The exit sta- + properties, even if they are subsequently reset. The exit sta- tus is true unless a _n_a_m_e is readonly. wwaaiitt [_n _._._.] - Wait for each specified process and return its termination sta- - tus. Each _n may be a process ID or a job specification; if a - job spec is given, all processes in that job's pipeline are - waited for. If _n is not given, all currently active child pro- - cesses are waited for, and the return status is zero. If _n - specifies a non-existent process or job, the return status is - 127. Otherwise, the return status is the exit status of the + Wait for each specified process and return its termination sta- + tus. Each _n may be a process ID or a job specification; if a + job spec is given, all processes in that job's pipeline are + waited for. If _n is not given, all currently active child pro- + cesses are waited for, and the return status is zero. If _n + specifies a non-existent process or job, the return status is + 127. Otherwise, the return status is the exit status of the last process or job waited for. RREESSTTRRIICCTTEEDD SSHHEELLLL If bbaasshh is started with the name rrbbaasshh, or the --rr option is supplied at - invocation, the shell becomes restricted. A restricted shell is used - to set up an environment more controlled than the standard shell. It - behaves identically to bbaasshh with the exception that the following are + invocation, the shell becomes restricted. A restricted shell is used + to set up an environment more controlled than the standard shell. It + behaves identically to bbaasshh with the exception that the following are disallowed or not performed: +o changing directories with ccdd @@ -4869,16 +4969,16 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL +o specifying command names containing // - +o specifying a file name containing a // as an argument to the .. + +o specifying a file name containing a // as an argument to the .. builtin command - +o Specifying a filename containing a slash as an argument to the + +o Specifying a filename containing a slash as an argument to the --pp option to the hhaasshh builtin command - +o importing function definitions from the shell environment at + +o importing function definitions from the shell environment at startup - +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at + +o parsing the value of SSHHEELLLLOOPPTTSS from the shell environment at startup +o redirecting output using the >, >|, <>, >&, &>, and >> redirect- @@ -4887,10 +4987,10 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL +o using the eexxeecc builtin command to replace the shell with another command - +o adding or deleting builtin commands with the --ff and --dd options + +o adding or deleting builtin commands with the --ff and --dd options to the eennaabbllee builtin command - +o Using the eennaabbllee builtin command to enable disabled shell + +o Using the eennaabbllee builtin command to enable disabled shell builtins +o specifying the --pp option to the ccoommmmaanndd builtin command @@ -4900,14 +5000,14 @@ RREESSTTRRIICCTTEEDD SSHHEELLLL These restrictions are enforced after any startup files are read. When a command that is found to be a shell script is executed (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 _s_h(1), _k_s_h(1), _c_s_h(1) _e_m_a_c_s(1), _v_i(1) @@ -4923,7 +5023,7 @@ FFIILLEESS _~_/_._b_a_s_h_r_c The individual per-interactive-shell startup file _~_/_._b_a_s_h___l_o_g_o_u_t - The individual login shell cleanup file, executed when a login + The individual login shell cleanup file, executed when a login shell exits _~_/_._i_n_p_u_t_r_c Individual _r_e_a_d_l_i_n_e initialization file @@ -4937,14 +5037,14 @@ AAUUTTHHOORRSS BBUUGG RREEPPOORRTTSS If you find a bug in bbaasshh,, you should report it. But first, you should - make sure that it really is a bug, and that it appears in the latest - version of bbaasshh. The latest version is always available from + make sure that it really is a bug, and that it appears in the latest + version of bbaasshh. The latest version is always available from _f_t_p_:_/_/_f_t_p_._g_n_u_._o_r_g_/_p_u_b_/_b_a_s_h_/. - Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g - command to submit a bug report. If you have a fix, you are encouraged - to mail that as well! Suggestions and `philosophical' bug reports may - be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup + Once you have determined that a bug actually exists, use the _b_a_s_h_b_u_g + command to submit a bug report. If you have a fix, you are encouraged + to mail that as well! Suggestions and `philosophical' bug reports may + be mailed to _b_u_g_-_b_a_s_h_@_g_n_u_._o_r_g or posted to the Usenet newsgroup ggnnuu..bbaasshh..bbuugg. ALL bug reports should include: @@ -4955,7 +5055,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 @@ -4972,20 +5072,20 @@ 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. - Commands inside of $$((...)) command substitution are not parsed until - substitution is attempted. This will delay error reporting until some + Commands inside of $$((...)) command substitution are not parsed until + substitution is attempted. This will delay error reporting until some time after the command is entered. For example, unmatched parentheses, - even inside shell comments, will result in error messages while the + even inside shell comments, will result in error messages while the construct is being read. Array variables may not (yet) be exported. -GNU Bash-3.2 2008 April 5 BASH(1) +GNU Bash-4.0 2008 May 25 BASH(1) @@ -5,12 +5,12 @@ .\" Case Western Reserve University .\" chet@po.cwru.edu .\" -.\" Last Change: Sun May 25 10:41:29 EDT 2008 +.\" Last Change: Mon Jun 2 20:32:53 EDT 2008 .\" .\" bash_builtins, strip all but Built-Ins section .if \n(zZ=1 .ig zZ .if \n(zY=1 .ig zY -.TH BASH 1 "2008 May 25" "GNU Bash-4.0" +.TH BASH 1 "2008 June 2" "GNU Bash-4.0" .\" .\" There's some problem with having a `@' .\" in a tagged paragraph with the BSD man macros. @@ -1945,6 +1945,14 @@ had been executed. If set, the value is executed as a command prior to issuing each primary prompt. .TP +.B PROMPT_DIRTRIM +If set to a number greater than zero, the value is used as the number of +trailing directory components to retain when expanding the \fB\ew\fB and +\fB\eW\fP prompt string escapes (see +.SM +.B PROMPTING +below). Characters removed are replaced with an ellipsis. +.TP .B PS1 The value of this parameter is expanded (see .SM @@ -4360,6 +4368,7 @@ the release of \fBbash\fP, version + patch level (e.g., 2.00.0) .TP .B \ew the current working directory, with \fB$HOME\fP abbreviated with a tilde +(uses the \fB$PROMPT_DIRTRIM\fP variable) .TP .B \eW the basename of the current working directory, with \fB$HOME\fP diff --git a/doc/bash.1~ b/doc/bash.1~ index d0e0bed6..30d90470 100644 --- a/doc/bash.1~ +++ b/doc/bash.1~ @@ -831,7 +831,7 @@ If the \fB;;\fP operator is used, no subsequent matches are attempted after the first pattern match. Using \fB;&\fP in place of \fB;;\fP causes execution to continue with the \fIlist\fP associated with the next set of patterns. -Using \fB;;\fP in place of \fB;;\fP causes the shell to test the next +Using \fB;;&\fP in place of \fB;;\fP causes the shell to test the next pattern list in the statement, if any, and execute any associated \fIlist\fP on a successful match. The exit status is zero if no @@ -1945,6 +1945,14 @@ had been executed. If set, the value is executed as a command prior to issuing each primary prompt. .TP +.B PROMPT_DIRTRIM +If set to a number greater than zero, the value is used as the number of +trailing directory components to retain when expanding the \fB\ew\fB and +\fB\eW\fP prompt string escapes (see +.SM +.B PROMPTING +below). Characters removed are replaced with an ellipsis. +.TP .B PS1 The value of this parameter is expanded (see .SM @@ -4360,6 +4368,7 @@ the release of \fBbash\fP, version + patch level (e.g., 2.00.0) .TP .B \ew the current working directory, with \fB$HOME\fP abbreviated with a tilde +(uses the \fB$PROMPT_DIRTRIM\fP variable) .TP .B \eW the basename of the current working directory, with \fB$HOME\fP diff --git a/doc/bash.html b/doc/bash.html index 963448ee..dfa3d651 100644 --- a/doc/bash.html +++ b/doc/bash.html @@ -3,7 +3,7 @@ </HEAD> <BODY><TABLE WIDTH=100%> <TR> -<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2008 April 5<TH ALIGN=RIGHT width=33%>BASH(1) +<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2008 May 25<TH ALIGN=RIGHT width=33%>BASH(1) </TR> </TABLE> <BR><A HREF="#index">Index</A> @@ -618,7 +618,7 @@ symbols: <DL COMPACT><DT><DD> <P> -<B>|| & && ; ;; ( ) | <newline></B> +<B>|| & && ; ;; ( ) | |& <newline></B> </DL> @@ -676,14 +676,15 @@ The return value of a <I>simple command</I> is its exit status, or <P> A <I>pipeline</I> is a sequence of one or more commands separated by -the character -<B>|</B>. +one of the control operators +<B>|</B> +or <B>|&</B>. The format for a pipeline is: <DL COMPACT><DT><DD> <P> -[<B>time</B> [<B>-p</B>]] [ ! ] <I>command</I> [ <B>|</B> <I>command2</I> ... ] +[<B>time</B> [<B>-p</B>]] [ ! ] <I>command</I> [ [<B>|</B>|<B>|&</B>] <I>command2</I> ... ] </DL> <P> @@ -700,6 +701,11 @@ command (see </FONT> below). +If <B>|&</B> is used, the standard error of <I>command</I> is connected to +<I>command2</I>'s standard input through the pipe; it is shorthand for +<B>2>&1 |</B>. +This implicit redirection of the standard error is performed after any +redirections specified by the command. <P> The return status of a pipeline is the exit status of the last @@ -1062,9 +1068,15 @@ If the shell option is enabled, the match is performed without regard to the case of alphabetic characters. -When a match is found, the -corresponding <I>list</I> is executed. After the first match, no -subsequent matches are attempted. The exit status is zero if no +When a match is found, the corresponding <I>list</I> is executed. +If the <B>;;</B> operator is used, no subsequent matches are attempted after +the first pattern match. +Using <B>;&</B> in place of <B>;;</B> causes execution to continue with +the <I>list</I> associated with the next set of patterns. +Using <B>;;&</B> in place of <B>;;</B> causes the shell to test the next +pattern list in the statement, if any, and execute any associated <I>list</I> +on a successful match. +The exit status is zero if no pattern matches. Otherwise, it is the exit status of the last command executed in <I>list</I>. <DT><B>if</B> <I>list</I>; <B>then</B> <I>list;</I> [ <B>elif</B> <I>list</I>; <B>then</B> <I>list</I>; ] ... [ <B>else</B> <I>list</I>; ] <B>fi</B><DD> @@ -2864,13 +2876,21 @@ string are not sorted; left to right order is preserved. For example, a<B>{</B>d,c,b<B>}</B>e expands into `ade ace abe'. <P> -A sequence expression takes the form <B>{</B><I>x</I><B>..</B><I>y</I><B>}</B>, -where <I>x</I> and <I>y</I> are either integers or single characters. +A sequence expression takes the form +<B>{</B><I>x</I><B>..</B><I>y</I><B>[..</B><I>incr</I>]}, +where <I>x</I> and <I>y</I> are either integers or single characters, +and <I>incr</I>, an optional increment, is an integer. When integers are supplied, the expression expands to each number between <I>x</I> and <I>y</I>, inclusive. +Supplied integers may be prefixed with <I>0</I> to force each term to have the +same width. When either <I>x</I> or y begins with a zero, the shell +attempts to force all generated terms to contain the same number of digits, +zero-padding where necessary. When characters are supplied, the expression expands to each character lexicographically between <I>x</I> and <I>y</I>, inclusive. Note that both <I>x</I> and <I>y</I> must be of the same type. +When the increment is supplied, it is used as the difference between +each term. The default increment is 1 or -1 as appropriate. <P> Brace expansion is performed before any other expansions, @@ -3684,6 +3704,12 @@ The special pattern characters have the following meanings: <DD> Matches any string, including the null string. +When the <B>globstar</B> shell option is enabled, and <B>*</B> is used in +a filename expansion context, two adjacent <B>*</B>s used as a single +pattern will match all files and zero or more directories and +subdirectories. +If followed by a <B>/</B>, two adjacent <B>*</B>s will match only directories +and subdirectories. <DT><B>?</B> <DD> @@ -4045,16 +4071,13 @@ The general format for appending output is: <P> -<B>Bash</B> - -allows both the +This construct allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be redirected to the file whose name is the expansion of -<I>word</I> +<I>word</I>. -with this construct. <P> There are two formats for redirecting standard output and @@ -4080,7 +4103,39 @@ This is semantically equivalent to <B>></B><I>word</I> 2<B>>&</B>1 </DL> +<P> + <A NAME="lbBM"> </A> +<H4>Appending Standard Output and Standard Error</H4> + +<P> + +This construct allows both the +standard output (file descriptor 1) and +the standard error output (file descriptor 2) +to be appended to the file whose name is the +expansion of +<I>word</I>. + +<P> + +The format for appending standard output and standard error is: +<DL COMPACT><DT><DD> +<P> + +<B>&>></B><I>word</I> +</DL> + +<P> + +This is semantically equivalent to +<DL COMPACT><DT><DD> +<P> + +<B>>></B><I>word</I> 2<B>>&</B>1 +</DL> + +<A NAME="lbBN"> </A> <H4>Here Documents</H4> <P> @@ -4152,7 +4207,7 @@ line containing This allows here-documents within shell scripts to be indented in a natural fashion. -<A NAME="lbBN"> </A> +<A NAME="lbBO"> </A> <H4>Here Strings</H4> A variant of here documents, the format is: @@ -4169,7 +4224,7 @@ A variant of here documents, the format is: The <I>word</I> is expanded and supplied to the command on its standard input. -<A NAME="lbBO"> </A> +<A NAME="lbBP"> </A> <H4>Duplicating File Descriptors</H4> <P> @@ -4230,7 +4285,7 @@ do not specify a file descriptor open for output, a redirection error occurs. As a special case, if <I>n</I> is omitted, and <I>word</I> does not expand to one or more digits, the standard output and standard error are redirected as described previously. -<A NAME="lbBP"> </A> +<A NAME="lbBQ"> </A> <H4>Moving File Descriptors</H4> <P> @@ -4264,7 +4319,7 @@ moves the file descriptor <I>digit</I> to file descriptor <I>n</I>, or the standard output (file descriptor 1) if <I>n</I> is not specified. -<A NAME="lbBQ"> </A> +<A NAME="lbBR"> </A> <H4>Opening File Descriptors for Reading and Writing</H4> <P> @@ -4288,7 +4343,7 @@ or on file descriptor 0 if <I>n</I> is not specified. If the file does not exist, it is created. -<A NAME="lbBR"> </A> +<A NAME="lbBS"> </A> <H3>ALIASES</H3> <I>Aliases</I> allow a string to be substituted for a word when it is used @@ -4390,7 +4445,7 @@ in compound commands. For almost every purpose, aliases are superseded by shell functions. -<A NAME="lbBS"> </A> +<A NAME="lbBT"> </A> <H3>FUNCTIONS</H3> A shell function, defined as described above under @@ -4509,7 +4564,7 @@ Care should be taken in cases where this may cause a problem. Functions may be recursive. No limit is imposed on the number of recursive calls. -<A NAME="lbBT"> </A> +<A NAME="lbBU"> </A> <H3>ARITHMETIC EVALUATION</H3> The shell allows arithmetic expressions to be evaluated, under @@ -4632,7 +4687,7 @@ and 35. Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules above. -<A NAME="lbBU"> </A> +<A NAME="lbBV"> </A> <H3>CONDITIONAL EXPRESSIONS</H3> Conditional expressions are used by the <B>[[</B> compound command and @@ -4817,7 +4872,7 @@ and may be positive or negative integers. </DL> -<A NAME="lbBV"> </A> +<A NAME="lbBW"> </A> <H3>SIMPLE COMMAND EXPANSION</H3> When a simple command is executed, the shell performs the following @@ -4861,7 +4916,7 @@ described below. Otherwise, the command exits. If one of the expansions contained a command substitution, the exit status of the command is the exit status of the last command substitution performed. If there were no command substitutions, the command exits with a status of zero. -<A NAME="lbBW"> </A> +<A NAME="lbBX"> </A> <H3>COMMAND EXECUTION</H3> After a command has been split into words, if it results in a @@ -4905,7 +4960,12 @@ A full search of the directories in </FONT> is performed only if the command is not found in the hash table. -If the search is unsuccessful, the shell prints an error +If the search is unsuccessful, the shell searches for a defined shell +function named <B>command_not_found_handle</B>. +If that function exists, it is invoked with the original command and +the original command's arguments as its arguments, and the function's +exit status becomes the exit status of the shell. +If that function is not defined, the shell prints an error message and returns an exit status of 127. <P> @@ -4942,7 +5002,7 @@ interpreter consist of a single optional argument following the interpreter name on the first line of the program, followed by the name of the program, followed by the command arguments, if any. -<A NAME="lbBX"> </A> +<A NAME="lbBY"> </A> <H3>COMMAND EXECUTION ENVIRONMENT</H3> The shell has an <I>execution environment</I>, which consists of the @@ -5020,7 +5080,7 @@ If a command is followed by a <B>&</B> and job control is not active, the default standard input for the command is the empty file <I>/dev/null</I>. Otherwise, the invoked command inherits the file descriptors of the calling shell as modified by redirections. -<A NAME="lbBY"> </A> +<A NAME="lbBZ"> </A> <H3>ENVIRONMENT</H3> When a program is invoked it is given an array of strings @@ -5097,7 +5157,7 @@ invokes an external command, the variable is set to the full file name of the command and passed to that command in its environment. -<A NAME="lbBZ"> </A> +<A NAME="lbCA"> </A> <H3>EXIT STATUS</H3> <P> @@ -5137,7 +5197,7 @@ All builtins return an exit status of 2 to indicate incorrect usage. executed, unless a syntax error occurs, in which case it exits with a non-zero value. See also the <B>exit</B> builtin command below. -<A NAME="lbCA"> </A> +<A NAME="lbCB"> </A> <H3>SIGNALS</H3> When <B>bash</B> is interactive, in the absence of any traps, it ignores @@ -5254,7 +5314,7 @@ When <B>bash</B> is waiting for an asynchronous command via the <B>wait</B> builtin, the reception of a signal for which a trap has been set will cause the <B>wait</B> builtin to return immediately with an exit status greater than 128, immediately after which the trap is executed. -<A NAME="lbCB"> </A> +<A NAME="lbCC"> </A> <H3>JOB CONTROL</H3> <I>Job control</I> @@ -5482,7 +5542,7 @@ command may then be used to inspect their status. If a second attempt to exit is made without an intervening command, the shell does not print another warning, and any stopped jobs are terminated. -<A NAME="lbCC"> </A> +<A NAME="lbCD"> </A> <H3>PROMPTING</H3> When executing interactively, @@ -5651,7 +5711,7 @@ command under </FONT> below). -<A NAME="lbCD"> </A> +<A NAME="lbCE"> </A> <H3>READLINE</H3> This is the library that handles reading input when using an interactive @@ -5675,7 +5735,7 @@ builtin (see </FONT> below). -<A NAME="lbCE"> </A> +<A NAME="lbCF"> </A> <H4>Readline Notation</H4> <P> @@ -5721,7 +5781,7 @@ deleted is saved for possible future retrieval accumulated into one unit, which can be yanked all at once. Commands which do not kill text separate the chunks of text on the kill ring. -<A NAME="lbCF"> </A> +<A NAME="lbCG"> </A> <H4>Readline Initialization</H4> <P> @@ -5800,7 +5860,7 @@ and In addition to command names, readline allows keys to be bound to a string that is inserted when the key is pressed (a <I>macro</I>). -<A NAME="lbCG"> </A> +<A NAME="lbCH"> </A> <H4>Readline Key Bindings</H4> <P> @@ -6007,7 +6067,7 @@ builtin command (see </FONT> below). -<A NAME="lbCH"> </A> +<A NAME="lbCI"> </A> <H4>Readline Variables</H4> <P> @@ -6073,6 +6133,13 @@ in vi command mode. <DD> If set to <B>On</B>, readline performs filename matching and completion in a case-insensitive fashion. +<DT><B>completion-prefix-display-length (0)</B> + +<DD> +The length in characters of the common prefix of a list of possible +completions that is displayed without modification. When set to a +value greater than zero, common prefixes longer than this value are +replaced with an ellipsis when displaying possible completions. <DT><B>completion-query-items (100)</B> <DD> @@ -6209,6 +6276,13 @@ to display a screenful of possible completions at a time. <DD> If set to <B>On</B>, readline will display completions with matches sorted horizontally in alphabetical order, rather than down the screen. +<DT><B>revert-all-at-newline (Off)</B> + +<DD> +If set to <B>on</B>, readline will undo all changes to history lines +before returning when <B>accept-line</B> is executed. By default, +history lines may be modified and retain individual undo lists across +calls to <B>readline</B>. <DT><B>show-all-if-ambiguous (Off)</B> <DD> @@ -6238,7 +6312,7 @@ by <I>stat</I>(2) is appended to the filename when listing possible completions. </DL> -<A NAME="lbCI"> </A> +<A NAME="lbCJ"> </A> <H4>Readline Conditional Constructs</H4> <P> @@ -6322,7 +6396,7 @@ would read <A HREF="file:/etc/inputrc"><I>/etc/inputrc</I></A>: </DL> </DL> -<A NAME="lbCJ"> </A> +<A NAME="lbCK"> </A> <H4>Searching</H4> <P> @@ -6375,7 +6449,7 @@ new search string, any remembered search string is used. Non-incremental searches read the entire search string before starting to search for matching history lines. The search string may be typed by the user or be part of the contents of the current line. -<A NAME="lbCK"> </A> +<A NAME="lbCL"> </A> <H4>Readline Command Names</H4> <P> @@ -6387,7 +6461,7 @@ In the following descriptions, <I>point</I> refers to the current cursor position, and <I>mark</I> refers to a cursor position saved by the <B>set-mark</B> command. The text between the point and mark is referred to as the <I>region</I>. -<A NAME="lbCL"> </A> +<A NAME="lbCM"> </A> <H4>Commands for Moving</H4> <P> @@ -6432,7 +6506,7 @@ screen. Refresh the current line. </DL> -<A NAME="lbCM"> </A> +<A NAME="lbCN"> </A> <H4>Commands for Manipulating the History</H4> <P> @@ -6589,7 +6663,7 @@ commands. and <I>emacs</I> as the editor, in that order. </DL> -<A NAME="lbCN"> </A> +<A NAME="lbCO"> </A> <H4>Commands for Changing Text</H4> <P> @@ -6674,7 +6748,7 @@ Characters bound to <B>backward-delete-char</B> replace the character before point with a space. By default, this command is unbound. </DL> -<A NAME="lbCO"> </A> +<A NAME="lbCP"> </A> <H4>Killing and Yanking</H4> <P> @@ -6758,7 +6832,7 @@ or </DL> -<A NAME="lbCP"> </A> +<A NAME="lbCQ"> </A> <H4>Numeric Arguments</H4> <P> @@ -6788,7 +6862,7 @@ first time makes the argument count four, a second time makes the argument count sixteen, and so on. </DL> -<A NAME="lbCQ"> </A> +<A NAME="lbCR"> </A> <H4>Completing</H4> <P> @@ -6897,6 +6971,12 @@ treating it as a command name. Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. +<DT><B>dabbrev-expand</B> + +<DD> +Attempt menu completion on the text before point, comparing +the text against lines from the history list for possible +completion matches. <DT><B>complete-into-braces (M-{)</B> <DD> @@ -6907,7 +6987,7 @@ enclosed within braces so the list is available to the shell (see above). </DL> -<A NAME="lbCR"> </A> +<A NAME="lbCS"> </A> <H4>Keyboard Macros</H4> <P> @@ -6930,7 +7010,7 @@ Re-execute the last keyboard macro defined, by making the characters in the macro appear as if typed at the keyboard. </DL> -<A NAME="lbCS"> </A> +<A NAME="lbCT"> </A> <H4>Miscellaneous</H4> <P> @@ -7070,7 +7150,7 @@ Display version information about the current instance of </DL> -<A NAME="lbCT"> </A> +<A NAME="lbCU"> </A> <H4>Programmable Completion</H4> <P> @@ -7250,7 +7330,7 @@ the programmable completion functions force readline to append a slash to completed names which are symbolic links to directories, subject to the value of the <B>mark-directories</B> readline variable, regardless of the setting of the <B>mark-symlinked-directories</B> readline variable. -<A NAME="lbCU"> </A> +<A NAME="lbCV"> </A> <H3>HISTORY</H3> When the @@ -7403,7 +7483,7 @@ builtin below under </FONT> for information on setting and unsetting shell options. -<A NAME="lbCV"> </A> +<A NAME="lbCW"> </A> <H3>HISTORY EXPANSION</H3> <P> @@ -7519,7 +7599,7 @@ above under The shell uses the history comment character to mark history timestamps when writing the history file. -<A NAME="lbCW"> </A> +<A NAME="lbCX"> </A> <H4>Event Designators</H4> <P> @@ -7589,7 +7669,7 @@ Equivalent to The entire command line typed so far. </DL> -<A NAME="lbCX"> </A> +<A NAME="lbCY"> </A> <H4>Word Designators</H4> <P> @@ -7666,7 +7746,7 @@ Abbreviates <I>x-$</I> like <B>x*</B>, but omits the last word. If a word designator is supplied without an event specification, the previous command is used as the event. -<A NAME="lbCY"> </A> +<A NAME="lbCZ"> </A> <H4>Modifiers</H4> <P> @@ -7771,7 +7851,7 @@ An <B>a</B> may be used as a synonym for <B>g</B>. Apply the following `<B>s</B>' modifier once to each word in the event line. </DL> -<A NAME="lbCZ"> </A> +<A NAME="lbDA"> </A> <H3>SHELL BUILTIN COMMANDS</H3> @@ -7976,6 +8056,20 @@ Remove any current binding for <I>keyseq</I>. <DD> Cause <I>shell-command</I> to be executed whenever <I>keyseq</I> is entered. +When <I>shell-command</I> is executed, the shell sets the +<B>READLINE_LINE</B> + +variable to the contents of the <B>readline</B> line buffer and the +<B>READLINE_POINT</B> + +variable to the current location of the insertion point. +If the executed command changes the value of +<B>READLINE_LINE</B> + +or +<B>READLINE_POINT</B>, + +those new values will be reflected in the editing state. </DL> <P> @@ -8002,11 +8096,8 @@ must be >= 1. If <I>n</I> is greater than the number of enclosing loops, all enclosing loops -are exited. The return value is 0 unless the shell is not executing -a loop when -<B>break</B> - -is executed. +are exited. +The return value is 0 unless <I>n</I> is not greater than or equal to 1. <DT><B>builtin</B> <I>shell-builtin</I> [<I>arguments</I>]<DD> Execute the specified shell builtin, passing it <I>arguments</I>, @@ -8020,6 +8111,19 @@ The return status is false if <I>shell-builtin</I> is not a shell builtin command. +<DT><B>caller</B> [<I>expr</I>]<DD> +Returns the context of any active subroutine call (a shell function or +a script executed with the <B>.</B> or <B>source</B> builtins. +Without <I>expr</I>, <B>caller</B> displays the line number and source +filename of the current subroutine call. +If a non-negative integer is supplied as <I>expr</I>, <B>caller</B> +displays the line number, subroutine name, and source file corresponding +to that position in the current execution call stack. This extra +information may be used, for example, to print a stack trace. The +current frame is frame 0. +The return value is 0 unless the shell is not executing a subroutine +call or <I>expr</I> does not correspond to a valid position in the +call stack. <DT><B>cd</B> [<B>-L|-P</B>] [<I>dir</I>]<DD> Change the current directory to <I>dir</I>. The variable <FONT SIZE=-1><B>HOME</B> @@ -8078,19 +8182,6 @@ successful, the absolute pathname of the new working directory is written to the standard output. The return value is true if the directory was successfully changed; false otherwise. -<DT><B>caller</B> [<I>expr</I>]<DD> -Returns the context of any active subroutine call (a shell function or -a script executed with the <B>.</B> or <B>source</B> builtins. -Without <I>expr</I>, <B>caller</B> displays the line number and source -filename of the current subroutine call. -If a non-negative integer is supplied as <I>expr</I>, <B>caller</B> -displays the line number, subroutine name, and source file corresponding -to that position in the current execution call stack. This extra -information may be used, for example, to print a stack trace. The -current frame is frame 0. -The return value is 0 unless the shell is not executing a subroutine -call or <I>expr</I> does not correspond to a valid position in the -call stack. <DT><B>command</B> [<B>-pVv</B>] <I>command</I> [<I>arg</I> ...]<DD> Run <I>command</I> @@ -8171,12 +8262,12 @@ will be displayed. <P> The return value is true unless an invalid option is supplied, or no matches were generated. -<DT><B>complete</B> [<B>-abcdefgjksuv</B>] [<B>-o</B> <I>comp-option</I>] [<B>-A</B> <I>action</I>] [<B>-G</B> <I>globpat</I>] [<B>-W</B> <I>wordlist</I>] [<B>-F</B> <I>function</I>] [<B>-C</B> <I>command</I>]<DD> +<DT><B>complete</B> [<B>-abcdefgjksuv</B>] [<B>-o</B> <I>comp-option</I>] [<B>-E</B>] [<B>-A</B> <I>action</I>] [<B>-G</B> <I>globpat</I>] [<B>-W</B> <I>wordlist</I>] [<B>-F</B> <I>function</I>] [<B>-C</B> <I>command</I>]<DD> <BR> [<B>-X</B> <I>filterpat</I>] [<B>-P</B> <I>prefix</I>] [<B>-S</B> <I>suffix</I>] <I>name</I> [<I>name ...</I>] -<DT><B>complete</B> <B>-pr</B> [<I>name</I> ...]<DD> +<DT><B>complete</B> <B>-pr</B> [<B>-E</B>] [<I>name</I> ...]<DD> Specify how arguments to each <I>name</I> should be completed. If the <B>-p</B> option is supplied, or if no options are supplied, @@ -8185,6 +8276,9 @@ them to be reused as input. The <B>-r</B> option removes a completion specification for each <I>name</I>, or, if no <I>name</I>s are supplied, all completion specifications. +The <B>-E</B> option indicates that the remaining options and actions should +apply to ``empty'' command completion; that is, completion attempted on a +blank line. <P> The process of applying these completion specifications when word completion is attempted is described above under <B>Programmable Completion</B>. @@ -8429,11 +8523,8 @@ must be >= 1. If <I>n</I> is greater than the number of enclosing loops, the last enclosing loop -(the ``top-level'' loop) is resumed. The return value is 0 unless the -shell is not executing a loop when -<B>continue</B> - -is executed. +(the ``top-level'' loop) is resumed. +The return value is 0 unless <I>n</I> is not greater than or equal to 1. <DT><B>declare</B> [<B>-afFirtx</B>] [<B>-p</B>] [<I>name</I>[=<I>value</I>] ...]<DD> <DT><B>typeset</B> [<B>-afFirtx</B>] [<B>-p</B>] [<I>name</I>[=<I>value</I>] ...]<DD> @@ -9192,7 +9283,7 @@ The return status is true unless a <I>name</I> is not found or an invalid option is supplied. -<DT><B>help</B> [<B>-s</B>] [<I>pattern</I>]<DD> +<DT><B>help</B> [<B>-dms</B>] [<I>pattern</I>]<DD> Display helpful information about builtin commands. If <I>pattern</I> @@ -9204,8 +9295,24 @@ gives detailed help on all commands matching otherwise help for all the builtins and shell control structures is printed. -The <B>-s</B> option restricts the information displayed to a short -usage synopsis. +<DL COMPACT><DT><DD> + +<DL COMPACT> +<DT><B>-d</B> + +<DD> +Display a short description of each <I>pattern</I> +<DT><B> -m</B> + +<DD> +Display the description of each <I>pattern</I> in a manpage-like format +<DT><B>-s</B> + +<DD> +Display only a short usage synopsis for each <I>pattern</I> + +</DL></DL> + The return status is 0 unless no command matches <I>pattern</I>. @@ -9481,6 +9588,88 @@ is supplied, or <DD> Exit a login shell. +<DT><B>mapfile</B> [<B>-n</B> <I>count</I>] [<B>-O</B> <I>origin</I>] [<B>-s</B> <I>cou<DD> +nt</I>] [<B>-t</B>] [<B>-u</B> <I>fd</I>] [<B>-C</B> <I>callback</I>] [<B>-c</B> Iquantum] [<I>array</I>] +Read lines from the standard input into array variable +<I>array</I>, + +or from file descriptor +<I>fd</I> + +if the +<B>-u</B> + +option is supplied. +The variable <B>MAPFILE</B> is the default <I>array</I>. +Options, if supplied, have the following meanings: +<DL COMPACT><DT><DD> + +<DL COMPACT> +<DT><B>-n</B> + +<DD> +Copy at most +<I>count</I> + +lines. If <I>count</I> is 0, all lines are copied. +<DT><B>-O</B> + +<DD> +Begin assigning to +<I>array</I> + +at index +<I>origin</I>. + +The default index is 0. +<DT><B>-s</B> + +<DD> +Discard the first <I>count</I> lines read. +<DT><B>-t</B> + +<DD> +Remove a trailing line from each line read. +<DT><B>-u</B> + +<DD> +Read lines from file descriptor <I>fd</I> instead of the standard input. +<DT><B>-C</B> + +<DD> +Evaluate +<I>callback</I> + +each time <I>quantum</I> lines are read. The <B>-c</B> option specifies +<I>quantum</I>. + +<DT><B>-c</B> + +<DD> +Specify the number of lines read between each call to +<I>callback</I>. + + +</DL> +<P> + +If +<B>-C</B> + +is specified without +<B>-c</B>, + +the default quantum is 5000. +<P> + +If not supplied with an explicit origin, <B>mapfile</B> will clear <I>array</I> +before assigning to it. +<P> + +<B>mapfile</B> returns successfully unless an invalid option or option +argument is supplied, or <I>array</I> is invalid or unassignable. +</DL> + <DT><B>popd</B> [-<B>n</B>] [+<I>n</I>] [-<I>n</I>]<DD> Removes entries from the directory stack. With no arguments, removes the top directory from the stack, and performs a @@ -9736,6 +9925,8 @@ not echoed. <DD> Cause <B>read</B> to time out and return failure if a complete line of input is not read within <I>timeout</I> seconds. +<I>timeout</I> may be a decimal number with a fractional portion following +the decimal point. This option has no effect if <B>read</B> is not reading input from the terminal or a pipe. <DT><B>-u </B><I>fd</I> @@ -10435,6 +10626,14 @@ If set, changes its behavior to that of version 3.1 with respect to quoted arguments to the conditional command's =~ operator. +<DT><B>dirspell</B> + +<DD> +If set, +<B>bash</B> + +attempts spelling correction on directory names during word completion +if the directory name initially supplied does not exist. <DT><B>dotglob</B> <DD> @@ -10531,6 +10730,13 @@ See <FONT SIZE=-1><B>SHELL VARIABLES</B></FONT> above for a description of <B>FIGNORE</B>. This option is enabled by default. +<DT><B>globstar</B> + +<DD> +If set, the pattern <B>**</B> used in a filename expansion context will +match a files and zero or more directories and subdirectories. +If the pattern is followed by a <B>/</B>, only directories and +subdirectories match. <DT><B>gnu_errfmt</B> <DD> @@ -11079,8 +11285,8 @@ The option suppresses shell function lookup, as with the <B>command</B> builtin. <B>type</B> -returns true if any of the arguments are found, false if -none are found. +returns true if all of the arguments are found, false if +any are not found. <DT><B>ulimit</B> [<B>-HSTabcdefilmnpqrstuvx</B> [<I>limit</I>]]<DD> Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. @@ -11338,7 +11544,7 @@ process or job waited for. </DL> -<A NAME="lbDA"> </A> +<A NAME="lbDB"> </A> <H3>RESTRICTED SHELL</H3> @@ -11452,7 +11658,7 @@ turns off any restrictions in the shell spawned to execute the script. -<A NAME="lbDB"> </A> +<A NAME="lbDC"> </A> <H3>SEE ALSO</H3> @@ -11466,7 +11672,7 @@ script. <DT><I>readline</I>(3)<DD> </DL> -<A NAME="lbDC"> </A> +<A NAME="lbDD"> </A> <H3>FILES</H3> @@ -11503,7 +11709,7 @@ The individual login shell cleanup file, executed when a login shell exits Individual <I>readline</I> initialization file </DL> -<A NAME="lbDD"> </A> +<A NAME="lbDE"> </A> <H3>AUTHORS</H3> Brian Fox, Free Software Foundation @@ -11516,7 +11722,7 @@ Chet Ramey, Case Western Reserve University <BR> <A HREF="mailto:chet@po.cwru.edu">chet@po.cwru.edu</A> -<A NAME="lbDE"> </A> +<A NAME="lbDF"> </A> <H3>BUG REPORTS</H3> If you find a bug in @@ -11567,7 +11773,7 @@ Comments and bug reports concerning this manual page should be directed to <I><A HREF="mailto:chet@po.cwru.edu">chet@po.cwru.edu</A></I>. -<A NAME="lbDF"> </A> +<A NAME="lbDG"> </A> <H3>BUGS</H3> <P> @@ -11617,7 +11823,7 @@ Array variables may not (yet) be exported. <HR> <TABLE WIDTH=100%> <TR> -<TH ALIGN=LEFT width=33%>GNU Bash-3.2<TH ALIGN=CENTER width=33%>2008 April 5<TH ALIGN=RIGHT width=33%>BASH(1) +<TH ALIGN=LEFT width=33%>GNU Bash-4.0<TH ALIGN=CENTER width=33%>2008 May 25<TH ALIGN=RIGHT width=33%>BASH(1) </TR> </TABLE> <HR> @@ -11667,60 +11873,61 @@ Array variables may not (yet) be exported. <DT><A HREF="#lbBJ">Redirecting Output</A><DD> <DT><A HREF="#lbBK">Appending Redirected Output</A><DD> <DT><A HREF="#lbBL">Redirecting Standard Output and Standard Error</A><DD> -<DT><A HREF="#lbBM">Here Documents</A><DD> -<DT><A HREF="#lbBN">Here Strings</A><DD> -<DT><A HREF="#lbBO">Duplicating File Descriptors</A><DD> -<DT><A HREF="#lbBP">Moving File Descriptors</A><DD> -<DT><A HREF="#lbBQ">Opening File Descriptors for Reading and Writing</A><DD> +<DT><A HREF="#lbBM">Appending Standard Output and Standard Error</A><DD> +<DT><A HREF="#lbBN">Here Documents</A><DD> +<DT><A HREF="#lbBO">Here Strings</A><DD> +<DT><A HREF="#lbBP">Duplicating File Descriptors</A><DD> +<DT><A HREF="#lbBQ">Moving File Descriptors</A><DD> +<DT><A HREF="#lbBR">Opening File Descriptors for Reading and Writing</A><DD> </DL> -<DT><A HREF="#lbBR">ALIASES</A><DD> -<DT><A HREF="#lbBS">FUNCTIONS</A><DD> -<DT><A HREF="#lbBT">ARITHMETIC EVALUATION</A><DD> -<DT><A HREF="#lbBU">CONDITIONAL EXPRESSIONS</A><DD> -<DT><A HREF="#lbBV">SIMPLE COMMAND EXPANSION</A><DD> -<DT><A HREF="#lbBW">COMMAND EXECUTION</A><DD> -<DT><A HREF="#lbBX">COMMAND EXECUTION ENVIRONMENT</A><DD> -<DT><A HREF="#lbBY">ENVIRONMENT</A><DD> -<DT><A HREF="#lbBZ">EXIT STATUS</A><DD> -<DT><A HREF="#lbCA">SIGNALS</A><DD> -<DT><A HREF="#lbCB">JOB CONTROL</A><DD> -<DT><A HREF="#lbCC">PROMPTING</A><DD> -<DT><A HREF="#lbCD">READLINE</A><DD> +<DT><A HREF="#lbBS">ALIASES</A><DD> +<DT><A HREF="#lbBT">FUNCTIONS</A><DD> +<DT><A HREF="#lbBU">ARITHMETIC EVALUATION</A><DD> +<DT><A HREF="#lbBV">CONDITIONAL EXPRESSIONS</A><DD> +<DT><A HREF="#lbBW">SIMPLE COMMAND EXPANSION</A><DD> +<DT><A HREF="#lbBX">COMMAND EXECUTION</A><DD> +<DT><A HREF="#lbBY">COMMAND EXECUTION ENVIRONMENT</A><DD> +<DT><A HREF="#lbBZ">ENVIRONMENT</A><DD> +<DT><A HREF="#lbCA">EXIT STATUS</A><DD> +<DT><A HREF="#lbCB">SIGNALS</A><DD> +<DT><A HREF="#lbCC">JOB CONTROL</A><DD> +<DT><A HREF="#lbCD">PROMPTING</A><DD> +<DT><A HREF="#lbCE">READLINE</A><DD> <DL> -<DT><A HREF="#lbCE">Readline Notation</A><DD> -<DT><A HREF="#lbCF">Readline Initialization</A><DD> -<DT><A HREF="#lbCG">Readline Key Bindings</A><DD> -<DT><A HREF="#lbCH">Readline Variables</A><DD> -<DT><A HREF="#lbCI">Readline Conditional Constructs</A><DD> -<DT><A HREF="#lbCJ">Searching</A><DD> -<DT><A HREF="#lbCK">Readline Command Names</A><DD> -<DT><A HREF="#lbCL">Commands for Moving</A><DD> -<DT><A HREF="#lbCM">Commands for Manipulating the History</A><DD> -<DT><A HREF="#lbCN">Commands for Changing Text</A><DD> -<DT><A HREF="#lbCO">Killing and Yanking</A><DD> -<DT><A HREF="#lbCP">Numeric Arguments</A><DD> -<DT><A HREF="#lbCQ">Completing</A><DD> -<DT><A HREF="#lbCR">Keyboard Macros</A><DD> -<DT><A HREF="#lbCS">Miscellaneous</A><DD> -<DT><A HREF="#lbCT">Programmable Completion</A><DD> +<DT><A HREF="#lbCF">Readline Notation</A><DD> +<DT><A HREF="#lbCG">Readline Initialization</A><DD> +<DT><A HREF="#lbCH">Readline Key Bindings</A><DD> +<DT><A HREF="#lbCI">Readline Variables</A><DD> +<DT><A HREF="#lbCJ">Readline Conditional Constructs</A><DD> +<DT><A HREF="#lbCK">Searching</A><DD> +<DT><A HREF="#lbCL">Readline Command Names</A><DD> +<DT><A HREF="#lbCM">Commands for Moving</A><DD> +<DT><A HREF="#lbCN">Commands for Manipulating the History</A><DD> +<DT><A HREF="#lbCO">Commands for Changing Text</A><DD> +<DT><A HREF="#lbCP">Killing and Yanking</A><DD> +<DT><A HREF="#lbCQ">Numeric Arguments</A><DD> +<DT><A HREF="#lbCR">Completing</A><DD> +<DT><A HREF="#lbCS">Keyboard Macros</A><DD> +<DT><A HREF="#lbCT">Miscellaneous</A><DD> +<DT><A HREF="#lbCU">Programmable Completion</A><DD> </DL> -<DT><A HREF="#lbCU">HISTORY</A><DD> -<DT><A HREF="#lbCV">HISTORY EXPANSION</A><DD> +<DT><A HREF="#lbCV">HISTORY</A><DD> +<DT><A HREF="#lbCW">HISTORY EXPANSION</A><DD> <DL> -<DT><A HREF="#lbCW">Event Designators</A><DD> -<DT><A HREF="#lbCX">Word Designators</A><DD> -<DT><A HREF="#lbCY">Modifiers</A><DD> +<DT><A HREF="#lbCX">Event Designators</A><DD> +<DT><A HREF="#lbCY">Word Designators</A><DD> +<DT><A HREF="#lbCZ">Modifiers</A><DD> </DL> -<DT><A HREF="#lbCZ">SHELL BUILTIN COMMANDS</A><DD> -<DT><A HREF="#lbDA">RESTRICTED SHELL</A><DD> -<DT><A HREF="#lbDB">SEE ALSO</A><DD> -<DT><A HREF="#lbDC">FILES</A><DD> -<DT><A HREF="#lbDD">AUTHORS</A><DD> -<DT><A HREF="#lbDE">BUG REPORTS</A><DD> -<DT><A HREF="#lbDF">BUGS</A><DD> +<DT><A HREF="#lbDA">SHELL BUILTIN COMMANDS</A><DD> +<DT><A HREF="#lbDB">RESTRICTED SHELL</A><DD> +<DT><A HREF="#lbDC">SEE ALSO</A><DD> +<DT><A HREF="#lbDD">FILES</A><DD> +<DT><A HREF="#lbDE">AUTHORS</A><DD> +<DT><A HREF="#lbDF">BUG REPORTS</A><DD> +<DT><A HREF="#lbDG">BUGS</A><DD> </DL> <HR> This document was created by man2html from bash.1.<BR> -Time: 08 April 2008 09:50:33 EDT +Time: 29 May 2008 11:48:48 EDT </BODY> </HTML> diff --git a/doc/bash.pdf b/doc/bash.pdf Binary files differindex 17af0404..13481655 100644 --- a/doc/bash.pdf +++ b/doc/bash.pdf diff --git a/doc/bash.ps b/doc/bash.ps index cc11a4d6..32982e94 100644 --- a/doc/bash.ps +++ b/doc/bash.ps @@ -1,13 +1,13 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.19.2 -%%CreationDate: Tue Apr 8 09:14:15 2008 +%%CreationDate: Thu May 29 11:48:42 2008 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic %%+ font Courier %%+ font Symbol %%DocumentSuppliedResources: procset grops 1.19 2 -%%Pages: 66 +%%Pages: 67 %%PageOrder: Ascend %%DocumentMedia: Default 595 842 0 () () %%Orientation: Portrait @@ -331,7 +331,7 @@ E F2(po)2.5 E F0(\(portable object\) \214le format.)2.5 E F2 144 686.4 Q .3 -.15(ve \()-.25 H(see).15 E F4(INV)2.5 E(OCA)-.405 E (TION)-.855 E F0(belo)2.25 E(w\).)-.25 E F2(\255\255login)108 703.2 Q F0 (Equi)144 715.2 Q -.25(va)-.25 G(lent to).25 E F2<ad6c>2.5 E F0(.)A -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(1)203.445 E 0 Cg EP +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(1)202.335 E 0 Cg EP %%Page: 2 2 %%BeginPageSetup BP @@ -452,8 +452,8 @@ F(ariable)-.25 E F3 -.27(BA)108 679.2 S(SH_ENV).27 E F0 1.01(in the en) (if [ \255n "$BASH_ENV" ]; then . "$BASH_ENV"; fi)144 709.2 Q F0 -.2(bu) 108 727.2 S 2.5(tt).2 G(he v)-2.5 E(alue of the)-.25 E F3 -.666(PA)2.5 G (TH)-.189 E F0 -.25(va)2.25 G -(riable is not used to search for the \214le name.).25 E(GNU Bash-3.2)72 -768 Q(2008 April 5)148.455 E(2)203.445 E 0 Cg EP +(riable is not used to search for the \214le name.).25 E(GNU Bash-4.0)72 +768 Q(2008 May 25)147.345 E(2)202.335 E 0 Cg EP %%Page: 3 3 %%BeginPageSetup BP @@ -550,15 +550,15 @@ E F1(identi\214er)2.5 E F0(.)A F1(metacharacter)108 451.2 Q F0 2.5(Ac) 475.2 S 2.5(pace tab)-5 F(contr)108 487.2 Q(ol operator)-.18 E F0(A)144 499.2 Q F2(tok)2.5 E(en)-.1 E F0(that performs a control function.)2.5 E (It is one of the follo)5 E(wing symbols:)-.25 E/F6 10/Symbol SF<efef> -144 511.2 Q F1 5(&&)5 G 5(&;;)-5 G 5(;\(\)|<)-5 G(newline>)-5 E F5 -(RESER)72 528 Q(VED W)-.602 E(ORDS)-.11 E F2 .307(Reserved wor)108 540 R -(ds)-.37 E F0 .307(are w)2.807 F .307(ords that ha)-.1 F .607 -.15 -(ve a s)-.2 H .306(pecial meaning to the shell.).15 F .306(The follo) -5.306 F .306(wing w)-.25 F .306(ords are recognized as)-.1 F(reserv)108 -552 Q .227(ed when unquoted and either the \214rst w)-.15 F .227 -(ord of a simple command \(see)-.1 F F3 .227(SHELL GRAMMAR)2.727 F F0 -(belo)2.477 E .227(w\) or)-.25 F(the third w)108 564 Q(ord of a)-.1 E F1 -(case)2.5 E F0(or)2.5 E F1 -.25(fo)2.5 G(r).25 E F0(command:)2.5 E F1 +144 511.2 Q F1 5(&&)5 G 5(&;;)-5 G 5(;\(\)||)-5 G 10(&<)-5 G(newline>) +-10 E F5(RESER)72 528 Q(VED W)-.602 E(ORDS)-.11 E F2 .307(Reserved wor) +108 540 R(ds)-.37 E F0 .307(are w)2.807 F .307(ords that ha)-.1 F .607 +-.15(ve a s)-.2 H .306(pecial meaning to the shell.).15 F .306 +(The follo)5.306 F .306(wing w)-.25 F .306(ords are recognized as)-.1 F +(reserv)108 552 Q .227(ed when unquoted and either the \214rst w)-.15 F +.227(ord of a simple command \(see)-.1 F F3 .227(SHELL GRAMMAR)2.727 F +F0(belo)2.477 E .227(w\) or)-.25 F(the third w)108 564 Q(ord of a)-.1 E +F1(case)2.5 E F0(or)2.5 E F1 -.25(fo)2.5 G(r).25 E F0(command:)2.5 E F1 11.916(!c)144 580.8 S 9.416(ase do done elif else esac \214 f)-11.916 F 9.415(or function if in select then until)-.25 F 7.5 (while { } time [[ ]])144 592.8 R F5(SHELL GRAMMAR)72 609.6 Q F1 @@ -575,257 +575,265 @@ E(ords are passed as ar)-.1 E(guments to the in)-.18 E -.2(vo)-.4 G -.1 (alue of a)-.25 F F2 .175(simple command)2.675 F F0 .175(is its e)2.675 F .175(xit status, or 128+)-.15 F F2(n)A F0 .176 (if the command is terminated by signal)3.508 F F2(n)2.676 E F0(.).24 E -F1(Pipelines)87 691.2 Q F0(A)108 703.2 Q F2(pipeline)2.92 E F0 .42 -(is a sequence of one or more commands separated by the character)2.92 F -F1(|)2.919 E F0 5.419(.T)C .419(he format for a pipeline)-5.419 F(is:) -108 715.2 Q(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(3)203.445 E 0 -Cg EP +F1(Pipelines)87 691.2 Q F0(A)108 703.2 Q F2(pipeline)2.996 E F0 .496(is\ + a sequence of one or more commands separated by one of the control ope\ +rators)2.996 F F1(|)2.996 E F0(or)2.996 E F1(|&)2.996 E F0 5.496(.T)C +(he)-5.496 E(format for a pipeline is:)108 715.2 Q(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(3)202.335 E 0 Cg EP %%Page: 4 4 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) -.35 E([)144 84 Q/F1 10/Times-Bold@0 SF(time)A F0([)2.5 E F1<ad70>A F0 -(]] [ ! ])A/F2 10/Times-Italic@0 SF(command)2.5 E F0([)2.5 E F1(|)2.5 E -F2(command2)2.5 E F0(... ])2.5 E .243(The standard output of)108 100.8 R -F2(command)2.943 E F0 .244 +(]] [ ! ])A/F2 10/Times-Italic@0 SF(command)2.5 E F0 2.5([[)2.5 G F1(|) +-2.5 E/F3 10/Symbol SF<ef>A F1(|&)A F0(])A F2(command2)2.5 E F0(... ]) +2.5 E .243(The standard output of)108 100.8 R F2(command)2.943 E F0 .244 (is connected via a pipe to the standard input of)3.513 F F2(command2) -2.744 E F0 5.244(.T).02 G .244(his connec-)-5.244 F -(tion is performed before an)108 112.8 Q 2.5(yr)-.15 G -(edirections speci\214ed by the command \(see)-2.5 E/F3 9/Times-Bold@0 -SF(REDIRECTION)2.5 E F0(belo)2.25 E(w\).)-.25 E .48 -(The return status of a pipeline is the e)108 129.6 R .48 +2.744 E F0 5.244(.T).02 G .244(his connec-)-5.244 F .643 +(tion is performed before an)108 112.8 R 3.143(yr)-.15 G .642 +(edirections speci\214ed by the command \(see)-3.143 F/F4 9/Times-Bold@0 +SF(REDIRECTION)3.142 E F0(belo)2.892 E 3.142(w\). If)-.25 F F1(|&)3.142 +E F0(is)3.142 E 1.43(used, the standard error of)108 124.8 R F2(command) +3.93 E F0 1.431(is connected to)3.93 F F2(command2)3.931 E F0 2.531 -.55 +('s s)D 1.431(tandard input through the pipe; it is).55 F 1.197 +(shorthand for)108 136.8 R F1 1.197(2>&1 |)3.697 F F0 6.197(.T)C 1.197 +(his implicit redirection of the standard error is performed after an) +-6.197 F 3.696(yr)-.15 G(edirections)-3.696 E +(speci\214ed by the command.)108 148.8 Q .48 +(The return status of a pipeline is the e)108 165.6 R .48 (xit status of the last command, unless the)-.15 F F1(pipefail)2.98 E F0 -.48(option is enabled.)2.98 F(If)108 141.6 Q F1(pipefail)2.686 E F0 .186 -(is enabled, the pipeline')2.686 F 2.686(sr)-.55 G .186 -(eturn status is the v)-2.686 F .187 -(alue of the last \(rightmost\) command to e)-.25 F .187(xit with a)-.15 -F .611(non-zero status, or zero if all commands e)108 153.6 R .611 -(xit successfully)-.15 F 5.611(.I)-.65 G 3.111(ft)-5.611 G .61 -(he reserv)-3.111 F .61(ed w)-.15 F(ord)-.1 E F1(!)3.11 E F0 .61 -(precedes a pipeline, the)5.61 F -.15(ex)108 165.6 S .55 +.48(option is enabled.)2.98 F(If)108 177.6 Q F1(pipefail)2.687 E F0 .187 +(is enabled, the pipeline')2.687 F 2.687(sr)-.55 G .186 +(eturn status is the v)-2.687 F .186 +(alue of the last \(rightmost\) command to e)-.25 F .186(xit with a)-.15 +F .61(non-zero status, or zero if all commands e)108 189.6 R .611 +(xit successfully)-.15 F 5.611(.I)-.65 G 3.111(ft)-5.611 G .611 +(he reserv)-3.111 F .611(ed w)-.15 F(ord)-.1 E F1(!)3.111 E F0 .611 +(precedes a pipeline, the)5.611 F -.15(ex)108 201.6 S .55 (it status of that pipeline is the logical ne).15 F -.05(ga)-.15 G .55 (tion of the e).05 F .55(xit status as described abo)-.15 F -.15(ve)-.15 G 5.55(.T).15 G .55(he shell w)-5.55 F .55(aits for)-.1 F (all commands in the pipeline to terminate before returning a v)108 -177.6 Q(alue.)-.25 E .299(If the)108 194.4 R F1(time)2.799 E F0(reserv) +213.6 Q(alue.)-.25 E .298(If the)108 230.4 R F1(time)2.799 E F0(reserv) 2.799 E .299(ed w)-.15 F .299(ord precedes a pipeline, the elapsed as w\ -ell as user and system time consumed by its)-.1 F -.15(exe)108 206.4 S -.139(cution are reported when the pipeline terminates.).15 F(The)5.139 E -F1<ad70>2.639 E F0 .14(option changes the output format to that spec-) -2.639 F .78(i\214ed by POSIX.)108 218.4 R(The)5.78 E F3(TIMEFORMA)3.279 -E(T)-.855 E F0 -.25(va)3.029 G .779 -(riable may be set to a format string that speci\214es ho).25 F 3.279 -(wt)-.25 G .779(he timing)-3.279 F -(information should be displayed; see the description of)108 230.4 Q F3 +ell as user and system time consumed by its)-.1 F -.15(exe)108 242.4 S +.14(cution are reported when the pipeline terminates.).15 F(The)5.139 E +F1<ad70>2.639 E F0 .139(option changes the output format to that spec-) +2.639 F .779(i\214ed by POSIX.)108 254.4 R(The)5.779 E F4(TIMEFORMA) +3.279 E(T)-.855 E F0 -.25(va)3.029 G .779 +(riable may be set to a format string that speci\214es ho).25 F 3.28(wt) +-.25 G .78(he timing)-3.28 F +(information should be displayed; see the description of)108 266.4 Q F4 (TIMEFORMA)2.5 E(T)-.855 E F0(under)2.25 E F1(Shell V)2.5 E(ariables) -.92 E F0(belo)2.5 E -.65(w.)-.25 G(Each command in a pipeline is e)108 -247.2 Q -.15(xe)-.15 G +283.2 Q -.15(xe)-.15 G (cuted as a separate process \(i.e., in a subshell\).).15 E F1(Lists)87 -264 Q F0(A)108 276 Q F2(list)2.6 E F0 .1(is a sequence of one or more p\ -ipelines separated by one of the operators)2.6 F F1(;)2.601 E F0(,)A F1 -(&)2.601 E F0(,)A F1(&&)2.601 E F0 2.601(,o)C(r)-2.601 E/F4 10/Symbol SF -<efef>2.601 E F0 2.601(,a)C .101(nd option-)-2.601 F -(ally terminated by one of)108 288 Q F1(;)2.5 E F0(,)A F1(&)2.5 E F0 2.5 -(,o)C(r)-2.5 E F1(<newline>)2.5 E F0(.)A .657(Of these list operators,) -108 304.8 R F1(&&)3.156 E F0(and)3.156 E F4<efef>3.156 E F0(ha)3.156 E -.956 -.15(ve e)-.2 H .656(qual precedence, follo).15 F .656(wed by)-.25 -F F1(;)3.156 E F0(and)3.156 E F1(&)3.156 E F0 3.156(,w)C .656(hich ha) --3.156 F .956 -.15(ve e)-.2 H .656(qual prece-).15 F(dence.)108 316.8 Q -2.5(As)108 333.6 S(equence of one or more ne)-2.5 E -(wlines may appear in a)-.25 E F2(list)2.5 E F0 -(instead of a semicolon to delimit commands.)2.5 E .029 -(If a command is terminated by the control operator)108 350.4 R F1(&) +300 Q F0(A)108 312 Q F2(list)2.601 E F0 .101(is a sequence of one or mo\ +re pipelines separated by one of the operators)2.601 F F1(;)2.6 E F0(,)A +F1(&)2.6 E F0(,)A F1(&&)2.6 E F0 2.6(,o)C(r)-2.6 E F3<efef>2.6 E F0 2.6 +(,a)C .1(nd option-)-2.6 F(ally terminated by one of)108 324 Q F1(;)2.5 +E F0(,)A F1(&)2.5 E F0 2.5(,o)C(r)-2.5 E F1(<newline>)2.5 E F0(.)A .656 +(Of these list operators,)108 340.8 R F1(&&)3.156 E F0(and)3.156 E F3 +<efef>3.156 E F0(ha)3.156 E .956 -.15(ve e)-.2 H .656 +(qual precedence, follo).15 F .656(wed by)-.25 F F1(;)3.156 E F0(and) +3.156 E F1(&)3.156 E F0 3.156(,w)C .656(hich ha)-3.156 F .957 -.15(ve e) +-.2 H .657(qual prece-).15 F(dence.)108 352.8 Q 2.5(As)108 369.6 S +(equence of one or more ne)-2.5 E(wlines may appear in a)-.25 E F2(list) +2.5 E F0(instead of a semicolon to delimit commands.)2.5 E .029 +(If a command is terminated by the control operator)108 386.4 R F1(&) 2.529 E F0 2.529(,t)C .029(he shell e)-2.529 F -.15(xe)-.15 G .029 -(cutes the command in the).15 F F2(bac)2.529 E(kgr)-.2 E(ound)-.45 E F0 -(in)2.529 E 2.876(as)108 362.4 S 2.876(ubshell. The)-2.876 F .376 -(shell does not w)2.876 F .375 -(ait for the command to \214nish, and the return status is 0.)-.1 F .375 -(Commands sepa-)5.375 F .848(rated by a)108 374.4 R F1(;)3.348 E F0 .848 -(are e)3.348 F -.15(xe)-.15 G .848(cuted sequentially; the shell w).15 F -.849(aits for each command to terminate in turn.)-.1 F .849(The return) -5.849 F(status is the e)108 386.4 Q(xit status of the last command e) +(cutes the command in the).15 F F2(bac)2.528 E(kgr)-.2 E(ound)-.45 E F0 +(in)2.528 E 2.875(as)108 398.4 S 2.875(ubshell. The)-2.875 F .375 +(shell does not w)2.875 F .375 +(ait for the command to \214nish, and the return status is 0.)-.1 F .376 +(Commands sepa-)5.376 F .849(rated by a)108 410.4 R F1(;)3.349 E F0 .849 +(are e)3.349 F -.15(xe)-.15 G .848(cuted sequentially; the shell w).15 F +.848(aits for each command to terminate in turn.)-.1 F .848(The return) +5.848 F(status is the e)108 422.4 Q(xit status of the last command e) -.15 E -.15(xe)-.15 G(cuted.).15 E .632(AND and OR lists are sequences \ -of one of more pipelines separated by the)108 403.2 R F1(&&)3.132 E F0 -(and)3.132 E F4<efef>3.132 E F0 .632(control operators,)3.132 F -(respecti)108 415.2 Q -.15(ve)-.25 G(ly).15 E 5(.A)-.65 G +of one of more pipelines separated by the)108 439.2 R F1(&&)3.132 E F0 +(and)3.133 E F3<efef>3.133 E F0 .633(control operators,)3.133 F +(respecti)108 451.2 Q -.15(ve)-.25 G(ly).15 E 5(.A)-.65 G (ND and OR lists are e)-5 E -.15(xe)-.15 G(cuted with left associati).15 E(vity)-.25 E 5(.A)-.65 G 2.5(nA)-5 G(ND list has the form)-2.5 E F2 -(command1)144 432 Q F1(&&)2.5 E F2(command2)2.5 E(command2)108.2 448.8 Q +(command1)144 468 Q F1(&&)2.5 E F2(command2)2.5 E(command2)108.2 484.8 Q F0(is e)2.52 E -.15(xe)-.15 G(cuted if, and only if,).15 E F2(command1) 2.7 E F0(returns an e)2.5 E(xit status of zero.)-.15 E -(An OR list has the form)108 465.6 Q F2(command1)144 482.4 Q F4<efef>2.5 -E F2(command2)2.5 E(command2)108.2 504 Q F0 .728(is e)3.248 F -.15(xe) +(An OR list has the form)108 501.6 Q F2(command1)144 518.4 Q F3<efef>2.5 +E F2(command2)2.5 E(command2)108.2 540 Q F0 .729(is e)3.249 F -.15(xe) -.15 G .729(cuted if and only if).15 F F2(command1)3.429 E F0 .729 -(returns a non-zero e)3.229 F .729(xit status.)-.15 F .729 -(The return status of AND)5.729 F(and OR lists is the e)108 516 Q +(returns a non-zero e)3.229 F .729(xit status.)-.15 F .728 +(The return status of AND)5.729 F(and OR lists is the e)108 552 Q (xit status of the last command e)-.15 E -.15(xe)-.15 G -(cuted in the list.).15 E F1(Compound Commands)87 532.8 Q F0(A)108 544.8 +(cuted in the list.).15 E F1(Compound Commands)87 568.8 Q F0(A)108 580.8 Q F2(compound command)2.5 E F0(is one of the follo)2.5 E(wing:)-.25 E -(\()108 561.6 Q F2(list)A F0(\))A F2(list)17.11 E F0 .011(is e)2.512 F +(\()108 597.6 Q F2(list)A F0(\))A F2(list)17.11 E F0 .011(is e)2.511 F -.15(xe)-.15 G .011(cuted in a subshell en).15 F .011(vironment \(see) --.4 F F3 .011(COMMAND EXECUTION ENVIR)2.511 F(ONMENT)-.27 E F0(belo) -2.261 E(w\).)-.25 E -1.11(Va)144 573.6 S 1.063(riable assignments and b) +-.4 F F4 .011(COMMAND EXECUTION ENVIR)2.511 F(ONMENT)-.27 E F0(belo) +2.262 E(w\).)-.25 E -1.11(Va)144 609.6 S 1.064(riable assignments and b) 1.11 F 1.064(uiltin commands that af)-.2 F 1.064(fect the shell')-.25 F 3.564(se)-.55 G -.4(nv)-3.564 G 1.064(ironment do not remain in).4 F(ef) -144 585.6 Q(fect after the command completes.)-.25 E +144 621.6 Q(fect after the command completes.)-.25 E (The return status is the e)5 E(xit status of)-.15 E F2(list)2.5 E F0(.) -A({)108 602.4 Q F2(list)2.5 E F0 2.5(;})C F2(list)3.89 E F0 .402 -(is simply e)2.902 F -.15(xe)-.15 G .401(cuted in the current shell en) -.15 F(vironment.)-.4 E F2(list)5.401 E F0 .401 -(must be terminated with a ne)2.901 F .401(wline or)-.25 F 3.214 -(semicolon. This)144 614.4 R .714(is kno)3.214 F .714(wn as a)-.25 F F2 +A({)108 638.4 Q F2(list)2.5 E F0 2.5(;})C F2(list)3.89 E F0 .401 +(is simply e)2.901 F -.15(xe)-.15 G .401(cuted in the current shell en) +.15 F(vironment.)-.4 E F2(list)5.401 E F0 .402 +(must be terminated with a ne)2.901 F .402(wline or)-.25 F 3.215 +(semicolon. This)144 650.4 R .715(is kno)3.215 F .715(wn as a)-.25 F F2 (gr)3.215 E .715(oup command)-.45 F F0 5.715(.T)C .715 -(he return status is the e)-5.715 F .715(xit status of)-.15 F F2(list) -3.215 E F0 5.715(.N)C(ote)-5.715 E .22(that unlik)144 626.4 R 2.72(et) --.1 G .22(he metacharacters)-2.72 F F1(\()2.72 E F0(and)2.72 E F1(\)) -2.72 E F0(,)A F1({)2.72 E F0(and)2.72 E F1(})2.719 E F0(are)2.719 E F2 --.37(re)2.719 G .219(served wor).37 F(ds)-.37 E F0 .219 -(and must occur where a reserv)2.719 F(ed)-.15 E -.1(wo)144 638.4 S .256 -(rd is permitted to be recognized.).1 F .256(Since the)5.256 F 2.756(yd) --.15 G 2.756(on)-2.756 G .257(ot cause a w)-2.756 F .257(ord break, the) --.1 F 2.757(ym)-.15 G .257(ust be separated)-2.757 F(from)144 650.4 Q F2 +(he return status is the e)-5.715 F .714(xit status of)-.15 F F2(list) +3.214 E F0 5.714(.N)C(ote)-5.714 E .219(that unlik)144 662.4 R 2.719(et) +-.1 G .219(he metacharacters)-2.719 F F1(\()2.719 E F0(and)2.719 E F1 +(\))2.719 E F0(,)A F1({)2.719 E F0(and)2.719 E F1(})2.719 E F0(are)2.719 +E F2 -.37(re)2.72 G .22(served wor).37 F(ds)-.37 E F0 .22 +(and must occur where a reserv)2.72 F(ed)-.15 E -.1(wo)144 674.4 S .257 +(rd is permitted to be recognized.).1 F .257(Since the)5.257 F 2.757(yd) +-.15 G 2.756(on)-2.757 G .256(ot cause a w)-2.756 F .256(ord break, the) +-.1 F 2.756(ym)-.15 G .256(ust be separated)-2.756 F(from)144 686.4 Q F2 (list)2.5 E F0(by whitespace or another shell metacharacter)2.5 E(.)-.55 -E(\(\()108 667.2 Q F2 -.2(ex)C(pr).2 E(ession)-.37 E F0(\)\))A(The)144 -679.2 Q F2 -.2(ex)2.552 G(pr).2 E(ession)-.37 E F0 .052(is e)2.552 F +E(\(\()108 703.2 Q F2 -.2(ex)C(pr).2 E(ession)-.37 E F0(\)\))A(The)144 +715.2 Q F2 -.2(ex)2.551 G(pr).2 E(ession)-.37 E F0 .051(is e)2.551 F -.25(va)-.25 G .051(luated according to the rules described belo).25 F -2.551(wu)-.25 G(nder)-2.551 E F3 .051(ARITHMETIC EV)2.551 F(ALU)-1.215 E -(A-)-.54 E(TION)144 691.2 Q/F5 9/Times-Roman@0 SF(.)A F0 .411(If the v) -4.91 F .411(alue of the e)-.25 F .411(xpression is non-zero, the return\ - status is 0; otherwise the return status)-.15 F(is 1.)144 703.2 Q -(This is e)5 E(xactly equi)-.15 E -.25(va)-.25 G(lent to).25 E F1(let ") -2.5 E F2 -.2(ex)C(pr).2 E(ession)-.37 E F1(")A F0(.)A(GNU Bash-3.2)72 -768 Q(2008 April 5)148.455 E(4)203.445 E 0 Cg EP +2.552(wu)-.25 G(nder)-2.552 E F4 .052(ARITHMETIC EV)2.552 F(ALU)-1.215 E +(A-)-.54 E(TION)144 727.2 Q/F5 9/Times-Roman@0 SF(.)A F0 .411(If the v) +4.911 F .411(alue of the e)-.25 F .411(xpression is non-zero, the retur\ +n status is 0; otherwise the return status)-.15 F(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(4)202.335 E 0 Cg EP %%Page: 5 5 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF([[)108 84 Q/F2 10/Times-Italic@0 SF -.2(ex) -2.5 G(pr).2 E(ession)-.37 E F1(]])2.5 E F0 1.3 -(Return a status of 0 or 1 depending on the e)144 96 R -.25(va)-.25 G -1.299(luation of the conditional e).25 F(xpression)-.15 E F2 -.2(ex) -3.799 G(pr).2 E(ession)-.37 E F0(.)A 2.273 -(Expressions are composed of the primaries described belo)144 108 R -4.774(wu)-.25 G(nder)-4.774 E/F3 9/Times-Bold@0 SF(CONDITION)4.774 E -2.274(AL EXPRES-)-.18 F(SIONS)144 120 Q/F4 9/Times-Roman@0 SF(.)A F0 -.8 -(Wo)5.633 G 1.133(rd splitting and pathname e).8 F 1.133 +-.35 E(is 1.)144 84 Q(This is e)5 E(xactly equi)-.15 E -.25(va)-.25 G +(lent to).25 E/F1 10/Times-Bold@0 SF(let ")2.5 E/F2 10/Times-Italic@0 SF +-.2(ex)C(pr).2 E(ession)-.37 E F1(")A F0(.)A F1([[)108 100.8 Q F2 -.2 +(ex)2.5 G(pr).2 E(ession)-.37 E F1(]])2.5 E F0 1.299 +(Return a status of 0 or 1 depending on the e)144 112.8 R -.25(va)-.25 G +1.3(luation of the conditional e).25 F(xpression)-.15 E F2 -.2(ex)3.8 G +(pr).2 E(ession)-.37 E F0(.)A 2.274 +(Expressions are composed of the primaries described belo)144 124.8 R +4.773(wu)-.25 G(nder)-4.773 E/F3 9/Times-Bold@0 SF(CONDITION)4.773 E +2.273(AL EXPRES-)-.18 F(SIONS)144 136.8 Q/F4 9/Times-Roman@0 SF(.)A F0 +-.8(Wo)5.632 G 1.133(rd splitting and pathname e).8 F 1.133 (xpansion are not performed on the w)-.15 F 1.133(ords between the)-.1 F -F1([[)3.632 E F0(and)144 132 Q F1(]])2.963 E F0 2.963(;t)C .463(ilde e) --2.963 F .464(xpansion, parameter and v)-.15 F .464(ariable e)-.25 F -.464(xpansion, arithmetic e)-.15 F .464(xpansion, command substi-)-.15 F -1.081(tution, process substitution, and quote remo)144 144 R -.25(va) --.15 G 3.581(la).25 G 1.081(re performed.)-3.581 F 1.081 -(Conditional operators such as)6.081 F F1<ad66>3.58 E F0 -(must be unquoted to be recognized as primaries.)144 156 Q .502 -(When the)144 174 R F1(==)3.002 E F0(and)3.002 E F1(!=)3.002 E F0 .502(\ -operators are used, the string to the right of the operator is consider\ -ed a pat-)3.002 F 1.225 -(tern and matched according to the rules described belo)144 186 R 3.724 -(wu)-.25 G(nder)-3.724 E F1 -.1(Pa)3.724 G(tter).1 E 3.724(nM)-.15 G -(atching)-3.724 E F0 6.224(.I)C 3.724(ft)-6.224 G 1.224(he shell)-3.724 -F(option)144 198 Q F1(nocasematch)3.404 E F0 .904 -(is enabled, the match is performed without re)3.404 F -.05(ga)-.15 G -.905(rd to the case of alphabetic).05 F 2.752(characters. The)144 210 R -.251(return v)2.752 F .251(alue is 0 if the string matches \()-.25 F F1 -(==)A F0 2.751(\)o)C 2.751(rd)-2.751 G .251(oes not match \()-2.751 F F1 -(!=)A F0 2.751(\)t)C .251(he pattern, and)-2.751 F 2.5(1o)144 222 S 2.5 -(therwise. An)-2.5 F 2.5(yp)-.15 G(art of the pattern may be quoted to \ -force it to be matched as a string.)-2.5 E .243 -(An additional binary operator)144 240 R(,)-.4 E F1(=~)2.743 E F0 2.743 -(,i)C 2.743(sa)-2.743 G -.25(va)-2.943 G .243 +F1([[)3.633 E F0(and)144 148.8 Q F1(]])2.964 E F0 2.964(;t)C .464 +(ilde e)-2.964 F .464(xpansion, parameter and v)-.15 F .464(ariable e) +-.25 F .463(xpansion, arithmetic e)-.15 F .463 +(xpansion, command substi-)-.15 F 1.081 +(tution, process substitution, and quote remo)144 160.8 R -.25(va)-.15 G +3.581(la).25 G 1.081(re performed.)-3.581 F 1.081 +(Conditional operators such as)6.081 F F1<ad66>3.581 E F0 +(must be unquoted to be recognized as primaries.)144 172.8 Q .503 +(When the)144 190.8 R F1(==)3.003 E F0(and)3.002 E F1(!=)3.002 E F0 .502 +(operators are used, the string to the right of the operator is conside\ +red a pat-)3.002 F 1.224 +(tern and matched according to the rules described belo)144 202.8 R +3.724(wu)-.25 G(nder)-3.724 E F1 -.1(Pa)3.724 G(tter).1 E 3.725(nM)-.15 +G(atching)-3.725 E F0 6.225(.I)C 3.725(ft)-6.225 G 1.225(he shell)-3.725 +F(option)144 214.8 Q F1(nocasematch)3.405 E F0 .904 +(is enabled, the match is performed without re)3.405 F -.05(ga)-.15 G +.904(rd to the case of alphabetic).05 F 2.751(characters. The)144 226.8 +R .251(return v)2.751 F .251(alue is 0 if the string matches \()-.25 F +F1(==)A F0 2.751(\)o)C 2.751(rd)-2.751 G .251(oes not match \()-2.751 F +F1(!=)A F0 2.751(\)t)C .252(he pattern, and)-2.751 F 2.5(1o)144 238.8 S +2.5(therwise. An)-2.5 F 2.5(yp)-.15 G(art of the pattern may be quoted \ +to force it to be matched as a string.)-2.5 E .243 +(An additional binary operator)144 256.8 R(,)-.4 E F1(=~)2.743 E F0 +2.743(,i)C 2.743(sa)-2.743 G -.25(va)-2.943 G .243 (ilable, with the same precedence as).25 F F1(==)2.743 E F0(and)2.743 E F1(!=)2.743 E F0 5.243(.W)C .243(hen it is)-5.243 F 1.953 (used, the string to the right of the operator is considered an e)144 -252 R 1.953(xtended re)-.15 F 1.953(gular e)-.15 F 1.953(xpression and) --.15 F .207(matched accordingly \(as in)144 264 R F2 -.37(re)2.707 G -.1 -(ge)-.03 G(x)-.1 E F0 2.707(\(3\)\). The)B .207(return v)2.707 F .207 -(alue is 0 if the string matches the pattern, and 1)-.25 F 3.346 -(otherwise. If)144 276 R .846(the re)3.346 F .846(gular e)-.15 F .845 +268.8 R 1.954(xtended re)-.15 F 1.954(gular e)-.15 F 1.954 +(xpression and)-.15 F .207(matched accordingly \(as in)144 280.8 R F2 +-.37(re)2.707 G -.1(ge)-.03 G(x)-.1 E F0 2.707(\(3\)\). The)B .207 +(return v)2.707 F .207 +(alue is 0 if the string matches the pattern, and 1)-.25 F 3.345 +(otherwise. If)144 292.8 R .845(the re)3.345 F .845(gular e)-.15 F .846 (xpression is syntactically incorrect, the conditional e)-.15 F -(xpression')-.15 E 3.345(sr)-.55 G(eturn)-3.345 E -.25(va)144 288 S .666 -(lue is 2.).25 F .667(If the shell option)5.667 F F1(nocasematch)3.167 E -F0 .667(is enabled, the match is performed without re)3.167 F -.05(ga) --.15 G .667(rd to).05 F .379(the case of alphabetic characters.)144 300 -R(An)5.379 E 2.879(yp)-.15 G .378 -(art of the pattern may be quoted to force it to be matched)-2.879 F -.265(as a string.)144 312 R .265 +(xpression')-.15 E 3.346(sr)-.55 G(eturn)-3.346 E -.25(va)144 304.8 S +.667(lue is 2.).25 F .667(If the shell option)5.667 F F1(nocasematch) +3.167 E F0 .667(is enabled, the match is performed without re)3.167 F +-.05(ga)-.15 G .666(rd to).05 F .378(the case of alphabetic characters.) +144 316.8 R(An)5.378 E 2.878(yp)-.15 G .378 +(art of the pattern may be quoted to force it to be matched)-2.878 F +.265(as a string.)144 328.8 R .265 (Substrings matched by parenthesized sube)5.265 F .265 (xpressions within the re)-.15 F .265(gular e)-.15 F .265(xpression are) --.15 F(sa)144 324 Q -.15(ve)-.2 G 3.118(di).15 G 3.118(nt)-3.118 G .618 -(he array v)-3.118 F(ariable)-.25 E F1 -.3(BA)3.117 G(SH_REMA).3 E(TCH) --.95 E F0 5.617(.T)C .617(he element of)-5.617 F F1 -.3(BA)3.117 G -(SH_REMA).3 E(TCH)-.95 E F0 .617(with inde)3.117 F(x)-.15 E 6.882(0i)144 -336 S 6.882(st)-6.882 G 4.382 -(he portion of the string matching the entire re)-6.882 F 4.382(gular e) --.15 F 6.882(xpression. The)-.15 F 4.383(element of)6.883 F F1 -.3(BA) -144 348 S(SH_REMA).3 E(TCH)-.95 E F0 2.088(with inde)4.588 F(x)-.15 E F2 -(n)4.588 E F0 2.088(is the portion of the string matching the)4.588 F F2 -(n)4.587 E F0 2.087(th parenthesized)B(sube)144 360 Q(xpression.)-.15 E -.785(Expressions may be combined using the follo)144 378 R .786 +-.15 F(sa)144 340.8 Q -.15(ve)-.2 G 3.117(di).15 G 3.117(nt)-3.117 G +.617(he array v)-3.117 F(ariable)-.25 E F1 -.3(BA)3.117 G(SH_REMA).3 E +(TCH)-.95 E F0 5.617(.T)C .617(he element of)-5.617 F F1 -.3(BA)3.118 G +(SH_REMA).3 E(TCH)-.95 E F0 .618(with inde)3.118 F(x)-.15 E 6.883(0i)144 +352.8 S 6.883(st)-6.883 G 4.382 +(he portion of the string matching the entire re)-6.883 F 4.382(gular e) +-.15 F 6.882(xpression. The)-.15 F 4.382(element of)6.882 F F1 -.3(BA) +144 364.8 S(SH_REMA).3 E(TCH)-.95 E F0 2.087(with inde)4.587 F(x)-.15 E +F2(n)4.587 E F0 2.088(is the portion of the string matching the)4.587 F +F2(n)4.588 E F0 2.088(th parenthesized)B(sube)144 376.8 Q(xpression.) +-.15 E .786(Expressions may be combined using the follo)144 394.8 R .785 (wing operators, listed in decreasing order of prece-)-.25 F(dence:)144 -390 Q F1(\()144 408 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F1(\))2.5 E -F0 .523(Returns the v)180 420 R .522(alue of)-.25 F F2 -.2(ex)3.022 G -(pr).2 E(ession)-.37 E F0 5.522(.T)C .522(his may be used to o)-5.522 F --.15(ve)-.15 G .522(rride the normal precedence of).15 F(operators.)180 -432 Q F1(!)144 444 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0 -.35(Tr) -180 456 S(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F0(is f)2.74 -E(alse.)-.1 E F2 -.2(ex)144 468 S(pr).2 E(ession1)-.37 E F1(&&)2.5 E F2 --.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0 -.35(Tr)180 480 S(ue if both).35 -E F2 -.2(ex)2.5 G(pr).2 E(ession1)-.37 E F0(and)2.5 E F2 -.2(ex)2.5 G -(pr).2 E(ession2)-.37 E F0(are true.)2.52 E F2 -.2(ex)144 492 S(pr).2 E -(ession1)-.37 E/F5 10/Symbol SF<efef>2.5 E F2 -.2(ex)2.5 G(pr).2 E -(ession2)-.37 E F0 -.35(Tr)180 504 S(ue if either).35 E F2 -.2(ex)2.5 G -(pr).2 E(ession1)-.37 E F0(or)2.5 E F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37 -E F0(is true.)2.52 E(The)144 520.8 Q F1(&&)3.298 E F0(and)3.298 E F5 -<efef>3.298 E F0 .798(operators do not e)3.298 F -.25(va)-.25 G(luate) -.25 E F2 -.2(ex)3.298 G(pr).2 E(ession2)-.37 E F0 .798(if the v)3.298 F -.798(alue of)-.25 F F2 -.2(ex)3.298 G(pr).2 E(ession1)-.37 E F0 .799 -(is suf)3.298 F .799(\214cient to)-.25 F(determine the return v)144 -532.8 Q(alue of the entire conditional e)-.25 E(xpression.)-.15 E F1 --.25(fo)108 549.6 S(r).25 E F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor) -2.5 E(d)-.37 E F0 2.5(];)2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done) -2.5 E F0 .424(The list of w)144 561.6 R .424(ords follo)-.1 F(wing)-.25 -E F1(in)2.924 E F0 .423(is e)2.924 F .423 -(xpanded, generating a list of items.)-.15 F .423(The v)5.423 F(ariable) --.25 E F2(name)2.923 E F0 .423(is set to)2.923 F .653 -(each element of this list in turn, and)144 573.6 R F2(list)3.153 E F0 -.653(is e)3.153 F -.15(xe)-.15 G .653(cuted each time.).15 F .653 -(If the)5.653 F F1(in)3.153 E F2(wor)3.153 E(d)-.37 E F0 .653 -(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 .649(command e) -144 585.6 R -.15(xe)-.15 G(cutes).15 E F2(list)3.149 E F0 .648 -(once for each positional parameter that is set \(see)3.148 F F3 -.666 -(PA)3.148 G(RAMETERS).666 E F0(belo)2.898 E(w\).)-.25 E .153 -(The return status is the e)144 597.6 R .153 -(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.654 -(cutes. If).15 F .154(the e)2.654 F .154(xpansion of the items)-.15 F -(follo)144 609.6 Q(wing)-.25 E F1(in)2.5 E F0 +406.8 Q F1(\()144 424.8 Q F2 -.2(ex)2.5 G(pr).2 E(ession)-.37 E F1(\)) +2.5 E F0 .522(Returns the v)180 436.8 R .522(alue of)-.25 F F2 -.2(ex) +3.022 G(pr).2 E(ession)-.37 E F0 5.522(.T)C .522(his may be used to o) +-5.522 F -.15(ve)-.15 G .522(rride the normal precedence of).15 F +(operators.)180 448.8 Q F1(!)144 460.8 Q F2 -.2(ex)2.5 G(pr).2 E(ession) +-.37 E F0 -.35(Tr)180 472.8 S(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E +(ession)-.37 E F0(is f)2.74 E(alse.)-.1 E F2 -.2(ex)144 484.8 S(pr).2 E +(ession1)-.37 E F1(&&)2.5 E F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0 +-.35(Tr)180 496.8 S(ue if both).35 E F2 -.2(ex)2.5 G(pr).2 E(ession1) +-.37 E F0(and)2.5 E F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0(are true.) +2.52 E F2 -.2(ex)144 508.8 S(pr).2 E(ession1)-.37 E/F5 10/Symbol SF +<efef>2.5 E F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0 -.35(Tr)180 520.8 +S(ue if either).35 E F2 -.2(ex)2.5 G(pr).2 E(ession1)-.37 E F0(or)2.5 E +F2 -.2(ex)2.5 G(pr).2 E(ession2)-.37 E F0(is true.)2.52 E(The)144 537.6 +Q F1(&&)3.299 E F0(and)3.299 E F5<efef>3.298 E F0 .798 +(operators do not e)3.298 F -.25(va)-.25 G(luate).25 E F2 -.2(ex)3.298 G +(pr).2 E(ession2)-.37 E F0 .798(if the v)3.298 F .798(alue of)-.25 F F2 +-.2(ex)3.298 G(pr).2 E(ession1)-.37 E F0 .798(is suf)3.298 F .798 +(\214cient to)-.25 F(determine the return v)144 549.6 Q +(alue of the entire conditional e)-.25 E(xpression.)-.15 E F1 -.25(fo) +108 566.4 S(r).25 E F2(name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)2.5 E(d) +-.37 E F0 2.5(];)2.5 G F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 +.423(The list of w)144 578.4 R .423(ords follo)-.1 F(wing)-.25 E F1(in) +2.923 E F0 .423(is e)2.923 F .423(xpanded, generating a list of items.) +-.15 F .424(The v)5.424 F(ariable)-.25 E F2(name)2.924 E F0 .424 +(is set to)2.924 F .653(each element of this list in turn, and)144 590.4 +R F2(list)3.153 E F0 .653(is e)3.153 F -.15(xe)-.15 G .653 +(cuted each time.).15 F .653(If the)5.653 F F1(in)3.153 E F2(wor)3.153 E +(d)-.37 E F0 .653(is omitted, the)3.153 F F1 -.25(fo)3.153 G(r).25 E F0 +.648(command e)144 602.4 R -.15(xe)-.15 G(cutes).15 E F2(list)3.148 E F0 +.648(once for each positional parameter that is set \(see)3.148 F F3 +-.666(PA)3.149 G(RAMETERS).666 E F0(belo)2.899 E(w\).)-.25 E .154 +(The return status is the e)144 614.4 R .153 +(xit status of the last command that e)-.15 F -.15(xe)-.15 G 2.653 +(cutes. If).15 F .153(the e)2.653 F .153(xpansion of the items)-.15 F +(follo)144 626.4 Q(wing)-.25 E F1(in)2.5 E F0 (results in an empty list, no commands are e)2.5 E -.15(xe)-.15 G -(cuted, and the return status is 0.).15 E F1 -.25(fo)108 626.4 S(r).25 E +(cuted, and the return status is 0.).15 E F1 -.25(fo)108 643.2 S(r).25 E F0(\(\()2.5 E F2 -.2(ex)2.5 G(pr1).2 E F0(;)2.5 E F2 -.2(ex)2.5 G(pr2).2 E F0(;)2.5 E F2 -.2(ex)2.5 G(pr3).2 E F0(\)\) ;)2.5 E F1(do)2.5 E F2 -(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.236(First, the arithmetic e) -144 638.4 R(xpression)-.15 E F2 -.2(ex)3.736 G(pr1).2 E F0 1.235(is e) -3.736 F -.25(va)-.25 G 1.235 -(luated according to the rules described belo).25 F 3.735(wu)-.25 G -(nder)-3.735 E F3 .561(ARITHMETIC EV)144 650.4 R(ALU)-1.215 E -.855(AT) --.54 G(ION).855 E F4(.)A F0 .561(The arithmetic e)5.061 F(xpression)-.15 -E F2 -.2(ex)3.061 G(pr2).2 E F0 .562(is then e)3.062 F -.25(va)-.25 G -.562(luated repeatedly until).25 F .592(it e)144 662.4 R -.25(va)-.25 G -.592(luates to zero.).25 F .592(Each time)5.592 F F2 -.2(ex)3.092 G(pr2) +(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 1.235(First, the arithmetic e) +144 655.2 R(xpression)-.15 E F2 -.2(ex)3.735 G(pr1).2 E F0 1.235(is e) +3.735 F -.25(va)-.25 G 1.236 +(luated according to the rules described belo).25 F 3.736(wu)-.25 G +(nder)-3.736 E F3 .562(ARITHMETIC EV)144 667.2 R(ALU)-1.215 E -.855(AT) +-.54 G(ION).855 E F4(.)A F0 .562(The arithmetic e)5.062 F(xpression)-.15 +E F2 -.2(ex)3.062 G(pr2).2 E F0 .561(is then e)3.061 F -.25(va)-.25 G +.561(luated repeatedly until).25 F .591(it e)144 679.2 R -.25(va)-.25 G +.591(luates to zero.).25 F .592(Each time)5.591 F F2 -.2(ex)3.092 G(pr2) .2 E F0 -.25(eva)3.092 G .592(luates to a non-zero v).25 F(alue,)-.25 E -F2(list)3.092 E F0 .591(is e)3.092 F -.15(xe)-.15 G .591 -(cuted and the arith-).15 F .228(metic e)144 674.4 R(xpression)-.15 E F2 --.2(ex)2.728 G(pr3).2 E F0 .229(is e)2.728 F -.25(va)-.25 G 2.729 +F2(list)3.092 E F0 .592(is e)3.092 F -.15(xe)-.15 G .592 +(cuted and the arith-).15 F .229(metic e)144 691.2 R(xpression)-.15 E F2 +-.2(ex)2.729 G(pr3).2 E F0 .229(is e)2.729 F -.25(va)-.25 G 2.729 (luated. If).25 F(an)2.729 E 2.729(ye)-.15 G .229 (xpression is omitted, it beha)-2.879 F -.15(ve)-.2 G 2.729(sa).15 G -2.729(si)-2.729 G 2.729(fi)-2.729 G 2.729(te)-2.729 G -.25(va)-2.979 G -.229(luates to 1.).25 F .228(The return v)144 686.4 R .228 -(alue is the e)-.25 F .228(xit status of the last command in)-.15 F F2 -(list)2.728 E F0 .227(that is e)2.728 F -.15(xe)-.15 G .227(cuted, or f) -.15 F .227(alse if an)-.1 F 2.727(yo)-.15 G 2.727(ft)-2.727 G(he)-2.727 -E -.15(ex)144 698.4 S(pressions is in).15 E -.25(va)-.4 G(lid.).25 E -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(5)203.445 E 0 Cg EP +2.729(si)-2.729 G 2.729(fi)-2.729 G 2.728(te)-2.729 G -.25(va)-2.978 G +.228(luates to 1.).25 F .227(The return v)144 703.2 R .227 +(alue is the e)-.25 F .227(xit status of the last command in)-.15 F F2 +(list)2.728 E F0 .228(that is e)2.728 F -.15(xe)-.15 G .228(cuted, or f) +.15 F .228(alse if an)-.1 F 2.728(yo)-.15 G 2.728(ft)-2.728 G(he)-2.728 +E -.15(ex)144 715.2 S(pressions is in).15 E -.25(va)-.4 G(lid.).25 E +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(5)202.335 E 0 Cg EP %%Page: 6 6 %%BeginPageSetup BP @@ -833,502 +841,511 @@ BP /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) -.35 E/F1 10/Times-Bold@0 SF(select)108 84 Q/F2 10/Times-Italic@0 SF (name)2.5 E F0([)2.5 E F1(in)2.5 E F2(wor)2.5 E(d)-.37 E F0 2.5(];)2.5 G -F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 .432(The list of w)144 -96 R .432(ords follo)-.1 F(wing)-.25 E F1(in)2.932 E F0 .432(is e)2.932 -F .432(xpanded, generating a list of items.)-.15 F .433(The set of e) -5.433 F .433(xpanded w)-.15 F(ords)-.1 E .843 +F1(do)A F2(list)2.5 E F0(;)2.5 E F1(done)2.5 E F0 .433(The list of w)144 +96 R .433(ords follo)-.1 F(wing)-.25 E F1(in)2.933 E F0 .432(is e)2.933 +F .432(xpanded, generating a list of items.)-.15 F .432(The set of e) +5.432 F .432(xpanded w)-.15 F(ords)-.1 E .842 (is printed on the standard error)144 108 R 3.342(,e)-.4 G .842 (ach preceded by a number)-3.342 F 5.842(.I)-.55 G 3.342(ft)-5.842 G(he) --3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .842 -(is omitted, the posi-)3.342 F .064(tional parameters are printed \(see) +-3.342 E F1(in)3.342 E F2(wor)3.342 E(d)-.37 E F0 .843 +(is omitted, the posi-)3.343 F .064(tional parameters are printed \(see) 144 120 R/F3 9/Times-Bold@0 SF -.666(PA)2.564 G(RAMETERS).666 E F0(belo) 2.314 E 2.564(w\). The)-.25 F F1(PS3)2.564 E F0 .064 -(prompt is then displayed and a)2.564 F .214 +(prompt is then displayed and a)2.564 F .213 (line read from the standard input.)144 132 R .213 -(If the line consists of a number corresponding to one of the dis-)5.214 -F 1.537(played w)144 144 R 1.537(ords, then the v)-.1 F 1.537(alue of) --.25 F F2(name)4.397 E F0 1.537(is set to that w)4.217 F 4.037(ord. If) --.1 F 1.538(the line is empty)4.038 F 4.038(,t)-.65 G 1.538(he w)-4.038 -F 1.538(ords and)-.1 F .066(prompt are displayed ag)144 156 R 2.566 -(ain. If)-.05 F .065(EOF is read, the command completes.)2.566 F(An) -5.065 E 2.565(yo)-.15 G .065(ther v)-2.565 F .065(alue read causes)-.25 -F F2(name)144 168 Q F0 .759(to be set to null.)3.439 F .759 -(The line read is sa)5.759 F -.15(ve)-.2 G 3.26(di).15 G 3.26(nt)-3.26 G -.76(he v)-3.26 F(ariable)-.25 E F1(REPL)3.26 E(Y)-.92 E F0 5.76(.T)C(he) --5.76 E F2(list)3.35 E F0 .76(is e)3.94 F -.15(xe)-.15 G .76 -(cuted after).15 F .072(each selection until a)144 180 R F1(br)2.571 E -(eak)-.18 E F0 .071(command is e)2.571 F -.15(xe)-.15 G 2.571 +(If the line consists of a number corresponding to one of the dis-)5.213 +F 1.538(played w)144 144 R 1.538(ords, then the v)-.1 F 1.538(alue of) +-.25 F F2(name)4.398 E F0 1.537(is set to that w)4.218 F 4.037(ord. If) +-.1 F 1.537(the line is empty)4.037 F 4.037(,t)-.65 G 1.537(he w)-4.037 +F 1.537(ords and)-.1 F .065(prompt are displayed ag)144 156 R 2.565 +(ain. If)-.05 F .065(EOF is read, the command completes.)2.565 F(An) +5.066 E 2.566(yo)-.15 G .066(ther v)-2.566 F .066(alue read causes)-.25 +F F2(name)144 168 Q F0 .76(to be set to null.)3.44 F .76 +(The line read is sa)5.76 F -.15(ve)-.2 G 3.259(di).15 G 3.259(nt)-3.259 +G .759(he v)-3.259 F(ariable)-.25 E F1(REPL)3.259 E(Y)-.92 E F0 5.759 +(.T)C(he)-5.759 E F2(list)3.349 E F0 .759(is e)3.939 F -.15(xe)-.15 G +.759(cuted after).15 F .071(each selection until a)144 180 R F1(br)2.571 +E(eak)-.18 E F0 .071(command is e)2.571 F -.15(xe)-.15 G 2.571 (cuted. The).15 F -.15(ex)2.571 G .071(it status of).15 F F1(select) -2.571 E F0 .071(is the e)2.571 F .071(xit status of the)-.15 F +2.571 E F0 .071(is the e)2.571 F .072(xit status of the)-.15 F (last command e)144 192 Q -.15(xe)-.15 G(cuted in).15 E F2(list)2.5 E F0 2.5(,o).68 G 2.5(rz)-2.5 G(ero if no commands were e)-2.5 E -.15(xe)-.15 G(cuted.).15 E F1(case)108 208.8 Q F2(wor)2.5 E(d)-.37 E F1(in)2.5 E F0 2.5([[)2.5 G(\(])-2.5 E F2(pattern)2.5 E F0([)2.5 E F1(|)2.5 E F2 (pattern)2.5 E F0 2.5(].)2.5 G(.. \))-2.5 E F2(list)2.5 E F0(;; ] ...) -2.5 E F1(esac)2.5 E F0(A)144 220.8 Q F1(case)3.264 E F0 .764 -(command \214rst e)3.264 F(xpands)-.15 E F2(wor)3.264 E(d)-.37 E F0 +2.5 E F1(esac)2.5 E F0(A)144 220.8 Q F1(case)3.265 E F0 .764 +(command \214rst e)3.265 F(xpands)-.15 E F2(wor)3.264 E(d)-.37 E F0 3.264(,a)C .764(nd tries to match it ag)-3.264 F .764(ainst each)-.05 F -F2(pattern)3.264 E F0 .765(in turn, using the)3.264 F .596 +F2(pattern)3.264 E F0 .764(in turn, using the)3.264 F .595 (same matching rules as for pathname e)144 232.8 R .595(xpansion \(see) --.15 F F1 -.1(Pa)3.095 G .595(thname Expansion).1 F F0(belo)3.095 E -3.095(w\). The)-.25 F F2(wor)3.095 E(d)-.37 E F0(is)3.095 E -.15(ex)144 +-.15 F F1 -.1(Pa)3.095 G .596(thname Expansion).1 F F0(belo)3.096 E +3.096(w\). The)-.25 F F2(wor)3.096 E(d)-.37 E F0(is)3.096 E -.15(ex)144 244.8 S 1.092(panded using tilde e).15 F 1.092 (xpansion, parameter and v)-.15 F 1.092(ariable e)-.25 F 1.092 (xpansion, arithmetic substitution, com-)-.15 F 1.268 (mand substitution, process substitution and quote remo)144 256.8 R -.25 (va)-.15 G 3.768(l. Each).25 F F2(pattern)3.768 E F0 -.15(ex)3.768 G -1.268(amined is e).15 F(xpanded)-.15 E .353(using tilde e)144 268.8 R +1.269(amined is e).15 F(xpanded)-.15 E .353(using tilde e)144 268.8 R .353(xpansion, parameter and v)-.15 F .353(ariable e)-.25 F .353 -(xpansion, arithmetic substitution, command substi-)-.15 F 1.517 -(tution, and process substitution.)144 280.8 R 1.517 -(If the shell option)6.517 F F1(nocasematch)4.016 E F0 1.516 -(is enabled, the match is per)4.016 F(-)-.2 E 1.346(formed without re) -144 292.8 R -.05(ga)-.15 G 1.346 -(rd to the case of alphabetic characters.).05 F 1.347 +(xpansion, arithmetic substitution, command substi-)-.15 F 1.516 +(tution, and process substitution.)144 280.8 R 1.516 +(If the shell option)6.516 F F1(nocasematch)4.016 E F0 1.517 +(is enabled, the match is per)4.017 F(-)-.2 E 1.347(formed without re) +144 292.8 R -.05(ga)-.15 G 1.347 +(rd to the case of alphabetic characters.).05 F 1.346 (When a match is found, the corre-)6.347 F(sponding)144 304.8 Q F2(list) -3.58 E F0 1.08(is e)3.58 F -.15(xe)-.15 G 3.58(cuted. After).15 F 1.079 -(the \214rst match, no subsequent matches are attempted.)3.579 F 1.079 -(The e)6.079 F(xit)-.15 E .006(status is zero if no pattern matches.)144 -316.8 R .006(Otherwise, it is the e)5.006 F .006 -(xit status of the last command e)-.15 F -.15(xe)-.15 G .007(cuted in) -.15 F F2(list)144 328.8 Q F0(.)A F1(if)108 345.6 Q F2(list)2.5 E F0(;)A -F1(then)2.5 E F2(list;)2.5 E F0([)2.5 E F1(elif)2.5 E F2(list)2.5 E F0 -(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;].)C(.. [)-2.5 E F1(else)2.5 E -F2(list)2.5 E F0 2.5(;])C F1<8c>A F0(The)144 357.6 Q F1(if)2.978 E F2 -(list)3.068 E F0 .478(is e)3.658 F -.15(xe)-.15 G 2.978(cuted. If).15 F -.478(its e)2.978 F .478(xit status is zero, the)-.15 F F1(then)2.978 E -F2(list)2.978 E F0 .478(is e)2.978 F -.15(xe)-.15 G 2.978 -(cuted. Otherwise,).15 F(each)2.978 E F1(elif)2.977 E F2(list)2.977 E F0 -1.087(is e)144 369.6 R -.15(xe)-.15 G 1.087(cuted in turn, and if its e) -.15 F 1.087(xit status is zero, the corresponding)-.15 F F1(then)3.587 E -F2(list)3.587 E F0 1.088(is e)3.588 F -.15(xe)-.15 G 1.088 -(cuted and the).15 F .104(command completes.)144 381.6 R .103 -(Otherwise, the)5.104 F F1(else)2.603 E F2(list)2.603 E F0 .103(is e) -2.603 F -.15(xe)-.15 G .103(cuted, if present.).15 F .103(The e)5.103 F -.103(xit status is the e)-.15 F .103(xit sta-)-.15 F -(tus of the last command e)144 393.6 Q -.15(xe)-.15 G -(cuted, or zero if no condition tested true.).15 E F1(while)108 410.4 Q -F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list)2.5 E F0(;)A F1(done)2.5 E -(until)108 422.4 Q F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list)2.5 E F0(;)A -F1(done)2.5 E F0(The)144 434.4 Q F1(while)3.103 E F0 .603 -(command continuously e)3.103 F -.15(xe)-.15 G .603(cutes the).15 F F1 +2.776 E F0 .277(is e)2.776 F -.15(xe)-.15 G 2.777(cuted. If).15 F(the) +2.777 E F1(;;)2.777 E F0 .277 +(operator is used, no subsequent matches are attempted after the)2.777 F +.849(\214rst pattern match.)144 316.8 R(Using)5.849 E F1(;&)3.349 E F0 +.849(in place of)3.349 F F1(;;)3.349 E F0 .849(causes e)3.349 F -.15(xe) +-.15 G .849(cution to continue with the).15 F F2(list)3.348 E F0 +(associated)3.348 E .077(with the ne)144 328.8 R .077 +(xt set of patterns.)-.15 F(Using)5.077 E F1(;;&)2.577 E F0 .078 +(in place of)2.577 F F1(;;)2.578 E F0 .078 +(causes the shell to test the ne)2.578 F .078(xt pattern list in)-.15 F +.227(the statement, if an)144 340.8 R 1.527 -.65(y, a)-.15 H .227(nd e) +.65 F -.15(xe)-.15 G .227(cute an).15 F 2.727(ya)-.15 G(ssociated)-2.727 +E F2(list)2.727 E F0 .227(on a successful match.)2.727 F .227(The e) +5.227 F .227(xit status is zero)-.15 F(if no pattern matches.)144 352.8 +Q(Otherwise, it is the e)5 E(xit status of the last command e)-.15 E +-.15(xe)-.15 G(cuted in).15 E F2(list)2.5 E F0(.)A F1(if)108 369.6 Q F2 +(list)2.5 E F0(;)A F1(then)2.5 E F2(list;)2.5 E F0([)2.5 E F1(elif)2.5 E +F2(list)2.5 E F0(;)A F1(then)2.5 E F2(list)2.5 E F0 2.5(;].)C(.. [)-2.5 +E F1(else)2.5 E F2(list)2.5 E F0 2.5(;])C F1<8c>A F0(The)144 381.6 Q F1 +(if)2.977 E F2(list)3.067 E F0 .478(is e)3.658 F -.15(xe)-.15 G 2.978 +(cuted. If).15 F .478(its e)2.978 F .478(xit status is zero, the)-.15 F +F1(then)2.978 E F2(list)2.978 E F0 .478(is e)2.978 F -.15(xe)-.15 G +2.978(cuted. Otherwise,).15 F(each)2.978 E F1(elif)2.978 E F2(list)2.978 +E F0 1.088(is e)144 393.6 R -.15(xe)-.15 G 1.088 +(cuted in turn, and if its e).15 F 1.087 +(xit status is zero, the corresponding)-.15 F F1(then)3.587 E F2(list) +3.587 E F0 1.087(is e)3.587 F -.15(xe)-.15 G 1.087(cuted and the).15 F +.103(command completes.)144 405.6 R .103(Otherwise, the)5.103 F F1(else) +2.603 E F2(list)2.603 E F0 .103(is e)2.603 F -.15(xe)-.15 G .103 +(cuted, if present.).15 F .103(The e)5.103 F .103(xit status is the e) +-.15 F .104(xit sta-)-.15 F(tus of the last command e)144 417.6 Q -.15 +(xe)-.15 G(cuted, or zero if no condition tested true.).15 E F1(while) +108 434.4 Q F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list)2.5 E F0(;)A F1 +(done)2.5 E(until)108 446.4 Q F2(list)2.5 E F0(;)A F1(do)2.5 E F2(list) +2.5 E F0(;)A F1(done)2.5 E F0(The)144 458.4 Q F1(while)3.104 E F0 .603 +(command continuously e)3.104 F -.15(xe)-.15 G .603(cutes the).15 F F1 (do)3.103 E F2(list)3.103 E F0 .603(as long as the last command in)3.103 -F F2(list)3.104 E F0(returns)3.104 E .471(an e)144 446.4 R .471 -(xit status of zero.)-.15 F(The)5.471 E F1(until)2.971 E F0 .471 -(command is identical to the)2.971 F F1(while)2.97 E F0 .47(command, e) -2.97 F .47(xcept that the test)-.15 F .095(is ne)144 458.4 R -.05(ga) --.15 G .095(ted; the).05 F F1(do)2.595 E F2(list)2.685 E F0 .095(is e) -3.275 F -.15(xe)-.15 G .095(cuted as long as the last command in).15 F -F2(list)2.685 E F0 .096(returns a non-zero e)3.276 F .096(xit status.) --.15 F 1.307(The e)144 470.4 R 1.307(xit status of the)-.15 F F1(while) -3.807 E F0(and)3.807 E F1(until)3.807 E F0 1.307(commands is the e)3.807 -F 1.306(xit status of the last)-.15 F F1(do)3.806 E F2(list)3.806 E F0 -(command)3.806 E -.15(exe)144 482.4 S(cuted, or zero if none w).15 E +F F2(list)3.103 E F0(returns)3.103 E .47(an e)144 470.4 R .47 +(xit status of zero.)-.15 F(The)5.47 E F1(until)2.97 E F0 .471 +(command is identical to the)2.97 F F1(while)2.971 E F0 .471(command, e) +2.971 F .471(xcept that the test)-.15 F .096(is ne)144 482.4 R -.05(ga) +-.15 G .096(ted; the).05 F F1(do)2.596 E F2(list)2.686 E F0 .095(is e) +3.276 F -.15(xe)-.15 G .095(cuted as long as the last command in).15 F +F2(list)2.685 E F0 .095(returns a non-zero e)3.275 F .095(xit status.) +-.15 F 1.306(The e)144 494.4 R 1.306(xit status of the)-.15 F F1(while) +3.806 E F0(and)3.806 E F1(until)3.807 E F0 1.307(commands is the e)3.807 +F 1.307(xit status of the last)-.15 F F1(do)3.807 E F2(list)3.807 E F0 +(command)3.807 E -.15(exe)144 506.4 S(cuted, or zero if none w).15 E (as e)-.1 E -.15(xe)-.15 G(cuted.).15 E F1(Shell Function De\214nitions) -87 499.2 Q F0 2.697(As)108 511.2 S .198 -(hell function is an object that is called lik)-2.697 F 2.698(eas)-.1 G -.198(imple command and e)-2.698 F -.15(xe)-.15 G .198 -(cutes a compound command with).15 F 2.5(an)108 523.2 S .5 -.25(ew s) +87 523.2 Q F0 2.698(As)108 535.2 S .198 +(hell function is an object that is called lik)-2.698 F 2.698(eas)-.1 G +.198(imple command and e)-2.698 F -.15(xe)-.15 G .197 +(cutes a compound command with).15 F 2.5(an)108 547.2 S .5 -.25(ew s) -2.5 H(et of positional parameters.).25 E -(Shell functions are declared as follo)5 E(ws:)-.25 E([)108 540 Q F1 +(Shell functions are declared as follo)5 E(ws:)-.25 E([)108 564 Q F1 (function)2.5 E F0(])2.5 E F2(name)2.5 E F0(\(\))2.5 E F2 (compound\255command)2.5 E F0([)2.5 E F2 -.37(re)C(dir).37 E(ection)-.37 -E F0(])A 1.403(This de\214nes a function named)144 552 R F2(name)3.902 E +E F0(])A 1.402(This de\214nes a function named)144 576 R F2(name)3.902 E F0 6.402(.T)C 1.402(he reserv)-6.402 F 1.402(ed w)-.15 F(ord)-.1 E F1 -(function)3.902 E F0 1.402(is optional.)3.902 F 1.402(If the)6.402 F F1 -(function)3.902 E F0(reserv)144 564 Q .162(ed w)-.15 F .162 +(function)3.902 E F0 1.402(is optional.)3.902 F 1.403(If the)6.402 F F1 +(function)3.903 E F0(reserv)144 588 Q .162(ed w)-.15 F .162 (ord is supplied, the parentheses are optional.)-.1 F(The)5.162 E F2 (body)2.662 E F0 .162(of the function is the compound)2.662 F(command) -144 576 Q F2(compound\255command)2.784 E F0(\(see)3.354 E F1 .084 +144 600 Q F2(compound\255command)2.784 E F0(\(see)3.354 E F1 .084 (Compound Commands)2.584 F F0(abo)2.584 E -.15(ve)-.15 G 2.584(\). That) -.15 F .084(command is usually a)2.584 F F2(list)144 588 Q F0 .044 +.15 F .084(command is usually a)2.584 F F2(list)144 612 Q F0 .044 (of commands between { and }, b)2.544 F .044(ut may be an)-.2 F 2.544 (yc)-.15 G .044(ommand listed under)-2.544 F F1 .044(Compound Commands) -2.544 F F0(abo)144 600 Q -.15(ve)-.15 G(.).15 E F2(compound\255command) -6.671 E F0 1.671(is e)4.171 F -.15(xe)-.15 G 1.671(cuted whene).15 F --.15(ve)-.25 G(r).15 E F2(name)4.171 E F0 1.671 -(is speci\214ed as the name of a simple)4.171 F 3.008(command. An)144 -612 R 3.009(yr)-.15 G .509(edirections \(see)-3.009 F F3(REDIRECTION) +2.544 F F0(abo)144 624 Q -.15(ve)-.15 G(.).15 E F2(compound\255command) +6.67 E F0 1.67(is e)4.17 F -.15(xe)-.15 G 1.671(cuted whene).15 F -.15 +(ve)-.25 G(r).15 E F2(name)4.171 E F0 1.671 +(is speci\214ed as the name of a simple)4.171 F 3.009(command. An)144 +636 R 3.009(yr)-.15 G .509(edirections \(see)-3.009 F F3(REDIRECTION) 3.009 E F0(belo)2.759 E .509 -(w\) speci\214ed when a function is de\214ned are)-.25 F .581 -(performed when the function is e)144 624 R -.15(xe)-.15 G 3.081 -(cuted. The).15 F -.15(ex)3.081 G .58 +(w\) speci\214ed when a function is de\214ned are)-.25 F .58 +(performed when the function is e)144 648 R -.15(xe)-.15 G 3.08 +(cuted. The).15 F -.15(ex)3.081 G .581 (it status of a function de\214nition is zero unless a).15 F .177(synta\ x error occurs or a readonly function with the same name already e)144 -636 R 2.678(xists. When)-.15 F -.15(exe)2.678 G .178(cuted, the).15 F --.15(ex)144 648 S .64(it status of a function is the e).15 F .64 +660 R 2.677(xists. When)-.15 F -.15(exe)2.677 G .177(cuted, the).15 F +-.15(ex)144 672 S .64(it status of a function is the e).15 F .64 (xit status of the last command e)-.15 F -.15(xe)-.15 G .64 (cuted in the body).15 F 5.64(.\()-.65 G(See)-5.64 E F3(FUNC-)3.14 E -(TIONS)144 660 Q F0(belo)2.25 E -.65(w.)-.25 G(\)).65 E/F4 10.95 -/Times-Bold@0 SF(COMMENTS)72 676.8 Q F0 .982(In a non-interacti)108 -688.8 R 1.282 -.15(ve s)-.25 H .982(hell, or an interacti).15 F 1.282 +(TIONS)144 684 Q F0(belo)2.25 E -.65(w.)-.25 G(\)).65 E/F4 10.95 +/Times-Bold@0 SF(COMMENTS)72 700.8 Q F0 .982(In a non-interacti)108 +712.8 R 1.282 -.15(ve s)-.25 H .982(hell, or an interacti).15 F 1.282 -.15(ve s)-.25 H .982(hell in which the).15 F F1(interacti)3.482 E -.1 (ve)-.1 G(_comments).1 E F0 .982(option to the)3.482 F F1(shopt)3.482 E -F0 -.2(bu)108 700.8 S .952(iltin is enabled \(see).2 F F3 .952(SHELL B) -3.452 F(UIL)-.09 E .952(TIN COMMANDS)-.828 F F0(belo)3.202 E .952 -(w\), a w)-.25 F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.451 E -F0 .951(causes that w)3.451 F(ord)-.1 E .604 -(and all remaining characters on that line to be ignored.)108 712.8 R -.605(An interacti)5.605 F .905 -.15(ve s)-.25 H .605(hell without the) -.15 F F1(interacti)3.105 E -.1(ve)-.1 G(_com-).1 E(ments)108 724.8 Q F0 -1.337(option enabled does not allo)3.837 F 3.837(wc)-.25 G 3.836 -(omments. The)-3.837 F F1(interacti)3.836 E -.1(ve)-.1 G(_comments).1 E -F0 1.336(option is on by def)3.836 F 1.336(ault in)-.1 F(GNU Bash-3.2)72 -768 Q(2008 April 5)148.455 E(6)203.445 E 0 Cg EP +F0 -.2(bu)108 724.8 S .951(iltin is enabled \(see).2 F F3 .952(SHELL B) +3.451 F(UIL)-.09 E .952(TIN COMMANDS)-.828 F F0(belo)3.202 E .952 +(w\), a w)-.25 F .952(ord be)-.1 F .952(ginning with)-.15 F F1(#)3.452 E +F0 .952(causes that w)3.452 F(ord)-.1 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(6)202.335 E 0 Cg EP %%Page: 7 7 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(interacti)108 84 Q .3 -.15(ve s)-.25 H(hells.).15 E/F1 10.95 -/Times-Bold@0 SF -.11(QU)72 100.8 S -.438(OT).11 G(ING).438 E/F2 10 -/Times-Italic@0 SF(Quoting)108 112.8 Q F0 .477(is used to remo)2.977 F +-.35 E .605(and all remaining characters on that line to be ignored.)108 +84 R .604(An interacti)5.605 F .904 -.15(ve s)-.25 H .604 +(hell without the).15 F/F1 10/Times-Bold@0 SF(interacti)3.104 E -.1(ve) +-.1 G(_com-).1 E(ments)108 96 Q F0 1.336(option enabled does not allo) +3.836 F 3.836(wc)-.25 G 3.836(omments. The)-3.836 F F1(interacti)3.836 E +-.1(ve)-.1 G(_comments).1 E F0 1.337(option is on by def)3.837 F 1.337 +(ault in)-.1 F(interacti)108 108 Q .3 -.15(ve s)-.25 H(hells.).15 E/F2 +10.95/Times-Bold@0 SF -.11(QU)72 124.8 S -.438(OT).11 G(ING).438 E/F3 10 +/Times-Italic@0 SF(Quoting)108 136.8 Q F0 .478(is used to remo)2.978 F .777 -.15(ve t)-.15 H .477 (he special meaning of certain characters or w).15 F .477 -(ords to the shell.)-.1 F .478(Quoting can be)5.478 F .185 +(ords to the shell.)-.1 F .477(Quoting can be)5.477 F .184 (used to disable special treatment for special characters, to pre)108 -124.8 R -.15(ve)-.25 G .185(nt reserv).15 F .184(ed w)-.15 F .184 -(ords from being recognized as)-.1 F(such, and to pre)108 136.8 Q -.15 -(ve)-.25 G(nt parameter e).15 E(xpansion.)-.15 E .288(Each of the)108 -153.6 R F2(metac)2.788 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288 -(listed abo)2.788 F .588 -.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 +148.8 R -.15(ve)-.25 G .185(nt reserv).15 F .185(ed w)-.15 F .185 +(ords from being recognized as)-.1 F(such, and to pre)108 160.8 Q -.15 +(ve)-.25 G(nt parameter e).15 E(xpansion.)-.15 E .289(Each of the)108 +177.6 R F3(metac)2.789 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 .288 +(listed abo)2.789 F .588 -.15(ve u)-.15 H(nder).15 E/F4 9/Times-Bold@0 SF(DEFINITIONS)2.788 E F0 .288 (has special meaning to the shell and must be)2.538 F -(quoted if it is to represent itself.)108 165.6 Q 1.345 -(When the command history e)108 182.4 R 1.344(xpansion f)-.15 F 1.344 -(acilities are being used \(see)-.1 F F3(HIST)3.844 E(OR)-.162 E 3.594 -(YE)-.315 G(XP)-3.594 E(ANSION)-.666 E F0(belo)3.594 E 1.344(w\), the) --.25 F F2(history e)108 194.4 Q(xpansion)-.2 E F0(character)2.5 E 2.5 -(,u)-.4 G(sually)-2.5 E/F4 10/Times-Bold@0 SF(!)2.5 E F0 2.5(,m)C -(ust be quoted to pre)-2.5 E -.15(ve)-.25 G(nt history e).15 E -(xpansion.)-.15 E(There are three quoting mechanisms: the)108 211.2 Q F2 -(escape c)2.5 E(har)-.15 E(acter)-.15 E F0 2.5(,s).73 G -(ingle quotes, and double quotes.)-2.5 E 2.974(An)108 228 S .474 -(on-quoted backslash \()-2.974 F F4(\\)A F0 2.974(\)i)C 2.974(st)-2.974 -G(he)-2.974 E F2 .474(escape c)2.974 F(har)-.15 E(acter)-.15 E F0 5.474 +(quoted if it is to represent itself.)108 189.6 Q 1.344 +(When the command history e)108 206.4 R 1.344(xpansion f)-.15 F 1.344 +(acilities are being used \(see)-.1 F F4(HIST)3.844 E(OR)-.162 E 3.594 +(YE)-.315 G(XP)-3.594 E(ANSION)-.666 E F0(belo)3.595 E 1.345(w\), the) +-.25 F F3(history e)108 218.4 Q(xpansion)-.2 E F0(character)2.5 E 2.5 +(,u)-.4 G(sually)-2.5 E F1(!)2.5 E F0 2.5(,m)C(ust be quoted to pre)-2.5 +E -.15(ve)-.25 G(nt history e).15 E(xpansion.)-.15 E +(There are three quoting mechanisms: the)108 235.2 Q F3(escape c)2.5 E +(har)-.15 E(acter)-.15 E F0 2.5(,s).73 G +(ingle quotes, and double quotes.)-2.5 E 2.975(An)108 252 S .475 +(on-quoted backslash \()-2.975 F F1(\\)A F0 2.974(\)i)C 2.974(st)-2.974 +G(he)-2.974 E F3 .474(escape c)2.974 F(har)-.15 E(acter)-.15 E F0 5.474 (.I).73 G 2.974(tp)-5.474 G(reserv)-2.974 E .474(es the literal v)-.15 F -.474(alue of the ne)-.25 F .475(xt character that)-.15 F(follo)108 240 Q -1.554(ws, with the e)-.25 F 1.553(xception of <ne)-.15 F 4.053 -(wline>. If)-.25 F(a)4.053 E F4(\\)4.053 E F0(<ne)A 1.553 -(wline> pair appears, and the backslash is not itself)-.25 F 1.122 -(quoted, the)108 252 R F4(\\)3.622 E F0(<ne)A 1.122 +.474(alue of the ne)-.25 F .474(xt character that)-.15 F(follo)108 264 Q +1.553(ws, with the e)-.25 F 1.553(xception of <ne)-.15 F 4.053 +(wline>. If)-.25 F(a)4.053 E F1(\\)4.053 E F0(<ne)A 1.553 +(wline> pair appears, and the backslash is not itself)-.25 F 1.123 +(quoted, the)108 276 R F1(\\)3.623 E F0(<ne)A 1.122 (wline> is treated as a line continuation \(that is, it is remo)-.25 F --.15(ve)-.15 G 3.622(df).15 G 1.123(rom the input stream and)-3.622 F -(ef)108 264 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295 -(Enclosing characters in single quotes preserv)108 280.8 R .295 +-.15(ve)-.15 G 3.622(df).15 G 1.122(rom the input stream and)-3.622 F +(ef)108 288 Q(fecti)-.25 E -.15(ve)-.25 G(ly ignored\).).15 E .295 +(Enclosing characters in single quotes preserv)108 304.8 R .295 (es the literal v)-.15 F .295(alue of each character within the quotes.) -.25 F 2.795(As)5.295 G(in-)-2.795 E -(gle quote may not occur between single quotes, e)108 292.8 Q -.15(ve) --.25 G 2.5(nw).15 G(hen preceded by a backslash.)-2.5 E .033 -(Enclosing characters in double quotes preserv)108 309.6 R .034 +(gle quote may not occur between single quotes, e)108 316.8 Q -.15(ve) +-.25 G 2.5(nw).15 G(hen preceded by a backslash.)-2.5 E .034 +(Enclosing characters in double quotes preserv)108 333.6 R .034 (es the literal v)-.15 F .034 (alue of all characters within the quotes, with the)-.25 F -.15(ex)108 -321.6 S .828(ception of).15 F F4($)3.328 E F0(,)A F4<92>3.328 E F0(,)A -F4(\\)3.328 E F0 3.328(,a)C .828(nd, when history e)-3.328 F .828 -(xpansion is enabled,)-.15 F F4(!)3.328 E F0 5.828(.T)C .828 -(he characters)-5.828 F F4($)3.328 E F0(and)3.328 E F4<92>3.328 E F0 -.827(retain their special)3.328 F .074(meaning within double quotes.)108 -333.6 R .074(The backslash retains its special meaning only when follo) -5.074 F .075(wed by one of the)-.25 F(follo)108 345.6 Q .205 -(wing characters:)-.25 F F4($)2.705 E F0(,)A F4<92>2.705 E F0(,)A F4(") -3.538 E F0(,).833 E F4(\\)2.705 E F0 2.705(,o)C(r)-2.705 E F4(<newline>) -2.705 E F0 5.205(.A)C .204 -(double quote may be quoted within double quotes by pre-)-2.5 F .081 -(ceding it with a backslash.)108 357.6 R .082(If enabled, history e) -5.082 F .082(xpansion will be performed unless an)-.15 F F4(!)2.582 E F0 -.082(appearing in double)5.082 F(quotes is escaped using a backslash.) -108 369.6 Q(The backslash preceding the)5 E F4(!)2.5 E F0(is not remo)5 -E -.15(ve)-.15 G(d.).15 E(The special parameters)108 386.4 Q F4(*)2.5 E -F0(and)2.5 E F4(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H -(pecial meaning when in double quotes \(see).15 E F3 -.666(PA)2.5 G -(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108 403.2 S .212 -(rds of the form).8 F F4($)2.712 E F0<08>A F2(string)A F0 2.712<0861>C -.211(re treated specially)-2.712 F 5.211(.T)-.65 G .211(he w)-5.211 F -.211(ord e)-.1 F .211(xpands to)-.15 F F2(string)2.711 E F0 2.711(,w)C -.211(ith backslash-escaped char)-2.711 F(-)-.2 E .604 -(acters replaced as speci\214ed by the ANSI C standard.)108 415.2 R .605 +345.6 S .827(ception of).15 F F1($)3.327 E F0(,)A F1<92>3.328 E F0(,)A +F1(\\)3.328 E F0 3.328(,a)C .828(nd, when history e)-3.328 F .828 +(xpansion is enabled,)-.15 F F1(!)3.328 E F0 5.828(.T)C .828 +(he characters)-5.828 F F1($)3.328 E F0(and)3.328 E F1<92>3.328 E F0 +.828(retain their special)3.328 F .075(meaning within double quotes.)108 +357.6 R .074(The backslash retains its special meaning only when follo) +5.075 F .074(wed by one of the)-.25 F(follo)108 369.6 Q .204 +(wing characters:)-.25 F F1($)2.704 E F0(,)A F1<92>2.704 E F0(,)A F1(") +3.537 E F0(,).833 E F1(\\)2.704 E F0 2.704(,o)C(r)-2.704 E F1(<newline>) +2.705 E F0 5.205(.A)C .205 +(double quote may be quoted within double quotes by pre-)-2.5 F .082 +(ceding it with a backslash.)108 381.6 R .082(If enabled, history e) +5.082 F .082(xpansion will be performed unless an)-.15 F F1(!)2.581 E F0 +.081(appearing in double)5.081 F(quotes is escaped using a backslash.) +108 393.6 Q(The backslash preceding the)5 E F1(!)2.5 E F0(is not remo)5 +E -.15(ve)-.15 G(d.).15 E(The special parameters)108 410.4 Q F1(*)2.5 E +F0(and)2.5 E F1(@)2.5 E F0(ha)2.5 E .3 -.15(ve s)-.2 H +(pecial meaning when in double quotes \(see).15 E F4 -.666(PA)2.5 G +(RAMETERS).666 E F0(belo)2.25 E(w\).)-.25 E -.8(Wo)108 427.2 S .211 +(rds of the form).8 F F1($)2.711 E F0<08>A F3(string)A F0 2.711<0861>C +.211(re treated specially)-2.711 F 5.211(.T)-.65 G .211(he w)-5.211 F +.211(ord e)-.1 F .212(xpands to)-.15 F F3(string)2.712 E F0 2.712(,w)C +.212(ith backslash-escaped char)-2.712 F(-)-.2 E .605 +(acters replaced as speci\214ed by the ANSI C standard.)108 439.2 R .604 (Backslash escape sequences, if present, are decoded)5.605 F(as follo) -108 427.2 Q(ws:)-.25 E F4(\\a)144 439.2 Q F0(alert \(bell\))28.22 E F4 -(\\b)144 451.2 Q F0(backspace)27.66 E F4(\\e)144 463.2 Q F0 -(an escape character)28.78 E F4(\\f)144 475.2 Q F0(form feed)29.89 E F4 -(\\n)144 487.2 Q F0(ne)27.66 E 2.5(wl)-.25 G(ine)-2.5 E F4(\\r)144 499.2 -Q F0(carriage return)28.78 E F4(\\t)144 511.2 Q F0(horizontal tab)29.89 -E F4(\\v)144 523.2 Q F0 -.15(ve)28.22 G(rtical tab).15 E F4(\\\\)144 -535.2 Q F0(backslash)30.44 E F4<5c08>144 547.2 Q F0(single quote)30.44 E -F4(\\)144 559.2 Q F2(nnn)A F0(the eight-bit character whose v)18.22 E -(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 -(\(one to three digits\))2.5 E F4(\\x)144 571.2 Q F2(HH)A F0 +108 451.2 Q(ws:)-.25 E F1(\\a)144 463.2 Q F0(alert \(bell\))28.22 E F1 +(\\b)144 475.2 Q F0(backspace)27.66 E F1(\\e)144 487.2 Q F0 +(an escape character)28.78 E F1(\\f)144 499.2 Q F0(form feed)29.89 E F1 +(\\n)144 511.2 Q F0(ne)27.66 E 2.5(wl)-.25 G(ine)-2.5 E F1(\\r)144 523.2 +Q F0(carriage return)28.78 E F1(\\t)144 535.2 Q F0(horizontal tab)29.89 +E F1(\\v)144 547.2 Q F0 -.15(ve)28.22 G(rtical tab).15 E F1(\\\\)144 +559.2 Q F0(backslash)30.44 E F1<5c08>144 571.2 Q F0(single quote)30.44 E +F1(\\)144 583.2 Q F3(nnn)A F0(the eight-bit character whose v)18.22 E +(alue is the octal v)-.25 E(alue)-.25 E F3(nnn)2.5 E F0 +(\(one to three digits\))2.5 E F1(\\x)144 595.2 Q F3(HH)A F0 (the eight-bit character whose v)13.78 E(alue is the he)-.25 E -(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) --.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F4(\\c)144 583.2 Q F2(x)A F0 2.5 -(ac)24.34 G(ontrol-)-2.5 E F2(x)A F0(character)2.5 E(The e)108 600 Q(xp\ +(xadecimal v)-.15 E(alue)-.25 E F3(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) +-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\c)144 607.2 Q F3(x)A F0 2.5 +(ac)24.34 G(ontrol-)-2.5 E F3(x)A F0(character)2.5 E(The e)108 624 Q(xp\ anded result is single-quoted, as if the dollar sign had not been prese\ -nt.)-.15 E 2.986(Ad)108 616.8 S .486 -(ouble-quoted string preceded by a dollar sign \()-2.986 F F4($)A F0 -2.986(\)w)C .485(ill cause the string to be translated according to the) --2.986 F .117(current locale.)108 628.8 R .117(If the current locale is) -5.117 F F4(C)2.617 E F0(or)2.617 E F4(POSIX)2.617 E F0 2.617(,t)C .118 -(he dollar sign is ignored.)-2.617 F .118 -(If the string is translated and)5.118 F -(replaced, the replacement is double-quoted.)108 640.8 Q F1 -.81(PA)72 -657.6 S(RAMETERS).81 E F0(A)108 669.6 Q F2(par)4.593 E(ameter)-.15 E F0 -.843(is an entity that stores v)4.073 F 3.343(alues. It)-.25 F .843 -(can be a)3.343 F F2(name)3.342 E F0 3.342(,an).18 G(umber)-3.342 E -3.342(,o)-.4 G 3.342(ro)-3.342 G .842(ne of the special characters) --3.342 F .822(listed belo)108 681.6 R 3.323(wu)-.25 G(nder)-3.323 E F4 -.823(Special P)3.323 F(arameters)-.1 E F0 5.823(.A)C F2(variable)-2.21 E -F0 .823(is a parameter denoted by a)3.503 F F2(name)3.323 E F0 5.823(.A) -.18 G -.25(va)-2.5 G .823(riable has a).25 F F2(value)108 693.6 Q F0 -.369(and zero or more)2.869 F F2(attrib)2.869 E(utes)-.2 E F0 5.369(.A)C -(ttrib)-5.369 E .369(utes are assigned using the)-.2 F F4(declar)2.868 E -(e)-.18 E F0 -.2(bu)2.868 G .368(iltin command \(see).2 F F4(declar) -2.868 E(e)-.18 E F0(belo)108 705.6 Q 2.5(wi)-.25 G(n)-2.5 E F3(SHELL B) +nt.)-.15 E 2.985(Ad)108 640.8 S .485 +(ouble-quoted string preceded by a dollar sign \()-2.985 F F1($)A F0 +2.986(\)w)C .486(ill cause the string to be translated according to the) +-2.986 F .118(current locale.)108 652.8 R .118(If the current locale is) +5.118 F F1(C)2.618 E F0(or)2.618 E F1(POSIX)2.618 E F0 2.618(,t)C .117 +(he dollar sign is ignored.)-2.618 F .117 +(If the string is translated and)5.117 F +(replaced, the replacement is double-quoted.)108 664.8 Q F2 -.81(PA)72 +681.6 S(RAMETERS).81 E F0(A)108 693.6 Q F3(par)4.592 E(ameter)-.15 E F0 +.842(is an entity that stores v)4.072 F 3.342(alues. It)-.25 F .842 +(can be a)3.342 F F3(name)3.343 E F0 3.343(,an).18 G(umber)-3.343 E +3.343(,o)-.4 G 3.343(ro)-3.343 G .843(ne of the special characters) +-3.343 F .823(listed belo)108 705.6 R 3.323(wu)-.25 G(nder)-3.323 E F1 +.823(Special P)3.323 F(arameters)-.1 E F0 5.823(.A)C F3(variable)-2.21 E +F0 .823(is a parameter denoted by a)3.503 F F3(name)3.323 E F0 5.823(.A) +.18 G -.25(va)-2.5 G .823(riable has a).25 F F3(value)108 717.6 Q F0 +.368(and zero or more)2.868 F F3(attrib)2.868 E(utes)-.2 E F0 5.369(.A)C +(ttrib)-5.369 E .369(utes are assigned using the)-.2 F F1(declar)2.869 E +(e)-.18 E F0 -.2(bu)2.869 G .369(iltin command \(see).2 F F1(declar) +2.869 E(e)-.18 E F0(belo)108 729.6 Q 2.5(wi)-.25 G(n)-2.5 E F4(SHELL B) 2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E/F5 9/Times-Roman@0 SF(\).)A F0 -2.754(Ap)108 722.4 S .254(arameter is set if it has been assigned a v) --2.754 F 2.754(alue. The)-.25 F .254(null string is a v)2.754 F .255 -(alid v)-.25 F 2.755(alue. Once)-.25 F 2.755(av)2.755 G .255 -(ariable is set, it)-3.005 F(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 -E(7)203.445 E 0 Cg EP +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(7)202.335 E 0 Cg EP %%Page: 8 8 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(may be unset only by using the)108 84 Q/F1 10/Times-Bold@0 SF -(unset)2.5 E F0 -.2(bu)2.5 G(iltin command \(see).2 E/F2 9/Times-Bold@0 -SF(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).) --.25 E(A)108 100.8 Q/F3 10/Times-Italic@0 SF(variable)2.79 E F0 -(may be assigned to by a statement of the form)2.68 E F3(name)144 117.6 -Q F0(=[)A F3(value)A F0(])A(If)108 134.4 Q F3(value)3.023 E F0 .233 -(is not gi)2.913 F -.15(ve)-.25 G .233(n, the v).15 F .232 -(ariable is assigned the null string.)-.25 F(All)5.232 E F3(values)3.022 -E F0(under)3.002 E .232(go tilde e)-.18 F .232(xpansion, parameter)-.15 -F .515(and v)108 146.4 R .515(ariable e)-.25 F .515 +-.35 E 2.755(Ap)108 84 S .255 +(arameter is set if it has been assigned a v)-2.755 F 2.754(alue. The) +-.25 F .254(null string is a v)2.754 F .254(alid v)-.25 F 2.754 +(alue. Once)-.25 F 2.754(av)2.754 G .254(ariable is set, it)-3.004 F +(may be unset only by using the)108 96 Q/F1 10/Times-Bold@0 SF(unset)2.5 +E F0 -.2(bu)2.5 G(iltin command \(see).2 E/F2 9/Times-Bold@0 SF(SHELL B) +2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E(A)108 +112.8 Q/F3 10/Times-Italic@0 SF(variable)2.79 E F0 +(may be assigned to by a statement of the form)2.68 E F3(name)144 129.6 +Q F0(=[)A F3(value)A F0(])A(If)108 146.4 Q F3(value)3.022 E F0 .232 +(is not gi)2.912 F -.15(ve)-.25 G .232(n, the v).15 F .232 +(ariable is assigned the null string.)-.25 F(All)5.233 E F3(values)3.023 +E F0(under)3.003 E .233(go tilde e)-.18 F .233(xpansion, parameter)-.15 +F .515(and v)108 158.4 R .515(ariable e)-.25 F .515 (xpansion, command substitution, arithmetic e)-.15 F .515 (xpansion, and quote remo)-.15 F -.25(va)-.15 G 3.015(l\().25 G(see) --3.015 E F2(EXP)3.015 E(ANSION)-.666 E F0(belo)108 158.4 Q 2.699 -(w\). If)-.25 F .199(the v)2.699 F .199(ariable has its)-.25 F F1 +-3.015 E F2(EXP)3.015 E(ANSION)-.666 E F0(belo)108 170.4 Q 2.698 +(w\). If)-.25 F .198(the v)2.698 F .198(ariable has its)-.25 F F1 (integer)2.698 E F0(attrib)2.698 E .198(ute set, then)-.2 F F3(value) -2.988 E F0 .198(is e)2.878 F -.25(va)-.25 G .198 -(luated as an arithmetic e).25 F .198(xpression e)-.15 F -.15(ve)-.25 G -(n).15 E .901(if the $\(\(...\)\) e)108 170.4 R .901 +2.988 E F0 .198(is e)2.878 F -.25(va)-.25 G .199 +(luated as an arithmetic e).25 F .199(xpression e)-.15 F -.15(ve)-.25 G +(n).15 E .902(if the $\(\(...\)\) e)108 182.4 R .902 (xpansion is not used \(see)-.15 F F1 .901(Arithmetic Expansion)3.401 F -F0(belo)3.401 E 3.402(w\). W)-.25 F .902 -(ord splitting is not performed,)-.8 F 1.179(with the e)108 182.4 R -1.179(xception of)-.15 F F1("$@")3.679 E F0 1.179(as e)3.679 F 1.179 -(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F1 1.178(Special P) -3.678 F(arameters)-.1 E F0 6.178(.P)C 1.178(athname e)-6.328 F 1.178 -(xpansion is not)-.15 F 3.648(performed. Assignment)108 194.4 R 1.148 -(statements may also appear as ar)3.648 F 1.149(guments to the)-.18 F F1 -(alias)3.649 E F0(,)A F1(declar)3.649 E(e)-.18 E F0(,)A F1(typeset)3.649 -E F0(,)A F1(export)3.649 E F0(,)A F1 -.18(re)108 206.4 S(adonly).18 E F0 +F0(belo)3.401 E 3.401(w\). W)-.25 F .901 +(ord splitting is not performed,)-.8 F 1.178(with the e)108 194.4 R +1.178(xception of)-.15 F F1("$@")3.678 E F0 1.178(as e)3.678 F 1.179 +(xplained belo)-.15 F 3.679(wu)-.25 G(nder)-3.679 E F1 1.179(Special P) +3.679 F(arameters)-.1 E F0 6.179(.P)C 1.179(athname e)-6.329 F 1.179 +(xpansion is not)-.15 F 3.649(performed. Assignment)108 206.4 R 1.149 +(statements may also appear as ar)3.649 F 1.148(guments to the)-.18 F F1 +(alias)3.648 E F0(,)A F1(declar)3.648 E(e)-.18 E F0(,)A F1(typeset)3.648 +E F0(,)A F1(export)3.648 E F0(,)A F1 -.18(re)108 218.4 S(adonly).18 E F0 2.5(,a)C(nd)-2.5 E F1(local)2.5 E F0 -.2(bu)2.5 G(iltin commands.).2 E -.377(In the conte)108 223.2 R .377 +.376(In the conte)108 235.2 R .376 (xt where an assignment statement is assigning a v)-.15 F .376 -(alue to a shell v)-.25 F .376(ariable or array inde)-.25 F .376 +(alue to a shell v)-.25 F .377(ariable or array inde)-.25 F .377 (x, the +=)-.15 F .257 -(operator can be used to append to or add to the v)108 235.2 R(ariable') +(operator can be used to append to or add to the v)108 247.2 R(ariable') -.25 E 2.757(sp)-.55 G(re)-2.757 E .257(vious v)-.25 F 2.757(alue. When) --.25 F .257(+= is applied to a v)2.757 F(ariable)-.25 E .373 -(for which the inte)108 247.2 R .373(ger attrib)-.15 F .372 +-.25 F .257(+= is applied to a v)2.757 F(ariable)-.25 E .372 +(for which the inte)108 259.2 R .372(ger attrib)-.15 F .372 (ute has been set,)-.2 F F3(value)2.872 E F0 .372(is e)2.872 F -.25(va) --.25 G .372(luated as an arithmetic e).25 F .372 -(xpression and added to the)-.15 F -.25(va)108 259.2 S(riable').25 E -2.888(sc)-.55 G .388(urrent v)-2.888 F .388(alue, which is also e)-.25 F +-.25 G .372(luated as an arithmetic e).25 F .373 +(xpression and added to the)-.15 F -.25(va)108 271.2 S(riable').25 E +2.889(sc)-.55 G .389(urrent v)-2.889 F .389(alue, which is also e)-.25 F -.25(va)-.25 G 2.889(luated. When).25 F .389 -(+= is applied to an array v)2.889 F .389(ariable using compound)-.25 F -.186(assignment \(see)108 271.2 R F1(Arrays)2.686 E F0(belo)2.686 E .186 +(+= is applied to an array v)2.889 F .388(ariable using compound)-.25 F +.185(assignment \(see)108 283.2 R F1(Arrays)2.685 E F0(belo)2.685 E .185 (w\), the v)-.25 F(ariable')-.25 E 2.685(sv)-.55 G .185 -(alue is not unset \(as it is when using =\), and ne)-2.935 F 2.685(wv) --.25 G .185(alues are)-2.935 F .32(appended to the array be)108 283.2 R +(alue is not unset \(as it is when using =\), and ne)-2.935 F 2.686(wv) +-.25 G .186(alues are)-2.936 F .32(appended to the array be)108 295.2 R .32(ginning at one greater than the array')-.15 F 2.82(sm)-.55 G .32 (aximum inde)-2.82 F 2.82(x. When)-.15 F .32(applied to a string-)2.82 F --.25(va)108 295.2 S(lued v).25 E(ariable,)-.25 E F3(value)2.5 E F0(is e) +-.25(va)108 307.2 S(lued v).25 E(ariable,)-.25 E F3(value)2.5 E F0(is e) 2.5 E(xpanded and appended to the v)-.15 E(ariable')-.25 E 2.5(sv)-.55 G -(alue.)-2.75 E F1 -.2(Po)87 312 S(sitional P).2 E(arameters)-.1 E F0(A) -108 324 Q F3 .706(positional par)4.456 F(ameter)-.15 E F0 .706(is a par\ +(alue.)-2.75 E F1 -.2(Po)87 324 S(sitional P).2 E(arameters)-.1 E F0(A) +108 336 Q F3 .705(positional par)4.455 F(ameter)-.15 E F0 .706(is a par\ ameter denoted by one or more digits, other than the single digit 0.) -3.936 F(Posi-)5.705 E .444 -(tional parameters are assigned from the shell')108 336 R 2.944(sa)-.55 +3.935 F(Posi-)5.706 E .445 +(tional parameters are assigned from the shell')108 348 R 2.944(sa)-.55 G -.18(rg)-2.944 G .444(uments when it is in).18 F -.2(vo)-.4 G -.1(ke) -.2 G .445(d, and may be reassigned using).1 F(the)108 348 Q F1(set)3.334 -E F0 -.2(bu)3.334 G .834(iltin command.).2 F .833(Positional parameters\ - may not be assigned to with assignment statements.)5.834 F(The)5.833 E +.2 G .444(d, and may be reassigned using).1 F(the)108 360 Q F1(set)3.333 +E F0 -.2(bu)3.333 G .833(iltin command.).2 F .834(Positional parameters\ + may not be assigned to with assignment statements.)5.833 F(The)5.834 E .334(positional parameters are temporarily replaced when a shell functi\ -on is e)108 360 R -.15(xe)-.15 G .334(cuted \(see).15 F F2(FUNCTIONS) -2.834 E F0(belo)2.584 E(w\).)-.25 E 1.404(When a positional parameter c\ -onsisting of more than a single digit is e)108 376.8 R 1.403 -(xpanded, it must be enclosed in)-.15 F(braces \(see)108 388.8 Q F2(EXP) -2.5 E(ANSION)-.666 E F0(belo)2.25 E(w\).)-.25 E F1(Special P)87 405.6 Q -(arameters)-.1 E F0 1.674(The shell treats se)108 417.6 R -.15(ve)-.25 G -1.674(ral parameters specially).15 F 6.675(.T)-.65 G 1.675 +on is e)108 372 R -.15(xe)-.15 G .333(cuted \(see).15 F F2(FUNCTIONS) +2.833 E F0(belo)2.583 E(w\).)-.25 E 1.403(When a positional parameter c\ +onsisting of more than a single digit is e)108 388.8 R 1.404 +(xpanded, it must be enclosed in)-.15 F(braces \(see)108 400.8 Q F2(EXP) +2.5 E(ANSION)-.666 E F0(belo)2.25 E(w\).)-.25 E F1(Special P)87 417.6 Q +(arameters)-.1 E F0 1.675(The shell treats se)108 429.6 R -.15(ve)-.25 G +1.675(ral parameters specially).15 F 6.675(.T)-.65 G 1.674 (hese parameters may only be referenced; assignment to)-6.675 F -(them is not allo)108 429.6 Q(wed.)-.25 E F1(*)108 441.6 Q F0 .606 -(Expands to the positional parameters, starting from one.)31 F .605 -(When the e)5.605 F .605(xpansion occurs within dou-)-.15 F .083 -(ble quotes, it e)144 453.6 R .084(xpands to a single w)-.15 F .084 +(them is not allo)108 441.6 Q(wed.)-.25 E F1(*)108 453.6 Q F0 .605 +(Expands to the positional parameters, starting from one.)31 F .606 +(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .084 +(ble quotes, it e)144 465.6 R .084(xpands to a single w)-.15 F .084 (ord with the v)-.1 F .084 (alue of each parameter separated by the \214rst char)-.25 F(-)-.2 E -.004(acter of the)144 465.6 R F2(IFS)2.503 E F0 .003(special v)2.253 F +.003(acter of the)144 477.6 R F2(IFS)2.503 E F0 .003(special v)2.253 F 2.503(ariable. That)-.25 F .003(is, ")2.503 F F1($*)A F0 2.503("i)C 2.503(se)-2.503 G(qui)-2.503 E -.25(va)-.25 G .003(lent to ").25 F F1 ($1)A F3(c)A F1($2)A F3(c)A F1(...)A F0 .003(", where)B F3(c)2.703 E F0 -.003(is the \214rst char)2.813 F(-)-.2 E .768(acter of the v)144 477.6 R -.768(alue of the)-.25 F F2(IFS)3.268 E F0 -.25(va)3.018 G 3.268 -(riable. If).25 F F2(IFS)3.268 E F0 .769 -(is unset, the parameters are separated by spaces.)3.018 F(If)5.769 E F2 -(IFS)144 489.6 Q F0(is null, the parameters are joined without interv) -2.25 E(ening separators.)-.15 E F1(@)108 501.6 Q F0 .606 -(Expands to the positional parameters, starting from one.)26.7 F .605 -(When the e)5.605 F .605(xpansion occurs within dou-)-.15 F .113 -(ble quotes, each parameter e)144 513.6 R .113(xpands to a separate w) --.15 F 2.614(ord. That)-.1 F .114(is, ")2.614 F F1($@)A F0 2.614("i)C -2.614(se)-2.614 G(qui)-2.614 E -.25(va)-.25 G .114(lent to ").25 F F1 -($1)A F0 2.614("")C F1($2)-2.614 E F0 2.614(".)C(..)-2.614 E .135 -(If the double-quoted e)144 525.6 R .135(xpansion occurs within a w)-.15 -F .135(ord, the e)-.1 F .134 -(xpansion of the \214rst parameter is joined)-.15 F .15(with the be)144 -537.6 R .15(ginning part of the original w)-.15 F .151(ord, and the e) --.1 F .151(xpansion of the last parameter is joined with)-.15 F .338 -(the last part of the original w)144 549.6 R 2.838(ord. When)-.1 F .337 -(there are no positional parameters, ")2.838 F F1($@)A F0 2.837("a)C(nd) --2.837 E F1($@)2.837 E F0 -.15(ex)2.837 G(pand).15 E -(to nothing \(i.e., the)144 561.6 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15 -(ve)-.15 G(d\).).15 E F1(#)108 573.6 Q F0 +.004(is the \214rst char)2.813 F(-)-.2 E .769(acter of the v)144 489.6 R +.769(alue of the)-.25 F F2(IFS)3.269 E F0 -.25(va)3.019 G 3.269 +(riable. If).25 F F2(IFS)3.268 E F0 .768 +(is unset, the parameters are separated by spaces.)3.018 F(If)5.768 E F2 +(IFS)144 501.6 Q F0(is null, the parameters are joined without interv) +2.25 E(ening separators.)-.15 E F1(@)108 513.6 Q F0 .605 +(Expands to the positional parameters, starting from one.)26.7 F .606 +(When the e)5.605 F .606(xpansion occurs within dou-)-.15 F .114 +(ble quotes, each parameter e)144 525.6 R .114(xpands to a separate w) +-.15 F 2.614(ord. That)-.1 F .113(is, ")2.613 F F1($@)A F0 2.613("i)C +2.613(se)-2.613 G(qui)-2.613 E -.25(va)-.25 G .113(lent to ").25 F F1 +($1)A F0 2.613("")C F1($2)-2.613 E F0 2.613(".)C(..)-2.613 E .134 +(If the double-quoted e)144 537.6 R .134(xpansion occurs within a w)-.15 +F .135(ord, the e)-.1 F .135 +(xpansion of the \214rst parameter is joined)-.15 F .151(with the be)144 +549.6 R .151(ginning part of the original w)-.15 F .151(ord, and the e) +-.1 F .15(xpansion of the last parameter is joined with)-.15 F .337 +(the last part of the original w)144 561.6 R 2.837(ord. When)-.1 F .338 +(there are no positional parameters, ")2.837 F F1($@)A F0 2.838("a)C(nd) +-2.838 E F1($@)2.838 E F0 -.15(ex)2.838 G(pand).15 E +(to nothing \(i.e., the)144 573.6 Q 2.5(ya)-.15 G(re remo)-2.5 E -.15 +(ve)-.15 G(d\).).15 E F1(#)108 585.6 Q F0 (Expands to the number of positional parameters in decimal.)31 E F1(?) -108 585.6 Q F0(Expands to the e)31 E(xit status of the most recently e) +108 597.6 Q F0(Expands to the e)31 E(xit status of the most recently e) -.15 E -.15(xe)-.15 G(cuted fore).15 E(ground pipeline.)-.15 E F1<ad>108 -597.6 Q F0 .881 +609.6 Q F0 .882 (Expands to the current option \215ags as speci\214ed upon in)30.3 F -.2 -(vo)-.4 G .881(cation, by the).2 F F1(set)3.382 E F0 -.2(bu)3.382 G .882 +(vo)-.4 G .881(cation, by the).2 F F1(set)3.381 E F0 -.2(bu)3.381 G .881 (iltin command, or).2 F(those set by the shell itself \(such as the)144 -609.6 Q F1<ad69>2.5 E F0(option\).)2.5 E F1($)108 621.6 Q F0 .214 +621.6 Q F1<ad69>2.5 E F0(option\).)2.5 E F1($)108 633.6 Q F0 .214 (Expands to the process ID of the shell.)31 F .214 (In a \(\) subshell, it e)5.214 F .214 (xpands to the process ID of the current)-.15 F -(shell, not the subshell.)144 633.6 Q F1(!)108 645.6 Q F0 +(shell, not the subshell.)144 645.6 Q F1(!)108 657.6 Q F0 (Expands to the process ID of the most recently e)32.67 E -.15(xe)-.15 G -(cuted background \(asynchronous\) command.).15 E F1(0)108 657.6 Q F0 -1.691(Expands to the name of the shell or shell script.)31 F 1.692 -(This is set at shell initialization.)6.692 F(If)6.692 E F1(bash)4.192 E -F0(is)4.192 E(in)144 669.6 Q -.2(vo)-.4 G -.1(ke).2 G 3.078(dw).1 G .578 -(ith a \214le of commands,)-3.078 F F1($0)3.078 E F0 .578 -(is set to the name of that \214le.)3.078 F(If)5.577 E F1(bash)3.077 E -F0 .577(is started with the)3.077 F F1<ad63>3.077 E F0 .368 -(option, then)144 681.6 R F1($0)2.869 E F0 .369 +(cuted background \(asynchronous\) command.).15 E F1(0)108 669.6 Q F0 +1.692(Expands to the name of the shell or shell script.)31 F 1.691 +(This is set at shell initialization.)6.692 F(If)6.691 E F1(bash)4.191 E +F0(is)4.191 E(in)144 681.6 Q -.2(vo)-.4 G -.1(ke).2 G 3.077(dw).1 G .577 +(ith a \214le of commands,)-3.077 F F1($0)3.077 E F0 .578 +(is set to the name of that \214le.)3.077 F(If)5.578 E F1(bash)3.078 E +F0 .578(is started with the)3.078 F F1<ad63>3.078 E F0 .369 +(option, then)144 693.6 R F1($0)2.869 E F0 .369 (is set to the \214rst ar)2.869 F .369(gument after the string to be e) --.18 F -.15(xe)-.15 G .369(cuted, if one is present.).15 F(Other)5.369 E -(-)-.2 E(wise, it is set to the \214le name used to in)144 693.6 Q -.2 +-.18 F -.15(xe)-.15 G .369(cuted, if one is present.).15 F(Other)5.368 E +(-)-.2 E(wise, it is set to the \214le name used to in)144 705.6 Q -.2 (vo)-.4 G -.1(ke).2 G F1(bash)2.6 E F0 2.5(,a)C 2.5(sg)-2.5 G -2.15 -.25 (iv e)-2.5 H 2.5(nb).25 G 2.5(ya)-2.5 G -.18(rg)-2.5 G(ument zero.).18 E -F1(_)108 705.6 Q F0 .055 +F1(_)108 717.6 Q F0 .054 (At shell startup, set to the absolute pathname used to in)31 F -.2(vo) --.4 G .255 -.1(ke t).2 H .054(he shell or shell script being e).1 F -.15 -(xe)-.15 G(cuted).15 E .691(as passed in the en)144 717.6 R .691 +-.4 G .255 -.1(ke t).2 H .055(he shell or shell script being e).1 F -.15 +(xe)-.15 G(cuted).15 E .692(as passed in the en)144 729.6 R .692 (vironment or ar)-.4 F .691(gument list.)-.18 F(Subsequently)5.691 E -3.191(,e)-.65 G .692(xpands to the last ar)-3.341 F .692(gument to the) --.18 F(pre)144 729.6 Q .571(vious command, after e)-.25 F 3.071 -(xpansion. Also)-.15 F .571(set to the full pathname used to in)3.071 F --.2(vo)-.4 G .77 -.1(ke e).2 H .57(ach command).1 F(GNU Bash-3.2)72 768 -Q(2008 April 5)148.455 E(8)203.445 E 0 Cg EP +3.191(,e)-.65 G .691(xpands to the last ar)-3.341 F .691(gument to the) +-.18 F(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(8)202.335 E 0 Cg EP %%Page: 9 9 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.15(exe)144 84 S 1.6(cuted and placed in the en).15 F 1.6 -(vironment e)-.4 F 1.6(xported to that command.)-.15 F 1.6 -(When checking mail, this)6.6 F +-.35 E(pre)144 84 Q .57(vious command, after e)-.25 F 3.07 +(xpansion. Also)-.15 F .571(set to the full pathname used to in)3.071 F +-.2(vo)-.4 G .771 -.1(ke e).2 H .571(ach command).1 F -.15(exe)144 96 S +1.6(cuted and placed in the en).15 F 1.6(vironment e)-.4 F 1.6 +(xported to that command.)-.15 F 1.6(When checking mail, this)6.6 F (parameter holds the name of the mail \214le currently being check)144 -96 Q(ed.)-.1 E/F1 10/Times-Bold@0 SF(Shell V)87 112.8 Q(ariables)-.92 E -F0(The follo)108 124.8 Q(wing v)-.25 E(ariables are set by the shell:) --.25 E F1 -.3(BA)108 141.6 S(SH).3 E F0 +108 Q(ed.)-.1 E/F1 10/Times-Bold@0 SF(Shell V)87 124.8 Q(ariables)-.92 E +F0(The follo)108 136.8 Q(wing v)-.25 E(ariables are set by the shell:) +-.25 E F1 -.3(BA)108 153.6 S(SH).3 E F0 (Expands to the full \214le name used to in)9.07 E -.2(vo)-.4 G .2 -.1 -(ke t).2 H(his instance of).1 E F1(bash)2.5 E F0(.)A F1 -.3(BA)108 153.6 -S(SHPID).3 E F0 .361(Expands to the process id of the current)144 165.6 -R F1(bash)2.861 E F0 2.861(process. This)2.861 F(dif)2.86 E .36 -(fers from)-.25 F F1($$)2.86 E F0 .36(under certain circum-)2.86 F -(stances, such as subshells that do not require)144 177.6 Q F1(bash)2.5 -E F0(to be re-initialized.)2.5 E F1 -.3(BA)108 189.6 S(SH_ARGC).3 E F0 -.934(An array v)144 201.6 R .934(ariable whose v)-.25 F .934 +(ke t).2 H(his instance of).1 E F1(bash)2.5 E F0(.)A F1 -.3(BA)108 165.6 +S(SHPID).3 E F0 .36(Expands to the process id of the current)144 177.6 R +F1(bash)2.861 E F0 2.861(process. This)2.861 F(dif)2.861 E .361 +(fers from)-.25 F F1($$)2.861 E F0 .361(under certain circum-)2.861 F +(stances, such as subshells that do not require)144 189.6 Q F1(bash)2.5 +E F0(to be re-initialized.)2.5 E F1 -.3(BA)108 201.6 S(SH_ARGC).3 E F0 +.935(An array v)144 213.6 R .935(ariable whose v)-.25 F .934 (alues are the number of parameters in each frame of the current)-.25 F -F1(bash)3.435 E F0 -.15(exe)144 213.6 S .535(cution call stack.).15 F +F1(bash)3.434 E F0 -.15(exe)144 225.6 S .535(cution call stack.).15 F .535(The number of parameters to the current subroutine \(shell functio\ -n or script)5.535 F -.15(exe)144 225.6 S .141(cuted with).15 F F1(.) -2.641 E F0(or)2.641 E F1(sour)2.641 E(ce)-.18 E F0 2.641(\)i)C 2.641(sa) --2.641 G 2.641(tt)-2.641 G .142(he top of the stack.)-2.641 F .142 -(When a subroutine is e)5.142 F -.15(xe)-.15 G .142 -(cuted, the number of).15 F 1.525(parameters passed is pushed onto)144 -237.6 R F1 -.3(BA)4.024 G(SH_ARGC).3 E F0 6.524(.T)C 1.524 -(he shell sets)-6.524 F F1 -.3(BA)4.024 G(SH_ARGC).3 E F0 1.524 -(only when in)4.024 F -.15(ex)144 249.6 S(tended deb).15 E +n or script)5.535 F -.15(exe)144 237.6 S .142(cuted with).15 F F1(.) +2.642 E F0(or)2.642 E F1(sour)2.642 E(ce)-.18 E F0 2.642(\)i)C 2.642(sa) +-2.642 G 2.642(tt)-2.642 G .142(he top of the stack.)-2.642 F .141 +(When a subroutine is e)5.141 F -.15(xe)-.15 G .141 +(cuted, the number of).15 F 1.524(parameters passed is pushed onto)144 +249.6 R F1 -.3(BA)4.024 G(SH_ARGC).3 E F0 6.524(.T)C 1.524 +(he shell sets)-6.524 F F1 -.3(BA)4.024 G(SH_ARGC).3 E F0 1.525 +(only when in)4.024 F -.15(ex)144 261.6 S(tended deb).15 E (ugging mode \(see the description of the)-.2 E F1(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2(bu)2.5 G(iltin belo).2 E -(w\))-.25 E F1 -.3(BA)108 261.6 S(SH_ARGV).3 E F0 .979(An array v)144 -273.6 R .979(ariable containing all of the parameters in the current) --.25 F F1(bash)3.48 E F0 -.15(exe)3.48 G .98(cution call stack.).15 F -(The)5.98 E .275(\214nal parameter of the last subroutine call is at th\ -e top of the stack; the \214rst parameter of the initial)144 285.6 R -1.424(call is at the bottom.)144 297.6 R 1.424(When a subroutine is e) +(w\))-.25 E F1 -.3(BA)108 273.6 S(SH_ARGV).3 E F0 .98(An array v)144 +285.6 R .979(ariable containing all of the parameters in the current) +-.25 F F1(bash)3.479 E F0 -.15(exe)3.479 G .979(cution call stack.).15 F +(The)5.979 E .275(\214nal parameter of the last subroutine call is at t\ +he top of the stack; the \214rst parameter of the initial)144 297.6 R +1.424(call is at the bottom.)144 309.6 R 1.424(When a subroutine is e) 6.424 F -.15(xe)-.15 G 1.424 (cuted, the parameters supplied are pushed onto).15 F F1 -.3(BA)144 -309.6 S(SH_ARGV).3 E F0 6.091(.T)C 1.091(he shell sets)-6.091 F F1 -.3 -(BA)3.591 G(SH_ARGV).3 E F0 1.091(only when in e)3.591 F 1.091 -(xtended deb)-.15 F 1.09(ugging mode \(see the)-.2 F(description of the) -144 321.6 Q F1(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 -E F0 -.2(bu)2.5 G(iltin belo).2 E(w\))-.25 E F1 -.3(BA)108 333.6 S -(SH_COMMAND).3 E F0 1.242(The command currently being e)144 345.6 R -.15 -(xe)-.15 G 1.243(cuted or about to be e).15 F -.15(xe)-.15 G 1.243 -(cuted, unless the shell is e).15 F -.15(xe)-.15 G 1.243(cuting a).15 F +321.6 S(SH_ARGV).3 E F0 6.09(.T)C 1.09(he shell sets)-6.09 F F1 -.3(BA) +3.591 G(SH_ARGV).3 E F0 1.091(only when in e)3.591 F 1.091(xtended deb) +-.15 F 1.091(ugging mode \(see the)-.2 F(description of the)144 333.6 Q +F1(extdeb)2.5 E(ug)-.2 E F0(option to the)2.5 E F1(shopt)2.5 E F0 -.2 +(bu)2.5 G(iltin belo).2 E(w\))-.25 E F1 -.3(BA)108 345.6 S(SH_COMMAND).3 +E F0 1.243(The command currently being e)144 357.6 R -.15(xe)-.15 G +1.243(cuted or about to be e).15 F -.15(xe)-.15 G 1.242 +(cuted, unless the shell is e).15 F -.15(xe)-.15 G 1.242(cuting a).15 F (command as the result of a trap, in which case it is the command e)144 -357.6 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F1 -.3(BA) -108 369.6 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 381.6 Q +369.6 Q -.15(xe)-.15 G(cuting at the time of the trap.).15 E F1 -.3(BA) +108 381.6 S(SH_EXECUTION_STRING).3 E F0(The command ar)144 393.6 Q (gument to the)-.18 E F1<ad63>2.5 E F0(in)2.5 E -.2(vo)-.4 G -(cation option.).2 E F1 -.3(BA)108 393.6 S(SH_LINENO).3 E F0 .034 -(An array v)144 405.6 R .034(ariable whose members are the line numbers\ - in source \214les corresponding to each mem-)-.25 F 2.944(ber of)144 -417.6 R F1(FUNCN)5.444 E(AME)-.2 E F0(.)A F1(${B)7.944 E(ASH_LINENO[)-.3 +(cation option.).2 E F1 -.3(BA)108 405.6 S(SH_LINENO).3 E F0 .034 +(An array v)144 417.6 R .034(ariable whose members are the line numbers\ + in source \214les corresponding to each mem-)-.25 F 2.945(ber of)144 +429.6 R F1(FUNCN)5.445 E(AME)-.2 E F0(.)A F1(${B)7.944 E(ASH_LINENO[)-.3 E/F2 10/Times-Italic@0 SF($i)A F1(]})A F0 2.944 (is the line number in the source \214le where)5.444 F F1(${FUNCN)144 -429.6 Q(AME[)-.2 E F2($i)A F1(]})A F0 -.1(wa)3.312 G 3.311(sc).1 G .811 +441.6 Q(AME[)-.2 E F2($i)A F1(]})A F0 -.1(wa)3.311 G 3.311(sc).1 G .811 (alled \(or)-3.311 F F1(${B)3.311 E(ASH_LINENO[)-.3 E F2($i-1)A F1(]})A F0 .811(if referenced within another shell)3.311 F 4.512 -(function\). The)144 441.6 R 2.012(corresponding source \214le name is) +(function\). The)144 453.6 R 2.012(corresponding source \214le name is) 4.512 F F1(${B)4.512 E(ASH_SOURCE[)-.3 E F2($i)A F1 4.512(]}. Use)B -2.012(LINENO to)4.512 F(obtain the curr)144 453.6 Q(ent line number)-.18 -E(.)-1 E -.3(BA)108 465.6 S(SH_REMA).3 E(TCH)-.95 E F0 .006(An array v) -144 477.6 R .006(ariable whose members are assigned by the)-.25 F F1(=~) -2.506 E F0 .005(binary operator to the)2.506 F F1([[)2.505 E F0 .005 -(conditional com-)2.505 F 2.506(mand. The)144 489.6 R .007 -(element with inde)2.506 F 2.507(x0i)-.15 G 2.507(st)-2.507 G .007 -(he portion of the string matching the entire re)-2.507 F .007(gular e) --.15 F(xpression.)-.15 E .998(The element with inde)144 501.6 R(x)-.15 E -F2(n)3.498 E F0 .997(is the portion of the string matching the)3.498 F -F2(n)3.497 E F0 .997(th parenthesized sube)B(xpres-)-.15 E 2.5 -(sion. This)144 513.6 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E -F1 -.3(BA)108 525.6 S(SH_SOURCE).3 E F0 .889(An array v)144 537.6 R .889 +2.012(LINENO to)4.512 F(obtain the curr)144 465.6 Q(ent line number)-.18 +E(.)-1 E -.3(BA)108 477.6 S(SH_REMA).3 E(TCH)-.95 E F0 .005(An array v) +144 489.6 R .005(ariable whose members are assigned by the)-.25 F F1(=~) +2.506 E F0 .006(binary operator to the)2.506 F F1([[)2.506 E F0 .006 +(conditional com-)2.506 F 2.507(mand. The)144 501.6 R .007 +(element with inde)2.507 F 2.507(x0i)-.15 G 2.507(st)-2.507 G .007 +(he portion of the string matching the entire re)-2.507 F .006(gular e) +-.15 F(xpression.)-.15 E .997(The element with inde)144 513.6 R(x)-.15 E +F2(n)3.497 E F0 .997(is the portion of the string matching the)3.497 F +F2(n)3.498 E F0 .998(th parenthesized sube)B(xpres-)-.15 E 2.5 +(sion. This)144 525.6 R -.25(va)2.5 G(riable is read-only).25 E(.)-.65 E +F1 -.3(BA)108 537.6 S(SH_SOURCE).3 E F0 .89(An array v)144 549.6 R .889 (ariable whose members are the source \214lenames corresponding to the \ -elements in the)-.25 F F1(FUNCN)144 549.6 Q(AME)-.2 E F0(array v)2.5 E -(ariable.)-.25 E F1 -.3(BA)108 561.6 S(SH_SUBSHELL).3 E F0 .402 -(Incremented by one each time a subshell or subshell en)144 573.6 R .401 -(vironment is spa)-.4 F 2.901(wned. The)-.15 F .401(initial v)2.901 F -.401(alue is)-.25 F(0.)144 585.6 Q F1 -.3(BA)108 597.6 S(SH_VERSINFO).3 -E F0 2.644(Ar)144 609.6 S .144(eadonly array v)-2.644 F .144 +elements in the)-.25 F F1(FUNCN)144 561.6 Q(AME)-.2 E F0(array v)2.5 E +(ariable.)-.25 E F1 -.3(BA)108 573.6 S(SH_SUBSHELL).3 E F0 .401 +(Incremented by one each time a subshell or subshell en)144 585.6 R .401 +(vironment is spa)-.4 F 2.902(wned. The)-.15 F .402(initial v)2.902 F +.402(alue is)-.25 F(0.)144 597.6 Q F1 -.3(BA)108 609.6 S(SH_VERSINFO).3 +E F0 2.645(Ar)144 621.6 S .145(eadonly array v)-2.645 F .144 (ariable whose members hold v)-.25 F .144 -(ersion information for this instance of)-.15 F F1(bash)2.645 E F0 5.145 -(.T)C(he)-5.145 E -.25(va)144 621.6 S +(ersion information for this instance of)-.15 F F1(bash)2.644 E F0 5.144 +(.T)C(he)-5.144 E -.25(va)144 633.6 S (lues assigned to the array members are as follo).25 E(ws:)-.25 E F1 -.3 -(BA)144 639.6 S(SH_VERSINFO[).3 E F0(0)A F1(])A F0(The major v)24.74 E +(BA)144 651.6 S(SH_VERSINFO[).3 E F0(0)A F1(])A F0(The major v)24.74 E (ersion number \(the)-.15 E F2 -.37(re)2.5 G(lease).37 E F0(\).)A F1 -.3 -(BA)144 651.6 S(SH_VERSINFO[).3 E F0(1)A F1(])A F0(The minor v)24.74 E +(BA)144 663.6 S(SH_VERSINFO[).3 E F0(1)A F1(])A F0(The minor v)24.74 E (ersion number \(the)-.15 E F2(ver)2.5 E(sion)-.1 E F0(\).)A F1 -.3(BA) -144 663.6 S(SH_VERSINFO[).3 E F0(2)A F1(])A F0(The patch le)24.74 E -.15 -(ve)-.25 G(l.).15 E F1 -.3(BA)144 675.6 S(SH_VERSINFO[).3 E F0(3)A F1(]) -A F0(The b)24.74 E(uild v)-.2 E(ersion.)-.15 E F1 -.3(BA)144 687.6 S +144 675.6 S(SH_VERSINFO[).3 E F0(2)A F1(])A F0(The patch le)24.74 E -.15 +(ve)-.25 G(l.).15 E F1 -.3(BA)144 687.6 S(SH_VERSINFO[).3 E F0(3)A F1(]) +A F0(The b)24.74 E(uild v)-.2 E(ersion.)-.15 E F1 -.3(BA)144 699.6 S (SH_VERSINFO[).3 E F0(4)A F1(])A F0(The release status \(e.g.,)24.74 E -F2(beta1)2.5 E F0(\).)A F1 -.3(BA)144 699.6 S(SH_VERSINFO[).3 E F0(5)A +F2(beta1)2.5 E F0(\).)A F1 -.3(BA)144 711.6 S(SH_VERSINFO[).3 E F0(5)A F1(])A F0(The v)24.74 E(alue of)-.25 E F1(MA)2.5 E(CHTYPE)-.55 E F0(.)A -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(9)203.445 E 0 Cg EP +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(9)202.335 E 0 Cg EP %%Page: 10 10 %%BeginPageSetup BP @@ -1337,158 +1354,158 @@ BP -.35 E/F1 10/Times-Bold@0 SF -.3(BA)108 84 S(SH_VERSION).3 E F0 (Expands to a string describing the v)144 96 Q (ersion of this instance of)-.15 E F1(bash)2.5 E F0(.)A F1(COMP_CW)108 -112.8 Q(ORD)-.1 E F0 .397(An inde)144 124.8 R 2.897(xi)-.15 G(nto)-2.897 +112.8 Q(ORD)-.1 E F0 .396(An inde)144 124.8 R 2.896(xi)-.15 G(nto)-2.896 E F1(${COMP_W)2.896 E(ORDS})-.1 E F0 .396(of the w)2.896 F .396 -(ord containing the current cursor position.)-.1 F .396(This v)5.396 F -(ari-)-.25 E 1.18(able is a)144 136.8 R -.25(va)-.2 G 1.181 +(ord containing the current cursor position.)-.1 F .397(This v)5.397 F +(ari-)-.25 E 1.181(able is a)144 136.8 R -.25(va)-.2 G 1.181 (ilable only in shell functions in).25 F -.2(vo)-.4 G -.1(ke).2 G 3.681 -(db).1 G 3.681(yt)-3.681 G 1.181(he programmable completion f)-3.681 F -1.181(acilities \(see)-.1 F F1(Pr)144 148.8 Q(ogrammable Completion)-.18 +(db).1 G 3.681(yt)-3.681 G 1.18(he programmable completion f)-3.681 F +1.18(acilities \(see)-.1 F F1(Pr)144 148.8 Q(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1(COMP_KEY)108 165.6 Q F0(The k)144 177.6 Q .3 -.15(ey \()-.1 H(or \214nal k).15 E .3 -.15(ey o)-.1 H 2.5(fak).15 G .3 -.15(ey s)-2.6 H(equence\) used to in).15 E -.2(vo)-.4 G .2 -.1(ke t) .2 H(he current completion function.).1 E F1(COMP_LINE)108 194.4 Q F0 -1.208(The current command line.)144 206.4 R 1.208(This v)6.208 F 1.208 +1.207(The current command line.)144 206.4 R 1.208(This v)6.208 F 1.208 (ariable is a)-.25 F -.25(va)-.2 G 1.208 -(ilable only in shell functions and e).25 F 1.207(xternal com-)-.15 F -2.848(mands in)144 218.4 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349 +(ilable only in shell functions and e).25 F 1.208(xternal com-)-.15 F +2.849(mands in)144 218.4 R -.2(vo)-.4 G -.1(ke).2 G 5.349(db).1 G 5.349 (yt)-5.349 G 2.849(he programmable completion f)-5.349 F 2.849 -(acilities \(see)-.1 F F1(Pr)5.349 E 2.849(ogrammable Completion)-.18 F -F0(belo)144 230.4 Q(w\).)-.25 E F1(COMP_POINT)108 247.2 Q F0 .667 -(The inde)144 259.2 R 3.167(xo)-.15 G 3.167(ft)-3.167 G .666 -(he current cursor position relati)-3.167 F .966 -.15(ve t)-.25 H 3.166 +(acilities \(see)-.1 F F1(Pr)5.349 E 2.848(ogrammable Completion)-.18 F +F0(belo)144 230.4 Q(w\).)-.25 E F1(COMP_POINT)108 247.2 Q F0 .666 +(The inde)144 259.2 R 3.166(xo)-.15 G 3.166(ft)-3.166 G .666 +(he current cursor position relati)-3.166 F .966 -.15(ve t)-.25 H 3.166 (ot).15 G .666(he be)-3.166 F .666(ginning of the current command.)-.15 -F .666(If the)5.666 F .534 +F .667(If the)5.667 F .535 (current cursor position is at the end of the current command, the v)144 -271.2 R .535(alue of this v)-.25 F .535(ariable is equal to)-.25 F F1 -(${#COMP_LINE})144 283.2 Q F0 7.006(.T)C 2.006(his v)-7.006 F 2.006 -(ariable is a)-.25 F -.25(va)-.2 G 2.005 -(ilable only in shell functions and e).25 F 2.005(xternal commands)-.15 +271.2 R .534(alue of this v)-.25 F .534(ariable is equal to)-.25 F F1 +(${#COMP_LINE})144 283.2 Q F0 7.005(.T)C 2.005(his v)-7.005 F 2.005 +(ariable is a)-.25 F -.25(va)-.2 G 2.006 +(ilable only in shell functions and e).25 F 2.006(xternal commands)-.15 F(in)144 295.2 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G (he programmable completion f)-2.5 E(acilities \(see)-.1 E F1(Pr)2.5 E (ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1(COMP_TYPE)108 -312 Q F0 .041(Set to an inte)144 324 R .041(ger v)-.15 F .041(alue corr\ +312 Q F0 .042(Set to an inte)144 324 R .042(ger v)-.15 F .041(alue corr\ esponding to the type of completion attempted that caused a completion) --.25 F .338(function to be called:)144 336 R/F2 10/Times-Italic@0 SF -.5 +-.25 F .337(function to be called:)144 336 R/F2 10/Times-Italic@0 SF -.5 (TA)2.837 G(B).5 E F0 2.837(,f)C .337(or normal completion,)-2.837 F F2 (?)2.837 E F0 2.837(,f)C .337(or listing completions after successi) --2.837 F .637 -.15(ve t)-.25 H(abs,).15 E F2(!)144 348 Q F0 4.091(,f)C -1.591(or listing alternati)-4.091 F -.15(ve)-.25 G 4.092(so).15 G 4.092 +-2.837 F .638 -.15(ve t)-.25 H(abs,).15 E F2(!)144 348 Q F0 4.092(,f)C +1.592(or listing alternati)-4.092 F -.15(ve)-.25 G 4.092(so).15 G 4.092 (np)-4.092 G 1.592(artial w)-4.092 F 1.592(ord completion,)-.1 F F2(@) 4.092 E F0 4.092(,t)C 4.092(ol)-4.092 G 1.592(ist completions if the w) --4.092 F 1.592(ord is not)-.1 F 1.553(unmodi\214ed, or)144 360 R F2(%) -4.053 E F0 4.052(,f)C 1.552(or menu completion.)-4.052 F 1.552(This v) +-4.092 F 1.591(ord is not)-.1 F 1.552(unmodi\214ed, or)144 360 R F2(%) +4.052 E F0 4.052(,f)C 1.552(or menu completion.)-4.052 F 1.552(This v) 6.552 F 1.552(ariable is a)-.25 F -.25(va)-.2 G 1.552 -(ilable only in shell functions and).25 F -.15(ex)144 372 S 2.928 +(ilable only in shell functions and).25 F -.15(ex)144 372 S 2.929 (ternal commands in).15 F -.2(vo)-.4 G -.1(ke).2 G 5.429(db).1 G 5.429 (yt)-5.429 G 2.929(he programmable completion f)-5.429 F 2.929 -(acilities \(see)-.1 F F1(Pr)5.429 E(ogrammable)-.18 E(Completion)144 +(acilities \(see)-.1 F F1(Pr)5.428 E(ogrammable)-.18 E(Completion)144 384 Q F0(belo)2.5 E(w\).)-.25 E F1(COMP_W)108 400.8 Q(ORDBREAKS)-.1 E F0 -1.284(The set of characters that the Readline library treats as w)144 -412.8 R 1.283(ord separators when performing w)-.1 F(ord)-.1 E 3.125 -(completion. If)144 424.8 R/F3 9/Times-Bold@0 SF(COMP_W)3.125 E +1.283(The set of characters that the Readline library treats as w)144 +412.8 R 1.284(ord separators when performing w)-.1 F(ord)-.1 E 3.126 +(completion. If)144 424.8 R/F3 9/Times-Bold@0 SF(COMP_W)3.126 E (ORDBREAKS)-.09 E F0 .626(is unset, it loses its special properties, e) -2.875 F -.15(ve)-.25 G 3.126(ni).15 G 3.126(fi)-3.126 G 3.126(ti)-3.126 -G 3.126(ss)-3.126 G(ubse-)-3.126 E(quently reset.)144 436.8 Q F1(COMP_W) -108 453.6 Q(ORDS)-.1 E F0 .654(An array v)144 465.6 R .654 -(ariable \(see)-.25 F F1(Arrays)3.154 E F0(belo)3.154 E .654 -(w\) consisting of the indi)-.25 F .653(vidual w)-.25 F .653 -(ords in the current command)-.1 F 3.566(line. The)144 477.6 R -.1(wo) -3.566 G 1.067 -(rds are split on shell metacharacters as the shell parser w).1 F 1.067 -(ould separate them.)-.1 F(This)6.067 E -.25(va)144 489.6 S .004 +2.876 F -.15(ve)-.25 G 3.125(ni).15 G 3.125(fi)-3.125 G 3.125(ti)-3.125 +G 3.125(ss)-3.125 G(ubse-)-3.125 E(quently reset.)144 436.8 Q F1(COMP_W) +108 453.6 Q(ORDS)-.1 E F0 .653(An array v)144 465.6 R .653 +(ariable \(see)-.25 F F1(Arrays)3.153 E F0(belo)3.153 E .654 +(w\) consisting of the indi)-.25 F .654(vidual w)-.25 F .654 +(ords in the current command)-.1 F 3.567(line. The)144 477.6 R -.1(wo) +3.567 G 1.067 +(rds are split on shell metacharacters as the shell parser w).1 F 1.066 +(ould separate them.)-.1 F(This)6.066 E -.25(va)144 489.6 S .003 (riable is a).25 F -.25(va)-.2 G .004(ilable only in shell functions in) .25 F -.2(vo)-.4 G -.1(ke).2 G 2.504(db).1 G 2.504(yt)-2.504 G .004 -(he programmable completion f)-2.504 F .003(acilities \(see)-.1 F F1(Pr) +(he programmable completion f)-2.504 F .004(acilities \(see)-.1 F F1(Pr) 144 501.6 Q(ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1 (DIRST)108 518.4 Q -.55(AC)-.9 G(K).55 E F0 2.26(An array v)144 530.4 R 2.26(ariable \(see)-.25 F F1(Arrays)4.76 E F0(belo)4.76 E 2.26 (w\) containing the current contents of the directory stack.)-.25 F -1.095(Directories appear in the stack in the order the)144 542.4 R 3.594 -(ya)-.15 G 1.094(re displayed by the)-3.594 F F1(dirs)3.594 E F0 -.2(bu) -3.594 G 3.594(iltin. Assigning).2 F(to)3.594 E 1.431 +1.094(Directories appear in the stack in the order the)144 542.4 R 3.594 +(ya)-.15 G 1.095(re displayed by the)-3.594 F F1(dirs)3.595 E F0 -.2(bu) +3.595 G 3.595(iltin. Assigning).2 F(to)3.595 E 1.432 (members of this array v)144 554.4 R 1.432 (ariable may be used to modify directories already in the stack, b)-.25 -F 1.432(ut the)-.2 F F1(pushd)144 566.4 Q F0(and)2.746 E F1(popd)2.746 E +F 1.431(ut the)-.2 F F1(pushd)144 566.4 Q F0(and)2.746 E F1(popd)2.746 E F0 -.2(bu)2.746 G .246(iltins must be used to add and remo).2 F .546 -.15(ve d)-.15 H 2.746(irectories. Assignment).15 F .246(to this v)2.746 -F(ariable)-.25 E .35(will not change the current directory)144 578.4 R +F(ariable)-.25 E .351(will not change the current directory)144 578.4 R 5.35(.I)-.65 G(f)-5.35 E F3(DIRST)2.85 E -.495(AC)-.81 G(K).495 E F0 .35 -(is unset, it loses its special properties, e)2.6 F -.15(ve)-.25 G 2.851 -(ni).15 G(f)-2.851 E(it is subsequently reset.)144 590.4 Q F1(EUID)108 -607.2 Q F0 1.104(Expands to the ef)11 F(fecti)-.25 E 1.403 -.15(ve u) +(is unset, it loses its special properties, e)2.6 F -.15(ve)-.25 G 2.85 +(ni).15 G(f)-2.85 E(it is subsequently reset.)144 590.4 Q F1(EUID)108 +607.2 Q F0 1.103(Expands to the ef)11 F(fecti)-.25 E 1.403 -.15(ve u) -.25 H 1.103(ser ID of the current user).15 F 3.603(,i)-.4 G 1.103 -(nitialized at shell startup.)-3.603 F 1.103(This v)6.103 F 1.103 +(nitialized at shell startup.)-3.603 F 1.104(This v)6.103 F 1.104 (ariable is)-.25 F(readonly)144 619.2 Q(.)-.65 E F1(FUNCN)108 636 Q(AME) --.2 E F0 .478(An array v)144 648 R .479 +-.2 E F0 .479(An array v)144 648 R .479 (ariable containing the names of all shell functions currently in the e) --.25 F -.15(xe)-.15 G .479(cution call stack.).15 F .277 -(The element with inde)144 660 R 2.777(x0i)-.15 G 2.777(st)-2.777 G .276 -(he name of an)-2.777 F 2.776(yc)-.15 G(urrently-e)-2.776 E -.15(xe)-.15 -G .276(cuting shell function.).15 F .276(The bottom-most)5.276 F .25 +-.25 F -.15(xe)-.15 G .478(cution call stack.).15 F .276 +(The element with inde)144 660 R 2.776(x0i)-.15 G 2.776(st)-2.776 G .276 +(he name of an)-2.776 F 2.777(yc)-.15 G(urrently-e)-2.777 E -.15(xe)-.15 +G .277(cuting shell function.).15 F .277(The bottom-most)5.277 F .25 (element is)144 672 R/F4 10/Courier@0 SF("main")2.75 E F0 5.25(.T)C .25 (his v)-5.25 F .25(ariable e)-.25 F .25 (xists only when a shell function is e)-.15 F -.15(xe)-.15 G 2.75 (cuting. Assignments).15 F(to)2.75 E F3(FUNCN)144 684 Q(AME)-.18 E F0 -(ha)2.635 E .685 -.15(ve n)-.2 H 2.885(oe).15 G -.25(ff)-2.885 G .385 +(ha)2.634 E .684 -.15(ve n)-.2 H 2.884(oe).15 G -.25(ff)-2.884 G .384 (ect and return an error status.).25 F(If)5.385 E F3(FUNCN)2.885 E(AME) --.18 E F0 .384(is unset, it loses its special)2.634 F(properties, e)144 +-.18 E F0 .385(is unset, it loses its special)2.635 F(properties, e)144 696 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss) --2.5 G(ubsequently reset.)-2.5 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(10)198.445 E 0 Cg EP +-2.5 G(ubsequently reset.)-2.5 E(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(10)197.335 E 0 Cg EP %%Page: 11 11 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(GR)108 84 Q(OUPS)-.3 E F0 1.228(An array v) +-.35 E/F1 10/Times-Bold@0 SF(GR)108 84 Q(OUPS)-.3 E F0 1.229(An array v) 144 96 R 1.228(ariable containing the list of groups of which the curre\ -nt user is a member)-.25 F 6.229(.A)-.55 G(ssign-)-6.229 E .597 -(ments to)144 108 R/F2 9/Times-Bold@0 SF(GR)3.097 E(OUPS)-.27 E F0(ha) +nt user is a member)-.25 F 6.228(.A)-.55 G(ssign-)-6.228 E .596 +(ments to)144 108 R/F2 9/Times-Bold@0 SF(GR)3.096 E(OUPS)-.27 E F0(ha) 2.847 E .897 -.15(ve n)-.2 H 3.097(oe).15 G -.25(ff)-3.097 G .597 (ect and return an error status.).25 F(If)5.597 E F2(GR)3.097 E(OUPS) -.27 E F0 .597(is unset, it loses its spe-)2.847 F(cial properties, e) 144 120 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5 -(ss)-2.5 G(ubsequently reset.)-2.5 E F1(HISTCMD)108 136.8 Q F0 .355 -(The history number)144 148.8 R 2.855(,o)-.4 G 2.855(ri)-2.855 G(nde) --2.855 E 2.856(xi)-.15 G 2.856(nt)-2.856 G .356 +(ss)-2.5 G(ubsequently reset.)-2.5 E F1(HISTCMD)108 136.8 Q F0 .356 +(The history number)144 148.8 R 2.856(,o)-.4 G 2.856(ri)-2.856 G(nde) +-2.856 E 2.856(xi)-.15 G 2.856(nt)-2.856 G .356 (he history list, of the current command.)-2.856 F(If)5.356 E F2 -(HISTCMD)2.856 E F0 .356(is unset, it)2.606 F +(HISTCMD)2.855 E F0 .355(is unset, it)2.605 F (loses its special properties, e)144 160.8 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1 (HOSTN)108 177.6 Q(AME)-.2 E F0 (Automatically set to the name of the current host.)144 189.6 Q F1 -(HOSTTYPE)108 206.4 Q F0 .223(Automatically set to a string that unique\ -ly describes the type of machine on which)144 218.4 R F1(bash)2.722 E F0 -.222(is e)2.722 F -.15(xe)-.15 G(cut-).15 E 2.5(ing. The)144 230.4 R +(HOSTTYPE)108 206.4 Q F0 .222(Automatically set to a string that unique\ +ly describes the type of machine on which)144 218.4 R F1(bash)2.723 E F0 +.223(is e)2.723 F -.15(xe)-.15 G(cut-).15 E 2.5(ing. The)144 230.4 R (def)2.5 E(ault is system-dependent.)-.1 E F1(LINENO)108 247.2 Q F0 1.408(Each time this parameter is referenced, the shell substitutes a d\ ecimal number representing the)144 259.2 R .078(current sequential line\ number \(starting with 1\) within a script or function.)144 271.2 R -.078(When not in a script or)5.078 F .306(function, the v)144 283.2 R -.306(alue substituted is not guaranteed to be meaningful.)-.25 F(If) -5.307 E F2(LINENO)2.807 E F0 .307(is unset, it loses its)2.557 F +.079(When not in a script or)5.078 F .307(function, the v)144 283.2 R +.307(alue substituted is not guaranteed to be meaningful.)-.25 F(If) +5.306 E F2(LINENO)2.806 E F0 .306(is unset, it loses its)2.556 F (special properties, e)144 295.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(fi) -2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G(ubsequently reset.)-2.5 E F1(MA)108 312 Q(CHTYPE)-.55 E F0 .898(Automatically set to a string that fully de\ -scribes the system type on which)144 324 R F1(bash)3.398 E F0 .898(is e) -3.398 F -.15(xe)-.15 G .898(cuting, in).15 F(the standard GNU)144 336 Q +scribes the system type on which)144 324 R F1(bash)3.398 E F0 .899(is e) +3.398 F -.15(xe)-.15 G .899(cuting, in).15 F(the standard GNU)144 336 Q /F3 10/Times-Italic@0 SF(cpu-company-system)2.5 E F0 2.5(format. The)2.5 F(def)2.5 E(ault is system-dependent.)-.1 E F1(OLDPWD)108 352.8 Q F0 (The pre)144 364.8 Q(vious w)-.25 E(orking directory as set by the)-.1 E -F1(cd)2.5 E F0(command.)2.5 E F1(OPT)108 381.6 Q(ARG)-.9 E F0 1.626 +F1(cd)2.5 E F0(command.)2.5 E F1(OPT)108 381.6 Q(ARG)-.9 E F0 1.627 (The v)144 393.6 R 1.627(alue of the last option ar)-.25 F 1.627 (gument processed by the)-.18 F F1(getopts)4.127 E F0 -.2(bu)4.127 G -1.627(iltin command \(see).2 F F2(SHELL)4.127 E -.09(BU)144 405.6 S(IL) +1.626(iltin command \(see).2 F F2(SHELL)4.126 E -.09(BU)144 405.6 S(IL) .09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1(OPTIND)108 -422.4 Q F0 1.652(The inde)144 434.4 R 4.152(xo)-.15 G 4.152(ft)-4.152 G -1.652(he ne)-4.152 F 1.652(xt ar)-.15 F 1.652 -(gument to be processed by the)-.18 F F1(getopts)4.151 E F0 -.2(bu)4.151 -G 1.651(iltin command \(see).2 F F2(SHELL)4.151 E -.09(BU)144 446.4 S +422.4 Q F0 1.651(The inde)144 434.4 R 4.151(xo)-.15 G 4.151(ft)-4.151 G +1.651(he ne)-4.151 F 1.651(xt ar)-.15 F 1.652 +(gument to be processed by the)-.18 F F1(getopts)4.152 E F0 -.2(bu)4.152 +G 1.652(iltin command \(see).2 F F2(SHELL)4.152 E -.09(BU)144 446.4 S (IL).09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1(OSTYPE)108 463.2 Q F0 .329(Automatically set to a string that describes the operat\ -ing system on which)144 475.2 R F1(bash)2.83 E F0 .33(is e)2.83 F -.15 -(xe)-.15 G 2.83(cuting. The).15 F(def)144 487.2 Q +ing system on which)144 475.2 R F1(bash)2.829 E F0 .329(is e)2.829 F +-.15(xe)-.15 G 2.829(cuting. The).15 F(def)144 487.2 Q (ault is system-dependent.)-.1 E F1(PIPEST)108 504 Q -.95(AT)-.9 G(US) .95 E F0 .61(An array v)144 516 R .61(ariable \(see)-.25 F F1(Arrays) 3.11 E F0(belo)3.11 E .61(w\) containing a list of e)-.25 F .61 @@ -1499,9 +1516,9 @@ ing system on which)144 475.2 R F1(bash)2.83 E F0 .33(is e)2.83 F -.15 2.5(arent. This)-2.5 F -.25(va)2.5 G(riable is readonly).25 E(.)-.65 E F1(PWD)108 561.6 Q F0(The current w)12.67 E (orking directory as set by the)-.1 E F1(cd)2.5 E F0(command.)2.5 E F1 -(RANDOM)108 578.4 Q F0 .565 -(Each time this parameter is referenced, a random inte)144 590.4 R .566 -(ger between 0 and 32767 is generated.)-.15 F(The)5.566 E .01 +(RANDOM)108 578.4 Q F0 .566 +(Each time this parameter is referenced, a random inte)144 590.4 R .565 +(ger between 0 and 32767 is generated.)-.15 F(The)5.565 E .01 (sequence of random numbers may be initialized by assigning a v)144 602.4 R .01(alue to)-.25 F F2(RANDOM)2.51 E/F4 9/Times-Roman@0 SF(.)A F0 (If)4.51 E F2(RANDOM)2.51 E F0(is)2.26 E @@ -1512,178 +1529,178 @@ F1(PWD)108 561.6 Q F0(The current w)12.67 E .18 E F0 -.2(bu)2.5 G(iltin command when no ar).2 E (guments are supplied.)-.18 E F1(SECONDS)108 660 Q F0 .795(Each time th\ is parameter is referenced, the number of seconds since shell in)144 672 -R -.2(vo)-.4 G .795(cation is returned.).2 F .713(If a v)144 684 R .712 +R -.2(vo)-.4 G .795(cation is returned.).2 F .712(If a v)144 684 R .712 (alue is assigned to)-.25 F F2(SECONDS)3.212 E F4(,)A F0 .712(the v) 2.962 F .712(alue returned upon subsequent references is the number)-.25 -F .407(of seconds since the assignment plus the v)144 696 R .408 -(alue assigned.)-.25 F(If)5.408 E F2(SECONDS)2.908 E F0 .408 +F .408(of seconds since the assignment plus the v)144 696 R .408 +(alue assigned.)-.25 F(If)5.408 E F2(SECONDS)2.908 E F0 .407 (is unset, it loses its special)2.658 F(properties, e)144 708 Q -.15(ve) -.25 G 2.5(ni).15 G 2.5(fi)-2.5 G 2.5(ti)-2.5 G 2.5(ss)-2.5 G -(ubsequently reset.)-2.5 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E -(11)198.445 E 0 Cg EP +(ubsequently reset.)-2.5 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E +(11)197.335 E 0 Cg EP %%Page: 12 12 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(SHELLOPTS)108 84 Q F0 3.263(Ac)144 96 S -.763(olon-separated list of enabled shell options.)-3.263 F .763(Each w) +-.35 E/F1 10/Times-Bold@0 SF(SHELLOPTS)108 84 Q F0 3.262(Ac)144 96 S +.763(olon-separated list of enabled shell options.)-3.262 F .763(Each w) 5.763 F .763(ord in the list is a v)-.1 F .763(alid ar)-.25 F .763 -(gument for the)-.18 F F1<ad6f>144 108 Q F0 1.173(option to the)3.673 F -F1(set)3.673 E F0 -.2(bu)3.673 G 1.173(iltin command \(see).2 F/F2 9 -/Times-Bold@0 SF 1.174(SHELL B)3.674 F(UIL)-.09 E 1.174(TIN COMMANDS) --.828 F F0(belo)3.424 E 3.674(w\). The)-.25 F(options)3.674 E .02 -(appearing in)144 120 R F2(SHELLOPTS)2.52 E F0 .019 -(are those reported as)2.27 F/F3 10/Times-Italic@0 SF(on)2.749 E F0(by) +(gument for the)-.18 F F1<ad6f>144 108 Q F0 1.174(option to the)3.674 F +F1(set)3.674 E F0 -.2(bu)3.674 G 1.174(iltin command \(see).2 F/F2 9 +/Times-Bold@0 SF 1.173(SHELL B)3.673 F(UIL)-.09 E 1.173(TIN COMMANDS) +-.828 F F0(belo)3.423 E 3.673(w\). The)-.25 F(options)3.673 E .019 +(appearing in)144 120 R F2(SHELLOPTS)2.519 E F0 .019 +(are those reported as)2.269 F/F3 10/Times-Italic@0 SF(on)2.749 E F0(by) 2.759 E F1 .019(set \255o)2.519 F F0 5.019(.I)C 2.519(ft)-5.019 G .019 -(his v)-2.519 F .019(ariable is in the en)-.25 F(vironment)-.4 E(when) -144 132 Q F1(bash)3.141 E F0 .642(starts up, each shell option in the l\ -ist will be enabled before reading an)3.141 F 3.142(ys)-.15 G .642 -(tartup \214les.)-3.142 F(This v)144 144 Q(ariable is read-only)-.25 E +(his v)-2.519 F .02(ariable is in the en)-.25 F(vironment)-.4 E(when)144 +132 Q F1(bash)3.142 E F0 .642(starts up, each shell option in the list \ +will be enabled before reading an)3.142 F 3.141(ys)-.15 G .641 +(tartup \214les.)-3.141 F(This v)144 144 Q(ariable is read-only)-.25 E (.)-.65 E F1(SHL)108 160.8 Q(VL)-.92 E F0 (Incremented by one each time an instance of)144 172.8 Q F1(bash)2.5 E F0(is started.)2.5 E F1(UID)108 189.6 Q F0 (Expands to the user ID of the current user)17.67 E 2.5(,i)-.4 G (nitialized at shell startup.)-2.5 E(This v)5 E(ariable is readonly)-.25 -E(.)-.65 E .994(The follo)108 206.4 R .994(wing v)-.25 F .994 +E(.)-.65 E .993(The follo)108 206.4 R .993(wing v)-.25 F .994 (ariables are used by the shell.)-.25 F .994(In some cases,)5.994 F F1 -(bash)3.494 E F0 .994(assigns a def)3.494 F .994(ault v)-.1 F .993 +(bash)3.494 E F0 .994(assigns a def)3.494 F .994(ault v)-.1 F .994 (alue to a v)-.25 F(ariable;)-.25 E(these cases are noted belo)108 218.4 -Q -.65(w.)-.25 G F1 -.3(BA)108 235.2 S(SH_ENV).3 E F0 .505 -(If this parameter is set when)144 247.2 R F1(bash)3.005 E F0 .505(is e) -3.005 F -.15(xe)-.15 G .506(cuting a shell script, its v).15 F .506 -(alue is interpreted as a \214lename)-.25 F .355 +Q -.65(w.)-.25 G F1 -.3(BA)108 235.2 S(SH_ENV).3 E F0 .506 +(If this parameter is set when)144 247.2 R F1(bash)3.006 E F0 .506(is e) +3.006 F -.15(xe)-.15 G .505(cuting a shell script, its v).15 F .505 +(alue is interpreted as a \214lename)-.25 F .354 (containing commands to initialize the shell, as in)144 259.2 R F3 -(~/.bashr)2.855 E(c)-.37 E F0 5.354(.T).31 G .354(he v)-5.354 F .354 -(alue of)-.25 F F2 -.27(BA)2.854 G(SH_ENV).27 E F0 .354(is subjected) -2.604 F .525(to parameter e)144 271.2 R .525 +(~/.bashr)2.855 E(c)-.37 E F0 5.355(.T).31 G .355(he v)-5.355 F .355 +(alue of)-.25 F F2 -.27(BA)2.855 G(SH_ENV).27 E F0 .355(is subjected) +2.605 F .525(to parameter e)144 271.2 R .525 (xpansion, command substitution, and arithmetic e)-.15 F .525 (xpansion before being interpreted)-.15 F(as a \214le name.)144 283.2 Q F2 -.666(PA)5 G(TH)-.189 E F0 (is not used to search for the resultant \214le name.)2.25 E F1(CDP)108 -295.2 Q -.95(AT)-.74 G(H).95 E F0 1.248(The search path for the)144 -307.2 R F1(cd)3.748 E F0 3.748(command. This)3.748 F 1.247 -(is a colon-separated list of directories in which the)3.748 F 3.795 +295.2 Q -.95(AT)-.74 G(H).95 E F0 1.247(The search path for the)144 +307.2 R F1(cd)3.747 E F0 3.747(command. This)3.747 F 1.248 +(is a colon-separated list of directories in which the)3.747 F 3.796 (shell looks for destination directories speci\214ed by the)144 319.2 R -F1(cd)6.295 E F0 6.296(command. A)6.296 F 3.796(sample v)6.296 F 3.796 +F1(cd)6.295 E F0 6.295(command. A)6.295 F 3.795(sample v)6.295 F 3.795 (alue is)-.25 F/F4 10/Courier@0 SF(".:~:/usr")144 331.2 Q F0(.)A F1 (COLUMNS)108 343.2 Q F0 .425(Used by the)144 355.2 R F1(select)2.925 E F0 -.2(bu)2.925 G .425(iltin command to determine the terminal width wh\ en printing selection lists.).2 F (Automatically set upon receipt of a SIGWINCH.)144 367.2 Q F1(COMPREPL) -108 379.2 Q(Y)-.92 E F0 .847(An array v)144 391.2 R .848 +108 379.2 Q(Y)-.92 E F0 .848(An array v)144 391.2 R .848 (ariable from which)-.25 F F1(bash)3.348 E F0 .848 (reads the possible completions generated by a shell function)3.348 F (in)144 403.2 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(db).1 G 2.5(yt)-2.5 G (he programmable completion f)-2.5 E(acility \(see)-.1 E F1(Pr)2.5 E (ogrammable Completion)-.18 E F0(belo)2.5 E(w\).)-.25 E F1(EMA)108 415.2 -Q(CS)-.55 E F0(If)144 427.2 Q F1(bash)2.536 E F0 .036(\214nds this v) -2.536 F .036(ariable in the en)-.25 F .036 -(vironment when the shell starts with v)-.4 F(alue)-.25 E F4(t)2.535 E -F0 2.535(,i)C 2.535(ta)-2.535 G .035(ssumes that the)-2.535 F +Q(CS)-.55 E F0(If)144 427.2 Q F1(bash)2.535 E F0 .035(\214nds this v) +2.535 F .035(ariable in the en)-.25 F .036 +(vironment when the shell starts with v)-.4 F(alue)-.25 E F4(t)2.536 E +F0 2.536(,i)C 2.536(ta)-2.536 G .036(ssumes that the)-2.536 F (shell is running in an emacs shell b)144 439.2 Q(uf)-.2 E (fer and disables line editing.)-.25 E F1(FCEDIT)108 451.2 Q F0(The def) 144 463.2 Q(ault editor for the)-.1 E F1(fc)2.5 E F0 -.2(bu)2.5 G -(iltin command.).2 E F1(FIGNORE)108 475.2 Q F0 2.598(Ac)144 487.2 S .098 -(olon-separated list of suf)-2.598 F<8c78>-.25 E .098 +(iltin command.).2 E F1(FIGNORE)108 475.2 Q F0 2.599(Ac)144 487.2 S .098 +(olon-separated list of suf)-2.599 F<8c78>-.25 E .098 (es to ignore when performing \214lename completion \(see)-.15 F F2 -(READLINE)2.599 E F0(belo)144 499.2 Q 2.705(w\). A)-.25 F .205 -(\214lename whose suf)2.705 F .205(\214x matches one of the entries in) --.25 F F2(FIGNORE)2.705 E F0 .205(is e)2.455 F .204 +(READLINE)2.598 E F0(belo)144 499.2 Q 2.704(w\). A)-.25 F .204 +(\214lename whose suf)2.704 F .205(\214x matches one of the entries in) +-.25 F F2(FIGNORE)2.705 E F0 .205(is e)2.455 F .205 (xcluded from the list)-.15 F(of matched \214lenames.)144 511.2 Q 2.5 (As)5 G(ample v)-2.5 E(alue is)-.25 E F4(".o:~")2.5 E F0(.)A F1 (GLOBIGNORE)108 523.2 Q F0 3.118(Ac)144 535.2 S .618(olon-separated lis\ t of patterns de\214ning the set of \214lenames to be ignored by pathna\ -me e)-3.118 F(xpan-)-.15 E 3.132(sion. If)144 547.2 R 3.132<618c>3.132 G +me e)-3.118 F(xpan-)-.15 E 3.131(sion. If)144 547.2 R 3.132<618c>3.131 G .632(lename matched by a pathname e)-3.132 F .632 (xpansion pattern also matches one of the patterns in)-.15 F F2 (GLOBIGNORE)144 559.2 Q/F5 9/Times-Roman@0 SF(,)A F0(it is remo)2.25 E -.15(ve)-.15 G 2.5(df).15 G(rom the list of matches.)-2.5 E F1 -(HISTCONTR)108 571.2 Q(OL)-.3 E F0 2.653(Ac)144 583.2 S .153 -(olon-separated list of v)-2.653 F .153(alues controlling ho)-.25 F +(HISTCONTR)108 571.2 Q(OL)-.3 E F0 2.654(Ac)144 583.2 S .153 +(olon-separated list of v)-2.654 F .153(alues controlling ho)-.25 F 2.653(wc)-.25 G .153(ommands are sa)-2.653 F -.15(ve)-.2 G 2.653(do).15 -G 2.653(nt)-2.653 G .153(he history list.)-2.653 F .154(If the list) -5.153 F .491(of v)144 595.2 R .491(alues includes)-.25 F F3(ignor)2.991 -E(espace)-.37 E F0 2.991(,l).18 G .491(ines which be)-2.991 F .491 -(gin with a)-.15 F F1(space)2.991 E F0 .49(character are not sa)2.991 F --.15(ve)-.2 G 2.99(di).15 G 2.99(nt)-2.99 G .49(he his-)-2.99 F .557 -(tory list.)144 607.2 R 3.057(Av)5.557 G .557(alue of)-3.307 F F3(ignor) -3.067 E(edups)-.37 E F0 .557(causes lines matching the pre)3.327 F .558 -(vious history entry to not be sa)-.25 F -.15(ve)-.2 G(d.).15 E 2.959 -(Av)144 619.2 S .459(alue of)-3.209 F F3(ignor)2.969 E(eboth)-.37 E F0 -.459(is shorthand for)3.239 F F3(ignor)2.959 E(espace)-.37 E F0(and) -2.959 E F3(ignor)2.958 E(edups)-.37 E F0 5.458(.A)C -.25(va)-2.5 G .458 -(lue of).25 F F3(er)2.958 E(asedups)-.15 E F0(causes)2.958 E .698 +G 2.653(nt)-2.653 G .153(he history list.)-2.653 F .153(If the list) +5.153 F .49(of v)144 595.2 R .49(alues includes)-.25 F F3(ignor)2.99 E +(espace)-.37 E F0 2.99(,l).18 G .49(ines which be)-2.99 F .491 +(gin with a)-.15 F F1(space)2.991 E F0 .491(character are not sa)2.991 F +-.15(ve)-.2 G 2.991(di).15 G 2.991(nt)-2.991 G .491(he his-)-2.991 F +.558(tory list.)144 607.2 R 3.058(Av)5.558 G .558(alue of)-3.308 F F3 +(ignor)3.068 E(edups)-.37 E F0 .558(causes lines matching the pre)3.328 +F .557(vious history entry to not be sa)-.25 F -.15(ve)-.2 G(d.).15 E +2.958(Av)144 619.2 S .458(alue of)-3.208 F F3(ignor)2.968 E(eboth)-.37 E +F0 .458(is shorthand for)3.238 F F3(ignor)2.959 E(espace)-.37 E F0(and) +2.959 E F3(ignor)2.959 E(edups)-.37 E F0 5.459(.A)C -.25(va)-2.5 G .459 +(lue of).25 F F3(er)2.959 E(asedups)-.15 E F0(causes)2.959 E .699 (all pre)144 631.2 R .698 (vious lines matching the current line to be remo)-.25 F -.15(ve)-.15 G -3.198(df).15 G .699(rom the history list before that line is)-3.198 F -(sa)144 643.2 Q -.15(ve)-.2 G 4.297(d. An).15 F 4.297(yv)-.15 G 1.797 -(alue not in the abo)-4.547 F 2.097 -.15(ve l)-.15 H 1.797 +3.198(df).15 G .698(rom the history list before that line is)-3.198 F +(sa)144 643.2 Q -.15(ve)-.2 G 4.296(d. An).15 F 4.296(yv)-.15 G 1.797 +(alue not in the abo)-4.546 F 2.097 -.15(ve l)-.15 H 1.797 (ist is ignored.).15 F(If)6.797 E F1(HISTCONTR)4.297 E(OL)-.3 E F0 1.797 -(is unset, or does not)4.297 F .612(include a v)144 655.2 R .612(alid v) +(is unset, or does not)4.297 F .613(include a v)144 655.2 R .612(alid v) -.25 F .612(alue, all lines read by the shell parser are sa)-.25 F -.15 (ve)-.2 G 3.112(do).15 G 3.112(nt)-3.112 G .612 -(he history list, subject to the)-3.112 F -.25(va)144 667.2 S .986 -(lue of).25 F F1(HISTIGNORE)3.486 E F0 5.986(.T)C .986 +(he history list, subject to the)-3.112 F -.25(va)144 667.2 S .985 +(lue of).25 F F1(HISTIGNORE)3.485 E F0 5.986(.T)C .986 (he second and subsequent lines of a multi-line compound command)-5.986 F(are not tested, and are added to the history re)144 679.2 Q -.05(ga) -.15 G(rdless of the v).05 E(alue of)-.25 E F1(HISTCONTR)2.5 E(OL)-.3 E F0(.)A F1(HISTFILE)108 691.2 Q F0 .181 (The name of the \214le in which command history is sa)144 703.2 R -.15 (ve)-.2 G 2.681(d\().15 G(see)-2.681 E F2(HIST)2.681 E(OR)-.162 E(Y) --.315 E F0(belo)2.431 E 2.682(w\). The)-.25 F(def)2.682 E .182(ault v) +-.315 E F0(belo)2.431 E 2.681(w\). The)-.25 F(def)2.681 E .181(ault v) -.1 F(alue)-.25 E(is)144 715.2 Q F3(~/.bash_history)2.5 E F0 5(.I)C 2.5 (fu)-5 G(nset, the command history is not sa)-2.5 E -.15(ve)-.2 G 2.5 (dw).15 G(hen an interacti)-2.5 E .3 -.15(ve s)-.25 H(hell e).15 E -(xits.)-.15 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(12)198.445 E -0 Cg EP +(xits.)-.15 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(12)197.335 E 0 +Cg EP %%Page: 13 13 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(HISTFILESIZE)108 84 Q F0 1.623 +-.35 E/F1 10/Times-Bold@0 SF(HISTFILESIZE)108 84 Q F0 1.622 (The maximum number of lines contained in the history \214le.)144 96 R -1.622(When this v)6.623 F 1.622(ariable is assigned a)-.25 F -.25(va)144 +1.623(When this v)6.623 F 1.623(ariable is assigned a)-.25 F -.25(va)144 108 S .305(lue, the history \214le is truncated, if necessary).25 F 2.805(,b)-.65 G 2.805(yr)-2.805 G(emo)-2.805 E .305 -(ving the oldest entries, to contain no more)-.15 F .602 -(than that number of lines.)144 120 R .602(The def)5.602 F .602(ault v) --.1 F .602(alue is 500.)-.25 F .601 +(ving the oldest entries, to contain no more)-.15 F .601 +(than that number of lines.)144 120 R .601(The def)5.601 F .602(ault v) +-.1 F .602(alue is 500.)-.25 F .602 (The history \214le is also truncated to this size)5.602 F (after writing it when an interacti)144 132 Q .3 -.15(ve s)-.25 H -(hell e).15 E(xits.)-.15 E F1(HISTIGNORE)108 144 Q F0 2.657(Ac)144 156 S -.157(olon-separated list of patterns used to decide which command lines\ - should be sa)-2.657 F -.15(ve)-.2 G 2.658(do).15 G 2.658(nt)-2.658 G -.158(he his-)-2.658 F .708(tory list.)144 168 R .708 -(Each pattern is anchored at the be)5.708 F .707 -(ginning of the line and must match the complete line)-.15 F .625 -(\(no implicit `)144 180 R F1(*)A F0 3.125('i)C 3.125(sa)-3.125 G 3.125 -(ppended\). Each)-3.125 F .626(pattern is tested ag)3.125 F .626 +(hell e).15 E(xits.)-.15 E F1(HISTIGNORE)108 144 Q F0 2.658(Ac)144 156 S +.158(olon-separated list of patterns used to decide which command lines\ + should be sa)-2.658 F -.15(ve)-.2 G 2.657(do).15 G 2.657(nt)-2.657 G +.157(he his-)-2.657 F .707(tory list.)144 168 R .707 +(Each pattern is anchored at the be)5.707 F .708 +(ginning of the line and must match the complete line)-.15 F .626 +(\(no implicit `)144 180 R F1(*)A F0 3.126('i)C 3.126(sa)-3.126 G 3.126 +(ppended\). Each)-3.126 F .626(pattern is tested ag)3.126 F .625 (ainst the line after the checks speci\214ed by)-.05 F F1(HISTCONTR)144 -192 Q(OL)-.3 E F0 1.155(are applied.)3.655 F 1.154 +192 Q(OL)-.3 E F0 1.154(are applied.)3.654 F 1.154 (In addition to the normal shell pattern matching characters, `)6.154 F -F1(&)A F0(')A 2.514(matches the pre)144 204 R 2.514(vious history line.) +F1(&)A F0(')A 2.515(matches the pre)144 204 R 2.515(vious history line.) -.25 F(`)7.514 E F1(&)A F0 5.014('m)C 2.514 (ay be escaped using a backslash; the backslash is)-5.014 F(remo)144 216 -Q -.15(ve)-.15 G 3.353(db).15 G .853(efore attempting a match.)-3.353 F +Q -.15(ve)-.15 G 3.352(db).15 G .852(efore attempting a match.)-3.352 F .852(The second and subsequent lines of a multi-line compound)5.852 F (command are not tested, and are added to the history re)144 228 Q -.05 (ga)-.15 G(rdless of the v).05 E(alue of)-.25 E F1(HISTIGNORE)2.5 E F0 (.)A F1(HISTSIZE)108 240 Q F0 1.942 (The number of commands to remember in the command history \(see)144 252 -R/F2 9/Times-Bold@0 SF(HIST)4.443 E(OR)-.162 E(Y)-.315 E F0(belo)4.193 E -4.443(w\). The)-.25 F(def)144 264 Q(ault v)-.1 E(alue is 500.)-.25 E F1 -(HISTTIMEFORMA)108 276 Q(T)-.95 E F0 .952(If this v)144 288 R .952 -(ariable is set and not null, its v)-.25 F .951 +R/F2 9/Times-Bold@0 SF(HIST)4.442 E(OR)-.162 E(Y)-.315 E F0(belo)4.192 E +4.442(w\). The)-.25 F(def)144 264 Q(ault v)-.1 E(alue is 500.)-.25 E F1 +(HISTTIMEFORMA)108 276 Q(T)-.95 E F0 .951(If this v)144 288 R .951 +(ariable is set and not null, its v)-.25 F .952 (alue is used as a format string for)-.25 F/F3 10/Times-Italic@0 SF -(strftime)3.451 E F0 .951(\(3\) to print the)B .672 +(strftime)3.452 E F0 .952(\(3\) to print the)B .673 (time stamp associated with each history entry displayed by the)144 300 -R F1(history)3.173 E F0 -.2(bu)3.173 G 3.173(iltin. If).2 F .673(this v) -3.173 F .673(ariable is)-.25 F .144 +R F1(history)3.173 E F0 -.2(bu)3.172 G 3.172(iltin. If).2 F .672(this v) +3.172 F .672(ariable is)-.25 F .144 (set, time stamps are written to the history \214le so the)144 312 R 2.644(ym)-.15 G .144(ay be preserv)-2.644 F .144 -(ed across shell sessions.)-.15 F(This)5.144 E(uses the history comment\ +(ed across shell sessions.)-.15 F(This)5.145 E(uses the history comment\ character to distinguish timestamps from other history lines.)144 324 Q F1(HOME)108 336 Q F0 1.27 (The home directory of the current user; the def)144 348 R 1.27(ault ar) @@ -1693,58 +1710,58 @@ F1(HOME)108 336 Q F0 1.27 (HOSTFILE)108 372 Q F0 1.015 (Contains the name of a \214le in the same format as)144 384 R F3 (/etc/hosts)5.181 E F0 1.015(that should be read when the shell)5.181 F -.55(needs to complete a hostname.)144 396 R .551 +.551(needs to complete a hostname.)144 396 R .551 (The list of possible hostname completions may be changed while)5.551 F -1.059(the shell is running; the ne)144 408 R 1.059 -(xt time hostname completion is attempted after the v)-.15 F 1.058 -(alue is changed,)-.25 F F1(bash)144 420 Q F0 .715 -(adds the contents of the ne)3.215 F 3.215<778c>-.25 G .715(le to the e) --3.215 F .715(xisting list.)-.15 F(If)5.716 E F2(HOSTFILE)3.216 E F0 -.716(is set, b)2.966 F .716(ut has no v)-.2 F(alue,)-.25 E F1(bash)144 -432 Q F0 2.236(attempts to read)4.736 F F3(/etc/hosts)6.401 E F0 2.235 -(to obtain the list of possible hostname completions.)6.401 F(When)7.235 +1.058(the shell is running; the ne)144 408 R 1.059 +(xt time hostname completion is attempted after the v)-.15 F 1.059 +(alue is changed,)-.25 F F1(bash)144 420 Q F0 .716 +(adds the contents of the ne)3.216 F 3.216<778c>-.25 G .715(le to the e) +-3.216 F .715(xisting list.)-.15 F(If)5.715 E F2(HOSTFILE)3.215 E F0 +.715(is set, b)2.965 F .715(ut has no v)-.2 F(alue,)-.25 E F1(bash)144 +432 Q F0 2.235(attempts to read)4.735 F F3(/etc/hosts)6.401 E F0 2.235 +(to obtain the list of possible hostname completions.)6.401 F(When)7.236 E F2(HOSTFILE)144 444 Q F0(is unset, the hostname list is cleared.)2.25 -E F1(IFS)108 456 Q F0(The)20.44 E F3 .555(Internal F)3.635 F .555 -(ield Separ)-.45 F(ator)-.15 E F0 .555(that is used for w)3.785 F .556 -(ord splitting after e)-.1 F .556(xpansion and to split lines into)-.15 +E F1(IFS)108 456 Q F0(The)20.44 E F3 .556(Internal F)3.636 F .556 +(ield Separ)-.45 F(ator)-.15 E F0 .556(that is used for w)3.786 F .556 +(ord splitting after e)-.1 F .555(xpansion and to split lines into)-.15 F -.1(wo)144 468 S(rds with the).1 E F1 -.18(re)2.5 G(ad).18 E F0 -.2 (bu)2.5 G(iltin command.).2 E(The def)5 E(ault v)-.1 E(alue is `)-.25 E (`<space><tab><ne)-.74 E(wline>')-.25 E('.)-.74 E F1(IGNOREEOF)108 480 Q F0 .503(Controls the action of an interacti)144 492 R .803 -.15(ve s) -.25 H .503(hell on receipt of an).15 F F2(EOF)3.003 E F0 .503 -(character as the sole input.)2.753 F .503(If set,)5.503 F .426(the v) +(character as the sole input.)2.753 F .504(If set,)5.504 F .426(the v) 144 504 R .426(alue is the number of consecuti)-.25 F -.15(ve)-.25 G F2 (EOF)3.076 E F0 .426 -(characters which must be typed as the \214rst characters)2.676 F .303 +(characters which must be typed as the \214rst characters)2.676 F .302 (on an input line before)144 516 R F1(bash)2.802 E F0 -.15(ex)2.802 G 2.802(its. If).15 F .302(the v)2.802 F .302(ariable e)-.25 F .302 (xists b)-.15 F .302(ut does not ha)-.2 F .602 -.15(ve a n)-.2 H .302 -(umeric v).15 F .302(alue, or has)-.25 F(no v)144 528 Q(alue, the def) +(umeric v).15 F .303(alue, or has)-.25 F(no v)144 528 Q(alue, the def) -.25 E(ault v)-.1 E(alue is 10.)-.25 E(If it does not e)5 E(xist,)-.15 E F2(EOF)2.5 E F0(signi\214es the end of input to the shell.)2.25 E F1 -(INPUTRC)108 540 Q F0 1.435(The \214lename for the)144 552 R F1 -.18(re) +(INPUTRC)108 540 Q F0 1.436(The \214lename for the)144 552 R F1 -.18(re) 3.936 G(adline).18 E F0 1.436(startup \214le, o)3.936 F -.15(ve)-.15 G 1.436(rriding the def).15 F 1.436(ault of)-.1 F F3(~/.inputr)5.602 E(c) --.37 E F0(\(see)5.602 E F2(READLINE)3.936 E F0(belo)144 564 Q(w\).)-.25 -E F1(LANG)108 576 Q F0 1.24(Used to determine the locale cate)7.11 F -1.239(gory for an)-.15 F 3.739(yc)-.15 G(ate)-3.739 E 1.239 +-.37 E F0(\(see)5.601 E F2(READLINE)3.935 E F0(belo)144 564 Q(w\).)-.25 +E F1(LANG)108 576 Q F0 1.239(Used to determine the locale cate)7.11 F +1.239(gory for an)-.15 F 3.739(yc)-.15 G(ate)-3.739 E 1.24 (gory not speci\214cally selected with a v)-.15 F(ariable)-.25 E (starting with)144 588 Q F1(LC_)2.5 E F0(.)A F1(LC_ALL)108 600 Q F0 .764 (This v)144 612 R .764(ariable o)-.25 F -.15(ve)-.15 G .764 (rrides the v).15 F .764(alue of)-.25 F F1(LANG)3.264 E F0 .764(and an) 3.264 F 3.264(yo)-.15 G(ther)-3.264 E F1(LC_)3.264 E F0 -.25(va)3.264 G .764(riable specifying a locale cate-).25 F(gory)144 624 Q(.)-.65 E F1 -(LC_COLLA)108 636 Q(TE)-.95 E F0 .412(This v)144 648 R .412(ariable det\ +(LC_COLLA)108 636 Q(TE)-.95 E F0 .411(This v)144 648 R .412(ariable det\ ermines the collation order used when sorting the results of pathname e) --.25 F(xpansion,)-.15 E 1.464(and determines the beha)144 660 R 1.464 -(vior of range e)-.2 F 1.465(xpressions, equi)-.15 F -.25(va)-.25 G -1.465(lence classes, and collating sequences).25 F(within pathname e)144 +-.25 F(xpansion,)-.15 E 1.465(and determines the beha)144 660 R 1.465 +(vior of range e)-.2 F 1.464(xpressions, equi)-.15 F -.25(va)-.25 G +1.464(lence classes, and collating sequences).25 F(within pathname e)144 672 Q(xpansion and pattern matching.)-.15 E F1(LC_CTYPE)108 684 Q F0 -1.936(This v)144 696 R 1.936 +1.935(This v)144 696 R 1.936 (ariable determines the interpretation of characters and the beha)-.25 F -1.935(vior of character classes)-.2 F(within pathname e)144 708 Q -(xpansion and pattern matching.)-.15 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(13)198.445 E 0 Cg EP +1.936(vior of character classes)-.2 F(within pathname e)144 708 Q +(xpansion and pattern matching.)-.15 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(13)197.335 E 0 Cg EP %%Page: 14 14 %%BeginPageSetup BP @@ -1754,62 +1771,62 @@ BP 96 Q(ariable determines the locale used to translate double-quoted stri\ ngs preceded by a)-.25 E F1($)2.5 E F0(.)A F1(LC_NUMERIC)108 108 Q F0 (This v)144 120 Q(ariable determines the locale cate)-.25 E -(gory used for number formatting.)-.15 E F1(LINES)108 132 Q F0 1.218 -(Used by the)5.99 F F1(select)3.718 E F0 -.2(bu)3.718 G 1.219(iltin com\ +(gory used for number formatting.)-.15 E F1(LINES)108 132 Q F0 1.219 +(Used by the)5.99 F F1(select)3.719 E F0 -.2(bu)3.719 G 1.218(iltin com\ mand to determine the column length for printing selection lists.).2 F (Automatically set upon receipt of a SIGWINCH.)144 144 Q F1(MAIL)108 156 -Q F0 .188(If this parameter is set to a \214le name and the)8.78 F/F2 9 +Q F0 .187(If this parameter is set to a \214le name and the)8.78 F/F2 9 /Times-Bold@0 SF(MAILP)2.687 E -.855(AT)-.666 G(H).855 E F0 -.25(va) -2.437 G .187(riable is not set,).25 F F1(bash)2.687 E F0 .187 -(informs the user)2.687 F(of the arri)144 168 Q -.25(va)-.25 G 2.5(lo) +2.438 G .188(riable is not set,).25 F F1(bash)2.688 E F0 .188 +(informs the user)2.688 F(of the arri)144 168 Q -.25(va)-.25 G 2.5(lo) .25 G 2.5(fm)-2.5 G(ail in the speci\214ed \214le.)-2.5 E F1(MAILCHECK) -108 180 Q F0 .098(Speci\214es ho)144 192 R 2.598(wo)-.25 G .098 -(ften \(in seconds\))-2.598 F F1(bash)2.598 E F0 .098(checks for mail.) -2.598 F .098(The def)5.098 F .098(ault is 60 seconds.)-.1 F .099 -(When it is time)5.099 F .224(to check for mail, the shell does so befo\ -re displaying the primary prompt.)144 204 R .223(If this v)5.223 F .223 +108 180 Q F0 .099(Speci\214es ho)144 192 R 2.599(wo)-.25 G .099 +(ften \(in seconds\))-2.599 F F1(bash)2.598 E F0 .098(checks for mail.) +2.598 F .098(The def)5.098 F .098(ault is 60 seconds.)-.1 F .098 +(When it is time)5.098 F .223(to check for mail, the shell does so befo\ +re displaying the primary prompt.)144 204 R .224(If this v)5.224 F .224 (ariable is unset,)-.25 F .066(or set to a v)144 216 R .066(alue that i\ s not a number greater than or equal to zero, the shell disables mail c\ -hecking.)-.25 F F1(MAILP)108 228 Q -.95(AT)-.74 G(H).95 E F0 2.815(Ac) -144 240 S .314(olon-separated list of \214le names to be check)-2.815 F +hecking.)-.25 F F1(MAILP)108 228 Q -.95(AT)-.74 G(H).95 E F0 2.814(Ac) +144 240 S .314(olon-separated list of \214le names to be check)-2.814 F .314(ed for mail.)-.1 F .314(The message to be printed when mail)5.314 F (arri)144 252 Q -.15(ve)-.25 G 3.42(si).15 G 3.42(nap)-3.42 G .92(artic\ ular \214le may be speci\214ed by separating the \214le name from the m\ -essage with a)-3.42 F 2.808(`?'. When)144 264 R .308(used in the te) -2.808 F .308(xt of the message,)-.15 F F1($_)2.808 E F0 -.15(ex)2.808 G -.308(pands to the name of the current mail\214le.).15 F(Exam-)5.307 E +essage with a)-3.42 F 2.807(`?'. When)144 264 R .307(used in the te) +2.807 F .308(xt of the message,)-.15 F F1($_)2.808 E F0 -.15(ex)2.808 G +.308(pands to the name of the current mail\214le.).15 F(Exam-)5.308 E (ple:)144 276 Q F1(MAILP)144 288 Q -.95(AT)-.74 G(H).95 E F0(=\010/v)A (ar/mail/bfox?"Y)-.25 E(ou ha)-1.1 E .3 -.15(ve m)-.2 H -(ail":~/shell\255mail?"$_ has mail!"\010).15 E F1(Bash)144 300 Q F0 .388 -(supplies a def)2.888 F .388(ault v)-.1 F .388(alue for this v)-.25 F -.388(ariable, b)-.25 F .389 +(ail":~/shell\255mail?"$_ has mail!"\010).15 E F1(Bash)144 300 Q F0 .389 +(supplies a def)2.889 F .389(ault v)-.1 F .389(alue for this v)-.25 F +.389(ariable, b)-.25 F .388 (ut the location of the user mail \214les that it uses is)-.2 F (system dependent \(e.g., /v)144 312 Q(ar/mail/)-.25 E F1($USER)A F0 -(\).)A F1(OPTERR)108 324 Q F0 .39(If set to the v)144 336 R .39(alue 1,) --.25 F F1(bash)2.89 E F0 .389(displays error messages generated by the) -2.889 F F1(getopts)2.889 E F0 -.2(bu)2.889 G .389(iltin command \(see).2 -F F2 .359(SHELL B)144 348 R(UIL)-.09 E .359(TIN COMMANDS)-.828 F F0 -(belo)2.609 E(w\).)-.25 E F2(OPTERR)5.359 E F0 .36 -(is initialized to 1 each time the shell is in)2.609 F -.2(vo)-.4 G -.1 -(ke).2 G(d).1 E(or a shell script is e)144 360 Q -.15(xe)-.15 G(cuted.) -.15 E F1 -.74(PA)108 372 S(TH)-.21 E F0 .588 -(The search path for commands.)9.91 F .587 +(\).)A F1(OPTERR)108 324 Q F0 .389(If set to the v)144 336 R .389 +(alue 1,)-.25 F F1(bash)2.889 E F0 .389 +(displays error messages generated by the)2.889 F F1(getopts)2.89 E F0 +-.2(bu)2.89 G .39(iltin command \(see).2 F F2 .36(SHELL B)144 348 R(UIL) +-.09 E .36(TIN COMMANDS)-.828 F F0(belo)2.61 E(w\).)-.25 E F2(OPTERR) +5.36 E F0 .359(is initialized to 1 each time the shell is in)2.61 F -.2 +(vo)-.4 G -.1(ke).2 G(d).1 E(or a shell script is e)144 360 Q -.15(xe) +-.15 G(cuted.).15 E F1 -.74(PA)108 372 S(TH)-.21 E F0 .587 +(The search path for commands.)9.91 F .588 (It is a colon-separated list of directories in which the shell looks) -5.588 F .471(for commands \(see)144 384 R F2 .471(COMMAND EXECUTION) -2.971 F F0(belo)2.722 E 2.972(w\). A)-.25 F .472 +5.587 F .472(for commands \(see)144 384 R F2 .472(COMMAND EXECUTION) +2.972 F F0(belo)2.722 E 2.972(w\). A)-.25 F .471 (zero-length \(null\) directory name in the)2.972 F -.25(va)144 396 S -.345(lue of).25 F F1 -.74(PA)2.845 G(TH)-.21 E F0 .345 -(indicates the current directory)2.845 F 5.345(.A)-.65 G .344 -(null directory name may appear as tw)-2.5 F 2.844(oa)-.1 G(djacent) --2.844 E .867(colons, or as an initial or trailing colon.)144 408 R .868 -(The def)5.868 F .868(ault path is system-dependent, and is set by the) --.1 F 26.329(administrator who installs)144 420 R F1(bash)28.829 E F0 -31.329(.A)C 26.328(common v)-2.501 F 26.328(alue is)-.25 F/F3 10 -/Courier@0 SF(/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin)144 432 -Q F0(.)A F1(POSIXL)108 444 Q(Y_CORRECT)-.92 E F0 .471(If this v)144 456 -R .471(ariable is in the en)-.25 F .471(vironment when)-.4 F F1(bash) -2.971 E F0 .471(starts, the shell enters)2.971 F/F4 10/Times-Italic@0 SF -.472(posix mode)2.972 F F0 .472(before reading)2.972 F .011 +.344(lue of).25 F F1 -.74(PA)2.844 G(TH)-.21 E F0 .344 +(indicates the current directory)2.844 F 5.345(.A)-.65 G .345 +(null directory name may appear as tw)-2.5 F 2.845(oa)-.1 G(djacent) +-2.845 E .868(colons, or as an initial or trailing colon.)144 408 R .868 +(The def)5.868 F .867(ault path is system-dependent, and is set by the) +-.1 F 26.328(administrator who installs)144 420 R F1(bash)28.828 E F0 +31.329(.A)C 26.329(common v)-2.5 F 26.329(alue is)-.25 F/F3 10/Courier@0 +SF(/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin)144 432 Q F0(.)A +F1(POSIXL)108 444 Q(Y_CORRECT)-.92 E F0 .472(If this v)144 456 R .472 +(ariable is in the en)-.25 F .471(vironment when)-.4 F F1(bash)2.971 E +F0 .471(starts, the shell enters)2.971 F/F4 10/Times-Italic@0 SF .471 +(posix mode)2.971 F F0 .471(before reading)2.971 F .011 (the startup \214les, as if the)144 468 R F1(\255\255posix)2.511 E F0 (in)2.511 E -.2(vo)-.4 G .011(cation option had been supplied.).2 F .011 (If it is set while the shell is)5.011 F(running,)144 480 Q F1(bash)2.5 @@ -1818,43 +1835,43 @@ E F0(enables)2.5 E F4(posix mode)2.5 E F0 2.5(,a)C 2.5(si)-2.5 G 2.5(ft) (xe)-.15 G(cuted.).15 E F1(PR)108 492 Q(OMPT_COMMAND)-.3 E F0 (If set, the v)144 504 Q(alue is e)-.25 E -.15(xe)-.15 G (cuted as a command prior to issuing each primary prompt.).15 E F1(PS1) -108 516 Q F0 .064(The v)19.33 F .065(alue of this parameter is e)-.25 F +108 516 Q F0 .065(The v)19.33 F .065(alue of this parameter is e)-.25 F .065(xpanded \(see)-.15 F F2(PR)2.565 E(OMPTING)-.27 E F0(belo)2.315 E .065(w\) and used as the primary prompt)-.25 F 2.5(string. The)144 528 R (def)2.5 E(ault v)-.1 E(alue is `)-.25 E(`)-.74 E F1(\\s\255\\v\\$)A F0 --.74('')2.5 G(.).74 E F1(PS2)108 540 Q F0 .005(The v)19.33 F .005 +-.74('')2.5 G(.).74 E F1(PS2)108 540 Q F0 .004(The v)19.33 F .004 (alue of this parameter is e)-.25 F .005(xpanded as with)-.15 F F1(PS1) -2.505 E F0 .004(and used as the secondary prompt string.)2.505 F(The) -5.004 E(def)144 552 Q(ault is `)-.1 E(`)-.74 E F1(>)A F0 -.74('')2.5 G -(.).74 E F1(PS3)108 564 Q F0 1.115(The v)19.33 F 1.115 +2.505 E F0 .005(and used as the secondary prompt string.)2.505 F(The) +5.005 E(def)144 552 Q(ault is `)-.1 E(`)-.74 E F1(>)A F0 -.74('')2.5 G +(.).74 E F1(PS3)108 564 Q F0 1.116(The v)19.33 F 1.115 (alue of this parameter is used as the prompt for the)-.25 F F1(select) -3.615 E F0 1.116(command \(see)3.616 F F2 1.116(SHELL GRAM-)3.616 F(MAR) +3.615 E F0 1.115(command \(see)3.615 F F2 1.115(SHELL GRAM-)3.615 F(MAR) 144 576 Q F0(abo)2.25 E -.15(ve)-.15 G(\).).15 E F1(PS4)108 588 Q F0 -1.099(The v)19.33 F 1.099(alue of this parameter is e)-.25 F 1.099 -(xpanded as with)-.15 F F1(PS1)3.599 E F0 1.099(and the v)3.599 F 1.098 -(alue is printed before each com-)-.25 F(mand)144 600 Q F1(bash)3.725 E -F0 1.225(displays during an e)3.725 F -.15(xe)-.15 G 1.225 -(cution trace.).15 F 1.226(The \214rst character of)6.225 F F2(PS4)3.726 -E F0 1.226(is replicated multiple)3.476 F(times, as necessary)144 612 Q +1.098(The v)19.33 F 1.099(alue of this parameter is e)-.25 F 1.099 +(xpanded as with)-.15 F F1(PS1)3.599 E F0 1.099(and the v)3.599 F 1.099 +(alue is printed before each com-)-.25 F(mand)144 600 Q F1(bash)3.726 E +F0 1.226(displays during an e)3.726 F -.15(xe)-.15 G 1.226 +(cution trace.).15 F 1.225(The \214rst character of)6.226 F F2(PS4)3.725 +E F0 1.225(is replicated multiple)3.475 F(times, as necessary)144 612 Q 2.5(,t)-.65 G 2.5(oi)-2.5 G(ndicate multiple le)-2.5 E -.15(ve)-.25 G (ls of indirection.).15 E(The def)5 E(ault is `)-.1 E(`)-.74 E F1(+)A F0 --.74('')2.5 G(.).74 E F1(SHELL)108 624 Q F0 .664 +-.74('')2.5 G(.).74 E F1(SHELL)108 624 Q F0 .663 (The full pathname to the shell is k)144 636 R .664(ept in this en)-.1 F -.664(vironment v)-.4 F 3.164(ariable. If)-.25 F .663 +.664(vironment v)-.4 F 3.164(ariable. If)-.25 F .664 (it is not set when the shell)3.164 F(starts,)144 648 Q F1(bash)2.5 E F0 (assigns to it the full pathname of the current user')2.5 E 2.5(sl)-.55 -G(ogin shell.)-2.5 E F1(TIMEFORMA)108 660 Q(T)-.95 E F0 .826(The v)144 +G(ogin shell.)-2.5 E F1(TIMEFORMA)108 660 Q(T)-.95 E F0 .827(The v)144 672 R .826 (alue of this parameter is used as a format string specifying ho)-.25 F -3.327(wt)-.25 G .827(he timing information for)-3.327 F .649 -(pipelines pre\214x)144 684 R .649(ed with the)-.15 F F1(time)3.149 E F0 -(reserv)3.149 E .649(ed w)-.15 F .648(ord should be displayed.)-.1 F -(The)5.648 E F1(%)3.148 E F0 .648(character introduces)3.148 F .711 +3.326(wt)-.25 G .826(he timing information for)-3.326 F .648 +(pipelines pre\214x)144 684 R .648(ed with the)-.15 F F1(time)3.148 E F0 +(reserv)3.148 E .648(ed w)-.15 F .649(ord should be displayed.)-.1 F +(The)5.649 E F1(%)3.149 E F0 .649(character introduces)3.149 F .712 (an escape sequence that is e)144 696 R .711(xpanded to a time v)-.15 F -.712(alue or other information.)-.25 F .712(The escape sequences)5.712 F +.711(alue or other information.)-.25 F .711(The escape sequences)5.711 F (and their meanings are as follo)144 708 Q -(ws; the braces denote optional portions.)-.25 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(14)198.445 E 0 Cg EP +(ws; the braces denote optional portions.)-.25 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(14)197.335 E 0 Cg EP %%Page: 15 15 %%BeginPageSetup BP @@ -1869,178 +1886,178 @@ F2(p)A F1(][l]S)A F0(The number of CPU seconds spent in system mode.) (The CPU percentage, computed as \(%U + %S\) / %R.)33.89 E .87 (The optional)144 148.8 R F2(p)3.37 E F0 .87(is a digit specifying the) 3.37 F F2(pr)3.37 E(ecision)-.37 E F0 3.37(,t)C .87 -(he number of fractional digits after a decimal)-3.37 F 2.525(point. A) -144 160.8 R -.25(va)2.525 G .025 -(lue of 0 causes no decimal point or fraction to be output.).25 F .026 -(At most three places after the)5.025 F .538 -(decimal point may be speci\214ed; v)144 172.8 R .538(alues of)-.25 F F2 -(p)3.038 E F0 .537(greater than 3 are changed to 3.)3.037 F(If)5.537 E -F2(p)3.037 E F0 .537(is not speci\214ed,)3.037 F(the v)144 184.8 Q -(alue 3 is used.)-.25 E .667(The optional)144 201.6 R F1(l)3.167 E F0 +(he number of fractional digits after a decimal)-3.37 F 2.526(point. A) +144 160.8 R -.25(va)2.526 G .025 +(lue of 0 causes no decimal point or fraction to be output.).25 F .025 +(At most three places after the)5.025 F .537 +(decimal point may be speci\214ed; v)144 172.8 R .537(alues of)-.25 F F2 +(p)3.037 E F0 .537(greater than 3 are changed to 3.)3.037 F(If)5.538 E +F2(p)3.038 E F0 .538(is not speci\214ed,)3.038 F(the v)144 184.8 Q +(alue 3 is used.)-.25 E .668(The optional)144 201.6 R F1(l)3.168 E F0 .668(speci\214es a longer format, including minutes, of the form)3.168 F -F2(MM)3.168 E F0(m)A F2(SS)A F0(.)A F2(FF)A F0 3.168(s. The)B -.25(va) -3.168 G(lue).25 E(of)144 213.6 Q F2(p)2.5 E F0 -(determines whether or not the fraction is included.)2.5 E .001 -(If this v)144 230.4 R .001(ariable is not set,)-.25 F F1(bash)2.501 E -F0 .001(acts as if it had the v)2.501 F(alue)-.25 E F1($\010\\nr)2.5 E -(eal\\t%3lR\\nuser\\t%3lU\\nsys%3lS\010)-.18 E F0(.)A .494(If the v)144 +F2(MM)3.168 E F0(m)A F2(SS)A F0(.)A F2(FF)A F0 3.167(s. The)B -.25(va) +3.167 G(lue).25 E(of)144 213.6 Q F2(p)2.5 E F0 +(determines whether or not the fraction is included.)2.5 E(If this v)144 +230.4 Q(ariable is not set,)-.25 E F1(bash)2.501 E F0 .001 +(acts as if it had the v)2.501 F(alue)-.25 E F1($\010\\nr)2.501 E +(eal\\t%3lR\\nuser\\t%3lU\\nsys%3lS\010)-.18 E F0(.)A .495(If the v)144 242.4 R .494(alue is null, no timing information is displayed.)-.25 F 2.994(At)5.494 G .494(railing ne)-2.994 F .494 (wline is added when the for)-.25 F(-)-.2 E(mat string is displayed.)144 -254.4 Q F1(TMOUT)108 271.2 Q F0 .718(If set to a v)144 283.2 R .717 +254.4 Q F1(TMOUT)108 271.2 Q F0 .717(If set to a v)144 283.2 R .717 (alue greater than zero,)-.25 F F1(TMOUT)3.217 E F0 .717 -(is treated as the def)3.217 F .717(ault timeout for the)-.1 F F1 -.18 -(re)3.217 G(ad).18 E F0 -.2(bu)3.217 G(iltin.).2 E(The)144 295.2 Q F1 +(is treated as the def)3.217 F .718(ault timeout for the)-.1 F F1 -.18 +(re)3.218 G(ad).18 E F0 -.2(bu)3.218 G(iltin.).2 E(The)144 295.2 Q F1 (select)2.542 E F0 .042(command terminates if input does not arri)2.542 F .342 -.15(ve a)-.25 H(fter).15 E F1(TMOUT)2.542 E F0 .042 -(seconds when input is com-)2.542 F .886(ing from a terminal.)144 307.2 -R .886(In an interacti)5.886 F 1.185 -.15(ve s)-.25 H .885(hell, the v) -.15 F .885(alue is interpreted as the number of seconds to)-.25 F -.1 +(seconds when input is com-)2.542 F .885(ing from a terminal.)144 307.2 +R .885(In an interacti)5.885 F 1.185 -.15(ve s)-.25 H .885(hell, the v) +.15 F .886(alue is interpreted as the number of seconds to)-.25 F -.1 (wa)144 319.2 S .546(it for input after issuing the primary prompt.).1 F F1(Bash)5.546 E F0 .546(terminates after w)3.046 F .546 (aiting for that number of)-.1 F(seconds if input does not arri)144 -331.2 Q -.15(ve)-.25 G(.).15 E F1(TMPDIR)108 348 Q F0 .274(If set,)144 -360 R F1(Bash)2.774 E F0 .274(uses its v)2.774 F .274 -(alue as the name of a directory in which)-.25 F F1(Bash)2.773 E F0 .273 -(creates temporary \214les for the)2.773 F(shell')144 372 Q 2.5(su)-.55 -G(se.)-2.5 E F1(auto_r)108 388.8 Q(esume)-.18 E F0 .53(This v)144 400.8 -R .53(ariable controls ho)-.25 F 3.03(wt)-.25 G .531 -(he shell interacts with the user and job control.)-3.03 F .531 -(If this v)5.531 F .531(ariable is set,)-.25 F .539(single w)144 412.8 R +331.2 Q -.15(ve)-.25 G(.).15 E F1(TMPDIR)108 348 Q F0 .273(If set,)144 +360 R F1(Bash)2.773 E F0 .273(uses its v)2.773 F .274 +(alue as the name of a directory in which)-.25 F F1(Bash)2.774 E F0 .274 +(creates temporary \214les for the)2.774 F(shell')144 372 Q 2.5(su)-.55 +G(se.)-2.5 E F1(auto_r)108 388.8 Q(esume)-.18 E F0 .531(This v)144 400.8 +R .531(ariable controls ho)-.25 F 3.031(wt)-.25 G .531 +(he shell interacts with the user and job control.)-3.031 F .53 +(If this v)5.53 F .53(ariable is set,)-.25 F .538(single w)144 412.8 R .538(ord simple commands without redirections are treated as candidates\ - for resumption of an)-.1 F -.15(ex)144 424.8 S .366(isting stopped job) -.15 F 5.366(.T)-.4 G .366(here is no ambiguity allo)-5.366 F .366 -(wed; if there is more than one job be)-.25 F .367(ginning with)-.15 F -1.125(the string typed, the job most recently accessed is selected.)144 -436.8 R(The)6.125 E F2(name)3.985 E F0 1.124(of a stopped job, in this) -3.805 F(conte)144 448.8 Q 1.132 + for resumption of an)-.1 F -.15(ex)144 424.8 S .367(isting stopped job) +.15 F 5.367(.T)-.4 G .366(here is no ambiguity allo)-5.367 F .366 +(wed; if there is more than one job be)-.25 F .366(ginning with)-.15 F +1.124(the string typed, the job most recently accessed is selected.)144 +436.8 R(The)6.125 E F2(name)3.985 E F0 1.125(of a stopped job, in this) +3.805 F(conte)144 448.8 Q 1.133 (xt, is the command line used to start it.)-.15 F 1.133(If set to the v) -6.133 F(alue)-.25 E F2 -.2(ex)3.633 G(act).2 E F0 3.633(,t).68 G 1.133 -(he string supplied must)-3.633 F .625 +6.133 F(alue)-.25 E F2 -.2(ex)3.633 G(act).2 E F0 3.632(,t).68 G 1.132 +(he string supplied must)-3.632 F .624 (match the name of a stopped job e)144 460.8 R .624(xactly; if set to) --.15 F F2(substring)3.124 E F0 3.124(,t).22 G .624 -(he string supplied needs to match a)-3.124 F .884 +-.15 F F2(substring)3.125 E F0 3.125(,t).22 G .625 +(he string supplied needs to match a)-3.125 F .885 (substring of the name of a stopped job)144 472.8 R 5.884(.T)-.4 G(he) --5.884 E F2(substring)3.724 E F0 -.25(va)3.604 G .885(lue pro).25 F .885 -(vides functionality analogous to)-.15 F(the)144 484.8 Q F1(%?)3.334 E -F0 .834(job identi\214er \(see)5.834 F/F3 9/Times-Bold@0 SF .834 +-5.884 E F2(substring)3.724 E F0 -.25(va)3.604 G .884(lue pro).25 F .884 +(vides functionality analogous to)-.15 F(the)144 484.8 Q F1(%?)3.333 E +F0 .833(job identi\214er \(see)5.833 F/F3 9/Times-Bold@0 SF .834 (JOB CONTR)3.334 F(OL)-.27 E F0(belo)3.084 E 3.334(w\). If)-.25 F .834 -(set to an)3.334 F 3.334(yo)-.15 G .834(ther v)-3.334 F .833 -(alue, the supplied string)-.25 F .315 +(set to an)3.334 F 3.334(yo)-.15 G .834(ther v)-3.334 F .834 +(alue, the supplied string)-.25 F .316 (must be a pre\214x of a stopped job')144 496.8 R 2.816(sn)-.55 G .316 -(ame; this pro)-2.816 F .316(vides functionality analogous to the)-.15 F -F1(%)2.816 E F2(string)A F0(job)2.816 E(identi\214er)144 508.8 Q(.)-.55 -E F1(histchars)108 525.6 Q F0 2.07(The tw)144 537.6 R 4.57(oo)-.1 G 4.57 -(rt)-4.57 G 2.07(hree characters which control history e)-4.57 F 2.07 -(xpansion and tok)-.15 F 2.07(enization \(see)-.1 F F3(HIST)4.569 E(OR) --.162 E(Y)-.315 E(EXP)144 549.6 Q(ANSION)-.666 E F0(belo)3.465 E 3.715 -(w\). The)-.25 F 1.215(\214rst character is the)3.715 F F2 1.216 -(history e)3.715 F(xpansion)-.2 E F0(character)3.716 E 3.716(,t)-.4 G -1.216(he character which)-3.716 F .798(signals the start of a history e) +(ame; this pro)-2.816 F .315(vides functionality analogous to the)-.15 F +F1(%)2.815 E F2(string)A F0(job)2.815 E(identi\214er)144 508.8 Q(.)-.55 +E F1(histchars)108 525.6 Q F0 2.069(The tw)144 537.6 R 4.57(oo)-.1 G +4.57(rt)-4.57 G 2.07(hree characters which control history e)-4.57 F +2.07(xpansion and tok)-.15 F 2.07(enization \(see)-.1 F F3(HIST)4.57 E +(OR)-.162 E(Y)-.315 E(EXP)144 549.6 Q(ANSION)-.666 E F0(belo)3.466 E +3.716(w\). The)-.25 F 1.216(\214rst character is the)3.716 F F2 1.215 +(history e)3.715 F(xpansion)-.2 E F0(character)3.715 E 3.715(,t)-.4 G +1.215(he character which)-3.715 F .798(signals the start of a history e) 144 561.6 R .798(xpansion, normally `)-.15 F F1(!)A F0 3.298('. The)B .798(second character is the)3.298 F F2(quic)3.298 E 3.298(ks)-.2 G -(ubstitu-)-3.298 E(tion)144 573.6 Q F0(character)2.739 E 2.739(,w)-.4 G -.239(hich is used as shorthand for re-running the pre)-2.739 F .24 -(vious command entered, substitut-)-.25 F .576 +(ubstitu-)-3.298 E(tion)144 573.6 Q F0(character)2.74 E 2.74(,w)-.4 G +.239(hich is used as shorthand for re-running the pre)-2.74 F .239 +(vious command entered, substitut-)-.25 F .575 (ing one string for another in the command.)144 585.6 R .575(The def) -5.575 F .575(ault is `)-.1 F F1(^)A F0 3.075('. The)B .575 -(optional third character is the)3.075 F .223(character which indicates\ +5.575 F .575(ault is `)-.1 F F1(^)A F0 3.075('. The)B .576 +(optional third character is the)3.076 F .223(character which indicates\ that the remainder of the line is a comment when found as the \214rst \ -char)144 597.6 R(-)-.2 E 1.294(acter of a w)144 609.6 R 1.294 -(ord, normally `)-.1 F F1(#)A F0 3.794('. The)B 1.293 -(history comment character causes history substitution to be)3.794 F -.379(skipped for the remaining w)144 621.6 R .379(ords on the line.)-.1 -F .38(It does not necessarily cause the shell parser to treat)5.379 F +char)144 597.6 R(-)-.2 E 1.293(acter of a w)144 609.6 R 1.293 +(ord, normally `)-.1 F F1(#)A F0 3.793('. The)B 1.294 +(history comment character causes history substitution to be)3.794 F .38 +(skipped for the remaining w)144 621.6 R .38(ords on the line.)-.1 F +.379(It does not necessarily cause the shell parser to treat)5.379 F (the rest of the line as a comment.)144 633.6 Q F1(Arrays)87 650.4 Q (Bash)108 662.4 Q F0(pro)2.958 E .458(vides one-dimensional array v)-.15 F 2.958(ariables. An)-.25 F 2.958(yv)-.15 G .458 (ariable may be used as an array; the)-3.208 F F1(declar)2.958 E(e)-.18 -E F0 -.2(bu)2.958 G(iltin).2 E .96(will e)108 674.4 R .96 -(xplicitly declare an array)-.15 F 5.96(.T)-.65 G .961 -(here is no maximum limit on the size of an array)-5.96 F 3.461(,n)-.65 -G .961(or an)-3.461 F 3.461(yr)-.15 G(equirement)-3.461 E +E F0 -.2(bu)2.958 G(iltin).2 E .961(will e)108 674.4 R .961 +(xplicitly declare an array)-.15 F 5.961(.T)-.65 G .961 +(here is no maximum limit on the size of an array)-5.961 F 3.46(,n)-.65 +G .96(or an)-3.46 F 3.46(yr)-.15 G(equirement)-3.46 E (that members be inde)108 686.4 Q -.15(xe)-.15 G 2.5(do).15 G 2.5(ra) -2.5 G(ssigned contiguously)-2.5 E 5(.A)-.65 G(rrays are inde)-5 E -.15 (xe)-.15 G 2.5(du).15 G(sing inte)-2.5 E(gers and are zero-based.)-.15 E -1.302(An array is created automatically if an)108 703.2 R 3.801(yv)-.15 -G 1.301(ariable is assigned to using the syntax)-4.051 F F2(name)3.801 E +1.301(An array is created automatically if an)108 703.2 R 3.801(yv)-.15 +G 1.302(ariable is assigned to using the syntax)-4.051 F F2(name)3.802 E F0([)A F2(subscript)A F0(]=)A F2(value)A F0(.)A(The)108 715.2 Q F2 -(subscript)3.181 E F0 .341(is treated as an arithmetic e)3.521 F .342 -(xpression that must e)-.15 F -.25(va)-.25 G .342 -(luate to a number greater than or equal to).25 F 4.077(zero. T)108 -727.2 R 4.077(oe)-.8 G 1.577(xplicitly declare an array)-4.227 F 4.077 +(subscript)3.182 E F0 .342(is treated as an arithmetic e)3.522 F .342 +(xpression that must e)-.15 F -.25(va)-.25 G .341 +(luate to a number greater than or equal to).25 F 4.076(zero. T)108 +727.2 R 4.076(oe)-.8 G 1.577(xplicitly declare an array)-4.226 F 4.077 (,u)-.65 G(se)-4.077 E F1(declar)4.077 E 4.077<65ad>-.18 G(a)-4.077 E F2 -(name)4.077 E F0(\(see)4.077 E F3 1.577(SHELL B)4.077 F(UIL)-.09 E 1.576 -(TIN COMMANDS)-.828 F F0(belo)3.826 E(w\).)-.25 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(15)198.445 E 0 Cg EP +(name)4.077 E F0(\(see)4.077 E F3 1.577(SHELL B)4.077 F(UIL)-.09 E 1.577 +(TIN COMMANDS)-.828 F F0(belo)3.827 E(w\).)-.25 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(15)197.335 E 0 Cg EP %%Page: 16 16 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(declar)108 84 Q 3.375<65ad>-.18 G(a)-3.375 -E/F2 10/Times-Italic@0 SF(name)3.375 E F1([)A F2(subscript)A F1(])A F0 -.875(is also accepted; the)3.375 F F2(subscript)3.375 E F0 .875 -(is ignored.)3.375 F(Attrib)5.875 E .876(utes may be speci\214ed for an) +-.35 E/F1 10/Times-Bold@0 SF(declar)108 84 Q 3.376<65ad>-.18 G(a)-3.376 +E/F2 10/Times-Italic@0 SF(name)3.376 E F1([)A F2(subscript)A F1(])A F0 +.876(is also accepted; the)3.376 F F2(subscript)3.375 E F0 .875 +(is ignored.)3.375 F(Attrib)5.875 E .875(utes may be speci\214ed for an) -.2 F(array v)108 96 Q(ariable using the)-.25 E F1(declar)2.5 E(e)-.18 E F0(and)2.5 E F1 -.18(re)2.5 G(adonly).18 E F0 -.2(bu)2.5 G 2.5 (iltins. Each).2 F(attrib)2.5 E(ute applies to all members of an array) -.2 E(.)-.65 E 1.647 (Arrays are assigned to using compound assignments of the form)108 112.8 R F2(name)4.147 E F0(=)A F1(\()A F0 -.25(va)C(lue).25 E F2(1)A F0 1.647 -(... v)4.147 F(alue)-.25 E F2(n)A F1(\))A F0 4.147(,w)C 1.647(here each) --4.147 F F2(value)108 124.8 Q F0 .65(is of the form [)3.15 F F2 +(... v)4.147 F(alue)-.25 E F2(n)A F1(\))A F0 4.148(,w)C 1.648(here each) +-4.148 F F2(value)108 124.8 Q F0 .65(is of the form [)3.15 F F2 (subscript)A F0(]=)A F2(string)A F0 5.65(.O)C(nly)-5.65 E F2(string)3.15 E F0 .65(is required.)3.15 F .65(If the optional brack)5.65 F .65 -(ets and subscript are)-.1 F .277(supplied, that inde)108 136.8 R 2.777 -(xi)-.15 G 2.777(sa)-2.777 G .277(ssigned to; otherwise the inde)-2.777 -F 2.777(xo)-.15 G 2.777(ft)-2.777 G .276 -(he element assigned is the last inde)-2.777 F 2.776(xa)-.15 G .276 -(ssigned to)-2.776 F 1.393(by the statement plus one.)108 148.8 R(Inde) -6.393 E 1.393(xing starts at zero.)-.15 F 1.394 -(This syntax is also accepted by the)6.394 F F1(declar)3.894 E(e)-.18 E -F0 -.2(bu)3.894 G(iltin.).2 E(Indi)108 160.8 Q +(ets and subscript are)-.1 F .276(supplied, that inde)108 136.8 R 2.776 +(xi)-.15 G 2.776(sa)-2.776 G .276(ssigned to; otherwise the inde)-2.776 +F 2.777(xo)-.15 G 2.777(ft)-2.777 G .277 +(he element assigned is the last inde)-2.777 F 2.777(xa)-.15 G .277 +(ssigned to)-2.777 F 1.394(by the statement plus one.)108 148.8 R(Inde) +6.394 E 1.394(xing starts at zero.)-.15 F 1.393 +(This syntax is also accepted by the)6.394 F F1(declar)3.893 E(e)-.18 E +F0 -.2(bu)3.893 G(iltin.).2 E(Indi)108 160.8 Q (vidual array elements may be assigned to using the)-.25 E F2(name)2.5 E F0([)A F2(subscript)A F0(]=)A F2(value)A F0(syntax introduced abo)2.5 E --.15(ve)-.15 G(.).15 E(An)108 177.6 Q 3.576(ye)-.15 G 1.076 -(lement of an array may be referenced using ${)-3.576 F F2(name)A F0([)A -F2(subscript)A F0 3.575(]}. The)B 1.075(braces are required to a)3.575 F --.2(vo)-.2 G(id).2 E 1.541(con\215icts with pathname e)108 189.6 R 4.041 +-.15(ve)-.15 G(.).15 E(An)108 177.6 Q 3.575(ye)-.15 G 1.075 +(lement of an array may be referenced using ${)-3.575 F F2(name)A F0([)A +F2(subscript)A F0 3.575(]}. The)B 1.076(braces are required to a)3.576 F +-.2(vo)-.2 G(id).2 E 1.542(con\215icts with pathname e)108 189.6 R 4.041 (xpansion. If)-.15 F F2(subscript)4.041 E F0(is)4.041 E F1(@)4.041 E F0 (or)4.041 E F1(*)4.041 E F0 4.041(,t)C 1.541(he w)-4.041 F 1.541(ord e) --.1 F 1.541(xpands to all members of)-.15 F F2(name)4.042 E F0(.)A 1.057 -(These subscripts dif)108 201.6 R 1.057(fer only when the w)-.25 F 1.057 -(ord appears within double quotes.)-.1 F 1.056(If the w)6.056 F 1.056 -(ord is double-quoted,)-.1 F(${)108 213.6 Q F2(name)A F0 .52([*]} e)B -.52(xpands to a single w)-.15 F .52(ord with the v)-.1 F .521 +-.1 F 1.541(xpands to all members of)-.15 F F2(name)4.041 E F0(.)A 1.056 +(These subscripts dif)108 201.6 R 1.056(fer only when the w)-.25 F 1.057 +(ord appears within double quotes.)-.1 F 1.057(If the w)6.057 F 1.057 +(ord is double-quoted,)-.1 F(${)108 213.6 Q F2(name)A F0 .521([*]} e)B +.521(xpands to a single w)-.15 F .521(ord with the v)-.1 F .52 (alue of each array member separated by the \214rst character)-.25 F -1.375(of the)108 225.6 R/F3 9/Times-Bold@0 SF(IFS)3.875 E F0 1.375 -(special v)3.625 F 1.375(ariable, and ${)-.25 F F2(name)A F0 1.375 -([@]} e)B 1.375(xpands each element of)-.15 F F2(name)3.875 E F0 1.374 -(to a separate w)3.875 F 3.874(ord. When)-.1 F 2.027 +1.374(of the)108 225.6 R/F3 9/Times-Bold@0 SF(IFS)3.874 E F0 1.374 +(special v)3.624 F 1.375(ariable, and ${)-.25 F F2(name)A F0 1.375 +([@]} e)B 1.375(xpands each element of)-.15 F F2(name)3.875 E F0 1.375 +(to a separate w)3.875 F 3.875(ord. When)-.1 F 2.028 (there are no array members, ${)108 237.6 R F2(name)A F0 2.028([@]} e)B -2.028(xpands to nothing.)-.15 F 2.028(If the double-quoted e)7.028 F -2.028(xpansion occurs)-.15 F .759(within a w)108 249.6 R .759 +2.028(xpands to nothing.)-.15 F 2.027(If the double-quoted e)7.028 F +2.027(xpansion occurs)-.15 F .758(within a w)108 249.6 R .759 (ord, the e)-.1 F .759 (xpansion of the \214rst parameter is joined with the be)-.15 F .759 -(ginning part of the original w)-.15 F(ord,)-.1 E .515(and the e)108 +(ginning part of the original w)-.15 F(ord,)-.1 E .516(and the e)108 261.6 R .516(xpansion of the last parameter is joined with the last par\ -t of the original w)-.15 F 3.016(ord. This)-.1 F .516(is analogous)3.016 -F .228(to the e)108 273.6 R .228(xpansion of the special parameters)-.15 +t of the original w)-.15 F 3.015(ord. This)-.1 F .515(is analogous)3.015 +F .227(to the e)108 273.6 R .228(xpansion of the special parameters)-.15 F F1(*)2.728 E F0(and)2.728 E F1(@)2.728 E F0(\(see)2.728 E F1 .228 -(Special P)2.728 F(arameters)-.1 E F0(abo)2.727 E -.15(ve)-.15 G 2.727 +(Special P)2.728 F(arameters)-.1 E F0(abo)2.728 E -.15(ve)-.15 G 2.728 (\). ${#).15 F F2(name)A F0([)A F2(subscript)A F0(]})A -.15(ex)108 285.6 S .886(pands to the length of ${).15 F F2(name)A F0([)A F2(subscript)A F0 3.386(]}. If)B F2(subscript)3.386 E F0(is)3.386 E F1(*)3.386 E F0(or) 3.386 E F1(@)3.386 E F0 3.386(,t)C .886(he e)-3.386 F .886 -(xpansion is the number of ele-)-.15 F .734(ments in the array)108 297.6 -R 5.734(.R)-.65 G .733(eferencing an array v)-5.734 F .733 -(ariable without a subscript is equi)-.25 F -.25(va)-.25 G .733 +(xpansion is the number of ele-)-.15 F .733(ments in the array)108 297.6 +R 5.733(.R)-.65 G .733(eferencing an array v)-5.733 F .733 +(ariable without a subscript is equi)-.25 F -.25(va)-.25 G .734 (lent to referencing element).25 F(zero.)108 309.6 Q(The)108 326.4 Q F1 -(unset)2.766 E F0 -.2(bu)2.766 G .267(iltin is used to destro).2 F 2.767 +(unset)2.767 E F0 -.2(bu)2.767 G .267(iltin is used to destro).2 F 2.767 (ya)-.1 G(rrays.)-2.767 E F1(unset)5.267 E F2(name)2.767 E F0([)A F2 (subscript)A F0 2.767(]d)C(estro)-2.767 E .267 -(ys the array element at inde)-.1 F(x)-.15 E F2(sub-)2.767 E(script)108 +(ys the array element at inde)-.1 F(x)-.15 E F2(sub-)2.766 E(script)108 338.4 Q F0 6.38(.C)C 1.38(are must be tak)-6.38 F 1.38(en to a)-.1 F -.2 (vo)-.2 G 1.38(id unw).2 F 1.38(anted side ef)-.1 F 1.38 (fects caused by \214lename generation.)-.25 F F1(unset)6.38 E F2(name) @@ -2048,40 +2065,40 @@ R 5.734(.R)-.65 G .733(eferencing an array v)-5.734 F .733 (,o)-.65 G(r)-2.5 E F1(unset)2.5 E F2(name)2.5 E F0([)A F2(subscript)A F0(], where)A F2(subscript)2.5 E F0(is)2.5 E F1(*)2.5 E F0(or)2.5 E F1 (@)2.5 E F0 2.5(,r)C(emo)-2.5 E -.15(ve)-.15 G 2.5(st).15 G -(he entire array)-2.5 E(.)-.65 E(The)108 367.2 Q F1(declar)3.67 E(e)-.18 -E F0(,)A F1(local)3.67 E F0 3.67(,a)C(nd)-3.67 E F1 -.18(re)3.67 G -(adonly).18 E F0 -.2(bu)3.67 G 1.17(iltins each accept a).2 F F1<ad61> -3.671 E F0 1.171(option to specify an array)3.671 F 6.171(.T)-.65 G(he) --6.171 E F1 -.18(re)3.671 G(ad).18 E F0 -.2(bu)3.671 G(iltin).2 E .441 +(he entire array)-2.5 E(.)-.65 E(The)108 367.2 Q F1(declar)3.671 E(e) +-.18 E F0(,)A F1(local)3.671 E F0 3.671(,a)C(nd)-3.671 E F1 -.18(re) +3.671 G(adonly).18 E F0 -.2(bu)3.671 G 1.171(iltins each accept a).2 F +F1<ad61>3.671 E F0 1.17(option to specify an array)3.671 F 6.17(.T)-.65 +G(he)-6.17 E F1 -.18(re)3.67 G(ad).18 E F0 -.2(bu)3.67 G(iltin).2 E .44 (accepts a)108 379.2 R F1<ad61>2.941 E F0 .441 (option to assign a list of w)2.941 F .441 (ords read from the standard input to an array)-.1 F 5.441(.T)-.65 G(he) --5.441 E F1(set)2.941 E F0(and)2.941 E F1(declar)2.94 E(e)-.18 E F0 -.2 +-5.441 E F1(set)2.941 E F0(and)2.941 E F1(declar)2.941 E(e)-.18 E F0 -.2 (bu)108 391.2 S(iltins display array v).2 E(alues in a w)-.25 E (ay that allo)-.1 E(ws them to be reused as assignments.)-.25 E/F4 10.95 /Times-Bold@0 SF(EXP)72 408 Q(ANSION)-.81 E F0 .76(Expansion is perform\ ed on the command line after it has been split into w)108 420 R 3.26 (ords. There)-.1 F .76(are se)3.26 F -.15(ve)-.25 G 3.26(nk).15 G .76 -(inds of)-3.26 F -.15(ex)108 432 S .37(pansion performed:).15 F F2(br) +(inds of)-3.26 F -.15(ex)108 432 S .369(pansion performed:).15 F F2(br) 2.869 E .369(ace e)-.15 F(xpansion)-.2 E F0(,).24 E F2 .369(tilde e) 2.869 F(xpansion)-.2 E F0(,).24 E F2(par)2.869 E .369 -(ameter and variable e)-.15 F(xpansion)-.2 E F0(,).24 E F2 .369 +(ameter and variable e)-.15 F(xpansion)-.2 E F0(,).24 E F2 .37 (command sub-)2.869 F(stitution)108 444 Q F0(,).24 E F2(arithmetic e)2.5 E(xpansion)-.2 E F0(,).24 E F2(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 E F0 2.5(,a).22 G(nd)-2.5 E F2(pathname e)2.5 E(xpansion)-.2 E F0(.).24 E -.47(The order of e)108 460.8 R .471(xpansions is: brace e)-.15 F .471 +.471(The order of e)108 460.8 R .471(xpansions is: brace e)-.15 F .471 (xpansion, tilde e)-.15 F .471(xpansion, parameter)-.15 F 2.971(,v)-.4 G -.471(ariable and arithmetic e)-3.221 F(xpansion)-.15 E +.47(ariable and arithmetic e)-3.221 F(xpansion)-.15 E (and command substitution \(done in a left-to-right f)108 472.8 Q (ashion\), w)-.1 E(ord splitting, and pathname e)-.1 E(xpansion.)-.15 E (On systems that can support it, there is an additional e)108 489.6 Q (xpansion a)-.15 E -.25(va)-.2 G(ilable:).25 E F2(pr)2.5 E -(ocess substitution)-.45 E F0(.)A 1.487(Only brace e)108 506.4 R 1.487 -(xpansion, w)-.15 F 1.487(ord splitting, and pathname e)-.1 F 1.487 -(xpansion can change the number of w)-.15 F 1.486(ords of the)-.1 F -.15 -(ex)108 518.4 S 1.164(pansion; other e).15 F 1.164(xpansions e)-.15 F -1.164(xpand a single w)-.15 F 1.165(ord to a single w)-.1 F 3.665 -(ord. The)-.1 F 1.165(only e)3.665 F 1.165(xceptions to this are the) +(ocess substitution)-.45 E F0(.)A 1.486(Only brace e)108 506.4 R 1.486 +(xpansion, w)-.15 F 1.486(ord splitting, and pathname e)-.1 F 1.487 +(xpansion can change the number of w)-.15 F 1.487(ords of the)-.1 F -.15 +(ex)108 518.4 S 1.165(pansion; other e).15 F 1.165(xpansions e)-.15 F +1.165(xpand a single w)-.15 F 1.165(ord to a single w)-.1 F 3.665 +(ord. The)-.1 F 1.164(only e)3.665 F 1.164(xceptions to this are the) -.15 F -.15(ex)108 530.4 S(pansions of ").15 E F1($@)A F0 2.5("a)C(nd ") -2.5 E F1(${)A F2(name)A F1([@]})A F0 2.5("a)C 2.5(se)-2.5 G (xplained abo)-2.65 E .3 -.15(ve \()-.15 H(see).15 E F3 -.666(PA)2.5 G @@ -2092,4338 +2109,4451 @@ Q F2(Br)108.58 559.2 Q .606(ace e)-.15 F(xpansion)-.2 E F0 .606 (pathname e)2.915 F(xpansion)-.2 E F0 2.915(,b)C .415 (ut the \214lenames generated need not e)-3.115 F 2.915(xist. P)-.15 F .415(atterns to be brace e)-.15 F .415(xpanded tak)-.15 F 2.915(et)-.1 G -(he)-2.915 E .152(form of an optional)108 583.2 R F2(pr)2.652 E(eamble) +(he)-2.915 E .151(form of an optional)108 583.2 R F2(pr)2.651 E(eamble) -.37 E F0 2.651(,f).18 G(ollo)-2.651 E .151 (wed by either a series of comma-separated strings or a sequence e)-.25 F(xpres-)-.15 E .563(sion between a pair of braces, follo)108 595.2 R .563(wed by an optional)-.25 F F2(postscript)3.063 E F0 5.563(.T).68 G .563(he preamble is pre\214x)-5.563 F .563(ed to each string)-.15 F .659 (contained within the braces, and the postscript is then appended to ea\ -ch resulting string, e)108 607.2 R .658(xpanding left to)-.15 F(right.) -108 619.2 Q .718(Brace e)108 636 R .719(xpansions may be nested.)-.15 F +ch resulting string, e)108 607.2 R .659(xpanding left to)-.15 F(right.) +108 619.2 Q .719(Brace e)108 636 R .719(xpansions may be nested.)-.15 F .719(The results of each e)5.719 F .719 (xpanded string are not sorted; left to right order is)-.15 F(preserv) 108 648 Q 2.5(ed. F)-.15 F(or e)-.15 E(xample, a)-.15 E F1({)A F0(d,c,b) -A F1(})A F0 2.5(ee)C(xpands into `ade ace abe'.)-2.65 E 3.134(As)108 -664.8 S .634(equence e)-3.134 F .634(xpression tak)-.15 F .634 -(es the form)-.1 F F1({)3.134 E F2(x)A F1(..)A F2(y)A F1(})A F0 3.134 -(,w)C(here)-3.134 E F2(x)3.134 E F0(and)3.134 E F2(y)3.133 E F0 .633 -(are either inte)3.133 F .633(gers or single characters.)-.15 F(When) -5.633 E(inte)108 676.8 Q .401(gers are supplied, the e)-.15 F .401 -(xpression e)-.15 F .401(xpands to each number between)-.15 F F2(x)2.901 -E F0(and)2.902 E F2(y)2.902 E F0 2.902(,i)C(nclusi)-2.902 E -.15(ve)-.25 -G 5.402(.W).15 G .402(hen characters)-5.402 F .688(are supplied, the e) -108 688.8 R .688(xpression e)-.15 F .688(xpands to each character le) --.15 F .688(xicographically between)-.15 F F2(x)3.188 E F0(and)3.188 E -F2(y)3.188 E F0 3.187(,i)C(nclusi)-3.187 E -.15(ve)-.25 G 5.687(.N).15 G -(ote)-5.687 E(that both)108 700.8 Q F2(x)2.5 E F0(and)2.5 E F2(y)2.5 E -F0(must be of the same type.)2.5 E .581(Brace e)108 717.6 R .581 -(xpansion is performed before an)-.15 F 3.081(yo)-.15 G .581(ther e) --3.081 F .581(xpansions, and an)-.15 F 3.082(yc)-.15 G .582 -(haracters special to other e)-3.082 F(xpansions)-.15 E 1.209 -(are preserv)108 729.6 R 1.209(ed in the result.)-.15 F 1.209 -(It is strictly te)6.209 F(xtual.)-.15 E F1(Bash)6.209 E F0 1.209 -(does not apply an)3.709 F 3.709(ys)-.15 G 1.208 -(yntactic interpretation to the)-3.709 F(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(16)198.445 E 0 Cg EP +A F1(})A F0 2.5(ee)C(xpands into `ade ace abe'.)-2.65 E 2.991(As)108 +664.8 S .491(equence e)-2.991 F .491(xpression tak)-.15 F .491 +(es the form)-.1 F F1({)2.991 E F2(x)A F1(..)A F2(y)A F1([..)A F2(incr)A +F1(]})A F2 2.991(,w)C(her)-2.991 E 2.991(exa)-.37 G .491(nd y ar)-2.991 +F 2.991(ee)-.37 G .492(ither inte)-2.991 F -.1(ge)-.4 G .692 -.1(rs o).1 +H 2.992(rs).1 G .492(ingle c)-2.992 F(har)-.15 E(acter)-.15 E(s,)-.1 E +.526(and incr)108 676.8 R 3.026(,a)-1.11 G 3.026(no)-3.026 G .526 +(ptional incr)-3.026 F .526(ement, is an inte)-.37 F -.1(ge)-.4 G 5.246 +-1.11(r. W).1 H .526(hen inte)1.11 F -.1(ge)-.4 G .726 -.1(rs a).1 H +1.265 -.37(re s).1 H .525(upplied, the e).37 F(xpr)-.2 E .525(ession e) +-.37 F .525(xpands to eac)-.2 F(h)-.15 E .224(number between x and y)108 +688.8 R 2.724(,i)-.55 G(nclusive)-2.724 E 5.224(.S)-.15 G .224 +(upplied inte)-5.224 F -.1(ge)-.4 G .424 -.1(rs m).1 H .224(ay be pr).1 +F .224(e\214xed with 0 to for)-.37 F .224(ce eac)-.37 F 2.725(ht)-.15 G +.225(erm to have the)-2.725 F .606(same width.)108 700.8 R .606 +(When either x or y be)5.606 F .606(gins with a zer)-.4 F .605 +(o, the shell attempts to for)-.45 F .605(ce all g)-.37 F(ener)-.1 E +.605(ated terms to con-)-.15 F .658(tain the same number of digits, zer) +108 712.8 R .658(o-padding wher)-.45 F 3.158(en)-.37 G(ecessary)-3.158 E +5.658(.W)-.55 G .658(hen c)-5.658 F(har)-.15 E(acter)-.15 E 3.158(sa)-.1 +G 1.398 -.37(re s)-3.158 H .658(upplied, the e).37 F(xpr)-.2 E(es-)-.37 +E .685(sion e)108 724.8 R .685(xpands to eac)-.2 F 3.184(hc)-.15 G(har) +-3.334 E .684(acter le)-.15 F(xico)-.2 E(gr)-.1 E .684 +(aphically between x and y)-.15 F 3.184(,i)-.55 G(nclusive)-3.184 E +5.684(.N)-.15 G .684(ote that both x and y must)-5.684 F F0 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(16)197.335 E 0 Cg EP %%Page: 17 17 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(conte)108 84 Q(xt of the e)-.15 E(xpansion or the te)-.15 E -(xt between the braces.)-.15 E 3.632(Ac)108 100.8 S 1.132 -(orrectly-formed brace e)-3.632 F 1.132(xpansion must contain unquoted \ -opening and closing braces, and at least one)-.15 F 3.441 -(unquoted comma or a v)108 112.8 R 3.441(alid sequence e)-.25 F 5.941 -(xpression. An)-.15 F 5.941(yi)-.15 G 3.441(ncorrectly formed brace e) --5.941 F 3.44(xpansion is left)-.15 F 2.755(unchanged. A)108 124.8 R/F1 -10/Times-Bold@0 SF({)2.755 E F0(or)2.755 E F1(,)2.755 E F0 .255 -(may be quoted with a backslash to pre)2.755 F -.15(ve)-.25 G .255 -(nt its being considered part of a brace e).15 F(xpres-)-.15 E 2.911 -(sion. T)108 136.8 R 2.911(oa)-.8 G -.2(vo)-3.111 G .411 +-.35 E/F1 10/Times-Italic@0 SF .757(be of the same type)108 84 R 5.757 +(.W)-.15 G .757(hen the incr)-5.757 F .757 +(ement is supplied, it is used as the dif)-.37 F(fer)-.18 E .758 +(ence between eac)-.37 F 3.258(ht)-.15 G 3.258(erm. The)-3.258 F +(default incr)108 96 Q(ement is 1 or -1 as appr)-.37 E(opriate)-.45 E(.) +-.15 E F0 .582(Brace e)108 112.8 R .582(xpansion is performed before an) +-.15 F 3.082(yo)-.15 G .581(ther e)-3.082 F .581(xpansions, and an)-.15 +F 3.081(yc)-.15 G .581(haracters special to other e)-3.081 F(xpansions) +-.15 E .015(are preserv)108 124.8 R .015(ed in the result.)-.15 F .015 +(It is strictly te)5.015 F(xtual.)-.15 E/F2 10/Times-Bold@0 SF(Bash) +5.016 E F0 .016(does not apply an)2.516 F 2.516(ys)-.15 G .016 +(yntactic interpretation to the con-)-2.516 F(te)108 136.8 Q +(xt of the e)-.15 E(xpansion or the te)-.15 E(xt between the braces.) +-.15 E 3.633(Ac)108 153.6 S 1.133(orrectly-formed brace e)-3.633 F 1.132 +(xpansion must contain unquoted opening and closing braces, and at leas\ +t one)-.15 F 3.44(unquoted comma or a v)108 165.6 R 3.441 +(alid sequence e)-.25 F 5.941(xpression. An)-.15 F 5.941(yi)-.15 G 3.441 +(ncorrectly formed brace e)-5.941 F 3.441(xpansion is left)-.15 F 2.755 +(unchanged. A)108 177.6 R F2({)2.755 E F0(or)2.755 E F2(,)2.755 E F0 +.255(may be quoted with a backslash to pre)2.755 F -.15(ve)-.25 G .255 +(nt its being considered part of a brace e).15 F(xpres-)-.15 E 2.91 +(sion. T)108 189.6 R 2.91(oa)-.8 G -.2(vo)-3.11 G .41 (id con\215icts with parameter e).2 F .411(xpansion, the string)-.15 F -F1(${)2.911 E F0 .41(is not considered eligible for brace e)2.911 F -(xpan-)-.15 E(sion.)108 148.8 Q 1.476(This construct is typically used \ +F2(${)2.911 E F0 .411(is not considered eligible for brace e)2.911 F +(xpan-)-.15 E(sion.)108 201.6 Q 1.476(This construct is typically used \ as shorthand when the common pre\214x of the strings to be generated is) -108 165.6 R(longer than in the abo)108 177.6 Q .3 -.15(ve ex)-.15 H -(ample:).15 E(mkdir /usr/local/src/bash/{old,ne)144 194.4 Q -.65(w,)-.25 -G(dist,b).65 E(ugs})-.2 E(or)108 206.4 Q(cho)144 218.4 Q +108 218.4 R(longer than in the abo)108 230.4 Q .3 -.15(ve ex)-.15 H +(ample:).15 E(mkdir /usr/local/src/bash/{old,ne)144 247.2 Q -.65(w,)-.25 +G(dist,b).65 E(ugs})-.2 E(or)108 259.2 Q(cho)144 271.2 Q (wn root /usr/{ucb/{e)-.25 E(x,edit},lib/{e)-.15 E(x?.?*,ho)-.15 E(w_e) --.25 E(x}})-.15 E .618(Brace e)108 235.2 R .618 +-.25 E(x}})-.15 E .618(Brace e)108 288 R .618 (xpansion introduces a slight incompatibility with historical v)-.15 F -.618(ersions of)-.15 F F1(sh)3.118 E F0(.)A F1(sh)5.618 E F0 .618 -(does not treat open-)3.118 F .247 -(ing or closing braces specially when the)108 247.2 R 2.747(ya)-.15 G -.247(ppear as part of a w)-2.747 F .248(ord, and preserv)-.1 F .248 -(es them in the output.)-.15 F F1(Bash)5.248 E F0(remo)108 259.2 Q -.15 +.618(ersions of)-.15 F F2(sh)3.118 E F0(.)A F2(sh)5.618 E F0 .618 +(does not treat open-)3.118 F .248 +(ing or closing braces specially when the)108 300 R 2.748(ya)-.15 G .247 +(ppear as part of a w)-2.748 F .247(ord, and preserv)-.1 F .247 +(es them in the output.)-.15 F F2(Bash)5.247 E F0(remo)108 312 Q -.15 (ve)-.15 G 3.53(sb).15 G 1.03(races from w)-3.53 F 1.03 (ords as a consequence of brace e)-.1 F 3.53(xpansion. F)-.15 F 1.03 -(or e)-.15 F 1.03(xample, a w)-.15 F 1.03(ord entered to)-.1 F F1(sh) -3.53 E F0(as)3.53 E/F2 10/Times-Italic@0 SF(\214le{1,2})108 271.2 Q F0 -.514(appears identically in the output.)3.014 F .515(The same w)5.515 F -.515(ord is output as)-.1 F F2 .515(\214le1 \214le2)4.925 F F0 .515 -(after e)3.035 F .515(xpansion by)-.15 F F1(bash)3.015 E F0(.)A .437 -(If strict compatibility with)108 283.2 R F1(sh)2.936 E F0 .436 -(is desired, start)2.936 F F1(bash)2.936 E F0 .436(with the)2.936 F F1 -(+B)2.936 E F0 .436(option or disable brace e)2.936 F .436 -(xpansion with the)-.15 F F1(+B)108 295.2 Q F0(option to the)2.5 E F1 -(set)2.5 E F0(command \(see)2.5 E/F3 9/Times-Bold@0 SF(SHELL B)2.5 E -(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1 -.18(Ti) -87 312 S(lde Expansion).18 E F0 1.086(If a w)108 324 R 1.086(ord be)-.1 -F 1.086(gins with an unquoted tilde character \(`)-.15 F F1(~)A F0 1.087 +(or e)-.15 F 1.03(xample, a w)-.15 F 1.03(ord entered to)-.1 F F2(sh) +3.53 E F0(as)3.53 E F1(\214le{1,2})108 324 Q F0 .515 +(appears identically in the output.)3.015 F .515(The same w)5.515 F .515 +(ord is output as)-.1 F F1 .514(\214le1 \214le2)4.925 F F0 .514(after e) +3.034 F .514(xpansion by)-.15 F F2(bash)3.014 E F0(.)A .436 +(If strict compatibility with)108 336 R F2(sh)2.936 E F0 .436 +(is desired, start)2.936 F F2(bash)2.936 E F0 .436(with the)2.936 F F2 +(+B)2.936 E F0 .436(option or disable brace e)2.936 F .437 +(xpansion with the)-.15 F F2(+B)108 348 Q F0(option to the)2.5 E F2(set) +2.5 E F0(command \(see)2.5 E/F3 9/Times-Bold@0 SF(SHELL B)2.5 E(UIL)-.09 +E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F2 -.18(Ti)87 364.8 S +(lde Expansion).18 E F0 1.087(If a w)108 376.8 R 1.087(ord be)-.1 F +1.087(gins with an unquoted tilde character \(`)-.15 F F2(~)A F0 1.086 ('\), all of the characters preceding the \214rst unquoted)B .185(slash\ \(or all characters, if there is no unquoted slash\) are considered a) -108 336 R F2(tilde-pr)2.685 E(e\214x)-.37 E F0 5.185(.I)C 2.685(fn) --5.185 G .185(one of the characters)-2.685 F .725(in the tilde-pre\214x\ - are quoted, the characters in the tilde-pre\214x follo)108 348 R .726 -(wing the tilde are treated as a possible)-.25 F F2(lo)108 360 Q .523 -(gin name)-.1 F F0 5.523(.I)C 3.023(ft)-5.523 G .523 +108 388.8 R F1(tilde-pr)2.685 E(e\214x)-.37 E F0 5.185(.I)C 2.685(fn) +-5.185 G .185(one of the characters)-2.685 F .726(in the tilde-pre\214x\ + are quoted, the characters in the tilde-pre\214x follo)108 400.8 R .725 +(wing the tilde are treated as a possible)-.25 F F1(lo)108 412.8 Q .522 +(gin name)-.1 F F0 5.522(.I)C 3.022(ft)-5.522 G .522 (his login name is the null string, the tilde is replaced with the v) --3.023 F .522(alue of the shell parameter)-.25 F F3(HOME)108 372 Q/F4 9 -/Times-Roman@0 SF(.)A F0(If)4.786 E F3(HOME)2.786 E F0 .287 -(is unset, the home directory of the user e)2.536 F -.15(xe)-.15 G .287 -(cuting the shell is substituted instead.).15 F(Other)5.287 E(-)-.2 E(w\ +-3.022 F .523(alue of the shell parameter)-.25 F F3(HOME)108 424.8 Q/F4 +9/Times-Roman@0 SF(.)A F0(If)4.787 E F3(HOME)2.787 E F0 .287 +(is unset, the home directory of the user e)2.537 F -.15(xe)-.15 G .286 +(cuting the shell is substituted instead.).15 F(Other)5.286 E(-)-.2 E(w\ ise, the tilde-pre\214x is replaced with the home directory associated \ -with the speci\214ed login name.)108 384 Q .093 -(If the tilde-pre\214x is a `~+', the v)108 400.8 R .092 +with the speci\214ed login name.)108 436.8 Q .092 +(If the tilde-pre\214x is a `~+', the v)108 453.6 R .092 (alue of the shell v)-.25 F(ariable)-.25 E F3(PWD)2.592 E F0 .092 -(replaces the tilde-pre\214x.)2.342 F .092(If the tilde-pre\214x is) -5.092 F 3.403(a`)108 412.8 S .903(~\255', the v)-3.403 F .903 +(replaces the tilde-pre\214x.)2.342 F .093(If the tilde-pre\214x is) +5.093 F 3.404(a`)108 465.6 S .904(~\255', the v)-3.404 F .904 (alue of the shell v)-.25 F(ariable)-.25 E F3(OLDPWD)3.404 E F4(,)A F0 -.904(if it is set, is substituted.)3.154 F .904(If the characters follo) -5.904 F .904(wing the)-.25 F 1.642 -(tilde in the tilde-pre\214x consist of a number)108 424.8 R F2(N)4.142 -E F0 4.142(,o)C 1.642(ptionally pre\214x)-4.142 F 1.641 -(ed by a `+' or a `\255', the tilde-pre\214x is)-.15 F 1.437(replaced w\ +.904(if it is set, is substituted.)3.154 F .903(If the characters follo) +5.903 F .903(wing the)-.25 F 1.641 +(tilde in the tilde-pre\214x consist of a number)108 477.6 R F1(N)4.141 +E F0 4.142(,o)C 1.642(ptionally pre\214x)-4.142 F 1.642 +(ed by a `+' or a `\255', the tilde-pre\214x is)-.15 F 1.438(replaced w\ ith the corresponding element from the directory stack, as it w)108 -436.8 R 1.438(ould be displayed by the)-.1 F F1(dirs)3.938 E F0 -.2(bu) -108 448.8 S .455(iltin in).2 F -.2(vo)-.4 G -.1(ke).2 G 2.955(dw).1 G -.455(ith the tilde-pre\214x as an ar)-2.955 F 2.954(gument. If)-.18 F -.454(the characters follo)2.954 F .454 +489.6 R 1.437(ould be displayed by the)-.1 F F2(dirs)3.937 E F0 -.2(bu) +108 501.6 S .454(iltin in).2 F -.2(vo)-.4 G -.1(ke).2 G 2.954(dw).1 G +.454(ith the tilde-pre\214x as an ar)-2.954 F 2.954(gument. If)-.18 F +.454(the characters follo)2.954 F .455 (wing the tilde in the tilde-pre\214x)-.25 F (consist of a number without a leading `+' or `\255', `+' is assumed.) -108 460.8 Q(If the login name is in)108 477.6 Q -.25(va)-.4 G +108 513.6 Q(If the login name is in)108 530.4 Q -.25(va)-.4 G (lid, or the tilde e).25 E(xpansion f)-.15 E(ails, the w)-.1 E -(ord is unchanged.)-.1 E .166(Each v)108 494.4 R .167 +(ord is unchanged.)-.1 E .167(Each v)108 547.2 R .167 (ariable assignment is check)-.25 F .167(ed for unquoted tilde-pre\214x) --.1 F .167(es immediately follo)-.15 F .167(wing a)-.25 F F1(:)2.667 E -F0 .167(or the \214rst)2.667 F F1(=)2.667 E F0 5.167(.I)C(n)-5.167 E -.282(these cases, tilde e)108 506.4 R .282(xpansion is also performed.) +-.1 F .167(es immediately follo)-.15 F .167(wing a)-.25 F F2(:)2.667 E +F0 .167(or the \214rst)2.667 F F2(=)2.666 E F0 5.166(.I)C(n)-5.166 E +.281(these cases, tilde e)108 559.2 R .282(xpansion is also performed.) -.15 F(Consequently)5.282 E 2.782(,o)-.65 G .282 (ne may use \214le names with tildes in assign-)-2.782 F(ments to)108 -518.4 Q F3 -.666(PA)2.5 G(TH)-.189 E F4(,)A F3(MAILP)2.25 E -.855(AT) +571.2 Q F3 -.666(PA)2.5 G(TH)-.189 E F4(,)A F3(MAILP)2.25 E -.855(AT) -.666 G(H).855 E F4(,)A F0(and)2.25 E F3(CDP)2.5 E -.855(AT)-.666 G(H) .855 E F4(,)A F0(and the shell assigns the e)2.25 E(xpanded v)-.15 E -(alue.)-.25 E F1 -.1(Pa)87 535.2 S(rameter Expansion).1 E F0 1.605 -(The `)108 547.2 R F1($)A F0 4.105('c)C 1.605 -(haracter introduces parameter e)-4.105 F 1.606 -(xpansion, command substitution, or arithmetic e)-.15 F 4.106 -(xpansion. The)-.15 F .407(parameter name or symbol to be e)108 559.2 R -.407(xpanded may be enclosed in braces, which are optional b)-.15 F .406 -(ut serv)-.2 F 2.906(et)-.15 G 2.906(op)-2.906 G(ro-)-2.906 E .032 -(tect the v)108 571.2 R .032(ariable to be e)-.25 F .032 -(xpanded from characters immediately follo)-.15 F .033 -(wing it which could be interpreted as part)-.25 F(of the name.)108 -583.2 Q 1.19 +(alue.)-.25 E F2 -.1(Pa)87 588 S(rameter Expansion).1 E F0 1.606(The `) +108 600 R F2($)A F0 4.106('c)C 1.606(haracter introduces parameter e) +-4.106 F 1.605(xpansion, command substitution, or arithmetic e)-.15 F +4.105(xpansion. The)-.15 F .406(parameter name or symbol to be e)108 612 +R .407(xpanded may be enclosed in braces, which are optional b)-.15 F +.407(ut serv)-.2 F 2.907(et)-.15 G 2.907(op)-2.907 G(ro-)-2.907 E .033 +(tect the v)108 624 R .033(ariable to be e)-.25 F .033 +(xpanded from characters immediately follo)-.15 F .032 +(wing it which could be interpreted as part)-.25 F(of the name.)108 636 +Q 1.189 (When braces are used, the matching ending brace is the \214rst `)108 -600 R F1(})A F0 3.689('n)C 1.189(ot escaped by a backslash or within a) --3.689 F 2.15(quoted string, and not within an embedded arithmetic e)108 -612 R 2.15(xpansion, command substitution, or parameter)-.15 F -.15(ex) -108 624 S(pansion.).15 E(${)108 640.8 Q F2(par)A(ameter)-.15 E F0(})A -1.205(The v)144 652.8 R 1.205(alue of)-.25 F F2(par)3.705 E(ameter)-.15 -E F0 1.204(is substituted.)3.705 F 1.204(The braces are required when) -6.204 F F2(par)4.954 E(ameter)-.15 E F0 1.204(is a positional)4.434 F -.264(parameter with more than one digit, or when)144 664.8 R F2(par) -4.014 E(ameter)-.15 E F0 .264(is follo)3.494 F .264 +652.8 R F2(})A F0 3.69('n)C 1.19(ot escaped by a backslash or within a) +-3.69 F 2.15(quoted string, and not within an embedded arithmetic e)108 +664.8 R 2.15(xpansion, command substitution, or parameter)-.15 F -.15 +(ex)108 676.8 S(pansion.).15 E(${)108 693.6 Q F1(par)A(ameter)-.15 E F0 +(})A 1.204(The v)144 705.6 R 1.204(alue of)-.25 F F1(par)3.704 E(ameter) +-.15 E F0 1.204(is substituted.)3.704 F 1.204 +(The braces are required when)6.204 F F1(par)4.955 E(ameter)-.15 E F0 +1.205(is a positional)4.435 F .264 +(parameter with more than one digit, or when)144 717.6 R F1(par)4.014 E +(ameter)-.15 E F0 .264(is follo)3.494 F .264 (wed by a character which is not to)-.25 F -(be interpreted as part of its name.)144 676.8 Q 1.509 -(If the \214rst character of)108 693.6 R F2(par)4.009 E(ameter)-.15 E F0 -1.509(is an e)4.009 F 1.509(xclamation point, a le)-.15 F -.15(ve)-.25 G -4.009(lo).15 G 4.008(fv)-4.009 G 1.508 -(ariable indirection is introduced.)-4.258 F F1(Bash)108 705.6 Q F0 .106 -(uses the v)2.606 F .106(alue of the v)-.25 F .106 -(ariable formed from the rest of)-.25 F F2(par)2.606 E(ameter)-.15 E F0 -.106(as the name of the v)2.606 F .106(ariable; this v)-.25 F(ari-)-.25 -E .352(able is then e)108 717.6 R .352(xpanded and that v)-.15 F .351 -(alue is used in the rest of the substitution, rather than the v)-.25 F -.351(alue of)-.25 F F2(par)2.851 E(ame-)-.15 E(ter)108 729.6 Q F0 2.519 -(itself. This)2.519 F .019(is kno)2.519 F .019(wn as)-.25 F F2(indir) -2.519 E .019(ect e)-.37 F(xpansion)-.2 E F0 5.019(.T)C .019(he e)-5.019 -F .02(xceptions to this are the e)-.15 F .02(xpansions of ${!)-.15 F F2 -(pr)A(e\214x)-.37 E F0 .02(*} and)B(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(17)198.445 E 0 Cg EP +(be interpreted as part of its name.)144 729.6 Q(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(17)197.335 E 0 Cg EP %%Page: 18 18 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(${)108 84 Q/F1 10/Times-Bold@0 SF(!)A/F2 10/Times-Italic@0 SF -(name)A F0([)A F2(@)A F0 .763(]} described belo)B 4.563 -.65(w. T)-.25 H -.763(he e).65 F .763(xclamation point must immediately follo)-.15 F -3.263(wt)-.25 G .763(he left brace in order to)-3.263 F -(introduce indirection.)108 96 Q .334(In each of the cases belo)108 -112.8 R -.65(w,)-.25 G F2(wor)3.484 E(d)-.37 E F0 .334 -(is subject to tilde e)2.834 F .334(xpansion, parameter e)-.15 F .334 -(xpansion, command substitution,)-.15 F 1.418(and arithmetic e)108 124.8 -R 3.918(xpansion. When)-.15 F 1.418(not performing substring e)3.918 F -(xpansion,)-.15 E F1(bash)3.918 E F0 1.418 -(tests for a parameter that is)3.918 F(unset or null; omitting the colo\ -n results in a test only for a parameter that is unset.)108 136.8 Q(${) -108 153.6 Q F2(par)A(ameter)-.15 E F1<3aad>A F2(wor)A(d)-.37 E F0(})A F1 -.722(Use Default V)144 165.6 R(alues)-.92 E F0 5.722(.I)C(f)-5.722 E F2 -(par)4.472 E(ameter)-.15 E F0 .723(is unset or null, the e)3.952 F .723 -(xpansion of)-.15 F F2(wor)3.563 E(d)-.37 E F0 .723(is substituted.) -3.993 F(Other)5.723 E(-)-.2 E(wise, the v)144 177.6 Q(alue of)-.25 E F2 -(par)3.75 E(ameter)-.15 E F0(is substituted.)3.23 E(${)108 189.6 Q F2 -(par)A(ameter)-.15 E F1(:=)A F2(wor)A(d)-.37 E F0(})A F1 2.005 -(Assign Default V)144 201.6 R(alues)-.92 E F0 7.005(.I)C(f)-7.005 E F2 -(par)5.755 E(ameter)-.15 E F0 2.005(is unset or null, the e)5.235 F -2.004(xpansion of)-.15 F F2(wor)4.844 E(d)-.37 E F0 2.004 -(is assigned to)5.274 F F2(par)144 213.6 Q(ameter)-.15 E F0 5.278(.T).73 -G .278(he v)-5.278 F .278(alue of)-.25 F F2(par)4.028 E(ameter)-.15 E F0 -.278(is then substituted.)3.508 F .279 +-.35 E 1.508(If the \214rst character of)108 84 R/F1 10/Times-Italic@0 +SF(par)4.009 E(ameter)-.15 E F0 1.509(is an e)4.009 F 1.509 +(xclamation point, a le)-.15 F -.15(ve)-.25 G 4.009(lo).15 G 4.009(fv) +-4.009 G 1.509(ariable indirection is introduced.)-4.259 F/F2 10 +/Times-Bold@0 SF(Bash)108 96 Q F0 .106(uses the v)2.606 F .106 +(alue of the v)-.25 F .106(ariable formed from the rest of)-.25 F F1 +(par)2.606 E(ameter)-.15 E F0 .106(as the name of the v)2.606 F .106 +(ariable; this v)-.25 F(ari-)-.25 E .351(able is then e)108 108 R .351 +(xpanded and that v)-.15 F .352 +(alue is used in the rest of the substitution, rather than the v)-.25 F +.352(alue of)-.25 F F1(par)2.852 E(ame-)-.15 E(ter)108 120 Q F0 2.52 +(itself. This)2.52 F .02(is kno)2.52 F .02(wn as)-.25 F F1(indir)2.52 E +.02(ect e)-.37 F(xpansion)-.2 E F0 5.019(.T)C .019(he e)-5.019 F .019 +(xceptions to this are the e)-.15 F .019(xpansions of ${!)-.15 F F1(pr)A +(e\214x)-.37 E F0 .019(*} and)B(${)108 132 Q F2(!)A F1(name)A F0([)A F1 +(@)A F0 .762(]} described belo)B 4.563 -.65(w. T)-.25 H .763(he e).65 F +.763(xclamation point must immediately follo)-.15 F 3.263(wt)-.25 G .763 +(he left brace in order to)-3.263 F(introduce indirection.)108 144 Q +.334(In each of the cases belo)108 160.8 R -.65(w,)-.25 G F1(wor)3.484 E +(d)-.37 E F0 .334(is subject to tilde e)2.834 F .334 +(xpansion, parameter e)-.15 F .334(xpansion, command substitution,)-.15 +F 1.417(and arithmetic e)108 172.8 R 3.918(xpansion. When)-.15 F 1.418 +(not performing substring e)3.918 F(xpansion,)-.15 E F2(bash)3.918 E F0 +1.418(tests for a parameter that is)3.918 F(unset or null; omitting the\ + colon results in a test only for a parameter that is unset.)108 184.8 Q +(${)108 201.6 Q F1(par)A(ameter)-.15 E F2<3aad>A F1(wor)A(d)-.37 E F0(}) +A F2 .723(Use Default V)144 213.6 R(alues)-.92 E F0 5.723(.I)C(f)-5.723 +E F1(par)4.473 E(ameter)-.15 E F0 .723(is unset or null, the e)3.953 F +.722(xpansion of)-.15 F F1(wor)3.562 E(d)-.37 E F0 .722(is substituted.) +3.992 F(Other)5.722 E(-)-.2 E(wise, the v)144 225.6 Q(alue of)-.25 E F1 +(par)3.75 E(ameter)-.15 E F0(is substituted.)3.23 E(${)108 237.6 Q F1 +(par)A(ameter)-.15 E F2(:=)A F1(wor)A(d)-.37 E F0(})A F2 2.004 +(Assign Default V)144 249.6 R(alues)-.92 E F0 7.004(.I)C(f)-7.004 E F1 +(par)5.754 E(ameter)-.15 E F0 2.005(is unset or null, the e)5.234 F +2.005(xpansion of)-.15 F F1(wor)4.845 E(d)-.37 E F0 2.005 +(is assigned to)5.275 F F1(par)144 261.6 Q(ameter)-.15 E F0 5.279(.T).73 +G .279(he v)-5.279 F .279(alue of)-.25 F F1(par)4.029 E(ameter)-.15 E F0 +.278(is then substituted.)3.508 F .278 (Positional parameters and special param-)5.278 F -(eters may not be assigned to in this w)144 225.6 Q(ay)-.1 E(.)-.65 E -(${)108 237.6 Q F2(par)A(ameter)-.15 E F1(:?)A F2(wor)A(d)-.37 E F0(})A -F1 .535(Display Err)144 249.6 R .535(or if Null or Unset)-.18 F F0 5.535 -(.I)C(f)-5.535 E F2(par)4.285 E(ameter)-.15 E F0 .535 -(is null or unset, the e)3.765 F .535(xpansion of)-.15 F F2(wor)3.035 E -(d)-.37 E F0 .535(\(or a mes-)3.035 F .661(sage to that ef)144 261.6 R -.661(fect if)-.25 F F2(wor)3.501 E(d)-.37 E F0 .662(is not present\) is\ - written to the standard error and the shell, if it is not)3.931 F -(interacti)144 273.6 Q -.15(ve)-.25 G 2.5(,e).15 G 2.5(xits. Otherwise,) --2.65 F(the v)2.5 E(alue of)-.25 E F2(par)2.5 E(ameter)-.15 E F0 -(is substituted.)2.5 E(${)108 285.6 Q F2(par)A(ameter)-.15 E F1(:+)A F2 -(wor)A(d)-.37 E F0(})A F1 .745(Use Alter)144 297.6 R .745(nate V)-.15 F -(alue)-.92 E F0 5.745(.I)C(f)-5.745 E F2(par)4.495 E(ameter)-.15 E F0 +(eters may not be assigned to in this w)144 273.6 Q(ay)-.1 E(.)-.65 E +(${)108 285.6 Q F1(par)A(ameter)-.15 E F2(:?)A F1(wor)A(d)-.37 E F0(})A +F2 .535(Display Err)144 297.6 R .535(or if Null or Unset)-.18 F F0 5.535 +(.I)C(f)-5.535 E F1(par)4.285 E(ameter)-.15 E F0 .535 +(is null or unset, the e)3.765 F .535(xpansion of)-.15 F F1(wor)3.035 E +(d)-.37 E F0 .535(\(or a mes-)3.035 F .662(sage to that ef)144 309.6 R +.662(fect if)-.25 F F1(wor)3.502 E(d)-.37 E F0 .661(is not present\) is\ + written to the standard error and the shell, if it is not)3.932 F +(interacti)144 321.6 Q -.15(ve)-.25 G 2.5(,e).15 G 2.5(xits. Otherwise,) +-2.65 F(the v)2.5 E(alue of)-.25 E F1(par)2.5 E(ameter)-.15 E F0 +(is substituted.)2.5 E(${)108 333.6 Q F1(par)A(ameter)-.15 E F2(:+)A F1 +(wor)A(d)-.37 E F0(})A F2 .745(Use Alter)144 345.6 R .745(nate V)-.15 F +(alue)-.92 E F0 5.745(.I)C(f)-5.745 E F1(par)4.495 E(ameter)-.15 E F0 .745(is null or unset, nothing is substituted, otherwise the e)3.975 F -(xpan-)-.15 E(sion of)144 309.6 Q F2(wor)2.84 E(d)-.37 E F0 -(is substituted.)3.27 E(${)108 321.6 Q F2(par)A(ameter)-.15 E F1(:)A F2 -(of)A(fset)-.18 E F0(})A(${)108 333.6 Q F2(par)A(ameter)-.15 E F1(:)A F2 -(of)A(fset)-.18 E F1(:)A F2(length)A F0(})A F1 .796 -(Substring Expansion.)144 345.6 R F0 .796(Expands to up to)5.796 F F2 -(length)3.296 E F0 .796(characters of)3.296 F F2(par)3.296 E(ameter)-.15 -E F0 .797(starting at the character)3.296 F .229(speci\214ed by)144 -357.6 R F2(of)2.729 E(fset)-.18 E F0 5.229(.I)C(f)-5.229 E F2(length) -2.729 E F0 .229(is omitted, e)2.729 F .229(xpands to the substring of) --.15 F F2(par)2.729 E(ameter)-.15 E F0 .228(starting at the char)2.728 F -(-)-.2 E .432(acter speci\214ed by)144 369.6 R F2(of)2.933 E(fset)-.18 E -F0(.)A F2(length)5.433 E F0(and)2.933 E F2(of)2.933 E(fset)-.18 E F0 +(xpan-)-.15 E(sion of)144 357.6 Q F1(wor)2.84 E(d)-.37 E F0 +(is substituted.)3.27 E(${)108 369.6 Q F1(par)A(ameter)-.15 E F2(:)A F1 +(of)A(fset)-.18 E F0(})A(${)108 381.6 Q F1(par)A(ameter)-.15 E F2(:)A F1 +(of)A(fset)-.18 E F2(:)A F1(length)A F0(})A F2 .797 +(Substring Expansion.)144 393.6 R F0 .796(Expands to up to)5.797 F F1 +(length)3.296 E F0 .796(characters of)3.296 F F1(par)3.296 E(ameter)-.15 +E F0 .796(starting at the character)3.296 F .228(speci\214ed by)144 +405.6 R F1(of)2.728 E(fset)-.18 E F0 5.228(.I)C(f)-5.228 E F1(length) +2.728 E F0 .229(is omitted, e)2.729 F .229(xpands to the substring of) +-.15 F F1(par)2.729 E(ameter)-.15 E F0 .229(starting at the char)2.729 F +(-)-.2 E .433(acter speci\214ed by)144 417.6 R F1(of)2.933 E(fset)-.18 E +F0(.)A F1(length)5.433 E F0(and)2.933 E F1(of)2.933 E(fset)-.18 E F0 .433(are arithmetic e)2.933 F .433(xpressions \(see)-.15 F/F3 9 -/Times-Bold@0 SF .433(ARITHMETIC EV)2.933 F(ALU-)-1.215 E -.855(AT)144 -381.6 S(ION).855 E F0(belo)2.577 E(w\).)-.25 E F2(length)5.327 E F0 .327 -(must e)2.827 F -.25(va)-.25 G .326 -(luate to a number greater than or equal to zero.).25 F(If)5.326 E F2 -(of)2.826 E(fset)-.18 E F0 -.25(eva)2.826 G(luates).25 E .015 -(to a number less than zero, the v)144 393.6 R .015 +/Times-Bold@0 SF .432(ARITHMETIC EV)2.933 F(ALU-)-1.215 E -.855(AT)144 +429.6 S(ION).855 E F0(belo)2.576 E(w\).)-.25 E F1(length)5.326 E F0 .326 +(must e)2.826 F -.25(va)-.25 G .326 +(luate to a number greater than or equal to zero.).25 F(If)5.327 E F1 +(of)2.827 E(fset)-.18 E F0 -.25(eva)2.827 G(luates).25 E .016 +(to a number less than zero, the v)144 441.6 R .015 (alue is used as an of)-.25 F .015(fset from the end of the v)-.25 F -.016(alue of)-.25 F F2(par)2.516 E(ameter)-.15 E F0 5.016(.I)C(f)-5.016 -E F2(par)144 405.6 Q(ameter)-.15 E F0(is)3.25 E F1(@)3.25 E F0 3.25(,t)C -.75(he result is)-3.25 F F2(length)3.25 E F0 .75 -(positional parameters be)3.25 F .75(ginning at)-.15 F F2(of)3.25 E -(fset)-.18 E F0 5.75(.I)C(f)-5.75 E F2(par)3.25 E(ameter)-.15 E F0 .75 -(is an)3.25 F 1.834(array name inde)144 417.6 R -.15(xe)-.15 G 4.334(db) -.15 G 4.334(y@o)-4.334 G 4.335(r*)-4.334 G 4.335(,t)-4.335 G 1.835 -(he result is the)-4.335 F F2(length)4.335 E F0 1.835 -(members of the array be)4.335 F 1.835(ginning with)-.15 F(${)144 429.6 -Q F2(par)A(ameter)-.15 E F0([)A F2(of)A(fset)-.18 E F0 2.611(]}. A)B(ne) -2.611 E -.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G F2(of)2.761 E(fset)-.18 E -F0 .111(is tak)2.611 F .111(en relati)-.1 F .411 -.15(ve t)-.25 H 2.611 -(oo).15 G .11(ne greater than the maximum inde)-2.611 F 2.61(xo)-.15 G -(f)-2.61 E .92(the speci\214ed array)144 441.6 R 5.92(.N)-.65 G .92 +.015(alue of)-.25 F F1(par)2.515 E(ameter)-.15 E F0 5.015(.I)C(f)-5.015 +E F1(par)144 453.6 Q(ameter)-.15 E F0(is)3.25 E F2(@)3.25 E F0 3.25(,t)C +.75(he result is)-3.25 F F1(length)3.25 E F0 .75 +(positional parameters be)3.25 F .75(ginning at)-.15 F F1(of)3.25 E +(fset)-.18 E F0 5.75(.I)C(f)-5.75 E F1(par)3.25 E(ameter)-.15 E F0 .75 +(is an)3.25 F 1.835(array name inde)144 465.6 R -.15(xe)-.15 G 4.335(db) +.15 G 4.335(y@o)-4.335 G 4.335(r*)-4.335 G 4.335(,t)-4.335 G 1.835 +(he result is the)-4.335 F F1(length)4.335 E F0 1.834 +(members of the array be)4.335 F 1.834(ginning with)-.15 F(${)144 477.6 +Q F1(par)A(ameter)-.15 E F0([)A F1(of)A(fset)-.18 E F0 2.61(]}. A)B(ne) +2.61 E -.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G F1(of)2.76 E(fset)-.18 E +F0 .111(is tak)2.61 F .111(en relati)-.1 F .411 -.15(ve t)-.25 H 2.611 +(oo).15 G .111(ne greater than the maximum inde)-2.611 F 2.611(xo)-.15 G +(f)-2.611 E .92(the speci\214ed array)144 489.6 R 5.92(.N)-.65 G .92 (ote that a ne)-5.92 F -.05(ga)-.15 G(ti).05 E 1.22 -.15(ve o)-.25 H -.25(ff).15 G .92(set must be separated from the colon by at least one) -.25 F .641(space to a)144 453.6 R -.2(vo)-.2 G .641 +.25 F .64(space to a)144 501.6 R -.2(vo)-.2 G .641 (id being confused with the :- e).2 F 3.141(xpansion. Substring)-.15 F -(inde)3.141 E .64(xing is zero-based unless the)-.15 F .299 -(positional parameters are used, in which case the inde)144 465.6 R .299 -(xing starts at 1 by def)-.15 F 2.799(ault. If)-.1 F F2(of)2.799 E(fset) --.18 E F0 .299(is 0, and)2.799 F(the positional parameters are used,)144 -477.6 Q F1($0)2.5 E F0(is pre\214x)2.5 E(ed to the list.)-.15 E(${)108 -494.4 Q F1(!)A F2(pr)A(e\214x)-.37 E F1(*)A F0(})A(${)108 506.4 Q F1(!)A -F2(pr)A(e\214x)-.37 E F1(@)A F0(})A .42(Expands to the names of v)144 -518.4 R .42(ariables whose names be)-.25 F .42(gin with)-.15 F F2(pr) +(inde)3.141 E .641(xing is zero-based unless the)-.15 F .299 +(positional parameters are used, in which case the inde)144 513.6 R .299 +(xing starts at 1 by def)-.15 F 2.799(ault. If)-.1 F F1(of)2.799 E(fset) +-.18 E F0 .298(is 0, and)2.799 F(the positional parameters are used,)144 +525.6 Q F2($0)2.5 E F0(is pre\214x)2.5 E(ed to the list.)-.15 E(${)108 +542.4 Q F2(!)A F1(pr)A(e\214x)-.37 E F2(*)A F0(})A(${)108 554.4 Q F2(!)A +F1(pr)A(e\214x)-.37 E F2(@)A F0(})A .42(Expands to the names of v)144 +566.4 R .42(ariables whose names be)-.25 F .42(gin with)-.15 F F1(pr) 2.92 E(e\214x)-.37 E F0 2.92(,s)C .42(eparated by the \214rst character) --2.92 F .098(of the)144 530.4 R F3(IFS)2.598 E F0 .098(special v)2.348 F -2.598(ariable. When)-.25 F F2(@)2.598 E F0 .099(is used and the e)2.598 -F .099(xpansion appears within double quotes, each)-.15 F -.25(va)144 -542.4 S(riable name e).25 E(xpands to a separate w)-.15 E(ord.)-.1 E(${) -108 559.2 Q F1(!)A F2(name)A F0([)A F2(@)A F0(]})A(${)108 571.2 Q F1(!)A -F2(name)A F0([)A F2(*)A F0(]})A(If)144 583.2 Q F2(name)2.922 E F0 .421 -(is an array v)2.922 F .421(ariable, e)-.25 F .421 +-2.92 F .099(of the)144 578.4 R F3(IFS)2.599 E F0 .099(special v)2.349 F +2.599(ariable. When)-.25 F F1(@)2.599 E F0 .098(is used and the e)2.599 +F .098(xpansion appears within double quotes, each)-.15 F -.25(va)144 +590.4 S(riable name e).25 E(xpands to a separate w)-.15 E(ord.)-.1 E(${) +108 607.2 Q F2(!)A F1(name)A F0([)A F1(@)A F0(]})A(${)108 619.2 Q F2(!)A +F1(name)A F0([)A F1(*)A F0(]})A(If)144 631.2 Q F1(name)2.921 E F0 .421 +(is an array v)2.921 F .421(ariable, e)-.25 F .421 (xpands to the list of array indices \(k)-.15 F -.15(ey)-.1 G .421 -(s\) assigned in).15 F F2(name)2.921 E F0 5.421(.I)C(f)-5.421 E F2(name) -2.921 E F0 .237(is not an array)144 595.2 R 2.737(,e)-.65 G .237 -(xpands to 0 if)-2.887 F F2(name)2.737 E F0 .238 -(is set and null otherwise.)2.737 F(When)5.238 E F2(@)2.738 E F0 .238 -(is used and the e)2.738 F(xpansion)-.15 E -(appears within double quotes, each k)144 607.2 Q .3 -.15(ey ex)-.1 H -(pands to a separate w).15 E(ord.)-.1 E(${)108 624 Q F1(#)A F2(par)A -(ameter)-.15 E F0(})A 1.392(The length in characters of the v)144 636 R -1.392(alue of)-.25 F F2(par)3.892 E(ameter)-.15 E F0 1.392 -(is substituted.)3.892 F(If)6.392 E F2(par)5.142 E(ameter)-.15 E F0(is) -4.622 E F1(*)3.891 E F0(or)3.891 E F1(@)3.891 E F0 3.891(,t)C(he)-3.891 -E -.25(va)144 648 S 1.748 +(s\) assigned in).15 F F1(name)2.921 E F0 5.422(.I)C(f)-5.422 E F1(name) +2.922 E F0 .238(is not an array)144 643.2 R 2.738(,e)-.65 G .238 +(xpands to 0 if)-2.888 F F1(name)2.738 E F0 .237 +(is set and null otherwise.)2.738 F(When)5.237 E F1(@)2.737 E F0 .237 +(is used and the e)2.737 F(xpansion)-.15 E +(appears within double quotes, each k)144 655.2 Q .3 -.15(ey ex)-.1 H +(pands to a separate w).15 E(ord.)-.1 E(${)108 672 Q F2(#)A F1(par)A +(ameter)-.15 E F0(})A 1.391(The length in characters of the v)144 684 R +1.392(alue of)-.25 F F1(par)3.892 E(ameter)-.15 E F0 1.392 +(is substituted.)3.892 F(If)6.392 E F1(par)5.142 E(ameter)-.15 E F0(is) +4.622 E F2(*)3.892 E F0(or)3.892 E F2(@)3.892 E F0 3.892(,t)C(he)-3.892 +E -.25(va)144 696 S 1.749 (lue substituted is the number of positional parameters.).25 F(If)6.749 -E F2(par)5.499 E(ameter)-.15 E F0 1.749(is an array name sub-)4.979 F -(scripted by)144 660 Q F1(*)2.5 E F0(or)2.5 E F1(@)2.5 E F0 2.5(,t)C +E F1(par)5.498 E(ameter)-.15 E F0 1.748(is an array name sub-)4.978 F +(scripted by)144 708 Q F2(*)2.5 E F0(or)2.5 E F2(@)2.5 E F0 2.5(,t)C (he v)-2.5 E(alue substituted is the number of elements in the array) --.25 E(.)-.65 E(${)108 676.8 Q F2(par)A(ameter)-.15 E F1(#)A F2(wor)A(d) --.37 E F0(})A(${)108 688.8 Q F2(par)A(ameter)-.15 E F1(##)A F2(wor)A(d) --.37 E F0(})A(The)144 700.8 Q F2(wor)3.331 E(d)-.37 E F0 .491(is e)3.761 -F .491(xpanded to produce a pattern just as in pathname e)-.15 F 2.99 -(xpansion. If)-.15 F .49(the pattern matches)2.99 F .411(the be)144 -712.8 R .411(ginning of the v)-.15 F .411(alue of)-.25 F F2(par)2.911 E -(ameter)-.15 E F0 2.911(,t).73 G .411(hen the result of the e)-2.911 F -.411(xpansion is the e)-.15 F .412(xpanded v)-.15 F .412(alue of)-.25 F -F2(par)145.25 724.8 Q(ameter)-.15 E F0 .607 -(with the shortest matching pattern \(the `)3.838 F(`)-.74 E F1(#)A F0 -2.087 -.74('' c)D .607(ase\) or the longest matching pattern \(the).74 F -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(18)198.445 E 0 Cg EP +-.25 E(.)-.65 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(18)197.335 E +0 Cg EP %%Page: 19 19 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.74(``)144 84 S/F1 10/Times-Bold@0 SF(##).74 E F0 1.653 -.74 -('' c)D .173(ase\) deleted.).74 F(If)5.173 E/F2 10/Times-Italic@0 SF -(par)3.923 E(ameter)-.15 E F0(is)3.403 E F1(@)2.673 E F0(or)2.673 E F1 -(*)2.673 E F0 2.674(,t)C .174(he pattern remo)-2.674 F -.25(va)-.15 G -2.674(lo).25 G .174(peration is applied to each posi-)-2.674 F .655 -(tional parameter in turn, and the e)144 96 R .654 -(xpansion is the resultant list.)-.15 F(If)5.654 E F2(par)4.404 E -(ameter)-.15 E F0 .654(is an array v)3.884 F(ariable)-.25 E .65 -(subscripted with)144 108 R F1(@)3.15 E F0(or)3.15 E F1(*)3.15 E F0 3.15 -(,t)C .65(he pattern remo)-3.15 F -.25(va)-.15 G 3.151(lo).25 G .651 -(peration is applied to each member of the array in)-3.151 F -(turn, and the e)144 120 Q(xpansion is the resultant list.)-.15 E(${)108 -136.8 Q F2(par)A(ameter)-.15 E F1(%)A F2(wor)A(d)-.37 E F0(})A(${)108 -148.8 Q F2(par)A(ameter)-.15 E F1(%%)A F2(wor)A(d)-.37 E F0(})A(The)144 -160.8 Q F2(wor)2.619 E(d)-.37 E F0 .119(is e)2.619 F .119 +-.35 E(${)108 84 Q/F1 10/Times-Italic@0 SF(par)A(ameter)-.15 E/F2 10 +/Times-Bold@0 SF(#)A F1(wor)A(d)-.37 E F0(})A(${)108 96 Q F1(par)A +(ameter)-.15 E F2(##)A F1(wor)A(d)-.37 E F0(})A(The)144 108 Q F1(wor) +3.33 E(d)-.37 E F0 .49(is e)3.76 F .491 +(xpanded to produce a pattern just as in pathname e)-.15 F 2.991 +(xpansion. If)-.15 F .491(the pattern matches)2.991 F .412(the be)144 +120 R .412(ginning of the v)-.15 F .411(alue of)-.25 F F1(par)2.911 E +(ameter)-.15 E F0 2.911(,t).73 G .411(hen the result of the e)-2.911 F +.411(xpansion is the e)-.15 F .411(xpanded v)-.15 F .411(alue of)-.25 F +F1(par)145.25 132 Q(ameter)-.15 E F0 .607 +(with the shortest matching pattern \(the `)3.837 F(`)-.74 E F2(#)A F0 +2.087 -.74('' c)D .607(ase\) or the longest matching pattern \(the).74 F +-.74(``)144 144 S F2(##).74 E F0 1.654 -.74('' c)D .174(ase\) deleted.) +.74 F(If)5.174 E F1(par)3.924 E(ameter)-.15 E F0(is)3.404 E F2(@)2.674 E +F0(or)2.674 E F2(*)2.674 E F0 2.674(,t)C .173(he pattern remo)-2.674 F +-.25(va)-.15 G 2.673(lo).25 G .173(peration is applied to each posi-) +-2.673 F .654(tional parameter in turn, and the e)144 156 R .654 +(xpansion is the resultant list.)-.15 F(If)5.655 E F1(par)4.405 E +(ameter)-.15 E F0 .655(is an array v)3.885 F(ariable)-.25 E .651 +(subscripted with)144 168 R F2(@)3.151 E F0(or)3.151 E F2(*)3.151 E F0 +3.151(,t)C .651(he pattern remo)-3.151 F -.25(va)-.15 G 3.151(lo).25 G +.65(peration is applied to each member of the array in)-3.151 F +(turn, and the e)144 180 Q(xpansion is the resultant list.)-.15 E(${)108 +196.8 Q F1(par)A(ameter)-.15 E F2(%)A F1(wor)A(d)-.37 E F0(})A(${)108 +208.8 Q F1(par)A(ameter)-.15 E F2(%%)A F1(wor)A(d)-.37 E F0(})A(The)144 +220.8 Q F1(wor)2.618 E(d)-.37 E F0 .118(is e)2.618 F .119 (xpanded to produce a pattern just as in pathname e)-.15 F 2.619 -(xpansion. If)-.15 F .118(the pattern matches a)2.619 F 2.401 -(trailing portion of the e)144 172.8 R 2.401(xpanded v)-.15 F 2.401 -(alue of)-.25 F F2(par)4.901 E(ameter)-.15 E F0 4.901(,t).73 G 2.402 -(hen the result of the e)-4.901 F 2.402(xpansion is the)-.15 F -.15(ex) -144 184.8 S 1.153(panded v).15 F 1.153(alue of)-.25 F F2(par)4.902 E +(xpansion. If)-.15 F .119(the pattern matches a)2.619 F 2.402 +(trailing portion of the e)144 232.8 R 2.402(xpanded v)-.15 F 2.401 +(alue of)-.25 F F1(par)4.901 E(ameter)-.15 E F0 4.901(,t).73 G 2.401 +(hen the result of the e)-4.901 F 2.401(xpansion is the)-.15 F -.15(ex) +144 244.8 S 1.152(panded v).15 F 1.152(alue of)-.25 F F1(par)4.902 E (ameter)-.15 E F0 1.152(with the shortest matching pattern \(the `)4.382 -F(`)-.74 E F1(%)A F0 2.632 -.74('' c)D 1.152(ase\) or the longest).74 F -.79(matching pattern \(the `)144 196.8 R(`)-.74 E F1(%%)A F0 2.27 -.74 -('' c)D .79(ase\) deleted.).74 F(If)5.79 E F2(par)4.54 E(ameter)-.15 E -F0(is)4.02 E F1(@)3.29 E F0(or)3.29 E F1(*)3.29 E F0 3.29(,t)C .79 +F(`)-.74 E F2(%)A F0 2.632 -.74('' c)D 1.153(ase\) or the longest).74 F +.79(matching pattern \(the `)144 256.8 R(`)-.74 E F2(%%)A F0 2.27 -.74 +('' c)D .79(ase\) deleted.).74 F(If)5.79 E F1(par)4.54 E(ameter)-.15 E +F0(is)4.02 E F2(@)3.29 E F0(or)3.29 E F2(*)3.29 E F0 3.29(,t)C .79 (he pattern remo)-3.29 F -.25(va)-.15 G 3.29(lo).25 G(pera-)-3.29 E 1.758(tion is applied to each positional parameter in turn, and the e) -144 208.8 R 1.758(xpansion is the resultant list.)-.15 F(If)6.758 E F2 -(par)145.25 220.8 Q(ameter)-.15 E F0 .088(is an array v)3.318 F .089 -(ariable subscripted with)-.25 F F1(@)2.589 E F0(or)2.589 E F1(*)2.589 E -F0 2.589(,t)C .089(he pattern remo)-2.589 F -.25(va)-.15 G 2.589(lo).25 -G .089(peration is applied to)-2.589 F -(each member of the array in turn, and the e)144 232.8 Q -(xpansion is the resultant list.)-.15 E(${)108 249.6 Q F2(par)A(ameter) --.15 E F1(/)A F2(pattern)A F1(/)A F2(string)A F0(})A(The)144 261.6 Q F2 +144 268.8 R 1.758(xpansion is the resultant list.)-.15 F(If)6.759 E F1 +(par)145.25 280.8 Q(ameter)-.15 E F0 .089(is an array v)3.319 F .089 +(ariable subscripted with)-.25 F F2(@)2.589 E F0(or)2.589 E F2(*)2.589 E +F0 2.589(,t)C .089(he pattern remo)-2.589 F -.25(va)-.15 G 2.588(lo).25 +G .088(peration is applied to)-2.588 F +(each member of the array in turn, and the e)144 292.8 Q +(xpansion is the resultant list.)-.15 E(${)108 309.6 Q F1(par)A(ameter) +-.15 E F2(/)A F1(pattern)A F2(/)A F1(string)A F0(})A(The)144 321.6 Q F1 (pattern)5.085 E F0 2.585(is e)5.085 F 2.585 (xpanded to produce a pattern just as in pathname e)-.15 F(xpansion.) --.15 E F2 -.8(Pa)7.585 G -.15(ra).8 G(meter).15 E F0(is)5.085 E -.15(ex) -144 273.6 S 1.451(panded and the longest match of).15 F F2(pattern)3.951 -E F0(ag)3.951 E 1.451(ainst its v)-.05 F 1.452(alue is replaced with) --.25 F F2(string)3.952 E F0 6.452(.I)C(f)-6.452 E F2(pattern)3.952 E F0 -(be)144 285.6 Q 1.237(gins with)-.15 F F1(/)3.737 E F0 3.737(,a)C 1.237 -(ll matches of)-3.737 F F2(pattern)3.737 E F0 1.237(are replaced with) -3.737 F F2(string)3.737 E F0 6.237(.N)C 1.237 -(ormally only the \214rst match is)-6.237 F 2.579(replaced. If)144 297.6 -R F2(pattern)2.579 E F0(be)2.579 E .079(gins with)-.15 F F1(#)2.579 E F0 -2.579(,i)C 2.579(tm)-2.579 G .079(ust match at the be)-2.579 F .08 -(ginning of the e)-.15 F .08(xpanded v)-.15 F .08(alue of)-.25 F F2(par) -2.58 E(am-)-.15 E(eter)144 309.6 Q F0 5.762(.I)C(f)-5.762 E F2(pattern) -3.262 E F0(be)3.261 E .761(gins with)-.15 F F1(%)3.261 E F0 3.261(,i)C -3.261(tm)-3.261 G .761(ust match at the end of the e)-3.261 F .761 -(xpanded v)-.15 F .761(alue of)-.25 F F2(par)3.261 E(ameter)-.15 E F0 -5.761(.I)C(f)-5.761 E F2(string)144 321.6 Q F0 1.937 -(is null, matches of)4.437 F F2(pattern)4.437 E F0 1.937 -(are deleted and the)4.437 F F1(/)4.438 E F0(follo)4.438 E(wing)-.25 E -F2(pattern)4.438 E F0 1.938(may be omitted.)4.438 F(If)6.938 E F2(par) -145.25 333.6 Q(ameter)-.15 E F0(is)3.329 E F1(@)2.599 E F0(or)2.598 E F1 +-.15 E F1 -.8(Pa)7.585 G -.15(ra).8 G(meter).15 E F0(is)5.085 E -.15(ex) +144 333.6 S 1.452(panded and the longest match of).15 F F1(pattern)3.951 +E F0(ag)3.951 E 1.451(ainst its v)-.05 F 1.451(alue is replaced with) +-.25 F F1(string)3.951 E F0 6.451(.I)C(f)-6.451 E F1(pattern)3.951 E F0 +(be)144 345.6 Q 1.236(gins with)-.15 F F2(/)3.736 E F0 3.737(,a)C 1.237 +(ll matches of)-3.737 F F1(pattern)3.737 E F0 1.237(are replaced with) +3.737 F F1(string)3.737 E F0 6.237(.N)C 1.237 +(ormally only the \214rst match is)-6.237 F 2.58(replaced. If)144 357.6 +R F1(pattern)2.58 E F0(be)2.58 E .08(gins with)-.15 F F2(#)2.58 E F0 +2.58(,i)C 2.58(tm)-2.58 G .079(ust match at the be)-2.58 F .079 +(ginning of the e)-.15 F .079(xpanded v)-.15 F .079(alue of)-.25 F F1 +(par)2.579 E(am-)-.15 E(eter)144 369.6 Q F0 5.761(.I)C(f)-5.761 E F1 +(pattern)3.261 E F0(be)3.261 E .761(gins with)-.15 F F2(%)3.261 E F0 +3.261(,i)C 3.261(tm)-3.261 G .761(ust match at the end of the e)-3.261 F +.761(xpanded v)-.15 F .761(alue of)-.25 F F1(par)3.262 E(ameter)-.15 E +F0 5.762(.I)C(f)-5.762 E F1(string)144 381.6 Q F0 1.938 +(is null, matches of)4.438 F F1(pattern)4.438 E F0 1.938 +(are deleted and the)4.438 F F2(/)4.437 E F0(follo)4.437 E(wing)-.25 E +F1(pattern)4.437 E F0 1.937(may be omitted.)4.437 F(If)6.937 E F1(par) +145.25 393.6 Q(ameter)-.15 E F0(is)3.328 E F2(@)2.598 E F0(or)2.598 E F2 (*)2.598 E F0 2.598(,t)C .098(he substitution operation is applied to e\ -ach positional parameter in turn, and)-2.598 F .64(the e)144 345.6 R .64 -(xpansion is the resultant list.)-.15 F(If)5.64 E F2(par)4.39 E(ameter) +ach positional parameter in turn, and)-2.598 F .64(the e)144 405.6 R .64 +(xpansion is the resultant list.)-.15 F(If)5.64 E F1(par)4.39 E(ameter) -.15 E F0 .64(is an array v)3.87 F .64(ariable subscripted with)-.25 F -F1(@)3.14 E F0(or)3.14 E F1(*)3.14 E F0 3.14(,t)C(he)-3.14 E 1.446(subs\ +F2(@)3.14 E F0(or)3.14 E F2(*)3.14 E F0 3.14(,t)C(he)-3.14 E 1.446(subs\ titution operation is applied to each member of the array in turn, and \ -the e)144 357.6 R 1.446(xpansion is the)-.15 F(resultant list.)144 369.6 -Q F1(Command Substitution)87 386.4 Q F2 1.697(Command substitution)108 -398.4 R F0(allo)4.197 E 1.697 -(ws the output of a command to replace the command name.)-.25 F 1.698 -(There are tw)6.698 F(o)-.1 E(forms:)108 410.4 Q F1($\()144 432 Q F2 -(command)A F1(\))1.666 E F0(or)108 444 Q F1<92>144 456 Q F2(command)A F1 -<92>A(Bash)108 472.8 Q F0 .02(performs the e)2.52 F .02(xpansion by e) --.15 F -.15(xe)-.15 G(cuting).15 E F2(command)2.519 E F0 .019 -(and replacing the command substitution with the stan-)2.519 F .768 -(dard output of the command, with an)108 484.8 R 3.268(yt)-.15 G .768 +the e)144 417.6 R 1.447(xpansion is the)-.15 F(resultant list.)144 429.6 +Q F2(Command Substitution)87 446.4 Q F1 1.698(Command substitution)108 +458.4 R F0(allo)4.198 E 1.697 +(ws the output of a command to replace the command name.)-.25 F 1.697 +(There are tw)6.697 F(o)-.1 E(forms:)108 470.4 Q F2($\()144 492 Q F1 +(command)A F2(\))1.666 E F0(or)108 504 Q F2<92>144 516 Q F1(command)A F2 +<92>A(Bash)108 532.8 Q F0 .019(performs the e)2.519 F .019 +(xpansion by e)-.15 F -.15(xe)-.15 G(cuting).15 E F1(command)2.519 E F0 +.02(and replacing the command substitution with the stan-)2.519 F .768 +(dard output of the command, with an)108 544.8 R 3.268(yt)-.15 G .768 (railing ne)-3.268 F .768(wlines deleted.)-.25 F .768(Embedded ne)5.768 -F .768(wlines are not deleted, b)-.25 F(ut)-.2 E(the)108 496.8 Q 3.219 -(ym)-.15 G .719(ay be remo)-3.219 F -.15(ve)-.15 G 3.219(dd).15 G .719 -(uring w)-3.219 F .719(ord splitting.)-.1 F .719 -(The command substitution)5.719 F F1($\(cat)3.219 E F2(\214le)3.219 E F1 -(\))A F0 .718(can be replaced by the)3.219 F(equi)108 508.8 Q -.25(va) --.25 G(lent b).25 E(ut f)-.2 E(aster)-.1 E F1($\(<)2.5 E F2(\214le)2.5 E -F1(\))A F0(.)A 1.724(When the old-style backquote form of substitution \ -is used, backslash retains its literal meaning e)108 525.6 R(xcept)-.15 -E .315(when follo)108 537.6 R .315(wed by)-.25 F F1($)2.815 E F0(,)A F1 -<92>2.815 E F0 2.815(,o)C(r)-2.815 E F1(\\)2.815 E F0 5.315(.T)C .314(h\ +F .768(wlines are not deleted, b)-.25 F(ut)-.2 E(the)108 556.8 Q 3.218 +(ym)-.15 G .718(ay be remo)-3.218 F -.15(ve)-.15 G 3.218(dd).15 G .719 +(uring w)-3.218 F .719(ord splitting.)-.1 F .719 +(The command substitution)5.719 F F2($\(cat)3.219 E F1(\214le)3.219 E F2 +(\))A F0 .719(can be replaced by the)3.219 F(equi)108 568.8 Q -.25(va) +-.25 G(lent b).25 E(ut f)-.2 E(aster)-.1 E F2($\(<)2.5 E F1(\214le)2.5 E +F2(\))A F0(.)A 1.724(When the old-style backquote form of substitution \ +is used, backslash retains its literal meaning e)108 585.6 R(xcept)-.15 +E .314(when follo)108 597.6 R .314(wed by)-.25 F F2($)2.814 E F0(,)A F2 +<92>2.814 E F0 2.814(,o)C(r)-2.814 E F2(\\)2.814 E F0 5.314(.T)C .315(h\ e \214rst backquote not preceded by a backslash terminates the command \ -sub-)-5.315 F 3.886(stitution. When)108 549.6 R 1.386(using the $\() -3.886 F F2(command).833 E F0 3.886(\)f)1.666 G 1.387 -(orm, all characters between the parentheses mak)-3.886 F 3.887(eu)-.1 G -3.887(pt)-3.887 G 1.387(he com-)-3.887 F -(mand; none are treated specially)108 561.6 Q(.)-.65 E .894 -(Command substitutions may be nested.)108 578.4 R 2.494 -.8(To n)5.894 H +sub-)-5.314 F 3.887(stitution. When)108 609.6 R 1.387(using the $\() +3.887 F F1(command).833 E F0 3.887(\)f)1.666 G 1.386 +(orm, all characters between the parentheses mak)-3.887 F 3.886(eu)-.1 G +3.886(pt)-3.886 G 1.386(he com-)-3.886 F +(mand; none are treated specially)108 621.6 Q(.)-.65 E .894 +(Command substitutions may be nested.)108 638.4 R 2.494 -.8(To n)5.894 H .894(est when using the backquoted form, escape the inner back-).8 F -(quotes with backslashes.)108 590.4 Q .422 -(If the substitution appears within double quotes, w)108 607.2 R .422 -(ord splitting and pathname e)-.1 F .423(xpansion are not performed)-.15 -F(on the results.)108 619.2 Q F1(Arithmetic Expansion)87 636 Q F0 1.035 -(Arithmetic e)108 648 R 1.035(xpansion allo)-.15 F 1.035(ws the e)-.25 F --.25(va)-.25 G 1.034(luation of an arithmetic e).25 F 1.034 +(quotes with backslashes.)108 650.4 Q .422 +(If the substitution appears within double quotes, w)108 667.2 R .422 +(ord splitting and pathname e)-.1 F .422(xpansion are not performed)-.15 +F(on the results.)108 679.2 Q F2(Arithmetic Expansion)87 696 Q F0 1.034 +(Arithmetic e)108 708 R 1.034(xpansion allo)-.15 F 1.034(ws the e)-.25 F +-.25(va)-.25 G 1.034(luation of an arithmetic e).25 F 1.035 (xpression and the substitution of the result.)-.15 F -(The format for arithmetic e)108 660 Q(xpansion is:)-.15 E F1($\(\()144 -676.8 Q F2 -.2(ex)C(pr).2 E(ession)-.37 E F1(\)\))A F0(The)108 693.6 Q -F2 -.2(ex)2.665 G(pr).2 E(ession)-.37 E F0 .165 -(is treated as if it were within double quotes, b)2.905 F .166 -(ut a double quote inside the parentheses is not)-.2 F 1.075 -(treated specially)108 705.6 R 6.075(.A)-.65 G 1.074(ll tok)-6.075 F -1.074(ens in the e)-.1 F 1.074(xpression under)-.15 F 1.074 -(go parameter e)-.18 F 1.074(xpansion, string e)-.15 F 1.074 -(xpansion, command)-.15 F(substitution, and quote remo)108 717.6 Q -.25 -(va)-.15 G 2.5(l. Arithmetic).25 F -.15(ex)2.5 G -(pansions may be nested.).15 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(19)198.445 E 0 Cg EP +(The format for arithmetic e)108 720 Q(xpansion is:)-.15 E(GNU Bash-4.0) +72 768 Q(2008 May 25)147.345 E(19)197.335 E 0 Cg EP %%Page: 20 20 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 1.378(The e)108 84 R -.25(va)-.25 G 1.378 -(luation is performed according to the rules listed belo).25 F 3.878(wu) --.25 G(nder)-3.878 E/F1 9/Times-Bold@0 SF 1.378(ARITHMETIC EV)3.878 F -(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E/F2 9/Times-Roman@0 SF(.)A F0 -(If)5.879 E/F3 10/Times-Italic@0 SF -.2(ex)108 96 S(pr).2 E(ession)-.37 -E F0(is in)2.74 E -.25(va)-.4 G(lid,).25 E/F4 10/Times-Bold@0 SF(bash) -2.5 E F0(prints a message indicating f)2.5 E -(ailure and no substitution occurs.)-.1 E F4(Pr)87 112.8 Q -(ocess Substitution)-.18 E F3(Pr)108 124.8 Q .971(ocess substitution) --.45 F F0 .971(is supported on systems that support named pipes \()3.471 -F F3(FIFOs)A F0 3.47(\)o)C 3.47(rt)-3.47 G(he)-3.47 E F4(/de)3.47 E -(v/fd)-.15 E F0 .97(method of)3.47 F .021(naming open \214les.)108 136.8 -R .021(It tak)5.021 F .021(es the form of)-.1 F F4(<\()2.521 E F3(list)A -F4(\)).833 E F0(or)2.521 E F4(>\()2.521 E F3(list)A F4(\)).833 E F0 -5.021(.T)C .021(he process)-5.021 F F3(list)2.521 E F0 .021 -(is run with its input or output con-)2.521 F .059(nected to a)108 148.8 -R F3(FIFO)2.559 E F0 .058(or some \214le in)2.559 F F4(/de)2.558 E(v/fd) +-.35 E/F1 10/Times-Bold@0 SF($\(\()144 84 Q/F2 10/Times-Italic@0 SF -.2 +(ex)C(pr).2 E(ession)-.37 E F1(\)\))A F0(The)108 100.8 Q F2 -.2(ex)2.666 +G(pr).2 E(ession)-.37 E F0 .165 +(is treated as if it were within double quotes, b)2.906 F .165 +(ut a double quote inside the parentheses is not)-.2 F 1.074 +(treated specially)108 112.8 R 6.074(.A)-.65 G 1.074(ll tok)-6.074 F +1.074(ens in the e)-.1 F 1.074(xpression under)-.15 F 1.074 +(go parameter e)-.18 F 1.074(xpansion, string e)-.15 F 1.075 +(xpansion, command)-.15 F(substitution, and quote remo)108 124.8 Q -.25 +(va)-.15 G 2.5(l. Arithmetic).25 F -.15(ex)2.5 G +(pansions may be nested.).15 E 1.379(The e)108 141.6 R -.25(va)-.25 G +1.378(luation is performed according to the rules listed belo).25 F +3.878(wu)-.25 G(nder)-3.878 E/F3 9/Times-Bold@0 SF 1.378(ARITHMETIC EV) +3.878 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E/F4 9/Times-Roman@0 SF(.) +A F0(If)5.878 E F2 -.2(ex)108 153.6 S(pr).2 E(ession)-.37 E F0(is in) +2.74 E -.25(va)-.4 G(lid,).25 E F1(bash)2.5 E F0 +(prints a message indicating f)2.5 E(ailure and no substitution occurs.) +-.1 E F1(Pr)87 170.4 Q(ocess Substitution)-.18 E F2(Pr)108 182.4 Q .97 +(ocess substitution)-.45 F F0 .971 +(is supported on systems that support named pipes \()3.47 F F2(FIFOs)A +F0 3.471(\)o)C 3.471(rt)-3.471 G(he)-3.471 E F1(/de)3.471 E(v/fd)-.15 E +F0 .971(method of)3.471 F .022(naming open \214les.)108 194.4 R .021 +(It tak)5.022 F .021(es the form of)-.1 F F1(<\()2.521 E F2(list)A F1 +(\)).833 E F0(or)2.521 E F1(>\()2.521 E F2(list)A F1(\)).833 E F0 5.021 +(.T)C .021(he process)-5.021 F F2(list)2.521 E F0 .021 +(is run with its input or output con-)2.521 F .058(nected to a)108 206.4 +R F2(FIFO)2.558 E F0 .058(or some \214le in)2.558 F F1(/de)2.558 E(v/fd) -.15 E F0 5.058(.T)C .058(he name of this \214le is passed as an ar) --5.058 F .058(gument to the current com-)-.18 F .13 -(mand as the result of the e)108 160.8 R 2.63(xpansion. If)-.15 F(the) -2.63 E F4(>\()2.63 E F3(list)A F4(\)).833 E F0 .13 -(form is used, writing to the \214le will pro)2.63 F .131 -(vide input for)-.15 F F3(list)2.631 E F0(.)A(If the)108 172.8 Q F4(<\() -2.5 E F3(list)A F4(\)).833 E F0 -(form is used, the \214le passed as an ar)2.5 E -(gument should be read to obtain the output of)-.18 E F3(list)2.5 E F0 -(.)A .897(When a)108 189.6 R -.25(va)-.2 G .896(ilable, process substit\ -ution is performed simultaneously with parameter and v).25 F .896 +-5.058 F .059(gument to the current com-)-.18 F .131 +(mand as the result of the e)108 218.4 R 2.631(xpansion. If)-.15 F(the) +2.63 E F1(>\()2.63 E F2(list)A F1(\)).833 E F0 .13 +(form is used, writing to the \214le will pro)2.63 F .13(vide input for) +-.15 F F2(list)2.63 E F0(.)A(If the)108 230.4 Q F1(<\()2.5 E F2(list)A +F1(\)).833 E F0(form is used, the \214le passed as an ar)2.5 E +(gument should be read to obtain the output of)-.18 E F2(list)2.5 E F0 +(.)A .896(When a)108 247.2 R -.25(va)-.2 G .896(ilable, process substit\ +ution is performed simultaneously with parameter and v).25 F .897 (ariable e)-.25 F(xpansion,)-.15 E -(command substitution, and arithmetic e)108 201.6 Q(xpansion.)-.15 E F4 --.75(Wo)87 218.4 S(rd Splitting).75 E F0 1.142 -(The shell scans the results of parameter e)108 230.4 R 1.143 -(xpansion, command substitution, and arithmetic e)-.15 F 1.143 -(xpansion that)-.15 F(did not occur within double quotes for)108 242.4 Q -F3(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 E F0(.).22 E .063 -(The shell treats each character of)108 259.2 R F1(IFS)2.563 E F0 .063 +(command substitution, and arithmetic e)108 259.2 Q(xpansion.)-.15 E F1 +-.75(Wo)87 276 S(rd Splitting).75 E F0 1.143 +(The shell scans the results of parameter e)108 288 R 1.142 +(xpansion, command substitution, and arithmetic e)-.15 F 1.142 +(xpansion that)-.15 F(did not occur within double quotes for)108 300 Q +F2(wor)2.5 E 2.5(ds)-.37 G(plitting)-2.5 E F0(.).22 E .063 +(The shell treats each character of)108 316.8 R F3(IFS)2.563 E F0 .063 (as a delimiter)2.313 F 2.563(,a)-.4 G .063 (nd splits the results of the other e)-2.563 F .063(xpansions into w) --.15 F(ords)-.1 E 1.788(on these characters.)108 271.2 R(If)6.788 E F1 -(IFS)4.288 E F0 1.788(is unset, or its v)4.038 F 1.789(alue is e)-.25 F -(xactly)-.15 E F4(<space><tab><newline>)4.289 E F0 4.289(,t)C 1.789 -(he def)-4.289 F 1.789(ault, then)-.1 F .022(sequences of)108 283.2 R F4 -(<space>)2.522 E F0(,)A F4(<tab>)2.522 E F0 2.521(,a)C(nd)-2.521 E F4 +-.15 F(ords)-.1 E 1.789(on these characters.)108 328.8 R(If)6.789 E F3 +(IFS)4.289 E F0 1.788(is unset, or its v)4.039 F 1.788(alue is e)-.25 F +(xactly)-.15 E F1(<space><tab><newline>)4.288 E F0 4.288(,t)C 1.788 +(he def)-4.288 F 1.788(ault, then)-.1 F .021(sequences of)108 340.8 R F1 +(<space>)2.521 E F0(,)A F1(<tab>)2.521 E F0 2.521(,a)C(nd)-2.521 E F1 (<newline>)2.521 E F0 .021(at the be)2.521 F .021 -(ginning and end of the results of the pre)-.15 F .021(vious e)-.25 F -(xpan-)-.15 E .585(sions are ignored, and an)108 295.2 R 3.086(ys)-.15 G -.586(equence of)-3.086 F F1(IFS)3.086 E F0 .586 -(characters not at the be)2.836 F .586(ginning or end serv)-.15 F .586 -(es to delimit w)-.15 F(ords.)-.1 E(If)108 307.2 Q F1(IFS)3.617 E F0 +(ginning and end of the results of the pre)-.15 F .022(vious e)-.25 F +(xpan-)-.15 E .586(sions are ignored, and an)108 352.8 R 3.086(ys)-.15 G +.586(equence of)-3.086 F F3(IFS)3.086 E F0 .586 +(characters not at the be)2.836 F .586(ginning or end serv)-.15 F .585 +(es to delimit w)-.15 F(ords.)-.1 E(If)108 364.8 Q F3(IFS)3.617 E F0 1.117(has a v)3.367 F 1.117(alue other than the def)-.25 F 1.117 -(ault, then sequences of the whitespace characters)-.1 F F4(space)3.617 -E F0(and)3.617 E F4(tab)3.617 E F0(are)3.617 E .315(ignored at the be) -108 319.2 R .315(ginning and end of the w)-.15 F .315 +(ault, then sequences of the whitespace characters)-.1 F F1(space)3.617 +E F0(and)3.617 E F1(tab)3.617 E F0(are)3.617 E .315(ignored at the be) +108 376.8 R .315(ginning and end of the w)-.15 F .315 (ord, as long as the whitespace character is in the v)-.1 F .315 -(alue of)-.25 F F1(IFS)2.815 E F0(\(an)2.566 E F1(IFS)108 331.2 Q F0 -1.054(whitespace character\).)3.304 F(An)6.054 E 3.554(yc)-.15 G 1.054 -(haracter in)-3.554 F F1(IFS)3.554 E F0 1.053(that is not)3.303 F F1 -(IFS)3.553 E F0 1.053(whitespace, along with an)3.303 F 3.553(ya)-.15 G -(djacent)-3.553 E F1(IFS)3.553 E F0 .331 -(whitespace characters, delimits a \214eld.)108 343.2 R 2.831(As)5.331 G -.332(equence of)-2.831 F F1(IFS)2.832 E F0 .332 +(alue of)-.25 F F3(IFS)2.815 E F0(\(an)2.565 E F3(IFS)108 388.8 Q F0 +1.053(whitespace character\).)3.303 F(An)6.053 E 3.553(yc)-.15 G 1.053 +(haracter in)-3.553 F F3(IFS)3.553 E F0 1.053(that is not)3.303 F F3 +(IFS)3.553 E F0 1.054(whitespace, along with an)3.304 F 3.554(ya)-.15 G +(djacent)-3.554 E F3(IFS)3.554 E F0 .332 +(whitespace characters, delimits a \214eld.)108 400.8 R 2.832(As)5.332 G +.332(equence of)-2.832 F F3(IFS)2.832 E F0 .331 (whitespace characters is also treated as a delim-)2.582 F(iter)108 -355.2 Q 5(.I)-.55 G 2.5(ft)-5 G(he v)-2.5 E(alue of)-.25 E F1(IFS)2.5 E -F0(is null, no w)2.25 E(ord splitting occurs.)-.1 E 1.879 -(Explicit null ar)108 372 R 1.879(guments \()-.18 F F4 .833("").833 G F0 -(or)3.545 E F4 .833<0808>5.211 G F0 4.378(\)a)C 1.878(re retained.) --4.378 F 1.878(Unquoted implicit null ar)6.878 F 1.878 -(guments, resulting from the)-.18 F -.15(ex)108 384 S .176 -(pansion of parameters that ha).15 F .476 -.15(ve n)-.2 H 2.676(ov).15 G -.176(alues, are remo)-2.926 F -.15(ve)-.15 G 2.676(d. If).15 F 2.677(ap) -2.677 G .177(arameter with no v)-2.677 F .177(alue is e)-.25 F .177 -(xpanded within)-.15 F(double quotes, a null ar)108 396 Q -(gument results and is retained.)-.18 E(Note that if no e)108 412.8 Q -(xpansion occurs, no splitting is performed.)-.15 E F4 -.1(Pa)87 429.6 S -(thname Expansion).1 E F0 .371(After w)108 441.6 R .371 -(ord splitting, unless the)-.1 F F4<ad66>2.871 E F0 .371 -(option has been set,)2.871 F F4(bash)2.871 E F0 .37(scans each w)2.87 F -.37(ord for the characters)-.1 F F4(*)2.87 E F0(,)A F4(?)2.87 E F0 2.87 -(,a)C(nd)-2.87 E F4([)2.87 E F0(.)A .677 -(If one of these characters appears, then the w)108 453.6 R .677 -(ord is re)-.1 F -.05(ga)-.15 G .677(rded as a).05 F F3(pattern)3.177 E -F0 3.177(,a).24 G .678(nd replaced with an alphabeti-)-3.177 F 1.457 -(cally sorted list of \214le names matching the pattern.)108 465.6 R -1.456(If no matching \214le names are found, and the shell)6.457 F -(option)108 477.6 Q F4(nullglob)3.265 E F0 .765(is disabled, the w)3.265 -F .765(ord is left unchanged.)-.1 F .765(If the)5.765 F F4(nullglob) -3.265 E F0 .765(option is set, and no matches are)3.265 F .306 -(found, the w)108 489.6 R .306(ord is remo)-.1 F -.15(ve)-.15 G 2.806 -(d. If).15 F(the)2.805 E F4(failglob)2.805 E F0 .305 +412.8 Q 5(.I)-.55 G 2.5(ft)-5 G(he v)-2.5 E(alue of)-.25 E F3(IFS)2.5 E +F0(is null, no w)2.25 E(ord splitting occurs.)-.1 E 1.878 +(Explicit null ar)108 429.6 R 1.878(guments \()-.18 F F1 .833("").833 G +F0(or)3.545 E F1 .833<0808>5.211 G F0 4.378(\)a)C 1.878(re retained.) +-4.378 F 1.878(Unquoted implicit null ar)6.878 F 1.879 +(guments, resulting from the)-.18 F -.15(ex)108 441.6 S .177 +(pansion of parameters that ha).15 F .477 -.15(ve n)-.2 H 2.677(ov).15 G +.177(alues, are remo)-2.927 F -.15(ve)-.15 G 2.676(d. If).15 F 2.676(ap) +2.676 G .176(arameter with no v)-2.676 F .176(alue is e)-.25 F .176 +(xpanded within)-.15 F(double quotes, a null ar)108 453.6 Q +(gument results and is retained.)-.18 E(Note that if no e)108 470.4 Q +(xpansion occurs, no splitting is performed.)-.15 E F1 -.1(Pa)87 487.2 S +(thname Expansion).1 E F0 .37(After w)108 499.2 R .37 +(ord splitting, unless the)-.1 F F1<ad66>2.87 E F0 .37 +(option has been set,)2.87 F F1(bash)2.87 E F0 .371(scans each w)2.871 F +.371(ord for the characters)-.1 F F1(*)2.871 E F0(,)A F1(?)2.871 E F0 +2.871(,a)C(nd)-2.871 E F1([)2.871 E F0(.)A .678 +(If one of these characters appears, then the w)108 511.2 R .677 +(ord is re)-.1 F -.05(ga)-.15 G .677(rded as a).05 F F2(pattern)3.177 E +F0 3.177(,a).24 G .677(nd replaced with an alphabeti-)-3.177 F 1.456 +(cally sorted list of \214le names matching the pattern.)108 523.2 R +1.457(If no matching \214le names are found, and the shell)6.457 F +(option)108 535.2 Q F1(nullglob)3.265 E F0 .765(is disabled, the w)3.265 +F .765(ord is left unchanged.)-.1 F .765(If the)5.765 F F1(nullglob) +3.265 E F0 .765(option is set, and no matches are)3.265 F .305 +(found, the w)108 547.2 R .305(ord is remo)-.1 F -.15(ve)-.15 G 2.805 +(d. If).15 F(the)2.805 E F1(failglob)2.805 E F0 .305 (shell option is set, and no matches are found, an error message)2.805 F -.928(is printed and the command is not e)108 501.6 R -.15(xe)-.15 G -3.428(cuted. If).15 F .928(the shell option)3.428 F F4(nocaseglob)3.428 -E F0 .929(is enabled, the match is per)3.429 F(-)-.2 E .033 -(formed without re)108 513.6 R -.05(ga)-.15 G .033 -(rd to the case of alphabetic characters.).05 F .032 -(When a pattern is used for pathname e)5.032 F(xpansion,)-.15 E .104 -(the character)108 525.6 R F4 -.63(``)2.604 G -.55(.').63 G(')-.08 E F0 -.104(at the start of a name or immediately follo)5.104 F .105 -(wing a slash must be matched e)-.25 F(xplicitly)-.15 E 2.605(,u)-.65 G -(nless)-2.605 E .888(the shell option)108 537.6 R F4(dotglob)3.388 E F0 -.888(is set.)3.388 F .887 -(When matching a pathname, the slash character must al)5.888 F -.1(wa) --.1 G .887(ys be matched).1 F -.15(ex)108 549.6 S(plicitly).15 E 6.165 -(.I)-.65 G 3.665(no)-6.165 G 1.165(ther cases, the)-3.665 F F4 -.63(``) -3.665 G -.55(.').63 G(')-.08 E F0 1.166 -(character is not treated specially)6.165 F 6.166(.S)-.65 G 1.166 -(ee the description of)-6.166 F F4(shopt)3.666 E F0(belo)3.666 E(w)-.25 -E(under)108 561.6 Q F1 .478(SHELL B)2.978 F(UIL)-.09 E .478 -(TIN COMMANDS)-.828 F F0 .477(for a description of the)2.728 F F4 -(nocaseglob)2.977 E F0(,)A F4(nullglob)2.977 E F0(,)A F4(failglob)2.977 -E F0 2.977(,a)C(nd)-2.977 E F4(dotglob)2.977 E F0(shell options.)108 -573.6 Q(The)108 590.4 Q F1(GLOBIGNORE)2.63 E F0 .13(shell v)2.38 F .131 +.929(is printed and the command is not e)108 559.2 R -.15(xe)-.15 G +3.428(cuted. If).15 F .928(the shell option)3.428 F F1(nocaseglob)3.428 +E F0 .928(is enabled, the match is per)3.428 F(-)-.2 E .032 +(formed without re)108 571.2 R -.05(ga)-.15 G .032 +(rd to the case of alphabetic characters.).05 F .033 +(When a pattern is used for pathname e)5.033 F(xpansion,)-.15 E .105 +(the character)108 583.2 R F1 -.63(``)2.605 G -.55(.').63 G(')-.08 E F0 +.105(at the start of a name or immediately follo)5.105 F .104 +(wing a slash must be matched e)-.25 F(xplicitly)-.15 E 2.604(,u)-.65 G +(nless)-2.604 E .887(the shell option)108 595.2 R F1(dotglob)3.387 E F0 +.887(is set.)3.387 F .888 +(When matching a pathname, the slash character must al)5.887 F -.1(wa) +-.1 G .888(ys be matched).1 F -.15(ex)108 607.2 S(plicitly).15 E 6.166 +(.I)-.65 G 3.666(no)-6.166 G 1.166(ther cases, the)-3.666 F F1 -.63(``) +3.666 G -.55(.').63 G(')-.08 E F0 1.166 +(character is not treated specially)6.166 F 6.165(.S)-.65 G 1.165 +(ee the description of)-6.165 F F1(shopt)3.665 E F0(belo)3.665 E(w)-.25 +E(under)108 619.2 Q F3 .477(SHELL B)2.977 F(UIL)-.09 E .477 +(TIN COMMANDS)-.828 F F0 .477(for a description of the)2.727 F F1 +(nocaseglob)2.978 E F0(,)A F1(nullglob)2.978 E F0(,)A F1(failglob)2.978 +E F0 2.978(,a)C(nd)-2.978 E F1(dotglob)2.978 E F0(shell options.)108 +631.2 Q(The)108 648 Q F3(GLOBIGNORE)2.631 E F0 .131(shell v)2.381 F .131 (ariable may be used to restrict the set of \214le names matching a)-.25 -F F3(pattern)2.631 E F0 5.131(.I).24 G(f)-5.131 E F1(GLO-)2.631 E -(BIGNORE)108 602.4 Q F0 2.015(is set, each matching \214le name that al\ -so matches one of the patterns in)4.265 F F1(GLOBIGNORE)4.515 E F0(is) -4.264 E(remo)108 614.4 Q -.15(ve)-.15 G 2.503(df).15 G .003 -(rom the list of matches.)-2.503 F .003(The \214le names)5.003 F F4 -.63 -(``)2.503 G -.55(.').63 G(')-.08 E F0(and)5.003 E F4 -.63(``)2.503 G(..) -.63 E -.63('')-.55 G F0 .004(are al)5.633 F -.1(wa)-.1 G .004 -(ys ignored when).1 F F1(GLOBIGNORE)2.504 E F0(is)2.254 E .046 -(set and not null.)108 626.4 R(Ho)5.046 E(we)-.25 E -.15(ve)-.25 G .846 --.4(r, s).15 H(etting).4 E F1(GLOBIGNORE)2.546 E F0 .046 -(to a non-null v)2.296 F .045(alue has the ef)-.25 F .045 -(fect of enabling the)-.25 F F4(dotglob)2.545 E F0 .613 -(shell option, so all other \214le names be)108 638.4 R .614 -(ginning with a)-.15 F F4 -.63(``)3.114 G -.55(.').63 G(')-.08 E F0 .614 -(will match.)5.614 F 2.214 -.8(To g)5.614 H .614(et the old beha).8 F -.614(vior of ignoring)-.2 F .457(\214le names be)108 650.4 R .457 -(ginning with a)-.15 F F4 -.63(``)2.957 G -.55(.').63 G(')-.08 E F0 -2.957(,m)C(ak)-2.957 E(e)-.1 E F4 -.63(``)2.957 G(.*').63 E(')-.63 E F0 -.457(one of the patterns in)5.457 F F1(GLOBIGNORE)2.957 E F2(.)A F0(The) -4.957 E F4(dotglob)2.956 E F0 .456(option is)2.956 F(disabled when)108 -662.4 Q F1(GLOBIGNORE)2.5 E F0(is unset.)2.25 E F4 -.1(Pa)108 679.2 S -(tter).1 E 2.5(nM)-.15 G(atching)-2.5 E F0(An)108 696 Q 3.138(yc)-.15 G -.638(haracter that appears in a pattern, other than the special pattern\ - characters described belo)-3.138 F 1.938 -.65(w, m)-.25 H(atches).65 E -3.62(itself. The)108 708 R 1.12 -(NUL character may not occur in a pattern.)3.62 F 3.62(Ab)6.12 G 1.12 -(ackslash escapes the follo)-3.62 F 1.12(wing character; the)-.25 F .576 -(escaping backslash is discarded when matching.)108 720 R .576 -(The special pattern characters must be quoted if the)5.576 F 3.076(ya) --.15 G(re)-3.076 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(20) -198.445 E 0 Cg EP +F F2(pattern)2.63 E F0 5.13(.I).24 G(f)-5.13 E F3(GLO-)2.63 E(BIGNORE) +108 660 Q F0 2.015(is set, each matching \214le name that also matches \ +one of the patterns in)4.264 F F3(GLOBIGNORE)4.515 E F0(is)4.265 E(remo) +108 672 Q -.15(ve)-.15 G 2.504(df).15 G .004(rom the list of matches.) +-2.504 F .003(The \214le names)5.003 F F1 -.63(``)2.503 G -.55(.').63 G +(')-.08 E F0(and)5.003 E F1 -.63(``)2.503 G(..).63 E -.63('')-.55 G F0 +.003(are al)5.633 F -.1(wa)-.1 G .003(ys ignored when).1 F F3 +(GLOBIGNORE)2.503 E F0(is)2.253 E .045(set and not null.)108 684 R(Ho) +5.045 E(we)-.25 E -.15(ve)-.25 G .845 -.4(r, s).15 H(etting).4 E F3 +(GLOBIGNORE)2.545 E F0 .046(to a non-null v)2.296 F .046 +(alue has the ef)-.25 F .046(fect of enabling the)-.25 F F1(dotglob) +2.546 E F0 .614(shell option, so all other \214le names be)108 696 R +.614(ginning with a)-.15 F F1 -.63(``)3.114 G -.55(.').63 G(')-.08 E F0 +.614(will match.)5.614 F 2.213 -.8(To g)5.614 H .613(et the old beha).8 +F .613(vior of ignoring)-.2 F .456(\214le names be)108 708 R .456 +(ginning with a)-.15 F F1 -.63(``)2.957 G -.55(.').63 G(')-.08 E F0 +2.957(,m)C(ak)-2.957 E(e)-.1 E F1 -.63(``)2.957 G(.*').63 E(')-.63 E F0 +.457(one of the patterns in)5.457 F F3(GLOBIGNORE)2.957 E F4(.)A F0(The) +4.957 E F1(dotglob)2.957 E F0 .457(option is)2.957 F(disabled when)108 +720 Q F3(GLOBIGNORE)2.5 E F0(is unset.)2.25 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(20)197.335 E 0 Cg EP %%Page: 21 21 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(to be matched literally)108 84 Q(.)-.65 E -(The special pattern characters ha)108 100.8 Q .3 -.15(ve t)-.2 H -(he follo).15 E(wing meanings:)-.25 E/F1 10/Times-Bold@0 SF(*)108 117.6 -Q F0(Matches an)31 E 2.5(ys)-.15 G(tring, including the null string.) --2.5 E F1(?)108 129.6 Q F0(Matches an)31 E 2.5(ys)-.15 G -(ingle character)-2.5 E(.)-.55 E F1([...])108 141.6 Q F0 .257 -(Matches an)21.84 F 2.757(yo)-.15 G .257(ne of the enclosed characters.) --2.757 F 2.757(Ap)5.257 G .257(air of characters separated by a h)-2.757 -F .256(yphen denotes a)-.05 F/F2 10/Times-Italic@0 SF -.15(ra)144 153.6 -S(ng).15 E 3.289(ee)-.1 G(xpr)-3.489 E(ession)-.37 E F0 3.289(;a)C 1.089 --.15(ny c)-3.289 H .789(haracter that sorts between those tw).15 F 3.289 -(oc)-.1 G .789(haracters, inclusi)-3.289 F -.15(ve)-.25 G 3.29(,u).15 G -.79(sing the cur)-3.29 F(-)-.2 E .35(rent locale')144 165.6 R 2.85(sc) --.55 G .35(ollating sequence and character set, is matched.)-2.85 F .349 +-.35 E/F1 10/Times-Bold@0 SF -.1(Pa)108 84 S(tter).1 E 2.5(nM)-.15 G +(atching)-2.5 E F0(An)108 100.8 Q 3.138(yc)-.15 G .638(haracter that ap\ +pears in a pattern, other than the special pattern characters described\ + belo)-3.138 F 1.938 -.65(w, m)-.25 H(atches).65 E 3.62(itself. The)108 +112.8 R 1.12(NUL character may not occur in a pattern.)3.62 F 3.62(Ab) +6.12 G 1.12(ackslash escapes the follo)-3.62 F 1.12(wing character; the) +-.25 F .576(escaping backslash is discarded when matching.)108 124.8 R +.576(The special pattern characters must be quoted if the)5.576 F 3.076 +(ya)-.15 G(re)-3.076 E(to be matched literally)108 136.8 Q(.)-.65 E +(The special pattern characters ha)108 153.6 Q .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1(*)108 170.4 Q F0 .455 +(Matches an)31 F 2.955(ys)-.15 G .455(tring, including the null string.) +-2.955 F .455(When the)5.455 F F1(globstar)2.955 E F0 .455 +(shell option is enabled, and)2.955 F F1(*)2.955 E F0(is)2.955 E .576 +(used in a \214lename e)144 182.4 R .576(xpansion conte)-.15 F .575 +(xt, tw)-.15 F 3.075(oa)-.1 G(djacent)-3.075 E F1(*)3.075 E F0 3.075(su) +C .575(sed as a single pattern will match all \214les)-3.075 F 1.183 +(and zero or more directories and subdirectories.)144 194.4 R 1.183 +(If follo)6.183 F 1.183(wed by a)-.25 F F1(/)3.683 E F0 3.683(,t)C 1.383 +-.1(wo a)-3.683 H(djacent).1 E F1(*)3.683 E F0 3.684(sw)C 1.184 +(ill match)-3.684 F(only directories and subdirectories.)144 206.4 Q F1 +(?)108 218.4 Q F0(Matches an)31 E 2.5(ys)-.15 G(ingle character)-2.5 E +(.)-.55 E F1([...])108 230.4 Q F0 .257(Matches an)21.84 F 2.757(yo)-.15 +G .257(ne of the enclosed characters.)-2.757 F 2.757(Ap)5.257 G .257 +(air of characters separated by a h)-2.757 F .256(yphen denotes a)-.05 F +/F2 10/Times-Italic@0 SF -.15(ra)144 242.4 S(ng).15 E 3.289(ee)-.1 G +(xpr)-3.489 E(ession)-.37 E F0 3.289(;a)C 1.089 -.15(ny c)-3.289 H .789 +(haracter that sorts between those tw).15 F 3.289(oc)-.1 G .789 +(haracters, inclusi)-3.289 F -.15(ve)-.25 G 3.29(,u).15 G .79 +(sing the cur)-3.29 F(-)-.2 E .35(rent locale')144 254.4 R 2.85(sc)-.55 +G .35(ollating sequence and character set, is matched.)-2.85 F .349 (If the \214rst character follo)5.349 F .349(wing the)-.25 F F1([)2.849 -E F0 .563(is a)144 177.6 R F1(!)3.063 E F0 .563(or a)5.563 F F1(^)3.063 +E F0 .563(is a)144 266.4 R F1(!)3.063 E F0 .563(or a)5.563 F F1(^)3.063 E F0 .564(then an)3.063 F 3.064(yc)-.15 G .564 (haracter not enclosed is matched.)-3.064 F .564 -(The sorting order of characters in range)5.564 F -.15(ex)144 189.6 S +(The sorting order of characters in range)5.564 F -.15(ex)144 278.4 S 1.102(pressions is determined by the current locale and the v).15 F 1.102(alue of the)-.25 F F1(LC_COLLA)3.602 E(TE)-.95 E F0 1.102(shell v) -3.602 F(ari-)-.25 E .088(able, if set.)144 201.6 R(A)5.088 E F1<ad>2.588 +3.602 F(ari-)-.25 E .088(able, if set.)144 290.4 R(A)5.088 E F1<ad>2.588 E F0 .088(may be matched by including it as the \214rst or last charact\ er in the set.)2.588 F(A)5.089 E F1(])2.589 E F0 .089(may be)2.589 F -(matched by including it as the \214rst character in the set.)144 213.6 -Q -.4(Wi)144 231.6 S(thin).4 E F1([)2.915 E F0(and)2.915 E F1(])2.915 E +(matched by including it as the \214rst character in the set.)144 302.4 +Q -.4(Wi)144 320.4 S(thin).4 E F1([)2.915 E F0(and)2.915 E F1(])2.915 E F0(,)A F2 -.15(ch)2.915 G(ar).15 E .415(acter classes)-.15 F F0 .415 (can be speci\214ed using the syntax)2.915 F F1([:)2.915 E F2(class)A F1 (:])A F0 2.914(,w)C(here)-2.914 E F2(class)2.914 E F0 .414(is one of) -2.914 F(the follo)144 243.6 Q +2.914 F(the follo)144 332.4 Q (wing classes de\214ned in the POSIX standard:)-.25 E F1 5.421 -(alnum alpha ascii blank cntrl digit graph lo)144 255.6 R 5.421 -(wer print punct space upper w)-.1 F(ord)-.1 E(xdigit)144 267.6 Q F0 -2.519(Ac)144 279.6 S .019(haracter class matches an)-2.519 F 2.519(yc) +(alnum alpha ascii blank cntrl digit graph lo)144 344.4 R 5.421 +(wer print punct space upper w)-.1 F(ord)-.1 E(xdigit)144 356.4 Q F0 +2.519(Ac)144 368.4 S .019(haracter class matches an)-2.519 F 2.519(yc) -.15 G .019(haracter belonging to that class.)-2.519 F(The)5.018 E F1 -.1(wo)2.518 G(rd).1 E F0 .018(character class matches)2.518 F -(letters, digits, and the character _.)144 291.6 Q -.4(Wi)144 309.6 S +(letters, digits, and the character _.)144 380.4 Q -.4(Wi)144 398.4 S (thin).4 E F1([)3.546 E F0(and)3.546 E F1(])3.546 E F0 3.546(,a)C(n) -3.546 E F2 1.046(equivalence class)3.546 F F0 1.046 (can be speci\214ed using the syntax)3.546 F F1([=)3.547 E F2(c)A F1(=]) A F0 3.547(,w)C 1.047(hich matches all)-3.547 F(characters with the sam\ e collation weight \(as de\214ned by the current locale\) as the charac\ -ter)144 321.6 Q F2(c)2.5 E F0(.)A -.4(Wi)144 339.6 S(thin).4 E F1([)2.5 +ter)144 410.4 Q F2(c)2.5 E F0(.)A -.4(Wi)144 428.4 S(thin).4 E F1([)2.5 E F0(and)2.5 E F1(])2.5 E F0 2.5(,t)C(he syntax)-2.5 E F1([.)2.5 E F2 (symbol)A F1(.])A F0(matches the collating symbol)2.5 E F2(symbol)2.5 E -F0(.)A .705(If the)108 356.4 R F1(extglob)3.205 E F0 .705 +F0(.)A .705(If the)108 445.2 R F1(extglob)3.205 E F0 .705 (shell option is enabled using the)3.205 F F1(shopt)3.205 E F0 -.2(bu) 3.205 G .704(iltin, se).2 F -.15(ve)-.25 G .704(ral e).15 F .704 (xtended pattern matching operators)-.15 F .255(are recognized.)108 -368.4 R .255(In the follo)5.255 F .255(wing description, a)-.25 F F2 +457.2 R .255(In the follo)5.255 F .255(wing description, a)-.25 F F2 (pattern-list)2.755 E F0 .255 (is a list of one or more patterns separated by a)2.755 F F1(|)2.756 E F0(.)A(Composite patterns may be formed using one or more of the follo) -108 380.4 Q(wing sub-patterns:)-.25 E F1(?\()144 404.4 Q F2 +108 469.2 Q(wing sub-patterns:)-.25 E F1(?\()144 493.2 Q F2 (pattern-list).833 E F1(\)).833 E F0 -(Matches zero or one occurrence of the gi)180 416.4 Q -.15(ve)-.25 G 2.5 -(np).15 G(atterns)-2.5 E F1(*\()144 428.4 Q F2(pattern-list).833 E F1 -(\)).833 E F0(Matches zero or more occurrences of the gi)180 440.4 Q --.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(+\()144 452.4 Q F2 +(Matches zero or one occurrence of the gi)180 505.2 Q -.15(ve)-.25 G 2.5 +(np).15 G(atterns)-2.5 E F1(*\()144 517.2 Q F2(pattern-list).833 E F1 +(\)).833 E F0(Matches zero or more occurrences of the gi)180 529.2 Q +-.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(+\()144 541.2 Q F2 (pattern-list).833 E F1(\)).833 E F0 -(Matches one or more occurrences of the gi)180 464.4 Q -.15(ve)-.25 G -2.5(np).15 G(atterns)-2.5 E F1(@\()144 476.4 Q F2(pattern-list).833 E F1 -(\)).833 E F0(Matches one of the gi)180 488.4 Q -.15(ve)-.25 G 2.5(np) -.15 G(atterns)-2.5 E F1(!\()144 500.4 Q F2(pattern-list).833 E F1(\)) -.833 E F0(Matches an)180 512.4 Q(ything e)-.15 E(xcept one of the gi) --.15 E -.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(Quote Remo)87 529.2 -Q -.1(va)-.1 G(l).1 E F0 1.113(After the preceding e)108 541.2 R 1.113 +(Matches one or more occurrences of the gi)180 553.2 Q -.15(ve)-.25 G +2.5(np).15 G(atterns)-2.5 E F1(@\()144 565.2 Q F2(pattern-list).833 E F1 +(\)).833 E F0(Matches one of the gi)180 577.2 Q -.15(ve)-.25 G 2.5(np) +.15 G(atterns)-2.5 E F1(!\()144 589.2 Q F2(pattern-list).833 E F1(\)) +.833 E F0(Matches an)180 601.2 Q(ything e)-.15 E(xcept one of the gi) +-.15 E -.15(ve)-.25 G 2.5(np).15 G(atterns)-2.5 E F1(Quote Remo)87 618 Q +-.1(va)-.1 G(l).1 E F0 1.113(After the preceding e)108 630 R 1.113 (xpansions, all unquoted occurrences of the characters)-.15 F F1(\\) 3.613 E F0(,)A F1<08>3.612 E F0 3.612(,a)C(nd)-3.612 E F1(")4.445 E F0 -1.112(that did not result)4.445 F(from one of the abo)108 553.2 Q .3 --.15(ve ex)-.15 H(pansions are remo).15 E -.15(ve)-.15 G(d.).15 E/F3 -10.95/Times-Bold@0 SF(REDIRECTION)72 570 Q F0 .545 -(Before a command is e)108 582 R -.15(xe)-.15 G .545 -(cuted, its input and output may be).15 F F2 -.37(re)3.045 G(dir).37 E -(ected)-.37 E F0 .545(using a special notation interpreted)3.815 F .617 -(by the shell.)108 594 R .617(Redirection may also be used to open and \ -close \214les for the current shell e)5.617 F -.15(xe)-.15 G .616 -(cution en).15 F(viron-)-.4 E 3.274(ment. The)108 606 R(follo)3.274 E -.774(wing redirection operators may precede or appear an)-.25 F .774 +1.112(that did not result)4.445 F(from one of the abo)108 642 Q .3 -.15 +(ve ex)-.15 H(pansions are remo).15 E -.15(ve)-.15 G(d.).15 E/F3 10.95 +/Times-Bold@0 SF(REDIRECTION)72 658.8 Q F0 .545(Before a command is e) +108 670.8 R -.15(xe)-.15 G .545(cuted, its input and output may be).15 F +F2 -.37(re)3.045 G(dir).37 E(ected)-.37 E F0 .545 +(using a special notation interpreted)3.815 F .617(by the shell.)108 +682.8 R .617(Redirection may also be used to open and close \214les for\ + the current shell e)5.617 F -.15(xe)-.15 G .616(cution en).15 F(viron-) +-.4 E 3.274(ment. The)108 694.8 R(follo)3.274 E .774 +(wing redirection operators may precede or appear an)-.25 F .774 (ywhere within a)-.15 F F2 .775(simple command)3.615 F F0(or)4.045 E -(may follo)108 618 Q 2.5(wa)-.25 G F2(command)A F0 5(.R).77 G +(may follo)108 706.8 Q 2.5(wa)-.25 G F2(command)A F0 5(.R).77 G (edirections are processed in the order the)-5 E 2.5(ya)-.15 G(ppear) --2.5 E 2.5(,f)-.4 G(rom left to right.)-2.5 E .284(In the follo)108 -634.8 R .283(wing descriptions, if the \214le descriptor number is omit\ -ted, and the \214rst character of the redirect-)-.25 F .512 -(ion operator is)108 646.8 R F1(<)3.012 E F0 3.012(,t)C .512 +-2.5 E 2.5(,f)-.4 G(rom left to right.)-2.5 E 2.575(In the follo)108 +723.6 R 2.574(wing descriptions, if the \214le descriptor number is omi\ +tted, and the \214rst character of the)-.25 F(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(21)197.335 E 0 Cg EP +%%Page: 22 22 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E .278(redirection operator is)108 84 R/F1 10/Times-Bold@0 SF(<) +2.778 E F0 2.779(,t)C .279 (he redirection refers to the standard input \(\214le descriptor 0\).) --3.012 F .512(If the \214rst character of the)5.512 F -(redirection operator is)108 658.8 Q F1(>)2.5 E F0 2.5(,t)C +-2.779 F .279(If the \214rst character)5.279 F +(of the redirection operator is)108 96 Q F1(>)2.5 E F0 2.5(,t)C (he redirection refers to the standard output \(\214le descriptor 1\).) --2.5 E .825(The w)108 675.6 R .825(ord follo)-.1 F .824 +-2.5 E .825(The w)108 112.8 R .825(ord follo)-.1 F .824 (wing the redirection operator in the follo)-.25 F .824 (wing descriptions, unless otherwise noted, is sub-)-.25 F .772 -(jected to brace e)108 687.6 R .773(xpansion, tilde e)-.15 F .773 +(jected to brace e)108 124.8 R .773(xpansion, tilde e)-.15 F .773 (xpansion, parameter e)-.15 F .773 (xpansion, command substitution, arithmetic e)-.15 F(xpan-)-.15 E .844 -(sion, quote remo)108 699.6 R -.25(va)-.15 G .843(l, pathname e).25 F +(sion, quote remo)108 136.8 R -.25(va)-.15 G .843(l, pathname e).25 F .843(xpansion, and w)-.15 F .843(ord splitting.)-.1 F .843(If it e)5.843 F .843(xpands to more than one w)-.15 F(ord,)-.1 E F1(bash)3.343 E F0 -(reports an error)108 711.6 Q(.)-.55 E -(Note that the order of redirections is signi\214cant.)108 728.4 Q -.15 -(Fo)5 G 2.5(re).15 G(xample, the command)-2.65 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(21)198.445 E 0 Cg EP -%%Page: 22 22 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(ls)144 84 Q/F1 10/Times-Bold@0 SF(>)2.5 E F0(dirlist 2)2.5 E F1 -(>&)A F0(1)A -(directs both standard output and standard error to the \214le)108 100.8 +(reports an error)108 148.8 Q(.)-.55 E +(Note that the order of redirections is signi\214cant.)108 165.6 Q -.15 +(Fo)5 G 2.5(re).15 G(xample, the command)-2.65 E(ls)144 182.4 Q F1(>)2.5 +E F0(dirlist 2)2.5 E F1(>&)A F0(1)A +(directs both standard output and standard error to the \214le)108 199.2 Q/F2 10/Times-Italic@0 SF(dirlist)2.5 E F0 2.5(,w).68 G -(hile the command)-2.5 E(ls 2)144 117.6 Q F1(>&)A F0(1)A F1(>)2.5 E F0 -(dirlist)2.5 E .387(directs only the standard output to \214le)108 134.4 +(hile the command)-2.5 E(ls 2)144 216 Q F1(>&)A F0(1)A F1(>)2.5 E F0 +(dirlist)2.5 E .387(directs only the standard output to \214le)108 232.8 R F2(dirlist)2.887 E F0 2.887(,b).68 G .388(ecause the standard error w) -2.887 F .388(as duplicated as standard output)-.1 F -(before the standard output w)108 146.4 Q(as redirected to)-.1 E F2 -(dirlist)2.5 E F0(.).68 E F1(Bash)108 163.2 Q F0 .599(handles se)3.099 F +(before the standard output w)108 244.8 Q(as redirected to)-.1 E F2 +(dirlist)2.5 E F0(.).68 E F1(Bash)108 261.6 Q F0 .599(handles se)3.099 F -.15(ve)-.25 G .599(ral \214lenames specially when the).15 F 3.099(ya) -.15 G .598(re used in redirections, as described in the follo)-3.099 F -(wing)-.25 E(table:)108 175.2 Q F1(/de)144 192 Q(v/fd/)-.15 E F2(fd)A F0 -(If)180 204 Q F2(fd)2.5 E F0(is a v)2.5 E(alid inte)-.25 E(ger)-.15 E -2.5<2c8c>-.4 G(le descriptor)-2.5 E F2(fd)2.5 E F0(is duplicated.)2.5 E -F1(/de)144 216 Q(v/stdin)-.15 E F0(File descriptor 0 is duplicated.)180 -228 Q F1(/de)144 240 Q(v/stdout)-.15 E F0 -(File descriptor 1 is duplicated.)180 252 Q F1(/de)144 264 Q(v/stderr) --.15 E F0(File descriptor 2 is duplicated.)180 276 Q F1(/de)144 288 Q -(v/tcp/)-.15 E F2(host)A F1(/)A F2(port)A F0(If)180 300 Q F2(host)2.996 -E F0 .496(is a v)2.996 F .496(alid hostname or Internet address, and) --.25 F F2(port)2.997 E F0 .497(is an inte)2.997 F .497 -(ger port number or ser)-.15 F(-)-.2 E(vice name,)180 312 Q F1(bash)2.5 -E F0(attempts to open a TCP connection to the corresponding sock)2.5 E -(et.)-.1 E F1(/de)144 324 Q(v/udp/)-.15 E F2(host)A F1(/)A F2(port)A F0 -(If)180 336 Q F2(host)2.997 E F0 .497(is a v)2.997 F .497 +(wing)-.25 E(table:)108 273.6 Q F1(/de)144 290.4 Q(v/fd/)-.15 E F2(fd)A +F0(If)180 302.4 Q F2(fd)2.5 E F0(is a v)2.5 E(alid inte)-.25 E(ger)-.15 +E 2.5<2c8c>-.4 G(le descriptor)-2.5 E F2(fd)2.5 E F0(is duplicated.)2.5 +E F1(/de)144 314.4 Q(v/stdin)-.15 E F0(File descriptor 0 is duplicated.) +180 326.4 Q F1(/de)144 338.4 Q(v/stdout)-.15 E F0 +(File descriptor 1 is duplicated.)180 350.4 Q F1(/de)144 362.4 Q +(v/stderr)-.15 E F0(File descriptor 2 is duplicated.)180 374.4 Q F1(/de) +144 386.4 Q(v/tcp/)-.15 E F2(host)A F1(/)A F2(port)A F0(If)180 398.4 Q +F2(host)2.996 E F0 .496(is a v)2.996 F .496 +(alid hostname or Internet address, and)-.25 F F2(port)2.997 E F0 .497 +(is an inte)2.997 F .497(ger port number or ser)-.15 F(-)-.2 E +(vice name,)180 410.4 Q F1(bash)2.5 E F0 +(attempts to open a TCP connection to the corresponding sock)2.5 E(et.) +-.1 E F1(/de)144 422.4 Q(v/udp/)-.15 E F2(host)A F1(/)A F2(port)A F0(If) +180 434.4 Q F2(host)2.997 E F0 .497(is a v)2.997 F .497 (alid hostname or Internet address, and)-.25 F F2(port)2.996 E F0 .496 (is an inte)2.996 F .496(ger port number or ser)-.15 F(-)-.2 E -(vice name,)180 348 Q F1(bash)2.5 E F0 +(vice name,)180 446.4 Q F1(bash)2.5 E F0 (attempts to open a UDP connection to the corresponding sock)2.5 E(et.) --.1 E 2.5(Af)108 364.8 S +-.1 E 2.5(Af)108 463.2 S (ailure to open or create a \214le causes the redirection to f)-2.6 E (ail.)-.1 E .946(Redirections using \214le descriptors greater than 9 s\ -hould be used with care, as the)108 381.6 R 3.447(ym)-.15 G .947 +hould be used with care, as the)108 480 R 3.447(ym)-.15 G .947 (ay con\215ict with \214le)-3.447 F -(descriptors the shell uses internally)108 393.6 Q(.)-.65 E F1(Redir)87 -410.4 Q(ecting Input)-.18 E F0 .391 +(descriptors the shell uses internally)108 492 Q(.)-.65 E F1(Redir)87 +508.8 Q(ecting Input)-.18 E F0 .391 (Redirection of input causes the \214le whose name results from the e) -108 422.4 R .391(xpansion of)-.15 F F2(wor)3.231 E(d)-.37 E F0 .391 -(to be opened for read-)3.661 F(ing on \214le descriptor)108 434.4 Q F2 +108 520.8 R .391(xpansion of)-.15 F F2(wor)3.231 E(d)-.37 E F0 .391 +(to be opened for read-)3.661 F(ing on \214le descriptor)108 532.8 Q F2 (n)2.5 E F0 2.5(,o).24 G 2.5(rt)-2.5 G (he standard input \(\214le descriptor 0\) if)-2.5 E F2(n)2.86 E F0 (is not speci\214ed.)2.74 E -(The general format for redirecting input is:)108 451.2 Q([)144 468 Q F2 -(n)A F0(])A F1(<)A F2(wor)A(d)-.37 E F1(Redir)87 484.8 Q(ecting Output) --.18 E F0 .174 +(The general format for redirecting input is:)108 549.6 Q([)144 566.4 Q +F2(n)A F0(])A F1(<)A F2(wor)A(d)-.37 E F1(Redir)87 583.2 Q +(ecting Output)-.18 E F0 .174 (Redirection of output causes the \214le whose name results from the e) -108 496.8 R .175(xpansion of)-.15 F F2(wor)3.015 E(d)-.37 E F0 .175 -(to be opened for writ-)3.445 F .825(ing on \214le descriptor)108 508.8 +108 595.2 R .175(xpansion of)-.15 F F2(wor)3.015 E(d)-.37 E F0 .175 +(to be opened for writ-)3.445 F .825(ing on \214le descriptor)108 607.2 R F2(n)3.325 E F0 3.325(,o).24 G 3.325(rt)-3.325 G .824 (he standard output \(\214le descriptor 1\) if)-3.325 F F2(n)3.684 E F0 .824(is not speci\214ed.)3.564 F .824(If the \214le does not)5.824 F --.15(ex)108 520.8 S(ist it is created; if it does e).15 E +-.15(ex)108 619.2 S(ist it is created; if it does e).15 E (xist it is truncated to zero size.)-.15 E -(The general format for redirecting output is:)108 537.6 Q([)144 554.4 Q +(The general format for redirecting output is:)108 636 Q([)144 652.8 Q F2(n)A F0(])A F1(>)A F2(wor)A(d)-.37 E F0 .154 -(If the redirection operator is)108 571.2 R F1(>)2.654 E F0 2.654(,a)C +(If the redirection operator is)108 669.6 R F1(>)2.654 E F0 2.654(,a)C .154(nd the)-2.654 F F1(noclob)2.654 E(ber)-.1 E F0 .154(option to the) 2.654 F F1(set)2.655 E F0 -.2(bu)2.655 G .155 -(iltin has been enabled, the redirection).2 F .658(will f)108 583.2 R +(iltin has been enabled, the redirection).2 F .658(will f)108 681.6 R .658(ail if the \214le whose name results from the e)-.1 F .658 (xpansion of)-.15 F F2(wor)3.158 E(d)-.37 E F0 -.15(ex)3.158 G .657 (ists and is a re).15 F .657(gular \214le.)-.15 F .657(If the redi-) -5.657 F .408(rection operator is)108 595.2 R F1(>|)2.909 E F0 2.909(,o)C +5.657 F .408(rection operator is)108 693.6 R F1(>|)2.909 E F0 2.909(,o)C 2.909(rt)-2.909 G .409(he redirection operator is)-2.909 F F1(>)2.909 E F0 .409(and the)2.909 F F1(noclob)2.909 E(ber)-.1 E F0 .409 (option to the)2.909 F F1(set)2.909 E F0 -.2(bu)2.909 G .409 (iltin command).2 F(is not enabled, the redirection is attempted e)108 -607.2 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214le named by) --2.5 E F2(wor)2.5 E(d)-.37 E F0 -.15(ex)2.5 G(ists.).15 E F1 -.25(Ap)87 -624 S(pending Redir).25 E(ected Output)-.18 E F0 .642 -(Redirection of output in this f)108 636 R .642 -(ashion causes the \214le whose name results from the e)-.1 F .641 -(xpansion of)-.15 F F2(wor)3.481 E(d)-.37 E F0 .641(to be)3.911 F .473 -(opened for appending on \214le descriptor)108 648 R F2(n)2.973 E F0 -2.974(,o).24 G 2.974(rt)-2.974 G .474 -(he standard output \(\214le descriptor 1\) if)-2.974 F F2(n)3.334 E F0 -.474(is not speci\214ed.)3.214 F(If)5.474 E(the \214le does not e)108 -660 Q(xist it is created.)-.15 E -(The general format for appending output is:)108 676.8 Q([)144 693.6 Q -F2(n)A F0(])A F1(>>)A F2(wor)A(d)-.37 E F0(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(22)198.445 E 0 Cg EP +705.6 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214le named by) +-2.5 E F2(wor)2.5 E(d)-.37 E F0 -.15(ex)2.5 G(ists.).15 E(GNU Bash-4.0) +72 768 Q(2008 May 25)147.345 E(22)197.335 E 0 Cg EP %%Page: 23 23 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Redir)87 84 Q -(ecting Standard Output and Standard Err)-.18 E(or)-.18 E(Bash)108 96 Q -F0(allo)3.142 E .642(ws both the standard output \(\214le descriptor 1\ -\) and the standard error output \(\214le descriptor 2\) to)-.25 F -(be redirected to the \214le whose name is the e)108 108 Q(xpansion of) --.15 E/F2 10/Times-Italic@0 SF(wor)2.84 E(d)-.37 E F0 -(with this construct.)3.27 E(There are tw)108 124.8 Q 2.5(of)-.1 G +-.35 E/F1 10/Times-Bold@0 SF -.25(Ap)87 84 S(pending Redir).25 E +(ected Output)-.18 E F0 .642(Redirection of output in this f)108 96 R +.642(ashion causes the \214le whose name results from the e)-.1 F .641 +(xpansion of)-.15 F/F2 10/Times-Italic@0 SF(wor)3.481 E(d)-.37 E F0 .641 +(to be)3.911 F .473(opened for appending on \214le descriptor)108 108 R +F2(n)2.973 E F0 2.974(,o).24 G 2.974(rt)-2.974 G .474 +(he standard output \(\214le descriptor 1\) if)-2.974 F F2(n)3.334 E F0 +.474(is not speci\214ed.)3.214 F(If)5.474 E(the \214le does not e)108 +120 Q(xist it is created.)-.15 E +(The general format for appending output is:)108 136.8 Q([)144 153.6 Q +F2(n)A F0(])A F1(>>)A F2(wor)A(d)-.37 E F1(Redir)87 175.2 Q +(ecting Standard Output and Standard Err)-.18 E(or)-.18 E F0 .249 +(This construct allo)108 187.2 R .249(ws both the standard output \(\ +\214le descriptor 1\) and the standard error output \(\214le descrip-) +-.25 F(tor 2\) to be redirected to the \214le whose name is the e)108 +199.2 Q(xpansion of)-.15 E F2(wor)2.5 E(d)-.37 E F0(.).77 E +(There are tw)108 216 Q 2.5(of)-.1 G (ormats for redirecting standard output and standard error:)-2.5 E F1 -(&>)144 141.6 Q F2(wor)A(d)-.37 E F0(and)108 153.6 Q F1(>&)144 165.6 Q -F2(wor)A(d)-.37 E F0(Of the tw)108 182.4 Q 2.5(of)-.1 G +(&>)144 232.8 Q F2(wor)A(d)-.37 E F0(and)108 244.8 Q F1(>&)144 256.8 Q +F2(wor)A(d)-.37 E F0(Of the tw)108 273.6 Q 2.5(of)-.1 G (orms, the \214rst is preferred.)-2.5 E(This is semantically equi)5 E --.25(va)-.25 G(lent to).25 E F1(>)144 199.2 Q F2(wor)A(d)-.37 E F0(2)2.5 -E F1(>&)A F0(1)A F1(Her)87 216 Q 2.5(eD)-.18 G(ocuments)-2.5 E F0 .33(T\ -his type of redirection instructs the shell to read input from the curr\ -ent source until a line containing only)108 228 R F2(wor)108.34 240 Q(d) --.37 E F0 .684(\(with no trailing blanks\) is seen.)3.954 F .684 +-.25(va)-.25 G(lent to).25 E F1(>)144 290.4 Q F2(wor)A(d)-.37 E F0(2)2.5 +E F1(>&)A F0(1)A F1 -.25(Ap)87 312 S +(pending Standard Output and Standard Err).25 E(or)-.18 E F0 .248 +(This construct allo)108 324 R .249(ws both the standard output \(\214l\ +e descriptor 1\) and the standard error output \(\214le descrip-)-.25 F +(tor 2\) to be appended to the \214le whose name is the e)108 336 Q +(xpansion of)-.15 E F2(wor)2.5 E(d)-.37 E F0(.).77 E +(The format for appending standard output and standard error is:)108 +352.8 Q F1(&>>)144 369.6 Q F2(wor)A(d)-.37 E F0 +(This is semantically equi)108 386.4 Q -.25(va)-.25 G(lent to).25 E F1 +(>>)144 403.2 Q F2(wor)A(d)-.37 E F0(2)2.5 E F1(>&)A F0(1)A F1(Her)87 +420 Q 2.5(eD)-.18 G(ocuments)-2.5 E F0 .33(This type of redirection ins\ +tructs the shell to read input from the current source until a line con\ +taining only)108 432 R F2(wor)108.34 444 Q(d)-.37 E F0 .683 +(\(with no trailing blanks\) is seen.)3.953 F .684 (All of the lines read up to that point are then used as the standard) -5.684 F(input for a command.)108 252 Q(The format of here-documents is:) -108 268.8 Q F1(<<)144 285.6 Q F0([)A F1<ad>A F0(])A F2(wor)A(d)-.37 E -(her)164 297.6 Q(e-document)-.37 E(delimiter)144 309.6 Q F0 .127 -(No parameter e)108 326.4 R .127 +5.684 F(input for a command.)108 456 Q(The format of here-documents is:) +108 472.8 Q F1(<<)144 489.6 Q F0([)A F1<ad>A F0(])A F2(wor)A(d)-.37 E +(her)164 501.6 Q(e-document)-.37 E(delimiter)144 513.6 Q F0 .128 +(No parameter e)108 530.4 R .127 (xpansion, command substitution, arithmetic e)-.15 F .127 -(xpansion, or pathname e)-.15 F .128(xpansion is performed)-.15 F(on)108 -338.4 Q F2(wor)3.275 E(d)-.37 E F0 5.775(.I).77 G 3.275(fa)-5.775 G -1.075 -.15(ny c)-3.275 H .774(haracters in).15 F F2(wor)3.614 E(d)-.37 E +(xpansion, or pathname e)-.15 F .127(xpansion is performed)-.15 F(on)108 +542.4 Q F2(wor)3.274 E(d)-.37 E F0 5.774(.I).77 G 3.274(fa)-5.774 G +1.074 -.15(ny c)-3.274 H .774(haracters in).15 F F2(wor)3.614 E(d)-.37 E F0 .774(are quoted, the)4.044 F F2(delimiter)3.624 E F0 .774 -(is the result of quote remo)4.004 F -.25(va)-.15 G 3.274(lo).25 G(n) --3.274 E F2(wor)3.274 E(d)-.37 E F0 3.274(,a).77 G(nd)-3.274 E .904 -(the lines in the here-document are not e)108 350.4 R 3.405(xpanded. If) --.15 F F2(wor)3.405 E(d)-.37 E F0 .905 -(is unquoted, all lines of the here-document are)3.405 F .695 -(subjected to parameter e)108 362.4 R .695 -(xpansion, command substitution, and arithmetic e)-.15 F 3.194 -(xpansion. In)-.15 F .694(the latter case, the)3.194 F -(character sequence)108 374.4 Q F1(\\<newline>)2.5 E F0(is ignored, and) +(is the result of quote remo)4.004 F -.25(va)-.15 G 3.275(lo).25 G(n) +-3.275 E F2(wor)3.275 E(d)-.37 E F0 3.275(,a).77 G(nd)-3.275 E .905 +(the lines in the here-document are not e)108 554.4 R 3.405(xpanded. If) +-.15 F F2(wor)3.405 E(d)-.37 E F0 .904 +(is unquoted, all lines of the here-document are)3.405 F .694 +(subjected to parameter e)108 566.4 R .695 +(xpansion, command substitution, and arithmetic e)-.15 F 3.195 +(xpansion. In)-.15 F .695(the latter case, the)3.195 F +(character sequence)108 578.4 Q F1(\\<newline>)2.5 E F0(is ignored, and) 2.5 E F1(\\)2.5 E F0(must be used to quote the characters)2.5 E F1(\\) -2.5 E F0(,)A F1($)2.5 E F0 2.5(,a)C(nd)-2.5 E F1<92>2.5 E F0(.)A .601 -(If the redirection operator is)108 391.2 R F1(<<\255)3.101 E F0 3.101 +2.5 E F0(,)A F1($)2.5 E F0 2.5(,a)C(nd)-2.5 E F1<92>2.5 E F0(.)A .602 +(If the redirection operator is)108 595.2 R F1(<<\255)3.101 E F0 3.101 (,t)C .601(hen all leading tab characters are stripped from input lines\ - and the line)-3.101 F(containing)108 403.2 Q F2(delimiter)2.5 E F0 5 + and the line)-3.101 F(containing)108 607.2 Q F2(delimiter)2.5 E F0 5 (.T).73 G(his allo)-5 E (ws here-documents within shell scripts to be indented in a natural f) --.25 E(ashion.)-.1 E F1(Her)87 420 Q 2.5(eS)-.18 G(trings)-2.5 E F0 2.5 -(Av)108 432 S(ariant of here documents, the format is:)-2.75 E F1(<<<) -144 448.8 Q F2(wor)A(d)-.37 E F0(The)108 465.6 Q F2(wor)2.5 E(d)-.37 E +-.25 E(ashion.)-.1 E F1(Her)87 624 Q 2.5(eS)-.18 G(trings)-2.5 E F0 2.5 +(Av)108 636 S(ariant of here documents, the format is:)-2.75 E F1(<<<) +144 652.8 Q F2(wor)A(d)-.37 E F0(The)108 669.6 Q F2(wor)2.5 E(d)-.37 E F0(is e)2.5 E (xpanded and supplied to the command on its standard input.)-.15 E F1 -(Duplicating File Descriptors)87 482.4 Q F0(The redirection operator)108 -494.4 Q([)144 511.2 Q F2(n)A F0(])A F1(<&)A F2(wor)A(d)-.37 E F0 .127 -(is used to duplicate input \214le descriptors.)108 528 R(If)5.127 E F2 -(wor)2.967 E(d)-.37 E F0 -.15(ex)3.397 G .126 -(pands to one or more digits, the \214le descriptor denoted).15 F(by)108 -540 Q F2(n)3.317 E F0 .457(is made to be a cop)3.197 F 2.957(yo)-.1 G -2.957(ft)-2.957 G .457(hat \214le descriptor)-2.957 F 5.457(.I)-.55 G -2.957(ft)-5.457 G .457(he digits in)-2.957 F F2(wor)3.298 E(d)-.37 E F0 -.458(do not specify a \214le descriptor open)3.728 F .15 -(for input, a redirection error occurs.)108 552 R(If)5.15 E F2(wor)2.99 -E(d)-.37 E F0 -.25(eva)3.42 G .15(luates to).25 F F1<ad>2.65 E F0 2.649 -<2c8c>C .149(le descriptor)-2.649 F F2(n)3.009 E F0 .149(is closed.) -2.889 F(If)5.149 E F2(n)3.009 E F0 .149(is not speci\214ed,)2.889 F -(the standard input \(\214le descriptor 0\) is used.)108 564 Q -(The operator)108 580.8 Q([)144 597.6 Q F2(n)A F0(])A F1(>&)A F2(wor)A -(d)-.37 E F0 .443 -(is used similarly to duplicate output \214le descriptors.)108 614.4 R -(If)5.443 E F2(n)3.304 E F0 .444 -(is not speci\214ed, the standard output \(\214le descrip-)3.184 F 1.358 -(tor 1\) is used.)108 626.4 R 1.358(If the digits in)6.358 F F2(wor) -4.198 E(d)-.37 E F0 1.357(do not specify a \214le descriptor open for o\ -utput, a redirection error)4.628 F 2.596(occurs. As)108 638.4 R 2.596 -(as)2.596 G .096(pecial case, if)-2.596 F F2(n)2.596 E F0 .096 -(is omitted, and)2.596 F F2(wor)2.596 E(d)-.37 E F0 .096(does not e) -2.596 F .096(xpand to one or more digits, the standard out-)-.15 F -(put and standard error are redirected as described pre)108 650.4 Q -(viously)-.25 E(.)-.65 E F1(Mo)87 667.2 Q(ving File Descriptors)-.1 E F0 -(The redirection operator)108 679.2 Q([)144 696 Q F2(n)A F0(])A F1(<&)A -F2(digit)A F1<ad>A F0(mo)108 712.8 Q -.15(ve)-.15 G 3.036(st).15 G .536 -(he \214le descriptor)-3.036 F F2(digit)3.036 E F0 .536 -(to \214le descriptor)3.036 F F2(n)3.036 E F0 3.036(,o).24 G 3.036(rt) --3.036 G .535(he standard input \(\214le descriptor 0\) if)-3.036 F F2 -(n)3.035 E F0 .535(is not speci-)3.035 F(\214ed.)108 724.8 Q F2(digit)5 -E F0(is closed after being duplicated to)2.5 E F2(n)2.5 E F0(.)A -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(23)198.445 E 0 Cg EP +(Duplicating File Descriptors)87 686.4 Q F0(The redirection operator)108 +698.4 Q([)144 715.2 Q F2(n)A F0(])A F1(<&)A F2(wor)A(d)-.37 E F0 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(23)197.335 E 0 Cg EP %%Page: 24 24 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(Similarly)108 84 Q 2.5(,t)-.65 G(he redirection operator)-2.5 E -([)144 100.8 Q/F1 10/Times-Italic@0 SF(n)A F0(])A/F2 10/Times-Bold@0 SF -(>&)A F1(digit)A F2<ad>A F0(mo)108 117.6 Q -.15(ve)-.15 G 2.785(st).15 G -.285(he \214le descriptor)-2.785 F F1(digit)2.785 E F0 .285 -(to \214le descriptor)2.785 F F1(n)2.785 E F0 2.785(,o).24 G 2.785(rt) --2.785 G .286(he standard output \(\214le descriptor 1\) if)-2.785 F F1 -(n)2.786 E F0 .286(is not speci-)2.786 F(\214ed.)108 129.6 Q F2 -(Opening File Descriptors f)87 146.4 Q(or Reading and Writing)-.25 E F0 -(The redirection operator)108 158.4 Q([)144 175.2 Q F1(n)A F0(])A F2(<>) -A F1(wor)A(d)-.37 E F0 1.349(causes the \214le whose name is the e)108 -192 R 1.349(xpansion of)-.15 F F1(wor)4.189 E(d)-.37 E F0 1.349 +-.35 E .126(is used to duplicate input \214le descriptors.)108 84 R(If) +5.127 E/F1 10/Times-Italic@0 SF(wor)2.967 E(d)-.37 E F0 -.15(ex)3.397 G +.127(pands to one or more digits, the \214le descriptor denoted).15 F +(by)108 96 Q F1(n)3.318 E F0 .458(is made to be a cop)3.198 F 2.958(yo) +-.1 G 2.958(ft)-2.958 G .457(hat \214le descriptor)-2.958 F 5.457(.I) +-.55 G 2.957(ft)-5.457 G .457(he digits in)-2.957 F F1(wor)3.297 E(d) +-.37 E F0 .457(do not specify a \214le descriptor open)3.727 F .149 +(for input, a redirection error occurs.)108 108 R(If)5.149 E F1(wor) +2.989 E(d)-.37 E F0 -.25(eva)3.419 G .149(luates to).25 F/F2 10 +/Times-Bold@0 SF<ad>2.649 E F0 2.65<2c8c>C .15(le descriptor)-2.65 F F1 +(n)3.01 E F0 .15(is closed.)2.89 F(If)5.15 E F1(n)3.01 E F0 .15 +(is not speci\214ed,)2.89 F +(the standard input \(\214le descriptor 0\) is used.)108 120 Q +(The operator)108 136.8 Q([)144 153.6 Q F1(n)A F0(])A F2(>&)A F1(wor)A +(d)-.37 E F0 .444 +(is used similarly to duplicate output \214le descriptors.)108 170.4 R +(If)5.444 E F1(n)3.304 E F0 .443 +(is not speci\214ed, the standard output \(\214le descrip-)3.183 F 1.357 +(tor 1\) is used.)108 182.4 R 1.357(If the digits in)6.357 F F1(wor) +4.197 E(d)-.37 E F0 1.358(do not specify a \214le descriptor open for o\ +utput, a redirection error)4.627 F 2.597(occurs. As)108 194.4 R 2.597 +(as)2.597 G .097(pecial case, if)-2.597 F F1(n)2.596 E F0 .096 +(is omitted, and)2.596 F F1(wor)2.596 E(d)-.37 E F0 .096(does not e) +2.596 F .096(xpand to one or more digits, the standard out-)-.15 F +(put and standard error are redirected as described pre)108 206.4 Q +(viously)-.25 E(.)-.65 E F2(Mo)87 223.2 Q(ving File Descriptors)-.1 E F0 +(The redirection operator)108 235.2 Q([)144 252 Q F1(n)A F0(])A F2(<&)A +F1(digit)A F2<ad>A F0(mo)108 268.8 Q -.15(ve)-.15 G 3.035(st).15 G .535 +(he \214le descriptor)-3.035 F F1(digit)3.035 E F0 .535 +(to \214le descriptor)3.035 F F1(n)3.035 E F0 3.035(,o).24 G 3.035(rt) +-3.035 G .536(he standard input \(\214le descriptor 0\) if)-3.035 F F1 +(n)3.036 E F0 .536(is not speci-)3.036 F(\214ed.)108 280.8 Q F1(digit)5 +E F0(is closed after being duplicated to)2.5 E F1(n)2.5 E F0(.)A +(Similarly)108 297.6 Q 2.5(,t)-.65 G(he redirection operator)-2.5 E([) +144 314.4 Q F1(n)A F0(])A F2(>&)A F1(digit)A F2<ad>A F0(mo)108 331.2 Q +-.15(ve)-.15 G 2.786(st).15 G .286(he \214le descriptor)-2.786 F F1 +(digit)2.786 E F0 .286(to \214le descriptor)2.786 F F1(n)2.786 E F0 +2.786(,o).24 G 2.786(rt)-2.786 G .285 +(he standard output \(\214le descriptor 1\) if)-2.786 F F1(n)2.785 E F0 +.285(is not speci-)2.785 F(\214ed.)108 343.2 Q F2 +(Opening File Descriptors f)87 360 Q(or Reading and Writing)-.25 E F0 +(The redirection operator)108 372 Q([)144 388.8 Q F1(n)A F0(])A F2(<>)A +F1(wor)A(d)-.37 E F0 1.349(causes the \214le whose name is the e)108 +405.6 R 1.349(xpansion of)-.15 F F1(wor)4.189 E(d)-.37 E F0 1.349 (to be opened for both reading and writing on \214le)4.619 F(descriptor) -108 204 Q F1(n)2.5 E F0 2.5(,o).24 G 2.5(ro)-2.5 G 2.5<6e8c>-2.5 G +108 417.6 Q F1(n)2.5 E F0 2.5(,o).24 G 2.5(ro)-2.5 G 2.5<6e8c>-2.5 G (le descriptor 0 if)-2.5 E F1(n)2.86 E F0(is not speci\214ed.)2.74 E (If the \214le does not e)5 E(xist, it is created.)-.15 E/F3 10.95 -/Times-Bold@0 SF(ALIASES)72 220.8 Q F1(Aliases)108 232.8 Q F0(allo)3.173 -E 3.173(was)-.25 G .674(tring to be substituted for a w)-3.173 F .674 -(ord when it is used as the \214rst w)-.1 F .674 +/Times-Bold@0 SF(ALIASES)72 434.4 Q F1(Aliases)108 446.4 Q F0(allo)3.174 +E 3.174(was)-.25 G .674(tring to be substituted for a w)-3.174 F .674 +(ord when it is used as the \214rst w)-.1 F .673 (ord of a simple command.)-.1 F .394(The shell maintains a list of alia\ -ses that may be set and unset with the)108 244.8 R F2(alias)2.893 E F0 -(and)2.893 E F2(unalias)2.893 E F0 -.2(bu)2.893 G .393(iltin commands).2 -F(\(see)108 256.8 Q/F4 9/Times-Bold@0 SF 1.979(SHELL B)4.479 F(UIL)-.09 -E 1.979(TIN COMMANDS)-.828 F F0(belo)4.229 E 4.48(w\). The)-.25 F 1.98 -(\214rst w)4.48 F 1.98(ord of each simple command, if unquoted, is)-.1 F -(check)108 268.8 Q .473(ed to see if it has an alias.)-.1 F .473 -(If so, that w)5.473 F .472(ord is replaced by the te)-.1 F .472 -(xt of the alias.)-.15 F .472(The characters)5.472 F F2(/)2.972 E F0(,)A -F2($)2.972 E F0(,)A F2<92>2.972 E F0(,)A(and)108 280.8 Q F2(=)3.611 E F0 -1.111(and an)3.611 F 3.611(yo)-.15 G 3.611(ft)-3.611 G 1.111(he shell) --3.611 F F1(metac)3.612 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 1.112 -(or quoting characters listed abo)3.612 F 1.412 -.15(ve m)-.15 H 1.112 -(ay not appear in an alias).15 F 3.62(name. The)108 292.8 R 1.12 -(replacement te)3.62 F 1.119(xt may contain an)-.15 F 3.619(yv)-.15 G -1.119(alid shell input, including shell metacharacters.)-3.869 F 1.119 -(The \214rst)6.119 F -.1(wo)108 304.8 S .513(rd of the replacement te).1 -F .513(xt is tested for aliases, b)-.15 F .513(ut a w)-.2 F .514 -(ord that is identical to an alias being e)-.1 F .514(xpanded is)-.15 F -.296(not e)108 316.8 R .296(xpanded a second time.)-.15 F .296 -(This means that one may alias)5.296 F F2(ls)2.796 E F0(to)2.796 E F2 -.296(ls \255F)2.796 F F0 2.796(,f)C .295(or instance, and)-2.796 F F2 -(bash)2.795 E F0 .295(does not try)2.795 F .542(to recursi)108 328.8 R --.15(ve)-.25 G .542(ly e).15 F .542(xpand the replacement te)-.15 F -3.042(xt. If)-.15 F .543(the last character of the alias v)3.042 F .543 -(alue is a)-.25 F F1(blank)3.043 E F0 3.043(,t).67 G .543(hen the ne) --3.043 F(xt)-.15 E(command w)108 340.8 Q(ord follo)-.1 E +ses that may be set and unset with the)108 458.4 R F2(alias)2.894 E F0 +(and)2.894 E F2(unalias)2.894 E F0 -.2(bu)2.894 G .394(iltin commands).2 +F(\(see)108 470.4 Q/F4 9/Times-Bold@0 SF 1.98(SHELL B)4.48 F(UIL)-.09 E +1.98(TIN COMMANDS)-.828 F F0(belo)4.23 E 4.48(w\). The)-.25 F 1.98 +(\214rst w)4.48 F 1.979(ord of each simple command, if unquoted, is)-.1 +F(check)108 482.4 Q .472(ed to see if it has an alias.)-.1 F .472 +(If so, that w)5.472 F .473(ord is replaced by the te)-.1 F .473 +(xt of the alias.)-.15 F .473(The characters)5.473 F F2(/)2.973 E F0(,)A +F2($)2.973 E F0(,)A F2<92>2.973 E F0(,)A(and)108 494.4 Q F2(=)3.612 E F0 +1.112(and an)3.612 F 3.612(yo)-.15 G 3.612(ft)-3.612 G 1.112(he shell) +-3.612 F F1(metac)3.612 E(har)-.15 E(acter)-.15 E(s)-.1 E F0 1.112 +(or quoting characters listed abo)3.612 F 1.411 -.15(ve m)-.15 H 1.111 +(ay not appear in an alias).15 F 3.619(name. The)108 506.4 R 1.119 +(replacement te)3.619 F 1.119(xt may contain an)-.15 F 3.619(yv)-.15 G +1.119(alid shell input, including shell metacharacters.)-3.869 F 1.12 +(The \214rst)6.12 F -.1(wo)108 518.4 S .514(rd of the replacement te).1 +F .514(xt is tested for aliases, b)-.15 F .514(ut a w)-.2 F .513 +(ord that is identical to an alias being e)-.1 F .513(xpanded is)-.15 F +.295(not e)108 530.4 R .295(xpanded a second time.)-.15 F .296 +(This means that one may alias)5.295 F F2(ls)2.796 E F0(to)2.796 E F2 +.296(ls \255F)2.796 F F0 2.796(,f)C .296(or instance, and)-2.796 F F2 +(bash)2.796 E F0 .296(does not try)2.796 F .543(to recursi)108 542.4 R +-.15(ve)-.25 G .543(ly e).15 F .543(xpand the replacement te)-.15 F +3.043(xt. If)-.15 F .543(the last character of the alias v)3.043 F .542 +(alue is a)-.25 F F1(blank)3.042 E F0 3.042(,t).67 G .542(hen the ne) +-3.042 F(xt)-.15 E(command w)108 554.4 Q(ord follo)-.1 E (wing the alias is also check)-.25 E(ed for alias e)-.1 E(xpansion.)-.15 -E(Aliases are created and listed with the)108 357.6 Q F2(alias)2.5 E F0 +E(Aliases are created and listed with the)108 571.2 Q F2(alias)2.5 E F0 (command, and remo)2.5 E -.15(ve)-.15 G 2.5(dw).15 G(ith the)-2.5 E F2 (unalias)2.5 E F0(command.)2.5 E .284 -(There is no mechanism for using ar)108 374.4 R .284 +(There is no mechanism for using ar)108 588 R .284 (guments in the replacement te)-.18 F 2.784(xt. If)-.15 F(ar)2.784 E .284(guments are needed, a shell func-)-.18 F(tion should be used \(see) -108 386.4 Q F4(FUNCTIONS)2.5 E F0(belo)2.25 E(w\).)-.25 E 1.22 -(Aliases are not e)108 403.2 R 1.22 +108 600 Q F4(FUNCTIONS)2.5 E F0(belo)2.25 E(w\).)-.25 E 1.22 +(Aliases are not e)108 616.8 R 1.22 (xpanded when the shell is not interacti)-.15 F -.15(ve)-.25 G 3.72(,u) .15 G 1.22(nless the)-3.72 F F2(expand_aliases)3.72 E F0 1.22 -(shell option is set)3.72 F(using)108 415.2 Q F2(shopt)2.5 E F0 +(shell option is set)3.72 F(using)108 628.8 Q F2(shopt)2.5 E F0 (\(see the description of)2.5 E F2(shopt)2.5 E F0(under)2.5 E F4 (SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 -E .436 +E .435 (The rules concerning the de\214nition and use of aliases are some)108 -432 R .435(what confusing.)-.25 F F2(Bash)5.435 E F0(al)2.935 E -.1(wa) --.1 G .435(ys reads at least).1 F .337 -(one complete line of input before e)108 444 R -.15(xe)-.15 G .338 +645.6 R .436(what confusing.)-.25 F F2(Bash)5.436 E F0(al)2.936 E -.1 +(wa)-.1 G .436(ys reads at least).1 F .338 +(one complete line of input before e)108 657.6 R -.15(xe)-.15 G .338 (cuting an).15 F 2.838(yo)-.15 G 2.838(ft)-2.838 G .338 -(he commands on that line.)-2.838 F .338(Aliases are e)5.338 F .338 -(xpanded when)-.15 F 3.404(ac)108 456 S .904 -(ommand is read, not when it is e)-3.404 F -.15(xe)-.15 G 3.404 +(he commands on that line.)-2.838 F .337(Aliases are e)5.337 F .337 +(xpanded when)-.15 F 3.403(ac)108 669.6 S .904 +(ommand is read, not when it is e)-3.403 F -.15(xe)-.15 G 3.404 (cuted. Therefore,).15 F .904 -(an alias de\214nition appearing on the same line as)3.404 F 1.161 -(another command does not tak)108 468 R 3.662(ee)-.1 G -.25(ff)-3.662 G -1.162(ect until the ne).25 F 1.162(xt line of input is read.)-.15 F -1.162(The commands follo)6.162 F 1.162(wing the)-.25 F .277 -(alias de\214nition on that line are not af)108 480 R .277 +(an alias de\214nition appearing on the same line as)3.404 F 1.162 +(another command does not tak)108 681.6 R 3.662(ee)-.1 G -.25(ff)-3.662 +G 1.162(ect until the ne).25 F 1.162(xt line of input is read.)-.15 F +1.161(The commands follo)6.161 F 1.161(wing the)-.25 F .277 +(alias de\214nition on that line are not af)108 693.6 R .277 (fected by the ne)-.25 F 2.777(wa)-.25 G 2.777(lias. This)-2.777 F(beha) -2.777 E .277(vior is also an issue when functions)-.2 F .698(are e)108 -492 R -.15(xe)-.15 G 3.198(cuted. Aliases).15 F .698(are e)3.198 F .699 -(xpanded when a function de\214nition is read, not when the function is\ - e)-.15 F -.15(xe)-.15 G(cuted,).15 E .495 -(because a function de\214nition is itself a compound command.)108 504 R -.494(As a consequence, aliases de\214ned in a func-)5.494 F .084 -(tion are not a)108 516 R -.25(va)-.2 G .084 -(ilable until after that function is e).25 F -.15(xe)-.15 G 2.584 -(cuted. T).15 F 2.584(ob)-.8 G 2.584(es)-2.584 G .084(afe, al)-2.584 F --.1(wa)-.1 G .085(ys put alias de\214nitions on a sepa-).1 F -(rate line, and do not use)108 528 Q F2(alias)2.5 E F0 -(in compound commands.)2.5 E -.15(Fo)108 544.8 S 2.5(ra).15 G(lmost e) --2.5 E -.15(ve)-.25 G -(ry purpose, aliases are superseded by shell functions.).15 E F3 -(FUNCTIONS)72 561.6 Q F0 3.468(As)108 573.6 S .968 -(hell function, de\214ned as described abo)-3.468 F 1.267 -.15(ve u)-.15 -H(nder).15 E F4 .967(SHELL GRAMMAR)3.467 F/F5 9/Times-Roman@0 SF(,)A F0 -.967(stores a series of commands for)3.217 F 1.001(later e)108 585.6 R --.15(xe)-.15 G 3.501(cution. When).15 F 1.002(the name of a shell funct\ -ion is used as a simple command name, the list of com-)3.501 F .316 -(mands associated with that function name is e)108 597.6 R -.15(xe)-.15 -G 2.816(cuted. Functions).15 F .316(are e)2.816 F -.15(xe)-.15 G .315 -(cuted in the conte).15 F .315(xt of the current)-.15 F .035 -(shell; no ne)108 609.6 R 2.535(wp)-.25 G .036 -(rocess is created to interpret them \(contrast this with the e)-2.535 F --.15(xe)-.15 G .036(cution of a shell script\).).15 F .036(When a)5.036 -F .64(function is e)108 621.6 R -.15(xe)-.15 G .64(cuted, the ar).15 F +2.777 E .277(vior is also an issue when functions)-.2 F .699(are e)108 +705.6 R -.15(xe)-.15 G 3.199(cuted. Aliases).15 F .699(are e)3.199 F +.699(xpanded when a function de\214nition is read, not when the functio\ +n is e)-.15 F -.15(xe)-.15 G(cuted,).15 E .494 +(because a function de\214nition is itself a compound command.)108 717.6 +R .495(As a consequence, aliases de\214ned in a func-)5.494 F 1.4 +(tion are not a)108 729.6 R -.25(va)-.2 G 1.4 +(ilable until after that function is e).25 F -.15(xe)-.15 G 3.9 +(cuted. T).15 F 3.9(ob)-.8 G 3.9(es)-3.9 G 1.4(afe, al)-3.9 F -.1(wa)-.1 +G 1.4(ys put alias de\214nitions on a).1 F(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(24)197.335 E 0 Cg EP +%%Page: 25 25 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E(separate line, and do not use)108 84 Q/F1 10/Times-Bold@0 SF +(alias)2.5 E F0(in compound commands.)2.5 E -.15(Fo)108 100.8 S 2.5(ra) +.15 G(lmost e)-2.5 E -.15(ve)-.25 G +(ry purpose, aliases are superseded by shell functions.).15 E/F2 10.95 +/Times-Bold@0 SF(FUNCTIONS)72 117.6 Q F0 3.467(As)108 129.6 S .967 +(hell function, de\214ned as described abo)-3.467 F 1.267 -.15(ve u)-.15 +H(nder).15 E/F3 9/Times-Bold@0 SF .967(SHELL GRAMMAR)3.467 F/F4 9 +/Times-Roman@0 SF(,)A F0 .968(stores a series of commands for)3.217 F +1.002(later e)108 141.6 R -.15(xe)-.15 G 3.502(cution. When).15 F 1.002 +(the name of a shell function is used as a simple command name, the lis\ +t of com-)3.502 F .315(mands associated with that function name is e)108 +153.6 R -.15(xe)-.15 G 2.816(cuted. Functions).15 F .316(are e)2.816 F +-.15(xe)-.15 G .316(cuted in the conte).15 F .316(xt of the current)-.15 +F .036(shell; no ne)108 165.6 R 2.536(wp)-.25 G .036 +(rocess is created to interpret them \(contrast this with the e)-2.536 F +-.15(xe)-.15 G .036(cution of a shell script\).).15 F .035(When a)5.035 +F .639(function is e)108 177.6 R -.15(xe)-.15 G .639(cuted, the ar).15 F .639 (guments to the function become the positional parameters during its e) --.18 F -.15(xe)-.15 G(cution.).15 E .532(The special parameter)108 633.6 -R F2(#)3.032 E F0 .532(is updated to re\215ect the change.)3.032 F .533 -(Special parameter 0 is unchanged.)5.532 F .533(The \214rst ele-)5.533 F -1.018(ment of the)108 645.6 R F4(FUNCN)3.518 E(AME)-.18 E F0 -.25(va) -3.268 G 1.017 +-.18 F -.15(xe)-.15 G(cution.).15 E .533(The special parameter)108 189.6 +R F1(#)3.033 E F0 .532(is updated to re\215ect the change.)3.033 F .532 +(Special parameter 0 is unchanged.)5.532 F .532(The \214rst ele-)5.532 F +1.017(ment of the)108 201.6 R F3(FUNCN)3.517 E(AME)-.18 E F0 -.25(va) +3.267 G 1.017 (riable is set to the name of the function while the function is e).25 F --.15(xe)-.15 G 3.517(cuting. All).15 F 1.285 -(other aspects of the shell e)108 657.6 R -.15(xe)-.15 G 1.285 +-.15(xe)-.15 G 3.518(cuting. All).15 F 1.285 +(other aspects of the shell e)108 213.6 R -.15(xe)-.15 G 1.285 (cution en).15 F 1.285 (vironment are identical between a function and its caller with the)-.4 -F -.15(ex)108 669.6 S 2.03(ception that the).15 F F4(DEB)4.53 E(UG)-.09 -E F0(and)4.28 E F2(RETURN)4.53 E F0 2.029 -(traps \(see the description of the)4.53 F F2(trap)4.529 E F0 -.2(bu) -4.529 G 2.029(iltin under).2 F F4(SHELL)4.529 E -.09(BU)108 681.6 S(IL) -.09 E .478(TIN COMMANDS)-.828 F F0(belo)2.728 E .479 +F -.15(ex)108 225.6 S 2.029(ception that the).15 F F3(DEB)4.529 E(UG) +-.09 E F0(and)4.279 E F1(RETURN)4.529 E F0 2.029 +(traps \(see the description of the)4.529 F F1(trap)4.53 E F0 -.2(bu) +4.53 G 2.03(iltin under).2 F F3(SHELL)4.53 E -.09(BU)108 237.6 S(IL).09 +E .479(TIN COMMANDS)-.828 F F0(belo)2.729 E .479 (w\) are not inherited unless the function has been gi)-.25 F -.15(ve) --.25 G 2.979(nt).15 G(he)-2.979 E F2(trace)2.979 E F0(attrib)2.979 E -.479(ute \(see)-.2 F .421(the description of the)108 693.6 R F4(declar) +-.25 G 2.978(nt).15 G(he)-2.978 E F1(trace)2.978 E F0(attrib)2.978 E +.478(ute \(see)-.2 F .42(the description of the)108 249.6 R F3(declar) 2.92 E(e)-.162 E F0 -.2(bu)2.67 G .42(iltin belo).2 F .42(w\) or the) --.25 F F2 .42(\255o functrace)2.92 F F0 .42 -(shell option has been enabled with the)2.92 F F2(set)2.92 E F0 -.2(bu) -108 705.6 S(iltin \(in which case all functions inherit the).2 E F2(DEB) -2.5 E(UG)-.1 E F0(and)2.5 E F2(RETURN)2.5 E F0(traps\).)2.5 E -1.11(Va) -108 722.4 S .655(riables local to the function may be declared with the) -1.11 F F2(local)3.155 E F0 -.2(bu)3.156 G .656(iltin command.).2 F -(Ordinarily)5.656 E 3.156(,v)-.65 G .656(ariables and)-3.406 F -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(24)198.445 E 0 Cg EP -%%Page: 25 25 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(their v)108 84 Q -(alues are shared between the function and its caller)-.25 E(.)-.55 E -.044(If the b)108 100.8 R .043(uiltin command)-.2 F/F1 10/Times-Bold@0 -SF -.18(re)2.543 G(tur).18 E(n)-.15 E F0 .043(is e)2.543 F -.15(xe)-.15 -G .043(cuted in a function, the function completes and e).15 F -.15(xe) --.15 G .043(cution resumes with).15 F 1.011(the ne)108 112.8 R 1.011 +-.25 F F1 .42(\255o functrace)2.92 F F0 .42 +(shell option has been enabled with the)2.92 F F1(set)2.921 E F0 -.2(bu) +108 261.6 S(iltin \(in which case all functions inherit the).2 E F1(DEB) +2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps\).)2.5 E -1.11(Va) +108 278.4 S .656(riables local to the function may be declared with the) +1.11 F F1(local)3.155 E F0 -.2(bu)3.155 G .655(iltin command.).2 F +(Ordinarily)5.655 E 3.155(,v)-.65 G .655(ariables and)-3.405 F(their v) +108 290.4 Q(alues are shared between the function and its caller)-.25 E +(.)-.55 E .043(If the b)108 307.2 R .043(uiltin command)-.2 F F1 -.18 +(re)2.543 G(tur).18 E(n)-.15 E F0 .043(is e)2.543 F -.15(xe)-.15 G .043 +(cuted in a function, the function completes and e).15 F -.15(xe)-.15 G +.044(cution resumes with).15 F 1.012(the ne)108 319.2 R 1.012 (xt command after the function call.)-.15 F(An)6.011 E 3.511(yc)-.15 G -1.011(ommand associated with the)-3.511 F F1(RETURN)3.512 E F0 1.012 -(trap is e)3.512 F -.15(xe)-.15 G(cuted).15 E .214(before e)108 124.8 R --.15(xe)-.15 G .214(cution resumes.).15 F .213 -(When a function completes, the v)5.214 F .213 +1.011(ommand associated with the)-3.511 F F1(RETURN)3.511 E F0 1.011 +(trap is e)3.511 F -.15(xe)-.15 G(cuted).15 E .213(before e)108 331.2 R +-.15(xe)-.15 G .213(cution resumes.).15 F .213 +(When a function completes, the v)5.213 F .214 (alues of the positional parameters and the spe-)-.25 F(cial parameter) -108 136.8 Q F1(#)2.5 E F0(are restored to the v)2.5 E(alues the)-.25 E +108 343.2 Q F1(#)2.5 E F0(are restored to the v)2.5 E(alues the)-.25 E 2.5(yh)-.15 G(ad prior to the function')-2.5 E 2.5(se)-.55 G -.15(xe) --2.65 G(cution.).15 E 1.358 -(Function names and de\214nitions may be listed with the)108 153.6 R F1 +-2.65 G(cution.).15 E 1.359 +(Function names and de\214nitions may be listed with the)108 360 R F1 <ad66>3.858 E F0 1.358(option to the)3.858 F F1(declar)3.858 E(e)-.18 E -F0(or)3.859 E F1(typeset)3.859 E F0 -.2(bu)3.859 G 1.359(iltin com-).2 F -3.39(mands. The)108 165.6 R F1<ad46>3.39 E F0 .89(option to)3.39 F F1 +F0(or)3.858 E F1(typeset)3.858 E F0 -.2(bu)3.858 G 1.358(iltin com-).2 F +3.39(mands. The)108 372 R F1<ad46>3.39 E F0 .89(option to)3.39 F F1 (declar)3.39 E(e)-.18 E F0(or)3.39 E F1(typeset)3.39 E F0 .89 (will list the function names only \(and optionally the source)3.39 F -.326(\214le and line number)108 177.6 R 2.826(,i)-.4 G 2.826(ft)-2.826 G -(he)-2.826 E F1(extdeb)2.826 E(ug)-.2 E F0 .326 -(shell option is enabled\).)2.826 F .327(Functions may be e)5.327 F .327 -(xported so that subshells)-.15 F 1.298(automatically ha)108 189.6 R -1.598 -.15(ve t)-.2 H 1.298(hem de\214ned with the).15 F F1<ad66>3.798 E -F0 1.298(option to the)3.798 F F1(export)3.797 E F0 -.2(bu)3.797 G 3.797 -(iltin. A).2 F 1.297(function de\214nition may be)3.797 F .16 -(deleted using the)108 201.6 R F1<ad66>2.66 E F0 .16(option to the)2.66 -F F1(unset)2.66 E F0 -.2(bu)2.66 G 2.661(iltin. Note).2 F .161 -(that shell functions and v)2.661 F .161(ariables with the same name) --.25 F 1.325(may result in multiple identically-named entries in the en) -108 213.6 R 1.325(vironment passed to the shell')-.4 F 3.825(sc)-.55 G -3.825(hildren. Care)-3.825 F(should be tak)108 225.6 Q +.327(\214le and line number)108 384 R 2.827(,i)-.4 G 2.827(ft)-2.827 G +(he)-2.827 E F1(extdeb)2.827 E(ug)-.2 E F0 .326 +(shell option is enabled\).)2.827 F .326(Functions may be e)5.326 F .326 +(xported so that subshells)-.15 F 1.297(automatically ha)108 396 R 1.597 +-.15(ve t)-.2 H 1.297(hem de\214ned with the).15 F F1<ad66>3.797 E F0 +1.297(option to the)3.797 F F1(export)3.798 E F0 -.2(bu)3.798 G 3.798 +(iltin. A).2 F 1.298(function de\214nition may be)3.798 F .161 +(deleted using the)108 408 R F1<ad66>2.661 E F0 .161(option to the)2.661 +F F1(unset)2.661 E F0 -.2(bu)2.661 G 2.661(iltin. Note).2 F .16 +(that shell functions and v)2.661 F .16(ariables with the same name)-.25 +F 1.325(may result in multiple identically-named entries in the en)108 +420 R 1.325(vironment passed to the shell')-.4 F 3.825(sc)-.55 G 3.825 +(hildren. Care)-3.825 F(should be tak)108 432 Q (en in cases where this may cause a problem.)-.1 E -(Functions may be recursi)108 242.4 Q -.15(ve)-.25 G 5(.N).15 G 2.5(ol) +(Functions may be recursi)108 448.8 Q -.15(ve)-.25 G 5(.N).15 G 2.5(ol) -5 G(imit is imposed on the number of recursi)-2.5 E .3 -.15(ve c)-.25 H -(alls.).15 E/F2 10.95/Times-Bold@0 SF(ARITHMETIC EV)72 259.2 Q(ALU) --1.478 E -1.04(AT)-.657 G(ION)1.04 E F0 2.297(The shell allo)108 271.2 R -2.297(ws arithmetic e)-.25 F 2.297(xpressions to be e)-.15 F -.25(va) --.25 G 2.297(luated, under certain circumstances \(see the).25 F F1(let) -4.798 E F0(and)4.798 E F1(declar)108 283.2 Q(e)-.18 E F0 -.2(bu)2.706 G -.206(iltin commands and).2 F F1 .206(Arithmetic Expansion)2.706 F F0 -2.705(\). Ev)B .205(aluation is done in \214x)-.25 F .205(ed-width inte) --.15 F .205(gers with no)-.15 F .428(check for o)108 295.2 R -.15(ve) --.15 G(r\215o).15 E 1.728 -.65(w, t)-.25 H .428(hough di).65 F .428 -(vision by 0 is trapped and \215agged as an error)-.25 F 5.429(.T)-.55 G -.429(he operators and their prece-)-5.429 F 1.92(dence, associati)108 -307.2 R(vity)-.25 E 4.42(,a)-.65 G 1.92(nd v)-4.42 F 1.92 -(alues are the same as in the C language.)-.25 F 1.919(The follo)6.919 F -1.919(wing list of operators is)-.25 F(grouped into le)108 319.2 Q -.15 +(alls.).15 E F2(ARITHMETIC EV)72 465.6 Q(ALU)-1.478 E -1.04(AT)-.657 G +(ION)1.04 E F0 2.298(The shell allo)108 477.6 R 2.297(ws arithmetic e) +-.25 F 2.297(xpressions to be e)-.15 F -.25(va)-.25 G 2.297 +(luated, under certain circumstances \(see the).25 F F1(let)4.797 E F0 +(and)4.797 E F1(declar)108 489.6 Q(e)-.18 E F0 -.2(bu)2.705 G .205 +(iltin commands and).2 F F1 .205(Arithmetic Expansion)2.705 F F0 2.705 +(\). Ev)B .205(aluation is done in \214x)-.25 F .206(ed-width inte)-.15 +F .206(gers with no)-.15 F .429(check for o)108 501.6 R -.15(ve)-.15 G +(r\215o).15 E 1.729 -.65(w, t)-.25 H .429(hough di).65 F .428 +(vision by 0 is trapped and \215agged as an error)-.25 F 5.428(.T)-.55 G +.428(he operators and their prece-)-5.428 F 1.919(dence, associati)108 +513.6 R(vity)-.25 E 4.419(,a)-.65 G 1.919(nd v)-4.419 F 1.919 +(alues are the same as in the C language.)-.25 F 1.92(The follo)6.92 F +1.92(wing list of operators is)-.25 F(grouped into le)108 525.6 Q -.15 (ve)-.25 G(ls of equal-precedence operators.).15 E(The le)5 E -.15(ve) --.25 G(ls are listed in order of decreasing precedence.).15 E/F3 10 -/Times-Italic@0 SF(id)108 336 Q F1(++)A F3(id)2.5 E F1<adad>A F0 -.25 -(va)144 348 S(riable post-increment and post-decrement).25 E F1(++)108 -360 Q F3(id)A F1<adad>2.5 E F3(id)A F0 -.25(va)144 372 S -(riable pre-increment and pre-decrement).25 E F1 2.5<ad2b>108 384 S F0 -(unary minus and plus)19.6 E F1 2.5(!~)108 396 S F0 -(logical and bitwise ne)24.34 E -.05(ga)-.15 G(tion).05 E F1(**)108 408 -Q F0 -.15(ex)26 G(ponentiation).15 E F1 2.5(*/%)108 420 S F0 -(multiplication, di)10.72 E(vision, remainder)-.25 E F1 2.5<2bad>108 432 -S F0(addition, subtraction)19.6 E F1(<< >>)108 444 Q F0 -(left and right bitwise shifts)10.7 E F1(<= >= < >)108 456 Q F0 -(comparison)144 468 Q F1(== !=)108 480 Q F0(equality and inequality) -13.07 E F1(&)108 492 Q F0(bitwise AND)27.67 E F1(^)108 504 Q F0 -(bitwise e)32.67 E(xclusi)-.15 E .3 -.15(ve O)-.25 H(R).15 E F1(|)108 -516 Q F0(bitwise OR)33.8 E F1(&&)108 528 Q F0(logical AND)19.34 E F1(||) -108 540 Q F0(logical OR)31.6 E F3 -.2(ex)108 552 S(pr).2 E F1(?)A F3 -.2 -(ex)C(pr).2 E F1(:)A F3 -.2(ex)C(pr).2 E F0(conditional operator)144 564 -Q F1 2.5(=*)108 576 S 2.5(=/)-2.5 G 2.5(=%)-2.5 G 2.5(=+)-2.5 G 2.5 -<3dad>-2.5 G 2.5(=<)-2.5 G(<= >>= &= ^= |=)-2.5 E F0(assignment)144 588 -Q F3 -.2(ex)108 600 S(pr1).2 E F1(,)2.5 E F3 -.2(ex)2.5 G(pr2).2 E F0 -(comma)144 612 Q .68(Shell v)108 628.8 R .68(ariables are allo)-.25 F -.68(wed as operands; parameter e)-.25 F .68 -(xpansion is performed before the e)-.15 F .68(xpression is e)-.15 F --.25(va)-.25 G(lu-).25 E 3.508(ated. W)108 640.8 R 1.008(ithin an e)-.4 -F 1.008(xpression, shell v)-.15 F 1.007 -(ariables may also be referenced by name without using the parameter) --.25 F -.15(ex)108 652.8 S 1.04(pansion syntax.).15 F 3.54(As)6.04 G -1.04(hell v)-3.54 F 1.04(ariable that is null or unset e)-.25 F -.25(va) --.25 G 1.041(luates to 0 when referenced by name without).25 F 1.467 -(using the parameter e)108 664.8 R 1.467(xpansion syntax.)-.15 F 1.467 -(The v)6.467 F 1.467(alue of a v)-.25 F 1.467(ariable is e)-.25 F -.25 -(va)-.25 G 1.466(luated as an arithmetic e).25 F(xpression)-.15 E 1.389 -(when it is referenced, or when a v)108 676.8 R 1.389 -(ariable which has been gi)-.25 F -.15(ve)-.25 G 3.89(nt).15 G(he)-3.89 -E F3(inte)3.89 E -.1(ge)-.4 G(r).1 E F0(attrib)3.89 E 1.39(ute using)-.2 -F F1(declar)3.89 E 3.89(e-)-.18 G(i)-3.89 E F0(is)3.89 E .344 -(assigned a v)108 688.8 R 2.844(alue. A)-.25 F .343(null v)2.843 F .343 -(alue e)-.25 F -.25(va)-.25 G .343(luates to 0.).25 F 2.843(As)5.343 G -.343(hell v)-2.843 F .343(ariable need not ha)-.25 F .643 -.15(ve i)-.2 -H .343(ts inte).15 F .343(ger attrib)-.15 F .343(ute turned on)-.2 F -(to be used in an e)108 700.8 Q(xpression.)-.15 E 1.406 -(Constants with a leading 0 are interpreted as octal numbers.)108 717.6 -R 3.906(Al)6.406 G 1.407(eading 0x or 0X denotes he)-3.906 F(xadecimal.) --.15 E 3.461(Otherwise, numbers tak)108 729.6 R 5.961(et)-.1 G 3.461 -(he form [)-5.961 F F3(base#)A F0 3.461(]n, where)B F3(base)5.961 E F0 -3.46(is a decimal number between 2 and 64)5.961 F(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(25)198.445 E 0 Cg EP +-.25 G(ls are listed in order of decreasing precedence.).15 E/F5 10 +/Times-Italic@0 SF(id)108 542.4 Q F1(++)A F5(id)2.5 E F1<adad>A F0 -.25 +(va)144 554.4 S(riable post-increment and post-decrement).25 E F1(++)108 +566.4 Q F5(id)A F1<adad>2.5 E F5(id)A F0 -.25(va)144 578.4 S +(riable pre-increment and pre-decrement).25 E F1 2.5<ad2b>108 590.4 S F0 +(unary minus and plus)19.6 E F1 2.5(!~)108 602.4 S F0 +(logical and bitwise ne)24.34 E -.05(ga)-.15 G(tion).05 E F1(**)108 +614.4 Q F0 -.15(ex)26 G(ponentiation).15 E F1 2.5(*/%)108 626.4 S F0 +(multiplication, di)10.72 E(vision, remainder)-.25 E F1 2.5<2bad>108 +638.4 S F0(addition, subtraction)19.6 E F1(<< >>)108 650.4 Q F0 +(left and right bitwise shifts)10.7 E F1(<= >= < >)108 662.4 Q F0 +(comparison)144 674.4 Q F1(== !=)108 686.4 Q F0(equality and inequality) +13.07 E F1(&)108 698.4 Q F0(bitwise AND)27.67 E F1(^)108 710.4 Q F0 +(bitwise e)32.67 E(xclusi)-.15 E .3 -.15(ve O)-.25 H(R).15 E +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(25)197.335 E 0 Cg EP %%Page: 26 26 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .533(representing the arithmetic base, and)108 84 R/F1 10 -/Times-Italic@0 SF(n)3.033 E F0 .533(is a number in that base.)3.033 F -(If)5.534 E F1(base#)3.034 E F0 .534(is omitted, then base 10 is used.) -3.034 F .916(The digits greater than 9 are represented by the lo)108 96 -R .915(wercase letters, the uppercase letters, @, and _, in that)-.25 F -(order)108 108 Q 5.67(.I)-.55 G(f)-5.67 E F1(base)3.17 E F0 .67 -(is less than or equal to 36, lo)3.17 F .671 -(wercase and uppercase letters may be used interchangeably to)-.25 F -(represent numbers between 10 and 35.)108 120 Q .235(Operators are e)108 -136.8 R -.25(va)-.25 G .235(luated in order of precedence.).25 F(Sub-e) -5.234 E .234(xpressions in parentheses are e)-.15 F -.25(va)-.25 G .234 -(luated \214rst and may).25 F -.15(ove)108 148.8 S -(rride the precedence rules abo).15 E -.15(ve)-.15 G(.).15 E/F2 10.95 -/Times-Bold@0 SF(CONDITION)72 165.6 Q(AL EXPRESSIONS)-.219 E F0 .255 -(Conditional e)108 177.6 R .255(xpressions are used by the)-.15 F/F3 10 -/Times-Bold@0 SF([[)2.755 E F0 .255(compound command and the)2.755 F F3 -(test)2.755 E F0(and)2.755 E F3([)2.756 E F0 -.2(bu)2.756 G .256 -(iltin commands to test).2 F .77(\214le attrib)108 189.6 R .77 +-.35 E/F1 10/Times-Bold@0 SF(|)108 84 Q F0(bitwise OR)33.8 E F1(&&)108 +96 Q F0(logical AND)19.34 E F1(||)108 108 Q F0(logical OR)31.6 E/F2 10 +/Times-Italic@0 SF -.2(ex)108 120 S(pr).2 E F1(?)A F2 -.2(ex)C(pr).2 E +F1(:)A F2 -.2(ex)C(pr).2 E F0(conditional operator)144 132 Q F1 2.5(=*) +108 144 S 2.5(=/)-2.5 G 2.5(=%)-2.5 G 2.5(=+)-2.5 G 2.5<3dad>-2.5 G 2.5 +(=<)-2.5 G(<= >>= &= ^= |=)-2.5 E F0(assignment)144 156 Q F2 -.2(ex)108 +168 S(pr1).2 E F1(,)2.5 E F2 -.2(ex)2.5 G(pr2).2 E F0(comma)144 180 Q +.68(Shell v)108 196.8 R .68(ariables are allo)-.25 F .68 +(wed as operands; parameter e)-.25 F .68 +(xpansion is performed before the e)-.15 F .68(xpression is e)-.15 F +-.25(va)-.25 G(lu-).25 E 3.507(ated. W)108 208.8 R 1.007(ithin an e)-.4 +F 1.007(xpression, shell v)-.15 F 1.007 +(ariables may also be referenced by name without using the parameter) +-.25 F -.15(ex)108 220.8 S 1.041(pansion syntax.).15 F 3.541(As)6.041 G +1.041(hell v)-3.541 F 1.041(ariable that is null or unset e)-.25 F -.25 +(va)-.25 G 1.04(luates to 0 when referenced by name without).25 F 1.466 +(using the parameter e)108 232.8 R 1.466(xpansion syntax.)-.15 F 1.467 +(The v)6.466 F 1.467(alue of a v)-.25 F 1.467(ariable is e)-.25 F -.25 +(va)-.25 G 1.467(luated as an arithmetic e).25 F(xpression)-.15 E 1.39 +(when it is referenced, or when a v)108 244.8 R 1.389 +(ariable which has been gi)-.25 F -.15(ve)-.25 G 3.889(nt).15 G(he) +-3.889 E F2(inte)3.889 E -.1(ge)-.4 G(r).1 E F0(attrib)3.889 E 1.389 +(ute using)-.2 F F1(declar)3.889 E 3.889(e-)-.18 G(i)-3.889 E F0(is) +3.889 E .343(assigned a v)108 256.8 R 2.843(alue. A)-.25 F .343(null v) +2.843 F .343(alue e)-.25 F -.25(va)-.25 G .343(luates to 0.).25 F 2.843 +(As)5.343 G .343(hell v)-2.843 F .343(ariable need not ha)-.25 F .643 +-.15(ve i)-.2 H .343(ts inte).15 F .344(ger attrib)-.15 F .344 +(ute turned on)-.2 F(to be used in an e)108 268.8 Q(xpression.)-.15 E +1.406(Constants with a leading 0 are interpreted as octal numbers.)108 +285.6 R 3.906(Al)6.406 G 1.406(eading 0x or 0X denotes he)-3.906 F +(xadecimal.)-.15 E .589(Otherwise, numbers tak)108 297.6 R 3.089(et)-.1 +G .589(he form [)-3.089 F F2(base#)A F0 .589(]n, where)B F2(base)3.089 E +F0 .59(is a decimal number between 2 and 64 represent-)3.089 F .093 +(ing the arithmetic base, and)108 309.6 R F2(n)2.593 E F0 .093 +(is a number in that base.)2.593 F(If)5.093 E F2(base#)2.593 E F0 .092 +(is omitted, then base 10 is used.)2.593 F .092(The digits)5.092 F .064 +(greater than 9 are represented by the lo)108 321.6 R .064 +(wercase letters, the uppercase letters, @, and _, in that order)-.25 F +5.065(.I)-.55 G(f)-5.065 E F2(base)2.565 E F0 .433 +(is less than or equal to 36, lo)108 333.6 R .432(wercase and uppercase\ + letters may be used interchangeably to represent num-)-.25 F +(bers between 10 and 35.)108 345.6 Q .234(Operators are e)108 362.4 R +-.25(va)-.25 G .234(luated in order of precedence.).25 F(Sub-e)5.234 E +.234(xpressions in parentheses are e)-.15 F -.25(va)-.25 G .235 +(luated \214rst and may).25 F -.15(ove)108 374.4 S +(rride the precedence rules abo).15 E -.15(ve)-.15 G(.).15 E/F3 10.95 +/Times-Bold@0 SF(CONDITION)72 391.2 Q(AL EXPRESSIONS)-.219 E F0 .256 +(Conditional e)108 403.2 R .256(xpressions are used by the)-.15 F F1([[) +2.755 E F0 .255(compound command and the)2.755 F F1(test)2.755 E F0(and) +2.755 E F1([)2.755 E F0 -.2(bu)2.755 G .255(iltin commands to test).2 F +.77(\214le attrib)108 415.2 R .77 (utes and perform string and arithmetic comparisons.)-.2 F .77 -(Expressions are formed from the follo)5.77 F(wing)-.25 E 1.04 -(unary or binary primaries.)108 201.6 R 1.04(If an)6.04 F(y)-.15 E F1 -(\214le)3.54 E F0(ar)3.54 E 1.041 -(gument to one of the primaries is of the form)-.18 F F1(/de)3.541 E -(v/fd/n)-.15 E F0 3.541(,t)C 1.041(hen \214le)-3.541 F(descriptor)108 -213.6 Q F1(n)3.789 E F0 1.289(is check)3.789 F 3.789(ed. If)-.1 F(the) -3.789 E F1(\214le)3.789 E F0(ar)3.789 E 1.289 -(gument to one of the primaries is one of)-.18 F F1(/de)3.789 E(v/stdin) --.15 E F0(,)A F1(/de)3.788 E(v/stdout)-.15 E F0 3.788(,o)C(r)-3.788 E F1 -(/de)108 225.6 Q(v/stderr)-.15 E F0 2.5<2c8c>C +(Expressions are formed from the follo)5.77 F(wing)-.25 E 1.041 +(unary or binary primaries.)108 427.2 R 1.041(If an)6.041 F(y)-.15 E F2 +(\214le)3.541 E F0(ar)3.541 E 1.04 +(gument to one of the primaries is of the form)-.18 F F2(/de)3.54 E +(v/fd/n)-.15 E F0 3.54(,t)C 1.04(hen \214le)-3.54 F(descriptor)108 439.2 +Q F2(n)3.788 E F0 1.289(is check)3.788 F 3.789(ed. If)-.1 F(the)3.789 E +F2(\214le)3.789 E F0(ar)3.789 E 1.289 +(gument to one of the primaries is one of)-.18 F F2(/de)3.789 E(v/stdin) +-.15 E F0(,)A F2(/de)3.789 E(v/stdout)-.15 E F0 3.789(,o)C(r)-3.789 E F2 +(/de)108 451.2 Q(v/stderr)-.15 E F0 2.5<2c8c>C (le descriptor 0, 1, or 2, respecti)-2.5 E -.15(ve)-.25 G(ly).15 E 2.5 -(,i)-.65 G 2.5(sc)-2.5 G(heck)-2.5 E(ed.)-.1 E .721 +(,i)-.65 G 2.5(sc)-2.5 G(heck)-2.5 E(ed.)-.1 E .722 (Unless otherwise speci\214ed, primaries that operate on \214les follo) -108 242.4 R 3.221(ws)-.25 G .722(ymbolic links and operate on the tar) --3.221 F(get)-.18 E(of the link, rather than the link itself.)108 254.4 -Q F3<ad61>108 278.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.58 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists.).15 E F3<ad62>108 290.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a block special \214le.).15 E F3<ad63>108 302.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists and is a character special \214le.).15 E F3<ad64>108 314.4 Q -F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15 -(ex)2.5 G(ists and is a directory).15 E(.)-.65 E F3<ad65>108 326.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) -2.5 G(ists.).15 E F3<ad66>108 338.4 Q F1(\214le)2.5 E F0 -.35(Tr)12.25 G -(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a re).15 E -(gular \214le.)-.15 E F3<ad67>108 350.4 Q F1(\214le)2.5 E F0 -.35(Tr) -10.58 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is set-group-id.).15 E F3<ad68>108 362.4 Q F1(\214le)2.5 E F0 --.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is a symbolic link.).15 E F3<ad6b>108 374.4 Q F1(\214le)2.5 E -F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G +108 468 R 3.221(ws)-.25 G .721(ymbolic links and operate on the tar) +-3.221 F(get)-.18 E(of the link, rather than the link itself.)108 480 Q +F1<ad61>108 504 Q F2(\214le)2.5 E F0 -.35(Tr)10.58 G(ue if).35 E F2 +(\214le)2.5 E F0 -.15(ex)2.5 G(ists.).15 E F1<ad62>108 516 Q F2(\214le) +2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a block special \214le.).15 E F1<ad63>108 528 Q F2(\214le) +2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a character special \214le.).15 E F1<ad64>108 540 Q F2 +(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex) +2.5 G(ists and is a directory).15 E(.)-.65 E F1<ad65>108 552 Q F2 +(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex) +2.5 G(ists.).15 E F1<ad66>108 564 Q F2(\214le)2.5 E F0 -.35(Tr)12.25 G +(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a re).15 E +(gular \214le.)-.15 E F1<ad67>108 576 Q F2(\214le)2.5 E F0 -.35(Tr)10.58 +G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is set-group-id.).15 E F1<ad68>108 588 Q F2(\214le)2.5 E F0 +-.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a symbolic link.).15 E F1<ad6b>108 600 Q F2(\214le)2.5 E F0 +-.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G (ists and its `).15 E(`stick)-.74 E(y')-.15 E 2.5('b)-.74 G(it is set.) --2.5 E F3<ad70>108 386.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 -E F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a named pipe \(FIFO\).) -.15 E F3<ad72>108 398.4 Q F1(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E -F1(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is readable.).15 E F3<ad73>108 -410.4 Q F1(\214le)2.5 E F0 -.35(Tr)11.69 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and has a size greater than zero.).15 E F3<ad74> -108 422.4 Q F1(fd)2.5 E F0 -.35(Tr)16.69 G(ue if \214le descriptor).35 E -F1(fd)4.47 E F0(is open and refers to a terminal.)3.27 E F3<ad75>108 -434.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and its set-user).15 E(-id bit is set.)-.2 E F3 -<ad77>108 446.4 Q F1(\214le)2.5 E F0 -.35(Tr)8.36 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is writable.).15 E F3<ad78>108 -458.4 Q F1(\214le)2.5 E F0 -.35(Tr)10.58 G(ue if).35 E F1(\214le)2.5 E -F0 -.15(ex)2.5 G(ists and is e).15 E -.15(xe)-.15 G(cutable.).15 E F3 -<ad4f>108 470.4 Q F1(\214le)2.5 E F0 -.35(Tr)7.8 G(ue if).35 E F1 -(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is o).15 E(wned by the ef)-.25 E -(fecti)-.25 E .3 -.15(ve u)-.25 H(ser id.).15 E F3<ad47>108 482.4 Q F1 -(\214le)2.5 E F0 -.35(Tr)7.8 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex) +-2.5 E F1<ad70>108 612 Q F2(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E +F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is a named pipe \(FIFO\).).15 +E F1<ad72>108 624 Q F2(\214le)2.5 E F0 -.35(Tr)11.14 G(ue if).35 E F2 +(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is readable.).15 E F1<ad73>108 +636 Q F2(\214le)2.5 E F0 -.35(Tr)11.69 G(ue if).35 E F2(\214le)2.5 E F0 +-.15(ex)2.5 G(ists and has a size greater than zero.).15 E F1<ad74>108 +648 Q F2(fd)2.5 E F0 -.35(Tr)16.69 G(ue if \214le descriptor).35 E F2 +(fd)4.47 E F0(is open and refers to a terminal.)3.27 E F1<ad75>108 660 Q +F2(\214le)2.5 E F0 -.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15 +(ex)2.5 G(ists and its set-user).15 E(-id bit is set.)-.2 E F1<ad77>108 +672 Q F2(\214le)2.5 E F0 -.35(Tr)8.36 G(ue if).35 E F2(\214le)2.5 E F0 +-.15(ex)2.5 G(ists and is writable.).15 E F1<ad78>108 684 Q F2(\214le) +2.5 E F0 -.35(Tr)10.58 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is e).15 E -.15(xe)-.15 G(cutable.).15 E F1<ad4f>108 696 Q F2 +(\214le)2.5 E F0 -.35(Tr)7.8 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex) 2.5 G(ists and is o).15 E(wned by the ef)-.25 E(fecti)-.25 E .3 -.15 -(ve g)-.25 H(roup id.).15 E F3<ad4c>108 494.4 Q F1(\214le)2.5 E F0 -.35 -(Tr)8.91 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is a symbolic link.).15 E F3<ad53>108 506.4 Q F1(\214le)2.5 E -F0 -.35(Tr)10.02 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and is a sock).15 E(et.)-.1 E F3<ad4e>108 518.4 Q F1(\214le)2.5 E -F0 -.35(Tr)8.36 G(ue if).35 E F1(\214le)2.5 E F0 -.15(ex)2.5 G -(ists and has been modi\214ed since it w).15 E(as last read.)-.1 E F1 -(\214le1)108 530.4 Q F0<ad>2.5 E F3(nt)A F1(\214le2)2.5 E F0 -.35(Tr)144 -542.4 S .039(ue if).35 F F1(\214le1)2.539 E F0 .039(is ne)2.539 F .039 -(wer \(according to modi\214cation date\) than)-.25 F F1(\214le2)2.539 E -F0 2.539(,o)C 2.539(ri)-2.539 G(f)-2.539 E F1(\214le1)2.539 E F0 -.15 -(ex)2.539 G .039(ists and).15 F F1(\214le2)2.539 E F0 .038(does not.) -2.538 F F1(\214le1)108 554.4 Q F0<ad>2.5 E F3(ot)A F1(\214le2)2.5 E F0 --.35(Tr)144 566.4 S(ue if).35 E F1(\214le1)2.5 E F0(is older than)2.5 E -F1(\214le2)2.5 E F0 2.5(,o)C 2.5(ri)-2.5 G(f)-2.5 E F1(\214le2)2.5 E F0 --.15(ex)2.5 G(ists and).15 E F1(\214le1)2.5 E F0(does not.)2.5 E F1 -(\214le1)108 578.4 Q F3(\255ef)2.5 E F1(\214le2)2.5 E F0 -.35(Tr)144 -590.4 S(ue if).35 E F1(\214le1)2.5 E F0(and)2.5 E F1(\214le2)2.5 E F0 -(refer to the same de)2.5 E(vice and inode numbers.)-.25 E F3<ad6f>108 -602.4 Q F1(optname)2.5 E F0 -.35(Tr)144 614.4 S 1.143 -(ue if shell option).35 F F1(optname)3.873 E F0 1.143(is enabled.)3.823 -F 1.144(See the list of options under the description of the)6.143 F F3 -<ad6f>3.644 E F0(option to the)144 626.4 Q F3(set)2.5 E F0 -.2(bu)2.5 G -(iltin belo).2 E -.65(w.)-.25 G F3<ad7a>108 638.4 Q F1(string)2.5 E F0 --.35(Tr)144 650.4 S(ue if the length of).35 E F1(string)2.5 E F0 -(is zero.)2.5 E F1(string)108 662.4 Q F3<ad6e>108 674.4 Q F1(string)2.5 -E F0 -.35(Tr)144 686.4 S(ue if the length of).35 E F1(string)2.84 E F0 -(is non-zero.)2.72 E F1(string1)108 703.2 Q F3(==)2.5 E F1(string2)2.5 E -F0 -.35(Tr)144 715.2 S(ue if the strings are equal.).35 E F3(=)5 E F0 -(may be used in place of)2.5 E F3(==)2.5 E F0 -(for strict POSIX compliance.)2.5 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(26)198.445 E 0 Cg EP +(ve u)-.25 H(ser id.).15 E F1<ad47>108 708 Q F2(\214le)2.5 E F0 -.35(Tr) +7.8 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G(ists and is o).15 E +(wned by the ef)-.25 E(fecti)-.25 E .3 -.15(ve g)-.25 H(roup id.).15 E +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(26)197.335 E 0 Cg EP %%Page: 27 27 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Italic@0 SF(string1)108 84 Q/F2 10/Times-Bold@0 SF -(!=)2.5 E F1(string2)2.5 E F0 -.35(Tr)144 96 S -(ue if the strings are not equal.).35 E F1(string1)108 112.8 Q F2(<)2.5 -E F1(string2)2.5 E F0 -.35(Tr)144 124.8 S(ue if).35 E F1(string1)2.5 E -F0(sorts before)2.5 E F1(string2)2.5 E F0(le)2.5 E -(xicographically in the current locale.)-.15 E F1(string1)108 141.6 Q F2 -(>)2.5 E F1(string2)2.5 E F0 -.35(Tr)144 153.6 S(ue if).35 E F1(string1) -2.5 E F0(sorts after)2.5 E F1(string2)2.5 E F0(le)2.5 E -(xicographically in the current locale.)-.15 E F1(ar)108.33 170.4 Q(g1) --.37 E F2(OP)2.5 E F1(ar)2.5 E(g2)-.37 E/F3 9/Times-Bold@0 SF(OP)144 -182.4 Q F0 .385(is one of)2.635 F F2(\255eq)2.885 E F0(,)A F2(\255ne) -2.885 E F0(,)A F2(\255lt)2.885 E F0(,)A F2(\255le)2.885 E F0(,)A F2 -(\255gt)2.885 E F0 2.885(,o)C(r)-2.885 E F2(\255ge)2.885 E F0 5.385(.T)C -.385(hese arithmetic binary operators return true if)-5.385 F F1(ar) -2.884 E(g1)-.37 E F0 .845(is equal to, not equal to, less than, less th\ -an or equal to, greater than, or greater than or equal to)144 194.4 R F1 -(ar)144 206.4 Q(g2)-.37 E F0 2.5(,r)C(especti)-2.5 E -.15(ve)-.25 G(ly) -.15 E(.)-.65 E F1(Ar)6.01 E(g1)-.37 E F0(and)2.5 E F1(ar)2.83 E(g2)-.37 -E F0(may be positi)2.52 E .3 -.15(ve o)-.25 H 2.5(rn).15 G -2.25 -.15 -(eg a)-2.5 H(ti).15 E .3 -.15(ve i)-.25 H(nte).15 E(gers.)-.15 E/F4 -10.95/Times-Bold@0 SF(SIMPLE COMMAND EXP)72 223.2 Q(ANSION)-.81 E F0 -.614(When a simple command is e)108 235.2 R -.15(xe)-.15 G .614 -(cuted, the shell performs the follo).15 F .613(wing e)-.25 F .613 +-.35 E/F1 10/Times-Bold@0 SF<ad4c>108 84 Q/F2 10/Times-Italic@0 SF +(\214le)2.5 E F0 -.35(Tr)8.91 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex) +2.5 G(ists and is a symbolic link.).15 E F1<ad53>108 96 Q F2(\214le)2.5 +E F0 -.35(Tr)10.02 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and is a sock).15 E(et.)-.1 E F1<ad4e>108 108 Q F2(\214le)2.5 E F0 +-.35(Tr)8.36 G(ue if).35 E F2(\214le)2.5 E F0 -.15(ex)2.5 G +(ists and has been modi\214ed since it w).15 E(as last read.)-.1 E F2 +(\214le1)108 120 Q F0<ad>2.5 E F1(nt)A F2(\214le2)2.5 E F0 -.35(Tr)144 +132 S .038(ue if).35 F F2(\214le1)2.538 E F0 .039(is ne)2.539 F .039 +(wer \(according to modi\214cation date\) than)-.25 F F2(\214le2)2.539 E +F0 2.539(,o)C 2.539(ri)-2.539 G(f)-2.539 E F2(\214le1)2.539 E F0 -.15 +(ex)2.539 G .039(ists and).15 F F2(\214le2)2.539 E F0 .039(does not.) +2.539 F F2(\214le1)108 144 Q F0<ad>2.5 E F1(ot)A F2(\214le2)2.5 E F0 +-.35(Tr)144 156 S(ue if).35 E F2(\214le1)2.5 E F0(is older than)2.5 E F2 +(\214le2)2.5 E F0 2.5(,o)C 2.5(ri)-2.5 G(f)-2.5 E F2(\214le2)2.5 E F0 +-.15(ex)2.5 G(ists and).15 E F2(\214le1)2.5 E F0(does not.)2.5 E F2 +(\214le1)108 168 Q F1(\255ef)2.5 E F2(\214le2)2.5 E F0 -.35(Tr)144 180 S +(ue if).35 E F2(\214le1)2.5 E F0(and)2.5 E F2(\214le2)2.5 E F0 +(refer to the same de)2.5 E(vice and inode numbers.)-.25 E F1<ad6f>108 +192 Q F2(optname)2.5 E F0 -.35(Tr)144 204 S 1.144(ue if shell option).35 +F F2(optname)3.874 E F0 1.144(is enabled.)3.824 F 1.143 +(See the list of options under the description of the)6.144 F F1<ad6f> +3.643 E F0(option to the)144 216 Q F1(set)2.5 E F0 -.2(bu)2.5 G +(iltin belo).2 E -.65(w.)-.25 G F1<ad7a>108 228 Q F2(string)2.5 E F0 +-.35(Tr)144 240 S(ue if the length of).35 E F2(string)2.5 E F0(is zero.) +2.5 E F2(string)108 252 Q F1<ad6e>108 264 Q F2(string)2.5 E F0 -.35(Tr) +144 276 S(ue if the length of).35 E F2(string)2.84 E F0(is non-zero.) +2.72 E F2(string1)108 292.8 Q F1(==)2.5 E F2(string2)2.5 E F0 -.35(Tr) +144 304.8 S(ue if the strings are equal.).35 E F1(=)5 E F0 +(may be used in place of)2.5 E F1(==)2.5 E F0 +(for strict POSIX compliance.)2.5 E F2(string1)108 321.6 Q F1(!=)2.5 E +F2(string2)2.5 E F0 -.35(Tr)144 333.6 S +(ue if the strings are not equal.).35 E F2(string1)108 350.4 Q F1(<)2.5 +E F2(string2)2.5 E F0 -.35(Tr)144 362.4 S(ue if).35 E F2(string1)2.5 E +F0(sorts before)2.5 E F2(string2)2.5 E F0(le)2.5 E +(xicographically in the current locale.)-.15 E F2(string1)108 379.2 Q F1 +(>)2.5 E F2(string2)2.5 E F0 -.35(Tr)144 391.2 S(ue if).35 E F2(string1) +2.5 E F0(sorts after)2.5 E F2(string2)2.5 E F0(le)2.5 E +(xicographically in the current locale.)-.15 E F2(ar)108.33 408 Q(g1) +-.37 E F1(OP)2.5 E F2(ar)2.5 E(g2)-.37 E/F3 9/Times-Bold@0 SF(OP)144 420 +Q F0 .385(is one of)2.634 F F1(\255eq)2.885 E F0(,)A F1(\255ne)2.885 E +F0(,)A F1(\255lt)2.885 E F0(,)A F1(\255le)2.885 E F0(,)A F1(\255gt)2.885 +E F0 2.885(,o)C(r)-2.885 E F1(\255ge)2.885 E F0 5.385(.T)C .385 +(hese arithmetic binary operators return true if)-5.385 F F2(ar)2.885 E +(g1)-.37 E F0 .845(is equal to, not equal to, less than, less than or e\ +qual to, greater than, or greater than or equal to)144 432 R F2(ar)144 +444 Q(g2)-.37 E F0 2.5(,r)C(especti)-2.5 E -.15(ve)-.25 G(ly).15 E(.) +-.65 E F2(Ar)6.01 E(g1)-.37 E F0(and)2.5 E F2(ar)2.83 E(g2)-.37 E F0 +(may be positi)2.52 E .3 -.15(ve o)-.25 H 2.5(rn).15 G -2.25 -.15(eg a) +-2.5 H(ti).15 E .3 -.15(ve i)-.25 H(nte).15 E(gers.)-.15 E/F4 10.95 +/Times-Bold@0 SF(SIMPLE COMMAND EXP)72 460.8 Q(ANSION)-.81 E F0 .613 +(When a simple command is e)108 472.8 R -.15(xe)-.15 G .614 +(cuted, the shell performs the follo).15 F .614(wing e)-.25 F .614 (xpansions, assignments, and redi-)-.15 F(rections, from left to right.) -108 247.2 Q 26(1. The)108 264 R -.1(wo)4.348 G 1.848 -(rds that the parser has mark).1 F 1.848(ed as v)-.1 F 1.849 +108 484.8 Q 26(1. The)108 501.6 R -.1(wo)4.349 G 1.849 +(rds that the parser has mark).1 F 1.848(ed as v)-.1 F 1.848 (ariable assignments \(those preceding the command)-.25 F -(name\) and redirections are sa)144 276 Q -.15(ve)-.2 G 2.5(df).15 G -(or later processing.)-2.5 E 26(2. The)108 292.8 R -.1(wo)3.664 G 1.164 +(name\) and redirections are sa)144 513.6 Q -.15(ve)-.2 G 2.5(df).15 G +(or later processing.)-2.5 E 26(2. The)108 530.4 R -.1(wo)3.663 G 1.163 (rds that are not v).1 F 1.164 -(ariable assignments or redirections are e)-.25 F 3.663(xpanded. If)-.15 -F(an)3.663 E 3.663(yw)-.15 G 1.163(ords remain)-3.763 F .775(after e)144 -304.8 R .775(xpansion, the \214rst w)-.15 F .775(ord is tak)-.1 F .775 +(ariable assignments or redirections are e)-.25 F 3.664(xpanded. If)-.15 +F(an)3.664 E 3.664(yw)-.15 G 1.164(ords remain)-3.764 F .776(after e)144 +542.4 R .776(xpansion, the \214rst w)-.15 F .776(ord is tak)-.1 F .775 (en to be the name of the command and the remaining w)-.1 F(ords)-.1 E -(are the ar)144 316.8 Q(guments.)-.18 E 26(3. Redirections)108 333.6 R +(are the ar)144 554.4 Q(guments.)-.18 E 26(3. Redirections)108 571.2 R (are performed as described abo)2.5 E .3 -.15(ve u)-.15 H(nder).15 E F3 -(REDIRECTION)2.5 E/F5 9/Times-Roman@0 SF(.)A F0 26(4. The)108 350.4 R -(te)3.217 E .717(xt after the)-.15 F F2(=)3.217 E F0 .717(in each v) -3.217 F .717(ariable assignment under)-.25 F .717(goes tilde e)-.18 F -.717(xpansion, parameter e)-.15 F(xpansion,)-.15 E .339 -(command substitution, arithmetic e)144 362.4 R .339 +(REDIRECTION)2.5 E/F5 9/Times-Roman@0 SF(.)A F0 26(4. The)108 588 R(te) +3.216 E .717(xt after the)-.15 F F1(=)3.217 E F0 .717(in each v)3.217 F +.717(ariable assignment under)-.25 F .717(goes tilde e)-.18 F .717 +(xpansion, parameter e)-.15 F(xpansion,)-.15 E .34 +(command substitution, arithmetic e)144 600 R .339 (xpansion, and quote remo)-.15 F -.25(va)-.15 G 2.839(lb).25 G .339 -(efore being assigned to the v)-2.839 F(ari-)-.25 E(able.)144 374.4 Q -.332(If no command name results, the v)108 391.2 R .332 +(efore being assigned to the v)-2.839 F(ari-)-.25 E(able.)144 612 Q .332 +(If no command name results, the v)108 628.8 R .332 (ariable assignments af)-.25 F .332(fect the current shell en)-.25 F -2.832(vironment. Otherwise,)-.4 F(the)2.832 E -.25(va)108 403.2 S .757 +2.833(vironment. Otherwise,)-.4 F(the)2.833 E -.25(va)108 640.8 S .757 (riables are added to the en).25 F .757(vironment of the e)-.4 F -.15 (xe)-.15 G .757(cuted command and do not af).15 F .757 -(fect the current shell en)-.25 F(vi-)-.4 E 3.177(ronment. If)108 415.2 -R(an)3.177 E 3.177(yo)-.15 G 3.177(ft)-3.177 G .677 -(he assignments attempts to assign a v)-3.177 F .677 -(alue to a readonly v)-.25 F .676(ariable, an error occurs, and)-.25 F -(the command e)108 427.2 Q(xits with a non-zero status.)-.15 E .149 -(If no command name results, redirections are performed, b)108 444 R -.149(ut do not af)-.2 F .15(fect the current shell en)-.25 F 2.65 -(vironment. A)-.4 F(redirection error causes the command to e)108 456 Q -(xit with a non-zero status.)-.15 E 1.064 -(If there is a command name left after e)108 472.8 R 1.064(xpansion, e) +(fect the current shell en)-.25 F(vi-)-.4 E 3.176(ronment. If)108 652.8 +R(an)3.176 E 3.176(yo)-.15 G 3.176(ft)-3.176 G .677 +(he assignments attempts to assign a v)-3.176 F .677 +(alue to a readonly v)-.25 F .677(ariable, an error occurs, and)-.25 F +(the command e)108 664.8 Q(xits with a non-zero status.)-.15 E .15 +(If no command name results, redirections are performed, b)108 681.6 R +.149(ut do not af)-.2 F .149(fect the current shell en)-.25 F 2.649 +(vironment. A)-.4 F(redirection error causes the command to e)108 693.6 +Q(xit with a non-zero status.)-.15 E 1.064 +(If there is a command name left after e)108 710.4 R 1.064(xpansion, e) -.15 F -.15(xe)-.15 G 1.064(cution proceeds as described belo).15 F -4.864 -.65(w. O)-.25 H 1.064(therwise, the).65 F .068(command e)108 -484.8 R 2.568(xits. If)-.15 F .069(one of the e)2.568 F .069 -(xpansions contained a command substitution, the e)-.15 F .069 -(xit status of the command)-.15 F .467(is the e)108 496.8 R .466 -(xit status of the last command substitution performed.)-.15 F .466 -(If there were no command substitutions, the)5.466 F(command e)108 508.8 -Q(xits with a status of zero.)-.15 E F4(COMMAND EXECUTION)72 525.6 Q F0 -.546(After a command has been split into w)108 537.6 R .547 +4.864 -.65(w. O)-.25 H 1.064(therwise, the).65 F .069(command e)108 +722.4 R 2.569(xits. If)-.15 F .069(one of the e)2.569 F .069 +(xpansions contained a command substitution, the e)-.15 F .068 +(xit status of the command)-.15 F(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(27)197.335 E 0 Cg EP +%%Page: 28 28 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E .466(is the e)108 84 R .466 +(xit status of the last command substitution performed.)-.15 F .467 +(If there were no command substitutions, the)5.466 F(command e)108 96 Q +(xits with a status of zero.)-.15 E/F1 10.95/Times-Bold@0 SF +(COMMAND EXECUTION)72 112.8 Q F0 .547 +(After a command has been split into w)108 124.8 R .546 (ords, if it results in a simple command and an optional list of ar)-.1 -F(gu-)-.18 E(ments, the follo)108 549.6 Q(wing actions are tak)-.25 E +F(gu-)-.18 E(ments, the follo)108 136.8 Q(wing actions are tak)-.25 E (en.)-.1 E .379(If the command name contains no slashes, the shell atte\ -mpts to locate it.)108 566.4 R .379(If there e)5.379 F .379 +mpts to locate it.)108 153.6 R .379(If there e)5.379 F .379 (xists a shell function by)-.15 F .246(that name, that function is in) -108 578.4 R -.2(vo)-.4 G -.1(ke).2 G 2.746(da).1 G 2.746(sd)-2.746 G -.246(escribed abo)-2.746 F .546 -.15(ve i)-.15 H(n).15 E F3(FUNCTIONS) -2.746 E F5(.)A F0 .246(If the name does not match a func-)4.746 F -(tion, the shell searches for it in the list of shell b)108 590.4 Q 2.5 +108 165.6 R -.2(vo)-.4 G -.1(ke).2 G 2.746(da).1 G 2.746(sd)-2.746 G +.246(escribed abo)-2.746 F .546 -.15(ve i)-.15 H(n).15 E/F2 9 +/Times-Bold@0 SF(FUNCTIONS)2.746 E/F3 9/Times-Roman@0 SF(.)A F0 .246 +(If the name does not match a func-)4.746 F +(tion, the shell searches for it in the list of shell b)108 177.6 Q 2.5 (uiltins. If)-.2 F 2.5(am)2.5 G(atch is found, that b)-2.5 E -(uiltin is in)-.2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E .31 -(If the name is neither a shell function nor a b)108 607.2 R .309 -(uiltin, and contains no slashes,)-.2 F F2(bash)2.809 E F0 .309 -(searches each element of)2.809 F(the)108 619.2 Q F3 -.666(PA)3.162 G -(TH)-.189 E F0 .662(for a directory containing an e)2.912 F -.15(xe)-.15 -G .662(cutable \214le by that name.).15 F F2(Bash)5.662 E F0 .663 -(uses a hash table to remember)3.162 F 1.915(the full pathnames of e)108 -631.2 R -.15(xe)-.15 G 1.915(cutable \214les \(see).15 F F2(hash)4.415 E -F0(under)4.415 E F3 1.915(SHELL B)4.415 F(UIL)-.09 E 1.914(TIN COMMANDS) --.828 F F0(belo)4.164 E 4.414(w\). A)-.25 F(full)4.414 E .719 -(search of the directories in)108 643.2 R F3 -.666(PA)3.219 G(TH)-.189 E -F0 .72(is performed only if the command is not found in the hash table.) -2.969 F .72(If the)5.72 F(search is unsuccessful, the shell prints an e\ -rror message and returns an e)108 655.2 Q(xit status of 127.)-.15 E -1.089(If the search is successful, or if the command name contains one \ -or more slashes, the shell e)108 672 R -.15(xe)-.15 G 1.089(cutes the) -.15 F .197(named program in a separate e)108 684 R -.15(xe)-.15 G .197 -(cution en).15 F 2.698(vironment. Ar)-.4 F .198 -(gument 0 is set to the name gi)-.18 F -.15(ve)-.25 G .198 -(n, and the remain-).15 F(ing ar)108 696 Q +(uiltin is in)-.2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E .309 +(If the name is neither a shell function nor a b)108 194.4 R .31 +(uiltin, and contains no slashes,)-.2 F/F4 10/Times-Bold@0 SF(bash)2.81 +E F0 .31(searches each element of)2.81 F(the)108 206.4 Q F2 -.666(PA) +3.163 G(TH)-.189 E F0 .662(for a directory containing an e)2.913 F -.15 +(xe)-.15 G .662(cutable \214le by that name.).15 F F4(Bash)5.662 E F0 +.662(uses a hash table to remember)3.162 F 1.914 +(the full pathnames of e)108 218.4 R -.15(xe)-.15 G 1.915 +(cutable \214les \(see).15 F F4(hash)4.415 E F0(under)4.415 E F2 1.915 +(SHELL B)4.415 F(UIL)-.09 E 1.915(TIN COMMANDS)-.828 F F0(belo)4.165 E +4.415(w\). A)-.25 F(full)4.415 E .72(search of the directories in)108 +230.4 R F2 -.666(PA)3.22 G(TH)-.189 E F0 .719 +(is performed only if the command is not found in the hash table.)2.97 F +.719(If the)5.719 F .956(search is unsuccessful, the shell searches for\ + a de\214ned shell function named)108 242.4 R F4(command_not_f)3.456 E +(ound_han-)-.25 E(dle)108 254.4 Q F0 5.278(.I)C 2.778(ft)-5.278 G .278 +(hat function e)-2.778 F .278(xists, it is in)-.15 F -.2(vo)-.4 G -.1 +(ke).2 G 2.778(dw).1 G .277 +(ith the original command and the original command')-2.778 F 2.777(sa) +-.55 G -.18(rg)-2.777 G(uments).18 E .775(as its ar)108 266.4 R .775 +(guments, and the function')-.18 F 3.275(se)-.55 G .775 +(xit status becomes the e)-3.425 F .775(xit status of the shell.)-.15 F +.776(If that function is not)5.776 F +(de\214ned, the shell prints an error message and returns an e)108 278.4 +Q(xit status of 127.)-.15 E 1.089(If the search is successful, or if th\ +e command name contains one or more slashes, the shell e)108 295.2 R +-.15(xe)-.15 G 1.089(cutes the).15 F .197(named program in a separate e) +108 307.2 R -.15(xe)-.15 G .197(cution en).15 F 2.698(vironment. Ar)-.4 +F .198(gument 0 is set to the name gi)-.18 F -.15(ve)-.25 G .198 +(n, and the remain-).15 F(ing ar)108 319.2 Q (guments to the command are set to the ar)-.18 E(guments gi)-.18 E -.15 -(ve)-.25 G(n, if an).15 E -.65(y.)-.15 G 1.809(If this e)108 712.8 R --.15(xe)-.15 G 1.809(cution f).15 F 1.809 +(ve)-.25 G(n, if an).15 E -.65(y.)-.15 G 1.809(If this e)108 336 R -.15 +(xe)-.15 G 1.809(cution f).15 F 1.809 (ails because the \214le is not in e)-.1 F -.15(xe)-.15 G 1.809 (cutable format, and the \214le is not a directory).15 F 4.309(,i)-.65 G -4.309(ti)-4.309 G(s)-4.309 E .677(assumed to be a)108 724.8 R F1 .678 -(shell script)3.177 F F0 3.178(,a\214)C .678 +4.309(ti)-4.309 G(s)-4.309 E .677(assumed to be a)108 348 R/F5 10 +/Times-Italic@0 SF .678(shell script)3.177 F F0 3.178(,a\214)C .678 (le containing shell commands.)-3.178 F 3.178(As)5.678 G .678 (ubshell is spa)-3.178 F .678(wned to e)-.15 F -.15(xe)-.15 G .678 -(cute it.).15 F(This)5.678 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 -E(27)198.445 E 0 Cg EP -%%Page: 28 28 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .33(subshell reinitializes itself, so that the ef)108 84 R .33 +(cute it.).15 F(This)5.678 E .33 +(subshell reinitializes itself, so that the ef)108 360 R .33 (fect is as if a ne)-.25 F 2.829(ws)-.25 G .329(hell had been in)-2.829 F -.2(vo)-.4 G -.1(ke).2 G 2.829(dt).1 G 2.829(oh)-2.829 G .329 -(andle the script, with)-2.829 F 1.219(the e)108 96 R 1.219 +(andle the script, with)-2.829 F 1.219(the e)108 372 R 1.219 (xception that the locations of commands remembered by the parent \(see) --.15 F/F1 10/Times-Bold@0 SF(hash)3.719 E F0(belo)3.719 E 3.719(wu)-.25 -G(nder)-3.719 E/F2 9/Times-Bold@0 SF(SHELL)3.719 E -.09(BU)108 108 S(IL) -.09 E(TIN COMMANDS)-.828 E/F3 9/Times-Roman@0 SF(\))A F0 -(are retained by the child.)2.25 E .348(If the program is a \214le be) -108 124.8 R .348(ginning with)-.15 F F1(#!)2.848 E F0 2.848(,t)C .347(h\ +-.15 F F4(hash)3.719 E F0(belo)3.719 E 3.719(wu)-.25 G(nder)-3.719 E F2 +(SHELL)3.719 E -.09(BU)108 384 S(IL).09 E(TIN COMMANDS)-.828 E F3(\))A +F0(are retained by the child.)2.25 E .348(If the program is a \214le be) +108 400.8 R .348(ginning with)-.15 F F4(#!)2.848 E F0 2.848(,t)C .347(h\ e remainder of the \214rst line speci\214es an interpreter for the pro-) --2.848 F 3.178(gram. The)108 136.8 R .678(shell e)3.178 F -.15(xe)-.15 G +-2.848 F 3.178(gram. The)108 412.8 R .678(shell e)3.178 F -.15(xe)-.15 G .678(cutes the speci\214ed interpreter on operating systems that do not\ handle this e).15 F -.15(xe)-.15 G(cutable).15 E 1.193(format themselv) -108 148.8 R 3.693(es. The)-.15 F(ar)3.693 E 1.193 +108 424.8 R 3.693(es. The)-.15 F(ar)3.693 E 1.193 (guments to the interpreter consist of a single optional ar)-.18 F 1.192 (gument follo)-.18 F 1.192(wing the)-.25 F 1.13 -(interpreter name on the \214rst line of the program, follo)108 160.8 R +(interpreter name on the \214rst line of the program, follo)108 436.8 R 1.131(wed by the name of the program, follo)-.25 F 1.131(wed by the)-.25 -F(command ar)108 172.8 Q(guments, if an)-.18 E -.65(y.)-.15 G/F4 10.95 -/Times-Bold@0 SF(COMMAND EXECUTION ENVIR)72 189.6 Q(ONMENT)-.329 E F0 -(The shell has an)108 201.6 Q/F5 10/Times-Italic@0 SF -.2(ex)2.5 G -(ecution en).2 E(vir)-.4 E(onment)-.45 E F0 2.5(,w)C -(hich consists of the follo)-2.5 E(wing:)-.25 E 32.5<836f>108 230.4 S -1.406(pen \214les inherited by the shell at in)-32.5 F -.2(vo)-.4 G -1.405(cation, as modi\214ed by redirections supplied to the).2 F F1 -(exec)3.905 E F0 -.2(bu)144 242.4 S(iltin).2 E 32.5<8374>108 259.2 S -(he current w)-32.5 E(orking directory as set by)-.1 E F1(cd)2.5 E F0(,) -A F1(pushd)2.5 E F0 2.5(,o)C(r)-2.5 E F1(popd)2.5 E F0 2.5(,o)C 2.5(ri) +F(command ar)108 448.8 Q(guments, if an)-.18 E -.65(y.)-.15 G F1 +(COMMAND EXECUTION ENVIR)72 465.6 Q(ONMENT)-.329 E F0(The shell has an) +108 477.6 Q F5 -.2(ex)2.5 G(ecution en).2 E(vir)-.4 E(onment)-.45 E F0 +2.5(,w)C(hich consists of the follo)-2.5 E(wing:)-.25 E 32.5<836f>108 +506.4 S 1.406(pen \214les inherited by the shell at in)-32.5 F -.2(vo) +-.4 G 1.405(cation, as modi\214ed by redirections supplied to the).2 F +F4(exec)3.905 E F0 -.2(bu)144 518.4 S(iltin).2 E 32.5<8374>108 535.2 S +(he current w)-32.5 E(orking directory as set by)-.1 E F4(cd)2.5 E F0(,) +A F4(pushd)2.5 E F0 2.5(,o)C(r)-2.5 E F4(popd)2.5 E F0 2.5(,o)C 2.5(ri) -2.5 G(nherited by the shell at in)-2.5 E -.2(vo)-.4 G(cation).2 E 32.5 -<8374>108 276 S(he \214le creation mode mask as set by)-32.5 E F1(umask) +<8374>108 552 S(he \214le creation mode mask as set by)-32.5 E F4(umask) 2.5 E F0(or inherited from the shell')2.5 E 2.5(sp)-.55 G(arent)-2.5 E -32.5<8363>108 292.8 S(urrent traps set by)-32.5 E F1(trap)2.5 E F0 32.5 -<8373>108 309.6 S .256(hell parameters that are set by v)-32.5 F .256 -(ariable assignment or with)-.25 F F1(set)2.756 E F0 .257 +32.5<8363>108 568.8 S(urrent traps set by)-32.5 E F4(trap)2.5 E F0 32.5 +<8373>108 585.6 S .256(hell parameters that are set by v)-32.5 F .256 +(ariable assignment or with)-.25 F F4(set)2.756 E F0 .257 (or inherited from the shell')2.756 F 2.757(sp)-.55 G(arent)-2.757 E -(in the en)144 321.6 Q(vironment)-.4 E 32.5<8373>108 338.4 S +(in the en)144 597.6 Q(vironment)-.4 E 32.5<8373>108 614.4 S (hell functions de\214ned during e)-32.5 E -.15(xe)-.15 G (cution or inherited from the shell').15 E 2.5(sp)-.55 G -(arent in the en)-2.5 E(vironment)-.4 E 32.5<836f>108 355.2 S +(arent in the en)-2.5 E(vironment)-.4 E 32.5<836f>108 631.2 S (ptions enabled at in)-32.5 E -.2(vo)-.4 G(cation \(either by def).2 E -(ault or with command-line ar)-.1 E(guments\) or by)-.18 E F1(set)2.5 E -F0 32.5<836f>108 372 S(ptions enabled by)-32.5 E F1(shopt)2.5 E F0 32.5 -<8373>108 388.8 S(hell aliases de\214ned with)-32.5 E F1(alias)2.5 E F0 -32.5<8376>108 405.6 S +(ault or with command-line ar)-.1 E(guments\) or by)-.18 E F4(set)2.5 E +F0 32.5<836f>108 648 S(ptions enabled by)-32.5 E F4(shopt)2.5 E F0 32.5 +<8373>108 664.8 S(hell aliases de\214ned with)-32.5 E F4(alias)2.5 E F0 +32.5<8376>108 681.6 S (arious process IDs, including those of background jobs, the v)-32.75 E -(alue of)-.25 E F1($$)2.5 E F0 2.5(,a)C(nd the v)-2.5 E(alue of)-.25 E -F1($PPID)2.5 E F0 .427(When a simple command other than a b)108 422.4 R +(alue of)-.25 E F4($$)2.5 E F0 2.5(,a)C(nd the v)-2.5 E(alue of)-.25 E +F4($PPID)2.5 E F0 .427(When a simple command other than a b)108 698.4 R .426(uiltin or shell function is to be e)-.2 F -.15(xe)-.15 G .426 (cuted, it is in).15 F -.2(vo)-.4 G -.1(ke).2 G 2.926(di).1 G 2.926(nas) --2.926 G(eparate)-2.926 E -.15(exe)108 434.4 S .133(cution en).15 F .133 +-2.926 G(eparate)-2.926 E -.15(exe)108 710.4 S .133(cution en).15 F .133 (vironment that consists of the follo)-.4 F 2.634(wing. Unless)-.25 F .134(otherwise noted, the v)2.634 F .134(alues are inherited from)-.25 F -(the shell.)108 446.4 Q 32.5<8374>108 475.2 S 1.056(he shell')-32.5 F -3.556(so)-.55 G 1.056(pen \214les, plus an)-3.556 F 3.556(ym)-.15 G -1.056 +(the shell.)108 722.4 Q(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(28) +197.335 E 0 Cg EP +%%Page: 29 29 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E 32.5<8374>108 84 S 1.056(he shell')-32.5 F 3.556(so)-.55 G 1.056 +(pen \214les, plus an)-3.556 F 3.556(ym)-.15 G 1.056 (odi\214cations and additions speci\214ed by redirections to the com-) --3.556 F(mand)144 487.2 Q 32.5<8374>108 504 S(he current w)-32.5 E -(orking directory)-.1 E 32.5<8374>108 520.8 S -(he \214le creation mode mask)-32.5 E 32.5<8373>108 537.6 S .856(hell v) +-3.556 F(mand)144 96 Q 32.5<8374>108 112.8 S(he current w)-32.5 E +(orking directory)-.1 E 32.5<8374>108 129.6 S +(he \214le creation mode mask)-32.5 E 32.5<8373>108 146.4 S .856(hell v) -32.5 F .857(ariables and functions mark)-.25 F .857(ed for e)-.1 F .857 (xport, along with v)-.15 F .857(ariables e)-.25 F .857 -(xported for the command,)-.15 F(passed in the en)144 549.6 Q(vironment) --.4 E 32.5<8374>108 566.4 S .307 +(xported for the command,)-.15 F(passed in the en)144 158.4 Q(vironment) +-.4 E 32.5<8374>108 175.2 S .307 (raps caught by the shell are reset to the v)-32.5 F .306 (alues inherited from the shell')-.25 F 2.806(sp)-.55 G .306 -(arent, and traps ignored)-2.806 F(by the shell are ignored)144 578.4 Q -2.5(Ac)108 595.2 S(ommand in)-2.5 E -.2(vo)-.4 G -.1(ke).2 G 2.5(di).1 G +(arent, and traps ignored)-2.806 F(by the shell are ignored)144 187.2 Q +2.5(Ac)108 204 S(ommand in)-2.5 E -.2(vo)-.4 G -.1(ke).2 G 2.5(di).1 G 2.5(nt)-2.5 G(his separate en)-2.5 E(vironment cannot af)-.4 E (fect the shell')-.25 E 2.5(se)-.55 G -.15(xe)-2.65 G(cution en).15 E (vironment.)-.4 E .577(Command substitution, commands grouped with pare\ -ntheses, and asynchronous commands are in)108 612 R -.2(vo)-.4 G -.1(ke) -.2 G 3.078(di).1 G(n)-3.078 E 2.745(as)108 624 S .245(ubshell en)-2.745 -F .245(vironment that is a duplicate of the shell en)-.4 F .244 +ntheses, and asynchronous commands are in)108 220.8 R -.2(vo)-.4 G -.1 +(ke).2 G 3.078(di).1 G(n)-3.078 E 2.745(as)108 232.8 S .245(ubshell en) +-2.745 F .245(vironment that is a duplicate of the shell en)-.4 F .244 (vironment, e)-.4 F .244(xcept that traps caught by the shell are)-.15 F -.358(reset to the v)108 636 R .358 +.358(reset to the v)108 244.8 R .358 (alues that the shell inherited from its parent at in)-.25 F -.2(vo)-.4 G 2.858(cation. Builtin).2 F .359(commands that are in)2.859 F -.2(vo) --.4 G -.1(ke).2 G(d).1 E .857(as part of a pipeline are also e)108 648 R --.15(xe)-.15 G .856(cuted in a subshell en).15 F 3.356 +-.4 G -.1(ke).2 G(d).1 E .857(as part of a pipeline are also e)108 256.8 +R -.15(xe)-.15 G .856(cuted in a subshell en).15 F 3.356 (vironment. Changes)-.4 F .856(made to the subshell en)3.356 F(viron-) --.4 E(ment cannot af)108 660 Q(fect the shell')-.25 E 2.5(se)-.55 G -.15 -(xe)-2.65 G(cution en).15 E(vironment.)-.4 E .404(If a command is follo) -108 676.8 R .404(wed by a)-.25 F F1(&)2.904 E F0 .405 -(and job control is not acti)2.904 F -.15(ve)-.25 G 2.905(,t).15 G .405 -(he def)-2.905 F .405(ault standard input for the command)-.1 F .198 -(is the empty \214le)108 688.8 R F5(/de)2.698 E(v/null)-.15 E F0 5.198 -(.O)C .198(therwise, the in)-5.198 F -.2(vo)-.4 G -.1(ke).2 G 2.698(dc) -.1 G .197(ommand inherits the \214le descriptors of the calling shell) --2.698 F(as modi\214ed by redirections.)108 700.8 Q(GNU Bash-3.2)72 768 -Q(2008 April 5)148.455 E(28)198.445 E 0 Cg EP -%%Page: 29 29 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10.95/Times-Bold@0 SF(ENVIR)72 84 Q(ONMENT)-.329 E F0 2.353 -(When a program is in)108 96 R -.2(vo)-.4 G -.1(ke).2 G 4.853(di).1 G -4.853(ti)-4.853 G 4.853(sg)-4.853 G -2.15 -.25(iv e)-4.853 H 4.853(na) -.25 G 4.853(na)-4.853 G 2.353(rray of strings called the)-4.853 F/F2 10 -/Times-Italic@0 SF(en)4.853 E(vir)-.4 E(onment)-.45 E F0 7.353(.T).68 G -2.354(his is a list of)-7.353 F F2(name)108 108 Q F0<ad>A F2(value)A F0 -(pairs, of the form)2.5 E F2(name)2.5 E F0(=)A F2(value)A F0(.).18 E -1.486(The shell pro)108 124.8 R 1.486(vides se)-.15 F -.15(ve)-.25 G -1.486(ral w).15 F 1.485(ays to manipulate the en)-.1 F 3.985 -(vironment. On)-.4 F(in)3.985 E -.2(vo)-.4 G 1.485 -(cation, the shell scans its o).2 F(wn)-.25 E(en)108 136.8 Q .144(viron\ +-.4 E(ment cannot af)108 268.8 Q(fect the shell')-.25 E 2.5(se)-.55 G +-.15(xe)-2.65 G(cution en).15 E(vironment.)-.4 E .404 +(If a command is follo)108 285.6 R .404(wed by a)-.25 F/F1 10 +/Times-Bold@0 SF(&)2.904 E F0 .405(and job control is not acti)2.904 F +-.15(ve)-.25 G 2.905(,t).15 G .405(he def)-2.905 F .405 +(ault standard input for the command)-.1 F .198(is the empty \214le)108 +297.6 R/F2 10/Times-Italic@0 SF(/de)2.698 E(v/null)-.15 E F0 5.198(.O)C +.198(therwise, the in)-5.198 F -.2(vo)-.4 G -.1(ke).2 G 2.698(dc).1 G +.197(ommand inherits the \214le descriptors of the calling shell)-2.698 +F(as modi\214ed by redirections.)108 309.6 Q/F3 10.95/Times-Bold@0 SF +(ENVIR)72 326.4 Q(ONMENT)-.329 E F0 2.353(When a program is in)108 338.4 +R -.2(vo)-.4 G -.1(ke).2 G 4.853(di).1 G 4.853(ti)-4.853 G 4.853(sg) +-4.853 G -2.15 -.25(iv e)-4.853 H 4.853(na).25 G 4.853(na)-4.853 G 2.353 +(rray of strings called the)-4.853 F F2(en)4.853 E(vir)-.4 E(onment)-.45 +E F0 7.353(.T).68 G 2.354(his is a list of)-7.353 F F2(name)108 350.4 Q +F0<ad>A F2(value)A F0(pairs, of the form)2.5 E F2(name)2.5 E F0(=)A F2 +(value)A F0(.).18 E 1.486(The shell pro)108 367.2 R 1.486(vides se)-.15 +F -.15(ve)-.25 G 1.486(ral w).15 F 1.485(ays to manipulate the en)-.1 F +3.985(vironment. On)-.4 F(in)3.985 E -.2(vo)-.4 G 1.485 +(cation, the shell scans its o).2 F(wn)-.25 E(en)108 379.2 Q .144(viron\ ment and creates a parameter for each name found, automatically marking\ it for)-.4 F F2 -.2(ex)2.644 G(port).2 E F0 .144(to child pro-)3.324 F -2.704(cesses. Ex)108 148.8 R .203(ecuted commands inherit the en)-.15 F -2.703(vironment. The)-.4 F/F3 10/Times-Bold@0 SF(export)2.703 E F0(and) -2.703 E F3(declar)2.703 E 2.703<65ad>-.18 G(x)-2.703 E F0 .203 -(commands allo)2.703 F 2.703(wp)-.25 G(aram-)-2.703 E 1.153 -(eters and functions to be added to and deleted from the en)108 160.8 R +2.704(cesses. Ex)108 391.2 R .203(ecuted commands inherit the en)-.15 F +2.703(vironment. The)-.4 F F1(export)2.703 E F0(and)2.703 E F1(declar) +2.703 E 2.703<65ad>-.18 G(x)-2.703 E F0 .203(commands allo)2.703 F 2.703 +(wp)-.25 G(aram-)-2.703 E 1.153 +(eters and functions to be added to and deleted from the en)108 403.2 R 3.653(vironment. If)-.4 F 1.153(the v)3.653 F 1.154 -(alue of a parameter in the)-.25 F(en)108 172.8 Q .64 +(alue of a parameter in the)-.25 F(en)108 415.2 Q .64 (vironment is modi\214ed, the ne)-.4 F 3.14(wv)-.25 G .64 (alue becomes part of the en)-3.39 F .64(vironment, replacing the old.) --.4 F .64(The en)5.64 F(viron-)-.4 E .58(ment inherited by an)108 184.8 +-.4 F .64(The en)5.64 F(viron-)-.4 E .58(ment inherited by an)108 427.2 R 3.08(ye)-.15 G -.15(xe)-3.23 G .58 (cuted command consists of the shell').15 F 3.08(si)-.55 G .58 (nitial en)-3.08 F .58(vironment, whose v)-.4 F .58(alues may be)-.25 F -.301(modi\214ed in the shell, less an)108 196.8 R 2.801(yp)-.15 G .301 +.301(modi\214ed in the shell, less an)108 439.2 R 2.801(yp)-.15 G .301 (airs remo)-2.801 F -.15(ve)-.15 G 2.801(db).15 G 2.801(yt)-2.801 G(he) --2.801 E F3(unset)2.801 E F0 .3(command, plus an)2.8 F 2.8(ya)-.15 G .3 -(dditions via the)-2.8 F F3(export)2.8 E F0(and)2.8 E F3(declar)108 -208.8 Q 2.5<65ad>-.18 G(x)-2.5 E F0(commands.)2.5 E .562(The en)108 -225.6 R .562(vironment for an)-.4 F(y)-.15 E F2 .562(simple command) -3.402 F F0 .563 -(or function may be augmented temporarily by pre\214xing it with)3.833 F -.203(parameter assignments, as described abo)108 237.6 R .502 -.15(ve i) --.15 H(n).15 E/F4 9/Times-Bold@0 SF -.666(PA)2.702 G(RAMETERS).666 E/F5 -9/Times-Roman@0 SF(.)A F0 .202(These assignment statements af)4.702 F -.202(fect only the)-.25 F(en)108 249.6 Q -(vironment seen by that command.)-.4 E .81(If the)108 266.4 R F3<ad6b> -3.31 E F0 .81(option is set \(see the)3.31 F F3(set)3.31 E F0 -.2(bu) +-2.801 E F1(unset)2.801 E F0 .3(command, plus an)2.8 F 2.8(ya)-.15 G .3 +(dditions via the)-2.8 F F1(export)2.8 E F0(and)2.8 E F1(declar)108 +451.2 Q 2.5<65ad>-.18 G(x)-2.5 E F0(commands.)2.5 E .562(The en)108 468 +R .562(vironment for an)-.4 F(y)-.15 E F2 .562(simple command)3.402 F F0 +.563(or function may be augmented temporarily by pre\214xing it with) +3.833 F .203(parameter assignments, as described abo)108 480 R .502 -.15 +(ve i)-.15 H(n).15 E/F4 9/Times-Bold@0 SF -.666(PA)2.702 G(RAMETERS).666 +E/F5 9/Times-Roman@0 SF(.)A F0 .202(These assignment statements af)4.702 +F .202(fect only the)-.25 F(en)108 492 Q +(vironment seen by that command.)-.4 E .81(If the)108 508.8 R F1<ad6b> +3.31 E F0 .81(option is set \(see the)3.31 F F1(set)3.31 E F0 -.2(bu) 3.31 G .81(iltin command belo).2 F .81(w\), then)-.25 F F2(all)3.64 E F0 -.81(parameter assignments are placed in)3.82 F(the en)108 278.4 Q +.81(parameter assignments are placed in)3.82 F(the en)108 520.8 Q (vironment for a command, not just those that precede the command name.) --.4 E(When)108 295.2 Q F3(bash)3.397 E F0(in)3.397 E -.2(vo)-.4 G -.1 +-.4 E(When)108 537.6 Q F1(bash)3.397 E F0(in)3.397 E -.2(vo)-.4 G -.1 (ke).2 G 3.397(sa).1 G 3.397(ne)-3.397 G .897(xternal command, the v) --3.547 F(ariable)-.25 E F3(_)3.397 E F0 .897 +-3.547 F(ariable)-.25 E F1(_)3.397 E F0 .897 (is set to the full \214le name of the command and)3.397 F -(passed to that command in its en)108 307.2 Q(vironment.)-.4 E F1 -(EXIT ST)72 324 Q -1.04(AT)-.986 G(US)1.04 E F0 .15(The e)108 336 R .15 -(xit status of an e)-.15 F -.15(xe)-.15 G .15(cuted command is the v).15 -F .151(alue returned by the)-.25 F F2(waitpid)2.651 E F0 .151 +(passed to that command in its en)108 549.6 Q(vironment.)-.4 E F3 +(EXIT ST)72 566.4 Q -1.04(AT)-.986 G(US)1.04 E F0 .15(The e)108 578.4 R +.15(xit status of an e)-.15 F -.15(xe)-.15 G .15(cuted command is the v) +.15 F .151(alue returned by the)-.25 F F2(waitpid)2.651 E F0 .151 (system call or equi)2.651 F -.25(va)-.25 G .151(lent func-).25 F 2.848 -(tion. Exit)108 348 R .348(statuses f)2.848 F .347 +(tion. Exit)108 590.4 R .348(statuses f)2.848 F .347 (all between 0 and 255, though, as e)-.1 F .347(xplained belo)-.15 F 1.647 -.65(w, t)-.25 H .347(he shell may use v).65 F .347(alues abo)-.25 -F .647 -.15(ve 1)-.15 H(25).15 E(specially)108 360 Q 5.673(.E)-.65 G +F .647 -.15(ve 1)-.15 H(25).15 E(specially)108 602.4 Q 5.673(.E)-.65 G .673(xit statuses from shell b)-5.673 F .673 (uiltins and compound commands are also limited to this range. Under)-.2 -F(certain circumstances, the shell will use special v)108 372 Q +F(certain circumstances, the shell will use special v)108 614.4 Q (alues to indicate speci\214c f)-.25 E(ailure modes.)-.1 E -.15(Fo)108 -388.8 S 3.373(rt).15 G .873(he shell')-3.373 F 3.373(sp)-.55 G .873 +631.2 S 3.373(rt).15 G .873(he shell')-3.373 F 3.373(sp)-.55 G .873 (urposes, a command which e)-3.373 F .873(xits with a zero e)-.15 F .873 (xit status has succeeded.)-.15 F .872(An e)5.872 F .872(xit status of) --.15 F .048(zero indicates success.)108 400.8 R 2.548(An)5.048 G .049 +-.15 F .048(zero indicates success.)108 643.2 R 2.548(An)5.048 G .049 (on-zero e)-2.548 F .049(xit status indicates f)-.15 F 2.549 (ailure. When)-.1 F 2.549(ac)2.549 G .049(ommand terminates on a f) --2.549 F .049(atal sig-)-.1 F(nal)108 412.8 Q F2(N)2.5 E F0(,)A F3(bash) +-2.549 F .049(atal sig-)-.1 F(nal)108 655.2 Q F2(N)2.5 E F0(,)A F1(bash) 2.5 E F0(uses the v)2.5 E(alue of 128+)-.25 E F2(N)A F0(as the e)2.5 E (xit status.)-.15 E .405 -(If a command is not found, the child process created to e)108 429.6 R +(If a command is not found, the child process created to e)108 672 R -.15(xe)-.15 G .404(cute it returns a status of 127.).15 F .404 -(If a command is)5.404 F(found b)108 441.6 Q(ut is not e)-.2 E -.15(xe) --.15 G(cutable, the return status is 126.).15 E(If a command f)108 458.4 +(If a command is)5.404 F(found b)108 684 Q(ut is not e)-.2 E -.15(xe) +-.15 G(cutable, the return status is 126.).15 E(If a command f)108 700.8 Q(ails because of an error during e)-.1 E (xpansion or redirection, the e)-.15 E(xit status is greater than zero.) --.15 E .08(Shell b)108 475.2 R .08 +-.15 E .08(Shell b)108 717.6 R .08 (uiltin commands return a status of 0 \()-.2 F F2(true)A F0 2.581(\)i)C 2.581(fs)-2.581 G .081(uccessful, and non-zero \()-2.581 F F2(false)A F0 2.581(\)i)C 2.581(fa)-2.581 G 2.581(ne)-2.581 G .081(rror occurs while) --2.581 F(the)108 487.2 Q 2.5(ye)-.15 G -.15(xe)-2.65 G 2.5(cute. All).15 +-2.581 F(the)108 729.6 Q 2.5(ye)-.15 G -.15(xe)-2.65 G 2.5(cute. All).15 F -.2(bu)2.5 G(iltins return an e).2 E -(xit status of 2 to indicate incorrect usage.)-.15 E F3(Bash)108 504 Q -F0 .202(itself returns the e)2.702 F .202 -(xit status of the last command e)-.15 F -.15(xe)-.15 G .201 -(cuted, unless a syntax error occurs, in which case).15 F(it e)108 516 Q -(xits with a non-zero v)-.15 E 2.5(alue. See)-.25 F(also the)2.5 E F3 -(exit)2.5 E F0 -.2(bu)2.5 G(iltin command belo).2 E -.65(w.)-.25 G F1 -(SIGN)72 532.8 Q(ALS)-.219 E F0(When)108 544.8 Q F3(bash)3.182 E F0 .682 -(is interacti)3.182 F -.15(ve)-.25 G 3.182(,i).15 G 3.182(nt)-3.182 G -.682(he absence of an)-3.182 F 3.183(yt)-.15 G .683(raps, it ignores) --3.183 F F4(SIGTERM)3.183 E F0 .683(\(so that)2.933 F F3 .683(kill 0) -3.183 F F0 .683(does not kill an)3.183 F(interacti)108 556.8 Q .758 -.15 -(ve s)-.25 H .458(hell\), and).15 F F4(SIGINT)2.958 E F0 .458 -(is caught and handled \(so that the)2.708 F F3(wait)2.958 E F0 -.2(bu) -2.958 G .457(iltin is interruptible\).).2 F .457(In all cases,)5.457 F -F3(bash)108 568.8 Q F0(ignores)2.5 E F4(SIGQ)2.5 E(UIT)-.09 E F5(.)A F0 -(If job control is in ef)4.5 E(fect,)-.25 E F3(bash)2.5 E F0(ignores)2.5 -E F4(SIGTTIN)2.5 E F5(,)A F4(SIGTT)2.25 E(OU)-.162 E F5(,)A F0(and)2.25 -E F4(SIGTSTP)2.5 E F5(.)A F0(Non-b)108 585.6 Q 1.064 -(uiltin commands run by)-.2 F F3(bash)3.564 E F0(ha)3.564 E 1.365 -.15 -(ve s)-.2 H 1.065(ignal handlers set to the v).15 F 1.065 -(alues inherited by the shell from its)-.25 F 3.248(parent. When)108 -597.6 R .748(job control is not in ef)3.248 F .747 -(fect, asynchronous commands ignore)-.25 F F4(SIGINT)3.247 E F0(and) -2.997 E F4(SIGQ)3.247 E(UIT)-.09 E F0 .747(in addi-)2.997 F .652 -(tion to these inherited handlers.)108 609.6 R .653 +(xit status of 2 to indicate incorrect usage.)-.15 E(GNU Bash-4.0)72 768 +Q(2008 May 25)147.345 E(29)197.335 E 0 Cg EP +%%Page: 30 30 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(Bash)108 84 Q F0 .202(itself returns the e) +2.702 F .202(xit status of the last command e)-.15 F -.15(xe)-.15 G .201 +(cuted, unless a syntax error occurs, in which case).15 F(it e)108 96 Q +(xits with a non-zero v)-.15 E 2.5(alue. See)-.25 F(also the)2.5 E F1 +(exit)2.5 E F0 -.2(bu)2.5 G(iltin command belo).2 E -.65(w.)-.25 G/F2 +10.95/Times-Bold@0 SF(SIGN)72 112.8 Q(ALS)-.219 E F0(When)108 124.8 Q F1 +(bash)3.182 E F0 .682(is interacti)3.182 F -.15(ve)-.25 G 3.182(,i).15 G +3.182(nt)-3.182 G .682(he absence of an)-3.182 F 3.183(yt)-.15 G .683 +(raps, it ignores)-3.183 F/F3 9/Times-Bold@0 SF(SIGTERM)3.183 E F0 .683 +(\(so that)2.933 F F1 .683(kill 0)3.183 F F0 .683(does not kill an)3.183 +F(interacti)108 136.8 Q .758 -.15(ve s)-.25 H .458(hell\), and).15 F F3 +(SIGINT)2.958 E F0 .458(is caught and handled \(so that the)2.708 F F1 +(wait)2.958 E F0 -.2(bu)2.958 G .457(iltin is interruptible\).).2 F .457 +(In all cases,)5.457 F F1(bash)108 148.8 Q F0(ignores)2.5 E F3(SIGQ)2.5 +E(UIT)-.09 E/F4 9/Times-Roman@0 SF(.)A F0(If job control is in ef)4.5 E +(fect,)-.25 E F1(bash)2.5 E F0(ignores)2.5 E F3(SIGTTIN)2.5 E F4(,)A F3 +(SIGTT)2.25 E(OU)-.162 E F4(,)A F0(and)2.25 E F3(SIGTSTP)2.5 E F4(.)A F0 +(Non-b)108 165.6 Q 1.064(uiltin commands run by)-.2 F F1(bash)3.564 E F0 +(ha)3.564 E 1.365 -.15(ve s)-.2 H 1.065(ignal handlers set to the v).15 +F 1.065(alues inherited by the shell from its)-.25 F 3.248(parent. When) +108 177.6 R .748(job control is not in ef)3.248 F .747 +(fect, asynchronous commands ignore)-.25 F F3(SIGINT)3.247 E F0(and) +2.997 E F3(SIGQ)3.247 E(UIT)-.09 E F0 .747(in addi-)2.997 F .652 +(tion to these inherited handlers.)108 189.6 R .653 (Commands run as a result of command substitution ignore the k)5.652 F --.15(ey)-.1 G(board-).15 E(generated job control signals)108 621.6 Q F4 -(SIGTTIN)2.5 E F5(,)A F4(SIGTT)2.25 E(OU)-.162 E F5(,)A F0(and)2.25 E F4 -(SIGTSTP)2.5 E F5(.)A F0 2.046(The shell e)108 638.4 R 2.046 -(xits by def)-.15 F 2.045(ault upon receipt of a)-.1 F F4(SIGHUP)4.545 E -F5(.)A F0 2.045(Before e)6.545 F 2.045(xiting, an interacti)-.15 F 2.345 --.15(ve s)-.25 H 2.045(hell resends the).15 F F4(SIGHUP)108 650.4 Q F0 +-.15(ey)-.1 G(board-).15 E(generated job control signals)108 201.6 Q F3 +(SIGTTIN)2.5 E F4(,)A F3(SIGTT)2.25 E(OU)-.162 E F4(,)A F0(and)2.25 E F3 +(SIGTSTP)2.5 E F4(.)A F0 2.046(The shell e)108 218.4 R 2.046 +(xits by def)-.15 F 2.045(ault upon receipt of a)-.1 F F3(SIGHUP)4.545 E +F4(.)A F0 2.045(Before e)6.545 F 2.045(xiting, an interacti)-.15 F 2.345 +-.15(ve s)-.25 H 2.045(hell resends the).15 F F3(SIGHUP)108 230.4 Q F0 1.004(to all jobs, running or stopped.)3.254 F 1.004 -(Stopped jobs are sent)6.004 F F4(SIGCONT)3.505 E F0 1.005 +(Stopped jobs are sent)6.004 F F3(SIGCONT)3.505 E F0 1.005 (to ensure that the)3.255 F 3.505(yr)-.15 G(ecei)-3.505 E 1.305 -.15 -(ve t)-.25 H(he).15 E F4(SIGHUP)108 662.4 Q F5(.)A F0 2.53 -.8(To p)5.43 +(ve t)-.25 H(he).15 E F3(SIGHUP)108 242.4 Q F4(.)A F0 2.53 -.8(To p)5.43 H(re).8 E -.15(ve)-.25 G .93(nt the shell from sending the signal to a \ particular job, it should be remo).15 F -.15(ve)-.15 G 3.429(df).15 G -.929(rom the)-3.429 F 1.356(jobs table with the)108 674.4 R F3(diso) -3.856 E(wn)-.1 E F0 -.2(bu)3.856 G 1.356(iltin \(see).2 F F4 1.356 +.929(rom the)-3.429 F 1.356(jobs table with the)108 254.4 R F1(diso) +3.856 E(wn)-.1 E F0 -.2(bu)3.856 G 1.356(iltin \(see).2 F F3 1.356 (SHELL B)3.856 F(UIL)-.09 E 1.356(TIN COMMANDS)-.828 F F0(belo)3.607 E -1.357(w\) or mark)-.25 F 1.357(ed to not recei)-.1 F -.15(ve)-.25 G F4 -(SIGHUP)108 686.4 Q F0(using)2.25 E F3(diso)2.5 E(wn \255h)-.1 E F0(.)A -.166(If the)108 703.2 R F3(huponexit)2.666 E F0 .166 -(shell option has been set with)2.666 F F3(shopt)2.666 E F0(,)A F3(bash) -2.666 E F0 .166(sends a)2.666 F F4(SIGHUP)2.666 E F0 .166 +1.357(w\) or mark)-.25 F 1.357(ed to not recei)-.1 F -.15(ve)-.25 G F3 +(SIGHUP)108 266.4 Q F0(using)2.25 E F1(diso)2.5 E(wn \255h)-.1 E F0(.)A +.166(If the)108 283.2 R F1(huponexit)2.666 E F0 .166 +(shell option has been set with)2.666 F F1(shopt)2.666 E F0(,)A F1(bash) +2.666 E F0 .166(sends a)2.666 F F3(SIGHUP)2.666 E F0 .166 (to all jobs when an interacti)2.416 F -.15(ve)-.25 G(login shell e)108 -715.2 Q(xits.)-.15 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(29) -198.445 E 0 Cg EP -%%Page: 30 30 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(If)108 84 Q/F1 10/Times-Bold@0 SF(bash)3.046 E F0 .546(is w)3.046 -F .546(aiting for a command to complete and recei)-.1 F -.15(ve)-.25 G +295.2 Q(xits.)-.15 E(If)108 312 Q F1(bash)3.046 E F0 .546(is w)3.046 F +.546(aiting for a command to complete and recei)-.1 F -.15(ve)-.25 G 3.046(sas).15 G .546(ignal for which a trap has been set, the trap) --3.046 F .663(will not be e)108 96 R -.15(xe)-.15 G .663 +-3.046 F .663(will not be e)108 324 R -.15(xe)-.15 G .663 (cuted until the command completes.).15 F(When)5.663 E F1(bash)3.163 E F0 .662(is w)3.163 F .662(aiting for an asynchronous command)-.1 F .99 -(via the)108 108 R F1(wait)3.49 E F0 -.2(bu)3.49 G .99(iltin, the recep\ +(via the)108 336 R F1(wait)3.49 E F0 -.2(bu)3.49 G .99(iltin, the recep\ tion of a signal for which a trap has been set will cause the).2 F F1 (wait)3.49 E F0 -.2(bu)3.49 G .99(iltin to).2 F -(return immediately with an e)108 120 Q +(return immediately with an e)108 348 Q (xit status greater than 128, immediately after which the trap is e)-.15 -E -.15(xe)-.15 G(cuted.).15 E/F2 10.95/Times-Bold@0 SF(JOB CONTR)72 -136.8 Q(OL)-.329 E/F3 10/Times-Italic@0 SF -.25(Jo)108 148.8 S 4.568(bc) -.25 G(ontr)-4.568 E(ol)-.45 E F0 2.068(refers to the ability to selecti) -5.078 F -.15(ve)-.25 G 2.067(ly stop \().15 F F3(suspend)A F0 4.567(\)t) -C 2.067(he e)-4.567 F -.15(xe)-.15 G 2.067 -(cution of processes and continue).15 F(\()108 160.8 Q F3 -.37(re)C -(sume).37 E F0 3.201(\)t)C .701(heir e)-3.201 F -.15(xe)-.15 G .702 -(cution at a later point.).15 F 3.202(Au)5.702 G .702 +E -.15(xe)-.15 G(cuted.).15 E F2(JOB CONTR)72 364.8 Q(OL)-.329 E/F5 10 +/Times-Italic@0 SF -.25(Jo)108 376.8 S 4.568(bc).25 G(ontr)-4.568 E(ol) +-.45 E F0 2.068(refers to the ability to selecti)5.078 F -.15(ve)-.25 G +2.067(ly stop \().15 F F5(suspend)A F0 4.567(\)t)C 2.067(he e)-4.567 F +-.15(xe)-.15 G 2.067(cution of processes and continue).15 F(\()108 388.8 +Q F5 -.37(re)C(sume).37 E F0 3.201(\)t)C .701(heir e)-3.201 F -.15(xe) +-.15 G .702(cution at a later point.).15 F 3.202(Au)5.702 G .702 (ser typically emplo)-3.202 F .702(ys this f)-.1 F .702 (acility via an interacti)-.1 F 1.002 -.15(ve i)-.25 H(nterf).15 E(ace) --.1 E(supplied jointly by the system')108 172.8 Q 2.5(st)-.55 G +-.1 E(supplied jointly by the system')108 400.8 Q 2.5(st)-.55 G (erminal dri)-2.5 E -.15(ve)-.25 G 2.5(ra).15 G(nd)-2.5 E F1(bash)2.5 E -F0(.)A .785(The shell associates a)108 189.6 R F3(job)5.025 E F0 .785 +F0(.)A .785(The shell associates a)108 417.6 R F5(job)5.025 E F0 .785 (with each pipeline.)3.515 F .784(It k)5.785 F .784 (eeps a table of currently e)-.1 F -.15(xe)-.15 G .784 -(cuting jobs, which may be).15 F .34(listed with the)108 201.6 R F1 +(cuting jobs, which may be).15 F .34(listed with the)108 429.6 R F1 (jobs)2.84 E F0 2.84(command. When)2.84 F F1(bash)2.84 E F0 .341 -(starts a job asynchronously \(in the)2.84 F F3(bac)2.841 E(kgr)-.2 E -(ound)-.45 E F0 .341(\), it prints a line).77 F(that looks lik)108 213.6 -Q(e:)-.1 E([1] 25647)144 230.4 Q .241(indicating that this job is job n\ +(starts a job asynchronously \(in the)2.84 F F5(bac)2.841 E(kgr)-.2 E +(ound)-.45 E F0 .341(\), it prints a line).77 F(that looks lik)108 441.6 +Q(e:)-.1 E([1] 25647)144 458.4 Q .241(indicating that this job is job n\ umber 1 and that the process ID of the last process in the pipeline ass\ -ociated)108 247.2 R .732(with this job is 25647.)108 259.2 R .733 +ociated)108 475.2 R .732(with this job is 25647.)108 487.2 R .733 (All of the processes in a single pipeline are members of the same job) -5.732 F(.)-.4 E F1(Bash)5.733 E F0(uses)3.233 E(the)108 271.2 Q F3(job) +5.732 F(.)-.4 E F1(Bash)5.733 E F0(uses)3.233 E(the)108 499.2 Q F5(job) 4.24 E F0(abstraction as the basis for job control.)2.73 E 3.063 -.8 -(To f)108 288 T 1.463(acilitate the implementation of the user interf).7 +(To f)108 516 T 1.463(acilitate the implementation of the user interf).7 F 1.462(ace to job control, the operating system maintains the)-.1 F .87 -(notion of a)108 300 R F3(curr)3.37 E .87(ent terminal pr)-.37 F .871 +(notion of a)108 528 R F5(curr)3.37 E .87(ent terminal pr)-.37 F .871 (ocess gr)-.45 F .871(oup ID)-.45 F F0 5.871(.M)C .871 (embers of this process group \(processes whose process)-5.871 F .023 (group ID is equal to the current terminal process group ID\) recei)108 -312 R .323 -.15(ve k)-.25 H -.15(ey).05 G .023 -(board-generated signals such as).15 F/F4 9/Times-Bold@0 SF(SIG-)2.522 E -(INT)108 324 Q/F5 9/Times-Roman@0 SF(.)A F0 1.346 -(These processes are said to be in the)5.846 F F3(for)3.847 E -.4(eg) --.37 G -.45(ro).4 G(und).45 E F0(.).77 E F3(Bac)6.927 E(kgr)-.2 E(ound) --.45 E F0 1.347(processes are those whose process)4.617 F .146 -(group ID dif)108 336 R .146(fers from the terminal')-.25 F .146 +540 R .323 -.15(ve k)-.25 H -.15(ey).05 G .023 +(board-generated signals such as).15 F F3(SIG-)2.522 E(INT)108 552 Q F4 +(.)A F0 1.346(These processes are said to be in the)5.846 F F5(for)3.847 +E -.4(eg)-.37 G -.45(ro).4 G(und).45 E F0(.).77 E F5(Bac)6.927 E(kgr)-.2 +E(ound)-.45 E F0 1.347(processes are those whose process)4.617 F .146 +(group ID dif)108 564 R .146(fers from the terminal')-.25 F .146 (s; such processes are immune to k)-.55 F -.15(ey)-.1 G .145 (board-generated signals.).15 F .145(Only fore-)5.145 F .041 -(ground processes are allo)108 348 R .042 +(ground processes are allo)108 576 R .042 (wed to read from or write to the terminal.)-.25 F .042 (Background processes which attempt to)5.042 F 1.64 -(read from \(write to\) the terminal are sent a)108 360 R F4 1.639 +(read from \(write to\) the terminal are sent a)108 588 R F3 1.639 (SIGTTIN \(SIGTT)4.14 F(OU\))-.162 E F0 1.639 (signal by the terminal dri)3.889 F -.15(ve)-.25 G 2.439 -.4(r, w).15 H -(hich,).4 E(unless caught, suspends the process.)108 372 Q 1.087 -(If the operating system on which)108 388.8 R F1(bash)3.587 E F0 1.088 +(hich,).4 E(unless caught, suspends the process.)108 600 Q 1.087 +(If the operating system on which)108 616.8 R F1(bash)3.587 E F0 1.088 (is running supports job control,)3.588 F F1(bash)3.588 E F0 1.088 -(contains f)3.588 F 1.088(acilities to use it.)-.1 F -.8(Ty)108 400.8 S -.302(ping the).8 F F3(suspend)3.142 E F0 .302(character \(typically) +(contains f)3.588 F 1.088(acilities to use it.)-.1 F -.8(Ty)108 628.8 S +.302(ping the).8 F F5(suspend)3.142 E F0 .302(character \(typically) 3.572 F F1(^Z)2.801 E F0 2.801(,C)C .301 (ontrol-Z\) while a process is running causes that process to be)-2.801 -F 2.142(stopped and returns control to)108 412.8 R F1(bash)4.642 E F0 -7.142(.T)C 2.142(yping the)-7.942 F F3 2.142(delayed suspend)4.992 F F0 +F 2.142(stopped and returns control to)108 640.8 R F1(bash)4.642 E F0 +7.142(.T)C 2.142(yping the)-7.942 F F5 2.142(delayed suspend)4.992 F F0 2.143(character \(typically)5.413 F F1(^Y)4.643 E F0 4.643(,C)C (ontrol-Y\))-4.643 E .021(causes the process to be stopped when it atte\ mpts to read input from the terminal, and control to be returned)108 -424.8 R(to)108 436.8 Q F1(bash)3.392 E F0 5.892(.T)C .892 +652.8 R(to)108 664.8 Q F1(bash)3.392 E F0 5.892(.T)C .892 (he user may then manipulate the state of this job, using the)-5.892 F F1(bg)3.392 E F0 .892(command to continue it in the)3.392 F .895 -(background, the)108 448.8 R F1(fg)3.395 E F0 .895 +(background, the)108 676.8 R F1(fg)3.395 E F0 .895 (command to continue it in the fore)3.395 F .895(ground, or the)-.15 F F1(kill)3.395 E F0 .894(command to kill it.)3.395 F(A)5.894 E F1(^Z) -3.394 E F0(tak)3.394 E(es)-.1 E(ef)108 460.8 Q .948(fect immediately) +3.394 E F0(tak)3.394 E(es)-.1 E(ef)108 688.8 Q .948(fect immediately) -.25 F 3.448(,a)-.65 G .948(nd has the additional side ef)-3.448 F .948 (fect of causing pending output and typeahead to be dis-)-.25 F(carded.) -108 472.8 Q 1.098(There are a number of w)108 489.6 R 1.097 +108 700.8 Q 1.098(There are a number of w)108 717.6 R 1.097 (ays to refer to a job in the shell.)-.1 F 1.097(The character)6.097 F F1(%)3.597 E F0 1.097(introduces a job name.)3.597 F(Job)6.097 E(number) -108 501.6 Q F3(n)3.13 E F0 .27(may be referred to as)3.01 F F1(%n)2.77 E +108 729.6 Q F5(n)3.13 E F0 .27(may be referred to as)3.01 F F1(%n)2.77 E F0 5.27(.A)C .27 (job may also be referred to using a pre\214x of the name used to start) --2.5 F .277(it, or using a substring that appears in its command line.) -108 513.6 R -.15(Fo)5.277 G 2.777(re).15 G(xample,)-2.927 E F1(%ce)2.777 -E F0 .277(refers to a stopped)2.777 F F1(ce)2.777 E F0(job)2.777 E 5.277 -(.I)-.4 G 2.777(fa)-5.277 G .38(pre\214x matches more than one job,)108 -525.6 R F1(bash)2.88 E F0 .38(reports an error)2.88 F 5.38(.U)-.55 G -(sing)-5.38 E F1(%?ce)2.88 E F0 2.88(,o)C 2.88(nt)-2.88 G .38 -(he other hand, refers to an)-2.88 F 2.88(yj)-.15 G(ob)-2.88 E .623 -(containing the string)108 537.6 R F1(ce)3.123 E F0 .622 -(in its command line.)3.123 F .622 +-2.5 F(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(30)197.335 E 0 Cg EP +%%Page: 31 31 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E .277(it, or using a substring that appears in its command line.) +108 84 R -.15(Fo)5.277 G 2.777(re).15 G(xample,)-2.927 E/F1 10 +/Times-Bold@0 SF(%ce)2.777 E F0 .277(refers to a stopped)2.777 F F1(ce) +2.777 E F0(job)2.777 E 5.277(.I)-.4 G 2.777(fa)-5.277 G .38 +(pre\214x matches more than one job,)108 96 R F1(bash)2.88 E F0 .38 +(reports an error)2.88 F 5.38(.U)-.55 G(sing)-5.38 E F1(%?ce)2.88 E F0 +2.88(,o)C 2.88(nt)-2.88 G .38(he other hand, refers to an)-2.88 F 2.88 +(yj)-.15 G(ob)-2.88 E .623(containing the string)108 108 R F1(ce)3.123 E +F0 .622(in its command line.)3.123 F .622 (If the substring matches more than one job,)5.622 F F1(bash)3.122 E F0 -.622(reports an)3.122 F(error)108 549.6 Q 5.143(.T)-.55 G .143 -(he symbols)-5.143 F F1(%%)2.643 E F0(and)2.643 E F1(%+)2.643 E F0 .143 +.622(reports an)3.122 F(error)108 120 Q 5.143(.T)-.55 G .143(he symbols) +-5.143 F F1(%%)2.643 E F0(and)2.643 E F1(%+)2.643 E F0 .143 (refer to the shell')2.643 F 2.643(sn)-.55 G .143(otion of the)-2.643 F -F3(curr)2.643 E .143(ent job)-.37 F F0 2.643(,w).23 G .143 -(hich is the last job stopped)-2.643 F 1.209(while it w)108 561.6 R -1.209(as in the fore)-.1 F 1.208(ground or started in the background.) --.15 F(The)6.208 E F3(pr)4.958 E -.15(ev)-.37 G 1.208(ious job).15 F F0 -1.208(may be referenced using)3.938 F F1<25ad>108 573.6 Q F0 5.486(.I)C -2.986(no)-5.486 G .486 +/F2 10/Times-Italic@0 SF(curr)2.643 E .143(ent job)-.37 F F0 2.643(,w) +.23 G .143(hich is the last job stopped)-2.643 F 1.209(while it w)108 +132 R 1.209(as in the fore)-.1 F 1.208 +(ground or started in the background.)-.15 F(The)6.208 E F2(pr)4.958 E +-.15(ev)-.37 G 1.208(ious job).15 F F0 1.208(may be referenced using) +3.938 F F1<25ad>108 144 Q F0 5.486(.I)C 2.986(no)-5.486 G .486 (utput pertaining to jobs \(e.g., the output of the)-2.986 F F1(jobs) 2.987 E F0 .487(command\), the current job is al)2.987 F -.1(wa)-.1 G -.487(ys \215agged).1 F .15(with a)108 585.6 R F1(+)2.65 E F0 2.65(,a)C -.15(nd the pre)-2.65 F .15(vious job with a)-.25 F F1<ad>2.65 E F0 5.15 -(.A)C .15(single % \(with no accompan)-2.5 F .15 +.487(ys \215agged).1 F .15(with a)108 156 R F1(+)2.65 E F0 2.65(,a)C .15 +(nd the pre)-2.65 F .15(vious job with a)-.25 F F1<ad>2.65 E F0 5.15(.A) +C .15(single % \(with no accompan)-2.5 F .15 (ying job speci\214cation\) also refers to)-.15 F(the current job)108 -597.6 Q(.)-.4 E .443 -(Simply naming a job can be used to bring it into the fore)108 614.4 R +168 Q(.)-.4 E .443 +(Simply naming a job can be used to bring it into the fore)108 184.8 R (ground:)-.15 E F1(%1)2.944 E F0 .444(is a synon)2.944 F .444(ym for) -.15 F F1 -.63(``)2.944 G .444(fg %1').63 F(')-.63 E F0 2.944(,b)C (ringing)-2.944 E 1.473(job 1 from the background into the fore)108 -626.4 R 3.973(ground. Similarly)-.15 F(,)-.65 E F1 -.63(``)3.972 G 1.472 +196.8 R 3.973(ground. Similarly)-.15 F(,)-.65 E F1 -.63(``)3.972 G 1.472 (%1 &').63 F(')-.63 E F0 1.472(resumes job 1 in the background,)3.972 F -(equi)108 638.4 Q -.25(va)-.25 G(lent to).25 E F1 -.63(``)2.5 G(bg %1') -.63 E(')-.63 E F0(.)A .13(The shell learns immediately whene)108 655.2 R +(equi)108 208.8 Q -.25(va)-.25 G(lent to).25 E F1 -.63(``)2.5 G(bg %1') +.63 E(')-.63 E F0(.)A .13(The shell learns immediately whene)108 225.6 R -.15(ve)-.25 G 2.63(raj).15 G .13(ob changes state.)-2.63 F(Normally) 5.131 E(,)-.65 E F1(bash)2.631 E F0 -.1(wa)2.631 G .131 (its until it is about to print a).1 F .158 -(prompt before reporting changes in a job')108 667.2 R 2.658(ss)-.55 G +(prompt before reporting changes in a job')108 237.6 R 2.658(ss)-.55 G .158(tatus so as to not interrupt an)-2.658 F 2.657(yo)-.15 G .157 (ther output.)-2.657 F .157(If the)5.157 F F1<ad62>2.657 E F0 .157 -(option to)2.657 F(the)108 679.2 Q F1(set)3.951 E F0 -.2(bu)3.951 G +(option to)2.657 F(the)108 249.6 Q F1(set)3.951 E F0 -.2(bu)3.951 G 1.451(iltin command is enabled,).2 F F1(bash)3.951 E F0 1.452 (reports such changes immediately)3.951 F 6.452(.A)-.65 G 1.752 -.15 -(ny t)-6.452 H 1.452(rap on).15 F F4(SIGCHLD)3.952 E F0(is)3.702 E -.15 -(exe)108 691.2 S(cuted for each child that e).15 E(xits.)-.15 E .033 -(If an attempt to e)108 708 R(xit)-.15 E F1(bash)2.533 E F0 .033 -(is made while jobs are stopped \(or)2.533 F 2.532(,i)-.4 G 2.532(ft) --2.532 G(he)-2.532 E F1(checkjobs)2.532 E F0 .032 -(shell option has been enabled)2.532 F 2.019(using the)108 720 R F1 +(ny t)-6.452 H 1.452(rap on).15 F/F3 9/Times-Bold@0 SF(SIGCHLD)3.952 E +F0(is)3.702 E -.15(exe)108 261.6 S(cuted for each child that e).15 E +(xits.)-.15 E .033(If an attempt to e)108 278.4 R(xit)-.15 E F1(bash) +2.533 E F0 .033(is made while jobs are stopped \(or)2.533 F 2.532(,i)-.4 +G 2.532(ft)-2.532 G(he)-2.532 E F1(checkjobs)2.532 E F0 .032 +(shell option has been enabled)2.532 F 2.019(using the)108 290.4 R F1 (shopt)4.519 E F0 -.2(bu)4.519 G 2.019 (iltin, running\), the shell prints a w).2 F 2.02 (arning message, and, if the)-.1 F F1(checkjobs)4.52 E F0 2.02 -(option is)4.52 F(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(30) -198.445 E 0 Cg EP -%%Page: 31 31 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .459(enabled, lists the jobs and their statuses.)108 84 R(The) -5.459 E/F1 10/Times-Bold@0 SF(jobs)2.959 E F0 .458 +(option is)4.52 F .459(enabled, lists the jobs and their statuses.)108 +302.4 R(The)5.459 E F1(jobs)2.959 E F0 .458 (command may then be used to inspect their status.)2.958 F .458(If a) -5.458 F .603(second attempt to e)108 96 R .604 +5.458 F .603(second attempt to e)108 314.4 R .604 (xit is made without an interv)-.15 F .604 (ening command, the shell does not print another w)-.15 F(arning,)-.1 E -(and an)108 108 Q 2.5(ys)-.15 G(topped jobs are terminated.)-2.5 E/F2 -10.95/Times-Bold@0 SF(PR)72 124.8 Q(OMPTING)-.329 E F0 .645(When e)108 -136.8 R -.15(xe)-.15 G .645(cuting interacti).15 F -.15(ve)-.25 G(ly).15 +(and an)108 326.4 Q 2.5(ys)-.15 G(topped jobs are terminated.)-2.5 E/F4 +10.95/Times-Bold@0 SF(PR)72 343.2 Q(OMPTING)-.329 E F0 .645(When e)108 +355.2 R -.15(xe)-.15 G .645(cuting interacti).15 F -.15(ve)-.25 G(ly).15 E(,)-.65 E F1(bash)3.145 E F0 .645(displays the primary prompt)3.145 F -/F3 9/Times-Bold@0 SF(PS1)3.145 E F0 .645 -(when it is ready to read a command,)2.895 F 1.825 -(and the secondary prompt)108 148.8 R F3(PS2)4.325 E F0 1.825 +F3(PS1)3.145 E F0 .645(when it is ready to read a command,)2.895 F 1.825 +(and the secondary prompt)108 367.2 R F3(PS2)4.325 E F0 1.825 (when it needs more input to complete a command.)4.075 F F1(Bash)6.826 E F0(allo)4.326 E 1.826(ws these)-.25 F 1.499(prompt strings to be custom\ ized by inserting a number of backslash-escaped special characters that\ - are)108 160.8 R(decoded as follo)108 172.8 Q(ws:)-.25 E F1(\\a)144 -184.8 Q F0(an ASCII bell character \(07\))28.22 E F1(\\d)144 196.8 Q F0 + are)108 379.2 R(decoded as follo)108 391.2 Q(ws:)-.25 E F1(\\a)144 +403.2 Q F0(an ASCII bell character \(07\))28.22 E F1(\\d)144 415.2 Q F0 (the date in "W)27.66 E(eekday Month Date" format \(e.g., "T)-.8 E -(ue May 26"\))-.45 E F1(\\D{)144 208.8 Q/F4 10/Times-Italic@0 SF(format) -A F1(})A F0(the)180 220.8 Q F4(format)3.926 E F0 1.426(is passed to) -3.926 F F4(strftime)3.926 E F0 1.427 +(ue May 26"\))-.45 E F1(\\D{)144 427.2 Q F2(format)A F1(})A F0(the)180 +439.2 Q F2(format)3.926 E F0 1.426(is passed to)3.926 F F2(strftime) +3.926 E F0 1.427 (\(3\) and the result is inserted into the prompt string; an)B(empty)180 -232.8 Q F4(format)2.5 E F0 +451.2 Q F2(format)2.5 E F0 (results in a locale-speci\214c time representation.)2.5 E -(The braces are required)5 E F1(\\e)144 244.8 Q F0 -(an ASCII escape character \(033\))28.78 E F1(\\h)144 256.8 Q F0 -(the hostname up to the \214rst `.)27.66 E(')-.7 E F1(\\H)144 268.8 Q F0 -(the hostname)25.44 E F1(\\j)144 280.8 Q F0 +(The braces are required)5 E F1(\\e)144 463.2 Q F0 +(an ASCII escape character \(033\))28.78 E F1(\\h)144 475.2 Q F0 +(the hostname up to the \214rst `.)27.66 E(')-.7 E F1(\\H)144 487.2 Q F0 +(the hostname)25.44 E F1(\\j)144 499.2 Q F0 (the number of jobs currently managed by the shell)29.89 E F1(\\l)144 -292.8 Q F0(the basename of the shell')30.44 E 2.5(st)-.55 G(erminal de) --2.5 E(vice name)-.25 E F1(\\n)144 304.8 Q F0(ne)27.66 E(wline)-.25 E F1 -(\\r)144 316.8 Q F0(carriage return)28.78 E F1(\\s)144 328.8 Q F0 +511.2 Q F0(the basename of the shell')30.44 E 2.5(st)-.55 G(erminal de) +-2.5 E(vice name)-.25 E F1(\\n)144 523.2 Q F0(ne)27.66 E(wline)-.25 E F1 +(\\r)144 535.2 Q F0(carriage return)28.78 E F1(\\s)144 547.2 Q F0 (the name of the shell, the basename of)29.33 E F1($0)2.5 E F0 (\(the portion follo)2.5 E(wing the \214nal slash\))-.25 E F1(\\t)144 -340.8 Q F0(the current time in 24-hour HH:MM:SS format)29.89 E F1(\\T) -144 352.8 Q F0(the current time in 12-hour HH:MM:SS format)26.55 E F1 -(\\@)144 364.8 Q F0(the current time in 12-hour am/pm format)23.92 E F1 -(\\A)144 376.8 Q F0(the current time in 24-hour HH:MM format)26 E F1 -(\\u)144 388.8 Q F0(the username of the current user)27.66 E F1(\\v)144 -400.8 Q F0(the v)28.22 E(ersion of)-.15 E F1(bash)2.5 E F0 -(\(e.g., 2.00\))2.5 E F1(\\V)144 412.8 Q F0(the release of)26 E F1(bash) +559.2 Q F0(the current time in 24-hour HH:MM:SS format)29.89 E F1(\\T) +144 571.2 Q F0(the current time in 12-hour HH:MM:SS format)26.55 E F1 +(\\@)144 583.2 Q F0(the current time in 12-hour am/pm format)23.92 E F1 +(\\A)144 595.2 Q F0(the current time in 24-hour HH:MM format)26 E F1 +(\\u)144 607.2 Q F0(the username of the current user)27.66 E F1(\\v)144 +619.2 Q F0(the v)28.22 E(ersion of)-.15 E F1(bash)2.5 E F0 +(\(e.g., 2.00\))2.5 E F1(\\V)144 631.2 Q F0(the release of)26 E F1(bash) 2.5 E F0 2.5(,v)C(ersion + patch le)-2.65 E -.15(ve)-.25 G 2.5(l\().15 G -(e.g., 2.00.0\))-2.5 E F1(\\w)144 424.8 Q F0(the current w)26 E +(e.g., 2.00.0\))-2.5 E F1(\\w)144 643.2 Q F0(the current w)26 E (orking directory)-.1 E 2.5(,w)-.65 G(ith)-2.5 E F1($HOME)2.5 E F0 -(abbre)2.5 E(viated with a tilde)-.25 E F1(\\W)144 436.8 Q F0 +(abbre)2.5 E(viated with a tilde)-.25 E F1(\\W)144 655.2 Q F0 (the basename of the current w)23.22 E(orking directory)-.1 E 2.5(,w) -.65 G(ith)-2.5 E F1($HOME)2.5 E F0(abbre)2.5 E(viated with a tilde)-.25 -E F1(\\!)144 448.8 Q F0(the history number of this command)29.89 E F1 -(\\#)144 460.8 Q F0(the command number of this command)28.22 E F1(\\$) -144 472.8 Q F0(if the ef)28.22 E(fecti)-.25 E .3 -.15(ve U)-.25 H +E F1(\\!)144 667.2 Q F0(the history number of this command)29.89 E F1 +(\\#)144 679.2 Q F0(the command number of this command)28.22 E F1(\\$) +144 691.2 Q F0(if the ef)28.22 E(fecti)-.25 E .3 -.15(ve U)-.25 H (ID is 0, a).15 E F1(#)2.5 E F0 2.5(,o)C(therwise a)-2.5 E F1($)2.5 E -(\\)144 484.8 Q F4(nnn)A F0 -(the character corresponding to the octal number)18.22 E F4(nnn)2.5 E F1 -(\\\\)144 496.8 Q F0 2.5(ab)30.44 G(ackslash)-2.5 E F1(\\[)144 508.8 Q -F0(be)29.89 E 1.257(gin a sequence of non-printing characters, which co\ -uld be used to embed a terminal)-.15 F(control sequence into the prompt) -180 520.8 Q F1(\\])144 532.8 Q F0 +(\\)144 703.2 Q F2(nnn)A F0 +(the character corresponding to the octal number)18.22 E F2(nnn)2.5 E F1 +(\\\\)144 715.2 Q F0 2.5(ab)30.44 G(ackslash)-2.5 E(GNU Bash-4.0)72 768 +Q(2008 May 25)147.345 E(31)197.335 E 0 Cg EP +%%Page: 32 32 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(\\[)144 84 Q F0(be)29.89 E 1.257(gin a seq\ +uence of non-printing characters, which could be used to embed a termin\ +al)-.15 F(control sequence into the prompt)180 96 Q F1(\\])144 108 Q F0 (end a sequence of non-printing characters)29.89 E .119 -(The command number and the history number are usually dif)108 549.6 R +(The command number and the history number are usually dif)108 124.8 R .12(ferent: the history number of a command is its)-.25 F 1.585(positio\ n in the history list, which may include commands restored from the his\ -tory \214le \(see)108 561.6 R F3(HIST)4.084 E(OR)-.162 E(Y)-.315 E F0 -(belo)108 573.6 Q .541(w\), while the command number is the position in\ - the sequence of commands e)-.25 F -.15(xe)-.15 G .541 -(cuted during the cur).15 F(-)-.2 E .546(rent shell session.)108 585.6 R +tory \214le \(see)108 136.8 R/F2 9/Times-Bold@0 SF(HIST)4.084 E(OR)-.162 +E(Y)-.315 E F0(belo)108 148.8 Q .541(w\), while the command number is t\ +he position in the sequence of commands e)-.25 F -.15(xe)-.15 G .541 +(cuted during the cur).15 F(-)-.2 E .546(rent shell session.)108 160.8 R .546(After the string is decoded, it is e)5.546 F .546 (xpanded via parameter e)-.15 F .546(xpansion, command substitu-)-.15 F -.351(tion, arithmetic e)108 597.6 R .352(xpansion, and quote remo)-.15 F +.351(tion, arithmetic e)108 172.8 R .352(xpansion, and quote remo)-.15 F -.25(va)-.15 G .352(l, subject to the v).25 F .352(alue of the)-.25 F F1 (pr)2.852 E(omptv)-.18 E(ars)-.1 E F0 .352(shell option \(see the)2.852 -F(description of the)108 609.6 Q F1(shopt)2.5 E F0(command under)2.5 E -F3(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).) --.25 E F2(READLINE)72 626.4 Q F0 .151 +F(description of the)108 184.8 Q F1(shopt)2.5 E F0(command under)2.5 E +F2(SHELL B)2.5 E(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).) +-.25 E/F3 10.95/Times-Bold@0 SF(READLINE)72 201.6 Q F0 .151 (This is the library that handles reading input when using an interacti) -108 638.4 R .45 -.15(ve s)-.25 H .15(hell, unless the).15 F F1 -(\255\255noediting)2.65 E F0(option)2.65 E .066(is gi)108 650.4 R -.15 +108 213.6 R .45 -.15(ve s)-.25 H .15(hell, unless the).15 F F1 +(\255\255noediting)2.65 E F0(option)2.65 E .066(is gi)108 225.6 R -.15 (ve)-.25 G 2.566(na).15 G 2.566(ts)-2.566 G .066(hell in)-2.566 F -.2 (vo)-.4 G 2.566(cation. By).2 F(def)2.566 E .066 (ault, the line editing commands are similar to those of emacs.)-.1 F -2.567(Av)5.067 G(i-style)-2.567 E .566(line editing interf)108 662.4 R +2.567(Av)5.067 G(i-style)-2.567 E .566(line editing interf)108 237.6 R .566(ace is also a)-.1 F -.25(va)-.2 G 3.065(ilable. T).25 F 3.065(ot) -.8 G .565(urn of)-3.065 F 3.065(fl)-.25 G .565 (ine editing after the shell is running, use the)-3.065 F F1 .565 -(+o emacs)3.065 F F0(or)108 674.4 Q F1(+o vi)2.5 E F0(options to the)2.5 -E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin \(see).2 E F3(SHELL B)2.5 E(UIL) +(+o emacs)3.065 F F0(or)108 249.6 Q F1(+o vi)2.5 E F0(options to the)2.5 +E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin \(see).2 E F2(SHELL B)2.5 E(UIL) -.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1 -(Readline Notation)87 691.2 Q F0 .567 -(In this section, the emacs-style notation is used to denote k)108 703.2 +(Readline Notation)87 266.4 Q F0 .567 +(In this section, the emacs-style notation is used to denote k)108 278.4 R -.15(ey)-.1 G(strok).15 E 3.068(es. Control)-.1 F -.1(ke)3.068 G .568 -(ys are denoted by C\255)-.05 F F4 -.1(ke)C(y)-.2 E F0(,)A 1.153 -(e.g., C\255n means Control\255N.)108 715.2 R(Similarly)6.153 E(,)-.65 E -F4(meta)4.033 E F0 -.1(ke)3.913 G 1.153(ys are denoted by M\255)-.05 F -F4 -.1(ke)C(y)-.2 E F0 3.652(,s)C 3.652(oM)-3.652 G 1.152 -(\255x means Meta\255X.)-3.652 F(\(On)6.152 E -.1(ke)108 727.2 S .83 -(yboards without a)-.05 F F4(meta)3.71 E F0 -.1(ke)3.59 G 2.13 -.65 -(y, M)-.05 H<ad>.65 E F4(x)A F0 .83(means ESC)3.33 F F4(x)3.33 E F0 3.33 -(,i)C .831(.e., press the Escape k)-3.33 F 1.131 -.15(ey t)-.1 H .831 -(hen the).15 F F4(x)4.101 E F0 -.1(ke)3.861 G 4.631 -.65(y. T)-.05 H -.831(his mak).65 F(es)-.1 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E -(31)198.445 E 0 Cg EP -%%Page: 32 32 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .6(ESC the)108 84 R/F1 10/Times-Italic@0 SF .6(meta pr)3.1 F -(e\214x)-.37 E F0 5.6(.T)C .6(he combination M\255C\255)-5.6 F F1(x)A F0 -.599(means ESC\255Control\255)3.099 F F1(x)A F0 3.099(,o)C 3.099(rp) +(ys are denoted by C\255)-.05 F/F4 10/Times-Italic@0 SF -.1(ke)C(y)-.2 E +F0(,)A 1.153(e.g., C\255n means Control\255N.)108 290.4 R(Similarly) +6.153 E(,)-.65 E F4(meta)4.033 E F0 -.1(ke)3.913 G 1.153 +(ys are denoted by M\255)-.05 F F4 -.1(ke)C(y)-.2 E F0 3.652(,s)C 3.652 +(oM)-3.652 G 1.152(\255x means Meta\255X.)-3.652 F(\(On)6.152 E -.1(ke) +108 302.4 S .83(yboards without a)-.05 F F4(meta)3.71 E F0 -.1(ke)3.59 G +2.13 -.65(y, M)-.05 H<ad>.65 E F4(x)A F0 .83(means ESC)3.33 F F4(x)3.33 +E F0 3.33(,i)C .831(.e., press the Escape k)-3.33 F 1.131 -.15(ey t)-.1 +H .831(hen the).15 F F4(x)4.101 E F0 -.1(ke)3.861 G 4.631 -.65(y. T)-.05 +H .831(his mak).65 F(es)-.1 E .6(ESC the)108 314.4 R F4 .6(meta pr)3.1 F +(e\214x)-.37 E F0 5.6(.T)C .6(he combination M\255C\255)-5.6 F F4(x)A F0 +.599(means ESC\255Control\255)3.099 F F4(x)A F0 3.099(,o)C 3.099(rp) -3.099 G .599(ress the Escape k)-3.099 F .899 -.15(ey t)-.1 H .599 -(hen hold).15 F(the Control k)108 96 Q .3 -.15(ey w)-.1 H -(hile pressing the).15 E F1(x)3.27 E F0 -.1(ke)3.03 G -.65(y.)-.05 G(\)) -.65 E .619(Readline commands may be gi)108 112.8 R -.15(ve)-.25 G 3.119 -(nn).15 G(umeric)-3.119 E F1(ar)3.119 E(guments)-.37 E F0 3.119(,w).27 G +(hen hold).15 F(the Control k)108 326.4 Q .3 -.15(ey w)-.1 H +(hile pressing the).15 E F4(x)3.27 E F0 -.1(ke)3.03 G -.65(y.)-.05 G(\)) +.65 E .619(Readline commands may be gi)108 343.2 R -.15(ve)-.25 G 3.119 +(nn).15 G(umeric)-3.119 E F4(ar)3.119 E(guments)-.37 E F0 3.119(,w).27 G .619(hich normally act as a repeat count.)-3.119 F(Sometimes,)5.62 E(ho) -108 124.8 Q(we)-.25 E -.15(ve)-.25 G 1.419 -.4(r, i).15 H 3.119(ti).4 G +108 355.2 Q(we)-.25 E -.15(ve)-.25 G 1.419 -.4(r, i).15 H 3.119(ti).4 G 3.119(st)-3.119 G .619(he sign of the ar)-3.119 F .619 (gument that is signi\214cant.)-.18 F -.15(Pa)5.619 G .619(ssing a ne) .15 F -.05(ga)-.15 G(ti).05 E .919 -.15(ve a)-.25 H -.18(rg).15 G .619 -(ument to a command that).18 F 1.018(acts in the forw)108 136.8 R 1.018 -(ard direction \(e.g.,)-.1 F/F2 10/Times-Bold@0 SF(kill\255line)3.518 E -F0 3.518(\)c)C 1.018(auses that command to act in a backw)-3.518 F 1.019 -(ard direction.)-.1 F(Com-)6.019 E(mands whose beha)108 148.8 Q +(ument to a command that).18 F 1.018(acts in the forw)108 367.2 R 1.018 +(ard direction \(e.g.,)-.1 F F1(kill\255line)3.518 E F0 3.518(\)c)C +1.018(auses that command to act in a backw)-3.518 F 1.019 +(ard direction.)-.1 F(Com-)6.019 E(mands whose beha)108 379.2 Q (vior with ar)-.2 E(guments de)-.18 E(viates from this are noted belo) --.25 E -.65(w.)-.25 G .812(When a command is described as)108 165.6 R F1 +-.25 E -.65(w.)-.25 G .812(When a command is described as)108 396 R F4 (killing)3.311 E F0(te)3.311 E .811(xt, the te)-.15 F .811 (xt deleted is sa)-.15 F -.15(ve)-.2 G 3.311(df).15 G .811 -(or possible future retrie)-3.311 F -.25(va)-.25 G 3.311(l\().25 G F1 -(yank-)-3.311 E(ing)108 177.6 Q F0 2.529(\). The)B .029(killed te)2.529 -F .029(xt is sa)-.15 F -.15(ve)-.2 G 2.529(di).15 G 2.529(na)-2.529 G F1 +(or possible future retrie)-3.311 F -.25(va)-.25 G 3.311(l\().25 G F4 +(yank-)-3.311 E(ing)108 408 Q F0 2.529(\). The)B .029(killed te)2.529 F +.029(xt is sa)-.15 F -.15(ve)-.2 G 2.529(di).15 G 2.529(na)-2.529 G F4 .029(kill ring)B F0 5.029(.C)C(onsecuti)-5.029 E .329 -.15(ve k)-.25 H .029(ills cause the te).15 F .029(xt to be accumulated into one unit,) --.15 F .567(which can be yank)108 189.6 R .567(ed all at once.)-.1 F -.567(Commands which do not kill te)5.567 F .567 +-.15 F .567(which can be yank)108 420 R .567(ed all at once.)-.1 F .567 +(Commands which do not kill te)5.567 F .567 (xt separate the chunks of te)-.15 F .567(xt on the kill)-.15 F(ring.) -108 201.6 Q F2(Readline Initialization)87 218.4 Q F0 .091(Readline is c\ -ustomized by putting commands in an initialization \214le \(the)108 -230.4 R F1(inputr)2.591 E(c)-.37 E F0 2.591(\214le\). The)2.591 F .092 -(name of this \214le)2.591 F .197(is tak)108 242.4 R .196(en from the v) --.1 F .196(alue of the)-.25 F/F3 9/Times-Bold@0 SF(INPUTRC)2.696 E F0 --.25(va)2.446 G 2.696(riable. If).25 F .196(that v)2.696 F .196 -(ariable is unset, the def)-.25 F .196(ault is)-.1 F F1(~/.inputr)2.696 +108 432 Q F1(Readline Initialization)87 448.8 Q F0 .091(Readline is cus\ +tomized by putting commands in an initialization \214le \(the)108 460.8 +R F4(inputr)2.591 E(c)-.37 E F0 2.591(\214le\). The)2.591 F .092 +(name of this \214le)2.591 F .197(is tak)108 472.8 R .196(en from the v) +-.1 F .196(alue of the)-.25 F F2(INPUTRC)2.696 E F0 -.25(va)2.446 G +2.696(riable. If).25 F .196(that v)2.696 F .196 +(ariable is unset, the def)-.25 F .196(ault is)-.1 F F4(~/.inputr)2.696 E(c)-.37 E F0 5.196(.W).31 G .196(hen a)-5.196 F 1.034(program which us\ es the readline library starts up, the initialization \214le is read, a\ -nd the k)108 254.4 R 1.335 -.15(ey b)-.1 H 1.035(indings and).15 F -.25 -(va)108 266.4 S 1.15(riables are set.).25 F 1.15(There are only a fe) +nd the k)108 484.8 R 1.335 -.15(ey b)-.1 H 1.035(indings and).15 F -.25 +(va)108 496.8 S 1.15(riables are set.).25 F 1.15(There are only a fe) 6.15 F 3.649(wb)-.25 G 1.149(asic constructs allo)-3.649 F 1.149 (wed in the readline initialization \214le.)-.25 F(Blank)6.149 E .736 -(lines are ignored.)108 278.4 R .737(Lines be)5.737 F .737 -(ginning with a)-.15 F F2(#)3.237 E F0 .737(are comments.)3.237 F .737 -(Lines be)5.737 F .737(ginning with a)-.15 F F2($)3.237 E F0 .737 -(indicate conditional)3.237 F 2.5(constructs. Other)108 290.4 R +(lines are ignored.)108 508.8 R .737(Lines be)5.737 F .737 +(ginning with a)-.15 F F1(#)3.237 E F0 .737(are comments.)3.237 F .737 +(Lines be)5.737 F .737(ginning with a)-.15 F F1($)3.237 E F0 .737 +(indicate conditional)3.237 F 2.5(constructs. Other)108 520.8 R (lines denote k)2.5 E .3 -.15(ey b)-.1 H(indings and v).15 E -(ariable settings.)-.25 E .987(The def)108 307.2 R .987(ault k)-.1 F --.15(ey)-.1 G .987(-bindings may be changed with an).15 F F1(inputr) +(ariable settings.)-.25 E .987(The def)108 537.6 R .987(ault k)-.1 F +-.15(ey)-.1 G .987(-bindings may be changed with an).15 F F4(inputr) 3.497 E(c)-.37 E F0 3.487(\214le. Other)3.797 F .987 -(programs that use this library may)3.487 F(add their o)108 319.2 Q -(wn commands and bindings.)-.25 E -.15(Fo)108 336 S 2.5(re).15 G -(xample, placing)-2.65 E(M\255Control\255u: uni)144 352.8 Q -.15(ve)-.25 -G(rsal\255ar).15 E(gument)-.18 E(or)108 364.8 Q(C\255Meta\255u: uni)144 -376.8 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E(into the)108 388.8 -Q F1(inputr)2.51 E(c)-.37 E F0 -.1(wo)2.81 G(uld mak).1 E 2.5(eM)-.1 G -(\255C\255u e)-2.5 E -.15(xe)-.15 G(cute the readline command).15 E F1 +(programs that use this library may)3.487 F(add their o)108 549.6 Q +(wn commands and bindings.)-.25 E -.15(Fo)108 566.4 S 2.5(re).15 G +(xample, placing)-2.65 E(M\255Control\255u: uni)144 583.2 Q -.15(ve)-.25 +G(rsal\255ar).15 E(gument)-.18 E(or)108 595.2 Q(C\255Meta\255u: uni)144 +607.2 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E(into the)108 619.2 +Q F4(inputr)2.51 E(c)-.37 E F0 -.1(wo)2.81 G(uld mak).1 E 2.5(eM)-.1 G +(\255C\255u e)-2.5 E -.15(xe)-.15 G(cute the readline command).15 E F4 (univer)2.5 E(sal\255ar)-.1 E(gument)-.37 E F0(.).68 E 1.26(The follo) -108 405.6 R 1.261(wing symbolic character names are recognized:)-.25 F -F1 -.4(RU)3.761 G(BOUT).4 E F0(,)1.27 E F1(DEL)3.761 E F0(,).53 E F1 -(ESC)3.761 E F0(,).72 E F1(LFD)3.761 E F0(,).28 E F1(NEWLINE)3.761 E F0 -(,).73 E F1(RET)3.761 E F0(,)1.27 E F1(RETURN)108 417.6 Q F0(,)1.1 E F1 -(SPC)2.5 E F0(,).72 E F1(SP)2.5 E -.3(AC)-.9 G(E).3 E F0 2.5(,a).73 G -(nd)-2.5 E F1 -.5(TA)2.5 G(B).5 E F0(.).27 E .209 -(In addition to command names, readline allo)108 434.4 R .209(ws k)-.25 +108 636 R 1.261(wing symbolic character names are recognized:)-.25 F F4 +-.4(RU)3.761 G(BOUT).4 E F0(,)1.27 E F4(DEL)3.761 E F0(,).53 E F4(ESC) +3.761 E F0(,).72 E F4(LFD)3.761 E F0(,).28 E F4(NEWLINE)3.761 E F0(,).73 +E F4(RET)3.761 E F0(,)1.27 E F4(RETURN)108 648 Q F0(,)1.1 E F4(SPC)2.5 E +F0(,).72 E F4(SP)2.5 E -.3(AC)-.9 G(E).3 E F0 2.5(,a).73 G(nd)-2.5 E F4 +-.5(TA)2.5 G(B).5 E F0(.).27 E .209 +(In addition to command names, readline allo)108 664.8 R .209(ws k)-.25 F -.15(ey)-.1 G 2.709(st).15 G 2.709(ob)-2.709 G 2.709(eb)-2.709 G .209 (ound to a string that is inserted when the k)-2.709 F .509 -.15(ey i) --.1 H(s).15 E(pressed \(a)108 446.4 Q F1(macr)2.5 E(o)-.45 E F0(\).)A F2 -(Readline K)87 463.2 Q(ey Bindings)-.25 E F0 .366 -(The syntax for controlling k)108 475.2 R .666 -.15(ey b)-.1 H .366 -(indings in the).15 F F1(inputr)2.876 E(c)-.37 E F0 .366 +-.1 H(s).15 E(pressed \(a)108 676.8 Q F4(macr)2.5 E(o)-.45 E F0(\).)A F1 +(Readline K)87 693.6 Q(ey Bindings)-.25 E F0 .366 +(The syntax for controlling k)108 705.6 R .666 -.15(ey b)-.1 H .366 +(indings in the).15 F F4(inputr)2.876 E(c)-.37 E F0 .366 (\214le is simple.)3.176 F .366(All that is required is the name of the) -5.366 F .383(command or the te)108 487.2 R .383(xt of a macro and a k) +5.366 F .383(command or the te)108 717.6 R .383(xt of a macro and a k) -.15 F .683 -.15(ey s)-.1 H .383 (equence to which it should be bound. The name may be speci-).15 F .853 -(\214ed in one of tw)108 499.2 R 3.353(ow)-.1 G .853 +(\214ed in one of tw)108 729.6 R 3.353(ow)-.1 G .853 (ays: as a symbolic k)-3.453 F 1.153 -.15(ey n)-.1 H .853 -(ame, possibly with).15 F F1(Meta\255)3.353 E F0(or)3.353 E F1(Contr) +(ame, possibly with).15 F F4(Meta\255)3.353 E F0(or)3.353 E F4(Contr) 3.353 E(ol\255)-.45 E F0(pre\214x)3.353 E .853(es, or as a k)-.15 F -.15 -(ey)-.1 G(sequence.)108 511.2 Q 1.542(When using the form)108 528 R F2 --.1(ke)4.042 G(yname).1 E F0(:)A F1(function\255name).833 E F0(or)4.042 -E F1(macr)4.042 E(o)-.45 E F0(,)A F1 -.1(ke)4.042 G(yname)-.2 E F0 1.542 -(is the name of a k)4.222 F 1.841 -.15(ey s)-.1 H 1.541(pelled out in) -.15 F 2.5(English. F)108 540 R(or e)-.15 E(xample:)-.15 E -(Control-u: uni)144 564 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E -(Meta-Rubout: backw)144 576 Q(ard-kill-w)-.1 E(ord)-.1 E -(Control-o: "> output")144 588 Q .698(In the abo)108 604.8 R .998 -.15 -(ve ex)-.15 H(ample,).15 E F1(C\255u)3.038 E F0 .698 -(is bound to the function)3.448 F F2(uni)3.198 E -.1(ve)-.1 G -(rsal\255ar).1 E(gument)-.1 E F0(,)A F1(M\255DEL)3.878 E F0 .698 -(is bound to the func-)3.728 F(tion)108 616.8 Q F2 -(backward\255kill\255w)2.759 E(ord)-.1 E F0 2.759(,a)C(nd)-2.759 E F1 +(ey)-.1 G(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(32)197.335 E 0 Cg +EP +%%Page: 33 33 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E(sequence.)108 84 Q 1.542(When using the form)108 100.8 R/F1 10 +/Times-Bold@0 SF -.1(ke)4.042 G(yname).1 E F0(:)A/F2 10/Times-Italic@0 +SF(function\255name).833 E F0(or)4.042 E F2(macr)4.042 E(o)-.45 E F0(,)A +F2 -.1(ke)4.042 G(yname)-.2 E F0 1.542(is the name of a k)4.222 F 1.841 +-.15(ey s)-.1 H 1.541(pelled out in).15 F 2.5(English. F)108 112.8 R +(or e)-.15 E(xample:)-.15 E(Control-u: uni)144 136.8 Q -.15(ve)-.25 G +(rsal\255ar).15 E(gument)-.18 E(Meta-Rubout: backw)144 148.8 Q +(ard-kill-w)-.1 E(ord)-.1 E(Control-o: "> output")144 160.8 Q .698 +(In the abo)108 177.6 R .998 -.15(ve ex)-.15 H(ample,).15 E F2(C\255u) +3.038 E F0 .698(is bound to the function)3.448 F F1(uni)3.198 E -.1(ve) +-.1 G(rsal\255ar).1 E(gument)-.1 E F0(,)A F2(M\255DEL)3.878 E F0 .698 +(is bound to the func-)3.728 F(tion)108 189.6 Q F1 +(backward\255kill\255w)2.759 E(ord)-.1 E F0 2.759(,a)C(nd)-2.759 E F2 (C\255o)2.599 E F0 .258(is bound to run the macro e)2.939 F .258 (xpressed on the right hand side \(that is, to)-.15 F(insert the te)108 -628.8 Q(xt)-.15 E/F4 10/Courier@0 SF 6(>o)2.5 G(utput)-6 E F0 -(into the line\).)2.5 E .055(In the second form,)108 645.6 R F2("k)2.555 -E(eyseq")-.1 E F0(:)A F1(function\255name).833 E F0(or)2.555 E F1(macr) -2.555 E(o)-.45 E F0(,)A F2 -.1(ke)2.555 G(yseq).1 E F0(dif)2.556 E .056 -(fers from)-.25 F F2 -.1(ke)2.556 G(yname).1 E F0(abo)2.556 E .356 -.15 +201.6 Q(xt)-.15 E/F3 10/Courier@0 SF 6(>o)2.5 G(utput)-6 E F0 +(into the line\).)2.5 E .055(In the second form,)108 218.4 R F1("k)2.555 +E(eyseq")-.1 E F0(:)A F2(function\255name).833 E F0(or)2.555 E F2(macr) +2.555 E(o)-.45 E F0(,)A F1 -.1(ke)2.555 G(yseq).1 E F0(dif)2.556 E .056 +(fers from)-.25 F F1 -.1(ke)2.556 G(yname).1 E F0(abo)2.556 E .356 -.15 (ve i)-.15 H 2.556(nt).15 G .056(hat strings)-2.556 F 1.284 -(denoting an entire k)108 657.6 R 1.584 -.15(ey s)-.1 H 1.284(equence m\ +(denoting an entire k)108 230.4 R 1.584 -.15(ey s)-.1 H 1.284(equence m\ ay be speci\214ed by placing the sequence within double quotes.).15 F -(Some)6.284 E .385(GNU Emacs style k)108 669.6 R .685 -.15(ey e)-.1 H +(Some)6.284 E .385(GNU Emacs style k)108 242.4 R .685 -.15(ey e)-.1 H .385(scapes can be used, as in the follo).15 F .385(wing e)-.25 F .386 (xample, b)-.15 F .386(ut the symbolic character names)-.2 F -(are not recognized.)108 681.6 Q("\\C\255u": uni)144 705.6 Q -.15(ve) +(are not recognized.)108 254.4 Q("\\C\255u": uni)144 278.4 Q -.15(ve) -.25 G(rsal\255ar).15 E(gument)-.18 E -("\\C\255x\\C\255r": re\255read\255init\255\214le)144 717.6 Q -("\\e[11~": "Function K)144 729.6 Q .3 -.15(ey 1)-.25 H(").15 E -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(32)198.445 E 0 Cg EP -%%Page: 33 33 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .315(In this e)108 84 R(xample,)-.15 E/F1 10/Times-Italic@0 SF -(C\255u)2.655 E F0 .315(is ag)3.065 F .315(ain bound to the function) --.05 F/F2 10/Times-Bold@0 SF(uni)2.815 E -.1(ve)-.1 G(rsal\255ar).1 E -(gument)-.1 E F0(.)A F1 .315(C\255x C\255r)5.155 F F0 .314 -(is bound to the func-)3.544 F(tion)108 96 Q F2 -.18(re)2.5 G<ad72>.18 E -(ead\255init\255\214le)-.18 E F0 2.5(,a)C(nd)-2.5 E F1(ESC [ 1 1 ~)3.01 -E F0(is bound to insert the te)3.94 E(xt)-.15 E/F3 10/Courier@0 SF +("\\C\255x\\C\255r": re\255read\255init\255\214le)144 290.4 Q +("\\e[11~": "Function K)144 302.4 Q .3 -.15(ey 1)-.25 H(").15 E .315 +(In this e)108 319.2 R(xample,)-.15 E F2(C\255u)2.655 E F0 .315(is ag) +3.065 F .315(ain bound to the function)-.05 F F1(uni)2.815 E -.1(ve)-.1 +G(rsal\255ar).1 E(gument)-.1 E F0(.)A F2 .315(C\255x C\255r)5.155 F F0 +.314(is bound to the func-)3.544 F(tion)108 331.2 Q F1 -.18(re)2.5 G +<ad72>.18 E(ead\255init\255\214le)-.18 E F0 2.5(,a)C(nd)-2.5 E F2 +(ESC [ 1 1 ~)3.01 E F0(is bound to insert the te)3.94 E(xt)-.15 E F3 (Function Key 1)2.5 E F0(.)A -(The full set of GNU Emacs style escape sequences is)108 112.8 Q F2 -<5c43ad>144 124.8 Q F0(control pre\214x)20.3 E F2<5c4dad>144 136.8 Q F0 -(meta pre\214x)18.08 E F2(\\e)144 148.8 Q F0(an escape character)28.78 E -F2(\\\\)144 160.8 Q F0(backslash)30.44 E F2(\\")144 172.8 Q F0 -(literal ")27.67 E F2<5c08>144 184.8 Q F0(literal \010)30.44 E(In addit\ -ion to the GNU Emacs style escape sequences, a second set of backslash \ -escapes is a)108 201.6 Q -.25(va)-.2 G(ilable:).25 E F2(\\a)144 213.6 Q -F0(alert \(bell\))28.22 E F2(\\b)144 225.6 Q F0(backspace)27.66 E F2 -(\\d)144 237.6 Q F0(delete)27.66 E F2(\\f)144 249.6 Q F0(form feed)29.89 -E F2(\\n)144 261.6 Q F0(ne)27.66 E(wline)-.25 E F2(\\r)144 273.6 Q F0 -(carriage return)28.78 E F2(\\t)144 285.6 Q F0(horizontal tab)29.89 E F2 -(\\v)144 297.6 Q F0 -.15(ve)28.22 G(rtical tab).15 E F2(\\)144 309.6 Q -F1(nnn)A F0(the eight-bit character whose v)18.22 E(alue is the octal v) --.25 E(alue)-.25 E F1(nnn)2.5 E F0(\(one to three digits\))2.5 E F2(\\x) -144 321.6 Q F1(HH)A F0(the eight-bit character whose v)13.78 E -(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F1(HH)2.5 E F0 +(The full set of GNU Emacs style escape sequences is)108 348 Q F1 +<5c43ad>144 360 Q F0(control pre\214x)20.3 E F1<5c4dad>144 372 Q F0 +(meta pre\214x)18.08 E F1(\\e)144 384 Q F0(an escape character)28.78 E +F1(\\\\)144 396 Q F0(backslash)30.44 E F1(\\")144 408 Q F0(literal ") +27.67 E F1<5c08>144 420 Q F0(literal \010)30.44 E(In addition to the GN\ +U Emacs style escape sequences, a second set of backslash escapes is a) +108 436.8 Q -.25(va)-.2 G(ilable:).25 E F1(\\a)144 448.8 Q F0 +(alert \(bell\))28.22 E F1(\\b)144 460.8 Q F0(backspace)27.66 E F1(\\d) +144 472.8 Q F0(delete)27.66 E F1(\\f)144 484.8 Q F0(form feed)29.89 E F1 +(\\n)144 496.8 Q F0(ne)27.66 E(wline)-.25 E F1(\\r)144 508.8 Q F0 +(carriage return)28.78 E F1(\\t)144 520.8 Q F0(horizontal tab)29.89 E F1 +(\\v)144 532.8 Q F0 -.15(ve)28.22 G(rtical tab).15 E F1(\\)144 544.8 Q +F2(nnn)A F0(the eight-bit character whose v)18.22 E(alue is the octal v) +-.25 E(alue)-.25 E F2(nnn)2.5 E F0(\(one to three digits\))2.5 E F1(\\x) +144 556.8 Q F2(HH)A F0(the eight-bit character whose v)13.78 E +(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0 (\(one or tw)2.5 E 2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E 1.141 -(When entering the te)108 338.4 R 1.141(xt of a macro, single or double\ +(When entering the te)108 573.6 R 1.141(xt of a macro, single or double\ quotes must be used to indicate a macro de\214nition.)-.15 F .09 -(Unquoted te)108 350.4 R .09(xt is assumed to be a function name.)-.15 F +(Unquoted te)108 585.6 R .09(xt is assumed to be a function name.)-.15 F .089(In the macro body)5.089 F 2.589(,t)-.65 G .089 (he backslash escapes described abo)-2.589 F -.15(ve)-.15 G(are e)108 -362.4 Q 2.5(xpanded. Backslash)-.15 F(will quote an)2.5 E 2.5(yo)-.15 G +597.6 Q 2.5(xpanded. Backslash)-.15 F(will quote an)2.5 E 2.5(yo)-.15 G (ther character in the macro te)-2.5 E(xt, including " and \010.)-.15 E -F2(Bash)108 379.2 Q F0(allo)2.929 E .429(ws the current readline k)-.25 +F1(Bash)108 614.4 Q F0(allo)2.929 E .429(ws the current readline k)-.25 F .729 -.15(ey b)-.1 H .429 -(indings to be displayed or modi\214ed with the).15 F F2(bind)2.93 E F0 +(indings to be displayed or modi\214ed with the).15 F F1(bind)2.93 E F0 -.2(bu)2.93 G .43(iltin command.).2 F .046 -(The editing mode may be switched during interacti)108 391.2 R .346 -.15 -(ve u)-.25 H .046(se by using the).15 F F2<ad6f>2.545 E F0 .045 -(option to the)2.545 F F2(set)2.545 E F0 -.2(bu)2.545 G .045 -(iltin command).2 F(\(see)108 403.2 Q/F4 9/Times-Bold@0 SF(SHELL B)2.5 E -(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F2 -(Readline V)87 420 Q(ariables)-.92 E F0 .043(Readline has v)108 432 R -.043(ariables that can be used to further customize its beha)-.25 F +(The editing mode may be switched during interacti)108 626.4 R .346 -.15 +(ve u)-.25 H .046(se by using the).15 F F1<ad6f>2.545 E F0 .045 +(option to the)2.545 F F1(set)2.545 E F0 -.2(bu)2.545 G .045 +(iltin command).2 F(\(see)108 638.4 Q/F4 9/Times-Bold@0 SF(SHELL B)2.5 E +(UIL)-.09 E(TIN COMMANDS)-.828 E F0(belo)2.25 E(w\).)-.25 E F1 +(Readline V)87 655.2 Q(ariables)-.92 E F0 .043(Readline has v)108 667.2 +R .043(ariables that can be used to further customize its beha)-.25 F (vior)-.2 E 5.043(.A)-.55 G -.25(va)-2.5 G .043 -(riable may be set in the).25 F F1(inpu-)2.554 E(tr)108 444 Q(c)-.37 E -F0(\214le with a statement of the form)2.81 E F2(set)144 460.8 Q F1 +(riable may be set in the).25 F F2(inpu-)2.554 E(tr)108 679.2 Q(c)-.37 E +F0(\214le with a statement of the form)2.81 E F1(set)144 696 Q F2 (variable\255name value)2.5 E F0 .79(Except where noted, readline v)108 -477.6 R .79(ariables can tak)-.25 F 3.29(et)-.1 G .79(he v)-3.29 F -(alues)-.25 E F2(On)3.29 E F0(or)3.29 E F2(Off)3.29 E F0 .79 +712.8 R .79(ariables can tak)-.25 F 3.29(et)-.1 G .79(he v)-3.29 F +(alues)-.25 E F1(On)3.29 E F0(or)3.29 E F1(Off)3.29 E F0 .79 (\(without re)3.29 F -.05(ga)-.15 G .79(rd to case\).).05 F(Unrecog-) -5.79 E .448(nized v)108 489.6 R .448(ariable names are ignored.)-.25 F -.448(When a v)5.448 F .448(ariable v)-.25 F .448 -(alue is read, empty or null v)-.25 F .449(alues, "on" \(case-insensi-) --.25 F(ti)108 501.6 Q -.15(ve)-.25 G .468(\), and "1" are equi).15 F --.25(va)-.25 G .468(lent to).25 F F2(On)2.968 E F0 5.468(.A)C .468 -(ll other v)-5.468 F .468(alues are equi)-.25 F -.25(va)-.25 G .468 -(lent to).25 F F2(Off)2.968 E F0 5.468(.T)C .467(he v)-5.468 F .467 -(ariables and their def)-.25 F(ault)-.1 E -.25(va)108 513.6 S(lues are:) -.25 E F2(bell\255style \(audible\))108 530.4 Q F0 .01 -(Controls what happens when readline w)144 542.4 R .011 -(ants to ring the terminal bell.)-.1 F .011(If set to)5.011 F F2(none) +5.79 E 2.392(nized v)108 724.8 R 2.392(ariable names are ignored.)-.25 F +2.392(When a v)7.392 F 2.392(ariable v)-.25 F 2.393 +(alue is read, empty or null v)-.25 F 2.393(alues, "on" \(case-)-.25 F +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(33)197.335 E 0 Cg EP +%%Page: 34 34 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E(insensiti)108 84 Q -.15(ve)-.25 G .636(\), and "1" are equi).15 F +-.25(va)-.25 G .636(lent to).25 F/F1 10/Times-Bold@0 SF(On)3.136 E F0 +5.636(.A)C .636(ll other v)-5.636 F .636(alues are equi)-.25 F -.25(va) +-.25 G .636(lent to).25 F F1(Off)3.136 E F0 5.636(.T)C .636(he v)-5.636 +F .635(ariables and their)-.25 F(def)108 96 Q(ault v)-.1 E(alues are:) +-.25 E F1(bell\255style \(audible\))108 112.8 Q F0 .01 +(Controls what happens when readline w)144 124.8 R .011 +(ants to ring the terminal bell.)-.1 F .011(If set to)5.011 F F1(none) 2.511 E F0 2.511(,r)C .011(eadline ne)-2.511 F -.15(ve)-.25 G(r).15 E -.94(rings the bell.)144 554.4 R .94(If set to)5.94 F F2(visible)3.44 E +.94(rings the bell.)144 136.8 R .94(If set to)5.94 F F1(visible)3.44 E F0 3.44(,r)C .94(eadline uses a visible bell if one is a)-3.44 F -.25 -(va)-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F2(audible)3.44 E F0 -(,)A(readline attempts to ring the terminal')144 566.4 Q 2.5(sb)-.55 G -(ell.)-2.5 E F2(bind\255tty\255special\255chars \(On\))108 578.4 Q F0 -.055(If set to)144 590.4 R F2(On)2.555 E F0 2.555(,r)C .056(eadline att\ +(va)-.2 G 3.44(ilable. If).25 F .94(set to)3.44 F F1(audible)3.44 E F0 +(,)A(readline attempts to ring the terminal')144 148.8 Q 2.5(sb)-.55 G +(ell.)-2.5 E F1(bind\255tty\255special\255chars \(On\))108 160.8 Q F0 +.055(If set to)144 172.8 R F1(On)2.555 E F0 2.555(,r)C .056(eadline att\ empts to bind the control characters treated specially by the k)-2.555 F -(ernel')-.1 E 2.556(st)-.55 G(ermi-)-2.556 E(nal dri)144 602.4 Q -.15 +(ernel')-.1 E 2.556(st)-.55 G(ermi-)-2.556 E(nal dri)144 184.8 Q -.15 (ve)-.25 G 2.5(rt).15 G 2.5(ot)-2.5 G(heir readline equi)-2.5 E -.25(va) --.25 G(lents.).25 E F2(comment\255begin \(`)108 614.4 Q(`#')-.63 E('\)) --.63 E F0 .885(The string that is inserted when the readline)144 626.4 R -F2(insert\255comment)3.385 E F0 .884(command is e)3.384 F -.15(xe)-.15 G -3.384(cuted. This).15 F(com-)3.384 E(mand is bound to)144 638.4 Q F2 -(M\255#)2.5 E F0(in emacs mode and to)2.5 E F2(#)2.5 E F0 -(in vi command mode.)2.5 E F2(completion\255ignor)108 650.4 Q -(e\255case \(Off\))-.18 E F0(If set to)144 662.4 Q F2(On)2.5 E F0 2.5 +-.25 G(lents.).25 E F1(comment\255begin \(`)108 196.8 Q(`#')-.63 E('\)) +-.63 E F0 .885(The string that is inserted when the readline)144 208.8 R +F1(insert\255comment)3.385 E F0 .884(command is e)3.384 F -.15(xe)-.15 G +3.384(cuted. This).15 F(com-)3.384 E(mand is bound to)144 220.8 Q F1 +(M\255#)2.5 E F0(in emacs mode and to)2.5 E F1(#)2.5 E F0 +(in vi command mode.)2.5 E F1(completion\255ignor)108 232.8 Q +(e\255case \(Off\))-.18 E F0(If set to)144 244.8 Q F1(On)2.5 E F0 2.5 (,r)C(eadline performs \214lename matching and completion in a case\255\ -insensiti)-2.5 E .3 -.15(ve f)-.25 H(ashion.).05 E F2 -(completion\255query\255items \(100\))108 674.4 Q F0 .529 -(This determines when the user is queried about vie)144 686.4 R .53 +insensiti)-2.5 E .3 -.15(ve f)-.25 H(ashion.).05 E F1(completion\255pr) +108 256.8 Q(e\214x\255display\255length \(0\))-.18 E F0 .829(The length\ + in characters of the common pre\214x of a list of possible completions\ + that is displayed)144 268.8 R 1.275(without modi\214cation.)144 280.8 R +1.275(When set to a v)6.275 F 1.274 +(alue greater than zero, common pre\214x)-.25 F 1.274 +(es longer than this)-.15 F -.25(va)144 292.8 S(lue are replaced with a\ +n ellipsis when displaying possible completions.).25 E F1 +(completion\255query\255items \(100\))108 304.8 Q F0 .529 +(This determines when the user is queried about vie)144 316.8 R .53 (wing the number of possible completions gen-)-.25 F .561(erated by the) -144 698.4 R F2(possible\255completions)3.061 E F0 3.061(command. It) +144 328.8 R F1(possible\255completions)3.061 E F0 3.061(command. It) 3.061 F .561(may be set to an)3.061 F 3.06(yi)-.15 G(nte)-3.06 E .56 (ger v)-.15 F .56(alue greater than or)-.25 F .782(equal to zero.)144 -710.4 R .783(If the number of possible completions is greater than or e\ -qual to the v)5.782 F .783(alue of this)-.25 F -.25(va)144 722.4 S .237 +340.8 R .783(If the number of possible completions is greater than or e\ +qual to the v)5.782 F .783(alue of this)-.25 F -.25(va)144 352.8 S .237 (riable, the user is ask).25 F .237(ed whether or not he wishes to vie) -.1 F 2.737(wt)-.25 G .237(hem; otherwise the)-2.737 F 2.737(ya)-.15 G -.237(re simply listed)-2.737 F(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(33)198.445 E 0 Cg EP -%%Page: 34 34 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(on the terminal.)144 84 Q/F1 10/Times-Bold@0 SF(con)108 96 Q -.1 -(ve)-.4 G(rt\255meta \(On\)).1 E F0 .612(If set to)144 108 R F1(On)3.112 -E F0 3.112(,r)C .613(eadline will con)-3.112 F -.15(ve)-.4 G .613 -(rt characters with the eighth bit set to an ASCII k).15 F .913 -.15 -(ey s)-.1 H .613(equence by).15 F .541 +.237(re simply listed)-2.737 F(on the terminal.)144 364.8 Q F1(con)108 +376.8 Q -.1(ve)-.4 G(rt\255meta \(On\)).1 E F0 .612(If set to)144 388.8 +R F1(On)3.112 E F0 3.112(,r)C .613(eadline will con)-3.112 F -.15(ve)-.4 +G .613(rt characters with the eighth bit set to an ASCII k).15 F .913 +-.15(ey s)-.1 H .613(equence by).15 F .541 (stripping the eighth bit and pre\214xing an escape character \(in ef) -144 120 R .541(fect, using escape as the)-.25 F/F2 10/Times-Italic@0 SF -.541(meta pr)3.041 F(e-)-.37 E<8c78>144 132 Q F0(\).)A F1 -(disable\255completion \(Off\))108 144 Q F0 .038(If set to)144 156 R F1 -(On)2.538 E F0 2.538(,r)C .038(eadline will inhibit w)-2.538 F .038 +144 400.8 R .541(fect, using escape as the)-.25 F/F2 10/Times-Italic@0 +SF .541(meta pr)3.041 F(e-)-.37 E<8c78>144 412.8 Q F0(\).)A F1 +(disable\255completion \(Off\))108 424.8 Q F0 .038(If set to)144 436.8 R +F1(On)2.538 E F0 2.538(,r)C .038(eadline will inhibit w)-2.538 F .038 (ord completion.)-.1 F .038 (Completion characters will be inserted into the)5.038 F(line as if the) -144 168 Q 2.5(yh)-.15 G(ad been mapped to)-2.5 E F1(self-insert)2.5 E F0 -(.)A F1(editing\255mode \(emacs\))108 180 Q F0 .253 -(Controls whether readline be)144 192 R .253(gins with a set of k)-.15 F -.553 -.15(ey b)-.1 H .253(indings similar to).15 F F2(emacs)2.752 E F0 +144 448.8 Q 2.5(yh)-.15 G(ad been mapped to)-2.5 E F1(self-insert)2.5 E +F0(.)A F1(editing\255mode \(emacs\))108 460.8 Q F0 .253 +(Controls whether readline be)144 472.8 R .253(gins with a set of k)-.15 +F .553 -.15(ey b)-.1 H .253(indings similar to).15 F F2(emacs)2.752 E F0 (or)2.752 E F2(vi)2.752 E F0(.)A F1(editing\255mode)5.252 E F0 -(can be set to either)144 204 Q F1(emacs)2.5 E F0(or)2.5 E F1(vi)2.5 E -F0(.)A F1(enable\255k)108 216 Q(eypad \(Off\))-.1 E F0 .892(When set to) -144 228 R F1(On)3.393 E F0 3.393(,r)C .893 +(can be set to either)144 484.8 Q F1(emacs)2.5 E F0(or)2.5 E F1(vi)2.5 E +F0(.)A F1(enable\255k)108 496.8 Q(eypad \(Off\))-.1 E F0 .892 +(When set to)144 508.8 R F1(On)3.393 E F0 3.393(,r)C .893 (eadline will try to enable the application k)-3.393 F -.15(ey)-.1 G .893(pad when it is called.).15 F .893(Some sys-)5.893 F -(tems need this to enable the arro)144 240 Q 2.5(wk)-.25 G -.15(ey)-2.6 -G(s.).15 E F1(expand\255tilde \(Off\))108 252 Q F0(If set to)144 264 Q -F1(on)2.5 E F0 2.5(,t)C(ilde e)-2.5 E +(tems need this to enable the arro)144 520.8 Q 2.5(wk)-.25 G -.15(ey) +-2.6 G(s.).15 E F1(expand\255tilde \(Off\))108 532.8 Q F0(If set to)144 +544.8 Q F1(on)2.5 E F0 2.5(,t)C(ilde e)-2.5 E (xpansion is performed when readline attempts w)-.15 E(ord completion.) --.1 E F1(history\255pr)108 276 Q(eser)-.18 E -.1(ve)-.1 G -(\255point \(Off\)).1 E F0 1.493(If set to)144 288 R F1(on)3.993 E F0 +-.1 E F1(history\255pr)108 556.8 Q(eser)-.18 E -.1(ve)-.1 G +(\255point \(Off\)).1 E F0 1.493(If set to)144 568.8 R F1(on)3.993 E F0 3.993(,t)C 1.493(he history code attempts to place point at the same lo\ -cation on each history line)-3.993 F(retrie)144 300 Q -.15(ve)-.25 G 2.5 -(dw).15 G(ith)-2.5 E F1(pr)2.5 E -.15(ev)-.18 G(ious-history).15 E F0 -(or)2.5 E F1(next-history)2.5 E F0(.)A F1(history\255size \(0\))108 312 -Q F0 .462(Set the maximum number of history entries sa)144 324 R -.15 -(ve)-.2 G 2.963(di).15 G 2.963(nt)-2.963 G .463(he history list.)-2.963 -F .463(If set to zero, the number of)5.463 F -(entries in the history list is not limited.)144 336 Q F1 -(horizontal\255scr)108 348 Q(oll\255mode \(Off\))-.18 E F0 .449 -(When set to)144 360 R F1(On)2.949 E F0 2.949(,m)C(ak)-2.949 E .448 +cation on each history line)-3.993 F(retrie)144 580.8 Q -.15(ve)-.25 G +2.5(dw).15 G(ith)-2.5 E F1(pr)2.5 E -.15(ev)-.18 G(ious-history).15 E F0 +(or)2.5 E F1(next-history)2.5 E F0(.)A F1(history\255size \(0\))108 +592.8 Q F0 .462(Set the maximum number of history entries sa)144 604.8 R +-.15(ve)-.2 G 2.963(di).15 G 2.963(nt)-2.963 G .463(he history list.) +-2.963 F .463(If set to zero, the number of)5.463 F +(entries in the history list is not limited.)144 616.8 Q F1 +(horizontal\255scr)108 628.8 Q(oll\255mode \(Off\))-.18 E F0 .449 +(When set to)144 640.8 R F1(On)2.949 E F0 2.949(,m)C(ak)-2.949 E .448 (es readline use a single line for display)-.1 F 2.948(,s)-.65 G .448 (crolling the input horizontally on a)-2.948 F 1.194(single screen line\ when it becomes longer than the screen width rather than wrapping to a\ - ne)144 372 R(w)-.25 E(line.)144 384 Q F1(input\255meta \(Off\))108 396 -Q F0 .228(If set to)144 408 R F1(On)2.728 E F0 2.728(,r)C .227(eadline \ -will enable eight-bit input \(that is, it will not strip the high bit f\ -rom the char)-2.728 F(-)-.2 E .956(acters it reads\), re)144 420 R -.05 -(ga)-.15 G .956(rdless of what the terminal claims it can support.).05 F -.957(The name)5.956 F F1(meta\255\215ag)3.457 E F0 .957(is a)3.457 F -(synon)144 432 Q(ym for this v)-.15 E(ariable.)-.25 E F1(isear)108 444 Q -(ch\255terminators \(`)-.18 E(`C\255[C\255J')-.63 E('\))-.63 E F0 .439(\ -The string of characters that should terminate an incremental search wi\ -thout subsequently e)144 456 R -.15(xe)-.15 G(cut-).15 E .934 -(ing the character as a command.)144 468 R .935(If this v)5.935 F .935 -(ariable has not been gi)-.25 F -.15(ve)-.25 G 3.435(nav).15 G .935 -(alue, the characters)-3.685 F F2(ESC)3.435 E F0(and)144 480 Q F2 -(C\255J)2.5 E F0(will terminate an incremental search.)2.5 E F1 -.1(ke) -108 492 S(ymap \(emacs\)).1 E F0 2.021(Set the current readline k)144 -504 R -.15(ey)-.1 G 4.521(map. The).15 F 2.021(set of v)4.521 F 2.021 -(alid k)-.25 F -.15(ey)-.1 G 2.021(map names is).15 F F2 2.02 + ne)144 652.8 R(w)-.25 E(line.)144 664.8 Q F1(input\255meta \(Off\))108 +676.8 Q F0 .228(If set to)144 688.8 R F1(On)2.728 E F0 2.728(,r)C .227(\ +eadline will enable eight-bit input \(that is, it will not strip the hi\ +gh bit from the char)-2.728 F(-)-.2 E .956(acters it reads\), re)144 +700.8 R -.05(ga)-.15 G .956 +(rdless of what the terminal claims it can support.).05 F .957(The name) +5.956 F F1(meta\255\215ag)3.457 E F0 .957(is a)3.457 F(synon)144 712.8 Q +(ym for this v)-.15 E(ariable.)-.25 E(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(34)197.335 E 0 Cg EP +%%Page: 35 35 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(isear)108 84 Q(ch\255terminators \(`)-.18 E +(`C\255[C\255J')-.63 E('\))-.63 E F0 .439(The string of characters that\ + should terminate an incremental search without subsequently e)144 96 R +-.15(xe)-.15 G(cut-).15 E .934(ing the character as a command.)144 108 R +.935(If this v)5.935 F .935(ariable has not been gi)-.25 F -.15(ve)-.25 +G 3.435(nav).15 G .935(alue, the characters)-3.685 F/F2 10 +/Times-Italic@0 SF(ESC)3.435 E F0(and)144 120 Q F2(C\255J)2.5 E F0 +(will terminate an incremental search.)2.5 E F1 -.1(ke)108 132 S +(ymap \(emacs\)).1 E F0 2.021(Set the current readline k)144 144 R -.15 +(ey)-.1 G 4.521(map. The).15 F 2.021(set of v)4.521 F 2.021(alid k)-.25 +F -.15(ey)-.1 G 2.021(map names is).15 F F2 2.02 (emacs, emacs\255standar)4.52 F(d,)-.37 E .068 -(emacs\255meta, emacs\255ctlx, vi, vi\255command)144 516 R F0 2.568(,a)C +(emacs\255meta, emacs\255ctlx, vi, vi\255command)144 156 R F0 2.568(,a)C (nd)-2.568 E F2(vi\255insert)2.568 E F0(.).68 E F2(vi)5.068 E F0 .068 (is equi)2.568 F -.25(va)-.25 G .068(lent to).25 F F2(vi\255command) -2.569 E F0(;)A F2(emacs)2.569 E F0 1.544(is equi)144 528 R -.25(va)-.25 +2.569 E F0(;)A F2(emacs)2.569 E F0 1.544(is equi)144 168 R -.25(va)-.25 G 1.544(lent to).25 F F2(emacs\255standar)4.044 E(d)-.37 E F0 6.544(.T)C 1.544(he def)-6.544 F 1.544(ault v)-.1 F 1.544(alue is)-.25 F F2(emacs) 4.044 E F0 4.044(;t).27 G 1.544(he v)-4.044 F 1.544(alue of)-.25 F F1 -(editing\255mode)4.043 E F0(also)4.043 E(af)144 540 Q(fects the def)-.25 -E(ault k)-.1 E -.15(ey)-.1 G(map.).15 E F1(mark\255dir)108 552 Q -(ectories \(On\))-.18 E F0(If set to)144 564 Q F1(On)2.5 E F0 2.5(,c)C +(editing\255mode)4.043 E F0(also)4.043 E(af)144 180 Q(fects the def)-.25 +E(ault k)-.1 E -.15(ey)-.1 G(map.).15 E F1(mark\255dir)108 192 Q +(ectories \(On\))-.18 E F0(If set to)144 204 Q F1(On)2.5 E F0 2.5(,c)C (ompleted directory names ha)-2.5 E .3 -.15(ve a s)-.2 H(lash appended.) -.15 E F1(mark\255modi\214ed\255lines \(Off\))108 576 Q F0(If set to)144 -588 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b) +.15 E F1(mark\255modi\214ed\255lines \(Off\))108 216 Q F0(If set to)144 +228 Q F1(On)2.5 E F0 2.5(,h)C(istory lines that ha)-2.5 E .3 -.15(ve b) -.2 H(een modi\214ed are displayed with a preceding asterisk \().15 E F1 -(*)A F0(\).)A F1(mark\255symlink)108 600 Q(ed\255dir)-.1 E -(ectories \(Off\))-.18 E F0 .175(If set to)144 612 R F1(On)2.675 E F0 +(*)A F0(\).)A F1(mark\255symlink)108 240 Q(ed\255dir)-.1 E +(ectories \(Off\))-.18 E F0 .175(If set to)144 252 R F1(On)2.675 E F0 2.675(,c)C .175 (ompleted names which are symbolic links to directories ha)-2.675 F .475 --.15(ve a s)-.2 H .175(lash appended \(sub-).15 F(ject to the v)144 624 +-.15(ve a s)-.2 H .175(lash appended \(sub-).15 F(ject to the v)144 264 Q(alue of)-.25 E F1(mark\255dir)2.5 E(ectories)-.18 E F0(\).)A F1 -(match\255hidden\255\214les \(On\))108 636 Q F0 .193(This v)144 648 R +(match\255hidden\255\214les \(On\))108 276 Q F0 .193(This v)144 288 R .193(ariable, when set to)-.25 F F1(On)2.693 E F0 2.693(,c)C .192 (auses readline to match \214les whose names be)-2.693 F .192 (gin with a `.)-.15 F 2.692('\()-.7 G(hidden)-2.692 E 1.023 (\214les\) when performing \214lename completion, unless the leading `.) -144 660 R 3.523('i)-.7 G 3.523(ss)-3.523 G 1.024 -(upplied by the user in the)-3.523 F(\214lename to be completed.)144 672 -Q F1(output\255meta \(Off\))108 684 Q F0 .507(If set to)144 696 R F1(On) +144 300 R 3.523('i)-.7 G 3.523(ss)-3.523 G 1.024 +(upplied by the user in the)-3.523 F(\214lename to be completed.)144 312 +Q F1(output\255meta \(Off\))108 324 Q F0 .507(If set to)144 336 R F1(On) 3.007 E F0 3.007(,r)C .507(eadline will display characters with the eig\ -hth bit set directly rather than as a meta-)-3.007 F(pre\214x)144 708 Q -(ed escape sequence.)-.15 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E -(34)198.445 E 0 Cg EP -%%Page: 35 35 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(page\255completions \(On\))108 84 Q F0 .808 -(If set to)144 96 R F1(On)3.308 E F0 3.308(,r)C .808 -(eadline uses an internal)-3.308 F/F2 10/Times-Italic@0 SF(mor)3.308 E -(e)-.37 E F0(-lik)A 3.308(ep)-.1 G .808 -(ager to display a screenful of possible comple-)-3.308 F -(tions at a time.)144 108 Q F1 -(print\255completions\255horizontally \(Off\))108 120 Q F0 1.319 -(If set to)144 132 R F1(On)3.819 E F0 3.819(,r)C 1.318(eadline will dis\ +hth bit set directly rather than as a meta-)-3.007 F(pre\214x)144 348 Q +(ed escape sequence.)-.15 E F1(page\255completions \(On\))108 360 Q F0 +.808(If set to)144 372 R F1(On)3.308 E F0 3.308(,r)C .808 +(eadline uses an internal)-3.308 F F2(mor)3.308 E(e)-.37 E F0(-lik)A +3.308(ep)-.1 G .808(ager to display a screenful of possible comple-) +-3.308 F(tions at a time.)144 384 Q F1 +(print\255completions\255horizontally \(Off\))108 396 Q F0 1.319 +(If set to)144 408 R F1(On)3.819 E F0 3.819(,r)C 1.318(eadline will dis\ play completions with matches sorted horizontally in alphabetical)-3.819 -F(order)144 144 Q 2.5(,r)-.4 G(ather than do)-2.5 E(wn the screen.)-.25 -E F1(sho)108 156 Q(w\255all\255if\255ambiguous \(Off\))-.1 E F0 .477 -(This alters the def)144 168 R .477(ault beha)-.1 F .477 +F(order)144 420 Q 2.5(,r)-.4 G(ather than do)-2.5 E(wn the screen.)-.25 +E F1 -2.29 -.18(re v)108 432 T(ert\255all\255at\255newline \(Off\)).08 E +F0 .872(If set to)144 444 R F1(on)3.372 E F0 3.372(,r)C .873 +(eadline will undo all changes to history lines before returning when) +-3.372 F F1(accept\255line)3.373 E F0(is)3.373 E -.15(exe)144 456 S +2.686(cuted. By).15 F(def)2.686 E .186 +(ault, history lines may be modi\214ed and retain indi)-.1 F .186 +(vidual undo lists across calls to)-.25 F F1 -.18(re)144 468 S(adline) +.18 E F0(.)A F1(sho)108 480 Q(w\255all\255if\255ambiguous \(Off\))-.1 E +F0 .477(This alters the def)144 492 R .477(ault beha)-.1 F .477 (vior of the completion functions.)-.2 F .478(If set to)5.478 F F1(on) 2.978 E F0 2.978(,w)C .478(ords which ha)-3.078 F .778 -.15(ve m)-.2 H (ore).15 E 1.264(than one possible completion cause the matches to be l\ -isted immediately instead of ringing the)144 180 R(bell.)144 192 Q F1 -(sho)108 204 Q(w\255all\255if\255unmodi\214ed \(Off\))-.1 E F0 5.345 -(This alters the def)144 216 R 5.345(ault beha)-.1 F 5.345 +isted immediately instead of ringing the)144 504 R(bell.)144 516 Q F1 +(sho)108 528 Q(w\255all\255if\255unmodi\214ed \(Off\))-.1 E F0 5.345 +(This alters the def)144 540 R 5.345(ault beha)-.1 F 5.345 (vior of the completion functions in a f)-.2 F 5.346(ashion similar to) --.1 F F1(sho)144 228 Q(w\255all\255if\255ambiguous)-.1 E F0 6.923(.I)C +-.1 F F1(sho)144 552 Q(w\255all\255if\255ambiguous)-.1 E F0 6.923(.I)C 4.423(fs)-6.923 G 1.923(et to)-4.423 F F1(on)4.423 E F0 4.423(,w)C 1.923 (ords which ha)-4.523 F 2.222 -.15(ve m)-.2 H 1.922 -(ore than one possible completion).15 F 1.039(without an)144 240 R 3.539 +(ore than one possible completion).15 F 1.039(without an)144 564 R 3.539 (yp)-.15 G 1.039 (ossible partial completion \(the possible completions don')-3.539 F 3.539(ts)-.18 G 1.04(hare a common pre\214x\))-3.539 F(cause the matche\ -s to be listed immediately instead of ringing the bell.)144 252 Q F1 -(visible\255stats \(Off\))108 264 Q F0 .847(If set to)144 276 R F1(On) +s to be listed immediately instead of ringing the bell.)144 576 Q F1 +(visible\255stats \(Off\))108 588 Q F0 .847(If set to)144 600 R F1(On) 3.346 E F0 3.346(,ac)C .846(haracter denoting a \214le')-3.346 F 3.346 (st)-.55 G .846(ype as reported by)-3.346 F F2(stat)3.346 E F0 .846 (\(2\) is appended to the \214lename)B -(when listing possible completions.)144 288 Q F1 -(Readline Conditional Constructs)87 304.8 Q F0 .05 -(Readline implements a f)108 316.8 R .05(acility similar in spirit to t\ +(when listing possible completions.)144 612 Q F1 +(Readline Conditional Constructs)87 628.8 Q F0 .05 +(Readline implements a f)108 640.8 R .05(acility similar in spirit to t\ he conditional compilation features of the C preprocessor)-.1 F .097 -(which allo)108 328.8 R .097(ws k)-.25 F .396 -.15(ey b)-.1 H .096 +(which allo)108 652.8 R .097(ws k)-.25 F .396 -.15(ey b)-.1 H .096 (indings and v).15 F .096 (ariable settings to be performed as the result of tests.)-.25 F .096 -(There are four parser)5.096 F(directi)108 340.8 Q -.15(ve)-.25 G 2.5 -(su).15 G(sed.)-2.5 E F1($if)108 357.6 Q F0(The)24.89 E F1($if)2.962 E +(There are four parser)5.096 F(directi)108 664.8 Q -.15(ve)-.25 G 2.5 +(su).15 G(sed.)-2.5 E F1($if)108 681.6 Q F0(The)24.89 E F1($if)2.962 E F0 .462(construct allo)2.962 F .463(ws bindings to be made based on the\ editing mode, the terminal being used,)-.25 F .478 -(or the application using readline.)144 369.6 R .477(The te)5.477 F .477 +(or the application using readline.)144 693.6 R .477(The te)5.477 F .477 (xt of the test e)-.15 F .477 (xtends to the end of the line; no characters)-.15 F -(are required to isolate it.)144 381.6 Q F1(mode)144 398.4 Q F0(The) -12.67 E F1(mode=)3.711 E F0 1.211(form of the)3.711 F F1($if)3.711 E F0 -(directi)3.711 E 1.511 -.15(ve i)-.25 H 3.711(su).15 G 1.211 +(are required to isolate it.)144 705.6 Q(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(35)197.335 E 0 Cg EP +%%Page: 36 36 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(mode)144 84 Q F0(The)12.67 E F1(mode=)3.711 +E F0 1.211(form of the)3.711 F F1($if)3.711 E F0(directi)3.711 E 1.511 +-.15(ve i)-.25 H 3.711(su).15 G 1.211 (sed to test whether readline is in emacs or vi)-3.711 F 3.065 -(mode. This)180 410.4 R .565(may be used in conjunction with the)3.065 F -F1 .565(set k)3.065 F(eymap)-.1 E F0 .565(command, for instance, to) -3.065 F .735(set bindings in the)180 422.4 R F2(emacs\255standar)3.235 E -(d)-.37 E F0(and)3.235 E F2(emacs\255ctlx)3.235 E F0 -.1(ke)3.235 G .735 -(ymaps only if readline is starting)-.05 F(out in emacs mode.)180 434.4 -Q F1(term)144 451.2 Q F0(The)15.46 E F1(term=)3.197 E F0 .696 +(mode. This)180 96 R .565(may be used in conjunction with the)3.065 F F1 +.565(set k)3.065 F(eymap)-.1 E F0 .565(command, for instance, to)3.065 F +.735(set bindings in the)180 108 R/F2 10/Times-Italic@0 SF +(emacs\255standar)3.235 E(d)-.37 E F0(and)3.235 E F2(emacs\255ctlx)3.235 +E F0 -.1(ke)3.235 G .735(ymaps only if readline is starting)-.05 F +(out in emacs mode.)180 120 Q F1(term)144 136.8 Q F0(The)15.46 E F1 +(term=)3.197 E F0 .696 (form may be used to include terminal-speci\214c k)3.197 F .996 -.15 -(ey b)-.1 H .696(indings, perhaps to bind).15 F .654(the k)180 463.2 R +(ey b)-.1 H .696(indings, perhaps to bind).15 F .654(the k)180 148.8 R .954 -.15(ey s)-.1 H .654(equences output by the terminal').15 F 3.154 (sf)-.55 G .654(unction k)-3.154 F -.15(ey)-.1 G 3.154(s. The).15 F -.1 -(wo)3.154 G .654(rd on the right side of).1 F(the)180 475.2 Q F1(=)3.232 +(wo)3.154 G .654(rd on the right side of).1 F(the)180 160.8 Q F1(=)3.232 E F0 .732(is tested ag)3.232 F .732(ainst the both full name of the ter\ minal and the portion of the terminal)-.05 F(name before the \214rst)180 -487.2 Q F1<ad>2.5 E F0 5(.T)C(his allo)-5 E(ws)-.25 E F2(sun)2.84 E F0 +172.8 Q F1<ad>2.5 E F0 5(.T)C(his allo)-5 E(ws)-.25 E F2(sun)2.84 E F0 (to match both)2.74 E F2(sun)2.84 E F0(and)2.74 E F2(sun\255cmd)2.5 E F0 -2.5(,f).77 G(or instance.)-2.5 E F1(application)144 504 Q F0(The)180 516 -Q F1(application)3.003 E F0 .503 +2.5(,f).77 G(or instance.)-2.5 E F1(application)144 189.6 Q F0(The)180 +201.6 Q F1(application)3.003 E F0 .503 (construct is used to include application-speci\214c settings.)3.003 F .503(Each program)5.503 F .114(using the readline library sets the)180 -528 R F2 .114(application name)2.614 F F0 2.614(,a)C .114 +213.6 R F2 .114(application name)2.614 F F0 2.614(,a)C .114 (nd an initialization \214le can test for a)-2.614 F .5(particular v)180 -540 R 3(alue. This)-.25 F .501(could be used to bind k)3 F .801 -.15 +225.6 R 3(alue. This)-.25 F .501(could be used to bind k)3 F .801 -.15 (ey s)-.1 H .501(equences to functions useful for a spe-).15 F .397 -(ci\214c program.)180 552 R -.15(Fo)5.397 G 2.896(ri).15 G .396 +(ci\214c program.)180 237.6 R -.15(Fo)5.397 G 2.896(ri).15 G .396 (nstance, the follo)-2.896 F .396(wing command adds a k)-.25 F .696 -.15 -(ey s)-.1 H .396(equence that quotes the).15 F(current or pre)180 564 Q -(vious w)-.25 E(ord in Bash:)-.1 E F1($if)180 588 Q F0(Bash)2.5 E 2.5 -(#Q)180 600 S(uote the current or pre)-2.5 E(vious w)-.25 E(ord)-.1 E -("\\C\255xq": "\\eb\\"\\ef\\"")180 612 Q F1($endif)180 624 Q($endif)108 -640.8 Q F0(This command, as seen in the pre)9.33 E(vious e)-.25 E +(ey s)-.1 H .396(equence that quotes the).15 F(current or pre)180 249.6 +Q(vious w)-.25 E(ord in Bash:)-.1 E F1($if)180 273.6 Q F0(Bash)2.5 E 2.5 +(#Q)180 285.6 S(uote the current or pre)-2.5 E(vious w)-.25 E(ord)-.1 E +("\\C\255xq": "\\eb\\"\\ef\\"")180 297.6 Q F1($endif)180 309.6 Q($endif) +108 326.4 Q F0(This command, as seen in the pre)9.33 E(vious e)-.25 E (xample, terminates an)-.15 E F1($if)2.5 E F0(command.)2.5 E F1($else) -108 657.6 Q F0(Commands in this branch of the)15.45 E F1($if)2.5 E F0 +108 343.2 Q F0(Commands in this branch of the)15.45 E F1($if)2.5 E F0 (directi)2.5 E .3 -.15(ve a)-.25 H(re e).15 E -.15(xe)-.15 G -(cuted if the test f).15 E(ails.)-.1 E F1($include)108 674.4 Q F0 .356 -(This directi)144 686.4 R .656 -.15(ve t)-.25 H(ak).15 E .356 +(cuted if the test f).15 E(ails.)-.1 E F1($include)108 360 Q F0 .356 +(This directi)144 372 R .656 -.15(ve t)-.25 H(ak).15 E .356 (es a single \214lename as an ar)-.1 F .357 (gument and reads commands and bindings from that)-.18 F 2.5(\214le. F) -144 698.4 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3 +144 384 R(or e)-.15 E(xample, the follo)-.15 E(wing directi)-.25 E .3 -.15(ve w)-.25 H(ould read).05 E F2(/etc/inputr)2.5 E(c)-.37 E F0(:)A F1 -($include)144 722.4 Q F2(/etc/inputr)5.833 E(c)-.37 E F0(GNU Bash-3.2)72 -768 Q(2008 April 5)148.455 E(35)198.445 E 0 Cg EP -%%Page: 36 36 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(Sear)87 84 Q(ching)-.18 E F0 .835 -(Readline pro)108 96 R .835 +($include)144 408 Q F2(/etc/inputr)5.833 E(c)-.37 E F1(Sear)87 424.8 Q +(ching)-.18 E F0 .835(Readline pro)108 436.8 R .835 (vides commands for searching through the command history \(see)-.15 F -/F2 9/Times-Bold@0 SF(HIST)3.334 E(OR)-.162 E(Y)-.315 E F0(belo)3.084 E -.834(w\) for lines)-.25 F(containing a speci\214ed string.)108 108 Q -(There are tw)5 E 2.5(os)-.1 G(earch modes:)-2.5 E/F3 10/Times-Italic@0 -SF(incr)2.51 E(emental)-.37 E F0(and)3.01 E F3(non-incr)2.5 E(emental) --.37 E F0(.).51 E .697(Incremental searches be)108 124.8 R .697 +/F3 9/Times-Bold@0 SF(HIST)3.334 E(OR)-.162 E(Y)-.315 E F0(belo)3.084 E +.834(w\) for lines)-.25 F(containing a speci\214ed string.)108 448.8 Q +(There are tw)5 E 2.5(os)-.1 G(earch modes:)-2.5 E F2(incr)2.51 E +(emental)-.37 E F0(and)3.01 E F2(non-incr)2.5 E(emental)-.37 E F0(.).51 +E .697(Incremental searches be)108 465.6 R .697 (gin before the user has \214nished typing the search string.)-.15 F .698(As each character of the)5.698 F .113 -(search string is typed, readline displays the ne)108 136.8 R .112 +(search string is typed, readline displays the ne)108 477.6 R .112 (xt entry from the history matching the string typed so f)-.15 F(ar)-.1 E 5.112(.A)-.55 G(n)-5.112 E .542 -(incremental search requires only as man)108 148.8 R 3.042(yc)-.15 G +(incremental search requires only as man)108 489.6 R 3.042(yc)-.15 G .542(haracters as needed to \214nd the desired history entry)-3.042 F 5.542(.T)-.65 G .542(he char)-5.542 F(-)-.2 E .224 -(acters present in the v)108 160.8 R .224(alue of the)-.25 F F1(isear) +(acters present in the v)108 501.6 R .224(alue of the)-.25 F F1(isear) 2.724 E(ch-terminators)-.18 E F0 -.25(va)2.724 G .224 (riable are used to terminate an incremental search.).25 F .66 -(If that v)108 172.8 R .66(ariable has not been assigned a v)-.25 F .66 +(If that v)108 513.6 R .66(ariable has not been assigned a v)-.25 F .66 (alue the Escape and Control-J characters will terminate an incre-)-.25 -F .097(mental search.)108 184.8 R .096(Control-G will abort an incremen\ +F .097(mental search.)108 525.6 R .096(Control-G will abort an incremen\ tal search and restore the original line.)5.097 F .096 (When the search is)5.096 F(terminated, the history entry containing th\ -e search string becomes the current line.)108 196.8 Q 2.938 -.8(To \214) -108 213.6 T 1.339(nd other matching entries in the history list, type C\ +e search string becomes the current line.)108 537.6 Q 2.938 -.8(To \214) +108 554.4 T 1.339(nd other matching entries in the history list, type C\ ontrol-S or Control-R as appropriate.).8 F 1.339(This will)6.339 F .675 -(search backw)108 225.6 R .675(ard or forw)-.1 F .675 +(search backw)108 566.4 R .675(ard or forw)-.1 F .675 (ard in the history for the ne)-.1 F .674 (xt entry matching the search string typed so f)-.15 F(ar)-.1 E 5.674 -(.A)-.55 G -.15(ny)-5.674 G .174(other k)108 237.6 R .474 -.15(ey s)-.1 +(.A)-.55 G -.15(ny)-5.674 G .174(other k)108 578.4 R .474 -.15(ey s)-.1 H .174 (equence bound to a readline command will terminate the search and e).15 F -.15(xe)-.15 G .175(cute that command.).15 F -.15(Fo)5.175 G(r).15 E -.541(instance, a)108 249.6 R F3(ne)3.041 E(wline)-.15 E F0 .541 +.541(instance, a)108 590.4 R F2(ne)3.041 E(wline)-.15 E F0 .541 (will terminate the search and accept the line, thereby e)3.041 F -.15 -(xe)-.15 G .54(cuting the command from the).15 F(history list.)108 261.6 -Q .653(Readline remembers the last incremental search string.)108 278.4 +(xe)-.15 G .54(cuting the command from the).15 F(history list.)108 602.4 +Q .653(Readline remembers the last incremental search string.)108 619.2 R .653(If tw)5.653 F 3.153(oC)-.1 G .653(ontrol-Rs are typed without an) -3.153 F 3.153(yi)-.15 G(nterv)-3.153 E(en-)-.15 E -(ing characters de\214ning a ne)108 290.4 Q 2.5(ws)-.25 G +(ing characters de\214ning a ne)108 631.2 Q 2.5(ws)-.25 G (earch string, an)-2.5 E 2.5(yr)-.15 G(emembered search string is used.) -2.5 E .567(Non-incremental searches read the entire search string befo\ -re starting to search for matching history lines.)108 307.2 R(The searc\ -h string may be typed by the user or be part of the contents of the cur\ -rent line.)108 319.2 Q F1(Readline Command Names)87 336 Q F0 1.391 -(The follo)108 348 R 1.391 +re starting to search for matching history lines.)108 648 R(The search \ +string may be typed by the user or be part of the contents of the curre\ +nt line.)108 660 Q F1(Readline Command Names)87 676.8 Q F0 1.391 +(The follo)108 688.8 R 1.391 (wing is a list of the names of the commands and the def)-.25 F 1.391 (ault k)-.1 F 1.691 -.15(ey s)-.1 H 1.391(equences to which the).15 F -3.892(ya)-.15 G(re)-3.892 E 2.622(bound. Command)108 360 R .122 +3.892(ya)-.15 G(re)-3.892 E 2.622(bound. Command)108 700.8 R .122 (names without an accompan)2.622 F .122(ying k)-.15 F .421 -.15(ey s)-.1 H .121(equence are unbound by def).15 F 2.621(ault. In)-.1 F .121 -(the follo)2.621 F(wing)-.25 E(descriptions,)108 372 Q F3(point)3.41 E -F0 .91(refers to the current cursor position, and)3.41 F F3(mark)3.411 E +(the follo)2.621 F(wing)-.25 E(descriptions,)108 712.8 Q F2(point)3.41 E +F0 .91(refers to the current cursor position, and)3.41 F F2(mark)3.411 E F0 .911(refers to a cursor position sa)3.411 F -.15(ve)-.2 G 3.411(db) -.15 G 3.411(yt)-3.411 G(he)-3.411 E F1(set\255mark)108 384 Q F0 2.5 +.15 G 3.411(yt)-3.411 G(he)-3.411 E F1(set\255mark)108 724.8 Q F0 2.5 (command. The)2.5 F(te)2.5 E -(xt between the point and mark is referred to as the)-.15 E F3 -.37(re) -2.5 G(gion)-.03 E F0(.)A F1(Commands f)87 400.8 Q(or Mo)-.25 E(ving)-.1 -E(beginning\255of\255line \(C\255a\))108 412.8 Q F0(Mo)144 424.8 Q .3 --.15(ve t)-.15 H 2.5(ot).15 G(he start of the current line.)-2.5 E F1 -(end\255of\255line \(C\255e\))108 436.8 Q F0(Mo)144 448.8 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he end of the line.)-2.5 E F1 -.25(fo)108 -460.8 S(rward\255char \(C\255f\)).25 E F0(Mo)144 472.8 Q .3 -.15(ve f) --.15 H(orw).15 E(ard a character)-.1 E(.)-.55 E F1 -(backward\255char \(C\255b\))108 484.8 Q F0(Mo)144 496.8 Q .3 -.15(ve b) --.15 H(ack a character).15 E(.)-.55 E F1 -.25(fo)108 508.8 S(rward\255w) -.25 E(ord \(M\255f\))-.1 E F0(Mo)144 520.8 Q .823 -.15(ve f)-.15 H(orw) -.15 E .523(ard to the end of the ne)-.1 F .523(xt w)-.15 F 3.023(ord. W) --.1 F .522(ords are composed of alphanumeric characters \(let-)-.8 F -(ters and digits\).)144 532.8 Q F1(backward\255w)108 544.8 Q -(ord \(M\255b\))-.1 E F0(Mo)144 556.8 Q 1.71 -.15(ve b)-.15 H 1.41 -(ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91 -(ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F -(characters \(letters and digits\).)144 568.8 Q F1(clear\255scr)108 -580.8 Q(een \(C\255l\))-.18 E F0 .993(Clear the screen lea)144 592.8 R -.993(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 -G .993(th an ar).4 F .993(gument, refresh the)-.18 F -(current line without clearing the screen.)144 604.8 Q F1 -.18(re)108 -616.8 S(draw\255curr).18 E(ent\255line)-.18 E F0 -(Refresh the current line.)144 628.8 Q F1(Commands f)87 645.6 Q -(or Manipulating the History)-.25 E(accept\255line \(Newline, Retur)108 -657.6 Q(n\))-.15 E F0 .158(Accept the line re)144 669.6 R -.05(ga)-.15 G -.158(rdless of where the cursor is.).05 F .158 -(If this line is non-empty)5.158 F 2.659(,a)-.65 G .159 -(dd it to the history list)-2.659 F .699(according to the state of the) -144 681.6 R F2(HISTCONTR)3.199 E(OL)-.27 E F0 -.25(va)2.949 G 3.199 -(riable. If).25 F .699(the line is a modi\214ed history line, then)3.199 -F(restore the history line to its original state.)144 693.6 Q F1(pr)108 -705.6 Q -.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0 -(Fetch the pre)144 717.6 Q(vious command from the history list, mo)-.25 -E(ving back in the list.)-.15 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(36)198.445 E 0 Cg EP +(xt between the point and mark is referred to as the)-.15 E F2 -.37(re) +2.5 G(gion)-.03 E F0(.)A(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(36) +197.335 E 0 Cg EP %%Page: 37 37 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(next\255history \(C\255n\))108 84 Q F0 -(Fetch the ne)144 96 Q(xt command from the history list, mo)-.15 E -(ving forw)-.15 E(ard in the list.)-.1 E F1 -(beginning\255of\255history \(M\255<\))108 108 Q F0(Mo)144 120 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.)-.65 E -F1(end\255of\255history \(M\255>\))108 132 Q F0(Mo)144 144 Q .3 -.15 -(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5(,i)-.65 -G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18(re v)108 -156 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F0 1.47 -(Search backw)144 168 R 1.471(ard starting at the current line and mo) --.1 F 1.471(ving `up' through the history as necessary)-.15 F(.)-.65 E -(This is an incremental search.)144 180 Q F1 -.25(fo)108 192 S +-.35 E/F1 10/Times-Bold@0 SF(Commands f)87 84 Q(or Mo)-.25 E(ving)-.1 E +(beginning\255of\255line \(C\255a\))108 96 Q F0(Mo)144 108 Q .3 -.15 +(ve t)-.15 H 2.5(ot).15 G(he start of the current line.)-2.5 E F1 +(end\255of\255line \(C\255e\))108 120 Q F0(Mo)144 132 Q .3 -.15(ve t) +-.15 H 2.5(ot).15 G(he end of the line.)-2.5 E F1 -.25(fo)108 144 S +(rward\255char \(C\255f\)).25 E F0(Mo)144 156 Q .3 -.15(ve f)-.15 H(orw) +.15 E(ard a character)-.1 E(.)-.55 E F1(backward\255char \(C\255b\))108 +168 Q F0(Mo)144 180 Q .3 -.15(ve b)-.15 H(ack a character).15 E(.)-.55 E +F1 -.25(fo)108 192 S(rward\255w).25 E(ord \(M\255f\))-.1 E F0(Mo)144 204 +Q .823 -.15(ve f)-.15 H(orw).15 E .523(ard to the end of the ne)-.1 F +.523(xt w)-.15 F 3.023(ord. W)-.1 F .522 +(ords are composed of alphanumeric characters \(let-)-.8 F +(ters and digits\).)144 216 Q F1(backward\255w)108 228 Q(ord \(M\255b\)) +-.1 E F0(Mo)144 240 Q 1.71 -.15(ve b)-.15 H 1.41 +(ack to the start of the current or pre).15 F 1.41(vious w)-.25 F 3.91 +(ord. W)-.1 F 1.41(ords are composed of alphanumeric)-.8 F +(characters \(letters and digits\).)144 252 Q F1(clear\255scr)108 264 Q +(een \(C\255l\))-.18 E F0 .993(Clear the screen lea)144 276 R .993 +(ving the current line at the top of the screen.)-.2 F -.4(Wi)5.993 G +.993(th an ar).4 F .993(gument, refresh the)-.18 F +(current line without clearing the screen.)144 288 Q F1 -.18(re)108 300 +S(draw\255curr).18 E(ent\255line)-.18 E F0(Refresh the current line.)144 +312 Q F1(Commands f)87 328.8 Q(or Manipulating the History)-.25 E +(accept\255line \(Newline, Retur)108 340.8 Q(n\))-.15 E F0 .158 +(Accept the line re)144 352.8 R -.05(ga)-.15 G .158 +(rdless of where the cursor is.).05 F .158(If this line is non-empty) +5.158 F 2.659(,a)-.65 G .159(dd it to the history list)-2.659 F .699 +(according to the state of the)144 364.8 R/F2 9/Times-Bold@0 SF +(HISTCONTR)3.199 E(OL)-.27 E F0 -.25(va)2.949 G 3.199(riable. If).25 F +.699(the line is a modi\214ed history line, then)3.199 F +(restore the history line to its original state.)144 376.8 Q F1(pr)108 +388.8 Q -.15(ev)-.18 G(ious\255history \(C\255p\)).15 E F0 +(Fetch the pre)144 400.8 Q(vious command from the history list, mo)-.25 +E(ving back in the list.)-.15 E F1(next\255history \(C\255n\))108 412.8 +Q F0(Fetch the ne)144 424.8 Q(xt command from the history list, mo)-.15 +E(ving forw)-.15 E(ard in the list.)-.1 E F1 +(beginning\255of\255history \(M\255<\))108 436.8 Q F0(Mo)144 448.8 Q .3 +-.15(ve t)-.15 H 2.5(ot).15 G(he \214rst line in the history)-2.5 E(.) +-.65 E F1(end\255of\255history \(M\255>\))108 460.8 Q F0(Mo)144 472.8 Q +.3 -.15(ve t)-.15 H 2.5(ot).15 G(he end of the input history)-2.5 E 2.5 +(,i)-.65 G(.e., the line currently being entered.)-2.5 E F1 -2.29 -.18 +(re v)108 484.8 T(erse\255sear).08 E(ch\255history \(C\255r\))-.18 E F0 +1.47(Search backw)144 496.8 R 1.471 +(ard starting at the current line and mo)-.1 F 1.471 +(ving `up' through the history as necessary)-.15 F(.)-.65 E +(This is an incremental search.)144 508.8 Q F1 -.25(fo)108 520.8 S (rward\255sear).25 E(ch\255history \(C\255s\))-.18 E F0 1.132 -(Search forw)144 204 R 1.132(ard starting at the current line and mo)-.1 -F 1.131(ving `do)-.15 F 1.131(wn' through the history as necessary)-.25 -F(.)-.65 E(This is an incremental search.)144 216 Q F1(non\255incr)108 -228 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H(rse\255sear).15 E -(ch\255history \(M\255p\))-.18 E F0 .164(Search backw)144 240 R .164(ar\ -d through the history starting at the current line using a non-incremen\ -tal search for)-.1 F 2.5(as)144 252 S(tring supplied by the user)-2.5 E -(.)-.55 E F1(non\255incr)108 264 Q(emental\255f)-.18 E(orward\255sear) --.25 E(ch\255history \(M\255n\))-.18 E F0 1.354(Search forw)144 276 R -1.354(ard through the history using a non-incremental search for a stri\ -ng supplied by the)-.1 F(user)144 288 Q(.)-.55 E F1(history\255sear)108 -300 Q(ch\255f)-.18 E(orward)-.25 E F0 .248(Search forw)144 312 R .249(a\ -rd through the history for the string of characters between the start o\ -f the current line)-.1 F(and the point.)144 324 Q -(This is a non-incremental search.)5 E F1(history\255sear)108 336 Q -(ch\255backward)-.18 E F0 .951(Search backw)144 348 R .951(ard through \ -the history for the string of characters between the start of the curre\ -nt)-.1 F(line and the point.)144 360 Q -(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 372 Q -2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144 384 -R .622(gument to the pre)-.18 F .622 +(Search forw)144 532.8 R 1.132(ard starting at the current line and mo) +-.1 F 1.131(ving `do)-.15 F 1.131(wn' through the history as necessary) +-.25 F(.)-.65 E(This is an incremental search.)144 544.8 Q F1 +(non\255incr)108 556.8 Q(emental\255r)-.18 E -2.3 -.15(ev e)-.18 H +(rse\255sear).15 E(ch\255history \(M\255p\))-.18 E F0 .164(Search backw) +144 568.8 R .164(ard through the history starting at the current line u\ +sing a non-incremental search for)-.1 F 2.5(as)144 580.8 S +(tring supplied by the user)-2.5 E(.)-.55 E F1(non\255incr)108 592.8 Q +(emental\255f)-.18 E(orward\255sear)-.25 E(ch\255history \(M\255n\))-.18 +E F0 1.354(Search forw)144 604.8 R 1.354(ard through the history using \ +a non-incremental search for a string supplied by the)-.1 F(user)144 +616.8 Q(.)-.55 E F1(history\255sear)108 628.8 Q(ch\255f)-.18 E(orward) +-.25 E F0 .248(Search forw)144 640.8 R .249(ard through the history for\ + the string of characters between the start of the current line)-.1 F +(and the point.)144 652.8 Q(This is a non-incremental search.)5 E F1 +(history\255sear)108 664.8 Q(ch\255backward)-.18 E F0 .951(Search backw) +144 676.8 R .951(ard through the history for the string of characters b\ +etween the start of the current)-.1 F(line and the point.)144 688.8 Q +(This is a non-incremental search.)5 E F1(yank\255nth\255ar)108 700.8 Q +2.5(g\()-.1 G<4dad43ad7929>-2.5 E F0 .622(Insert the \214rst ar)144 +712.8 R .622(gument to the pre)-.18 F .622 (vious command \(usually the second w)-.25 F .622(ord on the pre)-.1 F -.622(vious line\))-.25 F .795(at point.)144 396 R -.4(Wi)5.795 G .794 -(th an ar).4 F(gument)-.18 E/F2 10/Times-Italic@0 SF(n)3.294 E F0 3.294 -(,i).24 G .794(nsert the)-3.294 F F2(n)3.294 E F0 .794(th w)B .794 +.622(vious line\))-.25 F .795(at point.)144 724.8 R -.4(Wi)5.795 G .794 +(th an ar).4 F(gument)-.18 E/F3 10/Times-Italic@0 SF(n)3.294 E F0 3.294 +(,i).24 G .794(nsert the)-3.294 F F3(n)3.294 E F0 .794(th w)B .794 (ord from the pre)-.1 F .794(vious command \(the w)-.25 F .794 -(ords in the)-.1 F(pre)144 408 Q .291(vious command be)-.25 F .291 -(gin with w)-.15 F .291(ord 0\).)-.1 F 2.791(An)5.291 G -2.25 -.15(eg a) --2.791 H(ti).15 E .591 -.15(ve a)-.25 H -.18(rg).15 G .291 -(ument inserts the).18 F F2(n)2.791 E F0 .291(th w)B .292 -(ord from the end of)-.1 F .282(the pre)144 420 R .282(vious command.) --.25 F .282(Once the ar)5.282 F(gument)-.18 E F2(n)2.781 E F0 .281 -(is computed, the ar)2.781 F .281(gument is e)-.18 F .281 -(xtracted as if the "!)-.15 F F2(n)A F0(")A(history e)144 432 Q -(xpansion had been speci\214ed.)-.15 E F1(yank\255last\255ar)108 444 Q -2.5(g\()-.1 G -1.667(M\255. ,)-2.5 F -1.667(M\255_ \))2.5 F F0 1.307 -(Insert the last ar)144 456 R 1.307(gument to the pre)-.18 F 1.307 -(vious command \(the last w)-.25 F 1.308(ord of the pre)-.1 F 1.308 -(vious history entry\).)-.25 F -.4(Wi)144 468 S .736(th an ar).4 F .736 -(gument, beha)-.18 F 1.036 -.15(ve ex)-.2 H .736(actly lik).15 F(e)-.1 E -F1(yank\255nth\255ar)3.235 E(g)-.1 E F0 5.735(.S)C(uccessi)-5.735 E -1.035 -.15(ve c)-.25 H .735(alls to).15 F F1(yank\255last\255ar)3.235 E -(g)-.1 E F0(mo)3.235 E -.15(ve)-.15 G .728 -(back through the history list, inserting the last ar)144 480 R .728 -(gument of each line in turn.)-.18 F .729(The history e)5.728 F(xpan-) --.15 E .14(sion f)144 492 R .14(acilities are used to e)-.1 F .14 -(xtract the last ar)-.15 F .14(gument, as if the "!$" history e)-.18 F -.14(xpansion had been speci-)-.15 F(\214ed.)144 504 Q F1 -(shell\255expand\255line \(M\255C\255e\))108 516 Q F0 .622 -(Expand the line as the shell does.)144 528 R .622 +(ords in the)-.1 F(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(37) +197.335 E 0 Cg EP +%%Page: 38 38 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E(pre)144 84 Q .291(vious command be)-.25 F .291(gin with w)-.15 F +.291(ord 0\).)-.1 F 2.791(An)5.291 G -2.25 -.15(eg a)-2.791 H(ti).15 E +.591 -.15(ve a)-.25 H -.18(rg).15 G .291(ument inserts the).18 F/F1 10 +/Times-Italic@0 SF(n)2.791 E F0 .291(th w)B .292(ord from the end of)-.1 +F .282(the pre)144 96 R .282(vious command.)-.25 F .282(Once the ar) +5.282 F(gument)-.18 E F1(n)2.781 E F0 .281(is computed, the ar)2.781 F +.281(gument is e)-.18 F .281(xtracted as if the "!)-.15 F F1(n)A F0(")A +(history e)144 108 Q(xpansion had been speci\214ed.)-.15 E/F2 10 +/Times-Bold@0 SF(yank\255last\255ar)108 120 Q 2.5(g\()-.1 G -1.667 +(M\255. ,)-2.5 F -1.667(M\255_ \))2.5 F F0 1.307(Insert the last ar)144 +132 R 1.307(gument to the pre)-.18 F 1.307(vious command \(the last w) +-.25 F 1.308(ord of the pre)-.1 F 1.308(vious history entry\).)-.25 F +-.4(Wi)144 144 S .736(th an ar).4 F .736(gument, beha)-.18 F 1.036 -.15 +(ve ex)-.2 H .736(actly lik).15 F(e)-.1 E F2(yank\255nth\255ar)3.235 E +(g)-.1 E F0 5.735(.S)C(uccessi)-5.735 E 1.035 -.15(ve c)-.25 H .735 +(alls to).15 F F2(yank\255last\255ar)3.235 E(g)-.1 E F0(mo)3.235 E -.15 +(ve)-.15 G .728(back through the history list, inserting the last ar)144 +156 R .728(gument of each line in turn.)-.18 F .729(The history e)5.728 +F(xpan-)-.15 E .14(sion f)144 168 R .14(acilities are used to e)-.1 F +.14(xtract the last ar)-.15 F .14(gument, as if the "!$" history e)-.18 +F .14(xpansion had been speci-)-.15 F(\214ed.)144 180 Q F2 +(shell\255expand\255line \(M\255C\255e\))108 192 Q F0 .622 +(Expand the line as the shell does.)144 204 R .622 (This performs alias and history e)5.622 F .623 -(xpansion as well as all of the)-.15 F(shell w)144 540 Q(ord e)-.1 E 2.5 +(xpansion as well as all of the)-.15 F(shell w)144 216 Q(ord e)-.1 E 2.5 (xpansions. See)-.15 F/F3 9/Times-Bold@0 SF(HIST)2.5 E(OR)-.162 E 2.25 (YE)-.315 G(XP)-2.25 E(ANSION)-.666 E F0(belo)2.25 E 2.5(wf)-.25 G -(or a description of history e)-2.5 E(xpansion.)-.15 E F1 -(history\255expand\255line \(M\255^\))108 552 Q F0 .939 -(Perform history e)144 564 R .939(xpansion on the current line.)-.15 F +(or a description of history e)-2.5 E(xpansion.)-.15 E F2 +(history\255expand\255line \(M\255^\))108 228 Q F0 .939 +(Perform history e)144 240 R .939(xpansion on the current line.)-.15 F (See)5.939 E F3(HIST)3.439 E(OR)-.162 E 3.189(YE)-.315 G(XP)-3.189 E (ANSION)-.666 E F0(belo)3.189 E 3.438(wf)-.25 G .938(or a descrip-) --3.438 F(tion of history e)144 576 Q(xpansion.)-.15 E F1(magic\255space) -108 588 Q F0 1.626(Perform history e)144 600 R 1.626 +-3.438 F(tion of history e)144 252 Q(xpansion.)-.15 E F2(magic\255space) +108 264 Q F0 1.626(Perform history e)144 276 R 1.626 (xpansion on the current line and insert a space.)-.15 F(See)6.627 E F3 (HIST)4.127 E(OR)-.162 E 3.877(YE)-.315 G(XP)-3.877 E(ANSION)-.666 E F0 -(belo)144 612 Q 2.5(wf)-.25 G(or a description of history e)-2.5 E -(xpansion.)-.15 E F1(alias\255expand\255line)108 624 Q F0 .395 -(Perform alias e)144 636 R .395(xpansion on the current line.)-.15 F +(belo)144 288 Q 2.5(wf)-.25 G(or a description of history e)-2.5 E +(xpansion.)-.15 E F2(alias\255expand\255line)108 300 Q F0 .395 +(Perform alias e)144 312 R .395(xpansion on the current line.)-.15 F (See)5.395 E F3(ALIASES)2.895 E F0(abo)2.645 E .694 -.15(ve f)-.15 H -.394(or a description of alias e).15 F(xpan-)-.15 E(sion.)144 648 Q F1 -(history\255and\255alias\255expand\255line)108 660 Q F0 -(Perform history and alias e)144 672 Q(xpansion on the current line.) --.15 E F1(insert\255last\255ar)108 684 Q(gument \(M\255.)-.1 E 2.5(,M) -.833 G -1.667(\255_ \))-2.5 F F0 2.5(As)144 696 S(ynon)-2.5 E(ym for) --.15 E F1(yank\255last\255ar)2.5 E(g)-.1 E F0(.)A(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(37)198.445 E 0 Cg EP -%%Page: 38 38 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(operate\255and\255get\255next \(C\255o\)) -108 84 Q F0 .947(Accept the current line for e)144 96 R -.15(xe)-.15 G -.948(cution and fetch the ne).15 F .948(xt line relati)-.15 F 1.248 -.15 +.394(or a description of alias e).15 F(xpan-)-.15 E(sion.)144 324 Q F2 +(history\255and\255alias\255expand\255line)108 336 Q F0 +(Perform history and alias e)144 348 Q(xpansion on the current line.) +-.15 E F2(insert\255last\255ar)108 360 Q(gument \(M\255.)-.1 E 2.5(,M) +.833 G -1.667(\255_ \))-2.5 F F0 2.5(As)144 372 S(ynon)-2.5 E(ym for) +-.15 E F2(yank\255last\255ar)2.5 E(g)-.1 E F0(.)A F2 +(operate\255and\255get\255next \(C\255o\))108 384 Q F0 .947 +(Accept the current line for e)144 396 R -.15(xe)-.15 G .948 +(cution and fetch the ne).15 F .948(xt line relati)-.15 F 1.248 -.15 (ve t)-.25 H 3.448(ot).15 G .948(he current line from the)-3.448 F -(history for editing.)144 108 Q(An)5 E 2.5(ya)-.15 G -.18(rg)-2.5 G -(ument is ignored.).18 E F1 -(edit\255and\255execute\255command \(C\255xC\255e\))108 120 Q F0(In)144 -132 Q -.2(vo)-.4 G 1.226 -.1(ke a).2 H 3.526(ne).1 G 1.026 +(history for editing.)144 408 Q(An)5 E 2.5(ya)-.15 G -.18(rg)-2.5 G +(ument is ignored.).18 E F2 +(edit\255and\255execute\255command \(C\255xC\255e\))108 420 Q F0(In)144 +432 Q -.2(vo)-.4 G 1.226 -.1(ke a).2 H 3.526(ne).1 G 1.026 (ditor on the current command line, and e)-3.526 F -.15(xe)-.15 G 1.026 -(cute the result as shell commands.).15 F F1(Bash)6.026 E F0 -(attempts to in)144 144 Q -.2(vo)-.4 G -.1(ke).2 G/F2 9/Times-Bold@0 SF -($FCEDIT)2.6 E/F3 9/Times-Roman@0 SF(,)A F2($EDIT)2.25 E(OR)-.162 E F3 -(,)A F0(and)2.25 E/F4 10/Times-Italic@0 SF(emacs)2.5 E F0(as the editor) -2.5 E 2.5(,i)-.4 G 2.5(nt)-2.5 G(hat order)-2.5 E(.)-.55 E F1 -(Commands f)87 160.8 Q(or Changing T)-.25 E(ext)-.92 E -(delete\255char \(C\255d\))108 172.8 Q F0 .357 -(Delete the character at point.)144 184.8 R .358(If point is at the be) +(cute the result as shell commands.).15 F F2(Bash)6.026 E F0 +(attempts to in)144 444 Q -.2(vo)-.4 G -.1(ke).2 G F3($FCEDIT)2.6 E/F4 9 +/Times-Roman@0 SF(,)A F3($EDIT)2.25 E(OR)-.162 E F4(,)A F0(and)2.25 E F1 +(emacs)2.5 E F0(as the editor)2.5 E 2.5(,i)-.4 G 2.5(nt)-2.5 G +(hat order)-2.5 E(.)-.55 E F2(Commands f)87 460.8 Q(or Changing T)-.25 E +(ext)-.92 E(delete\255char \(C\255d\))108 472.8 Q F0 .357 +(Delete the character at point.)144 484.8 R .358(If point is at the be) 5.358 F .358(ginning of the line, there are no characters in the)-.15 F -(line, and the last character typed w)144 196.8 Q(as not bound to)-.1 E -F1(delete\255char)2.5 E F0 2.5(,t)C(hen return)-2.5 E F2(EOF)2.5 E F3(.) -A F1(backward\255delete\255char \(Rubout\))108 208.8 Q F0 .553 -(Delete the character behind the cursor)144 220.8 R 5.553(.W)-.55 G .553 +(line, and the last character typed w)144 496.8 Q(as not bound to)-.1 E +F2(delete\255char)2.5 E F0 2.5(,t)C(hen return)-2.5 E F3(EOF)2.5 E F4(.) +A F2(backward\255delete\255char \(Rubout\))108 508.8 Q F0 .553 +(Delete the character behind the cursor)144 520.8 R 5.553(.W)-.55 G .553 (hen gi)-5.553 F -.15(ve)-.25 G 3.053(nan).15 G .553(umeric ar)-3.053 F .552(gument, sa)-.18 F .852 -.15(ve t)-.2 H .552(he deleted te).15 F -.552(xt on)-.15 F(the kill ring.)144 232.8 Q F1 -.25(fo)108 244.8 S +.552(xt on)-.15 F(the kill ring.)144 532.8 Q F2 -.25(fo)108 544.8 S (rward\255backward\255delete\255char).25 E F0 .473 -(Delete the character under the cursor)144 256.8 R 2.973(,u)-.4 G .474 +(Delete the character under the cursor)144 556.8 R 2.973(,u)-.4 G .474 (nless the cursor is at the end of the line, in which case the)-2.973 F -(character behind the cursor is deleted.)144 268.8 Q F1 -(quoted\255insert \(C\255q, C\255v\))108 280.8 Q F0 .779(Add the ne)144 -292.8 R .779(xt character typed to the line v)-.15 F 3.279 +(character behind the cursor is deleted.)144 568.8 Q F2 +(quoted\255insert \(C\255q, C\255v\))108 580.8 Q F0 .779(Add the ne)144 +592.8 R .779(xt character typed to the line v)-.15 F 3.279 (erbatim. This)-.15 F .779(is ho)3.279 F 3.279(wt)-.25 G 3.279(oi)-3.279 -G .779(nsert characters lik)-3.279 F(e)-.1 E F1(C\255q)3.278 E F0 3.278 -(,f)C(or)-3.278 E -.15(ex)144 304.8 S(ample.).15 E F1 -(tab\255insert \(C\255v T)108 316.8 Q(AB\))-.9 E F0 -(Insert a tab character)144 328.8 Q(.)-.55 E F1 -(self\255insert \(a, b, A, 1, !, ...\))108 340.8 Q F0 -(Insert the character typed.)144 352.8 Q F1 -(transpose\255chars \(C\255t\))108 364.8 Q F0 .321 -(Drag the character before point forw)144 376.8 R .321(ard o)-.1 F -.15 +G .779(nsert characters lik)-3.279 F(e)-.1 E F2(C\255q)3.278 E F0 3.278 +(,f)C(or)-3.278 E -.15(ex)144 604.8 S(ample.).15 E F2 +(tab\255insert \(C\255v T)108 616.8 Q(AB\))-.9 E F0 +(Insert a tab character)144 628.8 Q(.)-.55 E F2 +(self\255insert \(a, b, A, 1, !, ...\))108 640.8 Q F0 +(Insert the character typed.)144 652.8 Q F2 +(transpose\255chars \(C\255t\))108 664.8 Q F0 .321 +(Drag the character before point forw)144 676.8 R .321(ard o)-.1 F -.15 (ve)-.15 G 2.821(rt).15 G .321(he character at point, mo)-2.821 F .322 (ving point forw)-.15 F .322(ard as well.)-.1 F 1.182 (If point is at the end of the line, then this transposes the tw)144 -388.8 R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E --.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 400.8 Q(guments ha)-.18 E -.3 -.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G(ect.).25 E F1 -(transpose\255w)108 412.8 Q(ords \(M\255t\))-.1 E F0 .023(Drag the w)144 -424.8 R .023(ord before point past the w)-.1 F .023(ord after point, mo) --.1 F .023(ving point o)-.15 F -.15(ve)-.15 G 2.524(rt).15 G .024(hat w) --2.524 F .024(ord as well.)-.1 F .024(If point)5.024 F -(is at the end of the line, this transposes the last tw)144 436.8 Q 2.5 -(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 448.8 Q -(ord \(M\255u\))-.1 E F0 1.699(Uppercase the current \(or follo)144 -460.8 R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F --.05(ga)-.15 G(ti).05 E 1.998 -.15(ve a)-.25 H -.18(rg).15 G 1.698 -(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 472.8 S(rd, b).1 -E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1(do)108 484.8 Q -(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 496.8 Q 1.647 +688.8 R 3.682(oc)-.1 G 1.182(haracters before point.)-3.682 F(Ne)6.182 E +-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(ar)144 700.8 Q(guments ha)-.18 E +.3 -.15(ve n)-.2 H 2.5(oe).15 G -.25(ff)-2.5 G(ect.).25 E(GNU Bash-4.0) +72 768 Q(2008 May 25)147.345 E(38)197.335 E 0 Cg EP +%%Page: 39 39 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(transpose\255w)108 84 Q(ords \(M\255t\))-.1 +E F0 .023(Drag the w)144 96 R .023(ord before point past the w)-.1 F +.023(ord after point, mo)-.1 F .023(ving point o)-.15 F -.15(ve)-.15 G +2.524(rt).15 G .024(hat w)-2.524 F .024(ord as well.)-.1 F .024 +(If point)5.024 F +(is at the end of the line, this transposes the last tw)144 108 Q 2.5 +(ow)-.1 G(ords on the line.)-2.6 E F1(upcase\255w)108 120 Q +(ord \(M\255u\))-.1 E F0 1.699(Uppercase the current \(or follo)144 132 +R 1.698(wing\) w)-.25 F 4.198(ord. W)-.1 F 1.698(ith a ne)-.4 F -.05(ga) +-.15 G(ti).05 E 1.998 -.15(ve a)-.25 H -.18(rg).15 G 1.698 +(ument, uppercase the pre).18 F(vious)-.25 E -.1(wo)144 144 S(rd, b).1 E +(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1(do)108 156 Q +(wncase\255w)-.1 E(ord \(M\255l\))-.1 E F0(Lo)144 168 Q 1.647 (wercase the current \(or follo)-.25 F 1.647(wing\) w)-.25 F 4.147 (ord. W)-.1 F 1.648(ith a ne)-.4 F -.05(ga)-.15 G(ti).05 E 1.948 -.15 (ve a)-.25 H -.18(rg).15 G 1.648(ument, lo).18 F 1.648(wercase the pre) --.25 F(vious)-.25 E -.1(wo)144 508.8 S(rd, b).1 E(ut do not mo)-.2 E .3 --.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 520.8 Q -(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 -532.8 R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F --.05(ga)-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974 -(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 544.8 S(rd, b) -.1 E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 -556.8 S(rwrite\255mode).1 E F0 -.8(To)144 568.8 S .437(ggle o).8 F -.15 -(ve)-.15 G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437 +-.25 F(vious)-.25 E -.1(wo)144 180 S(rd, b).1 E(ut do not mo)-.2 E .3 +-.15(ve p)-.15 H(oint.).15 E F1(capitalize\255w)108 192 Q +(ord \(M\255c\))-.1 E F0 1.975(Capitalize the current \(or follo)144 204 +R 1.974(wing\) w)-.25 F 4.474(ord. W)-.1 F 1.974(ith a ne)-.4 F -.05(ga) +-.15 G(ti).05 E 2.274 -.15(ve a)-.25 H -.18(rg).15 G 1.974 +(ument, capitalize the pre).18 F(vious)-.25 E -.1(wo)144 216 S(rd, b).1 +E(ut do not mo)-.2 E .3 -.15(ve p)-.15 H(oint.).15 E F1 -.1(ove)108 228 +S(rwrite\255mode).1 E F0 -.8(To)144 240 S .437(ggle o).8 F -.15(ve)-.15 +G .437(rwrite mode.).15 F -.4(Wi)5.437 G .437(th an e).4 F .437 (xplicit positi)-.15 F .738 -.15(ve n)-.25 H .438(umeric ar).15 F .438 (gument, switches to o)-.18 F -.15(ve)-.15 G .438(rwrite mode.).15 F -.4 -(Wi)144 580.8 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081 +(Wi)144 252 S .781(th an e).4 F .781(xplicit non-positi)-.15 F 1.081 -.15(ve n)-.25 H .781(umeric ar).15 F .781 (gument, switches to insert mode.)-.18 F .78(This command af)5.781 F -(fects)-.25 E(only)144 592.8 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi) +(fects)-.25 E(only)144 264 Q F1(emacs)4.394 E F0(mode;)4.394 E F1(vi) 4.394 E F0 1.894(mode does o)4.394 F -.15(ve)-.15 G 1.894(rwrite dif).15 -F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F F4 -.37(re) -4.395 G(adline\(\)).37 E F0 1.895(starts in insert)4.395 F 3.969 -(mode. In)144 604.8 R -.15(ove)3.969 G 1.469 -(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 E F0 -1.468(replace the te)3.969 F 1.468(xt at point rather than)-.15 F .957 -(pushing the te)144 616.8 R .957(xt to the right.)-.15 F .958 +F(ferently)-.25 E 6.894(.E)-.65 G 1.894(ach call to)-6.894 F/F2 10 +/Times-Italic@0 SF -.37(re)4.395 G(adline\(\)).37 E F0 1.895 +(starts in insert)4.395 F 3.969(mode. In)144 276 R -.15(ove)3.969 G +1.469(rwrite mode, characters bound to).15 F F1(self\255insert)3.969 E +F0 1.468(replace the te)3.969 F 1.468(xt at point rather than)-.15 F +.957(pushing the te)144 288 R .957(xt to the right.)-.15 F .958 (Characters bound to)5.957 F F1(backward\255delete\255char)3.458 E F0 -.958(replace the character)3.458 F(before point with a space.)144 628.8 -Q(By def)5 E(ault, this command is unbound.)-.1 E F1(Killing and Y)87 -645.6 Q(anking)-.85 E(kill\255line \(C\255k\))108 657.6 Q F0 -(Kill the te)144 669.6 Q(xt from point to the end of the line.)-.15 E F1 -(backward\255kill\255line \(C\255x Rubout\))108 681.6 Q F0(Kill backw) -144 693.6 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1 -(unix\255line\255discard \(C\255u\))108 705.6 Q F0(Kill backw)144 717.6 +.958(replace the character)3.458 F(before point with a space.)144 300 Q +(By def)5 E(ault, this command is unbound.)-.1 E F1(Killing and Y)87 +316.8 Q(anking)-.85 E(kill\255line \(C\255k\))108 328.8 Q F0 +(Kill the te)144 340.8 Q(xt from point to the end of the line.)-.15 E F1 +(backward\255kill\255line \(C\255x Rubout\))108 352.8 Q F0(Kill backw) +144 364.8 Q(ard to the be)-.1 E(ginning of the line.)-.15 E F1 +(unix\255line\255discard \(C\255u\))108 376.8 Q F0(Kill backw)144 388.8 Q(ard from point to the be)-.1 E(ginning of the line.)-.15 E (The killed te)5 E(xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt) --2.5 G(he kill-ring.)-2.5 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E -(38)198.445 E 0 Cg EP -%%Page: 39 39 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(kill\255whole\255line)108 84 Q F0 +-2.5 G(he kill-ring.)-2.5 E F1(kill\255whole\255line)108 400.8 Q F0 (Kill all characters on the current line, no matter where point is.)144 -96 Q F1(kill\255w)108 108 Q(ord \(M\255d\))-.1 E F0 .729 -(Kill from point to the end of the current w)144 120 R .728 +412.8 Q F1(kill\255w)108 424.8 Q(ord \(M\255d\))-.1 E F0 .729 +(Kill from point to the end of the current w)144 436.8 R .728 (ord, or if between w)-.1 F .728(ords, to the end of the ne)-.1 F .728 -(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 132 S +(xt w)-.15 F(ord.)-.1 E -.8(Wo)144 448.8 S (rd boundaries are the same as those used by).8 E F1 -.25(fo)2.5 G -(rward\255w).25 E(ord)-.1 E F0(.)A F1(backward\255kill\255w)108 144 Q -(ord \(M\255Rubout\))-.1 E F0(Kill the w)144 156 Q(ord behind point.)-.1 -E -.8(Wo)5 G(rd boundaries are the same as those used by).8 E F1 -(backward\255w)2.5 E(ord)-.1 E F0(.)A F1(unix\255w)108 168 Q -(ord\255rubout \(C\255w\))-.1 E F0 .364(Kill the w)144 180 R .364 +(rward\255w).25 E(ord)-.1 E F0(.)A F1(backward\255kill\255w)108 460.8 Q +(ord \(M\255Rubout\))-.1 E F0(Kill the w)144 472.8 Q(ord behind point.) +-.1 E -.8(Wo)5 G(rd boundaries are the same as those used by).8 E F1 +(backward\255w)2.5 E(ord)-.1 E F0(.)A F1(unix\255w)108 484.8 Q +(ord\255rubout \(C\255w\))-.1 E F0 .364(Kill the w)144 496.8 R .364 (ord behind point, using white space as a w)-.1 F .365(ord boundary)-.1 F 5.365(.T)-.65 G .365(he killed te)-5.365 F .365(xt is sa)-.15 F -.15 (ve)-.2 G 2.865(do).15 G 2.865(nt)-2.865 G(he)-2.865 E(kill-ring.)144 -192 Q F1(unix\255\214lename\255rubout)108 204 Q F0 .167(Kill the w)144 -216 R .166 +508.8 Q F1(unix\255\214lename\255rubout)108 520.8 Q F0 .167(Kill the w) +144 532.8 R .166 (ord behind point, using white space and the slash character as the w) --.1 F .166(ord boundaries.)-.1 F(The)5.166 E(killed te)144 228 Q +-.1 F .166(ord boundaries.)-.1 F(The)5.166 E(killed te)144 544.8 Q (xt is sa)-.15 E -.15(ve)-.2 G 2.5(do).15 G 2.5(nt)-2.5 G(he kill-ring.) --2.5 E F1(delete\255horizontal\255space \(M\255\\\))108 240 Q F0 -(Delete all spaces and tabs around point.)144 252 Q F1(kill\255r)108 264 -Q(egion)-.18 E F0(Kill the te)144 276 Q(xt in the current re)-.15 E -(gion.)-.15 E F1(copy\255r)108 288 Q(egion\255as\255kill)-.18 E F0(Cop) -144 300 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E +-2.5 E F1(delete\255horizontal\255space \(M\255\\\))108 556.8 Q F0 +(Delete all spaces and tabs around point.)144 568.8 Q F1(kill\255r)108 +580.8 Q(egion)-.18 E F0(Kill the te)144 592.8 Q(xt in the current re) +-.15 E(gion.)-.15 E F1(copy\255r)108 604.8 Q(egion\255as\255kill)-.18 E +F0(Cop)144 616.8 Q 2.5(yt)-.1 G(he te)-2.5 E(xt in the re)-.15 E (gion to the kill b)-.15 E(uf)-.2 E(fer)-.25 E(.)-.55 E F1 -(copy\255backward\255w)108 312 Q(ord)-.1 E F0(Cop)144 324 Q 4.8(yt)-.1 G -2.3(he w)-4.8 F 2.3(ord before point to the kill b)-.1 F(uf)-.2 E(fer) --.25 E 7.301(.T)-.55 G 2.301(he w)-7.301 F 2.301 -(ord boundaries are the same as)-.1 F F1(back-)4.801 E(ward\255w)144 336 -Q(ord)-.1 E F0(.)A F1(copy\255f)108 348 Q(orward\255w)-.25 E(ord)-.1 E -F0(Cop)144 360 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008(ord follo)-.1 -F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25 E 7.007(.T) --.55 G 2.007(he w)-7.007 F 2.007(ord boundaries are the same as)-.1 F F1 --.25(fo)4.507 G -.37(r-).25 G(ward\255w)144 372 Q(ord)-.1 E F0(.)A F1 -(yank \(C\255y\))108 384 Q F0 -1(Ya)144 396 S -(nk the top of the kill ring into the b)1 E(uf)-.2 E(fer at point.)-.25 -E F1(yank\255pop \(M\255y\))108 408 Q F0 -(Rotate the kill ring, and yank the ne)144 420 Q 2.5(wt)-.25 G 2.5 +(copy\255backward\255w)108 628.8 Q(ord)-.1 E F0(Cop)144 640.8 Q 4.8(yt) +-.1 G 2.3(he w)-4.8 F 2.3(ord before point to the kill b)-.1 F(uf)-.2 E +(fer)-.25 E 7.301(.T)-.55 G 2.301(he w)-7.301 F 2.301 +(ord boundaries are the same as)-.1 F F1(back-)4.801 E(ward\255w)144 +652.8 Q(ord)-.1 E F0(.)A F1(copy\255f)108 664.8 Q(orward\255w)-.25 E +(ord)-.1 E F0(Cop)144 676.8 Q 4.508(yt)-.1 G 2.008(he w)-4.508 F 2.008 +(ord follo)-.1 F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25 +E 7.007(.T)-.55 G 2.007(he w)-7.007 F 2.007 +(ord boundaries are the same as)-.1 F F1 -.25(fo)4.507 G -.37(r-).25 G +(ward\255w)144 688.8 Q(ord)-.1 E F0(.)A F1(yank \(C\255y\))108 700.8 Q +F0 -1(Ya)144 712.8 S(nk the top of the kill ring into the b)1 E(uf)-.2 E +(fer at point.)-.25 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(39) +197.335 E 0 Cg EP +%%Page: 40 40 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(yank\255pop \(M\255y\))108 84 Q F0 +(Rotate the kill ring, and yank the ne)144 96 Q 2.5(wt)-.25 G 2.5 (op. Only)-2.5 F -.1(wo)2.5 G(rks follo).1 E(wing)-.25 E F1(yank)2.5 E -F0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 436.8 Q -(guments)-.1 E(digit\255ar)108 448.8 Q +F0(or)2.5 E F1(yank\255pop)2.5 E F0(.)A F1(Numeric Ar)87 112.8 Q +(guments)-.1 E(digit\255ar)108 124.8 Q (gument \(M\2550, M\2551, ..., M\255\255\))-.1 E F0 .641 -(Add this digit to the ar)144 460.8 R .641 +(Add this digit to the ar)144 136.8 R .641 (gument already accumulating, or start a ne)-.18 F 3.141(wa)-.25 G -.18 (rg)-3.141 G 3.142(ument. M\255\255).18 F .642(starts a ne)3.142 F(g-) --.15 E(ati)144 472.8 Q .3 -.15(ve a)-.25 H -.18(rg).15 G(ument.).18 E F1 -(uni)108 484.8 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0 .779 -(This is another w)144 496.8 R .779(ay to specify an ar)-.1 F 3.279 +-.15 E(ati)144 148.8 Q .3 -.15(ve a)-.25 H -.18(rg).15 G(ument.).18 E F1 +(uni)108 160.8 Q -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0 .779 +(This is another w)144 172.8 R .779(ay to specify an ar)-.1 F 3.279 (gument. If)-.18 F .779(this command is follo)3.279 F .778 (wed by one or more digits,)-.25 F 1.376 (optionally with a leading minus sign, those digits de\214ne the ar)144 -508.8 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144 -520.8 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni) +184.8 R 3.876(gument. If)-.18 F 1.376(the command is fol-)3.876 F(lo)144 +196.8 Q 1.17(wed by digits, e)-.25 F -.15(xe)-.15 G(cuting).15 E F1(uni) 3.67 E -.1(ve)-.1 G(rsal\255ar).1 E(gument)-.1 E F0(ag)3.67 E 1.17 (ain ends the numeric ar)-.05 F 1.17(gument, b)-.18 F 1.17(ut is other) --.2 F(-)-.2 E .898(wise ignored.)144 532.8 R .898 +-.2 F(-)-.2 E .898(wise ignored.)144 208.8 R .898 (As a special case, if this command is immediately follo)5.898 F .898 (wed by a character that is)-.25 F .243 -(neither a digit or minus sign, the ar)144 544.8 R .243 +(neither a digit or minus sign, the ar)144 220.8 R .243 (gument count for the ne)-.18 F .243(xt command is multiplied by four) --.15 F 5.242(.T)-.55 G(he)-5.242 E(ar)144 556.8 Q .378 +-.15 F 5.242(.T)-.55 G(he)-5.242 E(ar)144 232.8 Q .378 (gument count is initially one, so e)-.18 F -.15(xe)-.15 G .378 (cuting this function the \214rst time mak).15 F .378(es the ar)-.1 F -.378(gument count)-.18 F(four)144 568.8 Q 2.5(,as)-.4 G(econd time mak) +.378(gument count)-.18 F(four)144 244.8 Q 2.5(,as)-.4 G(econd time mak) -2.5 E(es the ar)-.1 E(gument count sixteen, and so on.)-.18 E F1 -(Completing)87 585.6 Q(complete \(T)108 597.6 Q(AB\))-.9 E F0 1.137 -(Attempt to perform completion on the te)144 609.6 R 1.137 +(Completing)87 261.6 Q(complete \(T)108 273.6 Q(AB\))-.9 E F0 1.137 +(Attempt to perform completion on the te)144 285.6 R 1.137 (xt before point.)-.15 F F1(Bash)6.137 E F0 1.137 -(attempts completion treating the)3.637 F(te)144 621.6 Q .532(xt as a v) +(attempts completion treating the)3.637 F(te)144 297.6 Q .532(xt as a v) -.15 F .532(ariable \(if the te)-.25 F .532(xt be)-.15 F .533(gins with) -.15 F F1($)3.033 E F0 .533(\), username \(if the te)B .533(xt be)-.15 F .533(gins with)-.15 F F1(~)3.033 E F0 .533(\), hostname \(if the)B(te) -144 633.6 Q .702(xt be)-.15 F .702(gins with)-.15 F F1(@)3.202 E F0 .701 +144 309.6 Q .702(xt be)-.15 F .702(gins with)-.15 F F1(@)3.202 E F0 .701 (\), or command \(including aliases and functions\) in turn.)B .701 (If none of these pro-)5.701 F -(duces a match, \214lename completion is attempted.)144 645.6 Q F1 -(possible\255completions \(M\255?\))108 657.6 Q F0 -(List the possible completions of the te)144 669.6 Q(xt before point.) --.15 E F1(insert\255completions \(M\255*\))108 681.6 Q F0 .783 -(Insert all completions of the te)144 693.6 R .783 +(duces a match, \214lename completion is attempted.)144 321.6 Q F1 +(possible\255completions \(M\255?\))108 333.6 Q F0 +(List the possible completions of the te)144 345.6 Q(xt before point.) +-.15 E F1(insert\255completions \(M\255*\))108 357.6 Q F0 .783 +(Insert all completions of the te)144 369.6 R .783 (xt before point that w)-.15 F .783(ould ha)-.1 F 1.083 -.15(ve b)-.2 H .783(een generated by).15 F F1(possible\255com-)3.283 E(pletions)144 -705.6 Q F0(.)A(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(39)198.445 E -0 Cg EP -%%Page: 40 40 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(menu\255complete)108 84 Q F0 .929 -(Similar to)144 96 R F1(complete)3.429 E F0 3.429(,b)C .929 -(ut replaces the w)-3.629 F .929 -(ord to be completed with a single match from the list of)-.1 F 1.193 -(possible completions.)144 108 R 1.193(Repeated e)6.193 F -.15(xe)-.15 G -1.193(cution of).15 F F1(menu\255complete)3.694 E F0 1.194 +381.6 Q F0(.)A F1(menu\255complete)108 393.6 Q F0 .929(Similar to)144 +405.6 R F1(complete)3.429 E F0 3.429(,b)C .929(ut replaces the w)-3.629 +F .929(ord to be completed with a single match from the list of)-.1 F +1.193(possible completions.)144 417.6 R 1.193(Repeated e)6.193 F -.15 +(xe)-.15 G 1.193(cution of).15 F F1(menu\255complete)3.694 E F0 1.194 (steps through the list of possible)3.694 F .829 -(completions, inserting each match in turn.)144 120 R .828 +(completions, inserting each match in turn.)144 429.6 R .828 (At the end of the list of completions, the bell is rung)5.828 F .727 -(\(subject to the setting of)144 132 R F1(bell\255style)3.227 E F0 3.227 -(\)a)C .727(nd the original te)-3.227 F .727(xt is restored.)-.15 F .727 -(An ar)5.727 F .727(gument of)-.18 F/F2 10/Times-Italic@0 SF(n)3.227 E -F0(mo)3.227 E -.15(ve)-.15 G(s).15 E F2(n)3.228 E F0 1.73 -(positions forw)144 144 R 1.73(ard in the list of matches; a ne)-.1 F +(\(subject to the setting of)144 441.6 R F1(bell\255style)3.227 E F0 +3.227(\)a)C .727(nd the original te)-3.227 F .727(xt is restored.)-.15 F +.727(An ar)5.727 F .727(gument of)-.18 F/F2 10/Times-Italic@0 SF(n)3.227 +E F0(mo)3.227 E -.15(ve)-.15 G(s).15 E F2(n)3.228 E F0 1.73 +(positions forw)144 453.6 R 1.73(ard in the list of matches; a ne)-.1 F -.05(ga)-.15 G(ti).05 E 2.03 -.15(ve a)-.25 H -.18(rg).15 G 1.73 (ument may be used to mo).18 F 2.03 -.15(ve b)-.15 H(ackw).15 E(ard)-.1 -E(through the list.)144 156 Q(This command is intended to be bound to)5 -E F1 -.9(TA)2.5 G(B).9 E F0 2.5(,b)C(ut is unbound by def)-2.7 E(ault.) --.1 E F1(delete\255char\255or\255list)108 168 Q F0 .234 -(Deletes the character under the cursor if not at the be)144 180 R .234 -(ginning or end of the line \(lik)-.15 F(e)-.1 E F1(delete\255char)2.735 -E F0(\).)A .425(If at the end of the line, beha)144 192 R -.15(ve)-.2 G -2.925(si).15 G .425(dentically to)-2.925 F F1(possible\255completions) -2.925 E F0 5.425(.T)C .425(his command is unbound)-5.425 F(by def)144 -204 Q(ault.)-.1 E F1(complete\255\214lename \(M\255/\))108 216 Q F0 -(Attempt \214lename completion on the te)144 228 Q(xt before point.)-.15 -E F1(possible\255\214lename\255completions \(C\255x /\))108 240 Q F0 -(List the possible completions of the te)144 252 Q +E(through the list.)144 465.6 Q(This command is intended to be bound to) +5 E F1 -.9(TA)2.5 G(B).9 E F0 2.5(,b)C(ut is unbound by def)-2.7 E +(ault.)-.1 E F1(delete\255char\255or\255list)108 477.6 Q F0 .234 +(Deletes the character under the cursor if not at the be)144 489.6 R +.234(ginning or end of the line \(lik)-.15 F(e)-.1 E F1(delete\255char) +2.735 E F0(\).)A .425(If at the end of the line, beha)144 501.6 R -.15 +(ve)-.2 G 2.925(si).15 G .425(dentically to)-2.925 F F1 +(possible\255completions)2.925 E F0 5.425(.T)C .425 +(his command is unbound)-5.425 F(by def)144 513.6 Q(ault.)-.1 E F1 +(complete\255\214lename \(M\255/\))108 525.6 Q F0 +(Attempt \214lename completion on the te)144 537.6 Q(xt before point.) +-.15 E F1(possible\255\214lename\255completions \(C\255x /\))108 549.6 Q +F0(List the possible completions of the te)144 561.6 Q (xt before point, treating it as a \214lename.)-.15 E F1 -(complete\255user)108 264 Q(name \(M\255~\))-.15 E F0 -(Attempt completion on the te)144 276 Q +(complete\255user)108 573.6 Q(name \(M\255~\))-.15 E F0 +(Attempt completion on the te)144 585.6 Q (xt before point, treating it as a username.)-.15 E F1(possible\255user) -108 288 Q(name\255completions \(C\255x ~\))-.15 E F0 -(List the possible completions of the te)144 300 Q +108 597.6 Q(name\255completions \(C\255x ~\))-.15 E F0 +(List the possible completions of the te)144 609.6 Q (xt before point, treating it as a username.)-.15 E F1(complete\255v)108 -312 Q(ariable \(M\255$\))-.1 E F0(Attempt completion on the te)144 324 Q +621.6 Q(ariable \(M\255$\))-.1 E F0(Attempt completion on the te)144 +633.6 Q(xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E +F1(possible\255v)108 645.6 Q(ariable\255completions \(C\255x $\))-.1 E +F0(List the possible completions of the te)144 657.6 Q (xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E F1 -(possible\255v)108 336 Q(ariable\255completions \(C\255x $\))-.1 E F0 -(List the possible completions of the te)144 348 Q -(xt before point, treating it as a shell v)-.15 E(ariable.)-.25 E F1 -(complete\255hostname \(M\255@\))108 360 Q F0 -(Attempt completion on the te)144 372 Q -(xt before point, treating it as a hostname.)-.15 E F1 -(possible\255hostname\255completions \(C\255x @\))108 384 Q F0 -(List the possible completions of the te)144 396 Q +(complete\255hostname \(M\255@\))108 669.6 Q F0 +(Attempt completion on the te)144 681.6 Q (xt before point, treating it as a hostname.)-.15 E F1 -(complete\255command \(M\255!\))108 408 Q F0 .58 -(Attempt completion on the te)144 420 R .581 +(possible\255hostname\255completions \(C\255x @\))108 693.6 Q F0 +(List the possible completions of the te)144 705.6 Q +(xt before point, treating it as a hostname.)-.15 E(GNU Bash-4.0)72 768 +Q(2008 May 25)147.345 E(40)197.335 E 0 Cg EP +%%Page: 41 41 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(complete\255command \(M\255!\))108 84 Q F0 +.58(Attempt completion on the te)144 96 R .581 (xt before point, treating it as a command name.)-.15 F .581 -(Command comple-)5.581 F .715(tion attempts to match the te)144 432 R +(Command comple-)5.581 F .715(tion attempts to match the te)144 108 R .715(xt ag)-.15 F .715(ainst aliases, reserv)-.05 F .715(ed w)-.15 F .715(ords, shell functions, shell b)-.1 F .715(uiltins, and)-.2 F -(\214nally e)144 444 Q -.15(xe)-.15 G +(\214nally e)144 120 Q -.15(xe)-.15 G (cutable \214lenames, in that order).15 E(.)-.55 E F1 -(possible\255command\255completions \(C\255x !\))108 456 Q F0 -(List the possible completions of the te)144 468 Q +(possible\255command\255completions \(C\255x !\))108 132 Q F0 +(List the possible completions of the te)144 144 Q (xt before point, treating it as a command name.)-.15 E F1 -(dynamic\255complete\255history \(M\255T)108 480 Q(AB\))-.9 E F0 .424 -(Attempt completion on the te)144 492 R .425 +(dynamic\255complete\255history \(M\255T)108 156 Q(AB\))-.9 E F0 .424 +(Attempt completion on the te)144 168 R .425 (xt before point, comparing the te)-.15 F .425(xt ag)-.15 F .425 (ainst lines from the history list)-.05 F -(for possible completion matches.)144 504 Q F1 -(complete\255into\255braces \(M\255{\))108 516 Q F0 .4(Perform \214lena\ +(for possible completion matches.)144 180 Q F1(dab)108 192 Q(br)-.1 E +-.15(ev)-.18 G(\255expand).15 E F0 .611 +(Attempt menu completion on the te)144 204 R .611 +(xt before point, comparing the te)-.15 F .61(xt ag)-.15 F .61 +(ainst lines from the his-)-.05 F +(tory list for possible completion matches.)144 216 Q F1 +(complete\255into\255braces \(M\255{\))108 228 Q F0 .4(Perform \214lena\ me completion and insert the list of possible completions enclosed with\ -in braces so)144 528 R(the list is a)144 540 Q -.25(va)-.2 G +in braces so)144 240 R(the list is a)144 252 Q -.25(va)-.2 G (ilable to the shell \(see).25 E F1(Brace Expansion)2.5 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1 -.25(Ke)87 556.8 S(yboard Macr).25 E(os)-.18 -E(start\255kbd\255macr)108 568.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)) -.833 E F0(Be)144 580.8 Q(gin sa)-.15 E +-.15(ve)-.15 G(\).).15 E F1 -.25(Ke)87 268.8 S(yboard Macr).25 E(os)-.18 +E(start\255kbd\255macr)108 280.8 Q 2.5(o\()-.18 G(C\255x \()-2.5 E(\)) +.833 E F0(Be)144 292.8 Q(gin sa)-.15 E (ving the characters typed into the current k)-.2 E -.15(ey)-.1 G -(board macro.).15 E F1(end\255kbd\255macr)108 592.8 Q 2.5(o\()-.18 G -(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 604.8 Q +(board macro.).15 E F1(end\255kbd\255macr)108 304.8 Q 2.5(o\()-.18 G +(C\255x \))-2.5 E(\)).833 E F0(Stop sa)144 316.8 Q (ving the characters typed into the current k)-.2 E -.15(ey)-.1 G (board macro and store the de\214nition.).15 E F1 -(call\255last\255kbd\255macr)108 616.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5 -E F0(Re-e)144 628.8 Q -.15(xe)-.15 G .999(cute the last k).15 F -.15(ey) --.1 G .999(board macro de\214ned, by making the characters in the macro\ - appear as if).15 F(typed at the k)144 640.8 Q -.15(ey)-.1 G(board.).15 -E F1(Miscellaneous)87 657.6 Q -.18(re)108 669.6 S<ad72>.18 E -(ead\255init\255\214le \(C\255x C\255r\))-.18 E F0 1.777 -(Read in the contents of the)144 681.6 R F2(inputr)4.277 E(c)-.37 E F0 -1.776(\214le, and incorporate an)4.276 F 4.276(yb)-.15 G 1.776 -(indings or v)-4.276 F 1.776(ariable assignments)-.25 F(found there.)144 -693.6 Q F1(abort \(C\255g\))108 705.6 Q F0 3.248 -(Abort the current editing command and ring the terminal')144 717.6 R -5.749(sb)-.55 G 3.249(ell \(subject to the setting of)-5.749 F F1 -(bell\255style)144 729.6 Q F0(\).)A(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(40)198.445 E 0 Cg EP -%%Page: 41 41 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(do\255upper)108 84 Q(case\255v)-.18 E -(ersion \(M\255a, M\255b, M\255)-.1 E/F2 10/Times-Italic@0 SF(x)A F1 2.5 -(,.)C(..\))-2.5 E F0 1.756(If the meta\214ed character)144 96 R F2(x) -4.256 E F0 1.755(is lo)4.256 F 1.755 +(call\255last\255kbd\255macr)108 328.8 Q 2.5(o\()-.18 G(C\255x e\))-2.5 +E F0(Re-e)144 340.8 Q -.15(xe)-.15 G 1(cute the last k).15 F -.15(ey)-.1 +G .999(board macro de\214ned, by making the characters in the macro app\ +ear as if).15 F(typed at the k)144 352.8 Q -.15(ey)-.1 G(board.).15 E F1 +(Miscellaneous)87 369.6 Q -.18(re)108 381.6 S<ad72>.18 E +(ead\255init\255\214le \(C\255x C\255r\))-.18 E F0 1.776 +(Read in the contents of the)144 393.6 R/F2 10/Times-Italic@0 SF(inputr) +4.276 E(c)-.37 E F0 1.777(\214le, and incorporate an)4.276 F 4.277(yb) +-.15 G 1.777(indings or v)-4.277 F 1.777(ariable assignments)-.25 F +(found there.)144 405.6 Q F1(abort \(C\255g\))108 417.6 Q F0 3.249 +(Abort the current editing command and ring the terminal')144 429.6 R +5.748(sb)-.55 G 3.248(ell \(subject to the setting of)-5.748 F F1 +(bell\255style)144 441.6 Q F0(\).)A F1(do\255upper)108 453.6 Q +(case\255v)-.18 E(ersion \(M\255a, M\255b, M\255)-.1 E F2(x)A F1 2.5(,.) +C(..\))-2.5 E F0 1.755(If the meta\214ed character)144 465.6 R F2(x) +4.255 E F0 1.755(is lo)4.255 F 1.756 (wercase, run the command that is bound to the corresponding)-.25 F -(uppercase character)144 108 Q(.)-.55 E F1(pr)108 120 Q -(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 132 Q +(uppercase character)144 477.6 Q(.)-.55 E F1(pr)108 489.6 Q +(e\214x\255meta \(ESC\))-.18 E F0(Metafy the ne)144 501.6 Q (xt character typed.)-.15 E/F3 9/Times-Bold@0 SF(ESC)5 E F1(f)2.25 E F0 (is equi)2.5 E -.25(va)-.25 G(lent to).25 E F1(Meta\255f)2.5 E F0(.)A F1 -(undo \(C\255_, C\255x C\255u\))108 144 Q F0 -(Incremental undo, separately remembered for each line.)144 156 Q F1 --2.29 -.18(re v)108 168 T(ert\255line \(M\255r\)).08 E F0 1.095 -(Undo all changes made to this line.)144 180 R 1.095(This is lik)6.095 F -3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 E +(undo \(C\255_, C\255x C\255u\))108 513.6 Q F0 +(Incremental undo, separately remembered for each line.)144 525.6 Q F1 +-2.29 -.18(re v)108 537.6 T(ert\255line \(M\255r\)).08 E F0 1.095 +(Undo all changes made to this line.)144 549.6 R 1.095(This is lik)6.095 +F 3.595(ee)-.1 G -.15(xe)-3.745 G 1.095(cuting the).15 F F1(undo)3.595 E F0 1.095(command enough times to)3.595 F -(return the line to its initial state.)144 192 Q F1 -(tilde\255expand \(M\255&\))108 204 Q F0(Perform tilde e)144 216 Q +(return the line to its initial state.)144 561.6 Q F1 +(tilde\255expand \(M\255&\))108 573.6 Q F0(Perform tilde e)144 585.6 Q (xpansion on the current w)-.15 E(ord.)-.1 E F1 -(set\255mark \(C\255@, M\255<space>\))108 228 Q F0 -(Set the mark to the point.)144 240 Q(If a numeric ar)5 E +(set\255mark \(C\255@, M\255<space>\))108 597.6 Q F0 +(Set the mark to the point.)144 609.6 Q(If a numeric ar)5 E (gument is supplied, the mark is set to that position.)-.18 E F1 -(exchange\255point\255and\255mark \(C\255x C\255x\))108 252 Q F0(Sw)144 -264 Q .283(ap the point with the mark.)-.1 F .283 +(exchange\255point\255and\255mark \(C\255x C\255x\))108 621.6 Q F0(Sw) +144 633.6 Q .282(ap the point with the mark.)-.1 F .283 (The current cursor position is set to the sa)5.283 F -.15(ve)-.2 G -2.782(dp).15 G .282(osition, and the old)-2.782 F(cursor position is sa) -144 276 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1 -(character\255sear)108 288 Q(ch \(C\255]\))-.18 E F0 3.035(Ac)144 300 S -.535(haracter is read and point is mo)-3.035 F -.15(ve)-.15 G 3.035(dt) -.15 G 3.035(ot)-3.035 G .535(he ne)-3.035 F .535 -(xt occurrence of that character)-.15 F 5.536(.A)-.55 G(ne)-2.5 E -.05 -(ga)-.15 G(ti).05 E .836 -.15(ve c)-.25 H(ount).15 E(searches for pre) -144 312 Q(vious occurrences.)-.25 E F1(character\255sear)108 324 Q -(ch\255backward \(M\255C\255]\))-.18 E F0 3.544(Ac)144 336 S 1.044 -(haracter is read and point is mo)-3.544 F -.15(ve)-.15 G 3.544(dt).15 G +2.783(dp).15 G .283(osition, and the old)-2.783 F(cursor position is sa) +144 645.6 Q -.15(ve)-.2 G 2.5(da).15 G 2.5(st)-2.5 G(he mark.)-2.5 E F1 +(character\255sear)108 657.6 Q(ch \(C\255]\))-.18 E F0 3.036(Ac)144 +669.6 S .536(haracter is read and point is mo)-3.036 F -.15(ve)-.15 G +3.035(dt).15 G 3.035(ot)-3.035 G .535(he ne)-3.035 F .535 +(xt occurrence of that character)-.15 F 5.535(.A)-.55 G(ne)-2.5 E -.05 +(ga)-.15 G(ti).05 E .835 -.15(ve c)-.25 H(ount).15 E(searches for pre) +144 681.6 Q(vious occurrences.)-.25 E F1(character\255sear)108 693.6 Q +(ch\255backward \(M\255C\255]\))-.18 E F0 3.543(Ac)144 705.6 S 1.043 +(haracter is read and point is mo)-3.543 F -.15(ve)-.15 G 3.544(dt).15 G 3.544(ot)-3.544 G 1.044(he pre)-3.544 F 1.044 -(vious occurrence of that character)-.25 F 6.043(.A)-.55 G(ne)-2.5 E +(vious occurrence of that character)-.25 F 6.044(.A)-.55 G(ne)-2.5 E -.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G -(count searches for subsequent occurrences.)144 348 Q F1 -(insert\255comment \(M\255#\))108 360 Q F0 -.4(Wi)144 372 S .48 -(thout a numeric ar).4 F .48(gument, the v)-.18 F .481 -(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 -.25(va) -2.981 G .481(riable is inserted at the).25 F(be)144 384 Q .098 -(ginning of the current line.)-.15 F .098(If a numeric ar)5.098 F .097 -(gument is supplied, this command acts as a toggle:)-.18 F(if)5.097 E -.321(the characters at the be)144 396 R .321 +(count searches for subsequent occurrences.)144 717.6 Q(GNU Bash-4.0)72 +768 Q(2008 May 25)147.345 E(41)197.335 E 0 Cg EP +%%Page: 42 42 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(insert\255comment \(M\255#\))108 84 Q F0 +-.4(Wi)144 96 S .481(thout a numeric ar).4 F .481(gument, the v)-.18 F +.481(alue of the readline)-.25 F F1(comment\255begin)2.981 E F0 -.25(va) +2.981 G .48(riable is inserted at the).25 F(be)144 108 Q .097 +(ginning of the current line.)-.15 F .098(If a numeric ar)5.097 F .098 +(gument is supplied, this command acts as a toggle:)-.18 F(if)5.098 E +.322(the characters at the be)144 120 R .321 (ginning of the line do not match the v)-.15 F .321(alue of)-.25 F F1 -(comment\255begin)2.821 E F0 2.822(,t)C .322(he v)-2.822 F .322(alue is) --.25 F 1.014(inserted, otherwise the characters in)144 408 R F1 -(comment-begin)3.514 E F0 1.014(are deleted from the be)3.514 F 1.013 -(ginning of the line.)-.15 F 1.468 -(In either case, the line is accepted as if a ne)144 420 R 1.468 -(wline had been typed.)-.25 F 1.469(The def)6.469 F 1.469(ault v)-.1 F -1.469(alue of)-.25 F F1(com-)3.969 E(ment\255begin)144 432 Q F0 .84 -(causes this command to mak)3.34 F 3.339(et)-.1 G .839 -(he current line a shell comment.)-3.339 F .839(If a numeric ar)5.839 F -(gu-)-.18 E(ment causes the comment character to be remo)144 444 Q -.15 +(comment\255begin)2.821 E F0 2.821(,t)C .321(he v)-2.821 F .321(alue is) +-.25 F 1.013(inserted, otherwise the characters in)144 132 R F1 +(comment-begin)3.514 E F0 1.014(are deleted from the be)3.514 F 1.014 +(ginning of the line.)-.15 F 1.469 +(In either case, the line is accepted as if a ne)144 144 R 1.468 +(wline had been typed.)-.25 F 1.468(The def)6.468 F 1.468(ault v)-.1 F +1.468(alue of)-.25 F F1(com-)3.968 E(ment\255begin)144 156 Q F0 .839 +(causes this command to mak)3.339 F 3.339(et)-.1 G .839 +(he current line a shell comment.)-3.339 F .84(If a numeric ar)5.84 F +(gu-)-.18 E(ment causes the comment character to be remo)144 168 Q -.15 (ve)-.15 G(d, the line will be e).15 E -.15(xe)-.15 G -(cuted by the shell.).15 E F1(glob\255complete\255w)108 456 Q -(ord \(M\255g\))-.1 E F0 .791(The w)144 468 R .791 -(ord before point is treated as a pattern for pathname e)-.1 F .792 -(xpansion, with an asterisk implicitly)-.15 F 2.5(appended. This)144 480 +(cuted by the shell.).15 E F1(glob\255complete\255w)108 180 Q +(ord \(M\255g\))-.1 E F0 .792(The w)144 192 R .791 +(ord before point is treated as a pattern for pathname e)-.1 F .791 +(xpansion, with an asterisk implicitly)-.15 F 2.5(appended. This)144 204 R(pattern is used to generate a list of matching \214le names for possi\ -ble completions.)2.5 E F1(glob\255expand\255w)108 492 Q -(ord \(C\255x *\))-.1 E F0 .372(The w)144 504 R .372 -(ord before point is treated as a pattern for pathname e)-.1 F .371 +ble completions.)2.5 E F1(glob\255expand\255w)108 216 Q +(ord \(C\255x *\))-.1 E F0 .371(The w)144 228 R .372 +(ord before point is treated as a pattern for pathname e)-.1 F .372 (xpansion, and the list of matching \214le)-.15 F .516 -(names is inserted, replacing the w)144 516 R 3.016(ord. If)-.1 F 3.016 +(names is inserted, replacing the w)144 240 R 3.016(ord. If)-.1 F 3.016 (an)3.016 G .516(umeric ar)-3.016 F .516 (gument is supplied, an asterisk is appended)-.18 F(before pathname e) -144 528 Q(xpansion.)-.15 E F1(glob\255list\255expansions \(C\255x g\)) -108 540 Q F0 .923(The list of e)144 552 R .923(xpansions that w)-.15 F +144 252 Q(xpansion.)-.15 E F1(glob\255list\255expansions \(C\255x g\)) +108 264 Q F0 .923(The list of e)144 276 R .923(xpansions that w)-.15 F .923(ould ha)-.1 F 1.223 -.15(ve b)-.2 H .923(een generated by).15 F F1 (glob\255expand\255w)3.423 E(ord)-.1 E F0 .923(is displayed, and)3.423 F -.872(the line is redra)144 564 R 3.372(wn. If)-.15 F 3.372(an)3.372 G +.872(the line is redra)144 288 R 3.372(wn. If)-.15 F 3.372(an)3.372 G .872(umeric ar)-3.372 F .872 (gument is supplied, an asterisk is appended before pathname)-.18 F -.15 -(ex)144 576 S(pansion.).15 E F1(dump\255functions)108 588 Q F0 .627 -(Print all of the functions and their k)144 600 R .927 -.15(ey b)-.1 H -.626(indings to the readline output stream.).15 F .626(If a numeric ar) -5.626 F(gu-)-.18 E -(ment is supplied, the output is formatted in such a w)144 612 Q -(ay that it can be made part of an)-.1 E F2(inputr)2.5 E(c)-.37 E F0 -(\214le.)2.5 E F1(dump\255v)108 624 Q(ariables)-.1 E F0 1.799 -(Print all of the settable readline v)144 636 R 1.799 -(ariables and their v)-.25 F 1.8(alues to the readline output stream.) --.25 F 1.8(If a)6.8 F .305(numeric ar)144 648 R .304 +(ex)144 300 S(pansion.).15 E F1(dump\255functions)108 312 Q F0 .626 +(Print all of the functions and their k)144 324 R .926 -.15(ey b)-.1 H +.627(indings to the readline output stream.).15 F .627(If a numeric ar) +5.627 F(gu-)-.18 E +(ment is supplied, the output is formatted in such a w)144 336 Q +(ay that it can be made part of an)-.1 E/F2 10/Times-Italic@0 SF(inputr) +2.5 E(c)-.37 E F0(\214le.)2.5 E F1(dump\255v)108 348 Q(ariables)-.1 E F0 +1.8(Print all of the settable readline v)144 360 R 1.799 +(ariables and their v)-.25 F 1.799(alues to the readline output stream.) +-.25 F 1.799(If a)6.799 F .304(numeric ar)144 372 R .304 (gument is supplied, the output is formatted in such a w)-.18 F .304 -(ay that it can be made part of an)-.1 F F2(inputr)144 660 Q(c)-.37 E F0 -(\214le.)2.5 E F1(dump\255macr)108 672 Q(os)-.18 E F0 .592 -(Print all of the readline k)144 684 R .892 -.15(ey s)-.1 H .592 -(equences bound to macros and the strings the).15 F 3.093(yo)-.15 G -3.093(utput. If)-3.093 F 3.093(an)3.093 G(umeric)-3.093 E(ar)144 696 Q +(ay that it can be made part of an)-.1 F F2(inputr)144 384 Q(c)-.37 E F0 +(\214le.)2.5 E F1(dump\255macr)108 396 Q(os)-.18 E F0 .593 +(Print all of the readline k)144 408 R .893 -.15(ey s)-.1 H .592 +(equences bound to macros and the strings the).15 F 3.092(yo)-.15 G +3.092(utput. If)-3.092 F 3.092(an)3.092 G(umeric)-3.092 E(ar)144 420 Q .528(gument is supplied, the output is formatted in such a w)-.18 F .528 -(ay that it can be made part of an)-.1 F F2(inputr)3.027 E(c)-.37 E F0 -(\214le.)144 708 Q(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(41) -198.445 E 0 Cg EP -%%Page: 42 42 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(display\255shell\255v)108 84 Q -(ersion \(C\255x C\255v\))-.1 E F0(Display v)144 96 Q +(ay that it can be made part of an)-.1 F F2(inputr)3.028 E(c)-.37 E F0 +(\214le.)144 432 Q F1(display\255shell\255v)108 444 Q +(ersion \(C\255x C\255v\))-.1 E F0(Display v)144 456 Q (ersion information about the current instance of)-.15 E F1(bash)2.5 E -F0(.)A F1(Pr)87 112.8 Q(ogrammable Completion)-.18 E F0 .146(When w)108 -124.8 R .147(ord completion is attempted for an ar)-.1 F .147 +F0(.)A F1(Pr)87 472.8 Q(ogrammable Completion)-.18 E F0 .147(When w)108 +484.8 R .147(ord completion is attempted for an ar)-.1 F .147 (gument to a command for which a completion speci\214cation \(a)-.18 F -/F2 10/Times-Italic@0 SF(compspec)108 136.8 Q F0 3.829(\)h)C 1.329 -(as been de\214ned using the)-3.829 F F1(complete)3.829 E F0 -.2(bu) +F2(compspec)108 496.8 Q F0 3.828(\)h)C 1.329 +(as been de\214ned using the)-3.828 F F1(complete)3.829 E F0 -.2(bu) 3.829 G 1.329(iltin \(see).2 F/F3 9/Times-Bold@0 SF 1.329(SHELL B)3.829 -F(UIL)-.09 E 1.329(TIN COMMANDS)-.828 F F0(belo)3.579 E 1.328(w\), the) --.25 F(programmable completion f)108 148.8 Q(acilities are in)-.1 E -.2 -(vo)-.4 G -.1(ke).2 G(d.).1 E .333 -(First, the command name is identi\214ed.)108 165.6 R .334 +F(UIL)-.09 E 1.329(TIN COMMANDS)-.828 F F0(belo)3.579 E 1.329(w\), the) +-.25 F(programmable completion f)108 508.8 Q(acilities are in)-.1 E -.2 +(vo)-.4 G -.1(ke).2 G(d.).1 E .334 +(First, the command name is identi\214ed.)108 525.6 R .333 (If a compspec has been de\214ned for that command, the compspec is) -5.333 F .587 -(used to generate the list of possible completions for the w)108 177.6 R -3.087(ord. If)-.1 F .587(the command w)3.087 F .586 -(ord is a full pathname, a)-.1 F 1.18 -(compspec for the full pathname is searched for \214rst.)108 189.6 R -1.181(If no compspec is found for the full pathname, an)6.181 F -(attempt is made to \214nd a compspec for the portion follo)108 201.6 Q +5.334 F .587 +(used to generate the list of possible completions for the w)108 537.6 R +3.087(ord. If)-.1 F .587(the command w)3.087 F .587 +(ord is a full pathname, a)-.1 F 1.181 +(compspec for the full pathname is searched for \214rst.)108 549.6 R +1.18(If no compspec is found for the full pathname, an)6.181 F +(attempt is made to \214nd a compspec for the portion follo)108 561.6 Q (wing the \214nal slash.)-.25 E .817(Once a compspec has been found, it\ - is used to generate the list of matching w)108 218.4 R 3.317(ords. If) + is used to generate the list of matching w)108 578.4 R 3.317(ords. If) -.1 F 3.317(ac)3.317 G .817(ompspec is not)-3.317 F(found, the def)108 -230.4 Q(ault)-.1 E F1(bash)2.5 E F0(completion as described abo)2.5 E .3 +590.4 Q(ault)-.1 E F1(bash)2.5 E F0(completion as described abo)2.5 E .3 -.15(ve u)-.15 H(nder).15 E F1(Completing)2.5 E F0(is performed.)2.5 E -.463(First, the actions speci\214ed by the compspec are used.)108 247.2 -R .464(Only matches which are pre\214x)5.464 F .464(ed by the w)-.15 F -.464(ord being)-.1 F .596(completed are returned.)108 259.2 R .596 -(When the)5.596 F F1<ad66>3.096 E F0(or)3.095 E F1<ad64>3.095 E F0 .595 +.464(First, the actions speci\214ed by the compspec are used.)108 607.2 +R .463(Only matches which are pre\214x)5.464 F .463(ed by the w)-.15 F +.463(ord being)-.1 F .595(completed are returned.)108 619.2 R .595 +(When the)5.595 F F1<ad66>3.095 E F0(or)3.095 E F1<ad64>3.095 E F0 .596 (option is used for \214lename or directory name completion, the)3.095 F -(shell v)108 271.2 Q(ariable)-.25 E F3(FIGNORE)2.5 E F0 -(is used to \214lter the matches.)2.25 E(An)108 288 Q 2.585(yc)-.15 G +(shell v)108 631.2 Q(ariable)-.25 E F3(FIGNORE)2.5 E F0 +(is used to \214lter the matches.)2.25 E(An)108 648 Q 2.585(yc)-.15 G .085(ompletions speci\214ed by a \214lename e)-2.585 F .085 (xpansion pattern to the)-.15 F F1<ad47>2.585 E F0 .085 (option are generated ne)2.585 F 2.585(xt. The)-.15 F -.1(wo)2.585 G -(rds).1 E .844(generated by the pattern need not match the w)108 300 R -.844(ord being completed.)-.1 F(The)5.844 E F3(GLOBIGNORE)3.343 E F0 -.843(shell v)3.093 F .843(ariable is)-.25 F -(not used to \214lter the matches, b)108 312 Q(ut the)-.2 E F3(FIGNORE) -2.5 E F0 -.25(va)2.25 G(riable is used.).25 E(Ne)108 328.8 Q .32 -(xt, the string speci\214ed as the ar)-.15 F .32(gument to the)-.18 F F1 -<ad57>2.82 E F0 .321(option is considered.)2.821 F .321 -(The string is \214rst split using the)5.321 F .413(characters in the) -108 340.8 R F3(IFS)2.913 E F0 .412(special v)2.663 F .412 +(rds).1 E .843(generated by the pattern need not match the w)108 660 R +.844(ord being completed.)-.1 F(The)5.844 E F3(GLOBIGNORE)3.344 E F0 +.844(shell v)3.094 F .844(ariable is)-.25 F +(not used to \214lter the matches, b)108 672 Q(ut the)-.2 E F3(FIGNORE) +2.5 E F0 -.25(va)2.25 G(riable is used.).25 E(Ne)108 688.8 Q .321 +(xt, the string speci\214ed as the ar)-.15 F .321(gument to the)-.18 F +F1<ad57>2.821 E F0 .32(option is considered.)2.821 F .32 +(The string is \214rst split using the)5.32 F .412(characters in the)108 +700.8 R F3(IFS)2.912 E F0 .412(special v)2.662 F .412 (ariable as delimiters.)-.25 F .412(Shell quoting is honored.)5.412 F -.412(Each w)5.412 F .412(ord is then e)-.1 F(xpanded)-.15 E .091 -(using brace e)108 352.8 R .091(xpansion, tilde e)-.15 F .092 -(xpansion, parameter and v)-.15 F .092(ariable e)-.25 F .092 -(xpansion, command substitution, and arith-)-.15 F 1.397(metic e)108 -364.8 R 1.396(xpansion, as described abo)-.15 F 1.696 -.15(ve u)-.15 H +.413(Each w)5.412 F .413(ord is then e)-.1 F(xpanded)-.15 E .092 +(using brace e)108 712.8 R .092(xpansion, tilde e)-.15 F .092 +(xpansion, parameter and v)-.15 F .092(ariable e)-.25 F .091 +(xpansion, command substitution, and arith-)-.15 F 1.396(metic e)108 +724.8 R 1.396(xpansion, as described abo)-.15 F 1.696 -.15(ve u)-.15 H (nder).15 E F3(EXP)3.896 E(ANSION)-.666 E/F4 9/Times-Roman@0 SF(.)A F0 -1.396(The results are split using the rules described)5.896 F(abo)108 -376.8 Q .509 -.15(ve u)-.15 H(nder).15 E F1 -.75(Wo)2.709 G .209 -(rd Splitting).75 F F0 5.209(.T)C .209(he results of the e)-5.209 F .209 -(xpansion are pre\214x-matched ag)-.15 F .21(ainst the w)-.05 F .21 -(ord being com-)-.1 F(pleted, and the matching w)108 388.8 Q -(ords become the possible completions.)-.1 E 1.238 -(After these matches ha)108 405.6 R 1.538 -.15(ve b)-.2 H 1.238 -(een generated, an).15 F 3.738(ys)-.15 G 1.237 -(hell function or command speci\214ed with the)-3.738 F F1<ad46>3.737 E -F0(and)3.737 E F1<ad43>3.737 E F0 3.375(options is in)108 417.6 R -.2 +1.396(The results are split using the rules described)5.896 F +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(42)197.335 E 0 Cg EP +%%Page: 43 43 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E(abo)108 84 Q .51 -.15(ve u)-.15 H(nder).15 E/F1 10/Times-Bold@0 +SF -.75(Wo)2.71 G .21(rd Splitting).75 F F0 5.21(.T)C .209 +(he results of the e)-5.21 F .209(xpansion are pre\214x-matched ag)-.15 +F .209(ainst the w)-.05 F .209(ord being com-)-.1 F +(pleted, and the matching w)108 96 Q +(ords become the possible completions.)-.1 E 1.237 +(After these matches ha)108 112.8 R 1.537 -.15(ve b)-.2 H 1.237 +(een generated, an).15 F 3.737(ys)-.15 G 1.238 +(hell function or command speci\214ed with the)-3.737 F F1<ad46>3.738 E +F0(and)3.738 E F1<ad43>3.738 E F0 3.376(options is in)108 124.8 R -.2 (vo)-.4 G -.1(ke).2 G 5.875(d. When).1 F 3.375 (the command or function is in)5.875 F -.2(vo)-.4 G -.1(ke).2 G 3.375 -(d, the).1 F F3(COMP_LINE)5.876 E F4(,)A F3(COMP_POINT)5.626 E F4(,)A F3 -(COMP_KEY)108 429.6 Q F4(,)A F0(and)2.408 E F3(COMP_TYPE)2.658 E F0 -.25 -(va)2.408 G .157(riables are assigned v).25 F .157 -(alues as described abo)-.25 F .457 -.15(ve u)-.15 H(nder).15 E F1 .157 -(Shell V)2.657 F(ariables)-.92 E F0 5.157(.I)C(f)-5.157 E 3.485(as)108 -441.6 S .986(hell function is being in)-3.485 F -.2(vo)-.4 G -.1(ke).2 G -.986(d, the).1 F F3(COMP_W)3.486 E(ORDS)-.09 E F0(and)3.236 E F3 -(COMP_CW)3.486 E(ORD)-.09 E F0 -.25(va)3.236 G .986 -(riables are also set.).25 F(When)5.986 E .609 -(the function or command is in)108 453.6 R -.2(vo)-.4 G -.1(ke).2 G .608 -(d, the \214rst ar).1 F .608(gument is the name of the command whose ar) --.18 F .608(guments are)-.18 F .073(being completed, the second ar)108 -465.6 R .073(gument is the w)-.18 F .073 -(ord being completed, and the third ar)-.1 F .073(gument is the w)-.18 F -.073(ord pre-)-.1 F .608(ceding the w)108 477.6 R .607 -(ord being completed on the current command line.)-.1 F .607 -(No \214ltering of the generated completions)5.607 F(ag)108 489.6 Q .093 +(d, the).1 F/F2 9/Times-Bold@0 SF(COMP_LINE)5.875 E/F3 9/Times-Roman@0 +SF(,)A F2(COMP_POINT)5.625 E F3(,)A F2(COMP_KEY)108 136.8 Q F3(,)A F0 +(and)2.407 E F2(COMP_TYPE)2.657 E F0 -.25(va)2.407 G .157 +(riables are assigned v).25 F .157(alues as described abo)-.25 F .457 +-.15(ve u)-.15 H(nder).15 E F1 .158(Shell V)2.658 F(ariables)-.92 E F0 +5.158(.I)C(f)-5.158 E 3.486(as)108 148.8 S .986 +(hell function is being in)-3.486 F -.2(vo)-.4 G -.1(ke).2 G .986 +(d, the).1 F F2(COMP_W)3.486 E(ORDS)-.09 E F0(and)3.236 E F2(COMP_CW) +3.486 E(ORD)-.09 E F0 -.25(va)3.236 G .986(riables are also set.).25 F +(When)5.985 E .608(the function or command is in)108 160.8 R -.2(vo)-.4 +G -.1(ke).2 G .608(d, the \214rst ar).1 F .608 +(gument is the name of the command whose ar)-.18 F .609(guments are)-.18 +F .073(being completed, the second ar)108 172.8 R .073(gument is the w) +-.18 F .073(ord being completed, and the third ar)-.1 F .073 +(gument is the w)-.18 F .072(ord pre-)-.1 F .607(ceding the w)108 184.8 +R .607(ord being completed on the current command line.)-.1 F .608 +(No \214ltering of the generated completions)5.607 F(ag)108 196.8 Q .094 (ainst the w)-.05 F .093(ord being completed is performed; the function\ or command has complete freedom in generat-)-.1 F(ing the matches.)108 -501.6 Q(An)108 518.4 Q 2.938(yf)-.15 G .437(unction speci\214ed with) --2.938 F F1<ad46>2.937 E F0 .437(is in)2.937 F -.2(vo)-.4 G -.1(ke).2 G +208.8 Q(An)108 225.6 Q 2.937(yf)-.15 G .437(unction speci\214ed with) +-2.937 F F1<ad46>2.937 E F0 .437(is in)2.937 F -.2(vo)-.4 G -.1(ke).2 G 2.937<648c>.1 G 2.937(rst. The)-2.937 F .437(function may use an)2.937 F -2.937(yo)-.15 G 2.937(ft)-2.937 G .437(he shell f)-2.937 F .437 -(acilities, including)-.1 F(the)108 530.4 Q F1(compgen)2.956 E F0 -.2 -(bu)2.956 G .456(iltin described belo).2 F 1.756 -.65(w, t)-.25 H 2.956 -(og).65 G .456(enerate the matches.)-2.956 F .457 -(It must put the possible completions in the)5.456 F F3(COMPREPL)108 -542.4 Q(Y)-.828 E F0(array v)2.25 E(ariable.)-.25 E(Ne)108 559.2 Q .081 -(xt, an)-.15 F 2.581(yc)-.15 G .081(ommand speci\214ed with the)-2.581 F -F1<ad43>2.581 E F0 .081(option is in)2.581 F -.2(vo)-.4 G -.1(ke).2 G -2.581(di).1 G 2.58(na)-2.581 G 2.58(ne)-2.58 G -.4(nv)-2.58 G .08 -(ironment equi).4 F -.25(va)-.25 G .08(lent to command sub-).25 F 2.858 -(stitution. It)108 571.2 R .359(should print a list of completions, one\ - per line, to the standard output.)2.858 F .359(Backslash may be used) -5.359 F(to escape a ne)108 583.2 Q(wline, if necessary)-.25 E(.)-.65 E -.377(After all of the possible completions are generated, an)108 600 R -2.877<798c>-.15 G .377(lter speci\214ed with the)-2.877 F F1<ad58>2.876 -E F0 .376(option is applied to the)2.876 F 3.181(list. The)108 612 R -.681(\214lter is a pattern as used for pathname e)3.181 F .681 -(xpansion; a)-.15 F F1(&)3.181 E F0 .682 -(in the pattern is replaced with the te)3.182 F .682(xt of)-.15 F .523 -(the w)108 624 R .523(ord being completed.)-.1 F 3.023(Al)5.523 G -(iteral)-3.023 E F1(&)3.023 E F0 .522 +2.937(yo)-.15 G 2.937(ft)-2.937 G .437(he shell f)-2.937 F .438 +(acilities, including)-.1 F(the)108 237.6 Q F1(compgen)2.957 E F0 -.2 +(bu)2.957 G .457(iltin described belo).2 F 1.756 -.65(w, t)-.25 H 2.956 +(og).65 G .456(enerate the matches.)-2.956 F .456 +(It must put the possible completions in the)5.456 F F2(COMPREPL)108 +249.6 Q(Y)-.828 E F0(array v)2.25 E(ariable.)-.25 E(Ne)108 266.4 Q .08 +(xt, an)-.15 F 2.58(yc)-.15 G .08(ommand speci\214ed with the)-2.58 F F1 +<ad43>2.58 E F0 .081(option is in)2.581 F -.2(vo)-.4 G -.1(ke).2 G 2.581 +(di).1 G 2.581(na)-2.581 G 2.581(ne)-2.581 G -.4(nv)-2.581 G .081 +(ironment equi).4 F -.25(va)-.25 G .081(lent to command sub-).25 F 2.859 +(stitution. It)108 278.4 R .359(should print a list of completions, one\ + per line, to the standard output.)2.859 F .358(Backslash may be used) +5.359 F(to escape a ne)108 290.4 Q(wline, if necessary)-.25 E(.)-.65 E +.376(After all of the possible completions are generated, an)108 307.2 R +2.877<798c>-.15 G .377(lter speci\214ed with the)-2.877 F F1<ad58>2.877 +E F0 .377(option is applied to the)2.877 F 3.182(list. The)108 319.2 R +.682(\214lter is a pattern as used for pathname e)3.182 F .681 +(xpansion; a)-.15 F F1(&)3.181 E F0 .681 +(in the pattern is replaced with the te)3.181 F .681(xt of)-.15 F .522 +(the w)108 331.2 R .522(ord being completed.)-.1 F 3.022(Al)5.522 G +(iteral)-3.022 E F1(&)3.022 E F0 .523 (may be escaped with a backslash; the backslash is remo)3.022 F -.15(ve) --.15 G 3.022(db).15 G(efore)-3.022 E .849(attempting a match.)108 636 R -(An)5.849 E 3.349(yc)-.15 G .849 -(ompletion that matches the pattern will be remo)-3.349 F -.15(ve)-.15 G -3.35(df).15 G .85(rom the list.)-3.35 F 3.35(Al)5.85 G(eading)-3.35 E F1 -(!)3.35 E F0(ne)108 648 Q -.05(ga)-.15 G +-.15 G 3.023(db).15 G(efore)-3.023 E .85(attempting a match.)108 343.2 R +(An)5.85 E 3.35(yc)-.15 G .849 +(ompletion that matches the pattern will be remo)-3.35 F -.15(ve)-.15 G +3.349(df).15 G .849(rom the list.)-3.349 F 3.349(Al)5.849 G(eading) +-3.349 E F1(!)3.349 E F0(ne)108 355.2 Q -.05(ga)-.15 G (tes the pattern; in this case an).05 E 2.5(yc)-.15 G (ompletion not matching the pattern will be remo)-2.5 E -.15(ve)-.15 G -(d.).15 E(Finally)108 664.8 Q 3.087(,a)-.65 G .887 -.15(ny p)-3.087 H -.587(re\214x and suf).15 F .587(\214x speci\214ed with the)-.25 F F1 -<ad50>3.087 E F0(and)3.087 E F1<ad53>3.087 E F0 .587 +(d.).15 E(Finally)108 372 Q 3.086(,a)-.65 G .886 -.15(ny p)-3.086 H .586 +(re\214x and suf).15 F .587(\214x speci\214ed with the)-.25 F F1<ad50> +3.087 E F0(and)3.087 E F1<ad53>3.087 E F0 .587 (options are added to each member of the com-)3.087 F(pletion list, and\ the result is returned to the readline completion code as the list of \ -possible completions.)108 676.8 Q .246(If the pre)108 693.6 R .247 +possible completions.)108 384 Q .247(If the pre)108 400.8 R .247 (viously-applied actions do not generate an)-.25 F 2.747(ym)-.15 G .247 (atches, and the)-2.747 F F1 .247(\255o dir)2.747 F(names)-.15 E F0 .247 -(option w)2.747 F .247(as supplied to)-.1 F F1(complete)108 705.6 Q F0 +(option w)2.747 F .246(as supplied to)-.1 F F1(complete)108 412.8 Q F0 (when the compspec w)2.5 E -(as de\214ned, directory name completion is attempted.)-.1 E 2.03 -(If the)108 722.4 R F1 2.03(\255o plusdirs)4.53 F F0 2.03(option w)4.53 -F 2.029(as supplied to)-.1 F F1(complete)4.529 E F0 2.029 -(when the compspec w)4.529 F 2.029(as de\214ned, directory name)-.1 F -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(42)198.445 E 0 Cg EP -%%Page: 43 43 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(completion is attempted and an)108 84 Q 2.5(ym)-.15 G -(atches are added to the results of the other actions.)-2.5 E .559 -(By def)108 100.8 R .559(ault, if a compspec is found, whate)-.1 F -.15 -(ve)-.25 G 3.059(ri).15 G 3.059(tg)-3.059 G .56 -(enerates is returned to the completion code as the full set)-3.059 F -.632(of possible completions.)108 112.8 R .632(The def)5.632 F(ault)-.1 -E/F1 10/Times-Bold@0 SF(bash)3.132 E F0 .631 -(completions are not attempted, and the readline def)3.131 F .631 -(ault of \214le-)-.1 F .558(name completion is disabled.)108 124.8 R -.558(If the)5.558 F F1 .559(\255o bashdefault)3.059 F F0 .559(option w) -3.059 F .559(as supplied to)-.1 F F1(complete)3.059 E F0 .559 -(when the compspec)3.059 F -.1(wa)108 136.8 S 3.172(sd).1 G .672 -(e\214ned, the)-3.172 F F1(bash)3.172 E F0(def)3.172 E .671 +(as de\214ned, directory name completion is attempted.)-.1 E .461 +(If the)108 429.6 R F1 .462(\255o plusdirs)2.961 F F0 .462(option w) +2.962 F .462(as supplied to)-.1 F F1(complete)2.962 E F0 .462 +(when the compspec w)2.962 F .462(as de\214ned, directory name com-)-.1 +F(pletion is attempted and an)108 441.6 Q 2.5(ym)-.15 G +(atches are added to the results of the other actions.)-2.5 E .56 +(By def)108 458.4 R .56(ault, if a compspec is found, whate)-.1 F -.15 +(ve)-.25 G 3.06(ri).15 G 3.06(tg)-3.06 G .559 +(enerates is returned to the completion code as the full set)-3.06 F +.631(of possible completions.)108 470.4 R .631(The def)5.631 F(ault)-.1 +E F1(bash)3.131 E F0 .631 +(completions are not attempted, and the readline def)3.131 F .632 +(ault of \214le-)-.1 F .559(name completion is disabled.)108 482.4 R +.559(If the)5.559 F F1 .559(\255o bashdefault)3.059 F F0 .559(option w) +3.059 F .559(as supplied to)-.1 F F1(complete)3.058 E F0 .558 +(when the compspec)3.058 F -.1(wa)108 494.4 S 3.171(sd).1 G .671 +(e\214ned, the)-3.171 F F1(bash)3.171 E F0(def)3.171 E .671 (ault completions are attempted if the compspec generates no matches.) --.1 F .671(If the)5.671 F F1<ad6f>3.171 E(default)108 148.8 Q F0 1.207 -(option w)3.706 F 1.207(as supplied to)-.1 F F1(complete)3.707 E F0 +-.1 F .672(If the)5.672 F F1<ad6f>3.172 E(default)108 506.4 Q F0 1.207 +(option w)3.707 F 1.207(as supplied to)-.1 F F1(complete)3.707 E F0 1.207(when the compspec w)3.707 F 1.207(as de\214ned, readline')-.1 F -3.707(sd)-.55 G(ef)-3.707 E 1.207(ault completion)-.1 F +3.707(sd)-.55 G(ef)-3.707 E 1.206(ault completion)-.1 F (will be performed if the compspec \(and, if attempted, the def)108 -160.8 Q(ault)-.1 E F1(bash)2.5 E F0(completions\) generate no matches.) +518.4 Q(ault)-.1 E F1(bash)2.5 E F0(completions\) generate no matches.) 2.5 E .245(When a compspec indicates that directory name completion is \ -desired, the programmable completion func-)108 177.6 R .632(tions force\ +desired, the programmable completion func-)108 535.2 R .633(tions force\ readline to append a slash to completed names which are symbolic links\ - to directories, subject)108 189.6 R 2.762(to the v)108 201.6 R 2.762 -(alue of the)-.25 F F1(mark\255dir)5.262 E(ectories)-.18 E F0 2.761 -(readline v)5.262 F 2.761(ariable, re)-.25 F -.05(ga)-.15 G 2.761 -(rdless of the setting of the).05 F F1(mark-sym-)5.261 E(link)108 213.6 -Q(ed\255dir)-.1 E(ectories)-.18 E F0(readline v)2.5 E(ariable.)-.25 E/F2 -10.95/Times-Bold@0 SF(HIST)72 230.4 Q(OR)-.197 E(Y)-.383 E F0 .371 -(When the)108 242.4 R F1 .371(\255o history)2.871 F F0 .371 -(option to the)2.871 F F1(set)2.872 E F0 -.2(bu)2.872 G .372 -(iltin is enabled, the shell pro).2 F .372(vides access to the)-.15 F/F3 -10/Times-Italic@0 SF .372(command history)2.872 F F0(,)A .032 -(the list of commands pre)108 254.4 R .031(viously typed.)-.25 F .031 + to directories, subject)108 547.2 R 2.761(to the v)108 559.2 R 2.761 +(alue of the)-.25 F F1(mark\255dir)5.261 E(ectories)-.18 E F0 2.761 +(readline v)5.261 F 2.761(ariable, re)-.25 F -.05(ga)-.15 G 2.762 +(rdless of the setting of the).05 F F1(mark-sym-)5.262 E(link)108 571.2 +Q(ed\255dir)-.1 E(ectories)-.18 E F0(readline v)2.5 E(ariable.)-.25 E/F4 +10.95/Times-Bold@0 SF(HIST)72 588 Q(OR)-.197 E(Y)-.383 E F0 .372 +(When the)108 600 R F1 .372(\255o history)2.872 F F0 .372(option to the) +2.872 F F1(set)2.872 E F0 -.2(bu)2.872 G .372 +(iltin is enabled, the shell pro).2 F .371(vides access to the)-.15 F/F5 +10/Times-Italic@0 SF .371(command history)2.871 F F0(,)A .031 +(the list of commands pre)108 612 R .031(viously typed.)-.25 F .031 (The v)5.031 F .031(alue of the)-.25 F F1(HISTSIZE)2.531 E F0 -.25(va) -2.531 G .031(riable is used as the number of com-).25 F .429 -(mands to sa)108 266.4 R .729 -.15(ve i)-.2 H 2.929(nah).15 G .429 -(istory list.)-2.929 F .429(The te)5.429 F .429(xt of the last)-.15 F/F4 -9/Times-Bold@0 SF(HISTSIZE)2.93 E F0 .43(commands \(def)2.68 F .43 -(ault 500\) is sa)-.1 F -.15(ve)-.2 G 2.93(d. The).15 F(shell)2.93 E -.287(stores each command in the history list prior to parameter and v) -108 278.4 R .287(ariable e)-.25 F .287(xpansion \(see)-.15 F F4(EXP) -2.787 E(ANSION)-.666 E F0(abo)2.537 E -.15(ve)-.15 G(\)).15 E -.2(bu)108 -290.4 S 4.065(ta).2 G 1.565(fter history e)-4.065 F 1.565 +2.531 G .031(riable is used as the number of com-).25 F .43(mands to sa) +108 624 R .73 -.15(ve i)-.2 H 2.93(nah).15 G .43(istory list.)-2.93 F +.43(The te)5.43 F .429(xt of the last)-.15 F F2(HISTSIZE)2.929 E F0 .429 +(commands \(def)2.679 F .429(ault 500\) is sa)-.1 F -.15(ve)-.2 G 2.929 +(d. The).15 F(shell)2.929 E .287 +(stores each command in the history list prior to parameter and v)108 +636 R .287(ariable e)-.25 F .287(xpansion \(see)-.15 F F2(EXP)2.787 E +(ANSION)-.666 E F0(abo)2.537 E -.15(ve)-.15 G(\)).15 E -.2(bu)108 648 S +4.066(ta).2 G 1.565(fter history e)-4.066 F 1.565 (xpansion is performed, subject to the v)-.15 F 1.565 -(alues of the shell v)-.25 F(ariables)-.25 E F4(HISTIGNORE)4.065 E F0 -(and)3.816 E F4(HISTCONTR)108 302.4 Q(OL)-.27 E/F5 9/Times-Roman@0 SF(.) -A F0 .082 +(alues of the shell v)-.25 F(ariables)-.25 E F2(HISTIGNORE)4.065 E F0 +(and)3.815 E F2(HISTCONTR)108 660 Q(OL)-.27 E F3(.)A F0 .082 (On startup, the history is initialized from the \214le named by the v) -108 319.2 R(ariable)-.25 E F4(HISTFILE)2.582 E F0(\(def)2.332 E(ault)-.1 -E F3(~/.bash_history)2.582 E F0(\).)A .315(The \214le named by the v)108 -331.2 R .315(alue of)-.25 F F4(HISTFILE)2.815 E F0 .315 +108 676.8 R(ariable)-.25 E F2(HISTFILE)2.583 E F0(\(def)2.333 E(ault)-.1 +E F5(~/.bash_history)2.583 E F0(\).)A .315(The \214le named by the v)108 +688.8 R .315(alue of)-.25 F F2(HISTFILE)2.815 E F0 .315 (is truncated, if necessary)2.565 F 2.815(,t)-.65 G 2.815(oc)-2.815 G .315(ontain no more than the number of)-2.815 F .532 -(lines speci\214ed by the v)108 343.2 R .532(alue of)-.25 F F4 -(HISTFILESIZE)3.032 E F5(.)A F0 .532 +(lines speci\214ed by the v)108 700.8 R .532(alue of)-.25 F F2 +(HISTFILESIZE)3.032 E F3(.)A F0 .532 (When the history \214le is read, lines be)5.032 F .532 -(ginning with the his-)-.15 F 1.158(tory comment character follo)108 -355.2 R 1.159(wed immediately by a digit are interpreted as timestamps \ -for the preceding)-.25 F .053(history line.)108 367.2 R .053 -(These timestamps are optionally displayed depending on the v)5.053 F -.052(alue of the)-.25 F F4(HISTTIMEFORMA)2.552 E(T)-.855 E F0 -.25(va) -108 379.2 S 4.386(riable. When).25 F 1.886(an interacti)4.386 F 2.187 --.15(ve s)-.25 H 1.887(hell e).15 F 1.887(xits, the last)-.15 F F4 -($HISTSIZE)4.387 E F0 1.887(lines are copied from the history list to) -4.137 F F4($HISTFILE)108 391.2 Q F5(.)A F0 .056(If the)4.556 F F1 +(ginning with the his-)-.15 F 1.159(tory comment character follo)108 +712.8 R 1.158(wed immediately by a digit are interpreted as timestamps \ +for the preceding)-.25 F .052(history line.)108 724.8 R .053 +(These timestamps are optionally displayed depending on the v)5.052 F +.053(alue of the)-.25 F F2(HISTTIMEFORMA)2.553 E(T)-.855 E F0 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(43)197.335 E 0 Cg EP +%%Page: 44 44 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E -.25(va)108 84 S 4.387(riable. When).25 F 1.887(an interacti) +4.387 F 2.187 -.15(ve s)-.25 H 1.887(hell e).15 F 1.887(xits, the last) +-.15 F/F1 9/Times-Bold@0 SF($HISTSIZE)4.387 E F0 1.887 +(lines are copied from the history list to)4.137 F F1($HISTFILE)108 96 Q +/F2 9/Times-Roman@0 SF(.)A F0 .056(If the)4.556 F/F3 10/Times-Bold@0 SF (histappend)2.556 E F0 .056 -(shell option is enabled \(see the description of)2.556 F F1(shopt)2.556 -E F0(under)2.556 E F4 .056(SHELL B)2.556 F(UIL)-.09 E(TIN)-.828 E -(COMMANDS)108 403.2 Q F0(belo)2.671 E .422(w\), the lines are appended \ -to the history \214le, otherwise the history \214le is o)-.25 F -.15(ve) --.15 G 2.922(rwritten. If).15 F F4(HISTFILE)108 415.2 Q F0 1.114(is uns\ -et, or if the history \214le is unwritable, the history is not sa)3.364 -F -.15(ve)-.2 G 3.614(d. If).15 F(the)3.614 E F5 -.225(va)3.613 G 1.113 -(riable is set, time).225 F 1.251 -(stamps are written to the history \214le, mark)108 427.2 R(ed)-.09 E F0 -1.252(with the history comment character)3.502 F 3.752(,s)-.4 G 3.752 -(ot)-3.752 G(he)-3.752 E 3.752(ym)-.15 G 1.252(ay be preserv)-3.752 F -(ed)-.15 E .105(across shell sessions.)108 439.2 R .105(This uses the h\ -istory comment character to distinguish timestamps from other history) -5.105 F 2.604(lines. After)108 451.2 R(sa)2.604 E .104(ving the history) --.2 F 2.604(,t)-.65 G .104 -(he history \214le is truncated to contain no more than)-2.604 F F4 -(HISTFILESIZE)2.605 E F0 2.605(lines. If)2.355 F F4(HISTFILESIZE)108 -463.2 Q F0(is not set, no truncation is performed.)2.25 E 1.294(The b) -108 480 R 1.294(uiltin command)-.2 F F1(fc)3.794 E F0(\(see)3.794 E F4 -1.293(SHELL B)3.794 F(UIL)-.09 E 1.293(TIN COMMANDS)-.828 F F0(belo) -3.543 E 1.293(w\) may be used to list or edit and re-)-.25 F -.15(exe) -108 492 S .673(cute a portion of the history list.).15 F(The)5.673 E F1 -(history)3.173 E F0 -.2(bu)3.173 G .673 -(iltin may be used to display or modify the history list).2 F .28 -(and manipulate the history \214le.)108 504 R .279 +(shell option is enabled \(see the description of)2.556 F F3(shopt)2.556 +E F0(under)2.556 E F1 .056(SHELL B)2.556 F(UIL)-.09 E(TIN)-.828 E +(COMMANDS)108 108 Q F0(belo)2.672 E .422(w\), the lines are appended to\ + the history \214le, otherwise the history \214le is o)-.25 F -.15(ve) +-.15 G 2.921(rwritten. If).15 F F1(HISTFILE)108 120 Q F0 1.114(is unset\ +, or if the history \214le is unwritable, the history is not sa)3.363 F +-.15(ve)-.2 G 3.614(d. If).15 F(the)3.614 E F2 -.225(va)3.614 G 1.114 +(riable is set, time).225 F 1.252 +(stamps are written to the history \214le, mark)108 132 R(ed)-.09 E F0 +1.252(with the history comment character)3.502 F 3.751(,s)-.4 G 3.751 +(ot)-3.751 G(he)-3.751 E 3.751(ym)-.15 G 1.251(ay be preserv)-3.751 F +(ed)-.15 E .105(across shell sessions.)108 144 R .105(This uses the his\ +tory comment character to distinguish timestamps from other history) +5.105 F 2.605(lines. After)108 156 R(sa)2.605 E .105(ving the history) +-.2 F 2.605(,t)-.65 G .104 +(he history \214le is truncated to contain no more than)-2.605 F F1 +(HISTFILESIZE)2.604 E F0 2.604(lines. If)2.354 F F1(HISTFILESIZE)108 168 +Q F0(is not set, no truncation is performed.)2.25 E 1.293(The b)108 +184.8 R 1.293(uiltin command)-.2 F F3(fc)3.793 E F0(\(see)3.793 E F1 +1.293(SHELL B)3.793 F(UIL)-.09 E 1.293(TIN COMMANDS)-.828 F F0(belo) +3.543 E 1.294(w\) may be used to list or edit and re-)-.25 F -.15(exe) +108 196.8 S .674(cute a portion of the history list.).15 F(The)5.673 E +F3(history)3.173 E F0 -.2(bu)3.173 G .673 +(iltin may be used to display or modify the history list).2 F .279 +(and manipulate the history \214le.)108 208.8 R .279 (When using command-line editing, search commands are a)5.279 F -.25(va) --.2 G .279(ilable in each).25 F(editing mode that pro)108 516 Q -(vide access to the history list.)-.15 E 1.485(The shell allo)108 532.8 -R 1.485(ws control o)-.25 F -.15(ve)-.15 G 3.986(rw).15 G 1.486 +-.2 G .28(ilable in each).25 F(editing mode that pro)108 220.8 Q +(vide access to the history list.)-.15 E 1.486(The shell allo)108 237.6 +R 1.486(ws control o)-.25 F -.15(ve)-.15 G 3.986(rw).15 G 1.486 (hich commands are sa)-3.986 F -.15(ve)-.2 G 3.986(do).15 G 3.986(nt) --3.986 G 1.486(he history list.)-3.986 F(The)6.486 E F4(HISTCONTR)3.986 -E(OL)-.27 E F0(and)3.736 E F4(HISTIGNORE)108 544.8 Q F0 -.25(va)2.708 G -.458(riables may be set to cause the shell to sa).25 F .757 -.15(ve o) --.2 H .457(nly a subset of the commands entered.).15 F(The)5.457 E F1 -(cmdhist)108 556.8 Q F0 .75 +-3.986 G 1.486(he history list.)-3.986 F(The)6.485 E F1(HISTCONTR)3.985 +E(OL)-.27 E F0(and)3.735 E F1(HISTIGNORE)108 249.6 Q F0 -.25(va)2.707 G +.457(riables may be set to cause the shell to sa).25 F .758 -.15(ve o) +-.2 H .458(nly a subset of the commands entered.).15 F(The)5.458 E F3 +(cmdhist)108 261.6 Q F0 .75 (shell option, if enabled, causes the shell to attempt to sa)3.25 F 1.05 -.15(ve e)-.2 H .75(ach line of a multi-line command in).15 F 1.077 -(the same history entry)108 568.8 R 3.577(,a)-.65 G 1.077 +(the same history entry)108 273.6 R 3.577(,a)-.65 G 1.077 (dding semicolons where necessary to preserv)-3.577 F 3.577(es)-.15 G -1.077(yntactic correctness.)-3.577 F(The)6.077 E F1(lithist)3.576 E F0 -.373(shell option causes the shell to sa)108 580.8 R .674 -.15(ve t)-.2 -H .374(he command with embedded ne).15 F .374 -(wlines instead of semicolons.)-.25 F .374(See the)5.374 F .319 -(description of the)108 592.8 R F1(shopt)2.819 E F0 -.2(bu)2.819 G .318 -(iltin belo).2 F 2.818(wu)-.25 G(nder)-2.818 E F4 .318(SHELL B)2.818 F -(UIL)-.09 E .318(TIN COMMANDS)-.828 F F0 .318 +1.077(yntactic correctness.)-3.577 F(The)6.077 E F3(lithist)3.577 E F0 +.374(shell option causes the shell to sa)108 285.6 R .674 -.15(ve t)-.2 +H .374(he command with embedded ne).15 F .373 +(wlines instead of semicolons.)-.25 F .373(See the)5.373 F .318 +(description of the)108 297.6 R F3(shopt)2.818 E F0 -.2(bu)2.818 G .318 +(iltin belo).2 F 2.818(wu)-.25 G(nder)-2.818 E F1 .318(SHELL B)2.818 F +(UIL)-.09 E .318(TIN COMMANDS)-.828 F F0 .319 (for information on setting and)2.568 F(unsetting shell options.)108 -604.8 Q F2(HIST)72 621.6 Q(OR)-.197 E 2.738(YE)-.383 G(XP)-2.738 E -(ANSION)-.81 E F0 .61(The shell supports a history e)108 633.6 R .611 -(xpansion feature that is similar to the history e)-.15 F .611 -(xpansion in)-.15 F F1(csh.)3.111 E F0 .611(This section)5.611 F .871 -(describes what syntax features are a)108 645.6 R -.25(va)-.2 G 3.371 -(ilable. This).25 F .871(feature is enabled by def)3.371 F .87 -(ault for interacti)-.1 F 1.17 -.15(ve s)-.25 H .87(hells, and).15 F -2.013(can be disabled using the)108 657.6 R F1(+H)4.514 E F0 2.014 -(option to the)4.514 F F1(set)4.514 E F0 -.2(bu)4.514 G 2.014 -(iltin command \(see).2 F F4 2.014(SHELL B)4.514 F(UIL)-.09 E 2.014 -(TIN COMMANDS)-.828 F F0(belo)108 669.6 Q 2.5(w\). Non-interacti)-.25 F +309.6 Q/F4 10.95/Times-Bold@0 SF(HIST)72 326.4 Q(OR)-.197 E 2.738(YE) +-.383 G(XP)-2.738 E(ANSION)-.81 E F0 .611 +(The shell supports a history e)108 338.4 R .611 +(xpansion feature that is similar to the history e)-.15 F .61 +(xpansion in)-.15 F F3(csh.)3.11 E F0 .61(This section)5.61 F .87 +(describes what syntax features are a)108 350.4 R -.25(va)-.2 G 3.371 +(ilable. This).25 F .871(feature is enabled by def)3.371 F .871 +(ault for interacti)-.1 F 1.171 -.15(ve s)-.25 H .871(hells, and).15 F +2.014(can be disabled using the)108 362.4 R F3(+H)4.514 E F0 2.014 +(option to the)4.514 F F3(set)4.514 E F0 -.2(bu)4.514 G 2.014 +(iltin command \(see).2 F F1 2.013(SHELL B)4.513 F(UIL)-.09 E 2.013 +(TIN COMMANDS)-.828 F F0(belo)108 374.4 Q 2.5(w\). Non-interacti)-.25 F .3 -.15(ve s)-.25 H(hells do not perform history e).15 E -(xpansion by def)-.15 E(ault.)-.1 E 1.306(History e)108 686.4 R 1.306 +(xpansion by def)-.15 E(ault.)-.1 E 1.305(History e)108 391.2 R 1.305 (xpansions introduce w)-.15 F 1.306(ords from the history list into the\ - input stream, making it easy to repeat)-.1 F .209 -(commands, insert the ar)108 698.4 R .209(guments to a pre)-.18 F .21 + input stream, making it easy to repeat)-.1 F .21 +(commands, insert the ar)108 403.2 R .21(guments to a pre)-.18 F .209 (vious command into the current input line, or \214x errors in pre)-.25 -F(vious)-.25 E(commands quickly)108 710.4 Q(.)-.65 E 1.164(History e)108 -727.2 R 1.163(xpansion is performed immediately after a complete line i\ -s read, before the shell breaks it into)-.15 F(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(43)198.445 E 0 Cg EP -%%Page: 44 44 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E -.1(wo)108 84 S 3.2(rds. It).1 F(tak)3.2 E .7(es place in tw)-.1 -F 3.2(op)-.1 G 3.2(arts. The)-3.2 F .7 +F(vious)-.25 E(commands quickly)108 415.2 Q(.)-.65 E 1.163(History e)108 +432 R 1.163(xpansion is performed immediately after a complete line is \ +read, before the shell breaks it into)-.15 F -.1(wo)108 444 S 3.2 +(rds. It).1 F(tak)3.2 E .7(es place in tw)-.1 F 3.2(op)-.1 G 3.2 +(arts. The)-3.2 F .7 (\214rst is to determine which line from the history list to use during) -3.2 F 4.368(substitution. The)108 96 R 1.868(second is to select portio\ -ns of that line for inclusion into the current one.)4.368 F 1.867 -(The line)6.867 F .662(selected from the history is the)108 108 R/F1 10 -/Times-Italic@0 SF -.15(ev)3.162 G(ent).15 E F0 3.162(,a)C .663 -(nd the portions of that line that are acted upon are)-3.162 F F1(wor) -3.163 E(ds)-.37 E F0 5.663(.V)C(arious)-6.773 E F1(modi\214er)108 120 Q -(s)-.1 E F0 .227(are a)2.727 F -.25(va)-.2 G .227 -(ilable to manipulate the selected w).25 F 2.727(ords. The)-.1 F .226 -(line is brok)2.726 F .226(en into w)-.1 F .226(ords in the same f)-.1 F -(ashion)-.1 E .351(as when reading input, so that se)108 132 R -.15(ve) --.25 G(ral).15 E F1(metac)2.852 E(har)-.15 E(acter)-.15 E F0 .352 -(-separated w)B .352(ords surrounded by quotes are considered)-.1 F .625 -(one w)108 144 R 3.125(ord. History)-.1 F -.15(ex)3.125 G .624 -(pansions are introduced by the appearance of the history e).15 F .624 -(xpansion character)-.15 F 3.124(,w)-.4 G(hich)-3.124 E(is)108 156 Q/F2 -10/Times-Bold@0 SF(!)3.333 E F0(by def)3.333 E 2.5(ault. Only)-.1 F -(backslash \()2.5 E F2(\\).833 E F0 2.5(\)a).833 G -(nd single quotes can quote the history e)-2.5 E(xpansion character)-.15 -E(.)-.55 E(Se)108 172.8 Q -.15(ve)-.25 G .03 -(ral characters inhibit history e).15 F .03 +3.2 F 4.367(substitution. The)108 456 R 1.868(second is to select porti\ +ons of that line for inclusion into the current one.)4.367 F 1.868 +(The line)6.868 F .663(selected from the history is the)108 468 R/F5 10 +/Times-Italic@0 SF -.15(ev)3.163 G(ent).15 E F0 3.163(,a)C .663 +(nd the portions of that line that are acted upon are)-3.163 F F5(wor) +3.162 E(ds)-.37 E F0 5.662(.V)C(arious)-6.772 E F5(modi\214er)108 480 Q +(s)-.1 E F0 .226(are a)2.726 F -.25(va)-.2 G .226 +(ilable to manipulate the selected w).25 F 2.726(ords. The)-.1 F .227 +(line is brok)2.726 F .227(en into w)-.1 F .227(ords in the same f)-.1 F +(ashion)-.1 E .352(as when reading input, so that se)108 492 R -.15(ve) +-.25 G(ral).15 E F5(metac)2.852 E(har)-.15 E(acter)-.15 E F0 .351 +(-separated w)B .351(ords surrounded by quotes are considered)-.1 F .624 +(one w)108 504 R 3.124(ord. History)-.1 F -.15(ex)3.124 G .624 +(pansions are introduced by the appearance of the history e).15 F .625 +(xpansion character)-.15 F 3.125(,w)-.4 G(hich)-3.125 E(is)108 516 Q F3 +(!)3.333 E F0(by def)3.333 E 2.5(ault. Only)-.1 F(backslash \()2.5 E F3 +(\\).833 E F0 2.5(\)a).833 G(nd single quotes can quote the history e) +-2.5 E(xpansion character)-.15 E(.)-.55 E(Se)108 532.8 Q -.15(ve)-.25 G +.03(ral characters inhibit history e).15 F .03 (xpansion if found immediately follo)-.15 F .03(wing the history e)-.25 -F .03(xpansion character)-.15 F(,)-.4 E -2.15 -.25(ev e)108 184.8 T -3.163(ni).25 G 3.163(fi)-3.163 G 3.162(ti)-3.163 G 3.162(su)-3.162 G +F .03(xpansion character)-.15 F(,)-.4 E -2.15 -.25(ev e)108 544.8 T +3.162(ni).25 G 3.162(fi)-3.162 G 3.162(ti)-3.162 G 3.162(su)-3.162 G .662(nquoted: space, tab, ne)-3.162 F .662(wline, carriage return, and) --.25 F F2(=)3.162 E F0 5.662(.I)C 3.162(ft)-5.662 G(he)-3.162 E F2 -(extglob)3.162 E F0 .662(shell option is enabled,)3.162 F F2(\()3.162 E -F0(will also inhibit e)108 196.8 Q(xpansion.)-.15 E(Se)108 213.6 Q -.15 -(ve)-.25 G .109(ral shell options settable with the).15 F F2(shopt)2.609 -E F0 -.2(bu)2.609 G .11(iltin may be used to tailor the beha).2 F .11 -(vior of history e)-.2 F(xpansion.)-.15 E 1.259(If the)108 225.6 R F2 -(histv)3.759 E(erify)-.1 E F0 1.259 -(shell option is enabled \(see the description of the)3.759 F F2(shopt) -3.759 E F0 -.2(bu)3.759 G 1.259(iltin\), and).2 F F2 -.18(re)3.758 G -(adline).18 E F0 1.258(is being)3.758 F 1.497(used, history substitutio\ -ns are not immediately passed to the shell parser)108 237.6 R 6.498(.I) --.55 G 1.498(nstead, the e)-6.498 F 1.498(xpanded line is)-.15 F 2.228 -(reloaded into the)108 249.6 R F2 -.18(re)4.728 G(adline).18 E F0 2.228 +-.25 F F3(=)3.162 E F0 5.662(.I)C 3.162(ft)-5.662 G(he)-3.162 E F3 +(extglob)3.162 E F0 .662(shell option is enabled,)3.162 F F3(\()3.163 E +F0(will also inhibit e)108 556.8 Q(xpansion.)-.15 E(Se)108 573.6 Q -.15 +(ve)-.25 G .11(ral shell options settable with the).15 F F3(shopt)2.61 E +F0 -.2(bu)2.61 G .109(iltin may be used to tailor the beha).2 F .109 +(vior of history e)-.2 F(xpansion.)-.15 E 1.258(If the)108 585.6 R F3 +(histv)3.758 E(erify)-.1 E F0 1.259 +(shell option is enabled \(see the description of the)3.758 F F3(shopt) +3.759 E F0 -.2(bu)3.759 G 1.259(iltin\), and).2 F F3 -.18(re)3.759 G +(adline).18 E F0 1.259(is being)3.759 F 1.498(used, history substitutio\ +ns are not immediately passed to the shell parser)108 597.6 R 6.497(.I) +-.55 G 1.497(nstead, the e)-6.497 F 1.497(xpanded line is)-.15 F 2.228 +(reloaded into the)108 609.6 R F3 -.18(re)4.728 G(adline).18 E F0 2.228 (editing b)4.728 F(uf)-.2 E 2.228(fer for further modi\214cation.)-.25 F -(If)7.228 E F2 -.18(re)4.728 G(adline).18 E F0 2.228 -(is being used, and the)4.728 F F2(histr)108 261.6 Q(eedit)-.18 E F0 +(If)7.228 E F3 -.18(re)4.728 G(adline).18 E F0 2.228 +(is being used, and the)4.728 F F3(histr)108 621.6 Q(eedit)-.18 E F0 1.202(shell option is enabled, a f)3.702 F 1.202 -(ailed history substitution will be reloaded into the)-.1 F F2 -.18(re) -3.702 G(adline).18 E F0(editing)3.702 E -.2(bu)108 273.6 S -.25(ff).2 G -1.161(er for correction.).25 F(The)6.161 E F2<ad70>3.661 E F0 1.161 -(option to the)3.661 F F2(history)3.661 E F0 -.2(bu)3.661 G 1.16 -(iltin command may be used to see what a history).2 F -.15(ex)108 285.6 -S .055(pansion will do before using it.).15 F(The)5.055 E F2<ad73>2.555 -E F0 .055(option to the)2.555 F F2(history)2.556 E F0 -.2(bu)2.556 G -.056(iltin may be used to add commands to the).2 F -(end of the history list without actually e)108 297.6 Q -.15(xe)-.15 G +(ailed history substitution will be reloaded into the)-.1 F F3 -.18(re) +3.702 G(adline).18 E F0(editing)3.702 E -.2(bu)108 633.6 S -.25(ff).2 G +1.16(er for correction.).25 F(The)6.16 E F3<ad70>3.66 E F0 1.16 +(option to the)3.66 F F3(history)3.66 E F0 -.2(bu)3.661 G 1.161 +(iltin command may be used to see what a history).2 F -.15(ex)108 645.6 +S .056(pansion will do before using it.).15 F(The)5.056 E F3<ad73>2.556 +E F0 .056(option to the)2.556 F F3(history)2.555 E F0 -.2(bu)2.555 G +.055(iltin may be used to add commands to the).2 F +(end of the history list without actually e)108 657.6 Q -.15(xe)-.15 G (cuting them, so that the).15 E 2.5(ya)-.15 G(re a)-2.5 E -.25(va)-.2 G -(ilable for subsequent recall.).25 E 2.2(The shell allo)108 314.4 R 2.2 +(ilable for subsequent recall.).25 E 2.2(The shell allo)108 674.4 R 2.2 (ws control of the v)-.25 F 2.2(arious characters used by the history e) --.25 F 2.2(xpansion mechanism \(see the)-.15 F 1.146(description of)108 -326.4 R F2(histchars)3.646 E F0(abo)3.646 E 1.446 -.15(ve u)-.15 H(nder) -.15 E F2 1.146(Shell V)3.646 F(ariables)-.92 E F0 3.646(\). The)B 1.147 +-.25 F 2.2(xpansion mechanism \(see the)-.15 F 1.147(description of)108 +686.4 R F3(histchars)3.647 E F0(abo)3.647 E 1.447 -.15(ve u)-.15 H(nder) +.15 E F3 1.147(Shell V)3.647 F(ariables)-.92 E F0 3.646(\). The)B 1.146 (shell uses the history comment character to)3.646 F -(mark history timestamps when writing the history \214le.)108 338.4 Q F2 -(Ev)87 355.2 Q(ent Designators)-.1 E F0(An e)108 367.2 Q -.15(ve)-.25 G -(nt designator is a reference to a command line entry in the history li\ -st.).15 E F2(!)108 384 Q F0 1.608(Start a history substitution, e)32.67 -F 1.608(xcept when follo)-.15 F 1.607(wed by a)-.25 F F2(blank)4.107 E -F0 4.107(,n)C -.25(ew)-4.107 G 1.607(line, carriage return, = or \().25 -F(\(when the)144 396 Q F2(extglob)2.5 E F0 -(shell option is enabled using the)2.5 E F2(shopt)2.5 E F0 -.2(bu)2.5 G -(iltin\).).2 E F2(!)108 408 Q F1(n)A F0(Refer to command line)27.67 E F1 -(n)2.5 E F0(.).24 E F2<21ad>108 420 Q F1(n)A F0 -(Refer to the current command line minus)21.97 E F1(n)2.5 E F0(.).24 E -F2(!!)108 432 Q F0(Refer to the pre)29.34 E(vious command.)-.25 E -(This is a synon)5 E(ym for `!\2551'.)-.15 E F2(!)108 444 Q F1(string)A -F0(Refer to the most recent command starting with)9.33 E F1(string)2.5 E -F0(.).22 E F2(!?)108 456 Q F1(string)A F2([?])A F0 1.022 -(Refer to the most recent command containing)144 468 R F1(string)3.522 E -F0 6.022(.T).22 G 1.022(he trailing)-6.022 F F2(?)3.522 E F0 1.022 -(may be omitted if)3.522 F F1(string)3.862 E F0(is)3.742 E(follo)144 480 -Q(wed immediately by a ne)-.25 E(wline.)-.25 E/F3 12/Times-Bold@0 SF(^) -108 497 Q F1(string1)-5 I F3(^)5 I F1(string2)-5 I F3(^)5 I F0 2.63 -(Quick substitution.)144 504 R 2.629(Repeat the last command, replacing) -7.629 F F1(string1)5.469 E F0(with)5.129 E F1(string2)5.129 E F0 7.629 -(.E).02 G(qui)-7.629 E -.25(va)-.25 G 2.629(lent to).25 F -.74(``)144 -516 S(!!:s/).74 E F1(string1)A F0(/)A F1(string2)A F0(/')A 2.5('\()-.74 -G(see)-2.5 E F2(Modi\214ers)2.5 E F0(belo)2.5 E(w\).)-.25 E F2(!#)108 -528 Q F0(The entire command line typed so f)27.67 E(ar)-.1 E(.)-.55 E F2 --.75(Wo)87 544.8 S(rd Designators).75 E F0 -.8(Wo)108 556.8 S 1.313 -(rd designators are used to select desired w).8 F 1.314(ords from the e) --.1 F -.15(ve)-.25 G 3.814(nt. A).15 F F2(:)3.814 E F0 1.314 -(separates the e)3.814 F -.15(ve)-.25 G 1.314(nt speci\214cation).15 F -.53(from the w)108 568.8 R .529(ord designator)-.1 F 5.529(.I)-.55 G -3.029(tm)-5.529 G .529(ay be omitted if the w)-3.029 F .529 -(ord designator be)-.1 F .529(gins with a)-.15 F F2(^)3.029 E F0(,)A F2 -($)3.029 E F0(,)A F2(*)3.029 E F0(,)A F2<ad>3.029 E F0 3.029(,o)C(r) --3.029 E F2(%)3.029 E F0 5.529(.W)C(ords)-6.329 E 1.3 -(are numbered from the be)108 580.8 R 1.3 -(ginning of the line, with the \214rst w)-.15 F 1.301 -(ord being denoted by 0 \(zero\).)-.1 F -.8(Wo)6.301 G 1.301(rds are).8 -F(inserted into the current line separated by single spaces.)108 592.8 Q -F2 2.5(0\()108 609.6 S(zer)-2.5 E(o\))-.18 E F0(The zeroth w)144 621.6 Q -2.5(ord. F)-.1 F(or the shell, this is the command w)-.15 E(ord.)-.1 E -F1(n)108.36 633.6 Q F0(The)30.64 E F1(n)2.5 E F0(th w)A(ord.)-.1 E F2(^) -108 645.6 Q F0(The \214rst ar)32.67 E 2.5(gument. That)-.18 F(is, w)2.5 -E(ord 1.)-.1 E F2($)108 657.6 Q F0(The last ar)31 E(gument.)-.18 E F2(%) -108 669.6 Q F0(The w)26 E(ord matched by the most recent `?)-.1 E F1 -(string)A F0(?' search.)A F1(x)108.77 681.6 Q F2<ad>A F1(y)A F0 2.5(Ar) -20.65 G(ange of w)-2.5 E(ords; `\255)-.1 E F1(y)A F0 2.5('a)C(bbre)-2.5 -E(viates `0\255)-.25 E F1(y)A F0('.)A F2(*)108 693.6 Q F0 .316 -(All of the w)31 F .316(ords b)-.1 F .316(ut the zeroth.)-.2 F .315 -(This is a synon)5.315 F .315(ym for `)-.15 F F1(1\255$)A F0 2.815 -('. It)B .315(is not an error to use)2.815 F F2(*)2.815 E F0 .315 -(if there is)2.815 F(just one w)144 705.6 Q(ord in the e)-.1 E -.15(ve) --.25 G(nt; the empty string is returned in that case.).15 E F2(x*)108 -717.6 Q F0(Abbre)26 E(viates)-.25 E F1(x\255$)2.5 E F0(.)A(GNU Bash-3.2) -72 768 Q(2008 April 5)148.455 E(44)198.445 E 0 Cg EP +(mark history timestamps when writing the history \214le.)108 698.4 Q +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(44)197.335 E 0 Cg EP %%Page: 45 45 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF<78ad>108 84 Q F0(Abbre)25.3 E(viates)-.25 E -/F2 10/Times-Italic@0 SF(x\255$)2.5 E F0(lik)2.5 E(e)-.1 E F1(x*)2.5 E -F0 2.5(,b)C(ut omits the last w)-2.7 E(ord.)-.1 E(If a w)108 100.8 Q -(ord designator is supplied without an e)-.1 E -.15(ve)-.25 G +-.35 E/F1 10/Times-Bold@0 SF(Ev)87 84 Q(ent Designators)-.1 E F0(An e) +108 96 Q -.15(ve)-.25 G(nt designator is a reference to a command line \ +entry in the history list.).15 E F1(!)108 112.8 Q F0 1.607 +(Start a history substitution, e)32.67 F 1.607(xcept when follo)-.15 F +1.607(wed by a)-.25 F F1(blank)4.107 E F0 4.107(,n)C -.25(ew)-4.107 G +1.608(line, carriage return, = or \().25 F(\(when the)144 124.8 Q F1 +(extglob)2.5 E F0(shell option is enabled using the)2.5 E F1(shopt)2.5 E +F0 -.2(bu)2.5 G(iltin\).).2 E F1(!)108 136.8 Q/F2 10/Times-Italic@0 SF +(n)A F0(Refer to command line)27.67 E F2(n)2.5 E F0(.).24 E F1<21ad>108 +148.8 Q F2(n)A F0(Refer to the current command line minus)21.97 E F2(n) +2.5 E F0(.).24 E F1(!!)108 160.8 Q F0(Refer to the pre)29.34 E +(vious command.)-.25 E(This is a synon)5 E(ym for `!\2551'.)-.15 E F1(!) +108 172.8 Q F2(string)A F0 +(Refer to the most recent command starting with)9.33 E F2(string)2.5 E +F0(.).22 E F1(!?)108 184.8 Q F2(string)A F1([?])A F0 1.022 +(Refer to the most recent command containing)144 196.8 R F2(string)3.522 +E F0 6.022(.T).22 G 1.022(he trailing)-6.022 F F1(?)3.522 E F0 1.022 +(may be omitted if)3.522 F F2(string)3.861 E F0(is)3.741 E(follo)144 +208.8 Q(wed immediately by a ne)-.25 E(wline.)-.25 E/F3 12/Times-Bold@0 +SF(^)108 225.8 Q F2(string1)-5 I F3(^)5 I F2(string2)-5 I F3(^)5 I F0 +2.629(Quick substitution.)144 232.8 R 2.629 +(Repeat the last command, replacing)7.629 F F2(string1)5.469 E F0(with) +5.129 E F2(string2)5.129 E F0 7.629(.E).02 G(qui)-7.629 E -.25(va)-.25 G +2.63(lent to).25 F -.74(``)144 244.8 S(!!:s/).74 E F2(string1)A F0(/)A +F2(string2)A F0(/')A 2.5('\()-.74 G(see)-2.5 E F1(Modi\214ers)2.5 E F0 +(belo)2.5 E(w\).)-.25 E F1(!#)108 256.8 Q F0 +(The entire command line typed so f)27.67 E(ar)-.1 E(.)-.55 E F1 -.75 +(Wo)87 273.6 S(rd Designators).75 E F0 -.8(Wo)108 285.6 S 1.314 +(rd designators are used to select desired w).8 F 1.314(ords from the e) +-.1 F -.15(ve)-.25 G 3.814(nt. A).15 F F1(:)3.814 E F0 1.313 +(separates the e)3.813 F -.15(ve)-.25 G 1.313(nt speci\214cation).15 F +.529(from the w)108 297.6 R .529(ord designator)-.1 F 5.529(.I)-.55 G +3.029(tm)-5.529 G .529(ay be omitted if the w)-3.029 F .529 +(ord designator be)-.1 F .529(gins with a)-.15 F F1(^)3.029 E F0(,)A F1 +($)3.029 E F0(,)A F1(*)3.029 E F0(,)A F1<ad>3.029 E F0 3.029(,o)C(r) +-3.029 E F1(%)3.029 E F0 5.53(.W)C(ords)-6.33 E 1.301 +(are numbered from the be)108 309.6 R 1.301 +(ginning of the line, with the \214rst w)-.15 F 1.3 +(ord being denoted by 0 \(zero\).)-.1 F -.8(Wo)6.3 G 1.3(rds are).8 F +(inserted into the current line separated by single spaces.)108 321.6 Q +F1 2.5(0\()108 338.4 S(zer)-2.5 E(o\))-.18 E F0(The zeroth w)144 350.4 Q +2.5(ord. F)-.1 F(or the shell, this is the command w)-.15 E(ord.)-.1 E +F2(n)108.36 362.4 Q F0(The)30.64 E F2(n)2.5 E F0(th w)A(ord.)-.1 E F1(^) +108 374.4 Q F0(The \214rst ar)32.67 E 2.5(gument. That)-.18 F(is, w)2.5 +E(ord 1.)-.1 E F1($)108 386.4 Q F0(The last ar)31 E(gument.)-.18 E F1(%) +108 398.4 Q F0(The w)26 E(ord matched by the most recent `?)-.1 E F2 +(string)A F0(?' search.)A F2(x)108.77 410.4 Q F1<ad>A F2(y)A F0 2.5(Ar) +20.65 G(ange of w)-2.5 E(ords; `\255)-.1 E F2(y)A F0 2.5('a)C(bbre)-2.5 +E(viates `0\255)-.25 E F2(y)A F0('.)A F1(*)108 422.4 Q F0 .315 +(All of the w)31 F .315(ords b)-.1 F .315(ut the zeroth.)-.2 F .315 +(This is a synon)5.315 F .315(ym for `)-.15 F F2(1\255$)A F0 2.815 +('. It)B .315(is not an error to use)2.815 F F1(*)2.816 E F0 .316 +(if there is)2.816 F(just one w)144 434.4 Q(ord in the e)-.1 E -.15(ve) +-.25 G(nt; the empty string is returned in that case.).15 E F1(x*)108 +446.4 Q F0(Abbre)26 E(viates)-.25 E F2(x\255$)2.5 E F0(.)A F1<78ad>108 +458.4 Q F0(Abbre)25.3 E(viates)-.25 E F2(x\255$)2.5 E F0(lik)2.5 E(e)-.1 +E F1(x*)2.5 E F0 2.5(,b)C(ut omits the last w)-2.7 E(ord.)-.1 E(If a w) +108 475.2 Q(ord designator is supplied without an e)-.1 E -.15(ve)-.25 G (nt speci\214cation, the pre).15 E(vious command is used as the e)-.25 E --.15(ve)-.25 G(nt.).15 E F1(Modi\214ers)87 117.6 Q F0 .183 -(After the optional w)108 129.6 R .183(ord designator)-.1 F 2.683(,t)-.4 -G .184(here may appear a sequence of one or more of the follo)-2.683 F -.184(wing modi\214ers,)-.25 F(each preceded by a `:'.)108 141.6 Q F1(h) -108 158.4 Q F0(Remo)30.44 E .3 -.15(ve a t)-.15 H +-.15(ve)-.25 G(nt.).15 E F1(Modi\214ers)87 492 Q F0 .184 +(After the optional w)108 504 R .184(ord designator)-.1 F 2.684(,t)-.4 G +.183(here may appear a sequence of one or more of the follo)-2.684 F +.183(wing modi\214ers,)-.25 F(each preceded by a `:'.)108 516 Q F1(h)108 +532.8 Q F0(Remo)30.44 E .3 -.15(ve a t)-.15 H (railing \214le name component, lea).15 E(ving only the head.)-.2 E F1 -(t)108 170.4 Q F0(Remo)32.67 E .3 -.15(ve a)-.15 H +(t)108 544.8 Q F0(Remo)32.67 E .3 -.15(ve a)-.15 H (ll leading \214le name components, lea).15 E(ving the tail.)-.2 E F1(r) -108 182.4 Q F0(Remo)31.56 E .3 -.15(ve a t)-.15 H(railing suf).15 E +108 556.8 Q F0(Remo)31.56 E .3 -.15(ve a t)-.15 H(railing suf).15 E (\214x of the form)-.25 E F2(.xxx)2.5 E F0 2.5(,l)C(ea)-2.5 E -(ving the basename.)-.2 E F1(e)108 194.4 Q F0(Remo)31.56 E .3 -.15(ve a) --.15 H(ll b).15 E(ut the trailing suf)-.2 E(\214x.)-.25 E F1(p)108 206.4 +(ving the basename.)-.2 E F1(e)108 568.8 Q F0(Remo)31.56 E .3 -.15(ve a) +-.15 H(ll b).15 E(ut the trailing suf)-.2 E(\214x.)-.25 E F1(p)108 580.8 Q F0(Print the ne)30.44 E 2.5(wc)-.25 G(ommand b)-2.5 E(ut do not e)-.2 -E -.15(xe)-.15 G(cute it.).15 E F1(q)108 218.4 Q F0 +E -.15(xe)-.15 G(cute it.).15 E F1(q)108 592.8 Q F0 (Quote the substituted w)30.44 E(ords, escaping further substitutions.) --.1 E F1(x)108 230.4 Q F0(Quote the substituted w)31 E(ords as with)-.1 +-.1 E F1(x)108 604.8 Q F0(Quote the substituted w)31 E(ords as with)-.1 E F1(q)2.5 E F0 2.5(,b)C(ut break into w)-2.7 E(ords at)-.1 E F1(blanks) -2.5 E F0(and ne)2.5 E(wlines.)-.25 E F1(s/)108 242.4 Q F2(old)A F1(/)A -F2(ne)A(w)-.15 E F1(/)A F0(Substitute)144 254.4 Q F2(ne)3.082 E(w)-.15 E -F0 .221(for the \214rst occurrence of)3.032 F F2(old)2.951 E F0 .221 +2.5 E F0(and ne)2.5 E(wlines.)-.25 E F1(s/)108 616.8 Q F2(old)A F1(/)A +F2(ne)A(w)-.15 E F1(/)A F0(Substitute)144 628.8 Q F2(ne)3.081 E(w)-.15 E +F0 .221(for the \214rst occurrence of)3.031 F F2(old)2.951 E F0 .221 (in the e)3.491 F -.15(ve)-.25 G .221(nt line.).15 F(An)5.221 E 2.721 -(yd)-.15 G .221(elimiter can be used in place)-2.721 F .616(of /.)144 -266.4 R .617 +(yd)-.15 G .221(elimiter can be used in place)-2.721 F .617(of /.)144 +640.8 R .617 (The \214nal delimiter is optional if it is the last character of the e) -5.616 F -.15(ve)-.25 G .617(nt line.).15 F .617(The delimiter may)5.617 -F .666(be quoted in)144 278.4 R F2(old)3.396 E F0(and)3.936 E F2(ne) +5.617 F -.15(ve)-.25 G .617(nt line.).15 F .616(The delimiter may)5.616 +F .666(be quoted in)144 652.8 R F2(old)3.396 E F0(and)3.936 E F2(ne) 3.526 E(w)-.15 E F0 .666(with a single backslash.)3.476 F .666 (If & appears in)5.666 F F2(ne)3.166 E(w)-.15 E F0 3.166(,i).31 G 3.166 (ti)-3.166 G 3.166(sr)-3.166 G .666(eplaced by)-3.166 F F2(old)3.166 E -F0 5.666(.A).77 G .274(single backslash will quote the &.)144 290.4 R -(If)5.274 E F2(old)3.004 E F0 .274(is null, it is set to the last)3.544 -F F2(old)3.005 E F0 .275(substituted, or)3.545 F 2.775(,i)-.4 G 2.775 -(fn)-2.775 G 2.775(op)-2.775 G(re)-2.775 E(vi-)-.25 E -(ous history substitutions took place, the last)144 302.4 Q F2(string) +F0 5.666(.A).77 G .275(single backslash will quote the &.)144 664.8 R +(If)5.275 E F2(old)3.004 E F0 .274(is null, it is set to the last)3.544 +F F2(old)3.004 E F0 .274(substituted, or)3.544 F 2.774(,i)-.4 G 2.774 +(fn)-2.774 G 2.774(op)-2.774 G(re)-2.774 E(vi-)-.25 E +(ous history substitutions took place, the last)144 676.8 Q F2(string) 2.84 E F0(in a)2.72 E F1(!?)2.5 E F2(string)A F1([?])A F0(search.)5 E F1 -(&)108 314.4 Q F0(Repeat the pre)27.67 E(vious substitution.)-.25 E F1 -(g)108 326.4 Q F0 .398(Cause changes to be applied o)31 F -.15(ve)-.15 G -2.898(rt).15 G .398(he entire e)-2.898 F -.15(ve)-.25 G .398(nt line.) -.15 F .397(This is used in conjunction with `)5.398 F F1(:s)A F0 2.897 -('\()C(e.g.,)-2.897 E(`)144 338.4 Q F1(:gs/)A F2(old)A F1(/)A F2(ne)A(w) --.15 E F1(/)A F0 1.218('\) or `)B F1(:&)A F0 3.718('. If)B 1.218 -(used with `)3.718 F F1(:s)A F0 1.218(', an)B 3.718(yd)-.15 G 1.219 -(elimiter can be used in place of /, and the \214nal)-3.718 F .09 -(delimiter is optional if it is the last character of the e)144 350.4 R --.15(ve)-.25 G .089(nt line.).15 F(An)5.089 E F1(a)2.589 E F0 .089 -(may be used as a synon)2.589 F .089(ym for)-.15 F F1(g)144 362.4 Q F0 -(.)A F1(G)108 374.4 Q F0(Apply the follo)28.22 E(wing `)-.25 E F1(s)A F0 -2.5('m)C(odi\214er once to each w)-2.5 E(ord in the e)-.1 E -.15(ve)-.25 -G(nt line.).15 E/F3 10.95/Times-Bold@0 SF(SHELL B)72 391.2 Q(UIL)-.11 E -(TIN COMMANDS)-1.007 E F0 .062(Unless otherwise noted, each b)108 403.2 +(&)108 688.8 Q F0(Repeat the pre)27.67 E(vious substitution.)-.25 E F1 +(g)108 700.8 Q F0 .397(Cause changes to be applied o)31 F -.15(ve)-.15 G +2.897(rt).15 G .398(he entire e)-2.897 F -.15(ve)-.25 G .398(nt line.) +.15 F .398(This is used in conjunction with `)5.398 F F1(:s)A F0 2.898 +('\()C(e.g.,)-2.898 E(`)144 712.8 Q F1(:gs/)A F2(old)A F1(/)A F2(ne)A(w) +-.15 E F1(/)A F0 1.219('\) or `)B F1(:&)A F0 3.719('. If)B 1.219 +(used with `)3.719 F F1(:s)A F0 1.218(', an)B 3.718(yd)-.15 G 1.218 +(elimiter can be used in place of /, and the \214nal)-3.718 F .089 +(delimiter is optional if it is the last character of the e)144 724.8 R +-.15(ve)-.25 G .09(nt line.).15 F(An)5.09 E F1(a)2.59 E F0 .09 +(may be used as a synon)2.59 F .09(ym for)-.15 F(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(45)197.335 E 0 Cg EP +%%Page: 46 46 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(g)144 84 Q F0(.)A F1(G)108 96 Q F0 +(Apply the follo)28.22 E(wing `)-.25 E F1(s)A F0 2.5('m)C +(odi\214er once to each w)-2.5 E(ord in the e)-.1 E -.15(ve)-.25 G +(nt line.).15 E/F2 10.95/Times-Bold@0 SF(SHELL B)72 112.8 Q(UIL)-.11 E +(TIN COMMANDS)-1.007 E F0 .063(Unless otherwise noted, each b)108 124.8 R .062(uiltin command documented in this section as accepting options p\ -receded by)-.2 F F1<ad>108 415.2 Q F0(accepts)3.8 E F1<adad>3.8 E F0 1.3 +receded by)-.2 F F1<ad>108 136.8 Q F0(accepts)3.8 E F1<adad>3.8 E F0 1.3 (to signify the end of the options.)3.8 F -.15(Fo)6.3 G 3.8(re).15 G 1.3 (xample, the)-3.95 F F1(:)3.8 E F0(,)A F1(true)3.8 E F0(,)A F1(false)3.8 E F0 3.8(,a)C(nd)-3.8 E F1(test)3.8 E F0 -.2(bu)3.8 G 1.3(iltins do not) -.2 F(accept options.)108 427.2 Q F1(:)108 445.2 Q F0([)2.5 E F2(ar)A -(guments)-.37 E F0(])A .451(No ef)144 457.2 R .451 -(fect; the command does nothing be)-.25 F .452(yond e)-.15 F(xpanding) --.15 E F2(ar)3.282 E(guments)-.37 E F0 .452(and performing an)3.222 F -2.952(ys)-.15 G(peci\214ed)-2.952 E 2.5(redirections. A)144 469.2 R -(zero e)2.5 E(xit code is returned.)-.15 E F1(.)110.5 486 Q F2 -(\214lename)6.666 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A F1(sour)108 -498 Q(ce)-.18 E F2(\214lename)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0 -(])A 1.02(Read and e)144 510 R -.15(xe)-.15 G 1.02(cute commands from) -.15 F F2(\214lename)5.43 E F0 1.02(in the current shell en)3.7 F 1.02 -(vironment and return the e)-.4 F(xit)-.15 E 1.68 -(status of the last command e)144 522 R -.15(xe)-.15 G 1.68(cuted from) -.15 F F2(\214lename)4.18 E F0 6.68(.I).18 G(f)-6.68 E F2(\214lename)6.09 -E F0 1.68(does not contain a slash, \214le)4.36 F .608(names in)144 534 -R/F4 9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E F0 .608 -(are used to \214nd the directory containing)2.858 F F2(\214lename)3.108 -E F0 5.608(.T).18 G .608(he \214le searched for in)-5.608 F F4 -.666(PA) -3.108 G(TH)-.189 E F0 .832(need not be e)144 546 R -.15(xe)-.15 G 3.332 -(cutable. When).15 F F1(bash)3.332 E F0 .832(is not in)3.332 F F2 .832 -(posix mode)3.332 F F0 3.332(,t)C .833 -(he current directory is searched if no)-3.332 F .982 -(\214le is found in)144 558 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9 +.2 F(accept options.)108 148.8 Q F1(:)108 166.8 Q F0([)2.5 E/F3 10 +/Times-Italic@0 SF(ar)A(guments)-.37 E F0(])A .452(No ef)144 178.8 R +.452(fect; the command does nothing be)-.25 F .452(yond e)-.15 F +(xpanding)-.15 E F3(ar)3.282 E(guments)-.37 E F0 .451(and performing an) +3.221 F 2.951(ys)-.15 G(peci\214ed)-2.951 E 2.5(redirections. A)144 +190.8 R(zero e)2.5 E(xit code is returned.)-.15 E F1(.)110.5 207.6 Q F3 +(\214lename)6.666 E F0([)2.5 E F3(ar)A(guments)-.37 E F0(])A F1(sour)108 +219.6 Q(ce)-.18 E F3(\214lename)2.5 E F0([)2.5 E F3(ar)A(guments)-.37 E +F0(])A 1.02(Read and e)144 231.6 R -.15(xe)-.15 G 1.02 +(cute commands from).15 F F3(\214lename)5.43 E F0 1.02 +(in the current shell en)3.7 F 1.02(vironment and return the e)-.4 F +(xit)-.15 E 1.68(status of the last command e)144 243.6 R -.15(xe)-.15 G +1.68(cuted from).15 F F3(\214lename)4.18 E F0 6.68(.I).18 G(f)-6.68 E F3 +(\214lename)6.09 E F0 1.68(does not contain a slash, \214le)4.36 F .608 +(names in)144 255.6 R/F4 9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E +F0 .608(are used to \214nd the directory containing)2.858 F F3 +(\214lename)3.108 E F0 5.608(.T).18 G .608(he \214le searched for in) +-5.608 F F4 -.666(PA)3.108 G(TH)-.189 E F0 .833(need not be e)144 267.6 +R -.15(xe)-.15 G 3.333(cutable. When).15 F F1(bash)3.333 E F0 .832 +(is not in)3.333 F F3 .832(posix mode)3.332 F F0 3.332(,t)C .832 +(he current directory is searched if no)-3.332 F .981 +(\214le is found in)144 279.6 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9 /Times-Roman@0 SF(.)A F0 .981(If the)5.481 F F1(sour)3.481 E(cepath)-.18 E F0 .981(option to the)3.481 F F1(shopt)3.481 E F0 -.2(bu)3.481 G .981 -(iltin command is turned of).2 F .981(f, the)-.25 F F4 -.666(PA)144 570 -S(TH)-.189 E F0 .112(is not searched.)2.362 F .112(If an)5.112 F(y)-.15 -E F2(ar)2.612 E(guments)-.37 E F0 .112(are supplied, the)2.612 F 2.612 -(yb)-.15 G .112(ecome the positional parameters when)-2.612 F F2 -(\214lename)144 582 Q F0 .342(is e)2.842 F -.15(xe)-.15 G 2.842 -(cuted. Otherwise).15 F .342(the positional parameters are unchanged.) -2.842 F .341(The return status is the)5.341 F .716 -(status of the last command e)144 594 R .716 +(iltin command is turned of).2 F .982(f, the)-.25 F F4 -.666(PA)144 +291.6 S(TH)-.189 E F0 .112(is not searched.)2.363 F .112(If an)5.112 F +(y)-.15 E F3(ar)2.612 E(guments)-.37 E F0 .112(are supplied, the)2.612 F +2.612(yb)-.15 G .112(ecome the positional parameters when)-2.612 F F3 +(\214lename)144 303.6 Q F0 .341(is e)2.841 F -.15(xe)-.15 G 2.841 +(cuted. Otherwise).15 F .341(the positional parameters are unchanged.) +2.841 F .342(The return status is the)5.342 F .716 +(status of the last command e)144 315.6 R .716 (xited within the script \(0 if no commands are e)-.15 F -.15(xe)-.15 G -.716(cuted\), and f).15 F .716(alse if)-.1 F F2(\214lename)145.91 606 Q -F0(is not found or cannot be read.)2.68 E F1(alias)108 622.8 Q F0([)2.5 -E F1<ad70>A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C -(..])-2.5 E F1(Alias)144 634.8 Q F0 2.725(with no ar)5.225 F 2.724 +.716(cuted\), and f).15 F .715(alse if)-.1 F F3(\214lename)145.91 327.6 +Q F0(is not found or cannot be read.)2.68 E F1(alias)108 344.4 Q F0([) +2.5 E F1<ad70>A F0 2.5(][)C F3(name)-2.5 E F0([=)A F3(value)A F0 2.5(].) +C(..])-2.5 E F1(Alias)144 356.4 Q F0 2.724(with no ar)5.224 F 2.724 (guments or with the)-.18 F F1<ad70>5.224 E F0 2.724 -(option prints the list of aliases in the form)5.224 F F1(alias)5.224 E -F2(name)144 646.8 Q F0(=)A F2(value)A F0 .58(on standard output.)3.08 F +(option prints the list of aliases in the form)5.224 F F1(alias)5.225 E +F3(name)144 368.4 Q F0(=)A F3(value)A F0 .58(on standard output.)3.08 F .58(When ar)5.58 F .58 -(guments are supplied, an alias is de\214ned for each)-.18 F F2(name) -3.08 E F0(whose)144 658.8 Q F2(value)2.895 E F0 .395(is gi)2.895 F -.15 -(ve)-.25 G 2.895(n. A).15 F .395(trailing space in)2.895 F F2(value) +(guments are supplied, an alias is de\214ned for each)-.18 F F3(name) +3.08 E F0(whose)144 380.4 Q F3(value)2.895 E F0 .395(is gi)2.895 F -.15 +(ve)-.25 G 2.895(n. A).15 F .395(trailing space in)2.895 F F3(value) 5.395 E F0 .395(causes the ne)2.895 F .395(xt w)-.15 F .395 (ord to be check)-.1 F .395(ed for alias sub-)-.1 F .054 -(stitution when the alias is e)144 670.8 R 2.554(xpanded. F)-.15 F .054 -(or each)-.15 F F2(name)2.554 E F0 .054(in the ar)2.554 F .054 -(gument list for which no)-.18 F F2(value)2.554 E F0 .054(is sup-)2.554 -F 1.314(plied, the name and v)144 682.8 R 1.314 +(stitution when the alias is e)144 392.4 R 2.554(xpanded. F)-.15 F .054 +(or each)-.15 F F3(name)2.554 E F0 .054(in the ar)2.554 F .054 +(gument list for which no)-.18 F F3(value)2.554 E F0 .053(is sup-)2.553 +F 1.313(plied, the name and v)144 404.4 R 1.314 (alue of the alias is printed.)-.25 F F1(Alias)6.314 E F0 1.314 -(returns true unless a)3.814 F F2(name)3.814 E F0 1.313(is gi)3.814 F --.15(ve)-.25 G 3.813(nf).15 G(or)-3.813 E -(which no alias has been de\214ned.)144 694.8 Q(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(45)198.445 E 0 Cg EP -%%Page: 46 46 +(returns true unless a)3.814 F F3(name)3.814 E F0 1.314(is gi)3.814 F +-.15(ve)-.25 G 3.814(nf).15 G(or)-3.814 E +(which no alias has been de\214ned.)144 416.4 Q F1(bg)108 433.2 Q F0([) +2.5 E F3(jobspec)A F0(...])2.5 E .745(Resume each suspended job)144 +445.2 R F3(jobspec)3.245 E F0 .745 +(in the background, as if it had been started with)3.245 F F1(&)3.244 E +F0 5.744(.I)C(f)-5.744 E F3(job-)4.984 E(spec)144 457.2 Q F0 .671 +(is not present, the shell')3.481 F 3.171(sn)-.55 G .672(otion of the) +-3.171 F F3(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F1 +(bg)5.672 E F3(jobspec)4.912 E F0 .672(returns 0 unless run)3.482 F .419 +(when job control is disabled or)144 469.2 R 2.919(,w)-.4 G .419 +(hen run with job control enabled, an)-2.919 F 2.918(ys)-.15 G +(peci\214ed)-2.918 E F3(jobspec)2.918 E F0 -.1(wa)2.918 G 2.918(sn).1 G +(ot)-2.918 E(found or w)144 481.2 Q(as started without job control.)-.1 +E F1(bind)108 498 Q F0([)2.5 E F1<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0 +2.5(][)C F1(\255lpsvPSV)-2.5 E F0(])A F1(bind)108 510 Q F0([)2.5 E F1 +<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F1<ad71>-2.5 E F3 +(function)2.5 E F0 2.5(][)C F1<ad75>-2.5 E F3(function)2.5 E F0 2.5(][)C +F1<ad72>-2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(])A F1(bind)108 522 Q F0([) +2.5 E F1<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0(])A F1<ad66>2.5 E F3 +(\214lename)2.5 E F1(bind)108 534 Q F0([)2.5 E F1<ad6d>A F3 -.1(ke)2.5 G +(ymap)-.2 E F0(])A F1<ad78>2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3 +(shell\255command)A F1(bind)108 546 Q F0([)2.5 E F1<ad6d>A F3 -.1(ke)2.5 +G(ymap)-.2 E F0(])A F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3 +(function\255name)A F1(bind)108 558 Q F3 -.37(re)2.5 G +(adline\255command).37 E F0 .238(Display current)144 570 R F1 -.18(re) +2.738 G(adline).18 E F0 -.1(ke)2.738 G 2.738(ya)-.05 G .239 +(nd function bindings, bind a k)-2.738 F .539 -.15(ey s)-.1 H .239 +(equence to a).15 F F1 -.18(re)2.739 G(adline).18 E F0 .239(function or) +2.739 F .476(macro, or set a)144 582 R F1 -.18(re)2.976 G(adline).18 E +F0 -.25(va)2.976 G 2.976(riable. Each).25 F .476(non-option ar)2.976 F +.475(gument is a command as it w)-.18 F .475(ould appear in)-.1 F F3 +(.inputr)144 594 Q(c)-.37 E F0 2.983(,b).31 G .484 +(ut each binding or command must be passed as a separate ar)-3.183 F +.484(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5 +(re\255read\255init\255\214le'. Options,)144 606 R(if supplied, ha)2.5 E +.3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad6d>144 618 +Q F3 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 630 Q F3 -.1(ke)5.159 G(ymap)-.2 +E F0 2.659(as the k)5.349 F -.15(ey)-.1 G 2.658(map to be af).15 F 2.658 +(fected by the subsequent bindings.)-.25 F(Acceptable)7.658 E F3 -.1(ke) +180 642 S(ymap)-.2 E F0 3.192(names are)5.882 F F3 3.192 +(emacs, emacs\255standar)5.692 F 3.193 +(d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E +(vi\255command)180 654 Q F0 4.43(,a)C(nd)-4.43 E F3(vi\255insert)4.429 E +F0(.).68 E F3(vi)6.929 E F0 1.929(is equi)4.429 F -.25(va)-.25 G 1.929 +(lent to).25 F F3(vi\255command)4.429 E F0(;)A F3(emacs)4.429 E F0 1.929 +(is equi)4.429 F -.25(va)-.25 G 1.929(lent to).25 F F3(emacs\255standar) +180 666 Q(d)-.37 E F0(.)A F1<ad6c>144 678 Q F0(List the names of all) +27.52 E F1 -.18(re)2.5 G(adline).18 E F0(functions.)2.5 E F1<ad70>144 +690 Q F0(Display)24.74 E F1 -.18(re)2.5 G(adline).18 E F0 +(function names and bindings in such a w)2.5 E(ay that the)-.1 E 2.5(yc) +-.15 G(an be re-read.)-2.5 E F1<ad50>144 702 Q F0(List current)24.19 E +F1 -.18(re)2.5 G(adline).18 E F0(function names and bindings.)2.5 E F1 +<ad73>144 714 Q F0(Display)26.41 E F1 -.18(re)3.655 G(adline).18 E F0 +-.1(ke)3.655 G 3.655(ys)-.05 G 1.155 +(equences bound to macros and the strings the)-3.655 F 3.655(yo)-.15 G +1.155(utput in such a)-3.655 F -.1(wa)180 726 S 2.5(yt).1 G(hat the)-2.5 +E 2.5(yc)-.15 G(an be re-read.)-2.5 E(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(46)197.335 E 0 Cg EP +%%Page: 47 47 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(bg)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 -SF(jobspec)A F0(...])2.5 E .744(Resume each suspended job)144 96 R F2 -(jobspec)3.244 E F0 .745 -(in the background, as if it had been started with)3.244 F F1(&)3.245 E -F0 5.745(.I)C(f)-5.745 E F2(job-)4.985 E(spec)144 108 Q F0 .672 -(is not present, the shell')3.482 F 3.172(sn)-.55 G .672(otion of the) --3.172 F F2(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F1 -(bg)5.671 E F2(jobspec)4.911 E F0 .671(returns 0 unless run)3.481 F .418 -(when job control is disabled or)144 120 R 2.919(,w)-.4 G .419 -(hen run with job control enabled, an)-2.919 F 2.919(ys)-.15 G -(peci\214ed)-2.919 E F2(jobspec)2.919 E F0 -.1(wa)2.919 G 2.919(sn).1 G -(ot)-2.919 E(found or w)144 132 Q(as started without job control.)-.1 E -F1(bind)108 148.8 Q F0([)2.5 E F1<ad6d>A F2 -.1(ke)2.5 G(ymap)-.2 E F0 -2.5(][)C F1(\255lpsvPSV)-2.5 E F0(])A F1(bind)108 160.8 Q F0([)2.5 E F1 -<ad6d>A F2 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F1<ad71>-2.5 E F2 -(function)2.5 E F0 2.5(][)C F1<ad75>-2.5 E F2(function)2.5 E F0 2.5(][)C -F1<ad72>-2.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(])A F1(bind)108 172.8 Q F0 -([)2.5 E F1<ad6d>A F2 -.1(ke)2.5 G(ymap)-.2 E F0(])A F1<ad66>2.5 E F2 -(\214lename)2.5 E F1(bind)108 184.8 Q F0([)2.5 E F1<ad6d>A F2 -.1(ke)2.5 -G(ymap)-.2 E F0(])A F1<ad78>2.5 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 -(shell\255command)A F1(bind)108 196.8 Q F0([)2.5 E F1<ad6d>A F2 -.1(ke) -2.5 G(ymap)-.2 E F0(])A F2 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F2 -(function\255name)A F1(bind)108 208.8 Q F2 -.37(re)2.5 G -(adline\255command).37 E F0 .239(Display current)144 220.8 R F1 -.18(re) -2.739 G(adline).18 E F0 -.1(ke)2.739 G 2.739(ya)-.05 G .239 -(nd function bindings, bind a k)-2.739 F .539 -.15(ey s)-.1 H .238 -(equence to a).15 F F1 -.18(re)2.738 G(adline).18 E F0 .238(function or) -2.738 F .475(macro, or set a)144 232.8 R F1 -.18(re)2.975 G(adline).18 E -F0 -.25(va)2.975 G 2.975(riable. Each).25 F .476(non-option ar)2.976 F -.476(gument is a command as it w)-.18 F .476(ould appear in)-.1 F F2 -(.inputr)144 244.8 Q(c)-.37 E F0 2.984(,b).31 G .484 -(ut each binding or command must be passed as a separate ar)-3.184 F -.483(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5 -(re\255read\255init\255\214le'. Options,)144 256.8 R(if supplied, ha)2.5 -E .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad6d>144 -268.8 Q F2 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 280.8 Q F2 -.1(ke)5.158 G -(ymap)-.2 E F0 2.658(as the k)5.348 F -.15(ey)-.1 G 2.658(map to be af) -.15 F 2.659(fected by the subsequent bindings.)-.25 F(Acceptable)7.659 E -F2 -.1(ke)180 292.8 S(ymap)-.2 E F0 3.193(names are)5.883 F F2 3.193 -(emacs, emacs\255standar)5.693 F 3.192 -(d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E -(vi\255command)180 304.8 Q F0 4.429(,a)C(nd)-4.429 E F2(vi\255insert) -4.429 E F0(.).68 E F2(vi)6.929 E F0 1.929(is equi)4.429 F -.25(va)-.25 G -1.929(lent to).25 F F2(vi\255command)4.429 E F0(;)A F2(emacs)4.429 E F0 -1.929(is equi)4.429 F -.25(va)-.25 G 1.93(lent to).25 F F2 -(emacs\255standar)180 316.8 Q(d)-.37 E F0(.)A F1<ad6c>144 328.8 Q F0 -(List the names of all)27.52 E F1 -.18(re)2.5 G(adline).18 E F0 -(functions.)2.5 E F1<ad70>144 340.8 Q F0(Display)24.74 E F1 -.18(re)2.5 -G(adline).18 E F0(function names and bindings in such a w)2.5 E -(ay that the)-.1 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1<ad50>144 352.8 -Q F0(List current)24.19 E F1 -.18(re)2.5 G(adline).18 E F0 -(function names and bindings.)2.5 E F1<ad73>144 364.8 Q F0(Display)26.41 -E F1 -.18(re)3.655 G(adline).18 E F0 -.1(ke)3.655 G 3.655(ys)-.05 G -1.155(equences bound to macros and the strings the)-3.655 F 3.655(yo) --.15 G 1.155(utput in such a)-3.655 F -.1(wa)180 376.8 S 2.5(yt).1 G -(hat the)-2.5 E 2.5(yc)-.15 G(an be re-read.)-2.5 E F1<ad53>144 388.8 Q -F0(Display)24.74 E F1 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys) --.05 G(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G -(utput.)-2.5 E F1<ad76>144 400.8 Q F0(Display)25.3 E F1 -.18(re)2.5 G +-.35 E/F1 10/Times-Bold@0 SF<ad53>144 84 Q F0(Display)24.74 E F1 -.18 +(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys)-.05 G +(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G +(utput.)-2.5 E F1<ad76>144 96 Q F0(Display)25.3 E F1 -.18(re)2.5 G (adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E (alues in such a w)-.25 E(ay that the)-.1 E 2.5(yc)-.15 G -(an be re-read.)-2.5 E F1<ad56>144 412.8 Q F0(List current)23.08 E F1 --.18(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E -(alues.)-.25 E F1<ad66>144 424.8 Q F2(\214lename)2.5 E F0(Read k)180 -436.8 Q .3 -.15(ey b)-.1 H(indings from).15 E F2(\214lename)2.5 E F0(.)A -F1<ad71>144 448.8 Q F2(function)2.5 E F0(Query about which k)180 460.8 Q --.15(ey)-.1 G 2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 H -(he named).1 E F2(function)2.5 E F0(.)A F1<ad75>144 472.8 Q F2(function) -2.5 E F0(Unbind all k)180 484.8 Q -.15(ey)-.1 G 2.5(sb).15 G -(ound to the named)-2.5 E F2(function)2.5 E F0(.)A F1<ad72>144 496.8 Q -F2 -.1(ke)2.5 G(yseq)-.2 E F0(Remo)180 508.8 Q .3 -.15(ve a)-.15 H .3 --.15(ny c).15 H(urrent binding for).15 E F2 -.1(ke)2.5 G(yseq)-.2 E F0 -(.)A F1<ad78>144 520.8 Q F2 -.1(ke)2.5 G(yseq)-.2 E F1(:)A F2 -(shell\255command)A F0(Cause)180 532.8 Q F2(shell\255command)2.5 E F0 -(to be e)2.5 E -.15(xe)-.15 G(cuted whene).15 E -.15(ve)-.25 G(r).15 E -F2 -.1(ke)2.5 G(yseq)-.2 E F0(is entered.)2.5 E(The return v)144 549.6 Q -(alue is 0 unless an unrecognized option is gi)-.25 E -.15(ve)-.25 G 2.5 -(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 E F1(br)108 -566.4 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .054(Exit from within a)144 -578.4 R F1 -.25(fo)2.554 G(r).25 E F0(,)A F1(while)2.554 E F0(,)A F1 -(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1(select)2.555 E F0 2.555 -(loop. If)2.555 F F2(n)2.555 E F0 .055(is speci\214ed, break)2.555 F F2 -(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G(ls.).15 E F2(n)5.415 E F0 .055 -(must be)2.795 F/F3 10/Symbol SF<b3>2.555 E F0(1.)2.555 E(If)144 590.4 Q -F2(n)3.075 E F0 .215(is greater than the number of enclosing loops, all\ - enclosing loops are e)2.955 F 2.714(xited. The)-.15 F .214(return v) -2.714 F(alue)-.25 E(is 0 unless the shell is not e)144 602.4 Q -.15(xe) --.15 G(cuting a loop when).15 E F1(br)2.5 E(eak)-.18 E F0(is e)2.5 E --.15(xe)-.15 G(cuted.).15 E F1 -.2(bu)108 619.2 S(iltin).2 E F2 -(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A -(Ex)144 631.2 Q .792(ecute the speci\214ed shell b)-.15 F .792 -(uiltin, passing it)-.2 F F2(ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G -.793(nd return its e)-3.293 F .793(xit status.)-.15 F .793 -(This is useful)5.793 F .616 +(an be re-read.)-2.5 E F1<ad56>144 108 Q F0(List current)23.08 E F1 -.18 +(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E(alues.) +-.25 E F1<ad66>144 120 Q/F2 10/Times-Italic@0 SF(\214lename)2.5 E F0 +(Read k)180 132 Q .3 -.15(ey b)-.1 H(indings from).15 E F2(\214lename) +2.5 E F0(.)A F1<ad71>144 144 Q F2(function)2.5 E F0(Query about which k) +180 156 Q -.15(ey)-.1 G 2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 +H(he named).1 E F2(function)2.5 E F0(.)A F1<ad75>144 168 Q F2(function) +2.5 E F0(Unbind all k)180 180 Q -.15(ey)-.1 G 2.5(sb).15 G +(ound to the named)-2.5 E F2(function)2.5 E F0(.)A F1<ad72>144 192 Q F2 +-.1(ke)2.5 G(yseq)-.2 E F0(Remo)180 204 Q .3 -.15(ve a)-.15 H .3 -.15 +(ny c).15 H(urrent binding for).15 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(.)A +F1<ad78>144 216 Q F2 -.1(ke)2.5 G(yseq)-.2 E F1(:)A F2(shell\255command) +A F0(Cause)180 228 Q F2(shell\255command)4.325 E F0 1.825(to be e)4.325 +F -.15(xe)-.15 G 1.825(cuted whene).15 F -.15(ve)-.25 G(r).15 E F2 -.1 +(ke)4.325 G(yseq)-.2 E F0 1.825(is entered.)4.325 F(When)6.825 E F2 +(shell\255com-)4.325 E(mand)180 240 Q F0 1.113(is e)3.613 F -.15(xe)-.15 +G 1.113(cuted, the shell sets the).15 F F1(READLINE_LINE)3.613 E F0 -.25 +(va)3.613 G 1.113(riable to the contents of the).25 F F1 -.18(re)180 252 +S(adline).18 E F0 .587(line b)3.087 F(uf)-.2 E .587(fer and the)-.25 F +F1(READLINE_POINT)3.087 E F0 -.25(va)3.087 G .586 +(riable to the current location of the).25 F 1.24(insertion point.)180 +264 R 1.241(If the e)6.241 F -.15(xe)-.15 G 1.241 +(cuted command changes the v).15 F 1.241(alue of)-.25 F F1 +(READLINE_LINE)3.741 E F0(or)3.741 E F1(READLINE_POINT)180 276 Q F0 2.5 +(,t)C(hose ne)-2.5 E 2.5(wv)-.25 G +(alues will be re\215ected in the editing state.)-2.75 E(The return v) +144 292.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 +(ve)-.25 G 2.5(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 +E F1(br)108 309.6 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .055 +(Exit from within a)144 321.6 R F1 -.25(fo)2.555 G(r).25 E F0(,)A F1 +(while)2.555 E F0(,)A F1(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1 +(select)2.555 E F0 2.555(loop. If)2.555 F F2(n)2.555 E F0 .055 +(is speci\214ed, break)2.555 F F2(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G +(ls.).15 E F2(n)5.414 E F0 .054(must be)2.794 F/F3 10/Symbol SF<b3>2.554 +E F0(1.)2.554 E(If)144 333.6 Q F2(n)3.074 E F0 .215(is greater than the\ + number of enclosing loops, all enclosing loops are e)2.954 F 2.715 +(xited. The)-.15 F .215(return v)2.715 F(alue)-.25 E(is 0 unless)144 +345.6 Q F2(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F1 -.2 +(bu)108 362.4 S(iltin).2 E F2(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E +F2(ar)A(guments)-.37 E F0(])A(Ex)144 374.4 Q .793 +(ecute the speci\214ed shell b)-.15 F .793(uiltin, passing it)-.2 F F2 +(ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G .793(nd return its e)-3.293 +F .792(xit status.)-.15 F .792(This is useful)5.792 F .615 (when de\214ning a function whose name is the same as a shell b)144 -643.2 R .615(uiltin, retaining the functionality of)-.2 F .57(the b)144 -655.2 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 +386.4 R .616(uiltin, retaining the functionality of)-.2 F .57(the b)144 +398.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 -.2(bu)3.07 G .57(iltin is commonly rede\214ned this w).2 F(ay)-.1 E -5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 667.2 Q(alse if)-.1 +5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 410.4 Q(alse if)-.1 E F2(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E -(uiltin command.)-.2 E F1(cd)108 684 Q F0([)2.5 E F1(\255L|-P)A F0 2.5 -(][)C F2(dir)-2.5 E F0(])A .21(Change the current directory to)144 696 R -F2(dir)2.71 E F0 5.21(.T)C .21(he v)-5.21 F(ariable)-.25 E/F4 9 -/Times-Bold@0 SF(HOME)2.71 E F0 .21(is the def)2.46 F(ault)-.1 E F2(dir) -2.71 E F0 5.21(.T).73 G .21(he v)-5.21 F(ariable)-.25 E F4(CDP)2.71 E --.855(AT)-.666 G(H).855 E F0 .776 -(de\214nes the search path for the directory containing)144 708 R F2 -(dir)3.276 E F0 5.777(.A).73 G(lternati)-5.777 E 1.077 -.15(ve d)-.25 H -.777(irectory names in).15 F F4(CDP)3.277 E -.855(AT)-.666 G(H).855 E F0 -2.328(are separated by a colon \(:\).)144 720 R 4.828(An)7.328 G 2.328 -(ull directory name in)-4.828 F F4(CDP)4.828 E -.855(AT)-.666 G(H).855 E -F0 2.327(is the same as the current)4.578 F(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(46)198.445 E 0 Cg EP -%%Page: 47 47 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E(directory)144 84 Q 2.779(,i)-.65 G .279(.e., `)-2.779 F(`)-.74 E -/F1 10/Times-Bold@0 SF(.)A F0 -.74('')C 5.279(.I).74 G(f)-5.279 E/F2 10 -/Times-Italic@0 SF(dir)3.129 E F0(be)3.509 E .28 -(gins with a slash \(/\), then)-.15 F/F3 9/Times-Bold@0 SF(CDP)2.78 E --.855(AT)-.666 G(H).855 E F0 .28(is not used. The)2.53 F F1<ad50>2.78 E -F0 .28(option says to)2.78 F .506(use the ph)144 96 R .506 -(ysical directory structure instead of follo)-.05 F .505 -(wing symbolic links \(see also the)-.25 F F1<ad50>3.005 E F0 .505 -(option to)3.005 F(the)144 108 Q F1(set)3.036 E F0 -.2(bu)3.036 G .537 -(iltin command\); the).2 F F1<ad4c>3.037 E F0 .537 -(option forces symbolic links to be follo)3.037 F 3.037(wed. An)-.25 F -(ar)3.037 E .537(gument of)-.18 F F1<ad>3.037 E F0 .586(is equi)144 120 -R -.25(va)-.25 G .586(lent to).25 F F3($OLDPWD)3.086 E/F4 9 -/Times-Roman@0 SF(.)A F0 .585(If a non-empty directory name from)5.086 F -F1(CDP)3.085 E -.95(AT)-.74 G(H).95 E F0 .585(is used, or if)3.085 F F1 -<ad>3.085 E F0 .585(is the)3.085 F .67(\214rst ar)144 132 R .67(gument,\ - and the directory change is successful, the absolute pathname of the n\ -e)-.18 F 3.17(ww)-.25 G(orking)-3.27 E .888 -(directory is written to the standard output.)144 144 R .888 -(The return v)5.888 F .887(alue is true if the directory w)-.25 F .887 -(as success-)-.1 F(fully changed; f)144 156 Q(alse otherwise.)-.1 E F1 -(caller)108 172.8 Q F0([)2.5 E F2 -.2(ex)C(pr).2 E F0(])A .253 -(Returns the conte)144 184.8 R .254(xt of an)-.15 F 2.754(ya)-.15 G(cti) --2.754 E .554 -.15(ve s)-.25 H .254 +(uiltin command.)-.2 E F1(caller)108 427.2 Q F0([)2.5 E F2 -.2(ex)C(pr) +.2 E F0(])A .253(Returns the conte)144 439.2 R .254(xt of an)-.15 F +2.754(ya)-.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254 (ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G -.254(cuted with the).15 F F1(.)2.754 E F0(or)2.754 E F1(sour)144 196.8 Q +.254(cuted with the).15 F F1(.)2.754 E F0(or)2.754 E F1(sour)144 451.2 Q (ce)-.18 E F0 -.2(bu)3.063 G 3.063(iltins. W).2 F(ithout)-.4 E F2 -.2 (ex)3.062 G(pr).2 E F0(,)A F1(caller)3.062 E F0 .562 (displays the line number and source \214lename of the current)3.062 F -.253(subroutine call.)144 208.8 R .253(If a non-ne)5.253 F -.05(ga)-.15 +.253(subroutine call.)144 463.2 R .253(If a non-ne)5.253 F -.05(ga)-.15 G(ti).05 E .553 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 F F2 -.2(ex)2.753 G(pr).2 E F0(,)A F1(caller)2.753 E F0 .254 (displays the line number)2.754 F 2.754(,s)-.4 G(ub-)-2.754 E 1.327(rou\ tine name, and source \214le corresponding to that position in the curr\ -ent e)144 220.8 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e) -144 232.8 Q(xtra information may be used, for e)-.15 E .001 +ent e)144 475.2 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e) +144 487.2 Q(xtra information may be used, for e)-.15 E .001 (xample, to print a stack trace.)-.15 F .001(The current frame is frame) -5.001 F 3.02(0. The)144 244.8 R .52(return v)3.02 F .52 +5.001 F 3.02(0. The)144 499.2 R .52(return v)3.02 F .52 (alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .519 (cuting a subroutine call or).15 F F2 -.2(ex)3.019 G(pr).2 E F0 .519 -(does not corre-)3.019 F(spond to a v)144 256.8 Q -(alid position in the call stack.)-.25 E F1(command)108 273.6 Q F0([)2.5 -E F1(\255pVv)A F0(])A F2(command)2.5 E F0([)2.5 E F2(ar)A(g)-.37 E F0 -(...])2.5 E(Run)144 285.6 Q F2(command)2.956 E F0(with)3.527 E F2(ar) -3.087 E(gs)-.37 E F0 .257 +(does not corre-)3.019 F(spond to a v)144 511.2 Q +(alid position in the call stack.)-.25 E F1(cd)108 528 Q F0([)2.5 E F1 +(\255L|-P)A F0 2.5(][)C F2(dir)-2.5 E F0(])A .21 +(Change the current directory to)144 540 R F2(dir)2.71 E F0 5.21(.T)C +.21(he v)-5.21 F(ariable)-.25 E/F4 9/Times-Bold@0 SF(HOME)2.71 E F0 .21 +(is the def)2.46 F(ault)-.1 E F2(dir)2.71 E F0 5.21(.T).73 G .21(he v) +-5.21 F(ariable)-.25 E F4(CDP)2.71 E -.855(AT)-.666 G(H).855 E F0 .777 +(de\214nes the search path for the directory containing)144 552 R F2 +(dir)3.276 E F0 5.776(.A).73 G(lternati)-5.776 E 1.076 -.15(ve d)-.25 H +.776(irectory names in).15 F F4(CDP)3.276 E -.855(AT)-.666 G(H).855 E F0 +.764(are separated by a colon \(:\).)144 564 R 3.264(An)5.764 G .764 +(ull directory name in)-3.264 F F4(CDP)3.264 E -.855(AT)-.666 G(H).855 E +F0 .764(is the same as the current direc-)3.014 F(tory)144 576 Q 2.974 +(,i)-.65 G .474(.e., `)-2.974 F(`)-.74 E F1(.)A F0 -.74('')C 5.474(.I) +.74 G(f)-5.474 E F2(dir)3.324 E F0(be)3.704 E .474 +(gins with a slash \(/\), then)-.15 F F4(CDP)2.974 E -.855(AT)-.666 G(H) +.855 E F0 .473(is not used. The)2.724 F F1<ad50>2.973 E F0 .473 +(option says to use)2.973 F .579(the ph)144 588 R .579 +(ysical directory structure instead of follo)-.05 F .579 +(wing symbolic links \(see also the)-.25 F F1<ad50>3.08 E F0 .58 +(option to the)3.08 F F1(set)144 600 Q F0 -.2(bu)3.384 G .884 +(iltin command\); the).2 F F1<ad4c>3.384 E F0 .884 +(option forces symbolic links to be follo)3.384 F 3.384(wed. An)-.25 F +(ar)3.383 E .883(gument of)-.18 F F1<ad>3.383 E F0(is)3.383 E(equi)144 +612 Q -.25(va)-.25 G .062(lent to).25 F F4($OLDPWD)2.562 E/F5 9 +/Times-Roman@0 SF(.)A F0 .062(If a non-empty directory name from)4.562 F +F1(CDP)2.562 E -.95(AT)-.74 G(H).95 E F0 .063(is used, or if)2.562 F F1 +<ad>2.563 E F0 .063(is the \214rst)2.563 F(ar)144 624 Q .116(gument, an\ +d the directory change is successful, the absolute pathname of the ne) +-.18 F 2.615(ww)-.25 G .115(orking direc-)-2.715 F 1.164 +(tory is written to the standard output.)144 636 R 1.164(The return v) +6.164 F 1.165(alue is true if the directory w)-.25 F 1.165 +(as successfully)-.1 F(changed; f)144 648 Q(alse otherwise.)-.1 E F1 +(command)108 664.8 Q F0([)2.5 E F1(\255pVv)A F0(])A F2(command)2.5 E F0 +([)2.5 E F2(ar)A(g)-.37 E F0(...])2.5 E(Run)144 676.8 Q F2(command)2.957 +E F0(with)3.527 E F2(ar)3.087 E(gs)-.37 E F0 .257 (suppressing the normal shell function lookup. Only b)3.027 F .257 -(uiltin commands or)-.2 F .502(commands found in the)144 297.6 R F3 --.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G 3.002 +(uiltin commands or)-.2 F .501(commands found in the)144 688.8 R F4 +-.666(PA)3.001 G(TH)-.189 E F0 .502(are e)2.751 F -.15(xe)-.15 G 3.002 (cuted. If).15 F(the)3.002 E F1<ad70>3.002 E F0 .502(option is gi)3.002 -F -.15(ve)-.25 G .501(n, the search for).15 F F2(command)3.201 E F0(is) -3.771 E .231(performed using a def)144 309.6 R .231(ault v)-.1 F .231 +F -.15(ve)-.25 G .502(n, the search for).15 F F2(command)3.202 E F0(is) +3.772 E .232(performed using a def)144 700.8 R .231(ault v)-.1 F .231 (alue for)-.25 F F1 -.74(PA)2.731 G(TH)-.21 E F0 .231 (that is guaranteed to \214nd all of the standard utilities.)2.731 F(If) -5.232 E .175(either the)144 321.6 R F1<ad56>2.675 E F0(or)2.675 E F1 -<ad76>2.675 E F0 .175(option is supplied, a description of)2.675 F F2 -(command)2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F1<ad76>2.674 E -F0 .174(option causes)2.674 F 3.11(as)144 333.6 S .61(ingle w)-3.11 F +5.231 E .174(either the)144 712.8 R F1<ad56>2.674 E F0(or)2.674 E F1 +<ad76>2.674 E F0 .175(option is supplied, a description of)2.674 F F2 +(command)2.875 E F0 .175(is printed.)3.445 F(The)5.175 E F1<ad76>2.675 E +F0 .175(option causes)2.675 F 3.11(as)144 724.8 S .61(ingle w)-3.11 F .61(ord indicating the command or \214le name used to in)-.1 F -.2(vo) -.4 G -.1(ke).2 G F2(command)3.41 E F0 .61(to be displayed; the)3.88 F -F1<ad56>144 345.6 Q F0 .25(option produces a more v)2.75 F .25 -(erbose description.)-.15 F .249(If the)5.25 F F1<ad56>2.749 E F0(or) -2.749 E F1<ad76>2.749 E F0 .249(option is supplied, the e)2.749 F .249 -(xit status)-.15 F 1.004(is 0 if)144 357.6 R F2(command)3.704 E F0 -.1 -(wa)4.274 G 3.504(sf).1 G 1.005(ound, and 1 if not.)-3.504 F 1.005 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(47)197.335 E 0 Cg EP +%%Page: 48 48 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF<ad56>144 84 Q F0 .249 +(option produces a more v)2.749 F .249(erbose description.)-.15 F .249 +(If the)5.249 F F1<ad56>2.749 E F0(or)2.749 E F1<ad76>2.75 E F0 .25 +(option is supplied, the e)2.75 F .25(xit status)-.15 F 1.005(is 0 if) +144 96 R/F2 10/Times-Italic@0 SF(command)3.705 E F0 -.1(wa)4.275 G 3.505 +(sf).1 G 1.005(ound, and 1 if not.)-3.505 F 1.004 (If neither option is supplied and an error occurred or)6.005 F F2 -(command)144.2 369.6 Q F0 1.599(cannot be found, the e)4.869 F 1.599 -(xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.598 -(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 381.6 S +(command)144.2 108 Q F0 1.598(cannot be found, the e)4.868 F 1.599 +(xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.599 +(xit status of the)-.15 F F1(command)4.099 E F0 -.2(bu)144 120 S (iltin is the e).2 E(xit status of)-.15 E F2(command)2.5 E F0(.).77 E F1 -(compgen)108 398.4 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d) --.37 E F0(])A .012(Generate possible completion matches for)144 410.4 R +(compgen)108 136.8 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d) +-.37 E F0(])A .013(Generate possible completion matches for)144 148.8 R F2(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F2(option)2.513 -E F0 .013(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982 -(accepted by the)144 422.4 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981 +E F0 .013(s, which may be an)B 2.512(yo)-.15 G(ption)-2.512 E .981 +(accepted by the)144 160.8 R F1(complete)3.481 E F0 -.2(bu)3.481 G .981 (iltin with the e).2 F .981(xception of)-.15 F F1<ad70>3.481 E F0(and) -3.481 E F1<ad72>3.481 E F0 3.481(,a)C .981(nd write the matches to the) --3.481 F 1.415(standard output.)144 434.4 R 1.415(When using the)6.415 F +3.481 E F1<ad72>3.481 E F0 3.481(,a)C .982(nd write the matches to the) +-3.481 F 1.415(standard output.)144 172.8 R 1.415(When using the)6.415 F F1<ad46>3.915 E F0(or)3.915 E F1<ad43>3.915 E F0 1.415(options, the v) 3.915 F 1.415(arious shell v)-.25 F 1.415(ariables set by the pro-)-.25 -F(grammable completion f)144 446.4 Q(acilities, while a)-.1 E -.25(va) +F(grammable completion f)144 184.8 Q(acilities, while a)-.1 E -.25(va) -.2 G(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.) --.25 E .352(The matches will be generated in the same w)144 470.4 R .352 +-.25 E .352(The matches will be generated in the same w)144 208.8 R .352 (ay as if the programmable completion code had gen-)-.1 F .02(erated th\ em directly from a completion speci\214cation with the same \215ags.)144 -482.4 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) -2.52 F(those completions matching)144 494.4 Q F2(wor)2.5 E(d)-.37 E F0 -(will be displayed.)2.5 E(The return v)144 518.4 Q +220.8 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) +2.52 F(those completions matching)144 232.8 Q F2(wor)2.5 E(d)-.37 E F0 +(will be displayed.)2.5 E(The return v)144 256.8 Q (alue is true unless an in)-.25 E -.25(va)-.4 G (lid option is supplied, or no matches were generated.).25 E F1 -(complete)108 535.2 Q F0([)3.265 E F1(\255abcdefgjksuv)A F0 3.265(][)C -F1<ad6f>-3.265 E F2(comp-option)3.265 E F0 3.265(][)C F1<ad41>-3.265 E -F2(action)3.265 E F0 3.265(][)C F1<ad47>-3.265 E F2(globpat)3.265 E F0 -3.265(][)C F1<ad57>-3.265 E F2(wor)3.265 E(dlist)-.37 E F0 3.265(][)C F1 -<ad46>-3.265 E F2(function)3.265 E F0 3.265(][)C F1<ad43>-3.265 E F2 -(command)108 547.2 Q F0(])A([)144 559.2 Q F1<ad58>A F2(\214lterpat)2.5 E -F0 2.5(][)C F1<ad50>-2.5 E F2(pr)2.5 E(e\214x)-.37 E F0 2.5(][)C F1 -<ad53>-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(])A F2(name)2.5 E F0([)2.5 E F2 -(name ...)A F0(])A F1(complete \255pr)108 571.2 Q F0([)2.5 E F2(name)A -F0(...])2.5 E .634(Specify ho)144 583.2 R 3.134(wa)-.25 G -.18(rg)-3.134 -G .634(uments to each).18 F F2(name)3.134 E F0 .634 -(should be completed.)3.134 F .633(If the)5.634 F F1<ad70>3.133 E F0 -.633(option is supplied, or if no)3.133 F .139(options are supplied, e) -144 595.2 R .139(xisting completion speci\214cations are printed in a w) --.15 F .14(ay that allo)-.1 F .14(ws them to be)-.25 F .31 -(reused as input.)144 607.2 R(The)5.31 E F1<ad72>2.81 E F0 .31 +(complete)108 273.6 Q F0([)3.033 E F1(\255abcdefgjksuv)A F0 3.033(][)C +F1<ad6f>-3.033 E F2(comp-option)3.033 E F0 3.033(][)C F1<ad45>-3.033 E +F0 3.033(][)C F1<ad41>-3.033 E F2(action)3.033 E F0 3.033(][)C F1<ad47> +-3.033 E F2(globpat)3.033 E F0 3.034(][)C F1<ad57>-3.034 E F2(wor)3.034 +E(dlist)-.37 E F0 3.034(][)C F1<ad46>-3.034 E F2(function)3.034 E F0(])A +([)108 285.6 Q F1<ad43>A F2(command)2.5 E F0(])A([)144 297.6 Q F1<ad58>A +F2(\214lterpat)2.5 E F0 2.5(][)C F1<ad50>-2.5 E F2(pr)2.5 E(e\214x)-.37 +E F0 2.5(][)C F1<ad53>-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(])A F2(name)2.5 +E F0([)2.5 E F2(name ...)A F0(])A F1(complete \255pr)108 309.6 Q F0([) +2.5 E F1<ad45>A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .633 +(Specify ho)144 321.6 R 3.133(wa)-.25 G -.18(rg)-3.133 G .633 +(uments to each).18 F F2(name)3.133 E F0 .633(should be completed.)3.133 +F .634(If the)5.634 F F1<ad70>3.134 E F0 .634 +(option is supplied, or if no)3.134 F .14(options are supplied, e)144 +333.6 R .139(xisting completion speci\214cations are printed in a w)-.15 +F .139(ay that allo)-.1 F .139(ws them to be)-.25 F .31 +(reused as input.)144 345.6 R(The)5.31 E F1<ad72>2.81 E F0 .31 (option remo)2.81 F -.15(ve)-.15 G 2.81(sac).15 G .31 (ompletion speci\214cation for each)-2.81 F F2(name)2.81 E F0 2.81(,o)C -1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E F2(name)2.81 E F0(s)A -(are supplied, all completion speci\214cations.)144 619.2 Q 1.437 +1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E F2(name)2.81 E F0(s)A 1.393 +(are supplied, all completion speci\214cations.)144 357.6 R(The)6.393 E +F1<ad45>3.893 E F0 1.392(option indicates that the remaining options) +3.892 F 1.304(and actions should apply to `)144 369.6 R(`empty')-.74 E +3.804('c)-.74 G 1.304 +(ommand completion; that is, completion attempted on a)-3.804 F +(blank line.)144 381.6 Q 1.438 (The process of applying these completion speci\214cations when w)144 -643.2 R 1.438(ord completion is attempted is)-.1 F(described abo)144 -655.2 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E -(ogrammable Completion)-.18 E F0(.)A .556 -(Other options, if speci\214ed, ha)144 679.2 R .856 -.15(ve t)-.2 H .555 +405.6 R 1.437(ord completion is attempted is)-.1 F(described abo)144 +417.6 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E +(ogrammable Completion)-.18 E F0(.)A .555 +(Other options, if speci\214ed, ha)144 441.6 R .855 -.15(ve t)-.2 H .555 (he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F .555 -(guments to the)-.18 F F1<ad47>3.055 E F0(,)A F1<ad57>3.055 E F0 3.055 -(,a)C(nd)-3.055 E F1<ad58>3.055 E F0 .722(options \(and, if necessary) -144 691.2 R 3.222(,t)-.65 G(he)-3.222 E F1<ad50>3.222 E F0(and)3.222 E -F1<ad53>3.222 E F0 .723 -(options\) should be quoted to protect them from e)3.222 F(xpan-)-.15 E -(sion before the)144 703.2 Q F1(complete)2.5 E F0 -.2(bu)2.5 G -(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(47)198.445 E 0 Cg EP -%%Page: 48 48 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF<ad6f>144 84 Q/F2 10/Times-Italic@0 SF -(comp-option)2.5 E F0(The)184 96 Q F2(comp-option)2.791 E F0 .291 +(guments to the)-.18 F F1<ad47>3.056 E F0(,)A F1<ad57>3.056 E F0 3.056 +(,a)C(nd)-3.056 E F1<ad58>3.056 E F0 .723(options \(and, if necessary) +144 453.6 R 3.223(,t)-.65 G(he)-3.223 E F1<ad50>3.223 E F0(and)3.223 E +F1<ad53>3.223 E F0 .722 +(options\) should be quoted to protect them from e)3.223 F(xpan-)-.15 E +(sion before the)144 465.6 Q F1(complete)2.5 E F0 -.2(bu)2.5 G +(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1<ad6f>144 477.6 Q +F2(comp-option)2.5 E F0(The)184 489.6 Q F2(comp-option)2.79 E F0 .291 (controls se)2.791 F -.15(ve)-.25 G .291(ral aspects of the compspec') .15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291 -(yond the simple)-.15 F(generation of completions.)184 108 Q F2 -(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 120 Q F0 -.281(Perform the rest of the def)224 132 R(ault)-.1 E F1(bash)2.781 E F0 -.281(completions if the compspec generates no)2.781 F(matches.)224 144 Q -F1(default)184 156 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 G(ef) --5.376 E 2.875(ault \214lename completion if the compspec generates no) --.1 F(matches.)224 168 Q F1(dir)184 180 Q(names)-.15 E F0(Perform direc\ -tory name completion if the compspec generates no matches.)224 192 Q F1 -(\214lenames)184 204 Q F0 -.7(Te)224 216 S .137(ll readline that the co\ -mpspec generates \214lenames, so it can perform an).7 F 2.637<798c>-.15 -G(le-)-2.637 E .496(name\255speci\214c processing \(lik)224 228 R 2.996 -(ea)-.1 G .496(dding a slash to directory names or suppress-)-2.996 F -(ing trailing spaces\).)224 240 Q -(Intended to be used with shell functions.)5 E F1(nospace)184 252 Q F0 +(yond the simple)-.15 F(generation of completions.)184 501.6 Q F2 +(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 513.6 Q F0 +.281(Perform the rest of the def)224 525.6 R(ault)-.1 E F1(bash)2.781 E +F0 .281(completions if the compspec generates no)2.781 F(matches.)224 +537.6 Q F1(default)184 549.6 Q F0 2.875(Use readline')10 F 5.375(sd)-.55 +G(ef)-5.375 E 2.876 +(ault \214lename completion if the compspec generates no)-.1 F(matches.) +224 561.6 Q F1(dir)184 573.6 Q(names)-.15 E F0(Perform directory name c\ +ompletion if the compspec generates no matches.)224 585.6 Q F1 +(\214lenames)184 597.6 Q F0 -.7(Te)224 609.6 S .137(ll readline that th\ +e compspec generates \214lenames, so it can perform an).7 F 2.636<798c> +-.15 G(le-)-2.636 E .496(name\255speci\214c processing \(lik)224 621.6 R +2.996(ea)-.1 G .496(dding a slash to directory names or suppress-)-2.996 +F(ing trailing spaces\).)224 633.6 Q +(Intended to be used with shell functions.)5 E F1(nospace)184 645.6 Q F0 -.7(Te)6.11 G .22(ll readline not to append a space \(the def).7 F .22 (ault\) to w)-.1 F .22(ords completed at the end)-.1 F(of the line.)224 -264 Q F1(plusdirs)184 276 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G +657.6 Q F1(plusdirs)184 669.6 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G 1.985(atches de\214ned by the compspec are generated, directory name) --4.485 F .583(completion is attempted and an)224 288 R 3.084(ym)-.15 G +-4.485 F .584(completion is attempted and an)224 681.6 R 3.084(ym)-.15 G .584(atches are added to the results of the other)-3.084 F(actions.)224 -300 Q F1<ad41>144 312 Q F2(action)2.5 E F0(The)184 324 Q F2(action)2.5 E -F0(may be one of the follo)2.5 E -(wing to generate a list of possible completions:)-.25 E F1(alias)184 -336 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F1<ad61>2.5 -E F0(.)A F1(arrayv)184 348 Q(ar)-.1 E F0(Array v)224 360 Q -(ariable names.)-.25 E F1 4.7(binding Readline)184 372 R F0 -.1(ke)2.5 G -2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 384 S(iltin).2 E F0 -(Names of shell b)11.85 E(uiltin commands.)-.2 E -(May also be speci\214ed as)5 E F1<ad62>2.5 E F0(.)A F1(command)184 396 -Q F0(Command names.)224 408 Q(May also be speci\214ed as)5 E F1<ad63>2.5 -E F0(.)A F1(dir)184 420 Q(ectory)-.18 E F0(Directory names.)224 432 Q -(May also be speci\214ed as)5 E F1<ad64>2.5 E F0(.)A F1(disabled)184 444 -Q F0(Names of disabled shell b)224 456 Q(uiltins.)-.2 E F1(enabled)184 -468 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 -480 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May) --.25 F(also be speci\214ed as)2.5 E F1<ad65>2.5 E F0(.)A F1(\214le)184 -492 Q F0(File names.)27.22 E(May also be speci\214ed as)5 E F1<ad66>2.5 -E F0(.)A F1(function)184 504 Q F0(Names of shell functions.)224 516 Q F1 -(gr)184 528 Q(oup)-.18 E F0(Group names.)14.62 E -(May also be speci\214ed as)5 E F1<ad67>2.5 E F0(.)A F1(helptopic)184 -540 Q F0(Help topics as accepted by the)224 552 Q F1(help)2.5 E F0 -.2 -(bu)2.5 G(iltin.).2 E F1(hostname)184 564 Q F0(Hostnames, as tak)224 576 -Q(en from the \214le speci\214ed by the)-.1 E/F3 9/Times-Bold@0 SF -(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 588 Q F0 +693.6 Q F1<ad41>144 705.6 Q F2(action)2.5 E F0(The)184 717.6 Q F2 +(action)2.5 E F0(may be one of the follo)2.5 E +(wing to generate a list of possible completions:)-.25 E(GNU Bash-4.0)72 +768 Q(2008 May 25)147.345 E(48)197.335 E 0 Cg EP +%%Page: 49 49 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(alias)184 84 Q F0(Alias names.)20.55 E +(May also be speci\214ed as)5 E F1<ad61>2.5 E F0(.)A F1(arrayv)184 96 Q +(ar)-.1 E F0(Array v)224 108 Q(ariable names.)-.25 E F1 4.7 +(binding Readline)184 120 R F0 -.1(ke)2.5 G 2.5(yb)-.05 G(inding names.) +-2.5 E F1 -.2(bu)184 132 S(iltin).2 E F0(Names of shell b)11.85 E +(uiltin commands.)-.2 E(May also be speci\214ed as)5 E F1<ad62>2.5 E F0 +(.)A F1(command)184 144 Q F0(Command names.)224 156 Q +(May also be speci\214ed as)5 E F1<ad63>2.5 E F0(.)A F1(dir)184 168 Q +(ectory)-.18 E F0(Directory names.)224 180 Q(May also be speci\214ed as) +5 E F1<ad64>2.5 E F0(.)A F1(disabled)184 192 Q F0 +(Names of disabled shell b)224 204 Q(uiltins.)-.2 E F1(enabled)184 216 Q +F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 228 Q F0 +(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May)-.25 F +(also be speci\214ed as)2.5 E F1<ad65>2.5 E F0(.)A F1(\214le)184 240 Q +F0(File names.)27.22 E(May also be speci\214ed as)5 E F1<ad66>2.5 E F0 +(.)A F1(function)184 252 Q F0(Names of shell functions.)224 264 Q F1(gr) +184 276 Q(oup)-.18 E F0(Group names.)14.62 E(May also be speci\214ed as) +5 E F1<ad67>2.5 E F0(.)A F1(helptopic)184 288 Q F0 +(Help topics as accepted by the)224 300 Q F1(help)2.5 E F0 -.2(bu)2.5 G +(iltin.).2 E F1(hostname)184 312 Q F0(Hostnames, as tak)224 324 Q +(en from the \214le speci\214ed by the)-.1 E/F2 9/Times-Bold@0 SF +(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 336 Q F0 (Job names, if job control is acti)26.11 E -.15(ve)-.25 G 5(.M).15 G -(ay also be speci\214ed as)-5 E F1<ad6a>2.5 E F0(.)A F1 -.1(ke)184 600 S -(yw).1 E(ord)-.1 E F0(Shell reserv)224 612 Q(ed w)-.15 E 2.5(ords. May) +(ay also be speci\214ed as)-5 E F1<ad6a>2.5 E F0(.)A F1 -.1(ke)184 348 S +(yw).1 E(ord)-.1 E F0(Shell reserv)224 360 Q(ed w)-.15 E 2.5(ords. May) -.1 F(also be speci\214ed as)2.5 E F1<ad6b>2.5 E F0(.)A F1(running)184 -624 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve) --.25 G(.).15 E F1(ser)184 636 Q(vice)-.1 E F0(Service names.)10.67 E -(May also be speci\214ed as)5 E F1<ad73>2.5 E F0(.)A F1(setopt)184 648 Q +372 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve) +-.25 G(.).15 E F1(ser)184 384 Q(vice)-.1 E F0(Service names.)10.67 E +(May also be speci\214ed as)5 E F1<ad73>2.5 E F0(.)A F1(setopt)184 396 Q F0 -1.11(Va)14.45 G(lid ar)1.11 E(guments for the)-.18 E F1<ad6f>2.5 E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1 -(shopt)184 660 Q F0(Shell option names as accepted by the)16.66 E F1 -(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 672 Q F0 -(Signal names.)14.99 E F1(stopped)184 684 Q F0 +(shopt)184 408 Q F0(Shell option names as accepted by the)16.66 E F1 +(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 420 Q F0 +(Signal names.)14.99 E F1(stopped)184 432 Q F0 (Names of stopped jobs, if job control is acti)6.66 E -.15(ve)-.25 G(.) -.15 E F1(user)184 696 Q F0(User names.)21.67 E -(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 708 S +.15 E F1(user)184 444 Q F0(User names.)21.67 E +(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 456 S (riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F -(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(48)198.445 E 0 Cg EP -%%Page: 49 49 +(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A F1<ad47>144 468 Q/F3 +10/Times-Italic@0 SF(globpat)2.5 E F0 1.41(The \214lename e)184 480 R +1.411(xpansion pattern)-.15 F F3(globpat)3.911 E F0 1.411(is e)3.911 F +1.411(xpanded to generate the possible comple-)-.15 F(tions.)184 492 Q +F1<ad57>144 504 Q F3(wor)2.5 E(dlist)-.37 E F0(The)184 516 Q F3(wor)3.64 +E(dlist)-.37 E F0 1.14(is split using the characters in the)3.64 F F2 +(IFS)3.64 E F0 1.139(special v)3.39 F 1.139(ariable as delimiters, and) +-.25 F 2.007(each resultant w)184 528 R 2.007(ord is e)-.1 F 4.507 +(xpanded. The)-.15 F 2.008(possible completions are the members of the) +4.507 F(resultant list which match the w)184 540 Q(ord being completed.) +-.1 E F1<ad43>144 552 Q F3(command)2.5 E(command)184 564 Q F0 1.056 +(is e)3.556 F -.15(xe)-.15 G 1.056(cuted in a subshell en).15 F 1.056 +(vironment, and its output is used as the possible)-.4 F(completions.) +184 576 Q F1<ad46>144 588 Q F3(function)2.5 E F0 1.18 +(The shell function)184 600 R F3(function)3.68 E F0 1.181(is e)3.681 F +-.15(xe)-.15 G 1.181(cuted in the current shell en).15 F 3.681 +(vironment. When)-.4 F 1.181(it \214n-)3.681 F .932 +(ishes, the possible completions are retrie)184 612 R -.15(ve)-.25 G +3.432(df).15 G .932(rom the v)-3.432 F .932(alue of the)-.25 F F2 +(COMPREPL)3.431 E(Y)-.828 E F0(array)3.181 E -.25(va)184 624 S(riable.) +.25 E F1<ad58>144 636 Q F3(\214lterpat)2.5 E(\214lterpat)184 648 Q F0 +.733(is a pattern as used for \214lename e)3.233 F 3.233(xpansion. It) +-.15 F .733(is applied to the list of possible)3.233 F 1.596 +(completions generated by the preceding options and ar)184 660 R 1.596 +(guments, and each completion)-.18 F(matching)184 672 Q F3(\214lterpat) +3.204 E F0 .704(is remo)3.204 F -.15(ve)-.15 G 3.204(df).15 G .704 +(rom the list.)-3.204 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 +(in)3.204 E F3(\214lterpat)3.205 E F0(ne)3.205 E -.05(ga)-.15 G .705 +(tes the pattern;).05 F(in this case, an)184 684 Q 2.5(yc)-.15 G +(ompletion not matching)-2.5 E F3(\214lterpat)2.5 E F0(is remo)2.5 E +-.15(ve)-.15 G(d.).15 E F1<ad50>144 696 Q F3(pr)2.5 E(e\214x)-.37 E(pr) +184 708 Q(e\214x)-.37 E F0 .535(is added at the be)3.035 F .534 +(ginning of each possible completion after all other options ha)-.15 F +-.15(ve)-.2 G(been applied.)184 720 Q(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(49)197.335 E 0 Cg EP +%%Page: 50 50 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF<ad47>144 84 Q/F2 10/Times-Italic@0 SF -(globpat)2.5 E F0 1.411(The \214lename e)184 96 R 1.411 -(xpansion pattern)-.15 F F2(globpat)3.911 E F0 1.411(is e)3.911 F 1.411 -(xpanded to generate the possible comple-)-.15 F(tions.)184 108 Q F1 -<ad57>144 120 Q F2(wor)2.5 E(dlist)-.37 E F0(The)184 132 Q F2(wor)3.639 -E(dlist)-.37 E F0 1.14(is split using the characters in the)3.639 F/F3 9 -/Times-Bold@0 SF(IFS)3.64 E F0 1.14(special v)3.39 F 1.14 -(ariable as delimiters, and)-.25 F 2.008(each resultant w)184 144 R -2.008(ord is e)-.1 F 4.508(xpanded. The)-.15 F 2.007 -(possible completions are the members of the)4.508 F -(resultant list which match the w)184 156 Q(ord being completed.)-.1 E -F1<ad43>144 168 Q F2(command)2.5 E(command)184 180 Q F0 1.055(is e)3.555 -F -.15(xe)-.15 G 1.055(cuted in a subshell en).15 F 1.056 -(vironment, and its output is used as the possible)-.4 F(completions.) -184 192 Q F1<ad46>144 204 Q F2(function)2.5 E F0 1.181 -(The shell function)184 216 R F2(function)3.681 E F0 1.181(is e)3.681 F --.15(xe)-.15 G 1.181(cuted in the current shell en).15 F 3.68 -(vironment. When)-.4 F 1.18(it \214n-)3.68 F .932 -(ishes, the possible completions are retrie)184 228 R -.15(ve)-.25 G -3.432(df).15 G .932(rom the v)-3.432 F .932(alue of the)-.25 F F3 -(COMPREPL)3.432 E(Y)-.828 E F0(array)3.182 E -.25(va)184 240 S(riable.) -.25 E F1<ad58>144 252 Q F2(\214lterpat)2.5 E(\214lterpat)184 264 Q F0 -.733(is a pattern as used for \214lename e)3.234 F 3.233(xpansion. It) --.15 F .733(is applied to the list of possible)3.233 F 1.596 -(completions generated by the preceding options and ar)184 276 R 1.596 -(guments, and each completion)-.18 F(matching)184 288 Q F2(\214lterpat) -3.205 E F0 .705(is remo)3.205 F -.15(ve)-.15 G 3.205(df).15 G .704 -(rom the list.)-3.205 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 -(in)3.204 E F2(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704 -(tes the pattern;).05 F(in this case, an)184 300 Q 2.5(yc)-.15 G -(ompletion not matching)-2.5 E F2(\214lterpat)2.5 E F0(is remo)2.5 E --.15(ve)-.15 G(d.).15 E F1<ad50>144 312 Q F2(pr)2.5 E(e\214x)-.37 E(pr) -184 324 Q(e\214x)-.37 E F0 .534(is added at the be)3.034 F .534 -(ginning of each possible completion after all other options ha)-.15 F --.15(ve)-.2 G(been applied.)184 336 Q F1<ad53>144 348 Q F2(suf)2.5 E -2.81(\214x suf)-.18 F<8c78>-.18 E F0 +-.35 E/F1 10/Times-Bold@0 SF<ad53>144 84 Q/F2 10/Times-Italic@0 SF(suf) +2.5 E 2.81(\214x suf)-.18 F<8c78>-.18 E F0 (is appended to each possible completion after all other options ha)2.5 -E .3 -.15(ve b)-.2 H(een applied.).15 E .467(The return v)144 364.8 R -.467(alue is true unless an in)-.25 F -.25(va)-.4 G .466 -(lid option is supplied, an option other than).25 F F1<ad70>2.966 E F0 -(or)2.966 E F1<ad72>2.966 E F0 .466(is sup-)2.966 F 1.361 -(plied without a)144 376.8 R F2(name)3.861 E F0(ar)3.861 E 1.361 -(gument, an attempt is made to remo)-.18 F 1.662 -.15(ve a c)-.15 H -1.362(ompletion speci\214cation for a).15 F F2(name)144 388.8 Q F0 +E .3 -.15(ve b)-.2 H(een applied.).15 E .466(The return v)144 100.8 R +.466(alue is true unless an in)-.25 F -.25(va)-.4 G .466 +(lid option is supplied, an option other than).25 F F1<ad70>2.967 E F0 +(or)2.967 E F1<ad72>2.967 E F0 .467(is sup-)2.967 F 1.362 +(plied without a)144 112.8 R F2(name)3.862 E F0(ar)3.862 E 1.361 +(gument, an attempt is made to remo)-.18 F 1.661 -.15(ve a c)-.15 H +1.361(ompletion speci\214cation for a).15 F F2(name)144 124.8 Q F0 (for which no speci\214cation e)2.5 E (xists, or an error occurs adding a completion speci\214cation.)-.15 E -F1(compopt)108 405.6 Q F0([)2.5 E F1<ad6f>A F2(option)2.5 E F0 2.5(][)C +F1(compopt)108 141.6 Q F0([)2.5 E F1<ad6f>A F2(option)2.5 E F0 2.5(][)C F1(+o)-2.5 E F2(option)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .447 -(Modify completion options for each)144 417.6 R F2(name)2.947 E F0 .447 +(Modify completion options for each)144 153.6 R F2(name)2.947 E F0 .447 (according to the)2.947 F F2(option)2.947 E F0 .447 -(s, or for the currently-e)B -.15(xe)-.15 G(cution).15 E .725 -(completion if no)144 429.6 R F2(name)3.225 E F0 3.225(sa)C .725 -(re supplied.)-3.225 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa) -C .725(re gi)-3.225 F -.15(ve)-.25 G .726 -(n, display the completion options for).15 F(each)144 441.6 Q F2(name) -3.224 E F0 .724(or the current completion.)3.224 F .724(The possible v) +(s, or for the currently-e)B -.15(xe)-.15 G(cution).15 E .726 +(completion if no)144 165.6 R F2(name)3.226 E F0 3.226(sa)C .726 +(re supplied.)-3.226 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa) +C .725(re gi)-3.225 F -.15(ve)-.25 G .725 +(n, display the completion options for).15 F(each)144 177.6 Q F2(name) +3.223 E F0 .723(or the current completion.)3.223 F .724(The possible v) 5.724 F .724(alues of)-.25 F F2(option)3.224 E F0 .724(are those v)3.224 -F .723(alid for the)-.25 F F1(com-)3.223 E(plete)144 453.6 Q F0 -.2(bu) +F .724(alid for the)-.25 F F1(com-)3.224 E(plete)144 189.6 Q F0 -.2(bu) 2.5 G(iltin described abo).2 E -.15(ve)-.15 G(.).15 E .327(The return v) -108 470.4 R .327(alue is true unless an in)-.25 F -.25(va)-.4 G .327 +108 206.4 R .327(alue is true unless an in)-.25 F -.25(va)-.4 G .327 (lid option is supplied, an attempt is made to modify the options for a) -.25 F F2(name)108 482.4 Q F0(for which no completion speci\214cation e) -2.5 E(xists, or an output error occurs.)-.15 E F1(continue)108 499.2 Q -F0([)2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 511.2 R 1.754 +.25 F F2(name)108 218.4 Q F0(for which no completion speci\214cation e) +2.5 E(xists, or an output error occurs.)-.15 E F1(continue)108 235.2 Q +F0([)2.5 E F2(n)A F0(])A 1.753(Resume the ne)144 247.2 R 1.753 (xt iteration of the enclosing)-.15 F F1 -.25(fo)4.254 G(r).25 E F0(,)A F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1 -(select)4.254 E F0 4.253(loop. If)4.254 F F2(n)4.613 E F0 1.753 -(is speci\214ed,)4.493 F 1.208(resume at the)144 523.2 R F2(n)3.709 E F0 -1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F4 10 +(select)4.254 E F0 4.254(loop. If)4.254 F F2(n)4.614 E F0 1.754 +(is speci\214ed,)4.494 F 1.209(resume at the)144 259.2 R F2(n)3.709 E F0 +1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F3 10 /Symbol SF<b3>3.709 E F0 3.709(1. If)3.709 F F2(n)4.069 E F0 1.209 -(is greater than the number of enclosing)3.949 F .668 -(loops, the last enclosing loop \(the `)144 535.2 R(`top-le)-.74 E -.15 -(ve)-.25 G(l').15 E 3.168('l)-.74 G .668(oop\) is resumed.)-3.168 F .667 -(The return v)5.667 F .667(alue is 0 unless the)-.25 F(shell is not e) -144 547.2 Q -.15(xe)-.15 G(cuting a loop when).15 E F1(continue)2.5 E F0 -(is e)2.5 E -.15(xe)-.15 G(cuted.).15 E F1(declar)108 564 Q(e)-.18 E F0 -([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C F2 -(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1(typeset)108 -576 Q F0([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C -F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E 1.264 -(Declare v)144 588 R 1.264(ariables and/or gi)-.25 F 1.564 -.15(ve t) --.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no)3.765 E F2(name) -3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 G 3.765(nt).15 G -1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F -.25(va)144 600 S -3.483(riables. The).25 F F1<ad70>3.483 E F0 .983 -(option will display the attrib)3.483 F .983(utes and v)-.2 F .982 -(alues of each)-.25 F F2(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F1 -<ad70>3.482 E F0 .982(is used)3.482 F(with)144 612 Q F2(name)3.579 E F0 -(ar)3.579 E 1.079(guments, additional options are ignored.)-.18 F(When) +(is greater than the number of enclosing)3.949 F .513 +(loops, the last enclosing loop \(the `)144 271.2 R(`top-le)-.74 E -.15 +(ve)-.25 G(l').15 E 3.013('l)-.74 G .513(oop\) is resumed.)-3.013 F .514 +(The return v)5.514 F .514(alue is 0 unless)-.25 F F2(n)3.014 E F0(is) +3.014 E(not greater than or equal to 1.)144 283.2 Q F1(declar)108 300 Q +(e)-.18 E F0([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5 +(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1 +(typeset)108 312 Q F0([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 +E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E +1.265(Declare v)144 324 R 1.265(ariables and/or gi)-.25 F 1.565 -.15 +(ve t)-.25 H 1.265(hem attrib).15 F 3.765(utes. If)-.2 F(no)3.765 E F2 +(name)3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 G 3.764 +(nt).15 G 1.264(hen display the v)-3.764 F 1.264(alues of)-.25 F -.25 +(va)144 336 S 3.482(riables. The).25 F F1<ad70>3.482 E F0 .982 +(option will display the attrib)3.482 F .982(utes and v)-.2 F .983 +(alues of each)-.25 F F2(name)3.483 E F0 5.983(.W).18 G(hen)-5.983 E F1 +<ad70>3.483 E F0 .983(is used)3.483 F(with)144 348 Q F2(name)3.58 E F0 +(ar)3.58 E 1.079(guments, additional options are ignored.)-.18 F(When) 6.079 E F1<ad70>3.579 E F0 1.079(is supplied without)3.579 F F2(name) -3.58 E F0(ar)3.58 E(gu-)-.18 E .151(ments, it will display the attrib) -144 624 R .151(utes and v)-.2 F .151(alues of all v)-.25 F .15 -(ariables ha)-.25 F .15(ving the attrib)-.2 F .15 -(utes speci\214ed by the)-.2 F .046(additional options.)144 636 R .046 -(If no other options are supplied with)5.046 F F1<ad70>2.547 E F0(,)A F1 -(declar)2.547 E(e)-.18 E F0 .047(will display the attrib)2.547 F .047 -(utes and)-.2 F -.25(va)144 648 S 1.363(lues of all shell v).25 F 3.863 -(ariables. The)-.25 F F1<ad66>3.863 E F0 1.362 -(option will restrict the display to shell functions.)3.863 F(The)6.362 -E F1<ad46>3.862 E F0 2.422(option inhibits the display of function de\ -\214nitions; only the function name and attrib)144 660 R 2.423(utes are) --.2 F 2.664(printed. If)144 672 R(the)2.664 E F1(extdeb)2.664 E(ug)-.2 E -F0 .164(shell option is enabled using)2.664 F F1(shopt)2.664 E F0 2.664 -(,t)C .163(he source \214le name and line number)-2.664 F 1.382 -(where the function is de\214ned are displayed as well.)144 684 R(The) +3.579 E F0(ar)3.579 E(gu-)-.18 E .15(ments, it will display the attrib) +144 360 R .15(utes and v)-.2 F .151(alues of all v)-.25 F .151 +(ariables ha)-.25 F .151(ving the attrib)-.2 F .151 +(utes speci\214ed by the)-.2 F .047(additional options.)144 372 R .047 +(If no other options are supplied with)5.047 F F1<ad70>2.547 E F0(,)A F1 +(declar)2.547 E(e)-.18 E F0 .046(will display the attrib)2.546 F .046 +(utes and)-.2 F -.25(va)144 384 S 1.362(lues of all shell v).25 F 3.862 +(ariables. The)-.25 F F1<ad66>3.862 E F0 1.363 +(option will restrict the display to shell functions.)3.862 F(The)6.363 +E F1<ad46>3.863 E F0 2.422(option inhibits the display of function de\ +\214nitions; only the function name and attrib)144 396 R 2.422(utes are) +-.2 F 2.663(printed. If)144 408 R(the)2.663 E F1(extdeb)2.663 E(ug)-.2 E +F0 .164(shell option is enabled using)2.663 F F1(shopt)2.664 E F0 2.664 +(,t)C .164(he source \214le name and line number)-2.664 F 1.382 +(where the function is de\214ned are displayed as well.)144 420 R(The) 6.382 E F1<ad46>3.882 E F0 1.382(option implies)3.882 F F1<ad66>3.882 E -F0 6.382(.T)C 1.382(he follo)-6.382 F(wing)-.25 E .794 -(options can be used to restrict output to v)144 696 R .794 -(ariables with the speci\214ed attrib)-.25 F .793(ute or to gi)-.2 F -1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 708 Q(utes:)-.2 E -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(49)198.445 E 0 Cg EP -%%Page: 50 50 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF<ad61>144 84 Q F0(Each)25.3 E/F2 10 -/Times-Italic@0 SF(name)2.5 E F0(is an array v)2.5 E(ariable \(see)-.25 -E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1<ad66>144 96 Q -F0(Use function names only)26.97 E(.)-.65 E F1<ad69>144 108 Q F0 .557 -(The v)27.52 F .558(ariable is treated as an inte)-.25 F .558 -(ger; arithmetic e)-.15 F -.25(va)-.25 G .558(luation \(see).25 F/F3 9 -/Times-Bold@0 SF .558(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E -(TION \))180 120 Q F0(is performed when the v)2.25 E -(ariable is assigned a v)-.25 E(alue.)-.25 E F1<ad72>144 132 Q F0(Mak) -25.86 E(e)-.1 E F2(name)5.047 E F0 5.047(sr)C(eadonly)-5.047 E 7.547(.T) --.65 G 2.546(hese names cannot then be assigned v)-7.547 F 2.546 -(alues by subsequent)-.25 F(assignment statements or unset.)180 144 Q F1 -<ad74>144 156 Q F0(Gi)26.97 E .729 -.15(ve e)-.25 H(ach).15 E F2(name) -2.929 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929 +F0 6.382(.T)C 1.382(he follo)-6.382 F(wing)-.25 E .793 +(options can be used to restrict output to v)144 432 R .794 +(ariables with the speci\214ed attrib)-.25 F .794(ute or to gi)-.2 F +1.094 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 444 Q(utes:)-.2 E F1 +<ad61>144 456 Q F0(Each)25.3 E F2(name)2.5 E F0(is an array v)2.5 E +(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).) +.15 E F1<ad66>144 468 Q F0(Use function names only)26.97 E(.)-.65 E F1 +<ad69>144 480 Q F0 .558(The v)27.52 F .558 +(ariable is treated as an inte)-.25 F .558(ger; arithmetic e)-.15 F -.25 +(va)-.25 G .558(luation \(see).25 F/F4 9/Times-Bold@0 SF .557 +(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION \))180 492 Q F0 +(is performed when the v)2.25 E(ariable is assigned a v)-.25 E(alue.) +-.25 E F1<ad72>144 504 Q F0(Mak)25.86 E(e)-.1 E F2(name)5.046 E F0 5.046 +(sr)C(eadonly)-5.046 E 7.546(.T)-.65 G 2.546 +(hese names cannot then be assigned v)-7.546 F 2.547 +(alues by subsequent)-.25 F(assignment statements or unset.)180 516 Q F1 +<ad74>144 528 Q F0(Gi)26.97 E .73 -.15(ve e)-.25 H(ach).15 E F2(name) +2.93 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929 (ute. T)-.2 F .429(raced functions inherit the)-.35 F F1(DEB)2.929 E(UG) --.1 E F0(and)2.93 E F1(RETURN)2.93 E F0(traps from the calling shell.) -180 168 Q(The trace attrib)5 E(ute has no special meaning for v)-.2 E -(ariables.)-.25 E F1<ad78>144 180 Q F0(Mark)25.3 E F2(name)2.5 E F0 2.5 +-.1 E F0(and)2.929 E F1(RETURN)2.929 E F0(traps from the calling shell.) +180 540 Q(The trace attrib)5 E(ute has no special meaning for v)-.2 E +(ariables.)-.25 E F1<ad78>144 552 Q F0(Mark)25.3 E F2(name)2.5 E F0 2.5 (sf)C(or e)-2.5 E(xport to subsequent commands via the en)-.15 E -(vironment.)-.4 E .121(Using `+' instead of `\255' turns of)144 196.8 R -2.621(ft)-.25 G .121(he attrib)-2.621 F .121(ute instead, with the e)-.2 -F .12(xceptions that)-.15 F F1(+a)2.62 E F0 .12(may not be used)2.62 F -1.236(to destro)144 208.8 R 3.736(ya)-.1 G 3.737(na)-3.736 G 1.237 +(vironment.)-.4 E .12(Using `+' instead of `\255' turns of)144 568.8 R +2.62(ft)-.25 G .12(he attrib)-2.62 F .121(ute instead, with the e)-.2 F +.121(xceptions that)-.15 F F1(+a)2.621 E F0 .121(may not be used)2.621 F +1.237(to destro)144 580.8 R 3.737(ya)-.1 G 3.737(na)-3.737 G 1.237 (rray v)-3.737 F 1.237(ariable and)-.25 F F1 1.237(+r will not r)3.737 F (emo)-.18 E 1.437 -.1(ve t)-.1 H 1.237(he r).1 F 1.237(eadonly attrib) --.18 F 3.737(ute. When)-.2 F 1.237(used in a)3.737 F .312(function, mak) -144 220.8 R .312(es each)-.1 F F2(name)2.812 E F1 .311 -(local, as with the local)2.812 F F0 2.811(command. If)2.811 F 2.811(av) -2.811 G .311(ariable name is follo)-3.061 F .311(wed by)-.25 F(=)144 -232.8 Q F2(value)A F0 3.238(,t)C .738(he v)-3.238 F .738(alue of the v) --.25 F .738(ariable is set to)-.25 F F2(value)3.238 E F0 5.738(.T)C .738 -(he return v)-5.738 F .739(alue is 0 unless an in)-.25 F -.25(va)-.4 G -.739(lid option is).25 F .603 -(encountered, an attempt is made to de\214ne a function using)144 244.8 -R/F4 10/Courier@0 SF .603(\255f foo=bar)3.103 F F0 3.103(,a)C 3.103(na) --3.103 G .603(ttempt is made to)-3.103 F 1.242(assign a v)144 256.8 R -1.242(alue to a readonly v)-.25 F 1.242 -(ariable, an attempt is made to assign a v)-.25 F 1.243 +-.18 F 3.737(ute. When)-.2 F 1.236(used in a)3.737 F .311(function, mak) +144 592.8 R .311(es each)-.1 F F2(name)2.811 E F1 .311 +(local, as with the local)2.811 F F0 2.811(command. If)2.811 F 2.811(av) +2.811 G .312(ariable name is follo)-3.061 F .312(wed by)-.25 F(=)144 +604.8 Q F2(value)A F0 3.239(,t)C .739(he v)-3.239 F .739(alue of the v) +-.25 F .739(ariable is set to)-.25 F F2(value)3.238 E F0 5.738(.T)C .738 +(he return v)-5.738 F .738(alue is 0 unless an in)-.25 F -.25(va)-.4 G +.738(lid option is).25 F .603 +(encountered, an attempt is made to de\214ne a function using)144 616.8 +R/F5 10/Courier@0 SF .603(\255f foo=bar)3.103 F F0 3.103(,a)C 3.103(na) +-3.103 G .604(ttempt is made to)-3.103 F 1.243(assign a v)144 628.8 R +1.243(alue to a readonly v)-.25 F 1.242 +(ariable, an attempt is made to assign a v)-.25 F 1.242 (alue to an array v)-.25 F(ariable)-.25 E 1.386 -(without using the compound assignment syntax \(see)144 268.8 R F1 +(without using the compound assignment syntax \(see)144 640.8 R F1 (Arrays)3.886 E F0(abo)3.886 E -.15(ve)-.15 G 1.386(\), one of the).15 F -F2(names)3.886 E F0 1.386(is not a)3.886 F -.25(va)144 280.8 S .171 +F2(names)3.886 E F0 1.386(is not a)3.886 F -.25(va)144 652.8 S .172 (lid shell v).25 F .171(ariable name, an attempt is made to turn of)-.25 -F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .172 -(ariable, an)-.25 F .96(attempt is made to turn of)144 292.8 R 3.46(fa) +F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .171 +(ariable, an)-.25 F .96(attempt is made to turn of)144 664.8 R 3.46(fa) -.25 G .96(rray status for an array v)-3.46 F .96 -(ariable, or an attempt is made to display a)-.25 F(non-e)144 304.8 Q -(xistent function with)-.15 E F1<ad66>2.5 E F0(.)A F1(dirs [+)108 321.6 +(ariable, or an attempt is made to display a)-.25 F(non-e)144 676.8 Q +(xistent function with)-.15 E F1<ad66>2.5 E F0(.)A F1(dirs [+)108 693.6 Q F2(n)A F1 2.5(][)C<ad>-2.5 E F2(n)A F1 2.5(][)C(\255cplv])-2.5 E F0 --.4(Wi)144 333.6 S .328 +-.4(Wi)144 705.6 S .329 (thout options, displays the list of currently remembered directories.) -.4 F .329(The def)5.329 F .329(ault display is on a)-.1 F 1.238 -(single line with directory names separated by spaces.)144 345.6 R 1.238 -(Directories are added to the list with the)6.238 F F1(pushd)144 357.6 Q +.4 F .328(The def)5.328 F .328(ault display is on a)-.1 F 1.238 +(single line with directory names separated by spaces.)144 717.6 R 1.238 +(Directories are added to the list with the)6.238 F F1(pushd)144 729.6 Q F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G -2.5(se).15 G(ntries from the list.)-2.5 E F1(+)144 369.6 Q F2(n)A F0 -1.564(Displays the)25.3 F F2(n)4.064 E F0 1.565 -(th entry counting from the left of the list sho)B 1.565(wn by)-.25 F F1 -(dirs)4.065 E F0 1.565(when in)4.065 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 381.6 Q F1<ad>144 393.6 Q F2 -(n)A F0 1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 +2.5(se).15 G(ntries from the list.)-2.5 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(50)197.335 E 0 Cg EP +%%Page: 51 51 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(+)144 84 Q/F2 10/Times-Italic@0 SF(n)A F0 +1.565(Displays the)25.3 F F2(n)4.065 E F0 1.565 +(th entry counting from the left of the list sho)B 1.564(wn by)-.25 F F1 +(dirs)4.064 E F0 1.564(when in)4.064 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E +(without options, starting with zero.)180 96 Q F1<ad>144 108 Q F2(n)A F0 +1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 (th entry counting from the right of the list sho)B 1.194(wn by)-.25 F F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 405.6 Q F1<ad63>144 417.6 Q F0 +(without options, starting with zero.)180 120 Q F1<ad63>144 132 Q F0 (Clears the directory stack by deleting all of the entries.)25.86 E F1 -<ad6c>144 429.6 Q F0 .324(Produces a longer listing; the def)27.52 F -.324(ault listing format uses a tilde to denote the home direc-)-.1 F -(tory)180 441.6 Q(.)-.65 E F1<ad70>144 453.6 Q F0 +<ad6c>144 144 Q F0 .324(Produces a longer listing; the def)27.52 F .324 +(ault listing format uses a tilde to denote the home direc-)-.1 F(tory) +180 156 Q(.)-.65 E F1<ad70>144 168 Q F0 (Print the directory stack with one entry per line.)24.74 E F1<ad76>144 -465.6 Q F0 .273(Print the directory stack with one entry per line, pre\ -\214xing each entry with its inde)25.3 F 2.772(xi)-.15 G 2.772(nt)-2.772 -G(he)-2.772 E(stack.)180 477.6 Q .257(The return v)144 494.4 R .258 +180 Q F0 .272(Print the directory stack with one entry per line, pre\ +\214xing each entry with its inde)25.3 F 2.773(xi)-.15 G 2.773(nt)-2.773 +G(he)-2.773 E(stack.)180 192 Q .258(The return v)144 208.8 R .258 (alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 (lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe) -.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-) -.15 F(tory stack.)144 506.4 Q F1(diso)108 523.2 Q(wn)-.1 E F0([)2.5 E F1 +.15 F(tory stack.)144 220.8 Q F1(diso)108 237.6 Q(wn)-.1 E F0([)2.5 E F1 (\255ar)A F0 2.5(][)C F1<ad68>-2.5 E F0 2.5(][)C F2(jobspec)-2.5 E F0 -(...])2.5 E -.4(Wi)144 535.2 S .295(thout options, each).4 F F2(jobspec) +(...])2.5 E -.4(Wi)144 249.6 S .295(thout options, each).4 F F2(jobspec) 4.535 E F0 .295(is remo)3.105 F -.15(ve)-.15 G 2.795(df).15 G .295 (rom the table of acti)-2.795 F .595 -.15(ve j)-.25 H 2.795(obs. If).15 -F F2(jobspec)4.535 E F0 .295(is not present,)3.105 F .243(and neither) -144 547.2 R F1 .243(\255a nor \255r is supplied, the shell')2.743 F +F F2(jobspec)4.535 E F0 .295(is not present,)3.105 F .244(and neither) +144 261.6 R F1 .243(\255a nor \255r is supplied, the shell')2.744 F 2.743(sn)-.37 G .243(otion of the)-2.743 F F2(curr)2.743 E .243(ent job) --.37 F F1 .243(is used.)2.743 F .244(If the \255h option)5.243 F .334 -(is gi)144 559.2 R -.1(ve)-.1 G .334(n, each).1 F F2(jobspec)4.574 E F0 +-.37 F F1 .243(is used.)2.743 F .243(If the \255h option)5.243 F .333 +(is gi)144 273.6 R -.1(ve)-.1 G .333(n, each).1 F F2(jobspec)4.574 E F0 .334(is not remo)3.144 F -.15(ve)-.15 G 2.834(df).15 G .334 (rom the table, b)-2.834 F .334(ut is mark)-.2 F .334(ed so that)-.1 F -F3(SIGHUP)2.834 E F0 .333(is not sent to)2.584 F 1.189 -(the job if the shell recei)144 571.2 R -.15(ve)-.25 G 3.689(sa).15 G F3 -(SIGHUP)A/F5 9/Times-Roman@0 SF(.)A F0 1.189(If no)5.689 F F2(jobspec) +/F3 9/Times-Bold@0 SF(SIGHUP)2.834 E F0 .334(is not sent to)2.584 F 1.19 +(the job if the shell recei)144 285.6 R -.15(ve)-.25 G 3.689(sa).15 G F3 +(SIGHUP)A/F4 9/Times-Roman@0 SF(.)A F0 1.189(If no)5.689 F F2(jobspec) 5.429 E F0 1.189(is present, and neither the)3.999 F F1<ad61>3.689 E F0 -1.19(nor the)3.69 F F1<ad72>3.69 E F0 1.57(option is supplied, the)144 -583.2 R F2(curr)4.07 E 1.57(ent job)-.37 F F0 1.57(is used.)4.07 F 1.569 -(If no)6.569 F F2(jobspec)5.809 E F0 1.569(is supplied, the)4.379 F F1 -<ad61>4.069 E F0 1.569(option means to)4.069 F(remo)144 595.2 Q .903 --.15(ve o)-.15 H 3.103(rm).15 G .603(ark all jobs; the)-3.103 F F1<ad72> -3.103 E F0 .603(option without a)3.103 F F2(jobspec)4.843 E F0(ar)3.414 -E .604(gument restricts operation to running)-.18 F 2.5(jobs. The)144 -607.2 R(return v)2.5 E(alue is 0 unless a)-.25 E F2(jobspec)4.24 E F0 -(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E F1(echo)108 624 Q +1.189(nor the)3.689 F F1<ad72>3.689 E F0 1.569(option is supplied, the) +144 297.6 R F2(curr)4.069 E 1.569(ent job)-.37 F F0 1.569(is used.)4.069 +F 1.569(If no)6.569 F F2(jobspec)5.809 E F0 1.57(is supplied, the)4.38 F +F1<ad61>4.07 E F0 1.57(option means to)4.07 F(remo)144 309.6 Q .904 -.15 +(ve o)-.15 H 3.104(rm).15 G .604(ark all jobs; the)-3.104 F F1<ad72> +3.103 E F0 .603(option without a)3.103 F F2(jobspec)4.843 E F0(ar)3.413 +E .603(gument restricts operation to running)-.18 F 2.5(jobs. The)144 +321.6 R(return v)2.5 E(alue is 0 unless a)-.25 E F2(jobspec)4.24 E F0 +(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E F1(echo)108 338.4 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.395(Output the)144 636 R F2(ar)2.895 E(g)-.37 E F0 .395 +.394(Output the)144 350.4 R F2(ar)2.894 E(g)-.37 E F0 .394 (s, separated by spaces, follo)B .395(wed by a ne)-.25 F 2.895 -(wline. The)-.25 F .394(return status is al)2.895 F -.1(wa)-.1 G .394 -(ys 0.).1 F(If)5.394 E F1<ad6e>2.894 E F0 .548 -(is speci\214ed, the trailing ne)144 648 R .548(wline is suppressed.) +(wline. The)-.25 F .395(return status is al)2.895 F -.1(wa)-.1 G .395 +(ys 0.).1 F(If)5.395 E F1<ad6e>2.895 E F0 .549 +(is speci\214ed, the trailing ne)144 362.4 R .548(wline is suppressed.) -.25 F .548(If the)5.548 F F1<ad65>3.048 E F0 .548(option is gi)3.048 F --.15(ve)-.25 G .548(n, interpretation of the fol-).15 F(lo)144 660 Q -.053(wing backslash-escaped characters is enabled.)-.25 F(The)5.053 E F1 -<ad45>2.553 E F0 .052(option disables the interpretation of these)2.552 -F 1.502(escape characters, e)144 672 R -.15(ve)-.25 G 4.002(no).15 G -4.002(ns)-4.002 G 1.502(ystems where the)-4.002 F 4.002(ya)-.15 G 1.502 -(re interpreted by def)-4.002 F 4.003(ault. The)-.1 F F1(xpg_echo)4.003 -E F0(shell)4.003 E .009 -(option may be used to dynamically determine whether or not)144 684 R F1 -(echo)2.509 E F0 -.15(ex)2.509 G .009(pands these escape characters).15 -F .659(by def)144 696 R(ault.)-.1 E F1(echo)5.659 E F0 .659 -(does not interpret)3.159 F F1<adad>3.159 E F0 .659 -(to mean the end of options.)3.159 F F1(echo)5.66 E F0 .66 -(interprets the follo)3.16 F(wing)-.25 E(escape sequences:)144 708 Q -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(50)198.445 E 0 Cg EP -%%Page: 51 51 +-.15(ve)-.25 G .548(n, interpretation of the fol-).15 F(lo)144 374.4 Q +.052(wing backslash-escaped characters is enabled.)-.25 F(The)5.052 E F1 +<ad45>2.552 E F0 .053(option disables the interpretation of these)2.553 +F 1.503(escape characters, e)144 386.4 R -.15(ve)-.25 G 4.003(no).15 G +4.003(ns)-4.003 G 1.502(ystems where the)-4.003 F 4.002(ya)-.15 G 1.502 +(re interpreted by def)-4.002 F 4.002(ault. The)-.1 F F1(xpg_echo)4.002 +E F0(shell)4.002 E .009 +(option may be used to dynamically determine whether or not)144 398.4 R +F1(echo)2.509 E F0 -.15(ex)2.51 G .01(pands these escape characters).15 +F .66(by def)144 410.4 R(ault.)-.1 E F1(echo)5.66 E F0 .66 +(does not interpret)3.16 F F1<adad>3.16 E F0 .659 +(to mean the end of options.)3.159 F F1(echo)5.659 E F0 .659 +(interprets the follo)3.159 F(wing)-.25 E(escape sequences:)144 422.4 Q +F1(\\a)144 434.4 Q F0(alert \(bell\))28.22 E F1(\\b)144 446.4 Q F0 +(backspace)27.66 E F1(\\c)144 458.4 Q F0(suppress trailing ne)28.78 E +(wline)-.25 E F1(\\e)144 470.4 Q F0(an escape character)28.78 E F1(\\f) +144 482.4 Q F0(form feed)29.89 E F1(\\n)144 494.4 Q F0(ne)27.66 E 2.5 +(wl)-.25 G(ine)-2.5 E F1(\\r)144 506.4 Q F0(carriage return)28.78 E F1 +(\\t)144 518.4 Q F0(horizontal tab)29.89 E F1(\\v)144 530.4 Q F0 -.15 +(ve)28.22 G(rtical tab).15 E F1(\\\\)144 542.4 Q F0(backslash)30.44 E F1 +(\\0)144 554.4 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E +(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 +(\(zero to three octal digits\))2.5 E F1(\\x)144 566.4 Q F2(HH)A F0 +(the eight-bit character whose v)13.78 E(alue is the he)-.25 E +(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) +-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(enable)108 583.2 Q F0([)2.5 E +F1<ad61>A F0 2.5(][)C F1(\255dnps)-2.5 E F0 2.5(][)C F1<ad66>-2.5 E F2 +(\214lename)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .277 +(Enable and disable b)144 595.2 R .278(uiltin shell commands.)-.2 F .278 +(Disabling a b)5.278 F .278(uiltin allo)-.2 F .278 +(ws a disk command which has)-.25 F .834(the same name as a shell b)144 +607.2 R .834(uiltin to be e)-.2 F -.15(xe)-.15 G .834 +(cuted without specifying a full pathname, e).15 F -.15(ve)-.25 G 3.333 +(nt).15 G(hough)-3.333 E .989(the shell normally searches for b)144 +619.2 R .989(uiltins before disk commands.)-.2 F(If)5.989 E F1<ad6e> +3.489 E F0 .99(is used, each)3.49 F F2(name)3.49 E F0 .99(is dis-)3.49 F +1.582(abled; otherwise,)144 631.2 R F2(names)4.082 E F0 1.582 +(are enabled.)4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582 +(xample, to use the)-4.232 F F1(test)4.082 E F0 1.582 +(binary found via the)4.082 F F3 -.666(PA)4.081 G(TH)-.189 E F0 .08 +(instead of the shell b)144 643.2 R .08(uiltin v)-.2 F .08(ersion, run) +-.15 F/F5 10/Courier@0 SF .081(enable -n test)2.58 F F0 5.081(.T)C(he) +-5.081 E F1<ad66>2.581 E F0 .081(option means to load the ne)2.581 F(w) +-.25 E -.2(bu)144 655.2 S 1.525(iltin command).2 F F2(name)4.385 E F0 +1.524(from shared object)4.204 F F2(\214lename)4.024 E F0 4.024(,o).18 G +4.024(ns)-4.024 G 1.524(ystems that support dynamic loading.)-4.024 F +(The)144 667.2 Q F1<ad64>2.866 E F0 .366(option will delete a b)2.866 F +.366(uiltin pre)-.2 F .366(viously loaded with)-.25 F F1<ad66>2.867 E F0 +5.367(.I)C 2.867(fn)-5.367 G(o)-2.867 E F2(name)2.867 E F0(ar)2.867 E +.367(guments are gi)-.18 F -.15(ve)-.25 G .367(n, or).15 F .399(if the) +144 679.2 R F1<ad70>2.899 E F0 .399 +(option is supplied, a list of shell b)2.899 F .399(uiltins is printed.) +-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 F .398(guments, the) +-.18 F .098(list consists of all enabled shell b)144 691.2 R 2.598 +(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098(is supplied, only disabled b) +2.598 F .099(uiltins are printed.)-.2 F(If)5.099 E F1<ad61>2.599 E F0 +1.917(is supplied, the list printed includes all b)144 703.2 R 1.916 +(uiltins, with an indication of whether or not each is)-.2 F 2.878 +(enabled. If)144 715.2 R F1<ad73>2.878 E F0 .379 +(is supplied, the output is restricted to the POSIX)2.878 F F2(special) +2.879 E F0 -.2(bu)2.879 G 2.879(iltins. The).2 F .379(return v)2.879 F +(alue)-.25 E .995(is 0 unless a)144 727.2 R F2(name)3.855 E F0 .994 +(is not a shell b)3.675 F .994(uiltin or there is an error loading a ne) +-.2 F 3.494(wb)-.25 G .994(uiltin from a shared)-3.694 F(GNU Bash-4.0)72 +768 Q(2008 May 25)147.345 E(51)197.335 E 0 Cg EP +%%Page: 52 52 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(\\a)144 84 Q F0(alert \(bell\))28.22 E F1 -(\\b)144 96 Q F0(backspace)27.66 E F1(\\c)144 108 Q F0 -(suppress trailing ne)28.78 E(wline)-.25 E F1(\\e)144 120 Q F0 -(an escape character)28.78 E F1(\\f)144 132 Q F0(form feed)29.89 E F1 -(\\n)144 144 Q F0(ne)27.66 E 2.5(wl)-.25 G(ine)-2.5 E F1(\\r)144 156 Q -F0(carriage return)28.78 E F1(\\t)144 168 Q F0(horizontal tab)29.89 E F1 -(\\v)144 180 Q F0 -.15(ve)28.22 G(rtical tab).15 E F1(\\\\)144 192 Q F0 -(backslash)30.44 E F1(\\0)144 204 Q/F2 10/Times-Italic@0 SF(nnn)A F0 -(the eight-bit character whose v)13.22 E(alue is the octal v)-.25 E -(alue)-.25 E F2(nnn)2.5 E F0(\(zero to three octal digits\))2.5 E F1 -(\\x)144 216 Q F2(HH)A F0(the eight-bit character whose v)13.78 E -(alue is the he)-.25 E(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0 -(\(one or tw)2.5 E 2.5(oh)-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1 -(enable)108 232.8 Q F0([)2.5 E F1<ad61>A F0 2.5(][)C F1(\255dnps)-2.5 E -F0 2.5(][)C F1<ad66>-2.5 E F2(\214lename)2.5 E F0 2.5(][)C F2(name)-2.5 -E F0(...])2.5 E .278(Enable and disable b)144 244.8 R .278 -(uiltin shell commands.)-.2 F .278(Disabling a b)5.278 F .278 -(uiltin allo)-.2 F .278(ws a disk command which has)-.25 F .833 -(the same name as a shell b)144 256.8 R .834(uiltin to be e)-.2 F -.15 -(xe)-.15 G .834(cuted without specifying a full pathname, e).15 F -.15 -(ve)-.25 G 3.334(nt).15 G(hough)-3.334 E .99 -(the shell normally searches for b)144 268.8 R .989 -(uiltins before disk commands.)-.2 F(If)5.989 E F1<ad6e>3.489 E F0 .989 -(is used, each)3.489 F F2(name)3.489 E F0 .989(is dis-)3.489 F 1.581 -(abled; otherwise,)144 280.8 R F2(names)4.082 E F0 1.582(are enabled.) -4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582(xample, to use the)-4.232 F -F1(test)4.082 E F0 1.582(binary found via the)4.082 F/F3 9/Times-Bold@0 -SF -.666(PA)4.082 G(TH)-.189 E F0 .081(instead of the shell b)144 292.8 -R .081(uiltin v)-.2 F .081(ersion, run)-.15 F/F4 10/Courier@0 SF .081 -(enable -n test)2.581 F F0 5.081(.T)C(he)-5.081 E F1<ad66>2.58 E F0 .08 -(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 304.8 S 1.524 -(iltin command).2 F F2(name)4.384 E F0 1.524(from shared object)4.204 F -F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524 -(ystems that support dynamic loading.)-4.024 F(The)144 316.8 Q F1<ad64> -2.867 E F0 .367(option will delete a b)2.867 F .367(uiltin pre)-.2 F -.367(viously loaded with)-.25 F F1<ad66>2.866 E F0 5.366(.I)C 2.866(fn) --5.366 G(o)-2.866 E F2(name)2.866 E F0(ar)2.866 E .366(guments are gi) --.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 328.8 R F1<ad70> -2.898 E F0 .399(option is supplied, a list of shell b)2.899 F .399 -(uiltins is printed.)-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 -F .399(guments, the)-.18 F .099(list consists of all enabled shell b)144 -340.8 R 2.598(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098 -(is supplied, only disabled b)2.598 F .098(uiltins are printed.)-.2 F -(If)5.098 E F1<ad61>2.598 E F0 1.916 -(is supplied, the list printed includes all b)144 352.8 R 1.916 -(uiltins, with an indication of whether or not each is)-.2 F 2.879 -(enabled. If)144 364.8 R F1<ad73>2.879 E F0 .379 -(is supplied, the output is restricted to the POSIX)2.879 F F2(special) -2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F -(alue)-.25 E .994(is 0 unless a)144 376.8 R F2(name)3.854 E F0 .994 -(is not a shell b)3.674 F .994(uiltin or there is an error loading a ne) --.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(object.)144 -388.8 Q F1 -2.3 -.15(ev a)108 405.6 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37 -E F0(...])2.5 E(The)144 417.6 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa)C -.671(re read and concatenated together into a single command.)-3.171 F -.67(This command is then read)5.67 F .495(and e)144 429.6 R -.15(xe)-.15 -G .495(cuted by the shell, and its e).15 F .495 +-.35 E(object.)144 84 Q/F1 10/Times-Bold@0 SF -2.3 -.15(ev a)108 100.8 T +(l).15 E F0([)2.5 E/F2 10/Times-Italic@0 SF(ar)A(g)-.37 E F0(...])2.5 E +(The)144 112.8 Q F2(ar)3.17 E(g)-.37 E F0 3.17(sa)C .671 +(re read and concatenated together into a single command.)-3.17 F .671 +(This command is then read)5.671 F .495(and e)144 124.8 R -.15(xe)-.15 G +.495(cuted by the shell, and its e).15 F .495 (xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15 (ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no) --2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 441.6 Q +-2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 136.8 Q (guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E F1 -(exec)108 458.4 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1<ad61>-2.5 E F2 +(exec)108 153.6 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1<ad61>-2.5 E F2 (name)2.5 E F0 2.5(][)C F2(command)-2.5 E F0([)2.5 E F2(ar)A(guments) --.37 E F0(]])A(If)144 470.4 Q F2(command)3.006 E F0 .306 -(is speci\214ed, it replaces the shell.)3.576 F .305(No ne)5.305 F 2.805 -(wp)-.25 G .305(rocess is created.)-2.805 F(The)5.305 E F2(ar)3.135 E -(guments)-.37 E F0(become)3.075 E .176(the ar)144 482.4 R .176 +-.37 E F0(]])A(If)144 165.6 Q F2(command)3.005 E F0 .305 +(is speci\214ed, it replaces the shell.)3.575 F .305(No ne)5.305 F 2.805 +(wp)-.25 G .306(rocess is created.)-2.805 F(The)5.306 E F2(ar)3.136 E +(guments)-.37 E F0(become)3.076 E .177(the ar)144 177.6 R .177 (guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft)-5.176 G (he)-2.676 E F1<ad6c>2.676 E F0 .176 -(option is supplied, the shell places a dash at the be)2.676 F .177 -(ginning of)-.15 F .5(the zeroth ar)144 494.4 R .5(gument passed to)-.18 -F F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 -E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F1<ad63>2.999 E F0 -.499(option causes)2.999 F F2(com-)3.199 E(mand)144 506.4 Q F0 .638 -(to be e)3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 +(option is supplied, the shell places a dash at the be)2.676 F .176 +(ginning of)-.15 F .499(the zeroth ar)144 189.6 R .499(gument passed to) +-.18 F F2(command)2.999 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2 +(lo)2.999 E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.5 E F1<ad63>3 E F0 +.5(option causes)3 F F2(com-)3.2 E(mand)144 201.6 Q F0 .639(to be e) +3.909 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 (vironment. If)-.4 F F1<ad61>3.138 E F0 .638 -(is supplied, the shell passes)3.138 F F2(name)3.499 E F0 .639(as the) -3.319 F 1.078(zeroth ar)144 518.4 R 1.077(gument to the e)-.18 F -.15 +(is supplied, the shell passes)3.138 F F2(name)3.498 E F0 .638(as the) +3.318 F 1.077(zeroth ar)144 213.6 R 1.077(gument to the e)-.18 F -.15 (xe)-.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 1.077(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a) -.15 F(non-interacti)144 530.4 Q .617 -.15(ve s)-.25 H .317(hell e).15 F -.317(xits, unless the shell option)-.15 F F1(execfail)2.817 E F0 .318 +.15 F(non-interacti)144 225.6 Q .618 -.15(ve s)-.25 H .318(hell e).15 F +.318(xits, unless the shell option)-.15 F F1(execfail)2.817 E F0 .317 (is enabled, in which case it returns f)2.817 F(ail-)-.1 E 2.505 -(ure. An)144 542.4 R(interacti)2.505 E .305 -.15(ve s)-.25 H .005 +(ure. An)144 237.6 R(interacti)2.505 E .305 -.15(ve s)-.25 H .005 (hell returns f).15 F .005(ailure if the \214le cannot be e)-.1 F -.15 (xe)-.15 G 2.505(cuted. If).15 F F2(command)2.705 E F0 .005 -(is not speci\214ed,)3.275 F(an)144 554.4 Q 3.036(yr)-.15 G .536 -(edirections tak)-3.036 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 +(is not speci\214ed,)3.275 F(an)144 249.6 Q 3.037(yr)-.15 G .537 +(edirections tak)-3.037 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 (ect in the current shell, and the return status is 0.).25 F .536 -(If there is a redirection)5.536 F(error)144 566.4 Q 2.5(,t)-.4 G -(he return status is 1.)-2.5 E F1(exit)108 583.2 Q F0([)2.5 E F2(n)A F0 -6.29(]C)C .096(ause the shell to e)-6.29 F .096(xit with a status of) --.15 F F2(n)2.596 E F0 5.096(.I)C(f)-5.096 E F2(n)2.955 E F0 .095 -(is omitted, the e)2.835 F .095(xit status is that of the last command) --.15 F -.15(exe)144 595.2 S 2.5(cuted. A).15 F(trap on)2.5 E F3(EXIT)2.5 -E F0(is e)2.25 E -.15(xe)-.15 G(cuted before the shell terminates.).15 E -F1(export)108 612 Q F0([)2.5 E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 -E F0([=)A F2(wor)A(d)-.37 E F0(]] ...)A F1(export \255p)108 624 Q F0 -.256(The supplied)144 636 R F2(names)3.117 E F0 .257(are mark)3.027 F -.257(ed for automatic e)-.1 F .257(xport to the en)-.15 F .257 -(vironment of subsequently e)-.4 F -.15(xe)-.15 G(cuted).15 E 2.627 -(commands. If)144 648 R(the)2.627 E F1<ad66>2.627 E F0 .127 -(option is gi)2.627 F -.15(ve)-.25 G .127(n, the).15 F F2(names)2.987 E -F0 .127(refer to functions.)2.897 F .127(If no)5.127 F F2(names)2.987 E -F0 .127(are gi)2.897 F -.15(ve)-.25 G .126(n, or if the).15 F F1<ad70> -144 660 Q F0 .659(option is supplied, a list of all names that are e) -3.159 F .66(xported in this shell is printed.)-.15 F(The)5.66 E F1<ad6e> -3.16 E F0(option)3.16 E 1.587(causes the e)144 672 R 1.587 +(If there is a redirection)5.536 F(error)144 261.6 Q 2.5(,t)-.4 G +(he return status is 1.)-2.5 E F1(exit)108 278.4 Q F0([)2.5 E F2(n)A F0 +6.29(]C)C .095(ause the shell to e)-6.29 F .095(xit with a status of) +-.15 F F2(n)2.595 E F0 5.095(.I)C(f)-5.095 E F2(n)2.955 E F0 .096 +(is omitted, the e)2.835 F .096(xit status is that of the last command) +-.15 F -.15(exe)144 290.4 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9 +/Times-Bold@0 SF(EXIT)2.5 E F0(is e)2.25 E -.15(xe)-.15 G +(cuted before the shell terminates.).15 E F1(export)108 307.2 Q F0([)2.5 +E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 E F0([=)A F2(wor)A(d)-.37 E +F0(]] ...)A F1(export \255p)108 319.2 Q F0 .257(The supplied)144 331.2 R +F2(names)3.117 E F0 .257(are mark)3.027 F .257(ed for automatic e)-.1 F +.257(xport to the en)-.15 F .257(vironment of subsequently e)-.4 F -.15 +(xe)-.15 G(cuted).15 E 2.626(commands. If)144 343.2 R(the)2.626 E F1 +<ad66>2.626 E F0 .127(option is gi)2.627 F -.15(ve)-.25 G .127(n, the) +.15 F F2(names)2.987 E F0 .127(refer to functions.)2.897 F .127(If no) +5.127 F F2(names)2.987 E F0 .127(are gi)2.897 F -.15(ve)-.25 G .127 +(n, or if the).15 F F1<ad70>144 355.2 Q F0 .66 +(option is supplied, a list of all names that are e)3.16 F .659 +(xported in this shell is printed.)-.15 F(The)5.659 E F1<ad6e>3.159 E F0 +(option)3.159 E 1.586(causes the e)144 367.2 R 1.586 (xport property to be remo)-.15 F -.15(ve)-.15 G 4.086(df).15 G 1.586 (rom each)-4.086 F F2(name)4.086 E F0 6.586(.I)C 4.086(fav)-6.586 G -1.586(ariable name is follo)-4.336 F 1.586(wed by)-.25 F(=)144 684 Q F2 -(wor)A(d)-.37 E F0 2.803(,t)C .303(he v)-2.803 F .303(alue of the v)-.25 -F .304(ariable is set to)-.25 F F2(wor)2.804 E(d)-.37 E F0(.)A F1 -(export)5.304 E F0 .304(returns an e)2.804 F .304 -(xit status of 0 unless an in)-.15 F -.25(va)-.4 G(lid).25 E .294 -(option is encountered, one of the)144 696 R F2(names)2.793 E F0 .293 +1.587(ariable name is follo)-4.336 F 1.587(wed by)-.25 F(=)144 379.2 Q +F2(wor)A(d)-.37 E F0 2.804(,t)C .304(he v)-2.804 F .304(alue of the v) +-.25 F .304(ariable is set to)-.25 F F2(wor)2.804 E(d)-.37 E F0(.)A F1 +(export)5.304 E F0 .304(returns an e)2.804 F .303 +(xit status of 0 unless an in)-.15 F -.25(va)-.4 G(lid).25 E .293 +(option is encountered, one of the)144 391.2 R F2(names)2.793 E F0 .293 (is not a v)2.793 F .293(alid shell v)-.25 F .293(ariable name, or)-.25 -F F1<ad66>2.793 E F0 .293(is supplied with a)2.793 F F2(name)144.36 708 -Q F0(that is not a function.)2.68 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(51)198.445 E 0 Cg EP -%%Page: 52 52 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(fc)108 84 Q F0([)2.5 E F1<ad65>A/F2 10 -/Times-Italic@0 SF(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C -F2<8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s) -108 96 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 -(cmd)-2.5 E F0(])A .477(Fix Command.)144 108 R .478 -(In the \214rst form, a range of commands from)5.477 F F2<8c72>4.888 E -(st)-.1 E F0(to)3.658 E F2(last)3.068 E F0 .478 -(is selected from the his-)3.658 F .882(tory list.)144 120 R F2 -.45(Fi) -5.882 G -.1(rs).45 G(t).1 E F0(and)4.062 E F2(last)3.472 E F0 .882 +F F1<ad66>2.793 E F0 .294(is supplied with a)2.793 F F2(name)144.36 +403.2 Q F0(that is not a function.)2.68 E F1(fc)108 420 Q F0([)2.5 E F1 +<ad65>A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2 +<8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s)108 +432 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 +(cmd)-2.5 E F0(])A .478(Fix Command.)144 444 R .478 +(In the \214rst form, a range of commands from)5.478 F F2<8c72>4.888 E +(st)-.1 E F0(to)3.658 E F2(last)3.068 E F0 .477 +(is selected from the his-)3.658 F .881(tory list.)144 456 R F2 -.45(Fi) +5.881 G -.1(rs).45 G(t).1 E F0(and)4.061 E F2(last)3.471 E F0 .882 (may be speci\214ed as a string \(to locate the last command be)4.062 F -.881(ginning with)-.15 F .797(that string\) or as a number \(an inde)144 -132 R 3.297(xi)-.15 G .797(nto the history list, where a ne)-3.297 F --.05(ga)-.15 G(ti).05 E 1.097 -.15(ve n)-.25 H .797(umber is used as an) -.15 F(of)144 144 Q .277(fset from the current command number\).)-.25 F -(If)5.277 E F2(last)2.867 E F0 .276 -(is not speci\214ed it is set to the current command)3.457 F .092 -(for listing \(so that)144 156 R/F3 10/Courier@0 SF .092 +.882(ginning with)-.15 F .797(that string\) or as a number \(an inde)144 +468 R 3.297(xi)-.15 G .797(nto the history list, where a ne)-3.297 F +-.05(ga)-.15 G(ti).05 E 1.097 -.15(ve n)-.25 H .796(umber is used as an) +.15 F(of)144 480 Q .276(fset from the current command number\).)-.25 F +(If)5.276 E F2(last)2.866 E F0 .277 +(is not speci\214ed it is set to the current command)3.456 F .093 +(for listing \(so that)144 492 R/F4 10/Courier@0 SF .092 (fc \255l \25510)2.592 F F0 .092(prints the last 10 commands\) and to) 2.592 F F2<8c72>4.502 E(st)-.1 E F0 2.592(otherwise. If)3.272 F F2<8c72> -4.502 E(st)-.1 E F0 .093(is not)3.273 F -(speci\214ed it is set to the pre)144 168 Q -(vious command for editing and \25516 for listing.)-.25 E(The)144 192 Q +4.502 E(st)-.1 E F0 .092(is not)3.272 F +(speci\214ed it is set to the pre)144 504 Q +(vious command for editing and \25516 for listing.)-.25 E(The)144 528 Q F1<ad6e>2.522 E F0 .022 (option suppresses the command numbers when listing.)2.522 F(The)5.022 E F1<ad72>2.522 E F0 .022(option re)2.522 F -.15(ve)-.25 G .022 -(rses the order of).15 F .438(the commands.)144 204 R .438(If the)5.438 +(rses the order of).15 F .438(the commands.)144 540 R .438(If the)5.438 F F1<ad6c>2.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 (n, the commands are listed on standard output.).15 F(Otherwise,)5.438 E -.335(the editor gi)144 216 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E F2 -(ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835(do) +.334(the editor gi)144 552 R -.15(ve)-.25 G 2.834(nb).15 G(y)-2.834 E F2 +(ename)3.024 E F0 .335(is in)3.014 F -.2(vo)-.4 G -.1(ke).2 G 2.835(do) .1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 F -(If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G -(n,).15 E .63(the v)144 228 R .63(alue of the)-.25 F/F4 9/Times-Bold@0 -SF(FCEDIT)3.13 E F0 -.25(va)2.88 G .631(riable is used, and the v).25 F -.631(alue of)-.25 F F4(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F4(FCEDIT) -3.131 E F0 .631(is not set.)2.881 F .631(If nei-)5.631 F .951(ther v)144 -240 R .951(ariable is set,)-.25 F F2(vi)5.117 E F0 .951(is used.)5.117 F -.95(When editing is complete, the edited commands are echoed and)5.951 F --.15(exe)144 252 S(cuted.).15 E .039(In the second form,)144 276 R F2 -(command)2.539 E F0 .039(is re-e)2.539 F -.15(xe)-.15 G .039 -(cuted after each instance of).15 F F2(pat)2.54 E F0 .04(is replaced by) -2.54 F F2 -.37(re)2.54 G(p).37 E F0 5.04(.A)C(useful)-2.5 E .406 -(alias to use with this is)144 288 R F3 .406(r='fc \255s')2.906 F F0 -2.906(,s)C 2.906(ot)-2.906 G .406(hat typing)-2.906 F F3 6.406(rc)2.906 -G(c)-6.406 E F0 .406(runs the last command be)2.906 F .406(ginning with) --.15 F F3(cc)144 300 Q F0(and typing)2.5 E F3(r)2.5 E F0(re-e)2.5 E -.15 -(xe)-.15 G(cutes the last command.).15 E .142 -(If the \214rst form is used, the return v)144 324 R .142 +(If)5.335 E F2(ename)3.025 E F0 .335(is not gi)3.015 F -.15(ve)-.25 G +(n,).15 E .631(the v)144 564 R .631(alue of the)-.25 F F3(FCEDIT)3.131 E +F0 -.25(va)2.881 G .631(riable is used, and the v).25 F .631(alue of) +-.25 F F3(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F3(FCEDIT)3.13 E F0 .63 +(is not set.)2.88 F .63(If nei-)5.63 F .95(ther v)144 576 R .95 +(ariable is set,)-.25 F F2(vi)5.116 E F0 .95(is used.)5.116 F .951 +(When editing is complete, the edited commands are echoed and)5.95 F +-.15(exe)144 588 S(cuted.).15 E .04(In the second form,)144 612 R F2 +(command)2.54 E F0 .04(is re-e)2.54 F -.15(xe)-.15 G .039 +(cuted after each instance of).15 F F2(pat)2.539 E F0 .039 +(is replaced by)2.539 F F2 -.37(re)2.539 G(p).37 E F0 5.039(.A)C(useful) +-2.5 E .406(alias to use with this is)144 624 R F4 .406(r='fc \255s') +2.906 F F0 2.906(,s)C 2.906(ot)-2.906 G .406(hat typing)-2.906 F F4 +6.406(rc)2.906 G(c)-6.406 E F0 .406(runs the last command be)2.906 F +.407(ginning with)-.15 F F4(cc)144 636 Q F0(and typing)2.5 E F4(r)2.5 E +F0(re-e)2.5 E -.15(xe)-.15 G(cutes the last command.).15 E .142 +(If the \214rst form is used, the return v)144 660 R .142 (alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 (lid option is encountered or).25 F F2<8c72>4.552 E(st)-.1 E F0(or)3.322 -E F2(last)2.732 E F0 .455(specify history lines out of range.)144 336 R +E F2(last)2.732 E F0 .454(specify history lines out of range.)144 672 R .454(If the)5.454 F F1<ad65>2.954 E F0 .454 -(option is supplied, the return v)2.954 F .454(alue is the v)-.25 F .454 -(alue of the)-.25 F .787(last command e)144 348 R -.15(xe)-.15 G .787 -(cuted or f).15 F .788 +(option is supplied, the return v)2.954 F .455(alue is the v)-.25 F .455 +(alue of the)-.25 F .788(last command e)144 684 R -.15(xe)-.15 G .788 +(cuted or f).15 F .787 (ailure if an error occurs with the temporary \214le of commands.)-.1 F -.788(If the)5.788 F 1.136 +.787(If the)5.787 F 1.135 (second form is used, the return status is that of the command re-e)144 -360 R -.15(xe)-.15 G 1.135(cuted, unless).15 F F2(cmd)3.835 E F0 1.135 -(does not)4.405 F(specify a v)144 372 Q +696 R -.15(xe)-.15 G 1.136(cuted, unless).15 F F2(cmd)3.836 E F0 1.136 +(does not)4.406 F(specify a v)144 708 Q (alid history line, in which case)-.25 E F1(fc)2.5 E F0(returns f)2.5 E -(ailure.)-.1 E F1(fg)108 388.8 Q F0([)2.5 E F2(jobspec)A F0(])A(Resume) -144 400.8 Q F2(jobspec)5.653 E F0 1.413(in the fore)4.223 F 1.413 -(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413 -(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2(jobspec)5.653 E F0 -1.414(is not present, the)4.223 F(shell')144 412.8 Q 3.117(sn)-.55 G -.617(otion of the)-3.117 F F2(curr)3.117 E .617(ent job)-.37 F F0 .617 -(is used.)3.117 F .617(The return v)5.617 F .616 -(alue is that of the command placed into the)-.25 F(fore)144 424.8 Q -.362(ground, or f)-.15 F .362 -(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .363 -(hen run with job control enabled, if)-2.862 F F2(jobspec)145.74 436.8 Q -F0 .004(does not specify a v)2.815 F .004(alid job or)-.25 F F2(jobspec) -4.244 E F0 .004(speci\214es a job that w)2.814 F .004 -(as started without job control.)-.1 F F1(getopts)108 453.6 Q F2 -(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs)-.37 E F0(])A F1(getopts)144 -465.6 Q F0 .793 -(is used by shell procedures to parse positional parameters.)3.293 F F2 -(optstring)6.023 E F0 .793(contains the option)3.513 F .15 -(characters to be recognized; if a character is follo)144 477.6 R .149 -(wed by a colon, the option is e)-.25 F .149(xpected to ha)-.15 F .449 --.15(ve a)-.2 H(n).15 E(ar)144 489.6 Q .578 -(gument, which should be separated from it by white space.)-.18 F .579 +(ailure.)-.1 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(52)197.335 E +0 Cg EP +%%Page: 53 53 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(fg)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 +SF(jobspec)A F0(])A(Resume)144 96 Q F2(jobspec)5.654 E F0 1.413 +(in the fore)4.224 F 1.413(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913 +(tt)-3.913 G 1.413(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2 +(jobspec)5.653 E F0 1.413(is not present, the)4.223 F(shell')144 108 Q +3.116(sn)-.55 G .616(otion of the)-3.116 F F2(curr)3.116 E .616(ent job) +-.37 F F0 .617(is used.)3.116 F .617(The return v)5.617 F .617 +(alue is that of the command placed into the)-.25 F(fore)144 120 Q .363 +(ground, or f)-.15 F .363(ailure if run when job control is disabled or) +-.1 F 2.862(,w)-.4 G .362(hen run with job control enabled, if)-2.862 F +F2(jobspec)145.74 132 Q F0 .004(does not specify a v)2.814 F .004 +(alid job or)-.25 F F2(jobspec)4.244 E F0 .004(speci\214es a job that w) +2.814 F .004(as started without job control.)-.1 F F1(getopts)108 148.8 +Q F2(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs)-.37 E F0(])A F1 +(getopts)144 160.8 Q F0 .793 +(is used by shell procedures to parse positional parameters.)3.294 F F2 +(optstring)6.023 E F0 .793(contains the option)3.513 F .149 +(characters to be recognized; if a character is follo)144 172.8 R .15 +(wed by a colon, the option is e)-.25 F .15(xpected to ha)-.15 F .45 +-.15(ve a)-.2 H(n).15 E(ar)144 184.8 Q .579 +(gument, which should be separated from it by white space.)-.18 F .578 (The colon and question mark char)5.579 F(-)-.2 E 1.665 -(acters may not be used as option characters.)144 501.6 R 1.665 +(acters may not be used as option characters.)144 196.8 R 1.665 (Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F1(getopts) -4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .796 -(option in the shell v)144 513.6 R(ariable)-.25 E F2(name)3.296 E F0 -3.296(,i).18 G(nitializing)-3.296 E F2(name)3.657 E F0 .797 -(if it does not e)3.477 F .797(xist, and the inde)-.15 F 3.297(xo)-.15 G -3.297(ft)-3.297 G .797(he ne)-3.297 F(xt)-.15 E(ar)144 525.6 Q .085 -(gument to be processed into the v)-.18 F(ariable)-.25 E F4(OPTIND)2.585 -E/F5 9/Times-Roman@0 SF(.)A F4(OPTIND)4.585 E F0 .085 -(is initialized to 1 each time the shell)2.335 F .845 -(or a shell script is in)144 537.6 R -.2(vo)-.4 G -.1(ke).2 G 3.345 +4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .797 +(option in the shell v)144 208.8 R(ariable)-.25 E F2(name)3.297 E F0 +3.297(,i).18 G(nitializing)-3.297 E F2(name)3.657 E F0 .797 +(if it does not e)3.477 F .796(xist, and the inde)-.15 F 3.296(xo)-.15 G +3.296(ft)-3.296 G .796(he ne)-3.296 F(xt)-.15 E(ar)144 220.8 Q .085 +(gument to be processed into the v)-.18 F(ariable)-.25 E/F3 9 +/Times-Bold@0 SF(OPTIND)2.585 E/F4 9/Times-Roman@0 SF(.)A F3(OPTIND) +4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .846 +(or a shell script is in)144 232.8 R -.2(vo)-.4 G -.1(ke).2 G 3.345 (d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F1 -(getopts)3.346 E F0 .846(places that ar)3.346 F(gument)-.18 E .804 -(into the v)144 549.6 R(ariable)-.25 E F4(OPT)3.304 E(ARG)-.81 E F5(.)A -F0 .803(The shell does not reset)5.304 F F4(OPTIND)3.303 E F0 .803 -(automatically; it must be manually)3.053 F .293 -(reset between multiple calls to)144 561.6 R F1(getopts)2.793 E F0 .293 +(getopts)3.345 E F0 .845(places that ar)3.345 F(gument)-.18 E .803 +(into the v)144 244.8 R(ariable)-.25 E F3(OPT)3.303 E(ARG)-.81 E F4(.)A +F0 .803(The shell does not reset)5.303 F F3(OPTIND)3.303 E F0 .804 +(automatically; it must be manually)3.054 F .294 +(reset between multiple calls to)144 256.8 R F1(getopts)2.793 E F0 .293 (within the same shell in)2.793 F -.2(vo)-.4 G .293(cation if a ne).2 F -2.793(ws)-.25 G .294(et of parameters)-2.793 F(is to be used.)144 573.6 -Q 2.044(When the end of options is encountered,)144 597.6 R F1(getopts) -4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.043 -(alue greater than zero.)-.25 F F1(OPTIND)144 609.6 Q F0 +2.793(ws)-.25 G .293(et of parameters)-2.793 F(is to be used.)144 268.8 +Q 2.043(When the end of options is encountered,)144 292.8 R F1(getopts) +4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.044 +(alue greater than zero.)-.25 F F1(OPTIND)144 304.8 Q F0 (is set to the inde)2.5 E 2.5(xo)-.15 G 2.5(ft)-2.5 G (he \214rst non-option ar)-2.5 E(gument, and)-.18 E F1(name)2.5 E F0 -(is set to ?.)2.5 E F1(getopts)144 633.6 Q F0 2.392 -(normally parses the positional parameters, b)4.892 F 2.392 -(ut if more ar)-.2 F 2.393(guments are gi)-.18 F -.15(ve)-.25 G 4.893 -(ni).15 G(n)-4.893 E F2(ar)4.893 E(gs)-.37 E F0(,).27 E F1(getopts)144 -645.6 Q F0(parses those instead.)2.5 E F1(getopts)144 669.6 Q F0 1.166 -(can report errors in tw)3.666 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F -1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.165 -(is a colon,)3.885 F F2(silent)4.005 E F0(error)4.345 E 1.263 -(reporting is used.)144 681.6 R 1.263 +(is set to ?.)2.5 E F1(getopts)144 328.8 Q F0 2.393 +(normally parses the positional parameters, b)4.893 F 2.392 +(ut if more ar)-.2 F 2.392(guments are gi)-.18 F -.15(ve)-.25 G 4.892 +(ni).15 G(n)-4.892 E F2(ar)4.892 E(gs)-.37 E F0(,).27 E F1(getopts)144 +340.8 Q F0(parses those instead.)2.5 E F1(getopts)144 364.8 Q F0 1.165 +(can report errors in tw)3.665 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F +1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.166 +(is a colon,)3.886 F F2(silent)4.006 E F0(error)4.346 E 1.264 +(reporting is used.)144 376.8 R 1.263 (In normal operation diagnostic messages are printed when in)6.263 F --.25(va)-.4 G 1.263(lid options or).25 F .394(missing option ar)144 -693.6 R .394(guments are encountered.)-.18 F .394(If the v)5.394 F -(ariable)-.25 E F4(OPTERR)2.894 E F0 .394 -(is set to 0, no error messages)2.644 F(will be displayed, e)144 705.6 Q +-.25(va)-.4 G 1.263(lid options or).25 F .393(missing option ar)144 +388.8 R .393(guments are encountered.)-.18 F .394(If the v)5.394 F +(ariable)-.25 E F3(OPTERR)2.894 E F0 .394 +(is set to 0, no error messages)2.644 F(will be displayed, e)144 400.8 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214rst character of)-2.5 E -F2(optstring)2.73 E F0(is not a colon.)2.72 E .666(If an in)144 729.6 R --.25(va)-.4 G .666(lid option is seen,).25 F F1(getopts)3.166 E F0 .667 -(places ? into)3.167 F F2(name)3.527 E F0 .667 -(and, if not silent, prints an error message)3.347 F(GNU Bash-3.2)72 768 -Q(2008 April 5)148.455 E(52)198.445 E 0 Cg EP -%%Page: 53 53 +F2(optstring)2.73 E F0(is not a colon.)2.72 E .667(If an in)144 424.8 R +-.25(va)-.4 G .667(lid option is seen,).25 F F1(getopts)3.167 E F0 .667 +(places ? into)3.167 F F2(name)3.527 E F0 .666 +(and, if not silent, prints an error message)3.347 F .399(and unsets)144 +436.8 R F3(OPT)2.899 E(ARG)-.81 E F4(.)A F0(If)4.899 E F1(getopts)2.899 +E F0 .399(is silent, the option character found is placed in)2.899 F F3 +(OPT)2.899 E(ARG)-.81 E F0 .4(and no)2.65 F +(diagnostic message is printed.)144 448.8 Q 1.242(If a required ar)144 +472.8 R 1.242(gument is not found, and)-.18 F F1(getopts)3.741 E F0 +1.241(is not silent, a question mark \()3.741 F F1(?).833 E F0 3.741 +(\)i).833 G 3.741(sp)-3.741 G 1.241(laced in)-3.741 F F2(name)144 484.8 +Q F0(,).18 E F3(OPT)2.734 E(ARG)-.81 E F0 .234 +(is unset, and a diagnostic message is printed.)2.484 F(If)5.234 E F1 +(getopts)2.734 E F0 .235(is silent, then a colon \()2.734 F F1(:).833 E +F0(\)).833 E(is placed in)144 496.8 Q F2(name)2.86 E F0(and)2.68 E F3 +(OPT)2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1 +(getopts)144 520.8 Q F0 .902 +(returns true if an option, speci\214ed or unspeci\214ed, is found.) +3.402 F .902(It returns f)5.902 F .901(alse if the end of)-.1 F +(options is encountered or an error occurs.)144 532.8 Q F1(hash)108 +549.6 Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1<ad70>-2.5 E F2(\214lename) +2.5 E F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A +-.15(Fo)144 561.6 S 3.554(re).15 G(ach)-3.554 E F2(name)3.554 E F0 3.554 +(,t).18 G 1.054(he full \214le name of the command is determined by sea\ +rching the directories in)-3.554 F F1($P)144 573.6 Q -.95(AT)-.74 G(H) +.95 E F0 .35(and remembered.)2.85 F .35(If the)5.35 F F1<ad70>2.85 E F0 +.349(option is supplied, no path search is performed, and)2.849 F F2 +(\214lename)4.759 E F0 .452 +(is used as the full \214le name of the command.)144 585.6 R(The)5.452 E +F1<ad72>2.952 E F0 .452(option causes the shell to for)2.952 F .453 +(get all remem-)-.18 F .593(bered locations.)144 597.6 R(The)5.593 E F1 +<ad64>3.093 E F0 .593(option causes the shell to for)3.093 F .592 +(get the remembered location of each)-.18 F F2(name)3.092 E F0(.)A .02 +(If the)144 609.6 R F1<ad74>2.52 E F0 .02 +(option is supplied, the full pathname to which each)2.52 F F2(name) +2.521 E F0 .021(corresponds is printed.)2.521 F .021(If multi-)5.021 F +(ple)144 621.6 Q F2(name)3.704 E F0(ar)3.704 E 1.204 +(guments are supplied with)-.18 F F1<ad74>3.703 E F0 3.703(,t)C(he) +-3.703 E F2(name)3.703 E F0 1.203 +(is printed before the hashed full pathname.)3.703 F(The)144 633.6 Q F1 +<ad6c>3.215 E F0 .715(option causes output to be displayed in a format \ +that may be reused as input.)3.215 F .716(If no ar)5.716 F(gu-)-.18 E +1.184(ments are gi)144 645.6 R -.15(ve)-.25 G 1.184(n, or if only).15 F +F1<ad6c>3.684 E F0 1.183 +(is supplied, information about remembered commands is printed.)3.684 F +(The return status is true unless a)144 657.6 Q F2(name)2.86 E F0 +(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.).25 +E F1(help)108 674.4 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2(pattern) +-2.5 E F0(])A .866(Display helpful information about b)144 686.4 R .867 +(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 .867 +(is speci\214ed,)3.607 F F1(help)3.367 E F0(gi)3.367 E -.15(ve)-.25 G +3.367(sd).15 G(etailed)-3.367 E .307(help on all commands matching)144 +698.4 R F2(pattern)2.807 E F0 2.807(;o).24 G .307 +(therwise help for all the b)-2.807 F .306 +(uiltins and shell control struc-)-.2 F(tures is printed.)144 710.4 Q +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(53)197.335 E 0 Cg EP +%%Page: 54 54 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .4(and unsets)144 84 R/F1 9/Times-Bold@0 SF(OPT)2.9 E(ARG)-.81 E -/F2 9/Times-Roman@0 SF(.)A F0(If)4.899 E/F3 10/Times-Bold@0 SF(getopts) -2.899 E F0 .399(is silent, the option character found is placed in)2.899 -F F1(OPT)2.899 E(ARG)-.81 E F0 .399(and no)2.649 F -(diagnostic message is printed.)144 96 Q 1.241(If a required ar)144 120 -R 1.241(gument is not found, and)-.18 F F3(getopts)3.741 E F0 1.241 -(is not silent, a question mark \()3.741 F F3(?).833 E F0 3.742(\)i).833 -G 3.742(sp)-3.742 G 1.242(laced in)-3.742 F/F4 10/Times-Italic@0 SF -(name)144 132 Q F0(,).18 E F1(OPT)2.735 E(ARG)-.81 E F0 .234 -(is unset, and a diagnostic message is printed.)2.485 F(If)5.234 E F3 -(getopts)2.734 E F0 .234(is silent, then a colon \()2.734 F F3(:).833 E -F0(\)).833 E(is placed in)144 144 Q F4(name)2.86 E F0(and)2.68 E F1(OPT) -2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F3 -(getopts)144 168 Q F0 .902 -(returns true if an option, speci\214ed or unspeci\214ed, is found.) -3.401 F .902(It returns f)5.902 F .902(alse if the end of)-.1 F -(options is encountered or an error occurs.)144 180 Q F3(hash)108 196.8 -Q F0([)2.5 E F3(\255lr)A F0 2.5(][)C F3<ad70>-2.5 E F4(\214lename)2.5 E -F0 2.5(][)C F3(\255dt)-2.5 E F0 2.5(][)C F4(name)-2.5 E F0(])A -.15(Fo) -144 208.8 S 3.555(re).15 G(ach)-3.555 E F4(name)3.555 E F0 3.555(,t).18 -G 1.054(he full \214le name of the command is determined by searching t\ -he directories in)-3.555 F F3($P)144 220.8 Q -.95(AT)-.74 G(H).95 E F0 -.349(and remembered.)2.849 F .349(If the)5.349 F F3<ad70>2.849 E F0 .349 -(option is supplied, no path search is performed, and)2.849 F F4 -(\214lename)4.76 E F0 .452 -(is used as the full \214le name of the command.)144 232.8 R(The)5.452 E -F3<ad72>2.952 E F0 .452(option causes the shell to for)2.952 F .452 -(get all remem-)-.18 F .592(bered locations.)144 244.8 R(The)5.592 E F3 -<ad64>3.092 E F0 .593(option causes the shell to for)3.092 F .593 -(get the remembered location of each)-.18 F F4(name)3.093 E F0(.)A .021 -(If the)144 256.8 R F3<ad74>2.521 E F0 .021 -(option is supplied, the full pathname to which each)2.521 F F4(name) -2.52 E F0 .02(corresponds is printed.)2.52 F .02(If multi-)5.02 F(ple) -144 268.8 Q F4(name)3.703 E F0(ar)3.703 E 1.203 -(guments are supplied with)-.18 F F3<ad74>3.703 E F0 3.703(,t)C(he) --3.703 E F4(name)3.703 E F0 1.204 -(is printed before the hashed full pathname.)3.703 F(The)144 280.8 Q F3 -<ad6c>3.216 E F0 .715(option causes output to be displayed in a format \ -that may be reused as input.)3.216 F .715(If no ar)5.715 F(gu-)-.18 E -1.183(ments are gi)144 292.8 R -.15(ve)-.25 G 1.183(n, or if only).15 F -F3<ad6c>3.683 E F0 1.184 -(is supplied, information about remembered commands is printed.)3.684 F -(The return status is true unless a)144 304.8 Q F4(name)2.86 E F0 -(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.).25 -E F3(help)108 321.6 Q F0([)2.5 E F3<ad73>A F0 2.5(][)C F4(pattern)-2.5 E -F0(])A .867(Display helpful information about b)144 333.6 R .867 -(uiltin commands.)-.2 F(If)5.867 E F4(pattern)4.617 E F0 .866 -(is speci\214ed,)3.607 F F3(help)3.366 E F0(gi)3.366 E -.15(ve)-.25 G -3.366(sd).15 G(etailed)-3.366 E .306(help on all commands matching)144 -345.6 R F4(pattern)2.806 E F0 2.807(;o).24 G .307 -(therwise help for all the b)-2.807 F .307 -(uiltins and shell control struc-)-.2 F .596(tures is printed.)144 357.6 -R(The)5.596 E F3<ad73>3.096 E F0 .596 -(option restricts the information displayed to a short usage synopsis.) -3.096 F(The)5.596 E(return status is 0 unless no command matches)144 -369.6 Q F4(pattern)2.5 E F0(.).24 E F3(history [)108 386.4 Q F4(n)A F3 -(])A(history \255c)108 398.4 Q(history \255d)108 410.4 Q F4(of)2.5 E -(fset)-.18 E F3(history \255anrw)108 422.4 Q F0([)2.5 E F4(\214lename)A -F0(])A F3(history \255p)108 434.4 Q F4(ar)2.5 E(g)-.37 E F0([)2.5 E F4 -(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A F3(history \255s)108 446.4 Q F4(ar) -2.5 E(g)-.37 E F0([)2.5 E F4(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi) -144 458.4 S .752 +-.35 E/F1 10/Times-Bold@0 SF<ad64>144 84 Q F0 +(Display a short description of each)24.74 E/F2 10/Times-Italic@0 SF +(pattern)2.5 E F1(-m)146.5 96 Q F0(Display the description of each)21.84 +E F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat)-2.5 E +F1<ad73>144 108 Q F0(Display only a short usage synopsis for each)26.41 +E F2(pattern)2.5 E F0(The return status is 0 unless no command matches) +108 120 Q F2(pattern)2.5 E F0(.).24 E F1(history [)108 136.8 Q F2(n)A F1 +(])A(history \255c)108 148.8 Q(history \255d)108 160.8 Q F2(of)2.5 E +(fset)-.18 E F1(history \255anrw)108 172.8 Q F0([)2.5 E F2(\214lename)A +F0(])A F1(history \255p)108 184.8 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2 +(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A F1(history \255s)108 196.8 Q F2(ar) +2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi) +144 208.8 S .752 (th no options, display the command history list with line numbers.).4 F -.752(Lines listed with a)5.752 F F3(*)3.252 E F0(ha)3.252 E -.15(ve)-.2 -G 1.231(been modi\214ed.)144 470.4 R 1.231(An ar)6.231 F 1.231 -(gument of)-.18 F F4(n)4.091 E F0 1.231(lists only the last)3.971 F F4 +.752(Lines listed with a)5.752 F F1(*)3.252 E F0(ha)3.252 E -.15(ve)-.2 +G 1.231(been modi\214ed.)144 220.8 R 1.231(An ar)6.231 F 1.231 +(gument of)-.18 F F2(n)4.091 E F0 1.231(lists only the last)3.971 F F2 (n)4.091 E F0 3.73(lines. If)3.97 F 1.23(the shell v)3.73 F(ariable)-.25 -E F3(HISTTIME-)3.73 E(FORMA)144 482.4 Q(T)-.95 E F0 .249 -(is set and not null, it is used as a format string for)2.749 F F4 +E F1(HISTTIME-)3.73 E(FORMA)144 232.8 Q(T)-.95 E F0 .249 +(is set and not null, it is used as a format string for)2.749 F F2 (strftime)2.75 E F0 .25(\(3\) to display the time stamp)B .379 -(associated with each displayed history entry)144 494.4 R 5.379(.N)-.65 +(associated with each displayed history entry)144 244.8 R 5.379(.N)-.65 G 2.878(oi)-5.379 G(nterv)-2.878 E .378 (ening blank is printed between the format-)-.15 F .814 -(ted time stamp and the history line.)144 506.4 R(If)5.814 E F4 +(ted time stamp and the history line.)144 256.8 R(If)5.814 E F2 (\214lename)3.314 E F0 .814 (is supplied, it is used as the name of the history)3.314 F -(\214le; if not, the v)144 518.4 Q(alue of)-.25 E F1(HISTFILE)2.5 E F0 -(is used.)2.25 E(Options, if supplied, ha)5 E .3 -.15(ve t)-.2 H -(he follo).15 E(wing meanings:)-.25 E F3<ad63>144 530.4 Q F0 -(Clear the history list by deleting all the entries.)25.86 E F3<ad64>144 -542.4 Q F4(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) -180 554.4 Q F4(of)2.5 E(fset)-.18 E F0(.)A F3<ad61>144 566.4 Q F0 .599 +(\214le; if not, the v)144 268.8 Q(alue of)-.25 E/F3 9/Times-Bold@0 SF +(HISTFILE)2.5 E F0(is used.)2.25 E(Options, if supplied, ha)5 E .3 -.15 +(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad63>144 280.8 Q F0 +(Clear the history list by deleting all the entries.)25.86 E F1<ad64>144 +292.8 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) +180 304.8 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1<ad61>144 316.8 Q F0 .599 (Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.099('h)-.74 G .598 (istory lines \(history lines entered since the be)-3.099 F .598 -(ginning of the current)-.15 F F3(bash)180 578.4 Q F0 -(session\) to the history \214le.)2.5 E F3<ad6e>144 590.4 Q F0 .854(Rea\ +(ginning of the current)-.15 F F1(bash)180 328.8 Q F0 +(session\) to the history \214le.)2.5 E F1<ad6e>144 340.8 Q F0 .854(Rea\ d the history lines not already read from the history \214le into the c\ urrent history list.)24.74 F .773 -(These are lines appended to the history \214le since the be)180 602.4 R -.772(ginning of the current)-.15 F F3(bash)3.272 E F0(ses-)3.272 E -(sion.)180 614.4 Q F3<ad72>144 626.4 Q F0(Read the contents of the hist\ -ory \214le and use them as the current history)25.86 E(.)-.65 E F3<ad77> -144 638.4 Q F0(Write the current history to the history \214le, o)23.08 +(These are lines appended to the history \214le since the be)180 352.8 R +.772(ginning of the current)-.15 F F1(bash)3.272 E F0(ses-)3.272 E +(sion.)180 364.8 Q F1<ad72>144 376.8 Q F0(Read the contents of the hist\ +ory \214le and use them as the current history)25.86 E(.)-.65 E F1<ad77> +144 388.8 Q F0(Write the current history to the history \214le, o)23.08 E -.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G -(ontents.)-2.5 E F3<ad70>144 650.4 Q F0 .625 -(Perform history substitution on the follo)24.74 F(wing)-.25 E F4(ar) +(ontents.)-2.5 E F1<ad70>144 400.8 Q F0 .625 +(Perform history substitution on the follo)24.74 F(wing)-.25 E F2(ar) 3.125 E(gs)-.37 E F0 .626(and display the result on the standard)3.125 F -2.975(output. Does)180 662.4 R .475 -(not store the results in the history list.)2.975 F(Each)5.475 E F4(ar) +2.975(output. Does)180 412.8 R .475 +(not store the results in the history list.)2.975 F(Each)5.475 E F2(ar) 2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F -(normal history e)180 674.4 Q(xpansion.)-.15 E F3<ad73>144 686.4 Q F0 -.362(Store the)26.41 F F4(ar)3.192 E(gs)-.37 E F0 .363 +(normal history e)180 424.8 Q(xpansion.)-.15 E F1<ad73>144 436.8 Q F0 +.362(Store the)26.41 F F2(ar)3.192 E(gs)-.37 E F0 .363 (in the history list as a single entry)3.132 F 5.363(.T)-.65 G .363 -(he last command in the history list is)-5.363 F(remo)180 698.4 Q -.15 -(ve)-.15 G 2.5(db).15 G(efore the)-2.5 E F4(ar)2.83 E(gs)-.37 E F0 -(are added.)2.77 E .28(If the)144 715.2 R F3(HISTTIMEFORMA)2.78 E(T)-.95 +(he last command in the history list is)-5.363 F(remo)180 448.8 Q -.15 +(ve)-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 +(are added.)2.77 E .28(If the)144 465.6 R F1(HISTTIMEFORMA)2.78 E(T)-.95 E F0 .28 (is set, the time stamp information associated with each history entry) -2.78 F .539(is written to the history \214le, mark)144 727.2 R .539 +2.78 F .539(is written to the history \214le, mark)144 477.6 R .539 (ed with the history comment character)-.1 F 5.54(.W)-.55 G .54 -(hen the history \214le is)-5.54 F(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(53)198.445 E 0 Cg EP -%%Page: 54 54 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E 1.779(read, lines be)144 84 R 1.779 -(ginning with the history comment character follo)-.15 F 1.778 +(hen the history \214le is)-5.54 F 1.779(read, lines be)144 489.6 R +1.779(ginning with the history comment character follo)-.15 F 1.778 (wed immediately by a digit are)-.25 F 1.424 -(interpreted as timestamps for the pre)144 96 R 1.424 +(interpreted as timestamps for the pre)144 501.6 R 1.424 (vious history line.)-.25 F 1.424(The return v)6.424 F 1.424 (alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .499(option is e\ ncountered, an error occurs while reading or writing the history \214le\ -, an in)144 108 R -.25(va)-.4 G(lid).25 E/F1 10/Times-Italic@0 SF(of) -2.999 E(fset)-.18 E F0(is)2.999 E(supplied as an ar)144 120 Q(gument to) --.18 E/F2 10/Times-Bold@0 SF<ad64>2.5 E F0 2.5(,o)C 2.5(rt)-2.5 G -(he history e)-2.5 E(xpansion supplied as an ar)-.15 E(gument to)-.18 E -F2<ad70>2.5 E F0 -.1(fa)2.5 G(ils.).1 E F2(jobs)108 136.8 Q F0([)2.5 E -F2(\255lnprs)A F0 2.5(][)C F1(jobspec)A F0(... ])2.5 E F2(jobs \255x)108 -148.8 Q F1(command)2.5 E F0([)2.5 E F1(ar)2.5 E(gs)-.37 E F0(... ])2.5 E -(The \214rst form lists the acti)144 160.8 Q .3 -.15(ve j)-.25 H 2.5 +, an in)144 513.6 R -.25(va)-.4 G(lid).25 E F2(of)2.999 E(fset)-.18 E F0 +(is)2.999 E(supplied as an ar)144 525.6 Q(gument to)-.18 E F1<ad64>2.5 E +F0 2.5(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E +(xpansion supplied as an ar)-.15 E(gument to)-.18 E F1<ad70>2.5 E F0 -.1 +(fa)2.5 G(ils.).1 E F1(jobs)108 542.4 Q F0([)2.5 E F1(\255lnprs)A F0 2.5 +(][)C F2(jobspec)A F0(... ])2.5 E F1(jobs \255x)108 554.4 Q F2(command) +2.5 E F0([)2.5 E F2(ar)2.5 E(gs)-.37 E F0(... ])2.5 E +(The \214rst form lists the acti)144 566.4 Q .3 -.15(ve j)-.25 H 2.5 (obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F2<ad6c>144 172.8 Q F0 -(List process IDs in addition to the normal information.)27.52 E F2 -<ad70>144 184.8 Q F0(List only the process ID of the job')24.74 E 2.5 -(sp)-.55 G(rocess group leader)-2.5 E(.)-.55 E F2<ad6e>144 196.8 Q F0 +(wing meanings:)-.25 E F1<ad6c>144 578.4 Q F0 +(List process IDs in addition to the normal information.)27.52 E F1 +<ad70>144 590.4 Q F0(List only the process ID of the job')24.74 E 2.5 +(sp)-.55 G(rocess group leader)-2.5 E(.)-.55 E F1<ad6e>144 602.4 Q F0 .193(Display information only about jobs that ha)24.74 F .494 -.15(ve c) -.2 H .194(hanged status since the user w).15 F .194(as last noti-)-.1 F -(\214ed of their status.)180 208.8 Q F2<ad72>144 220.8 Q F0 -(Restrict output to running jobs.)25.86 E F2<ad73>144 232.8 Q F0 -(Restrict output to stopped jobs.)26.41 E(If)144 249.6 Q F1(jobspec) +(\214ed of their status.)180 614.4 Q F1<ad72>144 626.4 Q F0 +(Restrict output to running jobs.)25.86 E F1<ad73>144 638.4 Q F0 +(Restrict output to stopped jobs.)26.41 E(If)144 655.2 Q F2(jobspec) 4.554 E F0 .314(is gi)3.124 F -.15(ve)-.25 G .314 (n, output is restricted to information about that job).15 F 5.313(.T) --.4 G .313(he return status is 0 unless)-5.313 F(an in)144 261.6 Q -.25 +-.4 G .313(he return status is 0 unless)-5.313 F(an in)144 667.2 Q -.25 (va)-.4 G(lid option is encountered or an in).25 E -.25(va)-.4 G(lid).25 -E F1(jobspec)4.24 E F0(is supplied.)2.81 E .394(If the)144 278.4 R F2 -<ad78>2.894 E F0 .394(option is supplied,)2.894 F F2(jobs)2.894 E F0 -.394(replaces an)2.894 F(y)-.15 E F1(jobspec)4.634 E F0 .394(found in) -3.204 F F1(command)3.094 E F0(or)3.664 E F1(ar)3.224 E(gs)-.37 E F0 .395 -(with the corre-)3.164 F(sponding process group ID, and e)144 290.4 Q --.15(xe)-.15 G(cutes).15 E F1(command)2.7 E F0(passing it)3.27 E F1(ar) -2.5 E(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E -F2(kill)108 307.2 Q F0([)2.5 E F2<ad73>A F1(sigspec)2.5 E F0(|)2.5 E F2 -<ad6e>2.5 E F1(signum)2.5 E F0(|)2.5 E F2<ad>2.5 E F1(sigspec)A F0 2.5 -(][)C F1(pid)-2.5 E F0(|)2.5 E F1(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F2 -(kill \255l)108 319.2 Q F0([)2.5 E F1(sigspec)A F0(|)2.5 E F1 -.2(ex)2.5 -G(it_status).2 E F0(])A .12(Send the signal named by)144 331.2 R F1 -(sigspec)2.96 E F0(or)2.93 E F1(signum)2.96 E F0 .119 -(to the processes named by)2.939 F F1(pid)3.869 E F0(or)3.389 E F1 -(jobspec)2.619 E F0(.).31 E F1(sigspec)5.459 E F0(is)2.929 E .318 -(either a case-insensiti)144 343.2 R .618 -.15(ve s)-.25 H .318 -(ignal name such as).15 F/F3 9/Times-Bold@0 SF(SIGKILL)2.818 E F0 .319 -(\(with or without the)2.569 F F3(SIG)2.819 E F0 .319 -(pre\214x\) or a signal)2.569 F(number;)144 355.2 Q F1(signum)4.189 E F0 -1.349(is a signal number)4.169 F 6.349(.I)-.55 G(f)-6.349 E F1(sigspec) +E F2(jobspec)4.24 E F0(is supplied.)2.81 E .394(If the)144 684 R F1 +<ad78>2.894 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0 +.394(replaces an)2.894 F(y)-.15 E F2(jobspec)4.634 E F0 .394(found in) +3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .395 +(with the corre-)3.164 F(sponding process group ID, and e)144 696 Q -.15 +(xe)-.15 G(cutes).15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar)2.5 E +(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(54)197.335 E 0 Cg EP +%%Page: 55 55 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E/F1 10/Times-Bold@0 SF(kill)108 84 Q F0([)2.5 E F1<ad73>A/F2 10 +/Times-Italic@0 SF(sigspec)2.5 E F0(|)2.5 E F1<ad6e>2.5 E F2(signum)2.5 +E F0(|)2.5 E F1<ad>2.5 E F2(sigspec)A F0 2.5(][)C F2(pid)-2.5 E F0(|)2.5 +E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1(kill \255l)108 96 Q F0([)2.5 +E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 G(it_status).2 E F0(])A .12 +(Send the signal named by)144 108 R F2(sigspec)2.96 E F0(or)2.93 E F2 +(signum)2.96 E F0 .119(to the processes named by)2.939 F F2(pid)3.869 E +F0(or)3.389 E F2(jobspec)2.619 E F0(.).31 E F2(sigspec)5.459 E F0(is) +2.929 E .318(either a case-insensiti)144 120 R .618 -.15(ve s)-.25 H +.318(ignal name such as).15 F/F3 9/Times-Bold@0 SF(SIGKILL)2.818 E F0 +.319(\(with or without the)2.569 F F3(SIG)2.819 E F0 .319 +(pre\214x\) or a signal)2.569 F(number;)144 132 Q F2(signum)4.189 E F0 +1.349(is a signal number)4.169 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) 4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0 -1.348(is assumed.)3.599 F(An)6.348 E(ar)144 367.2 Q .522(gument of)-.18 -F F2<ad6c>3.023 E F0 .523(lists the signal names.)3.023 F .523(If an) -5.523 F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when) -.18 F F2<ad6c>3.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523 -(n, the names).15 F .28(of the signals corresponding to the ar)144 379.2 -R .28(guments are listed, and the return status is 0.)-.18 F(The)5.28 E -F1 -.2(ex)2.78 G(it_status).2 E F0(ar)144 391.2 Q .377(gument to)-.18 F -F2<ad6c>2.877 E F0 .378 +1.348(is assumed.)3.599 F(An)6.348 E(ar)144 144 Q .522(gument of)-.18 F +F1<ad6c>3.023 E F0 .523(lists the signal names.)3.023 F .523(If an)5.523 +F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when).18 F +F1<ad6c>3.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523(n, the names) +.15 F .28(of the signals corresponding to the ar)144 156 R .28 +(guments are listed, and the return status is 0.)-.18 F(The)5.28 E F2 +-.2(ex)2.78 G(it_status).2 E F0(ar)144 168 Q .377(gument to)-.18 F F1 +<ad6c>2.877 E F0 .378 (is a number specifying either a signal number or the e)2.877 F .378 -(xit status of a process termi-)-.15 F .594(nated by a signal.)144 403.2 -R F2(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F +(xit status of a process termi-)-.15 F .594(nated by a signal.)144 180 R +F1(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F .593(as successfully sent, or f)-.1 F .593(alse if an error)-.1 F -(occurs or an in)144 415.2 Q -.25(va)-.4 G(lid option is encountered.) -.25 E F2(let)108 432 Q F1(ar)2.5 E(g)-.37 E F0([)2.5 E F1(ar)A(g)-.37 E -F0(...])2.5 E(Each)144 444 Q F1(ar)3.964 E(g)-.37 E F0 1.134 +(occurs or an in)144 192 Q -.25(va)-.4 G(lid option is encountered.).25 +E F1(let)108 208.8 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A(g)-.37 E F0 +(...])2.5 E(Each)144 220.8 Q F2(ar)3.964 E(g)-.37 E F0 1.134 (is an arithmetic e)3.854 F 1.134(xpression to be e)-.15 F -.25(va)-.25 G 1.135(luated \(see).25 F F3 1.135(ARITHMETIC EV)3.635 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E/F4 9/Times-Roman@0 SF(\).)A F0 1.135(If the) -5.635 F(last)144 456 Q F1(ar)2.83 E(g)-.37 E F0 -.25(eva)2.72 G -(luates to 0,).25 E F2(let)2.5 E F0(returns 1; 0 is returned otherwise.) -2.5 E F2(local)108 472.8 Q F0([)2.5 E F1(option)A F0 2.5(][)C F1(name) --2.5 E F0([=)A F1(value)A F0 2.5(].)C(..])-2.5 E -.15(Fo)144 484.8 S +5.635 F(last)144 232.8 Q F2(ar)2.83 E(g)-.37 E F0 -.25(eva)2.72 G +(luates to 0,).25 E F1(let)2.5 E F0(returns 1; 0 is returned otherwise.) +2.5 E F1(local)108 249.6 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(name) +-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E -.15(Fo)144 261.6 S 2.56(re).15 G .06(ach ar)-2.56 F .06(gument, a local v)-.18 F .06 -(ariable named)-.25 F F1(name)2.92 E F0 .06(is created, and assigned) -2.74 F F1(value)2.56 E F0 5.06(.T).18 G(he)-5.06 E F1(option)2.56 E F0 -.06(can be)2.56 F(an)144 496.8 Q 3.152(yo)-.15 G 3.152(ft)-3.152 G .652 -(he options accepted by)-3.152 F F2(declar)3.152 E(e)-.18 E F0 5.652(.W) -C(hen)-5.652 E F2(local)3.152 E F0 .653 +(ariable named)-.25 F F2(name)2.92 E F0 .06(is created, and assigned) +2.74 F F2(value)2.56 E F0 5.06(.T).18 G(he)-5.06 E F2(option)2.56 E F0 +.06(can be)2.56 F(an)144 273.6 Q 3.152(yo)-.15 G 3.152(ft)-3.152 G .652 +(he options accepted by)-3.152 F F1(declar)3.152 E(e)-.18 E F0 5.652(.W) +C(hen)-5.652 E F1(local)3.152 E F0 .653 (is used within a function, it causes the v)3.152 F(ari-)-.25 E(able)144 -508.8 Q F1(name)3.721 E F0 .861(to ha)3.541 F 1.161 -.15(ve a v)-.2 H +285.6 Q F2(name)3.721 E F0 .861(to ha)3.541 F 1.161 -.15(ve a v)-.2 H .861(isible scope restricted to that function and its children.).15 F --.4(Wi)5.86 G .86(th no operands,).4 F F2(local)144 520.8 Q F0 1.164 +-.4(Wi)5.86 G .86(th no operands,).4 F F1(local)144 297.6 Q F0 1.164 (writes a list of local v)3.664 F 1.165 (ariables to the standard output.)-.25 F 1.165(It is an error to use) -6.165 F F2(local)3.665 E F0 1.165(when not)3.665 F .233 -(within a function.)144 532.8 R .233(The return status is 0 unless)5.233 -F F2(local)2.733 E F0 .233(is used outside a function, an in)2.733 F --.25(va)-.4 G(lid).25 E F1(name)3.092 E F0(is)2.912 E(supplied, or)144 -544.8 Q F1(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F2 -(logout)108 561.6 Q F0(Exit a login shell.)9.33 E F2(popd)108 578.4 Q F0 -<5bad>2.5 E F2(n)A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C<ad>-2.5 E F1 -(n)A F0(])A(Remo)144 590.4 Q -.15(ve)-.15 G 2.799(se).15 G .299 -(ntries from the directory stack.)-2.799 F -.4(Wi)5.299 G .299(th no ar) -.4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G .3 -(he top directory from the)-2.799 F 1.479(stack, and performs a)144 -602.4 R F2(cd)3.979 E F0 1.479(to the ne)3.979 F 3.979(wt)-.25 G 1.479 -(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.478 -(uments, if supplied, ha).18 F 1.778 -.15(ve t)-.2 H 1.478(he follo).15 -F(wing)-.25 E(meanings:)144 614.4 Q F2<ad6e>144 626.4 Q F0 .551 -(Suppresses the normal change of directory when remo)24.74 F .551 -(ving directories from the stack, so)-.15 F -(that only the stack is manipulated.)180 638.4 Q F2(+)144 650.4 Q F1(n)A -F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F1(n)2.64 E F0 +6.165 F F1(local)3.665 E F0 1.165(when not)3.665 F .233 +(within a function.)144 309.6 R .233(The return status is 0 unless)5.233 +F F1(local)2.733 E F0 .233(is used outside a function, an in)2.733 F +-.25(va)-.4 G(lid).25 E F2(name)3.092 E F0(is)2.912 E(supplied, or)144 +321.6 Q F2(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F1 +(logout)108 338.4 Q F0(Exit a login shell.)9.33 E F1(map\214le)108 355.2 +Q F0([)2.5 E F1<ad6e>A F2(count)2.5 E F0 2.5(][)C F1<ad4f>-2.5 E F2 +(origin)2.5 E F0 2.5(][)C F1<ad73>-2.5 E F2(cou)2.5 E F0(nt)144 367.2 Q +F2 3.212(][)C F1<ad74>-3.212 E F2 3.212(][)C F1<ad75>-3.212 E F2 .712 +(fd] [)3.212 F F1<ad43>A F2(callbac)3.212 E .712(k] [)-.2 F F1<ad63>A F2 +(Iquantum)3.212 E F1 3.212(][)C F2(arr)-3.212 E(ay)-.15 E F1 3.212(]R)C +.712(ead lines fr)-3.212 F .712(om the standard input into)-.18 F .606 +(array v)144 379.2 R(ariable)-.1 E F2(arr)3.106 E(ay)-.15 E F0 3.106(,o) +.32 G 3.106(rf)-3.106 G .606(rom \214le descriptor)-3.106 F F2(fd)3.106 +E F0 .606(if the)3.106 F F1<ad75>3.106 E F0 .605(option is supplied.) +3.105 F .605(The v)5.605 F(ariable)-.25 E F1(MAP-)3.105 E(FILE)144 391.2 +Q F0(is the def)2.5 E(ault)-.1 E F2(arr)2.5 E(ay)-.15 E F0 5(.O)C +(ptions, if supplied, ha)-5 E .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1<ad6e>144 403.2 Q F0(Cop)24.74 E 2.5(ya)-.1 G +2.5(tm)-2.5 G(ost)-2.5 E F2(count)2.7 E F0 2.5(lines. If)3.18 F F2 +(count)2.5 E F0(is 0, all lines are copied.)2.5 E F1<ad4f>144 415.2 Q F0 +(Be)22.52 E(gin assigning to)-.15 E F2(arr)2.83 E(ay)-.15 E F0(at inde) +2.82 E(x)-.15 E F2(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 +E 2.5(xi)-.15 G 2.5(s0)-2.5 G(.)-2.5 E F1<ad73>144 427.2 Q F0 +(Discard the \214rst)26.41 E F2(count)2.5 E F0(lines read.)2.5 E F1 +<ad74>144 439.2 Q F0(Remo)26.97 E .3 -.15(ve a t)-.15 H +(railing line from each line read.).15 E F1<ad75>144 451.2 Q F0 +(Read lines from \214le descriptor)24.74 E F2(fd)2.5 E F0 +(instead of the standard input.)2.5 E F1<ad43>144 463.2 Q F0(Ev)23.08 E +(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2(quantum) +2.5 E F0(lines are read.)2.5 E(The)5 E F1<ad63>2.5 E F0 +(option speci\214es)2.5 E F2(quantum)2.5 E F0(.).32 E F1<ad63>144 475.2 +Q F0(Specify the number of lines read between each call to)25.86 E F2 +(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 492 Q F1<ad43>2.5 E F0 +(is speci\214ed without)2.5 E F1<ad63>2.5 E F0 2.5(,t)C(he def)-2.5 E +(ault quantum is 5000.)-.1 E(If not supplied with an e)144 508.8 Q +(xplicit origin,)-.15 E F1(map\214le)2.5 E F0(will clear)2.5 E F2(arr) +2.5 E(ay)-.15 E F0(before assigning to it.)2.5 E F1(map\214le)144 525.6 +Q F0 .995(returns successfully unless an in)3.495 F -.25(va)-.4 G .996 +(lid option or option ar).25 F .996(gument is supplied, or)-.18 F F2 +(arr)3.496 E(ay)-.15 E F0(is)3.496 E(in)144 537.6 Q -.25(va)-.4 G +(lid or unassignable.).25 E F1(popd)108 554.4 Q F0<5bad>2.5 E F1(n)A F0 +2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C<ad>-2.5 E F2(n)A F0(])A(Remo)144 +566.4 Q -.15(ve)-.15 G 2.8(se).15 G .3(ntries from the directory stack.) +-2.8 F -.4(Wi)5.299 G .299(th no ar).4 F .299(guments, remo)-.18 F -.15 +(ve)-.15 G 2.799(st).15 G .299(he top directory from the)-2.799 F 1.478 +(stack, and performs a)144 578.4 R F1(cd)3.978 E F0 1.479(to the ne) +3.978 F 3.979(wt)-.25 G 1.479(op directory)-3.979 F 6.479(.A)-.65 G -.18 +(rg)-6.479 G 1.479(uments, if supplied, ha).18 F 1.779 -.15(ve t)-.2 H +1.479(he follo).15 F(wing)-.25 E(meanings:)144 590.4 Q F1<ad6e>144 602.4 +Q F0 .551(Suppresses the normal change of directory when remo)24.74 F +.551(ving directories from the stack, so)-.15 F +(that only the stack is manipulated.)180 614.4 Q F1(+)144 626.4 Q F2(n)A +F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E F0 .14(th entry counting from the left of the list sho)B .14(wn by)-.25 F -F2(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 -662.4 S 2.5(re).15 G(xample:)-2.65 E/F5 10/Courier@0 SF(popd +0)2.5 E F0 +F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 +638.4 S 2.5(re).15 G(xample:)-2.65 E/F5 10/Courier@0 SF(popd +0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,) --.65 E F5(popd +1)2.5 E F0(the second.)2.5 E F2<ad>144 674.4 Q F1(n)A F0 -(Remo)25.3 E -.15(ve)-.15 G 3.759(st).15 G(he)-3.759 E F1(n)3.759 E F0 -1.259(th entry counting from the right of the list sho)B 1.26(wn by)-.25 -F F2(dirs)3.76 E F0 3.76(,s)C 1.26(tarting with)-3.76 F 2.5(zero. F)180 -686.4 R(or e)-.15 E(xample:)-.15 E F5(popd -0)2.5 E F0(remo)2.5 E -.15 -(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 E F5(popd -1)2.5 -E F0(the ne)2.5 E(xt to last.)-.15 E .644(If the)144 703.2 R F2(popd) -3.144 E F0 .644(command is successful, a)3.144 F F2(dirs)3.143 E F0 .643 -(is performed as well, and the return status is 0.)3.143 F F2(popd)5.643 -E F0 .415(returns f)144 715.2 R .415(alse if an in)-.1 F -.25(va)-.4 G -.415(lid option is encountered, the directory stack is empty).25 F 2.916 -(,an)-.65 G(on-e)-2.916 E .416(xistent direc-)-.15 F -(tory stack entry is speci\214ed, or the directory change f)144 727.2 Q -(ails.)-.1 E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(54)198.445 E 0 +-.65 E F5(popd +1)2.5 E F0(the second.)2.5 E F1<ad>144 650.4 Q F2(n)A F0 +(Remo)25.3 E -.15(ve)-.15 G 3.76(st).15 G(he)-3.76 E F2(n)3.76 E F0 +1.259(th entry counting from the right of the list sho)B 1.259(wn by) +-.25 F F1(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5 +(zero. F)180 662.4 R(or e)-.15 E(xample:)-.15 E F5(popd -0)2.5 E F0 +(remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 +E F5(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144 +679.2 R F1(popd)3.143 E F0 .643(command is successful, a)3.143 F F1 +(dirs)3.143 E F0 .644(is performed as well, and the return status is 0.) +3.143 F F1(popd)5.644 E F0 .416(returns f)144 691.2 R .416 +(alse if an in)-.1 F -.25(va)-.4 G .415 +(lid option is encountered, the directory stack is empty).25 F 2.915 +(,an)-.65 G(on-e)-2.915 E .415(xistent direc-)-.15 F +(tory stack entry is speci\214ed, or the directory change f)144 703.2 Q +(ails.)-.1 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(55)197.335 E 0 Cg EP -%%Page: 55 55 +%%Page: 56 56 %%BeginPageSetup BP %%EndPageSetup @@ -6434,53 +6564,53 @@ BP (guments)-.37 E F0 .372(to the standard output under the control of the) 2.872 F F2(format)2.872 E F0 5.372(.T)C(he)-5.372 E F2(format)2.872 E F0 1.804(is a character string which contains three types of objects: plai\ -n characters, which are simply)144 108 R .159 +n characters, which are simply)144 108 R .158 (copied to standard output, character escape sequences, which are con) -144 120 R -.15(ve)-.4 G .158(rted and copied to the stan-).15 F .499(da\ +144 120 R -.15(ve)-.4 G .159(rted and copied to the stan-).15 F .499(da\ rd output, and format speci\214cations, each of which causes printing o\ -f the ne)144 132 R .5(xt successi)-.15 F -.15(ve)-.25 G F2(ar)3.15 E -(gu-)-.37 E(ment)144 144 Q F0 5.424(.I)C 2.924(na)-5.424 G .424 -(ddition to the standard)-2.924 F F2(printf)2.924 E F0 .424 -(\(1\) formats,)B F1(%b)2.924 E F0(causes)2.923 E F1(printf)2.923 E F0 -.423(to e)2.923 F .423(xpand backslash escape)-.15 F .976 +f the ne)144 132 R .499(xt successi)-.15 F -.15(ve)-.25 G F2(ar)3.149 E +(gu-)-.37 E(ment)144 144 Q F0 5.423(.I)C 2.923(na)-5.423 G .423 +(ddition to the standard)-2.923 F F2(printf)2.923 E F0 .424 +(\(1\) formats,)B F1(%b)2.924 E F0(causes)2.924 E F1(printf)2.924 E F0 +.424(to e)2.924 F .424(xpand backslash escape)-.15 F .977 (sequences in the corresponding)144 156 R F2(ar)3.476 E(gument)-.37 E F0 (\(e)3.476 E .976(xcept that)-.15 F F1(\\c)3.476 E F0 .976 -(terminates output, backslashes in)3.476 F F1<5c08>3.477 E F0(,)A F1 -(\\")3.477 E F0(,)A(and)144 168 Q F1(\\?)3.422 E F0 .922(are not remo) -3.422 F -.15(ve)-.15 G .922(d, and octal escapes be).15 F .922 -(ginning with)-.15 F F1(\\0)3.422 E F0 .921 +(terminates output, backslashes in)3.476 F F1<5c08>3.476 E F0(,)A F1 +(\\")3.476 E F0(,)A(and)144 168 Q F1(\\?)3.421 E F0 .921(are not remo) +3.421 F -.15(ve)-.15 G .922(d, and octal escapes be).15 F .922 +(ginning with)-.15 F F1(\\0)3.422 E F0 .922 (may contain up to four digits\), and)3.422 F F1(%q)144 180 Q F0(causes) -3.63 E F1(printf)3.63 E F0 1.13(to output the corresponding)3.63 F F2 -(ar)3.631 E(gument)-.37 E F0 1.131 +3.631 E F1(printf)3.631 E F0 1.131(to output the corresponding)3.631 F +F2(ar)3.631 E(gument)-.37 E F0 1.13 (in a format that can be reused as shell)3.631 F(input.)144 192 Q(The) -144 216 Q F1<ad76>2.904 E F0 .404 -(option causes the output to be assigned to the v)2.904 F(ariable)-.25 E +144 216 Q F1<ad76>2.903 E F0 .404 +(option causes the output to be assigned to the v)2.903 F(ariable)-.25 E F2(var)2.904 E F0 .404(rather than being printed to the)2.904 F -(standard output.)144 228 Q(The)144 252 Q F2(format)3.423 E F0 .923 -(is reused as necessary to consume all of the)3.423 F F2(ar)3.423 E +(standard output.)144 228 Q(The)144 252 Q F2(format)3.424 E F0 .923 +(is reused as necessary to consume all of the)3.424 F F2(ar)3.423 E (guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F2(format) -3.423 E F0 .924(requires more)3.424 F F2(ar)144 264 Q(guments)-.37 E F0 -.033(than are supplied, the e)2.534 F .033 +3.423 E F0 .923(requires more)3.423 F F2(ar)144 264 Q(guments)-.37 E F0 +.033(than are supplied, the e)2.533 F .033 (xtra format speci\214cations beha)-.15 F .333 -.15(ve a)-.2 H 2.533(si) -.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,) +.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .034(alue or null string,) -.25 F(as appropriate, had been supplied.)144 276 Q(The return v)5 E (alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F1(pushd) 108 292.8 Q F0([)2.5 E F1<ad6e>A F0 2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C <ad>-2.5 E F2(n)A F0(])A F1(pushd)108 304.8 Q F0([)2.5 E F1<ad6e>A F0 -2.5(][)C F2(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\ -irectory stack, or rotates the stack, making the ne)144 316.8 R 3.14(wt) --.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 328.8 R 1.316 -(orking directory)-.1 F 6.316(.W)-.65 G 1.315(ith no ar)-6.716 F 1.315 -(guments, e)-.18 F 1.315(xchanges the top tw)-.15 F 3.815(od)-.1 G 1.315 -(irectories and)-3.815 F .871 +2.5(][)C F2(dir)-2.5 E F0(])A .64(Adds a directory to the top of the di\ +rectory stack, or rotates the stack, making the ne)144 316.8 R 3.139(wt) +-.25 G .639(op of the)-3.139 F 1.315(stack the current w)144 328.8 R +1.315(orking directory)-.1 F 6.315(.W)-.65 G 1.315(ith no ar)-6.715 F +1.315(guments, e)-.18 F 1.316(xchanges the top tw)-.15 F 3.816(od)-.1 G +1.316(irectories and)-3.816 F .872 (returns 0, unless the directory stack is empty)144 340.8 R 5.871(.A) --.65 G -.18(rg)-5.871 G .872(uments, if supplied, ha).18 F 1.172 -.15 -(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 352.8 Q +-.65 G -.18(rg)-5.871 G .871(uments, if supplied, ha).18 F 1.171 -.15 +(ve t)-.2 H .871(he follo).15 F .871(wing mean-)-.25 F(ings:)144 352.8 Q F1<ad6e>144 364.8 Q F0 .902(Suppresses the normal change of directory w\ hen adding directories to the stack, so that)24.74 F (only the stack is manipulated.)180 376.8 Q F1(+)144 388.8 Q F2(n)A F0 -1.267(Rotates the stack so that the)25.3 F F2(n)3.767 E F0 1.268 -(th directory \(counting from the left of the list sho)B 1.268(wn by) +1.268(Rotates the stack so that the)25.3 F F2(n)3.768 E F0 1.267 +(th directory \(counting from the left of the list sho)B 1.267(wn by) -.25 F F1(dirs)180 400.8 Q F0 2.5(,s)C (tarting with zero\) is at the top.)-2.5 E F1<ad>144 412.8 Q F2(n)A F0 .92(Rotates the stack so that the)25.3 F F2(n)3.42 E F0 .92 @@ -6488,26 +6618,26 @@ hen adding directories to the stack, so that)24.74 F F F1(dirs)180 424.8 Q F0 2.5(,s)C(tarting with zero\) is at the top.) -2.5 E F2(dir)144.35 436.8 Q F0(Adds)23.98 E F2(dir)2.85 E F0 (to the directory stack at the top, making it the ne)3.23 E 2.5(wc)-.25 -G(urrent w)-2.5 E(orking directory)-.1 E(.)-.65 E .488(If the)144 453.6 -R F1(pushd)2.988 E F0 .488(command is successful, a)2.988 F F1(dirs) -2.988 E F0 .488(is performed as well.)2.988 F .489 -(If the \214rst form is used,)5.488 F F1(pushd)2.989 E F0 1.04 -(returns 0 unless the cd to)144 465.6 R F2(dir)3.89 E F0 -.1(fa)4.27 G -3.539(ils. W).1 F 1.039(ith the second form,)-.4 F F1(pushd)3.539 E F0 -1.039(returns 0 unless the directory)3.539 F .846(stack is empty)144 -477.6 R 3.346(,an)-.65 G(on-e)-3.346 E .847(xistent directory stack ele\ -ment is speci\214ed, or the directory change to the)-.15 F -(speci\214ed ne)144 489.6 Q 2.5(wc)-.25 G(urrent directory f)-2.5 E -(ails.)-.1 E F1(pwd)108 506.4 Q F0([)2.5 E F1(\255LP)A F0(])A .845 +G(urrent w)-2.5 E(orking directory)-.1 E(.)-.65 E .489(If the)144 453.6 +R F1(pushd)2.989 E F0 .489(command is successful, a)2.989 F F1(dirs) +2.988 E F0 .488(is performed as well.)2.988 F .488 +(If the \214rst form is used,)5.488 F F1(pushd)2.988 E F0 1.039 +(returns 0 unless the cd to)144 465.6 R F2(dir)3.889 E F0 -.1(fa)4.269 G +3.539(ils. W).1 F 1.039(ith the second form,)-.4 F F1(pushd)3.54 E F0 +1.04(returns 0 unless the directory)3.54 F .847(stack is empty)144 477.6 +R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent directory stack element i\ +s speci\214ed, or the directory change to the)-.15 F(speci\214ed ne)144 +489.6 Q 2.5(wc)-.25 G(urrent directory f)-2.5 E(ails.)-.1 E F1(pwd)108 +506.4 Q F0([)2.5 E F1(\255LP)A F0(])A .844 (Print the absolute pathname of the current w)144 518.4 R .845 -(orking directory)-.1 F 5.844(.T)-.65 G .844 -(he pathname printed contains no)-5.844 F .181(symbolic links if the)144 +(orking directory)-.1 F 5.845(.T)-.65 G .845 +(he pathname printed contains no)-5.845 F .182(symbolic links if the)144 530.4 R F1<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F1 .181(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F1 -(set)2.681 E F0 -.2(bu)2.681 G .182(iltin command is).2 F 3.264 -(enabled. If)144 542.4 R(the)3.264 E F1<ad4c>3.264 E F0 .763 -(option is used, the pathname printed may contain symbolic links.)3.264 -F .763(The return)5.763 F 1.36(status is 0 unless an error occurs while\ +(set)2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263 +(enabled. If)144 542.4 R(the)3.263 E F1<ad4c>3.263 E F0 .763 +(option is used, the pathname printed may contain symbolic links.)3.263 +F .764(The return)5.764 F 1.36(status is 0 unless an error occurs while\ reading the name of the current directory or an in)144 554.4 R -.25(va) -.4 G(lid).25 E(option is supplied.)144 566.4 Q F1 -.18(re)108 583.2 S (ad).18 E F0([)2.5 E F1(\255ers)A F0 2.5(][)C F1<ad61>-2.5 E F2(aname) @@ -6517,32 +6647,32 @@ F .763(The return)5.763 F 1.36(status is 0 unless an error occurs while\ <ad74>-2.5 E F2(timeout)2.5 E F0 2.5(][)C F1<ad75>-2.5 E F2(fd)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .516(One line is read from the st\ andard input, or from the \214le descriptor)144 595.2 R F2(fd)3.016 E F0 -.516(supplied as an ar)3.016 F .516(gument to)-.18 F(the)144 607.2 Q F1 -<ad75>2.538 E F0 .038(option, and the \214rst w)2.538 F .038 -(ord is assigned to the \214rst)-.1 F F2(name)2.539 E F0 2.539(,t).18 G -.039(he second w)-2.539 F .039(ord to the second)-.1 F F2(name)2.539 E +.516(supplied as an ar)3.016 F .517(gument to)-.18 F(the)144 607.2 Q F1 +<ad75>2.539 E F0 .039(option, and the \214rst w)2.539 F .038 +(ord is assigned to the \214rst)-.1 F F2(name)2.538 E F0 2.538(,t).18 G +.038(he second w)-2.538 F .038(ord to the second)-.1 F F2(name)2.538 E F0(,).18 E .42(and so on, with lefto)144 619.2 R -.15(ve)-.15 G 2.92(rw) .15 G .42(ords and their interv)-3.02 F .42 (ening separators assigned to the last)-.15 F F2(name)2.92 E F0 5.42(.I) -.18 G 2.92(ft)-5.42 G(here)-2.92 E .54(are fe)144 631.2 R .54(wer w)-.25 -F .541(ords read from the input stream than names, the remaining names \ -are assigned empty)-.1 F -.25(va)144 643.2 S 2.511(lues. The).25 F .011 -(characters in)2.511 F/F3 9/Times-Bold@0 SF(IFS)2.511 E F0 .011 +.18 G 2.92(ft)-5.42 G(here)-2.92 E .541(are fe)144 631.2 R .541(wer w) +-.25 F .541(ords read from the input stream than names, the remaining n\ +ames are assigned empty)-.1 F -.25(va)144 643.2 S 2.51(lues. The).25 F +.011(characters in)2.511 F/F3 9/Times-Bold@0 SF(IFS)2.511 E F0 .011 (are used to split the line into w)2.261 F 2.511(ords. The)-.1 F .011 -(backslash character \()2.511 F F1(\\)A F0 2.51(\)m)C(ay)-2.51 E 1.89 -(be used to remo)144 655.2 R 2.19 -.15(ve a)-.15 H 2.19 -.15(ny s).15 H -1.891(pecial meaning for the ne).15 F 1.891 +(backslash character \()2.511 F F1(\\)A F0 2.511(\)m)C(ay)-2.511 E 1.891 +(be used to remo)144 655.2 R 2.191 -.15(ve a)-.15 H 2.191 -.15(ny s).15 +H 1.891(pecial meaning for the ne).15 F 1.89 (xt character read and for line continuation.)-.15 F (Options, if supplied, ha)144 667.2 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1<ad61>144 679.2 Q F2(aname)2.5 E F0 1.05(The w) -180 691.2 R 1.049 +(wing meanings:)-.25 E F1<ad61>144 679.2 Q F2(aname)2.5 E F0 1.049 +(The w)180 691.2 R 1.049 (ords are assigned to sequential indices of the array v)-.1 F(ariable) --.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049(tarting at 0.)-3.549 F -F2(aname)180.33 703.2 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 --.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E F2(name)2.5 E F0 -(ar)2.5 E(guments are ignored.)-.18 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(55)198.445 E 0 Cg EP -%%Page: 56 56 +-.25 E F2(aname)3.55 E F0 3.55(,s).18 G 1.05(tarting at 0.)-3.55 F F2 +(aname)180.33 703.2 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 -.25 +(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E F2(name)2.5 E F0(ar)2.5 +E(guments are ignored.)-.18 E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 +E(56)197.335 E 0 Cg EP +%%Page: 57 57 %%BeginPageSetup BP %%EndPageSetup @@ -6550,120 +6680,122 @@ BP -.35 E/F1 10/Times-Bold@0 SF<ad64>144 84 Q/F2 10/Times-Italic@0 SF (delim)2.5 E F0(The \214rst character of)180 96 Q F2(delim)2.5 E F0 (is used to terminate the input line, rather than ne)2.5 E(wline.)-.25 E -F1<ad65>144 108 Q F0 .372 +F1<ad65>144 108 Q F0 .373 (If the standard input is coming from a terminal,)25.86 F F1 -.18(re) 2.873 G(adline).18 E F0(\(see)2.873 E/F3 9/Times-Bold@0 SF(READLINE) -2.873 E F0(abo)2.623 E -.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G -(sed)-2.873 E(to obtain the line.)180 120 Q F1<ad69>144 132 Q F2(te)2.5 -E(xt)-.2 E F0(If)10.78 E F1 -.18(re)2.716 G(adline).18 E F0 .216 -(is being used to read the line,)2.716 F F2(te)2.716 E(xt)-.2 E F0 .216 -(is placed into the editing b)2.716 F(uf)-.2 E .215(fer before edit-) +2.872 E F0(abo)2.622 E -.15(ve)-.15 G 2.872(\)i).15 G 2.872(su)-2.872 G +(sed)-2.872 E(to obtain the line.)180 120 Q F1<ad69>144 132 Q F2(te)2.5 +E(xt)-.2 E F0(If)10.78 E F1 -.18(re)2.715 G(adline).18 E F0 .216 +(is being used to read the line,)2.715 F F2(te)2.716 E(xt)-.2 E F0 .216 +(is placed into the editing b)2.716 F(uf)-.2 E .216(fer before edit-) -.25 F(ing be)180 144 Q(gins.)-.15 E F1<ad6e>144 156 Q F2(nc)2.5 E(har) --.15 E(s)-.1 E F1 -.18(re)180 168 S(ad).18 E F0 1.394 -(returns after reading)3.894 F F2(nc)3.894 E(har)-.15 E(s)-.1 E F0 1.395 -(characters rather than w)3.894 F 1.395(aiting for a complete line of) +-.15 E(s)-.1 E F1 -.18(re)180 168 S(ad).18 E F0 1.395 +(returns after reading)3.895 F F2(nc)3.895 E(har)-.15 E(s)-.1 E F0 1.395 +(characters rather than w)3.895 F 1.394(aiting for a complete line of) -.1 F(input.)180 180 Q F1<ad70>144 192 Q F2(pr)2.5 E(ompt)-.45 E F0 -(Display)180 204 Q F2(pr)3.661 E(ompt)-.45 E F0 1.161(on standard error) -3.661 F 3.661(,w)-.4 G 1.161(ithout a trailing ne)-3.661 F 1.161 +(Display)180 204 Q F2(pr)3.66 E(ompt)-.45 E F0 1.161(on standard error) +3.66 F 3.661(,w)-.4 G 1.161(ithout a trailing ne)-3.661 F 1.161 (wline, before attempting to read)-.25 F(an)180 216 Q 2.5(yi)-.15 G 2.5 (nput. The)-2.5 F (prompt is displayed only if input is coming from a terminal.)2.5 E F1 -<ad72>144 228 Q F0 .543(Backslash does not act as an escape character) -25.86 F 5.543(.T)-.55 G .544(he backslash is considered to be part of) +<ad72>144 228 Q F0 .544(Backslash does not act as an escape character) +25.86 F 5.543(.T)-.55 G .543(he backslash is considered to be part of) -5.543 F(the line.)180 240 Q(In particular)5 E 2.5(,ab)-.4 G (ackslash-ne)-2.5 E(wline pair may not be used as a line continuation.) -.25 E F1<ad73>144 252 Q F0(Silent mode.)26.41 E (If input is coming from a terminal, characters are not echoed.)5 E F1 -<ad74>144 264 Q F2(timeout)2.5 E F0(Cause)180 276 Q F1 -.18(re)3.549 G -(ad).18 E F0 1.048(to time out and return f)3.549 F 1.048 +<ad74>144 264 Q F2(timeout)2.5 E F0(Cause)180 276 Q F1 -.18(re)3.548 G +(ad).18 E F0 1.048(to time out and return f)3.548 F 1.048 (ailure if a complete line of input is not read within)-.1 F F2(timeout) -180 288 Q F0 2.92(seconds. This)2.92 F .42(option has no ef)2.92 F .42 -(fect if)-.25 F F1 -.18(re)2.92 G(ad).18 E F0 .42 -(is not reading input from the terminal)2.92 F(or a pipe.)180 300 Q F1 -<ad75>144 312 Q F2(fd)2.5 E F0(Read input from \214le descriptor)14.46 E -F2(fd)2.5 E F0(.)A .192(If no)144 328.8 R F2(names)3.052 E F0 .192 +180 288 Q F0(seconds.)3.497 E F2(timeout)5.997 E F0 .997 +(may be a decimal number with a fractional portion follo)3.497 F(wing) +-.25 E .063(the decimal point.)180 300 R .064(This option has no ef) +5.063 F .064(fect if)-.25 F F1 -.18(re)2.564 G(ad).18 E F0 .064 +(is not reading input from the terminal)2.564 F(or a pipe.)180 312 Q F1 +<ad75>144 324 Q F2(fd)2.5 E F0(Read input from \214le descriptor)14.46 E +F2(fd)2.5 E F0(.)A .192(If no)144 340.8 R F2(names)3.052 E F0 .192 (are supplied, the line read is assigned to the v)2.962 F(ariable)-.25 E F3(REPL)2.691 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .191 (The return code is zero,)4.691 F 1.217 -(unless end-of-\214le is encountered,)144 340.8 R F1 -.18(re)3.717 G(ad) +(unless end-of-\214le is encountered,)144 352.8 R F1 -.18(re)3.717 G(ad) .18 E F0 1.217(times out, or an in)3.717 F -.25(va)-.4 G 1.218 -(lid \214le descriptor is supplied as the).25 F(ar)144 352.8 Q -(gument to)-.18 E F1<ad75>2.5 E F0(.)A F1 -.18(re)108 369.6 S(adonly).18 +(lid \214le descriptor is supplied as the).25 F(ar)144 364.8 Q +(gument to)-.18 E F1<ad75>2.5 E F0(.)A F1 -.18(re)108 381.6 S(adonly).18 E F0([)2.5 E F1(\255apf)A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(wor)A(d) --.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 381.6 R -.15(ve)-.25 G(n) +-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 393.6 R -.15(ve)-.25 G(n) .15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77(ed readonly; the v)-.1 F .77(alues of these)-.25 F F2(names)3.63 E F0 .77 -(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 393.6 R +(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 405.6 R 1.096(If the)6.096 F F1<ad66>3.596 E F0 1.097 (option is supplied, the functions corresponding to the)3.596 F F2 -(names)3.597 E F0 1.097(are so)3.597 F(mark)144 405.6 Q 2.873(ed. The) +(names)3.597 E F0 1.097(are so)3.597 F(mark)144 417.6 Q 2.873(ed. The) -.1 F F1<ad61>2.873 E F0 .373(option restricts the v)2.873 F .372 (ariables to arrays.)-.25 F .372(If no)5.372 F F2(name)3.232 E F0(ar) 3.052 E .372(guments are gi)-.18 F -.15(ve)-.25 G .372(n, or if the).15 -F F1<ad70>144 417.6 Q F0 .796 +F F1<ad70>144 429.6 Q F0 .796 (option is supplied, a list of all readonly names is printed.)3.296 F (The)5.796 E F1<ad70>3.296 E F0 .796(option causes output to be)3.296 F -.828(displayed in a format that may be reused as input.)144 429.6 R .828 +.828(displayed in a format that may be reused as input.)144 441.6 R .828 (If a v)5.828 F .828(ariable name is follo)-.25 F .827(wed by =)-.25 F -F2(wor)A(d)-.37 E F0 3.327(,t)C(he)-3.327 E -.25(va)144 441.6 S .404 +F2(wor)A(d)-.37 E F0 3.327(,t)C(he)-3.327 E -.25(va)144 453.6 S .404 (lue of the v).25 F .404(ariable is set to)-.25 F F2(wor)2.904 E(d)-.37 E F0 5.404(.T)C .405(he return status is 0 unless an in)-5.404 F -.25 (va)-.4 G .405(lid option is encountered,).25 F 1.07(one of the)144 -453.6 R F2(names)3.929 E F0 1.069(is not a v)3.839 F 1.069(alid shell v) +465.6 R F2(names)3.929 E F0 1.069(is not a v)3.839 F 1.069(alid shell v) -.25 F 1.069(ariable name, or)-.25 F F1<ad66>3.569 E F0 1.069 (is supplied with a)3.569 F F2(name)3.929 E F0 1.069(that is not a)3.749 -F(function.)144 465.6 Q F1 -.18(re)108 482.4 S(tur).18 E(n)-.15 E F0([) -2.5 E F2(n)A F0(])A .586(Causes a function to e)144 494.4 R .587 +F(function.)144 477.6 Q F1 -.18(re)108 494.4 S(tur).18 E(n)-.15 E F0([) +2.5 E F2(n)A F0(])A .586(Causes a function to e)144 506.4 R .587 (xit with the return v)-.15 F .587(alue speci\214ed by)-.25 F F2(n)3.087 E F0 5.587(.I).24 G(f)-5.587 E F2(n)3.447 E F0 .587 (is omitted, the return status is)3.327 F 1.335 -(that of the last command e)144 506.4 R -.15(xe)-.15 G 1.335 +(that of the last command e)144 518.4 R -.15(xe)-.15 G 1.335 (cuted in the function body).15 F 6.335(.I)-.65 G 3.835(fu)-6.335 G 1.335(sed outside a function, b)-3.835 F 1.335(ut during)-.2 F -.15(exe) -144 518.4 S .794(cution of a script by the).15 F F1(.)3.294 E F0(\() +144 530.4 S .794(cution of a script by the).15 F F1(.)3.294 E F0(\() 5.794 E F1(sour)A(ce)-.18 E F0 3.294(\)c)C .794 (ommand, it causes the shell to stop e)-3.294 F -.15(xe)-.15 G .795 -(cuting that script).15 F .246(and return either)144 530.4 R F2(n)3.106 +(cuting that script).15 F .246(and return either)144 542.4 R F2(n)3.106 E F0 .246(or the e)2.986 F .246(xit status of the last command e)-.15 F -.15(xe)-.15 G .246(cuted within the script as the e).15 F .245 -(xit sta-)-.15 F .081(tus of the script.)144 542.4 R .082 +(xit sta-)-.15 F .081(tus of the script.)144 554.4 R .082 (If used outside a function and not during e)5.082 F -.15(xe)-.15 G .082 (cution of a script by).15 F F1(.)2.582 E F0 2.582(,t).833 G .082 -(he return sta-)-2.582 F 2.306(tus is f)144 554.4 R 4.806(alse. An)-.1 F +(he return sta-)-2.582 F 2.306(tus is f)144 566.4 R 4.806(alse. An)-.1 F 4.806(yc)-.15 G 2.305(ommand associated with the)-4.806 F F1(RETURN) 4.805 E F0 2.305(trap is e)4.805 F -.15(xe)-.15 G 2.305(cuted before e) .15 F -.15(xe)-.15 G(cution).15 E(resumes after the function or script.) -144 566.4 Q F1(set)108 583.2 Q F0([)2.5 E F1 +144 578.4 Q F1(set)108 595.2 Q F0([)2.5 E F1 (\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1<ad6f>-2.5 E F2(option)2.5 -E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 595.2 Q F0 +E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 607.2 Q F0 ([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)-2.5 E F2(option) -2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 607.2 S +2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 619.2 S .835(thout options, the name and v).4 F .835(alue of each shell v)-.25 F .836(ariable are displayed in a format that can be)-.25 F .784 -(reused as input for setting or resetting the currently-set v)144 619.2 +(reused as input for setting or resetting the currently-set v)144 631.2 R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .783 -(riables cannot be).25 F 2.946(reset. In)144 631.2 R F2 .447(posix mode) +(riables cannot be).25 F 2.946(reset. In)144 643.2 R F2 .447(posix mode) 2.946 F F0 2.947(,o)C .447(nly shell v)-2.947 F .447 (ariables are listed.)-.25 F .447 (The output is sorted according to the current)5.447 F 3.531 -(locale. When)144 643.2 R 1.031(options are speci\214ed, the)3.531 F +(locale. When)144 655.2 R 1.031(options are speci\214ed, the)3.531 F 3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.53(utes. An) -.2 F 3.53(ya)-.15 G -.18(rg)-3.53 G 1.03(uments remaining).18 F .202 -(after the options are processed are treated as v)144 655.2 R .202 +(after the options are processed are treated as v)144 667.2 R .202 (alues for the positional parameters and are assigned,)-.25 F(in order) -144 667.2 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A +144 679.2 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 679.2 Q +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 691.2 Q F0 .54(Automatically mark v)29.3 F .539 (ariables and functions which are modi\214ed or created for e)-.25 F -.539(xport to)-.15 F(the en)184 691.2 Q -(vironment of subsequent commands.)-.4 E F1<ad62>144 703.2 Q F0 .131 +.539(xport to)-.15 F(the en)184 703.2 Q +(vironment of subsequent commands.)-.4 E F1<ad62>144 715.2 Q F0 .131 (Report the status of terminated background jobs immediately)28.74 F 2.632(,r)-.65 G .132(ather than before the ne)-2.632 F(xt)-.15 E -(primary prompt.)184 715.2 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) --.25 H(nly when job control is enabled.).15 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(56)198.445 E 0 Cg EP -%%Page: 57 57 +(primary prompt.)184 727.2 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) +-.25 H(nly when job control is enabled.).15 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(57)197.335 E 0 Cg EP +%%Page: 58 58 %%BeginPageSetup BP %%EndPageSetup @@ -6745,9 +6877,9 @@ F1<ad50>2.5 E F0(.)A F1(pipefail)184 696 Q F0 1.029 R 1.136 (xit with a non-zero status, or zero if all commands in the pipeline) -.15 F -.15(ex)224 720 S(it successfully).15 E 5(.T)-.65 G -(his option is disabled by def)-5 E(ault.)-.1 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(57)198.445 E 0 Cg EP -%%Page: 58 58 +(his option is disabled by def)-5 E(ault.)-.1 E(GNU Bash-4.0)72 768 Q +(2008 May 25)147.345 E(58)197.335 E 0 Cg EP +%%Page: 59 59 %%BeginPageSetup BP %%EndPageSetup @@ -6861,9 +6993,9 @@ F1<ad78>3.445 E F0(and)3.445 E F1<ad76>3.445 E F0 .945 (current set of options may be found in)144 682.8 R F1<24ad>2.566 E F0 5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066 (ys true unless an in).1 F -.25(va)-.4 G .066(lid option).25 F -(is encountered.)144 694.8 Q(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 -E(58)198.445 E 0 Cg EP -%%Page: 59 59 +(is encountered.)144 694.8 Q(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E +(59)197.335 E 0 Cg EP +%%Page: 60 60 %%BeginPageSetup BP %%EndPageSetup @@ -6966,665 +7098,677 @@ Q F0 .419(If set,)184 673.2 R F1(bash)2.919 E F0 .419(changes its beha) 2.919 F .419(vior to that of v)-.2 F .42 (ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E (to the conditional command')184 685.2 Q 2.5(s=)-.55 G 2.5(~o)-2.5 G -(perator)-2.5 E(.)-.55 E F1(dotglob)144 697.2 Q F0 .165(If set,)7.77 F -F1(bash)2.665 E F0 .165(includes \214lenames be)2.665 F .165 -(ginning with a `.)-.15 F 2.665('i)-.7 G 2.665(nt)-2.665 G .165 -(he results of pathname e)-2.665 F(xpansion.)-.15 E F1(execfail)144 -709.2 Q F0 1.386(If set, a non-interacti)7.79 F 1.686 -.15(ve s)-.25 H -1.386(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 -G 1.387(cute the \214le speci\214ed as an).15 F(ar)184 721.2 Q -(gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E -(An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 -E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(59)198.445 E 0 Cg EP -%%Page: 60 60 +(perator)-2.5 E(.)-.55 E F1(dirspell)144 697.2 Q F0 .859(If set,)7.77 F +F1(bash)3.359 E F0 .858 +(attempts spelling correction on directory names during w)3.359 F .858 +(ord completion if)-.1 F +(the directory name initially supplied does not e)184 709.2 Q(xist.)-.15 +E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(60)197.335 E 0 Cg EP +%%Page: 61 61 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(expand_aliases)144 84 Q F0 .717 -(If set, aliases are e)184 96 R .717(xpanded as described abo)-.15 F -1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E -/F3 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F -(by def)184 108 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) -.15 E F1(extdeb)144 120 Q(ug)-.2 E F0(If set, beha)184 132 Q +-.35 E/F1 10/Times-Bold@0 SF(dotglob)144 84 Q F0 .165(If set,)7.77 F F1 +(bash)2.665 E F0 .165(includes \214lenames be)2.665 F .165 +(ginning with a `.)-.15 F 2.665('i)-.7 G 2.665(nt)-2.665 G .165 +(he results of pathname e)-2.665 F(xpansion.)-.15 E F1(execfail)144 96 Q +F0 1.387(If set, a non-interacti)7.79 F 1.687 -.15(ve s)-.25 H 1.386 +(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 G +1.386(cute the \214le speci\214ed as an).15 F(ar)184 108 Q +(gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E +(An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 +E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 120 Q F0 +.716(If set, aliases are e)184 132 R .717(xpanded as described abo)-.15 +F 1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E +/F3 9/Times-Roman@0 SF(.)A F0 .717(This option is enabled)5.217 F +(by def)184 144 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(extdeb)144 156 Q(ug)-.2 E F0(If set, beha)184 168 Q (vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184 -144 Q F0(The)28.5 E F1<ad46>4.25 E F0 1.75(option to the)4.25 F F1 +180 Q F0(The)28.5 E F1<ad46>4.251 E F0 1.751(option to the)4.251 F F1 (declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751 (iltin displays the source \214le name and line).2 F -(number corresponding to each function name supplied as an ar)220 156 Q -(gument.)-.18 E F1(2.)184 168 Q F0 1.667(If the command run by the)28.5 +(number corresponding to each function name supplied as an ar)220 192 Q +(gument.)-.18 E F1(2.)184 204 Q F0 1.667(If the command run by the)28.5 F F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F -1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 180 -Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 192 Q F0 .84 -(If the command run by the)28.5 F F1(DEB)3.34 E(UG)-.1 E F0 .841 -(trap returns a v)3.341 F .841(alue of 2, and the shell is)-.25 F -.15 -(exe)220 204 S .488 +1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 216 +Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 228 Q F0 .841 +(If the command run by the)28.5 F F1(DEB)3.341 E(UG)-.1 E F0 .841 +(trap returns a v)3.341 F .84(alue of 2, and the shell is)-.25 F -.15 +(exe)220 240 S .488 (cuting in a subroutine \(a shell function or a shell script e).15 F -.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1 -(sour)220 216 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1 +(sour)220 252 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1 -.18(re)2.5 G(tur).18 E(n)-.15 E F0(is simulated.)2.5 E F1 26(4. B)184 -228 R(ASH_ARGC)-.3 E F0(and)3.775 E F1 -.3(BA)3.775 G(SH_ARGV).3 E F0 -1.276(are updated as described in their descrip-)3.775 F(tions abo)220 -240 Q -.15(ve)-.15 G(.).15 E F1(5.)184 252 Q F0 1.359 +264 R(ASH_ARGC)-.3 E F0(and)3.776 E F1 -.3(BA)3.776 G(SH_ARGV).3 E F0 +1.275(are updated as described in their descrip-)3.776 F(tions abo)220 +276 Q -.15(ve)-.15 G(.).15 E F1(5.)184 288 Q F0 1.359 (Function tracing is enabled:)28.5 F 1.359 (command substitution, shell functions, and sub-)6.359 F(shells in)220 -264 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10 +300 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10 /Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1 (DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps.)2.5 E F1(6.) -184 276 Q F0 .804(Error tracing is enabled:)28.5 F .805 -(command substitution, shell functions, and subshells)5.804 F(in)220 288 +184 312 Q F0 .805(Error tracing is enabled:)28.5 F .804 +(command substitution, shell functions, and subshells)5.805 F(in)220 324 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4 (command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E(OR)-.3 E F0 -(trap.)2.5 E F1(extglob)144 300 Q F0 .4(If set, the e)8.89 F .4 +(trap.)2.5 E F1(extglob)144 336 Q F0 .4(If set, the e)8.89 F .4 (xtended pattern matching features described abo)-.15 F .7 -.15(ve u) --.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 312 Q -F0(are enabled.)2.5 E F1(extquote)144 324 Q F0 2.473(If set,)184 336 R +-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 348 Q +F0(are enabled.)2.5 E F1(extquote)144 360 Q F0 2.473(If set,)184 372 R F1($)4.973 E F0<08>A F4(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within) -4.973 F F1(${)4.973 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G -(pansions).15 E(enclosed in double quotes.)184 348 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 360 Q F0 -1.425(If set, patterns which f)7.77 F 1.425 -(ail to match \214lenames during pathname e)-.1 F 1.424 -(xpansion result in an)-.15 F -.15(ex)184 372 S(pansion error).15 E(.) --.55 E F1 -.25(fo)144 384 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 -.585(If set, the suf)184 396 R<8c78>-.25 E .585(es speci\214ed by the) +(pansions).15 E(enclosed in double quotes.)184 384 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 396 Q F0 +1.424(If set, patterns which f)7.77 F 1.425 +(ail to match \214lenames during pathname e)-.1 F 1.425 +(xpansion result in an)-.15 F -.15(ex)184 408 S(pansion error).15 E(.) +-.55 E F1 -.25(fo)144 420 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 +.585(If set, the suf)184 432 R<8c78>-.25 E .585(es speci\214ed by the) -.15 F F1(FIGNORE)3.085 E F0 .585(shell v)3.085 F .585(ariable cause w) --.25 F .585(ords to be ignored)-.1 F .32(when performing w)184 408 R .32 +-.25 F .585(ords to be ignored)-.1 F .32(when performing w)184 444 R .32 (ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32 -(he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 3.329 -(pletions. See)184 420 R F2 .829(SHELL V)3.329 F(ARIABLES)-1.215 E F0 -(abo)3.079 E 1.129 -.15(ve f)-.15 H .83(or a description of).15 F F1 -(FIGNORE)3.33 E F0 5.83(.T)C .83(his option)-5.83 F(is enabled by def) -184 432 Q(ault.)-.1 E F1(gnu_errfmt)144 444 Q F0(If set, shell error me\ -ssages are written in the standard GNU error message format.)184 456 Q -F1(histappend)144 468 Q F0 .384 +(he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 3.33 +(pletions. See)184 456 R F2 .83(SHELL V)3.33 F(ARIABLES)-1.215 E F0(abo) +3.08 E 1.13 -.15(ve f)-.15 H .829(or a description of).15 F F1(FIGNORE) +3.329 E F0 5.829(.T)C .829(his option)-5.829 F(is enabled by def)184 468 +Q(ault.)-.1 E F1(globstar)144 480 Q F0 .439(If set, the pattern)5 F F1 +(**)2.939 E F0 .439(used in a \214lename e)2.939 F .439(xpansion conte) +-.15 F .44(xt will match a \214les and zero or)-.15 F 1.298 +(more directories and subdirectories.)184 492 R 1.298 +(If the pattern is follo)6.298 F 1.298(wed by a)-.25 F F1(/)3.797 E F0 +3.797(,o)C 1.297(nly directories)-3.797 F(and subdirectories match.)184 +504 Q F1(gnu_errfmt)144 516 Q F0(If set, shell error messages are writt\ +en in the standard GNU error message format.)184 528 Q F1(histappend)144 +540 Q F0 .383 (If set, the history list is appended to the \214le named by the v)184 -480 R .383(alue of the)-.25 F F1(HISTFILE)2.883 E F0 -.25(va)2.883 G -(ri-).25 E(able when the shell e)184 492 Q(xits, rather than o)-.15 E --.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 504 Q(eedit)-.18 -E F0 .575(If set, and)184 516 R F1 -.18(re)3.075 G(adline).18 E F0 .575 -(is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576 -(he opportunity to re-edit a f)-3.075 F .576(ailed his-)-.1 F -(tory substitution.)184 528 Q F1(histv)144 540 Q(erify)-.1 E F0 .403 -(If set, and)184 552 R F1 -.18(re)2.903 G(adline).18 E F0 .403 +552 R .384(alue of the)-.25 F F1(HISTFILE)2.884 E F0 -.25(va)2.884 G +(ri-).25 E(able when the shell e)184 564 Q(xits, rather than o)-.15 E +-.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 576 Q(eedit)-.18 +E F0 .576(If set, and)184 588 R F1 -.18(re)3.076 G(adline).18 E F0 .575 +(is being used, a user is gi)3.076 F -.15(ve)-.25 G 3.075(nt).15 G .575 +(he opportunity to re-edit a f)-3.075 F .575(ailed his-)-.1 F +(tory substitution.)184 600 Q F1(histv)144 612 Q(erify)-.1 E F0 .402 +(If set, and)184 624 R F1 -.18(re)2.903 G(adline).18 E F0 .403 (is being used, the results of history substitution are not immediately) -2.903 F .661(passed to the shell parser)184 564 R 5.661(.I)-.55 G .662 -(nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162 -G(adline).18 E F0(editing)3.162 E -.2(bu)184 576 S -.25(ff).2 G(er).25 E +2.903 F .662(passed to the shell parser)184 636 R 5.662(.I)-.55 G .661 +(nstead, the resulting line is loaded into the)-5.662 F F1 -.18(re)3.161 +G(adline).18 E F0(editing)3.161 E -.2(bu)184 648 S -.25(ff).2 G(er).25 E 2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1 -(hostcomplete)144 588 Q F0 1.182(If set, and)184 600 R F1 -.18(re)3.682 -G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181 -(will attempt to perform hostname completion)3.681 F 1.38(when a w)184 -612 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 -(is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E -F2(READLINE)3.881 E F0(abo)184 624 Q -.15(ve)-.15 G 2.5(\). This).15 F -(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 636 Q F0(If set,) -184 648 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 -(to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) -.15 E(xits.)-.15 E F1(interacti)144 660 Q -.1(ve)-.1 G(_comments).1 E F0 -.33(If set, allo)184 672 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 -(ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33 -(ord and all remaining characters on)-.1 F .967 -(that line to be ignored in an interacti)184 684 R 1.267 -.15(ve s)-.25 -H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 -G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 696 Q -(ault.)-.1 E F1(lithist)144 708 Q F0 .655(If set, and the)15.55 F F1 -(cmdhist)3.155 E F0 .654(option is enabled, multi-line commands are sa) -3.154 F -.15(ve)-.2 G 3.154(dt).15 G 3.154(ot)-3.154 G .654(he history) --3.154 F(with embedded ne)184 720 Q -(wlines rather than using semicolon separators where possible.)-.25 E -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(60)198.445 E 0 Cg EP -%%Page: 61 61 +(hostcomplete)144 660 Q F0 1.181(If set, and)184 672 R F1 -.18(re)3.681 +G(adline).18 E F0 1.181(is being used,)3.681 F F1(bash)3.682 E F0 1.182 +(will attempt to perform hostname completion)3.682 F 1.381(when a w)184 +684 R 1.381(ord containing a)-.1 F F1(@)3.881 E F0 1.381 +(is being completed \(see)3.881 F F1(Completing)3.88 E F0(under)3.88 E +F2(READLINE)3.88 E F0(abo)184 696 Q -.15(ve)-.15 G 2.5(\). This).15 F +(is enabled by def)2.5 E(ault.)-.1 E(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(61)197.335 E 0 Cg EP +%%Page: 62 62 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(login_shell)144 84 Q F0 .486 +-.35 E/F1 10/Times-Bold@0 SF(huponexit)144 84 Q F0(If set,)184 96 Q F1 +(bash)2.5 E F0(will send)2.5 E/F2 9/Times-Bold@0 SF(SIGHUP)2.5 E F0 +(to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) +.15 E(xits.)-.15 E F1(interacti)144 108 Q -.1(ve)-.1 G(_comments).1 E F0 +.33(If set, allo)184 120 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 +(ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33 +(ord and all remaining characters on)-.1 F .967 +(that line to be ignored in an interacti)184 132 R 1.267 -.15(ve s)-.25 +H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 +G 3.467(\). This).15 F .967(option is)3.467 F(enabled by def)184 144 Q +(ault.)-.1 E F1(lithist)144 156 Q F0 .654(If set, and the)15.55 F F1 +(cmdhist)3.154 E F0 .654(option is enabled, multi-line commands are sa) +3.154 F -.15(ve)-.2 G 3.155(dt).15 G 3.155(ot)-3.155 G .655(he history) +-3.155 F(with embedded ne)184 168 Q +(wlines rather than using semicolon separators where possible.)-.25 E F1 +(login_shell)144 180 Q F0 .486 (The shell sets this option if it is started as a login shell \(see)184 -96 R/F2 9/Times-Bold@0 SF(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo) -2.737 E -.15(ve)-.15 G 2.987(\). The).15 F -.25(va)184 108 S -(lue may not be changed.).25 E F1(mailwar)144 120 Q(n)-.15 E F0 .815 -(If set, and a \214le that)184 132 R F1(bash)3.315 E F0 .814 -(is checking for mail has been accessed since the last time it)3.315 F --.1(wa)184 144 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E +192 R F2(INV)2.986 E(OCA)-.405 E(TION)-.855 E F0(abo)2.736 E -.15(ve) +-.15 G 2.986(\). The).15 F -.25(va)184 204 S(lue may not be changed.).25 +E F1(mailwar)144 216 Q(n)-.15 E F0 .814(If set, and a \214le that)184 +228 R F1(bash)3.314 E F0 .815 +(is checking for mail has been accessed since the last time it)3.314 F +-.1(wa)184 240 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E (`The mail in)-.74 E/F3 10/Times-Italic@0 SF(mail\214le)2.5 E F0 (has been read')2.5 E 2.5('i)-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1 -(no_empty_cmd_completion)144 156 Q F0 .145(If set, and)184 168 R F1 -.18 -(re)2.645 G(adline).18 E F0 .145(is being used,)2.645 F F1(bash)2.646 E -F0 .146(will not attempt to search the)2.646 F F1 -.74(PA)2.646 G(TH) --.21 E F0 .146(for possible)2.646 F -(completions when completion is attempted on an empty line.)184 180 Q F1 -(nocaseglob)144 192 Q F0 .437(If set,)184 204 R F1(bash)2.937 E F0 .436 -(matches \214lenames in a case\255insensiti)2.937 F .736 -.15(ve f)-.25 -H .436(ashion when performing pathname).05 F -.15(ex)184 216 S +(no_empty_cmd_completion)144 252 Q F0 .146(If set, and)184 264 R F1 -.18 +(re)2.646 G(adline).18 E F0 .146(is being used,)2.646 F F1(bash)2.646 E +F0 .145(will not attempt to search the)2.646 F F1 -.74(PA)2.645 G(TH) +-.21 E F0 .145(for possible)2.645 F +(completions when completion is attempted on an empty line.)184 276 Q F1 +(nocaseglob)144 288 Q F0 .436(If set,)184 300 R F1(bash)2.936 E F0 .436 +(matches \214lenames in a case\255insensiti)2.936 F .737 -.15(ve f)-.25 +H .437(ashion when performing pathname).05 F -.15(ex)184 312 S (pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1(nocasematch)144 228 Q F0 1.193(If set,)184 -240 R F1(bash)3.693 E F0 1.194(matches patterns in a case\255insensiti) -3.693 F 1.494 -.15(ve f)-.25 H 1.194(ashion when performing matching).05 -F(while e)184 252 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 -E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 264 Q F0 -.855(If set,)184 276 R F1(bash)3.355 E F0(allo)3.355 E .855 -(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.354 G .854 -(thname Expansion).1 F F0(abo)3.354 E -.15(ve)-.15 G 3.354(\)t).15 G(o) --3.354 E -.15(ex)184 288 S(pand to a null string, rather than themselv) -.15 E(es.)-.15 E F1(pr)144 300 Q(ogcomp)-.18 E F0 .676 -(If set, the programmable completion f)184 312 R .677(acilities \(see) --.1 F F1(Pr)3.177 E .677(ogrammable Completion)-.18 F F0(abo)3.177 E --.15(ve)-.15 G(\)).15 E(are enabled.)184 324 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 336 Q(omptv) --.18 E(ars)-.1 E F0 1.448(If set, prompt strings under)184 348 R 1.448 -(go parameter e)-.18 F 1.447(xpansion, command substitution, arithmetic) --.15 F -.15(ex)184 360 S .17(pansion, and quote remo).15 F -.25(va)-.15 +-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 324 Q F0 1.194(If set,)184 +336 R F1(bash)3.694 E F0 1.194(matches patterns in a case\255insensiti) +3.694 F 1.493 -.15(ve f)-.25 H 1.193(ashion when performing matching).05 +F(while e)184 348 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 +E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 360 Q F0 +.854(If set,)184 372 R F1(bash)3.354 E F0(allo)3.354 E .855 +(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.355 G .855 +(thname Expansion).1 F F0(abo)3.355 E -.15(ve)-.15 G 3.355(\)t).15 G(o) +-3.355 E -.15(ex)184 384 S(pand to a null string, rather than themselv) +.15 E(es.)-.15 E F1(pr)144 396 Q(ogcomp)-.18 E F0 .677 +(If set, the programmable completion f)184 408 R .677(acilities \(see) +-.1 F F1(Pr)3.176 E .676(ogrammable Completion)-.18 F F0(abo)3.176 E +-.15(ve)-.15 G(\)).15 E(are enabled.)184 420 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 432 Q(omptv) +-.18 E(ars)-.1 E F0 1.447(If set, prompt strings under)184 444 R 1.448 +(go parameter e)-.18 F 1.448(xpansion, command substitution, arithmetic) +-.15 F -.15(ex)184 456 S .171(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G .17(fter being e)-2.67 F .17(xpanded as described in) --.15 F F2(PR)2.671 E(OMPTING)-.27 E F0(abo)2.421 E -.15(ve)-.15 G(.).15 -E(This option is enabled by def)184 372 Q(ault.)-.1 E F1 -.18(re)144 384 +-.15 F F2(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15(ve)-.15 G(.).15 E +(This option is enabled by def)184 468 Q(ault.)-.1 E F1 -.18(re)144 480 S(stricted_shell).18 E F0 1.069 (The shell sets this option if it is started in restricted mode \(see) -184 396 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 408 Q 4.178 +184 492 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 504 Q 4.178 (w\). The)-.25 F -.25(va)4.178 G 1.678(lue may not be changed.).25 F 1.678(This is not reset when the startup \214les are)6.678 F -.15(exe) -184 420 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E +184 516 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E -.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E -F1(shift_v)144 432 Q(erbose)-.1 E F0 .502(If set, the)184 444 R F1 -(shift)3.002 E F0 -.2(bu)3.002 G .501 -(iltin prints an error message when the shift count e).2 F .501 -(xceeds the number)-.15 F(of positional parameters.)184 456 Q F1(sour) -144 468 Q(cepath)-.18 E F0 .77(If set, the)184 480 R F1(sour)3.27 E(ce) --.18 E F0(\()3.27 E F1(.)A F0 3.27(\)b)C .77(uiltin uses the v)-3.47 F -.771(alue of)-.25 F F2 -.666(PA)3.271 G(TH)-.189 E F0 .771 -(to \214nd the directory containing the)3.021 F -(\214le supplied as an ar)184 492 Q 2.5(gument. This)-.18 F -(option is enabled by def)2.5 E(ault.)-.1 E F1(xpg_echo)144 504 Q F0 -(If set, the)184 516 Q F1(echo)2.5 E F0 -.2(bu)2.5 G(iltin e).2 E -(xpands backslash-escape sequences by def)-.15 E(ault.)-.1 E F1(suspend) -108 528 Q F0([)2.5 E F1<ad66>A F0(])A .493(Suspend the e)144 540 R -.15 -(xe)-.15 G .493(cution of this shell until it recei).15 F -.15(ve)-.25 G -2.992(sa).15 G F2(SIGCONT)A F0 2.992(signal. The)2.742 F F1<ad66>2.992 E -F0 .492(option says not to)2.992 F .758 -(complain if this is a login shell; just suspend an)144 552 R(yw)-.15 E -(ay)-.1 E 5.758(.T)-.65 G .759 +F1(shift_v)144 528 Q(erbose)-.1 E F0 .501(If set, the)184 540 R F1 +(shift)3.001 E F0 -.2(bu)3.001 G .501 +(iltin prints an error message when the shift count e).2 F .502 +(xceeds the number)-.15 F(of positional parameters.)184 552 Q F1(sour) +144 564 Q(cepath)-.18 E F0 .771(If set, the)184 576 R F1(sour)3.271 E +(ce)-.18 E F0(\()3.271 E F1(.)A F0 3.271(\)b)C .771(uiltin uses the v) +-3.471 F .771(alue of)-.25 F F2 -.666(PA)3.27 G(TH)-.189 E F0 .77 +(to \214nd the directory containing the)3.02 F(\214le supplied as an ar) +184 588 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E(ault.) +-.1 E F1(xpg_echo)144 600 Q F0(If set, the)184 612 Q F1(echo)2.5 E F0 +-.2(bu)2.5 G(iltin e).2 E(xpands backslash-escape sequences by def)-.15 +E(ault.)-.1 E F1(suspend)108 624 Q F0([)2.5 E F1<ad66>A F0(])A .492 +(Suspend the e)144 636 R -.15(xe)-.15 G .492 +(cution of this shell until it recei).15 F -.15(ve)-.25 G 2.992(sa).15 G +F2(SIGCONT).001 E F0 2.993(signal. The)2.743 F F1<ad66>2.993 E F0 .493 +(option says not to)2.993 F .759 +(complain if this is a login shell; just suspend an)144 648 R(yw)-.15 E +(ay)-.1 E 5.758(.T)-.65 G .758 (he return status is 0 unless the shell is a)-5.758 F(login shell and) -144 564 Q F1<ad66>2.5 E F0 +144 660 Q F1<ad66>2.5 E F0 (is not supplied, or if job control is not enabled.)2.5 E F1(test)108 -576 Q F3 -.2(ex)2.5 G(pr).2 E F1([)108 588 Q F3 -.2(ex)2.5 G(pr).2 E F1 +672 Q F3 -.2(ex)2.5 G(pr).2 E F1([)108 684 Q F3 -.2(ex)2.5 G(pr).2 E F1 (])2.5 E F0 1.15(Return a status of 0 or 1 depending on the e)6.77 F -.25(va)-.25 G 1.15(luation of the conditional e).25 F(xpression)-.15 E -F3 -.2(ex)3.65 G(pr).2 E F0 6.15(.E).73 G(ach)-6.15 E 1.187 -(operator and operand must be a separate ar)144 600 R 3.688 -(gument. Expressions)-.18 F 1.188(are composed of the primaries)3.688 F -1.89(described abo)144 612 R 2.19 -.15(ve u)-.15 H(nder).15 E F2 -(CONDITION)4.39 E 1.89(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(.)A -F1(test)6.39 E F0 1.889(does not accept an)4.389 F 4.389(yo)-.15 G 1.889 -(ptions, nor)-4.389 F(does it accept and ignore an ar)144 624 Q +F3 -.2(ex)3.65 G(pr).2 E F0 6.15(.E).73 G(ach)-6.15 E 1.188 +(operator and operand must be a separate ar)144 696 R 3.688 +(gument. Expressions)-.18 F 1.187(are composed of the primaries)3.688 F +1.889(described abo)144 708 R 2.189 -.15(ve u)-.15 H(nder).15 E F2 +(CONDITION)4.389 E 1.889(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(.)A +F1(test)6.389 E F0 1.89(does not accept an)4.389 F 4.39(yo)-.15 G 1.89 +(ptions, nor)-4.39 F(does it accept and ignore an ar)144 720 Q (gument of)-.18 E F1<adad>2.5 E F0(as signifying the end of options.)2.5 -E .785(Expressions may be combined using the follo)144 642 R .786 -(wing operators, listed in decreasing order of prece-)-.25 F 2.5 -(dence. The)144 654 R -.25(eva)2.5 G -(luation depends on the number of ar).25 E(guments; see belo)-.18 E -.65 -(w.)-.25 G F1(!)144 666 Q F3 -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)12.6 G -(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\() -144 678 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)6.77 -F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26 -(his may be used to o)-5.26 F -.15(ve)-.15 G .26 -(rride the normal precedence of opera-).15 F(tors.)180 690 Q F3 -.2(ex) -144 702 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35 -(Tr)180 714 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F3 --.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E(GNU Bash-3.2)72 768 Q -(2008 April 5)148.455 E(61)198.445 E 0 Cg EP -%%Page: 62 62 +E(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(62)197.335 E 0 Cg EP +%%Page: 63 63 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Italic@0 SF -.2(ex)144 84 S(pr1).2 E F0<ad>2.5 E/F2 -10/Times-Bold@0 SF(o)A F1 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 96 S -(ue if either).35 E F1 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F1 -.2(ex)2.5 G -(pr2).2 E F0(is true.)2.52 E F2(test)144 112.8 Q F0(and)2.5 E F2([)2.5 E +-.35 E .786(Expressions may be combined using the follo)144 84 R .785 +(wing operators, listed in decreasing order of prece-)-.25 F 2.5 +(dence. The)144 96 R -.25(eva)2.5 G(luation depends on the number of ar) +.25 E(guments; see belo)-.18 E -.65(w.)-.25 G/F1 10/Times-Bold@0 SF(!) +144 108 Q/F2 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)12.6 G +(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\() +144 120 Q F2 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)6.77 +F .26(alue of)-.25 F F2 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26 +(his may be used to o)-5.26 F -.15(ve)-.15 G .26 +(rride the normal precedence of opera-).15 F(tors.)180 132 Q F2 -.2(ex) +144 144 S(pr1).2 E F0<ad>2.5 E F1(a)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35 +(Tr)180 156 S(ue if both).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F2 +-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F2 -.2(ex)144 168 S(pr1).2 E +F0<ad>2.5 E F1(o)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 180 S +(ue if either).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F2 -.2(ex)2.5 G +(pr2).2 E F0(is true.)2.52 E F1(test)144 196.8 Q F0(and)2.5 E F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E (xpressions using a set of rules based on the number of ar)-.15 E -(guments.)-.18 E 2.5(0a)144 130.8 S -.18(rg)-2.5 G(uments).18 E(The e) -180 142.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 154.8 S -.18 -(rg)-2.5 G(ument).18 E(The e)180 166.8 Q +(guments.)-.18 E 2.5(0a)144 214.8 S -.18(rg)-2.5 G(uments).18 E(The e) +180 226.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 238.8 S -.18 +(rg)-2.5 G(ument).18 E(The e)180 250.8 Q (xpression is true if and only if the ar)-.15 E(gument is not null.)-.18 -E 2.5(2a)144 178.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) -180 190.8 R .37(gument is)-.18 F F2(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 +E 2.5(2a)144 262.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) +180 274.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 F .37(xpression is true if and only if the second ar)-.15 F .37 -(gument is null.)-.18 F .38(If the \214rst ar)180 202.8 R .38 -(gument is one of the unary conditional operators listed abo)-.18 F .679 --.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(CONDI-)2.879 E(TION)180 -214.8 Q .552(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 +(gument is null.)-.18 F .379(If the \214rst ar)180 286.8 R .38 +(gument is one of the unary conditional operators listed abo)-.18 F .68 +-.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(CONDI-)2.88 E(TION)180 +298.8 Q .553(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 (the e)2.802 F .552(xpression is true if the unary test is true.)-.15 F -.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 226.8 Q +.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 310.8 Q (alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E -(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 238.8 S -.18(rg)-2.5 G -(uments).18 E .024(If the second ar)180 250.8 R .023 +(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 322.8 S -.18(rg)-2.5 G +(uments).18 E .023(If the second ar)180 334.8 R .023 (gument is one of the binary conditional operators listed abo)-.18 F -.323 -.15(ve u)-.15 H(nder).15 E F3(CON-)2.523 E(DITION)180 262.8 Q -1.477(AL EXPRESSIONS)-.18 F F4(,)A F0 1.477(the result of the e)3.727 F +.324 -.15(ve u)-.15 H(nder).15 E F3(CON-)2.524 E(DITION)180 346.8 Q +1.478(AL EXPRESSIONS)-.18 F F4(,)A F0 1.477(the result of the e)3.727 F 1.477(xpression is the result of the binary test)-.15 F .513 -(using the \214rst and third ar)180 274.8 R .513(guments as operands.) --.18 F(The)5.513 E F2<ad61>3.013 E F0(and)3.013 E F2<ad6f>3.013 E F0 -.512(operators are considered)3.013 F .972 -(binary operators when there are three ar)180 286.8 R 3.472(guments. If) --.18 F .972(the \214rst ar)3.472 F .972(gument is)-.18 F F2(!)3.472 E F0 -3.472(,t)C .972(he v)-3.472 F .972(alue is)-.25 F .884(the ne)180 298.8 -R -.05(ga)-.15 G .884(tion of the tw).05 F(o-ar)-.1 E .884 -(gument test using the second and third ar)-.18 F 3.383(guments. If)-.18 -F .883(the \214rst)3.383 F(ar)180 310.8 Q .874(gument is e)-.18 F -(xactly)-.15 E F2(\()3.374 E F0 .875(and the third ar)3.374 F .875 -(gument is e)-.18 F(xactly)-.15 E F2(\))3.375 E F0 3.375(,t)C .875 -(he result is the one-ar)-3.375 F(gument)-.18 E(test of the second ar) -180 322.8 Q 2.5(gument. Otherwise,)-.18 F(the e)2.5 E(xpression is f) --.15 E(alse.)-.1 E 2.5(4a)144 334.8 S -.18(rg)-2.5 G(uments).18 E .385 -(If the \214rst ar)180 346.8 R .385(gument is)-.18 F F2(!)2.885 E F0 -2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 G .384 -(tion of the three-ar).05 F .384(gument e)-.18 F .384(xpression com-) --.15 F 1.647(posed of the remaining ar)180 358.8 R 4.147 -(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.648 +(using the \214rst and third ar)180 358.8 R .513(guments as operands.) +-.18 F(The)5.513 E F1<ad61>3.013 E F0(and)3.013 E F1<ad6f>3.013 E F0 +.513(operators are considered)3.013 F .972 +(binary operators when there are three ar)180 370.8 R 3.472(guments. If) +-.18 F .972(the \214rst ar)3.472 F .972(gument is)-.18 F F1(!)3.472 E F0 +3.472(,t)C .972(he v)-3.472 F .972(alue is)-.25 F .883(the ne)180 382.8 +R -.05(ga)-.15 G .883(tion of the tw).05 F(o-ar)-.1 E .884 +(gument test using the second and third ar)-.18 F 3.384(guments. If)-.18 +F .884(the \214rst)3.384 F(ar)180 394.8 Q .875(gument is e)-.18 F +(xactly)-.15 E F1(\()3.375 E F0 .875(and the third ar)3.375 F .875 +(gument is e)-.18 F(xactly)-.15 E F1(\))3.375 E F0 3.374(,t)C .874 +(he result is the one-ar)-3.374 F(gument)-.18 E(test of the second ar) +180 406.8 Q 2.5(gument. Otherwise,)-.18 F(the e)2.5 E(xpression is f) +-.15 E(alse.)-.1 E 2.5(4a)144 418.8 S -.18(rg)-2.5 G(uments).18 E .384 +(If the \214rst ar)180 430.8 R .384(gument is)-.18 F F1(!)2.884 E F0 +2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 G .385 +(tion of the three-ar).05 F .385(gument e)-.18 F .385(xpression com-) +-.15 F 1.648(posed of the remaining ar)180 442.8 R 4.147 +(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.647 (xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E -(according to precedence using the rules listed abo)180 370.8 Q -.15(ve) --.15 G(.).15 E 2.5(5o)144 382.8 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments) --.18 E 1.635(The e)180 394.8 R 1.635(xpression is parsed and e)-.15 F +(according to precedence using the rules listed abo)180 454.8 Q -.15(ve) +-.15 G(.).15 E 2.5(5o)144 466.8 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments) +-.18 E 1.635(The e)180 478.8 R 1.635(xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635 (luated according to precedence using the rules listed).25 F(abo)180 -406.8 Q -.15(ve)-.15 G(.).15 E F2(times)108 423.6 Q F0 1.229(Print the \ +490.8 Q -.15(ve)-.15 G(.).15 E F1(times)108 507.6 Q F0 1.229(Print the \ accumulated user and system times for the shell and for processes run f\ -rom the shell.)13.23 F(The return status is 0.)144 435.6 Q F2(trap)108 -452.4 Q F0([)2.5 E F2(\255lp)A F0 2.5(][)C([)-2.5 E F1(ar)A(g)-.37 E F0 -(])A F1(sigspec)2.5 E F0(...])2.5 E .703(The command)144 464.4 R F1(ar) -3.533 E(g)-.37 E F0 .703(is to be read and e)3.423 F -.15(xe)-.15 G .702 -(cuted when the shell recei).15 F -.15(ve)-.25 G 3.202(ss).15 G -(ignal\(s\))-3.202 E F1(sigspec)3.202 E F0 5.702(.I).31 G(f)-5.702 E F1 -(ar)3.532 E(g)-.37 E F0(is)3.422 E .608(absent \(and there is a single) -144 476.4 R F1(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F2<ad>3.108 E +rom the shell.)13.23 F(The return status is 0.)144 519.6 Q F1(trap)108 +536.4 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E F2(ar)A(g)-.37 E F0 +(])A F2(sigspec)2.5 E F0(...])2.5 E .702(The command)144 548.4 R F2(ar) +3.532 E(g)-.37 E F0 .702(is to be read and e)3.422 F -.15(xe)-.15 G .702 +(cuted when the shell recei).15 F -.15(ve)-.25 G 3.203(ss).15 G +(ignal\(s\))-3.203 E F2(sigspec)3.203 E F0 5.703(.I).31 G(f)-5.703 E F2 +(ar)3.533 E(g)-.37 E F0(is)3.423 E .609(absent \(and there is a single) +144 560.4 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E F0 3.108(,e)C .608 (ach speci\214ed signal is reset to its original disposition)-3.108 F -.659(\(the v)144 488.4 R .659(alue it had upon entrance to the shell\).) --.25 F(If)5.658 E F1(ar)3.488 E(g)-.37 E F0 .658 -(is the null string the signal speci\214ed by each)3.378 F F1(sigspec) -144.34 500.4 Q F0 .58(is ignored by the shell and by the commands it in) -3.39 F -.2(vo)-.4 G -.1(ke).2 G 3.081(s. If).1 F F1(ar)3.411 E(g)-.37 E -F0 .581(is not present and)3.301 F F2<ad70>3.081 E F0(has)3.081 E 1.215 -(been supplied, then the trap commands associated with each)144 512.4 R -F1(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214 -F(gu-)-.18 E .86(ments are supplied or if only)144 524.4 R F2<ad70>3.36 -E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F2(trap)3.36 E F0 .86 +.658(\(the v)144 572.4 R .658(alue it had upon entrance to the shell\).) +-.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .659 +(is the null string the signal speci\214ed by each)3.378 F F2(sigspec) +144.34 584.4 Q F0 .581 +(is ignored by the shell and by the commands it in)3.391 F -.2(vo)-.4 G +-.1(ke).2 G 3.08(s. If).1 F F2(ar)3.41 E(g)-.37 E F0 .58 +(is not present and)3.3 F F1<ad70>3.08 E F0(has)3.08 E 1.214 +(been supplied, then the trap commands associated with each)144 596.4 R +F2(sigspec)4.054 E F0 1.215(are displayed.)4.024 F 1.215(If no ar)6.215 +F(gu-)-.18 E .86(ments are supplied or if only)144 608.4 R F1<ad70>3.36 +E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86 (prints the list of commands associated with each)3.36 F 2.83 -(signal. The)144 536.4 R F2<ad6c>2.83 E F0 .33(option causes the shell \ -to print a list of signal names and their corresponding num-)2.83 F 4.31 -(bers. Each)144 548.4 R F1(sigspec)4.65 E F0 1.811 -(is either a signal name de\214ned in <)4.62 F F1(signal.h)A F0 1.811 -(>, or a signal number)B 6.811(.S)-.55 G(ignal)-6.811 E .745 -(names are case insensiti)144 560.4 R 1.045 -.15(ve a)-.25 H .745 -(nd the SIG pre\214x is optional.).15 F .745(If a)5.745 F F1(sigspec) +(signal. The)144 620.4 R F1<ad6c>2.83 E F0 .33(option causes the shell \ +to print a list of signal names and their corresponding num-)2.83 F +4.311(bers. Each)144 632.4 R F2(sigspec)4.651 E F0 1.811 +(is either a signal name de\214ned in <)4.621 F F2(signal.h)A F0 1.81 +(>, or a signal number)B 6.81(.S)-.55 G(ignal)-6.81 E .745 +(names are case insensiti)144 644.4 R 1.045 -.15(ve a)-.25 H .745 +(nd the SIG pre\214x is optional.).15 F .745(If a)5.745 F F2(sigspec) 3.585 E F0(is)3.555 E F3(EXIT)3.245 E F0 .745(\(0\) the command)2.995 F -F1(ar)144.33 572.4 Q(g)-.37 E F0 1.629(is e)4.349 F -.15(xe)-.15 G 1.629 -(cuted on e).15 F 1.63(xit from the shell.)-.15 F 1.63(If a)6.63 F F1 -(sigspec)4.47 E F0(is)4.44 E F3(DEB)4.13 E(UG)-.09 E F4(,)A F0 1.63 -(the command)3.88 F F1(ar)4.46 E(g)-.37 E F0 1.63(is e)4.35 F -.15(xe) --.15 G(cuted).15 E 1.207(before e)144 584.4 R -.15(ve)-.25 G(ry).15 E F1 -1.207(simple command)3.707 F F0(,)A F1(for)3.707 E F0(command,)3.706 E -F1(case)3.706 E F0(command,)3.706 E F1(select)3.706 E F0 1.206 -(command, e)3.706 F -.15(ve)-.25 G 1.206(ry arithmetic).15 F F1(for)144 -596.4 Q F0 .412(command, and before the \214rst command e)2.912 F -.15 -(xe)-.15 G .412(cutes in a shell function \(see).15 F F3 .413 -(SHELL GRAMMAR)2.912 F F0(abo)144 608.4 Q -.15(ve)-.15 G 2.666 -(\). Refer).15 F .166(to the description of the)2.666 F F2(extdeb)2.666 -E(ug)-.2 E F0 .166(option to the)2.666 F F2(shopt)2.666 E F0 -.2(bu) -2.666 G .166(iltin for details of its ef).2 F(fect)-.25 E .508(on the) -144 620.4 R F2(DEB)3.008 E(UG)-.1 E F0 3.008(trap. If)3.008 F(a)3.008 E -F1(sigspec)3.348 E F0(is)3.318 E F3(ERR)3.008 E F4(,)A F0 .508 -(the command)2.758 F F1(ar)3.338 E(g)-.37 E F0 .509(is e)3.228 F -.15 -(xe)-.15 G .509(cuted whene).15 F -.15(ve)-.25 G 3.009(ras).15 G .509 -(imple com-)-3.009 F 2.506(mand has a non\255zero e)144 632.4 R 2.506 +F2(ar)144.33 656.4 Q(g)-.37 E F0 1.63(is e)4.35 F -.15(xe)-.15 G 1.63 +(cuted on e).15 F 1.63(xit from the shell.)-.15 F 1.63(If a)6.63 F F2 +(sigspec)4.47 E F0(is)4.44 E F3(DEB)4.13 E(UG)-.09 E F4(,)A F0 1.629 +(the command)3.88 F F2(ar)4.459 E(g)-.37 E F0 1.629(is e)4.349 F -.15 +(xe)-.15 G(cuted).15 E 1.206(before e)144 668.4 R -.15(ve)-.25 G(ry).15 +E F2 1.206(simple command)3.706 F F0(,)A F2(for)3.706 E F0(command,) +3.706 E F2(case)3.706 E F0(command,)3.706 E F2(select)3.707 E F0 1.207 +(command, e)3.707 F -.15(ve)-.25 G 1.207(ry arithmetic).15 F F2(for)144 +680.4 Q F0 .412(command, and before the \214rst command e)2.913 F -.15 +(xe)-.15 G .412(cutes in a shell function \(see).15 F F3 .412 +(SHELL GRAMMAR)2.912 F F0(abo)144 692.4 Q -.15(ve)-.15 G 2.665 +(\). Refer).15 F .166(to the description of the)2.665 F F1(extdeb)2.666 +E(ug)-.2 E F0 .166(option to the)2.666 F F1(shopt)2.666 E F0 -.2(bu) +2.666 G .166(iltin for details of its ef).2 F(fect)-.25 E .509(on the) +144 704.4 R F1(DEB)3.009 E(UG)-.1 E F0 3.009(trap. If)3.009 F(a)3.009 E +F2(sigspec)3.348 E F0(is)3.318 E F3(ERR)3.008 E F4(,)A F0 .508 +(the command)2.758 F F2(ar)3.338 E(g)-.37 E F0 .508(is e)3.228 F -.15 +(xe)-.15 G .508(cuted whene).15 F -.15(ve)-.25 G 3.008(ras).15 G .508 +(imple com-)-3.008 F 2.506(mand has a non\255zero e)144 716.4 R 2.506 (xit status, subject to the follo)-.15 F 2.506(wing conditions.)-.25 F (The)7.506 E F3(ERR)5.006 E F0 2.506(trap is not)4.756 F -.15(exe)144 -644.4 S .105(cuted if the f).15 F .105 +728.4 S .105(cuted if the f).15 F .105 (ailed command is part of the command list immediately follo)-.1 F .105 -(wing a)-.25 F F2(while)2.605 E F0(or)2.605 E F2(until)2.605 E F0 -.1 -(ke)144 656.4 S(yw)-.05 E .549(ord, part of the test in an)-.1 F F1(if) -3.059 E F0 .549(statement, part of a command e)5.009 F -.15(xe)-.15 G -.549(cuted in a).15 F F2(&&)3.049 E F0(or)3.049 E/F5 10/Symbol SF<efef> -3.049 E F0 .549(list, or if)3.049 F .577(the command')144 668.4 R 3.077 -(sr)-.55 G .577(eturn v)-3.077 F .577(alue is being in)-.25 F -.15(ve) --.4 G .577(rted via).15 F F2(!)3.077 E F0 5.578(.T)C .578 -(hese are the same conditions obe)-5.578 F .578(yed by the)-.15 F F2 -(err)144 680.4 Q(exit)-.18 E F0 3.031(option. If)3.031 F(a)3.031 E F1 -(sigspec)3.371 E F0(is)3.341 E F3(RETURN)3.031 E F4(,)A F0 .531 -(the command)2.781 F F1(ar)3.361 E(g)-.37 E F0 .531(is e)3.251 F -.15 -(xe)-.15 G .53(cuted each time a shell function).15 F .316 -(or a script e)144 692.4 R -.15(xe)-.15 G .317(cuted with the).15 F F2 -(.)2.817 E F0(or)2.817 E F2(sour)2.817 E(ce)-.18 E F0 -.2(bu)2.817 G -.317(iltins \214nishes e).2 F -.15(xe)-.15 G 2.817(cuting. Signals).15 F -.317(ignored upon entry to)2.817 F .787 -(the shell cannot be trapped or reset.)144 704.4 R -.35(Tr)5.787 G .787 -(apped signals that are not being ignored are reset to their).35 F 1.1 -(original v)144 716.4 R 1.1 -(alues in a child process when it is created.)-.25 F 1.1 -(The return status is f)6.1 F 1.1(alse if an)-.1 F(y)-.15 E F1(sigspec) -3.94 E F0(is)3.91 E(in)144 728.4 Q -.25(va)-.4 G(lid; otherwise).25 E F2 -(trap)2.5 E F0(returns true.)2.5 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(62)198.445 E 0 Cg EP -%%Page: 63 63 +(wing a)-.25 F F1(while)2.605 E F0(or)2.605 E F1(until)2.605 E F0 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(63)197.335 E 0 Cg EP +%%Page: 64 64 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Bold@0 SF(type)108 84 Q F0([)2.5 E F1(\255aftpP)A F0 -(])A/F2 10/Times-Italic@0 SF(name)2.5 E F0([)2.5 E F2(name)A F0(...])2.5 -E -.4(Wi)144 96 S .174(th no options, indicate ho).4 F 2.674(we)-.25 G -(ach)-2.674 E F2(name)3.034 E F0 -.1(wo)2.854 G .173 -(uld be interpreted if used as a command name.).1 F .173(If the)5.173 F -F1<ad74>144 108 Q F0 .842(option is used,)3.342 F F1(type)3.342 E F0 -.843(prints a string which is one of)3.343 F F2(alias)3.343 E F0(,).27 E -F2 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)3.343 E F0 -(,).24 E F2 -.2(bu)3.343 G(iltin).2 E F0 3.343(,o).24 G(r)-3.343 E F2 -(\214le)5.253 E F0(if)3.523 E F2(name)144.36 120 Q F0 .087 -(is an alias, shell reserv)2.767 F .087(ed w)-.15 F .087 -(ord, function, b)-.1 F .086(uiltin, or disk \214le, respecti)-.2 F -.15 -(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F2 -(name)2.946 E F0 .086(is not)2.766 F .118 -(found, then nothing is printed, and an e)144 132 R .118 -(xit status of f)-.15 F .118(alse is returned.)-.1 F .119(If the)5.119 F -F1<ad70>2.619 E F0 .119(option is used,)2.619 F F1(type)2.619 E F0 .855 -(either returns the name of the disk \214le that w)144 144 R .855 -(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0 -.855(were speci\214ed as a com-)3.535 F .64(mand name, or nothing if)144 -156 R/F3 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641 -(uld not return).1 F F2(\214le)3.141 E F0 5.641(.T).18 G(he)-5.641 E F1 -<ad50>3.141 E F0 .641(option forces a)3.141 F/F4 9/Times-Bold@0 SF -.666 -(PA)3.141 G(TH)-.189 E F0 .113(search for each)144 168 R F2(name)2.613 E -F0 2.613(,e)C -.15(ve)-2.863 G 2.613(ni).15 G(f)-2.613 E F3 .113 -(type -t name)2.613 F F0 -.1(wo)2.613 G .113(uld not return).1 F F2 -(\214le)2.613 E F0 5.113(.I).18 G 2.613(fa)-5.113 G .112 -(command is hashed,)-.001 F F1<ad70>2.612 E F0(and)144 180 Q F1<ad50> -2.944 E F0 .444(print the hashed v)2.944 F .444 -(alue, not necessarily the \214le that appears \214rst in)-.25 F F4 --.666(PA)2.945 G(TH)-.189 E/F5 9/Times-Roman@0 SF(.)A F0 .445(If the) -4.945 F F1<ad61>2.945 E F0(option)2.945 E .265(is used,)144 192 R F1 -(type)2.765 E F0 .265(prints all of the places that contain an e)2.765 F --.15(xe)-.15 G .265(cutable named).15 F F2(name)2.765 E F0 5.265(.T).18 -G .265(his includes aliases)-5.265 F .426 -(and functions, if and only if the)144 204 R F1<ad70>2.926 E F0 .426 -(option is not also used.)2.926 F .427 -(The table of hashed commands is not)5.426 F .549(consulted when using) -144 216 R F1<ad61>3.049 E F0 5.549(.T)C(he)-5.549 E F1<ad66>3.049 E F0 -.548(option suppresses shell function lookup, as with the)3.049 F F1 -(command)3.048 E F0 -.2(bu)144 228 S(iltin.).2 E F1(type)5 E F0 -(returns true if an)2.5 E 2.5(yo)-.15 G 2.5(ft)-2.5 G(he ar)-2.5 E -(guments are found, f)-.18 E(alse if none are found.)-.1 E F1(ulimit)108 -244.8 Q F0([)2.5 E F1(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E -F2(limit)A F0(]])A(Pro)144 256.8 Q .243(vides control o)-.15 F -.15(ve) --.15 G 2.743(rt).15 G .243(he resources a)-2.743 F -.25(va)-.2 G .244 +-.35 E -.1(ke)144 84 S(yw)-.05 E .549(ord, part of the test in an)-.1 F +/F1 10/Times-Italic@0 SF(if)3.059 E F0 .549 +(statement, part of a command e)5.009 F -.15(xe)-.15 G .549(cuted in a) +.15 F/F2 10/Times-Bold@0 SF(&&)3.049 E F0(or)3.049 E/F3 10/Symbol SF +<efef>3.049 E F0 .549(list, or if)3.049 F .578(the command')144 96 R +3.078(sr)-.55 G .578(eturn v)-3.078 F .578(alue is being in)-.25 F -.15 +(ve)-.4 G .578(rted via).15 F F2(!)3.078 E F0 5.577(.T)C .577 +(hese are the same conditions obe)-5.577 F .577(yed by the)-.15 F F2 +(err)144 108 Q(exit)-.18 E F0 3.03(option. If)3.03 F(a)3.03 E F1 +(sigspec)3.37 E F0(is)3.341 E/F4 9/Times-Bold@0 SF(RETURN)3.031 E/F5 9 +/Times-Roman@0 SF(,)A F0 .531(the command)2.781 F F1(ar)3.361 E(g)-.37 E +F0 .531(is e)3.251 F -.15(xe)-.15 G .531 +(cuted each time a shell function).15 F .317(or a script e)144 120 R +-.15(xe)-.15 G .317(cuted with the).15 F F2(.)2.817 E F0(or)2.817 E F2 +(sour)2.817 E(ce)-.18 E F0 -.2(bu)2.817 G .317(iltins \214nishes e).2 F +-.15(xe)-.15 G 2.817(cuting. Signals).15 F .316(ignored upon entry to) +2.817 F .787(the shell cannot be trapped or reset.)144 132 R -.35(Tr) +5.787 G .787 +(apped signals that are not being ignored are reset to their).35 F 1.1 +(original v)144 144 R 1.1(alues in a child process when it is created.) +-.25 F 1.1(The return status is f)6.1 F 1.1(alse if an)-.1 F(y)-.15 E F1 +(sigspec)3.94 E F0(is)3.91 E(in)144 156 Q -.25(va)-.4 G(lid; otherwise) +.25 E F2(trap)2.5 E F0(returns true.)2.5 E F2(type)108 172.8 Q F0([)2.5 +E F2(\255aftpP)A F0(])A F1(name)2.5 E F0([)2.5 E F1(name)A F0(...])2.5 E +-.4(Wi)144 184.8 S .173(th no options, indicate ho).4 F 2.673(we)-.25 G +(ach)-2.673 E F1(name)3.033 E F0 -.1(wo)2.853 G .174 +(uld be interpreted if used as a command name.).1 F .174(If the)5.174 F +F2<ad74>144 196.8 Q F0 .843(option is used,)3.343 F F2(type)3.343 E F0 +.843(prints a string which is one of)3.343 F F1(alias)3.343 E F0(,).27 E +F1 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F1(function)3.343 E F0 +(,).24 E F1 -.2(bu)3.342 G(iltin).2 E F0 3.342(,o).24 G(r)-3.342 E F1 +(\214le)5.252 E F0(if)3.522 E F1(name)144.36 208.8 Q F0 .086 +(is an alias, shell reserv)2.766 F .086(ed w)-.15 F .086 +(ord, function, b)-.1 F .087(uiltin, or disk \214le, respecti)-.2 F -.15 +(ve)-.25 G(ly).15 E 5.087(.I)-.65 G 2.587(ft)-5.087 G(he)-2.587 E F1 +(name)2.947 E F0 .087(is not)2.767 F .119 +(found, then nothing is printed, and an e)144 220.8 R .118 +(xit status of f)-.15 F .118(alse is returned.)-.1 F .118(If the)5.118 F +F2<ad70>2.618 E F0 .118(option is used,)2.618 F F2(type)2.618 E F0 .855 +(either returns the name of the disk \214le that w)144 232.8 R .855 +(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F1(name)3.715 E F0 +.855(were speci\214ed as a com-)3.535 F .641(mand name, or nothing if) +144 244.8 R/F6 10/Courier@0 SF .641(type -t name)3.141 F F0 -.1(wo)3.141 +G .641(uld not return).1 F F1(\214le)3.14 E F0 5.64(.T).18 G(he)-5.64 E +F2<ad50>3.14 E F0 .64(option forces a)3.14 F F4 -.666(PA)3.14 G(TH)-.189 +E F0 .112(search for each)144 256.8 R F1(name)2.612 E F0 2.612(,e)C -.15 +(ve)-2.862 G 2.613(ni).15 G(f)-2.613 E F6 .113(type -t name)2.613 F F0 +-.1(wo)2.613 G .113(uld not return).1 F F1(\214le)2.613 E F0 5.113(.I) +.18 G 2.613(fac)-5.113 G .113(ommand is hashed,)-2.613 F F2<ad70>2.613 E +F0(and)144 268.8 Q F2<ad50>2.945 E F0 .445(print the hashed v)2.945 F +.444(alue, not necessarily the \214le that appears \214rst in)-.25 F F4 +-.666(PA)2.944 G(TH)-.189 E F5(.)A F0 .444(If the)4.944 F F2<ad61>2.944 +E F0(option)2.944 E .265(is used,)144 280.8 R F2(type)2.765 E F0 .265 +(prints all of the places that contain an e)2.765 F -.15(xe)-.15 G .265 +(cutable named).15 F F1(name)2.765 E F0 5.265(.T).18 G .265 +(his includes aliases)-5.265 F .427(and functions, if and only if the) +144 292.8 R F2<ad70>2.926 E F0 .426(option is not also used.)2.926 F +.426(The table of hashed commands is not)5.426 F .548 +(consulted when using)144 304.8 R F2<ad61>3.048 E F0 5.548(.T)C(he) +-5.548 E F2<ad66>3.048 E F0 .549 +(option suppresses shell function lookup, as with the)3.048 F F2 +(command)3.049 E F0 -.2(bu)144 316.8 S(iltin.).2 E F2(type)5 E F0 +(returns true if all of the ar)2.5 E(guments are found, f)-.18 E +(alse if an)-.1 E 2.5(ya)-.15 G(re not found.)-2.5 E F2(ulimit)108 333.6 +Q F0([)2.5 E F2(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F1 +(limit)A F0(]])A(Pro)144 345.6 Q .244(vides control o)-.15 F -.15(ve) +-.15 G 2.744(rt).15 G .244(he resources a)-2.744 F -.25(va)-.2 G .244 (ilable to the shell and to processes started by it, on systems).25 F -.944(that allo)144 268.8 R 3.444(ws)-.25 G .944(uch control.)-3.444 F -(The)5.944 E F1<ad48>3.444 E F0(and)3.444 E F1<ad53>3.444 E F0 .943 +.943(that allo)144 357.6 R 3.443(ws)-.25 G .943(uch control.)-3.443 F +(The)5.943 E F2<ad48>3.443 E F0(and)3.443 E F2<ad53>3.444 E F0 .944 (options specify that the hard or soft limit is set for the)3.444 F(gi) -144 280.8 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 +144 369.6 Q -.15(ve)-.25 G 2.709(nr).15 G 2.709(esource. A)-2.709 F .208 (hard limit cannot be increased by a non-root user once it is set; a so\ -ft limit may)2.708 F .426(be increased up to the v)144 292.8 R .426 -(alue of the hard limit.)-.25 F .425(If neither)5.426 F F1<ad48>2.925 E -F0(nor)2.925 E F1<ad53>2.925 E F0 .425 -(is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144 -304.8 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139 +ft limit may)2.709 F .425(be increased up to the v)144 381.6 R .425 +(alue of the hard limit.)-.25 F .426(If neither)5.425 F F2<ad48>2.926 E +F0(nor)2.926 E F2<ad53>2.926 E F0 .426 +(is speci\214ed, both the soft and)2.926 F .139(hard limits are set.)144 +393.6 R .139(The v)5.139 F .139(alue of)-.25 F F1(limit)2.729 E F0 .139 (can be a number in the unit speci\214ed for the resource or one)3.319 F -.742(of the special v)144 316.8 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1 -(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w) +.741(of the special v)144 405.6 R(alues)-.25 E F2(hard)3.241 E F0(,)A F2 +(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F2(unlimited)3.241 E F0 3.241(,w) C .741(hich stand for the current hard limit, the current)-3.241 F .78 -(soft limit, and no limit, respecti)144 328.8 R -.15(ve)-.25 G(ly).15 E -5.78(.I)-.65 G(f)-5.78 E F2(limit)3.37 E F0 .78 +(soft limit, and no limit, respecti)144 417.6 R -.15(ve)-.25 G(ly).15 E +5.78(.I)-.65 G(f)-5.78 E F1(limit)3.37 E F0 .78 (is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25 -F .499(resource is printed, unless the)144 340.8 R F1<ad48>2.999 E F0 -.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498 +F .498(resource is printed, unless the)144 429.6 R F2<ad48>2.999 E F0 +.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .499 (more than one resource is speci\214ed, the)2.999 F -(limit name and unit are printed before the v)144 352.8 Q 2.5 -(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F1 -<ad61>144 364.8 Q F0(All current limits are reported)25.3 E F1<ad62>144 -376.8 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E -F1<ad63>144 388.8 Q F0(The maximum size of core \214les created)25.86 E -F1<ad64>144 400.8 Q F0(The maximum size of a process')24.74 E 2.5(sd) --.55 G(ata se)-2.5 E(gment)-.15 E F1<ad65>144 412.8 Q F0 -(The maximum scheduling priority \("nice"\))25.86 E F1<ad66>144 424.8 Q +(limit name and unit are printed before the v)144 441.6 Q 2.5 +(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F2 +<ad61>144 453.6 Q F0(All current limits are reported)25.3 E F2<ad62>144 +465.6 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E +F2<ad63>144 477.6 Q F0(The maximum size of core \214les created)25.86 E +F2<ad64>144 489.6 Q F0(The maximum size of a process')24.74 E 2.5(sd) +-.55 G(ata se)-2.5 E(gment)-.15 E F2<ad65>144 501.6 Q F0 +(The maximum scheduling priority \("nice"\))25.86 E F2<ad66>144 513.6 Q F0(The maximum size of \214les written by the shell and its children) -26.97 E F1<ad69>144 436.8 Q F0(The maximum number of pending signals) -27.52 E F1<ad6c>144 448.8 Q F0(The maximum size that may be lock)27.52 E -(ed into memory)-.1 E F1<ad6d>144 460.8 Q F0 -(The maximum resident set size)21.97 E F1<ad6e>144 472.8 Q F0 .791(The \ +26.97 E F2<ad69>144 525.6 Q F0(The maximum number of pending signals) +27.52 E F2<ad6c>144 537.6 Q F0(The maximum size that may be lock)27.52 E +(ed into memory)-.1 E F2<ad6d>144 549.6 Q F0 +(The maximum resident set size)21.97 E F2<ad6e>144 561.6 Q F0 .791(The \ maximum number of open \214le descriptors \(most systems do not allo) -24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F -(be set\))180 484.8 Q F1<ad70>144 496.8 Q F0 -(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F1 -<ad71>144 508.8 Q F0 -(The maximum number of bytes in POSIX message queues)24.74 E F1<ad72>144 -520.8 Q F0(The maximum real-time scheduling priority)25.86 E F1<ad73>144 -532.8 Q F0(The maximum stack size)26.41 E F1<ad74>144 544.8 Q F0 -(The maximum amount of cpu time in seconds)26.97 E F1<ad75>144 556.8 Q +24.74 F 3.29(wt)-.25 G .79(his v)-3.29 F .79(alue to)-.25 F(be set\))180 +573.6 Q F2<ad70>144 585.6 Q F0 +(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F2 +<ad71>144 597.6 Q F0 +(The maximum number of bytes in POSIX message queues)24.74 E F2<ad72>144 +609.6 Q F0(The maximum real-time scheduling priority)25.86 E F2<ad73>144 +621.6 Q F0(The maximum stack size)26.41 E F2<ad74>144 633.6 Q F0 +(The maximum amount of cpu time in seconds)26.97 E F2<ad75>144 645.6 Q F0(The maximum number of processes a)24.74 E -.25(va)-.2 G -(ilable to a single user).25 E F1<ad76>144 568.8 Q F0 +(ilable to a single user).25 E F2<ad76>144 657.6 Q F0 (The maximum amount of virtual memory a)25.3 E -.25(va)-.2 G -(ilable to the shell).25 E F1<ad78>144 580.8 Q F0 -(The maximum number of \214le locks)25.3 E F1<ad54>144 592.8 Q F0 -(The maximum number of threads)23.63 E(If)144 609.6 Q F2(limit)2.933 E +(ilable to the shell).25 E F2<ad78>144 669.6 Q F0 +(The maximum number of \214le locks)25.3 E F2<ad54>144 681.6 Q F0 +(The maximum number of threads)23.63 E(If)144 698.4 Q F1(limit)2.933 E F0 .343(is gi)3.523 F -.15(ve)-.25 G .343(n, it is the ne).15 F 2.843 -(wv)-.25 G .343(alue of the speci\214ed resource \(the)-3.093 F F1<ad61> +(wv)-.25 G .343(alue of the speci\214ed resource \(the)-3.093 F F2<ad61> 2.843 E F0 .343(option is display only\).)2.843 F .343(If no)5.343 F -.175(option is gi)144 621.6 R -.15(ve)-.25 G .175(n, then).15 F F1<ad66> -2.675 E F0 .175(is assumed.)2.675 F -1.11(Va)5.175 G .175 -(lues are in 1024-byte increments, e)1.11 F .176(xcept for)-.15 F F1 -<ad74>2.676 E F0 2.676(,w)C .176(hich is in)-2.676 F(seconds,)144 633.6 -Q F1<ad70>2.516 E F0 2.516(,w)C .016 -(hich is in units of 512-byte blocks, and)-2.516 F F1<ad54>2.516 E F0(,) -A F1<ad62>2.515 E F0(,)A F1<ad6e>2.515 E F0 2.515(,a)C(nd)-2.515 E F1 -<ad75>2.515 E F0 2.515(,w)C .015(hich are unscaled v)-2.515 F(al-)-.25 E -3.787(ues. The)144 645.6 R 1.287(return status is 0 unless an in)3.787 F --.25(va)-.4 G 1.287(lid option or ar).25 F 1.287 -(gument is supplied, or an error occurs)-.18 F(while setting a ne)144 -657.6 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 674.4 Q F0([)2.5 E F1 -<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2 -(The user \214le-creation mask is set to)144 686.4 R F2(mode)2.7 E F0 +.176(option is gi)144 710.4 R -.15(ve)-.25 G .176(n, then).15 F F2<ad66> +2.676 E F0 .175(is assumed.)2.676 F -1.11(Va)5.175 G .175 +(lues are in 1024-byte increments, e)1.11 F .175(xcept for)-.15 F F2 +<ad74>2.675 E F0 2.675(,w)C .175(hich is in)-2.675 F(seconds,)144 722.4 +Q F2<ad70>3.563 E F0 3.563(,w)C 1.063 +(hich is in units of 512-byte blocks, and)-3.563 F F2<ad54>3.564 E F0(,) +A F2<ad62>3.564 E F0(,)A F2<ad6e>3.564 E F0 3.564(,a)C(nd)-3.564 E F2 +<ad75>3.564 E F0 3.564(,w)C 1.064(hich are unscaled)-3.564 F +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(64)197.335 E 0 Cg EP +%%Page: 65 65 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) +-.35 E -.25(va)144 84 S 3.083(lues. The).25 F .583 +(return status is 0 unless an in)3.083 F -.25(va)-.4 G .583 +(lid option or ar).25 F .583(gument is supplied, or an error occurs)-.18 +F(while setting a ne)144 96 Q 2.5(wl)-.25 G(imit.)-2.5 E/F1 10 +/Times-Bold@0 SF(umask)108 112.8 Q F0([)2.5 E F1<ad70>A F0 2.5(][)C F1 +<ad53>-2.5 E F0 2.5(][)C/F2 10/Times-Italic@0 SF(mode)-2.5 E F0(])A .2 +(The user \214le-creation mask is set to)144 124.8 R F2(mode)2.7 E F0 5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2 (gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\ therwise it is interpreted as a symbolic mode mask similar to that acce\ -pted by)144 698.4 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 -710.4 Q F2(mode)3.263 E F0 .382(is omitted, the current v)3.063 F .382 +pted by)144 136.8 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 +148.8 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 (alue of the mask is printed.)-.25 F(The)5.382 E F1<ad53>2.882 E F0 .382 (option causes the mask to be)2.882 F .547 -(printed in symbolic form; the def)144 722.4 R .547 +(printed in symbolic form; the def)144 160.8 R .547 (ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G -(he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F -(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(63)198.445 E 0 Cg EP -%%Page: 64 64 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Italic@0 SF(mode)144.38 84 Q F0 .552 -(is omitted, the output is in a form that may be reused as input.)3.232 -F .551(The return status is 0 if the)5.551 F(mode w)144 96 Q -(as successfully changed or if no)-.1 E F1(mode)2.5 E F0(ar)2.5 E -(gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E/F2 10 -/Times-Bold@0 SF(unalias)108 112.8 Q F0<5bad>2.5 E F2(a)A F0 2.5(][)C F1 -(name)-2.5 E F0(...])2.5 E(Remo)144 124.8 Q 1.955 -.15(ve e)-.15 H(ach) -.15 E F1(name)4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 -F(If)6.655 E F2<ad61>4.155 E F0 1.655 -(is supplied, all alias de\214nitions are)4.155 F(remo)144 136.8 Q -.15 -(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E -(alue is true unless a supplied)-.25 E F1(name)2.86 E F0 -(is not a de\214ned alias.)2.68 E F2(unset)108 153.6 Q F0<5bad>2.5 E F2 -(fv)A F0 2.5(][)C F1(name)-2.5 E F0(...])2.5 E -.15(Fo)144 165.6 S 3.107 -(re).15 G(ach)-3.107 E F1(name)3.107 E F0 3.107(,r).18 G(emo)-3.107 E -.907 -.15(ve t)-.15 H .607(he corresponding v).15 F .607 -(ariable or function.)-.25 F .606(If no options are supplied, or the) -5.607 F F2<ad76>144 177.6 Q F0 .304(option is gi)2.804 F -.15(ve)-.25 G -.304(n, each).15 F F1(name)3.164 E F0 .305(refers to a shell v)2.985 F -2.805(ariable. Read-only)-.25 F -.25(va)2.805 G .305 -(riables may not be unset.).25 F(If)5.305 E F2<ad66>144 189.6 Q F0 .46 -(is speci\214ed, each)2.96 F F1(name)3.32 E F0 .459 -(refers to a shell function, and the function de\214nition is remo)3.14 -F -.15(ve)-.15 G 2.959(d. Each).15 F .902(unset v)144 201.6 R .902 +(he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F F2 +(mode)144.38 172.8 Q F0 .551 +(is omitted, the output is in a form that may be reused as input.)3.231 +F .552(The return status is 0 if the)5.552 F(mode w)144 184.8 Q +(as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E +(gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1 +(unalias)108 201.6 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 +(...])2.5 E(Remo)144 213.6 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) +4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E +F1<ad61>4.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155 +F(remo)144 225.6 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E +(alue is true unless a supplied)-.25 E F2(name)2.86 E F0 +(is not a de\214ned alias.)2.68 E F1(unset)108 242.4 Q F0<5bad>2.5 E F1 +(fv)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.15(Fo)144 254.4 S 3.106 +(re).15 G(ach)-3.106 E F2(name)3.106 E F0 3.106(,r).18 G(emo)-3.106 E +.906 -.15(ve t)-.15 H .606(he corresponding v).15 F .607 +(ariable or function.)-.25 F .607(If no options are supplied, or the) +5.607 F F1<ad76>144 266.4 Q F0 .305(option is gi)2.805 F -.15(ve)-.25 G +.305(n, each).15 F F2(name)3.165 E F0 .305(refers to a shell v)2.985 F +2.805(ariable. Read-only)-.25 F -.25(va)2.805 G .304 +(riables may not be unset.).25 F(If)5.304 E F1<ad66>144 278.4 Q F0 .459 +(is speci\214ed, each)2.959 F F2(name)3.319 E F0 .459 +(refers to a shell function, and the function de\214nition is remo)3.139 +F -.15(ve)-.15 G 2.96(d. Each).15 F .903(unset v)144 290.4 R .903 (ariable or function is remo)-.25 F -.15(ve)-.15 G 3.402(df).15 G .902 -(rom the en)-3.402 F .903(vironment passed to subsequent commands.)-.4 F -(If)5.903 E(an)144 213.6 Q 4.285(yo)-.15 G(f)-4.285 E/F3 9/Times-Bold@0 -SF(RANDOM)4.285 E/F4 9/Times-Roman@0 SF(,)A F3(SECONDS)4.035 E F4(,)A F3 +(rom the en)-3.402 F .902(vironment passed to subsequent commands.)-.4 F +(If)5.902 E(an)144 302.4 Q 4.284(yo)-.15 G(f)-4.284 E/F3 9/Times-Bold@0 +SF(RANDOM)4.284 E/F4 9/Times-Roman@0 SF(,)A F3(SECONDS)4.035 E F4(,)A F3 (LINENO)4.035 E F4(,)A F3(HISTCMD)4.035 E F4(,)A F3(FUNCN)4.035 E(AME) -.18 E F4(,)A F3(GR)4.035 E(OUPS)-.27 E F4(,)A F0(or)4.035 E F3(DIRST) -4.284 E -.495(AC)-.81 G(K).495 E F0(are)4.034 E .328(unset, the)144 -225.6 R 2.828(yl)-.15 G .328(ose their special properties, e)-2.828 F +4.285 E -.495(AC)-.81 G(K).495 E F0(are)4.035 E .329(unset, the)144 +314.4 R 2.829(yl)-.15 G .328(ose their special properties, e)-2.829 F -.15(ve)-.25 G 2.828(ni).15 G 2.828(ft)-2.828 G(he)-2.828 E 2.828(ya) --.15 G .328(re subsequently reset.)-2.828 F .328(The e)5.328 F .329 -(xit status is true)-.15 F(unless a)144 237.6 Q F1(name)2.86 E F0 -(is readonly)2.68 E(.)-.65 E F2(wait)108 254.4 Q F0([)2.5 E F1 2.5(n.)C -(..)-2.5 E F0(])A -.8(Wa)144 266.4 S .288 +-.15 G .328(re subsequently reset.)-2.828 F .328(The e)5.328 F .328 +(xit status is true)-.15 F(unless a)144 326.4 Q F2(name)2.86 E F0 +(is readonly)2.68 E(.)-.65 E F1(wait)108 343.2 Q F0([)2.5 E F2 2.5(n.)C +(..)-2.5 E F0(])A -.8(Wa)144 355.2 S .288 (it for each speci\214ed process and return its termination status.).8 F -(Each)5.288 E F1(n)3.148 E F0 .287(may be a process ID or a)3.028 F .722 -(job speci\214cation; if a job spec is gi)144 278.4 R -.15(ve)-.25 G +(Each)5.288 E F2(n)3.148 E F0 .288(may be a process ID or a)3.028 F .722 +(job speci\214cation; if a job spec is gi)144 367.2 R -.15(ve)-.25 G .722(n, all processes in that job').15 F 3.222(sp)-.55 G .722 (ipeline are w)-3.222 F .722(aited for)-.1 F 5.722(.I)-.55 G(f)-5.722 E -F1(n)3.583 E F0(is)3.463 E 1.266(not gi)144 290.4 R -.15(ve)-.25 G 1.266 -(n, all currently acti).15 F 1.566 -.15(ve c)-.25 H 1.265 -(hild processes are w).15 F 1.265(aited for)-.1 F 3.765(,a)-.4 G 1.265 -(nd the return status is zero.)-3.765 F(If)6.265 E F1(n)4.125 E F0 .456 -(speci\214es a non-e)144 302.4 R .457 +F2(n)3.582 E F0(is)3.462 E 1.265(not gi)144 379.2 R -.15(ve)-.25 G 1.265 +(n, all currently acti).15 F 1.565 -.15(ve c)-.25 H 1.265 +(hild processes are w).15 F 1.265(aited for)-.1 F 3.765(,a)-.4 G 1.266 +(nd the return status is zero.)-3.765 F(If)6.266 E F2(n)4.126 E F0 .457 +(speci\214es a non-e)144 391.2 R .457 (xistent process or job, the return status is 127.)-.15 F .457 -(Otherwise, the return status is the)5.457 F -.15(ex)144 314.4 S +(Otherwise, the return status is the)5.457 F -.15(ex)144 403.2 S (it status of the last process or job w).15 E(aited for)-.1 E(.)-.55 E -/F5 10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 331.2 Q F0(If)108 343.2 Q -F2(bash)4.397 E F0 1.897(is started with the name)4.397 F F2(rbash)4.397 -E F0 4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F2<ad72>4.397 E F0 1.896 -(option is supplied at in)4.397 F -.2(vo)-.4 G 1.896 -(cation, the shell becomes).2 F 3.445(restricted. A)108 355.2 R .945 -(restricted shell is used to set up an en)3.445 F .946 -(vironment more controlled than the standard shell.)-.4 F(It)5.946 E -(beha)108 367.2 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F2 -(bash)2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E -(wing are disallo)-.25 E(wed or not performed:)-.25 E 32.5<8363>108 384 -S(hanging directories with)-32.5 E F2(cd)2.5 E F0 32.5<8373>108 400.8 S -(etting or unsetting the v)-32.5 E(alues of)-.25 E F2(SHELL)2.5 E F0(,)A -F2 -.74(PA)2.5 G(TH)-.21 E F0(,)A F2(ENV)2.5 E F0 2.5(,o)C(r)-2.5 E F2 --.3(BA)2.5 G(SH_ENV).3 E F0 32.5<8373>108 417.6 S -(pecifying command names containing)-32.5 E F2(/)2.5 E F0 32.5<8373>108 -434.4 S(pecifying a \214le name containing a)-32.5 E F2(/)2.5 E F0 -(as an ar)2.5 E(gument to the)-.18 E F2(.)2.5 E F0 -.2(bu)5 G -(iltin command).2 E 32.5<8353>108 451.2 S .351 +/F5 10.95/Times-Bold@0 SF(RESTRICTED SHELL)72 420 Q F0(If)108 432 Q F1 +(bash)4.396 E F0 1.896(is started with the name)4.396 F F1(rbash)4.397 E +F0 4.397(,o)C 4.397(rt)-4.397 G(he)-4.397 E F1<ad72>4.397 E F0 1.897 +(option is supplied at in)4.397 F -.2(vo)-.4 G 1.897 +(cation, the shell becomes).2 F 3.446(restricted. A)108 444 R .945 +(restricted shell is used to set up an en)3.446 F .945 +(vironment more controlled than the standard shell.)-.4 F(It)5.945 E +(beha)108 456 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E F1(bash) +2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E +(wing are disallo)-.25 E(wed or not performed:)-.25 E 32.5<8363>108 +472.8 S(hanging directories with)-32.5 E F1(cd)2.5 E F0 32.5<8373>108 +489.6 S(etting or unsetting the v)-32.5 E(alues of)-.25 E F1(SHELL)2.5 E +F0(,)A F1 -.74(PA)2.5 G(TH)-.21 E F0(,)A F1(ENV)2.5 E F0 2.5(,o)C(r)-2.5 +E F1 -.3(BA)2.5 G(SH_ENV).3 E F0 32.5<8373>108 506.4 S +(pecifying command names containing)-32.5 E F1(/)2.5 E F0 32.5<8373>108 +523.2 S(pecifying a \214le name containing a)-32.5 E F1(/)2.5 E F0 +(as an ar)2.5 E(gument to the)-.18 E F1(.)2.5 E F0 -.2(bu)5 G +(iltin command).2 E 32.5<8353>108 540 S .351 (pecifying a \214lename containing a slash as an ar)-32.5 F .351 -(gument to the)-.18 F F2<ad70>2.851 E F0 .351(option to the)2.851 F F2 -(hash)2.851 E F0 -.2(bu)2.851 G .351(iltin com-).2 F(mand)144 463.2 Q -32.5<8369>108 480 S(mporting function de\214nitions from the shell en) --32.5 E(vironment at startup)-.4 E 32.5<8370>108 496.8 S(arsing the v) --32.5 E(alue of)-.25 E F2(SHELLOPTS)2.5 E F0(from the shell en)2.5 E -(vironment at startup)-.4 E 32.5<8372>108 513.6 S(edirecting output usi\ +(gument to the)-.18 F F1<ad70>2.851 E F0 .351(option to the)2.851 F F1 +(hash)2.852 E F0 -.2(bu)2.852 G .352(iltin com-).2 F(mand)144 552 Q 32.5 +<8369>108 568.8 S(mporting function de\214nitions from the shell en) +-32.5 E(vironment at startup)-.4 E 32.5<8370>108 585.6 S(arsing the v) +-32.5 E(alue of)-.25 E F1(SHELLOPTS)2.5 E F0(from the shell en)2.5 E +(vironment at startup)-.4 E 32.5<8372>108 602.4 S(edirecting output usi\ ng the >, >|, <>, >&, &>, and >> redirection operators)-32.5 E 32.5 -<8375>108 530.4 S(sing the)-32.5 E F2(exec)2.5 E F0 -.2(bu)2.5 G +<8375>108 619.2 S(sing the)-32.5 E F1(exec)2.5 E F0 -.2(bu)2.5 G (iltin command to replace the shell with another command).2 E 32.5<8361> -108 547.2 S(dding or deleting b)-32.5 E(uiltin commands with the)-.2 E -F2<ad66>2.5 E F0(and)2.5 E F2<ad64>2.5 E F0(options to the)2.5 E F2 -(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8355>108 564 S -(sing the)-32.5 E F2(enable)2.5 E F0 -.2(bu)2.5 G +108 636 S(dding or deleting b)-32.5 E(uiltin commands with the)-.2 E F1 +<ad66>2.5 E F0(and)2.5 E F1<ad64>2.5 E F0(options to the)2.5 E F1 +(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8355>108 652.8 S +(sing the)-32.5 E F1(enable)2.5 E F0 -.2(bu)2.5 G (iltin command to enable disabled shell b).2 E(uiltins)-.2 E 32.5<8373> -108 580.8 S(pecifying the)-32.5 E F2<ad70>2.5 E F0(option to the)2.5 E -F2(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8374>108 597.6 -S(urning of)-32.5 E 2.5(fr)-.25 G(estricted mode with)-2.5 E F2(set +r) -2.5 E F0(or)2.5 E F2(set +o r)2.5 E(estricted)-.18 E F0(.)A -(These restrictions are enforced after an)108 614.4 Q 2.5(ys)-.15 G +108 669.6 S(pecifying the)-32.5 E F1<ad70>2.5 E F0(option to the)2.5 E +F1(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E 32.5<8374>108 686.4 +S(urning of)-32.5 E 2.5(fr)-.25 G(estricted mode with)-2.5 E F1(set +r) +2.5 E F0(or)2.5 E F1(set +o r)2.5 E(estricted)-.18 E F0(.)A +(These restrictions are enforced after an)108 703.2 Q 2.5(ys)-.15 G (tartup \214les are read.)-2.5 E 1.566 -(When a command that is found to be a shell script is e)108 631.2 R -.15 -(xe)-.15 G 1.567(cuted \(see).15 F F3 1.567(COMMAND EXECUTION)4.067 F F0 -(abo)3.817 E -.15(ve)-.15 G(\),).15 E F2(rbash)108 643.2 Q F0(turns of) -2.5 E 2.5(fa)-.25 G .3 -.15(ny r)-2.5 H(estrictions in the shell spa).15 -E(wned to e)-.15 E -.15(xe)-.15 G(cute the script.).15 E F5(SEE ALSO)72 -660 Q F1(Bash Refer)108 672 Q(ence Manual)-.37 E F0 2.5(,B)C(rian F)-2.5 -E(ox and Chet Rame)-.15 E(y)-.15 E F1(The Gnu Readline Libr)108 684 Q -(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E(y)-.15 E -F1(The Gnu History Libr)108 696 Q(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E -(ox and Chet Rame)-.15 E(y)-.15 E(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(64)198.445 E 0 Cg EP -%%Page: 65 65 +(When a command that is found to be a shell script is e)108 720 R -.15 +(xe)-.15 G 1.566(cuted \(see).15 F F3 1.566(COMMAND EXECUTION)4.066 F F0 +(abo)3.816 E -.15(ve)-.15 G(\),).15 E(GNU Bash-4.0)72 768 Q(2008 May 25) +147.345 E(65)197.335 E 0 Cg EP +%%Page: 66 66 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E/F1 10/Times-Italic@0 SF -.8(Po)108 84 S(rtable Oper).8 E +-.35 E/F1 10/Times-Bold@0 SF(rbash)108 84 Q F0(turns of)2.5 E 2.5(fa) +-.25 G .3 -.15(ny r)-2.5 H(estrictions in the shell spa).15 E(wned to e) +-.15 E -.15(xe)-.15 G(cute the script.).15 E/F2 10.95/Times-Bold@0 SF +(SEE ALSO)72 100.8 Q/F3 10/Times-Italic@0 SF(Bash Refer)108 112.8 Q +(ence Manual)-.37 E F0 2.5(,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E(y) +-.15 E F3(The Gnu Readline Libr)108 124.8 Q(ary)-.15 E F0 2.5(,B)C +(rian F)-2.5 E(ox and Chet Rame)-.15 E(y)-.15 E F3(The Gnu History Libr) +108 136.8 Q(ary)-.15 E F0 2.5(,B)C(rian F)-2.5 E(ox and Chet Rame)-.15 E +(y)-.15 E F3 -.8(Po)108 148.8 S(rtable Oper).8 E (ating System Interface \(POSIX\) P)-.15 E(art 2: Shell and Utilities) --.8 E F0 2.5(,I)C(EEE)-2.5 E F1(sh)108 96 Q F0(\(1\),)A F1(ksh)2.5 E F0 -(\(1\),)A F1(csh)2.5 E F0(\(1\))A F1(emacs)108 108 Q F0(\(1\),)A F1(vi) -2.5 E F0(\(1\))A F1 -.37(re)108 120 S(adline).37 E F0(\(3\))A/F2 10.95 -/Times-Bold@0 SF(FILES)72 136.8 Q F1(/bin/bash)109.666 148.8 Q F0(The) -144 160.8 Q/F3 10/Times-Bold@0 SF(bash)2.5 E F0 -.15(exe)2.5 G(cutable) -.15 E F1(/etc/pr)109.666 172.8 Q(o\214le)-.45 E F0 -(The systemwide initialization \214le, e)144 184.8 Q -.15(xe)-.15 G -(cuted for login shells).15 E F1(~/.bash_pr)109.666 196.8 Q(o\214le)-.45 -E F0(The personal initialization \214le, e)144 208.8 Q -.15(xe)-.15 G -(cuted for login shells).15 E F1(~/.bashr)109.666 220.8 Q(c)-.37 E F0 -(The indi)144 232.8 Q(vidual per)-.25 E(-interacti)-.2 E -.15(ve)-.25 G -(-shell startup \214le).15 E F1(~/.bash_lo)109.666 244.8 Q(gout)-.1 E F0 -(The indi)144 256.8 Q(vidual login shell cleanup \214le, e)-.25 E -.15 -(xe)-.15 G(cuted when a login shell e).15 E(xits)-.15 E F1(~/.inputr) -109.666 268.8 Q(c)-.37 E F0(Indi)144 280.8 Q(vidual)-.25 E F1 -.37(re) -2.5 G(adline).37 E F0(initialization \214le)2.5 E F2 -.548(AU)72 297.6 S -(THORS).548 E F0(Brian F)108 309.6 Q(ox, Free Softw)-.15 E(are F)-.1 E -(oundation)-.15 E(bfox@gnu.or)108 321.6 Q(g)-.18 E(Chet Rame)108 338.4 Q -1.3 -.65(y, C)-.15 H(ase W).65 E(estern Reserv)-.8 E 2.5(eU)-.15 G(ni) --2.5 E -.15(ve)-.25 G(rsity).15 E(chet@po.cwru.edu)108 350.4 Q F2 -.11 -(BU)72 367.2 S 2.738(GR).11 G(EPOR)-2.738 E(TS)-.438 E F0 .568 -(If you \214nd a b)108 379.2 R .568(ug in)-.2 F F3(bash,)3.068 E F0 .568 -(you should report it.)3.068 F .568(But \214rst, you should mak)5.568 F -3.068(es)-.1 G .568(ure that it really is a b)-3.068 F .567(ug, and)-.2 -F 5.625(that it appears in the latest v)108 391.2 R 5.625(ersion of)-.15 -F F3(bash)8.125 E F0 10.625(.T)C 5.625(he latest v)-10.625 F 5.626 -(ersion is al)-.15 F -.1(wa)-.1 G 5.626(ys a).1 F -.25(va)-.2 G 5.626 -(ilable from).25 F F1(ftp://ftp.gnu.or)108 403.2 Q(g/pub/bash/)-.37 E F0 -(.)A .411(Once you ha)108 420 R .711 -.15(ve d)-.2 H .411 -(etermined that a b).15 F .411(ug actually e)-.2 F .411(xists, use the) --.15 F F1(bashb)3.18 E(ug)-.2 E F0 .41(command to submit a b)3.13 F .41 -(ug report.)-.2 F(If)5.41 E .594(you ha)108 432 R .894 -.15(ve a \214) --.2 H .595(x, you are encouraged to mail that as well!).15 F .595 -(Suggestions and `philosophical' b)5.595 F .595(ug reports may)-.2 F -(be mailed to)108 444 Q F1 -.2(bu)2.5 G(g-bash@gnu.or).2 E(g)-.37 E F0 -(or posted to the Usenet ne)2.5 E(wsgroup)-.25 E F3(gnu.bash.b)2.5 E(ug) --.2 E F0(.)A(ALL b)108 460.8 Q(ug reports should include:)-.2 E(The v) -108 477.6 Q(ersion number of)-.15 E F3(bash)2.5 E F0(The hardw)108 489.6 -Q(are and operating system)-.1 E(The compiler used to compile)108 501.6 -Q 2.5(Ad)108 513.6 S(escription of the b)-2.5 E(ug beha)-.2 E(viour)-.2 -E 2.5(As)108 525.6 S(hort script or `recipe' which e)-2.5 E -.15(xe)-.15 -G(rcises the b).15 E(ug)-.2 E F1(bashb)108.27 542.4 Q(ug)-.2 E F0 +-.8 E F0 2.5(,I)C(EEE)-2.5 E F3(sh)108 160.8 Q F0(\(1\),)A F3(ksh)2.5 E +F0(\(1\),)A F3(csh)2.5 E F0(\(1\))A F3(emacs)108 172.8 Q F0(\(1\),)A F3 +(vi)2.5 E F0(\(1\))A F3 -.37(re)108 184.8 S(adline).37 E F0(\(3\))A F2 +(FILES)72 201.6 Q F3(/bin/bash)109.666 213.6 Q F0(The)144 225.6 Q F1 +(bash)2.5 E F0 -.15(exe)2.5 G(cutable).15 E F3(/etc/pr)109.666 237.6 Q +(o\214le)-.45 E F0(The systemwide initialization \214le, e)144 249.6 Q +-.15(xe)-.15 G(cuted for login shells).15 E F3(~/.bash_pr)109.666 261.6 +Q(o\214le)-.45 E F0(The personal initialization \214le, e)144 273.6 Q +-.15(xe)-.15 G(cuted for login shells).15 E F3(~/.bashr)109.666 285.6 Q +(c)-.37 E F0(The indi)144 297.6 Q(vidual per)-.25 E(-interacti)-.2 E +-.15(ve)-.25 G(-shell startup \214le).15 E F3(~/.bash_lo)109.666 309.6 Q +(gout)-.1 E F0(The indi)144 321.6 Q +(vidual login shell cleanup \214le, e)-.25 E -.15(xe)-.15 G +(cuted when a login shell e).15 E(xits)-.15 E F3(~/.inputr)109.666 333.6 +Q(c)-.37 E F0(Indi)144 345.6 Q(vidual)-.25 E F3 -.37(re)2.5 G(adline).37 +E F0(initialization \214le)2.5 E F2 -.548(AU)72 362.4 S(THORS).548 E F0 +(Brian F)108 374.4 Q(ox, Free Softw)-.15 E(are F)-.1 E(oundation)-.15 E +(bfox@gnu.or)108 386.4 Q(g)-.18 E(Chet Rame)108 403.2 Q 1.3 -.65(y, C) +-.15 H(ase W).65 E(estern Reserv)-.8 E 2.5(eU)-.15 G(ni)-2.5 E -.15(ve) +-.25 G(rsity).15 E(chet@po.cwru.edu)108 415.2 Q F2 -.11(BU)72 432 S +2.738(GR).11 G(EPOR)-2.738 E(TS)-.438 E F0 .567(If you \214nd a b)108 +444 R .568(ug in)-.2 F F1(bash,)3.068 E F0 .568(you should report it.) +3.068 F .568(But \214rst, you should mak)5.568 F 3.068(es)-.1 G .568 +(ure that it really is a b)-3.068 F .568(ug, and)-.2 F 5.626 +(that it appears in the latest v)108 456 R 5.625(ersion of)-.15 F F1 +(bash)8.125 E F0 10.625(.T)C 5.625(he latest v)-10.625 F 5.625 +(ersion is al)-.15 F -.1(wa)-.1 G 5.625(ys a).1 F -.25(va)-.2 G 5.625 +(ilable from).25 F F3(ftp://ftp.gnu.or)108 468 Q(g/pub/bash/)-.37 E F0 +(.)A .41(Once you ha)108 484.8 R .71 -.15(ve d)-.2 H .41 +(etermined that a b).15 F .41(ug actually e)-.2 F .411(xists, use the) +-.15 F F3(bashb)3.181 E(ug)-.2 E F0 .411(command to submit a b)3.131 F +.411(ug report.)-.2 F(If)5.411 E .595(you ha)108 496.8 R .895 -.15 +(ve a \214)-.2 H .595(x, you are encouraged to mail that as well!).15 F +.594(Suggestions and `philosophical' b)5.595 F .594(ug reports may)-.2 F +(be mailed to)108 508.8 Q F3 -.2(bu)2.5 G(g-bash@gnu.or).2 E(g)-.37 E F0 +(or posted to the Usenet ne)2.5 E(wsgroup)-.25 E F1(gnu.bash.b)2.5 E(ug) +-.2 E F0(.)A(ALL b)108 525.6 Q(ug reports should include:)-.2 E(The v) +108 542.4 Q(ersion number of)-.15 E F1(bash)2.5 E F0(The hardw)108 554.4 +Q(are and operating system)-.1 E(The compiler used to compile)108 566.4 +Q 2.5(Ad)108 578.4 S(escription of the b)-2.5 E(ug beha)-.2 E(viour)-.2 +E 2.5(As)108 590.4 S(hort script or `recipe' which e)-2.5 E -.15(xe)-.15 +G(rcises the b).15 E(ug)-.2 E F3(bashb)108.27 607.2 Q(ug)-.2 E F0 (inserts the \214rst three items automatically into the template it pro) 2.72 E(vides for \214ling a b)-.15 E(ug report.)-.2 E(Comments and b)108 -559.2 Q(ug reports concerning this manual page should be directed to)-.2 -E F1 -.15(ch)2.5 G(et@po.cwru.edu).15 E F0(.).25 E F2 -.11(BU)72 576 S -(GS).11 E F0(It')108 588 Q 2.5(st)-.55 G(oo big and too slo)-2.5 E -.65 -(w.)-.25 G 1.869(There are some subtle dif)108 604.8 R 1.869 -(ferences between)-.25 F F3(bash)4.369 E F0 1.869(and traditional v) -4.369 F 1.869(ersions of)-.15 F F3(sh)4.368 E F0 4.368(,m)C 1.868 -(ostly because of the)-4.368 F/F4 9/Times-Bold@0 SF(POSIX)108 616.8 Q F0 -(speci\214cation.)2.25 E(Aliases are confusing in some uses.)108 633.6 Q -(Shell b)108 650.4 Q +624 Q(ug reports concerning this manual page should be directed to)-.2 E +F3 -.15(ch)2.5 G(et@po.cwru.edu).15 E F0(.).25 E F2 -.11(BU)72 640.8 S +(GS).11 E F0(It')108 652.8 Q 2.5(st)-.55 G(oo big and too slo)-2.5 E +-.65(w.)-.25 G 1.868(There are some subtle dif)108 669.6 R 1.868 +(ferences between)-.25 F F1(bash)4.369 E F0 1.869(and traditional v) +4.369 F 1.869(ersions of)-.15 F F1(sh)4.369 E F0 4.369(,m)C 1.869 +(ostly because of the)-4.369 F/F4 9/Times-Bold@0 SF(POSIX)108 681.6 Q F0 +(speci\214cation.)2.25 E(Aliases are confusing in some uses.)108 698.4 Q +(Shell b)108 715.2 Q (uiltin commands and functions are not stoppable/restartable.)-.2 E -1.315(Compound commands and command sequences of the form `a ; b ; c' a\ -re not handled gracefully when)108 667.2 R .39 -(process suspension is attempted.)108 679.2 R .389 -(When a process is stopped, the shell immediately e)5.39 F -.15(xe)-.15 -G .389(cutes the ne).15 F .389(xt com-)-.15 F .192 -(mand in the sequence.)108 691.2 R .192(It suf)5.192 F .192(\214ces to \ -place the sequence of commands between parentheses to force it into a) --.25 F(subshell, which may be stopped as a unit.)108 703.2 Q .956 -(Commands inside of)108 720 R F3($\()3.456 E F0(...)A F3(\))A F0 .956 -(command substitution are not parsed until substitution is attempted.) -3.456 F .955(This will)5.955 F(GNU Bash-3.2)72 768 Q(2008 April 5) -148.455 E(65)198.445 E 0 Cg EP -%%Page: 66 66 +(GNU Bash-4.0)72 768 Q(2008 May 25)147.345 E(66)197.335 E 0 Cg EP +%%Page: 67 67 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S 389.54(SH\(1\) B).35 F(ASH\(1\)) --.35 E .567 +-.35 E 1.315(Compound commands and command sequences of the form `a ; b\ + ; c' are not handled gracefully when)108 84 R .389 +(process suspension is attempted.)108 96 R .389 +(When a process is stopped, the shell immediately e)5.389 F -.15(xe)-.15 +G .39(cutes the ne).15 F .39(xt com-)-.15 F .193(mand in the sequence.) +108 108 R .192(It suf)5.193 F .192(\214ces to place the sequence of com\ +mands between parentheses to force it into a)-.25 F +(subshell, which may be stopped as a unit.)108 120 Q .955 +(Commands inside of)108 136.8 R/F1 10/Times-Bold@0 SF($\()3.455 E F0 +(...)A F1(\))A F0 .956 +(command substitution are not parsed until substitution is attempted.) +3.455 F .956(This will)5.956 F .567 (delay error reporting until some time after the command is entered.)108 -84 R -.15(Fo)5.567 G 3.067(re).15 G .568(xample, unmatched parentheses,) --3.217 F -2.15 -.25(ev e)108 96 T 2.5(ni).25 G(nside shell comments, wi\ -ll result in error messages while the construct is being read.)-2.5 E -(Array v)108 112.8 Q(ariables may not \(yet\) be e)-.25 E(xported.)-.15 -E(GNU Bash-3.2)72 768 Q(2008 April 5)148.455 E(66)198.445 E 0 Cg EP +148.8 R -.15(Fo)5.567 G 3.067(re).15 G .567 +(xample, unmatched parentheses,)-3.217 F -2.15 -.25(ev e)108 160.8 T 2.5 +(ni).25 G(nside shell comments, will result in error messages while the\ + construct is being read.)-2.5 E(Array v)108 177.6 Q +(ariables may not \(yet\) be e)-.25 E(xported.)-.15 E(GNU Bash-4.0)72 +768 Q(2008 May 25)147.345 E(67)197.335 E 0 Cg EP %%Trailer end %%EOF diff --git a/doc/bashref.aux b/doc/bashref.aux index a13cfdec..0894535b 100644 --- a/doc/bashref.aux +++ b/doc/bashref.aux @@ -56,7 +56,7 @@ @xrdef{Compound Commands-pg}{9} @xrdef{Compound Commands-snt}{Section@tie 3.2.4} @xrdef{Looping Constructs-title}{Looping Constructs} -@xrdef{Looping Constructs-pg}{9} +@xrdef{Looping Constructs-pg}{10} @xrdef{Looping Constructs-snt}{Section@tie 3.2.4.1} @xrdef{Conditional Constructs-title}{Conditional Constructs} @xrdef{Conditional Constructs-pg}{10} @@ -71,7 +71,7 @@ @xrdef{Shell Parameters-pg}{15} @xrdef{Shell Parameters-snt}{Section@tie 3.4} @xrdef{Positional Parameters-title}{Positional Parameters} -@xrdef{Positional Parameters-pg}{15} +@xrdef{Positional Parameters-pg}{16} @xrdef{Positional Parameters-snt}{Section@tie 3.4.1} @xrdef{Special Parameters-title}{Special Parameters} @xrdef{Special Parameters-pg}{16} @@ -80,7 +80,7 @@ @xrdef{Shell Expansions-pg}{17} @xrdef{Shell Expansions-snt}{Section@tie 3.5} @xrdef{Brace Expansion-title}{Brace Expansion} -@xrdef{Brace Expansion-pg}{17} +@xrdef{Brace Expansion-pg}{18} @xrdef{Brace Expansion-snt}{Section@tie 3.5.1} @xrdef{Tilde Expansion-title}{Tilde Expansion} @xrdef{Tilde Expansion-pg}{18} @@ -89,7 +89,7 @@ @xrdef{Shell Parameter Expansion-pg}{19} @xrdef{Shell Parameter Expansion-snt}{Section@tie 3.5.3} @xrdef{Command Substitution-title}{Command Substitution} -@xrdef{Command Substitution-pg}{21} +@xrdef{Command Substitution-pg}{22} @xrdef{Command Substitution-snt}{Section@tie 3.5.4} @xrdef{Arithmetic Expansion-title}{Arithmetic Expansion} @xrdef{Arithmetic Expansion-pg}{22} @@ -113,13 +113,13 @@ @xrdef{Redirections-pg}{25} @xrdef{Redirections-snt}{Section@tie 3.6} @xrdef{Executing Commands-title}{Executing Commands} -@xrdef{Executing Commands-pg}{28} +@xrdef{Executing Commands-pg}{29} @xrdef{Executing Commands-snt}{Section@tie 3.7} @xrdef{Simple Command Expansion-title}{Simple Command Expansion} -@xrdef{Simple Command Expansion-pg}{28} +@xrdef{Simple Command Expansion-pg}{29} @xrdef{Simple Command Expansion-snt}{Section@tie 3.7.1} @xrdef{Command Search and Execution-title}{Command Search and Execution} -@xrdef{Command Search and Execution-pg}{29} +@xrdef{Command Search and Execution-pg}{30} @xrdef{Command Search and Execution-snt}{Section@tie 3.7.2} @xrdef{Command Execution Environment-title}{Command Execution Environment} @xrdef{Command Execution Environment-pg}{30} @@ -128,13 +128,13 @@ @xrdef{Environment-pg}{31} @xrdef{Environment-snt}{Section@tie 3.7.4} @xrdef{Exit Status-title}{Exit Status} -@xrdef{Exit Status-pg}{31} +@xrdef{Exit Status-pg}{32} @xrdef{Exit Status-snt}{Section@tie 3.7.5} @xrdef{Signals-title}{Signals} @xrdef{Signals-pg}{32} @xrdef{Signals-snt}{Section@tie 3.7.6} @xrdef{Shell Scripts-title}{Shell Scripts} -@xrdef{Shell Scripts-pg}{32} +@xrdef{Shell Scripts-pg}{33} @xrdef{Shell Scripts-snt}{Section@tie 3.8} @xrdef{Shell Builtin Commands-title}{Shell Builtin Commands} @xrdef{Shell Builtin Commands-pg}{35} @@ -146,16 +146,16 @@ @xrdef{Bash Builtins-pg}{41} @xrdef{Bash Builtins-snt}{Section@tie 4.2} @xrdef{Modifying Shell Behavior-title}{Modifying Shell Behavior} -@xrdef{Modifying Shell Behavior-pg}{49} +@xrdef{Modifying Shell Behavior-pg}{50} @xrdef{Modifying Shell Behavior-snt}{Section@tie 4.3} @xrdef{The Set Builtin-title}{The Set Builtin} -@xrdef{The Set Builtin-pg}{49} +@xrdef{The Set Builtin-pg}{50} @xrdef{The Set Builtin-snt}{Section@tie 4.3.1} @xrdef{The Shopt Builtin-title}{The Shopt Builtin} -@xrdef{The Shopt Builtin-pg}{53} +@xrdef{The Shopt Builtin-pg}{54} @xrdef{The Shopt Builtin-snt}{Section@tie 4.3.2} @xrdef{Special Builtins-title}{Special Builtins} -@xrdef{Special Builtins-pg}{57} +@xrdef{Special Builtins-pg}{58} @xrdef{Special Builtins-snt}{Section@tie 4.4} @xrdef{Shell Variables-title}{Shell Variables} @xrdef{Shell Variables-pg}{59} @@ -260,116 +260,116 @@ @xrdef{Conditional Init Constructs-pg}{100} @xrdef{Conditional Init Constructs-snt}{Section@tie 8.3.2} @xrdef{Sample Init File-title}{Sample Init File} -@xrdef{Sample Init File-pg}{100} +@xrdef{Sample Init File-pg}{101} @xrdef{Sample Init File-snt}{Section@tie 8.3.3} @xrdef{Bindable Readline Commands-title}{Bindable Readline Commands} -@xrdef{Bindable Readline Commands-pg}{103} +@xrdef{Bindable Readline Commands-pg}{104} @xrdef{Bindable Readline Commands-snt}{Section@tie 8.4} @xrdef{Commands For Moving-title}{Commands For Moving} -@xrdef{Commands For Moving-pg}{103} +@xrdef{Commands For Moving-pg}{104} @xrdef{Commands For Moving-snt}{Section@tie 8.4.1} @xrdef{Commands For History-title}{Commands For Manipulating The History} -@xrdef{Commands For History-pg}{103} +@xrdef{Commands For History-pg}{104} @xrdef{Commands For History-snt}{Section@tie 8.4.2} @xrdef{Commands For Text-title}{Commands For Changing Text} -@xrdef{Commands For Text-pg}{105} +@xrdef{Commands For Text-pg}{106} @xrdef{Commands For Text-snt}{Section@tie 8.4.3} @xrdef{Commands For Killing-title}{Killing And Yanking} -@xrdef{Commands For Killing-pg}{106} +@xrdef{Commands For Killing-pg}{107} @xrdef{Commands For Killing-snt}{Section@tie 8.4.4} @xrdef{Numeric Arguments-title}{Specifying Numeric Arguments} -@xrdef{Numeric Arguments-pg}{107} +@xrdef{Numeric Arguments-pg}{108} @xrdef{Numeric Arguments-snt}{Section@tie 8.4.5} @xrdef{Commands For Completion-title}{Letting Readline Type For You} -@xrdef{Commands For Completion-pg}{107} +@xrdef{Commands For Completion-pg}{108} @xrdef{Commands For Completion-snt}{Section@tie 8.4.6} @xrdef{Keyboard Macros-title}{Keyboard Macros} -@xrdef{Keyboard Macros-pg}{108} +@xrdef{Keyboard Macros-pg}{110} @xrdef{Keyboard Macros-snt}{Section@tie 8.4.7} @xrdef{Miscellaneous Commands-title}{Some Miscellaneous Commands} -@xrdef{Miscellaneous Commands-pg}{109} +@xrdef{Miscellaneous Commands-pg}{110} @xrdef{Miscellaneous Commands-snt}{Section@tie 8.4.8} @xrdef{Readline vi Mode-title}{Readline vi Mode} -@xrdef{Readline vi Mode-pg}{111} +@xrdef{Readline vi Mode-pg}{112} @xrdef{Readline vi Mode-snt}{Section@tie 8.5} @xrdef{Programmable Completion-title}{Programmable Completion} -@xrdef{Programmable Completion-pg}{111} +@xrdef{Programmable Completion-pg}{112} @xrdef{Programmable Completion-snt}{Section@tie 8.6} @xrdef{Programmable Completion Builtins-title}{Programmable Completion Builtins} -@xrdef{Programmable Completion Builtins-pg}{113} +@xrdef{Programmable Completion Builtins-pg}{114} @xrdef{Programmable Completion Builtins-snt}{Section@tie 8.7} @xrdef{Using History Interactively-title}{Using History Interactively} -@xrdef{Using History Interactively-pg}{117} +@xrdef{Using History Interactively-pg}{119} @xrdef{Using History Interactively-snt}{Chapter@tie 9} @xrdef{Bash History Facilities-title}{Bash History Facilities} -@xrdef{Bash History Facilities-pg}{117} +@xrdef{Bash History Facilities-pg}{119} @xrdef{Bash History Facilities-snt}{Section@tie 9.1} @xrdef{Bash History Builtins-title}{Bash History Builtins} -@xrdef{Bash History Builtins-pg}{117} +@xrdef{Bash History Builtins-pg}{119} @xrdef{Bash History Builtins-snt}{Section@tie 9.2} @xrdef{History Interaction-title}{History Expansion} -@xrdef{History Interaction-pg}{119} +@xrdef{History Interaction-pg}{121} @xrdef{History Interaction-snt}{Section@tie 9.3} @xrdef{Event Designators-title}{Event Designators} -@xrdef{Event Designators-pg}{120} +@xrdef{Event Designators-pg}{122} @xrdef{Event Designators-snt}{Section@tie 9.3.1} @xrdef{Word Designators-title}{Word Designators} -@xrdef{Word Designators-pg}{120} +@xrdef{Word Designators-pg}{122} @xrdef{Word Designators-snt}{Section@tie 9.3.2} @xrdef{Modifiers-title}{Modifiers} -@xrdef{Modifiers-pg}{121} +@xrdef{Modifiers-pg}{123} @xrdef{Modifiers-snt}{Section@tie 9.3.3} @xrdef{Installing Bash-title}{Installing Bash} -@xrdef{Installing Bash-pg}{123} +@xrdef{Installing Bash-pg}{125} @xrdef{Installing Bash-snt}{Chapter@tie 10} @xrdef{Basic Installation-title}{Basic Installation} -@xrdef{Basic Installation-pg}{123} +@xrdef{Basic Installation-pg}{125} @xrdef{Basic Installation-snt}{Section@tie 10.1} @xrdef{Compilers and Options-title}{Compilers and Options} -@xrdef{Compilers and Options-pg}{124} +@xrdef{Compilers and Options-pg}{126} @xrdef{Compilers and Options-snt}{Section@tie 10.2} @xrdef{Compiling For Multiple Architectures-title}{Compiling For Multiple Architectures} -@xrdef{Compiling For Multiple Architectures-pg}{124} +@xrdef{Compiling For Multiple Architectures-pg}{126} @xrdef{Compiling For Multiple Architectures-snt}{Section@tie 10.3} @xrdef{Installation Names-title}{Installation Names} -@xrdef{Installation Names-pg}{124} +@xrdef{Installation Names-pg}{126} @xrdef{Installation Names-snt}{Section@tie 10.4} @xrdef{Specifying the System Type-title}{Specifying the System Type} -@xrdef{Specifying the System Type-pg}{125} +@xrdef{Specifying the System Type-pg}{127} @xrdef{Specifying the System Type-snt}{Section@tie 10.5} @xrdef{Sharing Defaults-title}{Sharing Defaults} -@xrdef{Sharing Defaults-pg}{125} +@xrdef{Sharing Defaults-pg}{127} @xrdef{Sharing Defaults-snt}{Section@tie 10.6} @xrdef{Operation Controls-title}{Operation Controls} -@xrdef{Operation Controls-pg}{125} +@xrdef{Operation Controls-pg}{127} @xrdef{Operation Controls-snt}{Section@tie 10.7} @xrdef{Optional Features-title}{Optional Features} -@xrdef{Optional Features-pg}{125} +@xrdef{Optional Features-pg}{127} @xrdef{Optional Features-snt}{Section@tie 10.8} @xrdef{Reporting Bugs-title}{Reporting Bugs} -@xrdef{Reporting Bugs-pg}{131} +@xrdef{Reporting Bugs-pg}{133} @xrdef{Reporting Bugs-snt}{Appendix@tie @char65{}} @xrdef{Major Differences From The Bourne Shell-title}{Major Differences From The Bourne Shell} -@xrdef{Major Differences From The Bourne Shell-pg}{133} +@xrdef{Major Differences From The Bourne Shell-pg}{135} @xrdef{Major Differences From The Bourne Shell-snt}{Appendix@tie @char66{}} @xrdef{GNU Free Documentation License-title}{GNU Free Documentation License} -@xrdef{GNU Free Documentation License-pg}{139} +@xrdef{GNU Free Documentation License-pg}{141} @xrdef{GNU Free Documentation License-snt}{Appendix@tie @char67{}} @xrdef{Indexes-title}{Indexes} -@xrdef{Indexes-pg}{147} +@xrdef{Indexes-pg}{149} @xrdef{Indexes-snt}{Appendix@tie @char68{}} @xrdef{Builtin Index-title}{Index of Shell Builtin Commands} -@xrdef{Builtin Index-pg}{148} +@xrdef{Builtin Index-pg}{149} @xrdef{Builtin Index-snt}{Section@tie @char68.1} @xrdef{Reserved Word Index-title}{Index of Shell Reserved Words} -@xrdef{Reserved Word Index-pg}{149} +@xrdef{Reserved Word Index-pg}{150} @xrdef{Reserved Word Index-snt}{Section@tie @char68.2} @xrdef{Variable Index-title}{Parameter and Variable Index} -@xrdef{Variable Index-pg}{149} +@xrdef{Variable Index-pg}{150} @xrdef{Variable Index-snt}{Section@tie @char68.3} @xrdef{Function Index-title}{Function Index} -@xrdef{Function Index-pg}{151} +@xrdef{Function Index-pg}{152} @xrdef{Function Index-snt}{Section@tie @char68.4} @xrdef{Concept Index-title}{Concept Index} -@xrdef{Concept Index-pg}{153} +@xrdef{Concept Index-pg}{154} @xrdef{Concept Index-snt}{Section@tie @char68.5} diff --git a/doc/bashref.bt b/doc/bashref.bt index ea58233c..6e69b408 100644 --- a/doc/bashref.bt +++ b/doc/bashref.bt @@ -22,24 +22,25 @@ \entry{alias}{41}{\code {alias}} \entry{bind}{41}{\code {bind}} \entry{builtin}{42}{\code {builtin}} -\entry{caller}{42}{\code {caller}} +\entry{caller}{43}{\code {caller}} \entry{command}{43}{\code {command}} \entry{declare}{43}{\code {declare}} \entry{echo}{44}{\code {echo}} \entry{enable}{45}{\code {enable}} \entry{help}{45}{\code {help}} -\entry{let}{45}{\code {let}} +\entry{let}{46}{\code {let}} \entry{local}{46}{\code {local}} \entry{logout}{46}{\code {logout}} +\entry{mapfile}{46}{\code {mapfile}} \entry{printf}{46}{\code {printf}} -\entry{read}{46}{\code {read}} -\entry{source}{47}{\code {source}} -\entry{type}{47}{\code {type}} -\entry{typeset}{48}{\code {typeset}} -\entry{ulimit}{48}{\code {ulimit}} -\entry{unalias}{49}{\code {unalias}} -\entry{set}{49}{\code {set}} -\entry{shopt}{53}{\code {shopt}} +\entry{read}{47}{\code {read}} +\entry{source}{48}{\code {source}} +\entry{type}{48}{\code {type}} +\entry{typeset}{49}{\code {typeset}} +\entry{ulimit}{49}{\code {ulimit}} +\entry{unalias}{50}{\code {unalias}} +\entry{set}{50}{\code {set}} +\entry{shopt}{54}{\code {shopt}} \entry{dirs}{79}{\code {dirs}} \entry{popd}{80}{\code {popd}} \entry{pushd}{80}{\code {pushd}} @@ -50,8 +51,8 @@ \entry{wait}{89}{\code {wait}} \entry{disown}{89}{\code {disown}} \entry{suspend}{89}{\code {suspend}} -\entry{compgen}{113}{\code {compgen}} -\entry{complete}{113}{\code {complete}} -\entry{compopt}{116}{\code {compopt}} -\entry{fc}{118}{\code {fc}} -\entry{history}{118}{\code {history}} +\entry{compgen}{114}{\code {compgen}} +\entry{complete}{114}{\code {complete}} +\entry{compopt}{117}{\code {compopt}} +\entry{fc}{120}{\code {fc}} +\entry{history}{120}{\code {history}} diff --git a/doc/bashref.bts b/doc/bashref.bts index e5b91ebf..39a6449f 100644 --- a/doc/bashref.bts +++ b/doc/bashref.bts @@ -12,12 +12,12 @@ \entry {\code {break}}{35} \entry {\code {builtin}}{42} \initial {C} -\entry {\code {caller}}{42} +\entry {\code {caller}}{43} \entry {\code {cd}}{36} \entry {\code {command}}{43} -\entry {\code {compgen}}{113} -\entry {\code {complete}}{113} -\entry {\code {compopt}}{116} +\entry {\code {compgen}}{114} +\entry {\code {complete}}{114} +\entry {\code {compopt}}{117} \entry {\code {continue}}{36} \initial {D} \entry {\code {declare}}{43} @@ -31,47 +31,49 @@ \entry {\code {exit}}{36} \entry {\code {export}}{36} \initial {F} -\entry {\code {fc}}{118} +\entry {\code {fc}}{120} \entry {\code {fg}}{88} \initial {G} \entry {\code {getopts}}{37} \initial {H} \entry {\code {hash}}{37} \entry {\code {help}}{45} -\entry {\code {history}}{118} +\entry {\code {history}}{120} \initial {J} \entry {\code {jobs}}{88} \initial {K} \entry {\code {kill}}{89} \initial {L} -\entry {\code {let}}{45} +\entry {\code {let}}{46} \entry {\code {local}}{46} \entry {\code {logout}}{46} +\initial {M} +\entry {\code {mapfile}}{46} \initial {P} \entry {\code {popd}}{80} \entry {\code {printf}}{46} \entry {\code {pushd}}{80} \entry {\code {pwd}}{38} \initial {R} -\entry {\code {read}}{46} +\entry {\code {read}}{47} \entry {\code {readonly}}{38} \entry {\code {return}}{38} \initial {S} -\entry {\code {set}}{49} +\entry {\code {set}}{50} \entry {\code {shift}}{38} -\entry {\code {shopt}}{53} -\entry {\code {source}}{47} +\entry {\code {shopt}}{54} +\entry {\code {source}}{48} \entry {\code {suspend}}{89} \initial {T} \entry {\code {test}}{39} \entry {\code {times}}{40} \entry {\code {trap}}{40} -\entry {\code {type}}{47} -\entry {\code {typeset}}{48} +\entry {\code {type}}{48} +\entry {\code {typeset}}{49} \initial {U} -\entry {\code {ulimit}}{48} +\entry {\code {ulimit}}{49} \entry {\code {umask}}{40} -\entry {\code {unalias}}{49} +\entry {\code {unalias}}{50} \entry {\code {unset}}{41} \initial {W} \entry {\code {wait}}{89} diff --git a/doc/bashref.cp b/doc/bashref.cp index 34a52380..4476e176 100644 --- a/doc/bashref.cp +++ b/doc/bashref.cp @@ -33,7 +33,7 @@ \entry{command timing}{8}{command timing} \entry{commands, lists}{9}{commands, lists} \entry{commands, compound}{9}{commands, compound} -\entry{commands, looping}{9}{commands, looping} +\entry{commands, looping}{10}{commands, looping} \entry{commands, conditional}{10}{commands, conditional} \entry{commands, grouping}{13}{commands, grouping} \entry{shell function}{14}{shell function} @@ -41,16 +41,16 @@ \entry{parameters}{15}{parameters} \entry{variable, shell}{15}{variable, shell} \entry{shell variable}{15}{shell variable} -\entry{parameters, positional}{15}{parameters, positional} +\entry{parameters, positional}{16}{parameters, positional} \entry{parameters, special}{16}{parameters, special} \entry{expansion}{17}{expansion} -\entry{brace expansion}{17}{brace expansion} -\entry{expansion, brace}{17}{expansion, brace} +\entry{brace expansion}{18}{brace expansion} +\entry{expansion, brace}{18}{expansion, brace} \entry{tilde expansion}{18}{tilde expansion} \entry{expansion, tilde}{18}{expansion, tilde} \entry{parameter expansion}{19}{parameter expansion} \entry{expansion, parameter}{19}{expansion, parameter} -\entry{command substitution}{21}{command substitution} +\entry{command substitution}{22}{command substitution} \entry{expansion, arithmetic}{22}{expansion, arithmetic} \entry{arithmetic expansion}{22}{arithmetic expansion} \entry{process substitution}{22}{process substitution} @@ -62,15 +62,15 @@ \entry{pattern matching}{24}{pattern matching} \entry{matching, pattern}{24}{matching, pattern} \entry{redirection}{25}{redirection} -\entry{command expansion}{28}{command expansion} -\entry{command execution}{29}{command execution} -\entry{command search}{29}{command search} +\entry{command expansion}{29}{command expansion} +\entry{command execution}{30}{command execution} +\entry{command search}{30}{command search} \entry{execution environment}{30}{execution environment} \entry{environment}{31}{environment} -\entry{exit status}{31}{exit status} +\entry{exit status}{32}{exit status} \entry{signal handling}{32}{signal handling} -\entry{shell script}{32}{shell script} -\entry{special builtin}{57}{special builtin} +\entry{shell script}{33}{shell script} +\entry{special builtin}{58}{special builtin} \entry{login shell}{71}{login shell} \entry{interactive shell}{71}{interactive shell} \entry{startup files}{71}{startup files} @@ -102,16 +102,16 @@ \entry{kill ring}{93}{kill ring} \entry{initialization file, readline}{94}{initialization file, readline} \entry{variables, readline}{95}{variables, readline} -\entry{programmable completion}{111}{programmable completion} -\entry{completion builtins}{113}{completion builtins} -\entry{History, how to use}{116}{History, how to use} -\entry{command history}{117}{command history} -\entry{history list}{117}{history list} -\entry{history builtins}{117}{history builtins} -\entry{history expansion}{119}{history expansion} -\entry{event designators}{120}{event designators} -\entry{history events}{120}{history events} -\entry{installation}{123}{installation} -\entry{configuration}{123}{configuration} -\entry{Bash installation}{123}{Bash installation} -\entry{Bash configuration}{123}{Bash configuration} +\entry{programmable completion}{112}{programmable completion} +\entry{completion builtins}{114}{completion builtins} +\entry{History, how to use}{117}{History, how to use} +\entry{command history}{119}{command history} +\entry{history list}{119}{history list} +\entry{history builtins}{119}{history builtins} +\entry{history expansion}{121}{history expansion} +\entry{event designators}{122}{event designators} +\entry{history events}{122}{history events} +\entry{installation}{125}{installation} +\entry{configuration}{125}{configuration} +\entry{Bash installation}{125}{Bash installation} +\entry{Bash configuration}{125}{Bash configuration} diff --git a/doc/bashref.cps b/doc/bashref.cps index 7ea8409d..f4bcd578 100644 --- a/doc/bashref.cps +++ b/doc/bashref.cps @@ -6,30 +6,30 @@ \entry {arrays}{78} \initial {B} \entry {background}{87} -\entry {Bash configuration}{123} -\entry {Bash installation}{123} +\entry {Bash configuration}{125} +\entry {Bash installation}{125} \entry {Bourne shell}{5} -\entry {brace expansion}{17} +\entry {brace expansion}{18} \entry {builtin}{3} \initial {C} \entry {command editing}{91} -\entry {command execution}{29} -\entry {command expansion}{28} -\entry {command history}{117} -\entry {command search}{29} -\entry {command substitution}{21} +\entry {command execution}{30} +\entry {command expansion}{29} +\entry {command history}{119} +\entry {command search}{30} +\entry {command substitution}{22} \entry {command timing}{8} \entry {commands, compound}{9} \entry {commands, conditional}{10} \entry {commands, grouping}{13} \entry {commands, lists}{9} -\entry {commands, looping}{9} +\entry {commands, looping}{10} \entry {commands, pipelines}{8} \entry {commands, shell}{8} \entry {commands, simple}{8} \entry {comments, shell}{7} -\entry {completion builtins}{113} -\entry {configuration}{123} +\entry {completion builtins}{114} +\entry {configuration}{125} \entry {control operator}{3} \initial {D} \entry {directory stack}{79} @@ -37,12 +37,12 @@ \entry {editing command lines}{91} \entry {environment}{31} \entry {evaluation, arithmetic}{76} -\entry {event designators}{120} +\entry {event designators}{122} \entry {execution environment}{30} -\entry {exit status}{3, 31} +\entry {exit status}{3, 32} \entry {expansion}{17} \entry {expansion, arithmetic}{22} -\entry {expansion, brace}{17} +\entry {expansion, brace}{18} \entry {expansion, filename}{23} \entry {expansion, parameter}{19} \entry {expansion, pathname}{23} @@ -56,15 +56,15 @@ \entry {foreground}{87} \entry {functions, shell}{14} \initial {H} -\entry {history builtins}{117} -\entry {history events}{120} -\entry {history expansion}{119} -\entry {history list}{117} -\entry {History, how to use}{116} +\entry {history builtins}{119} +\entry {history events}{122} +\entry {history expansion}{121} +\entry {history list}{119} +\entry {History, how to use}{117} \initial {I} \entry {identifier}{3} \entry {initialization file, readline}{94} -\entry {installation}{123} +\entry {installation}{125} \entry {interaction, readline}{91} \entry {interactive shell}{71, 73} \entry {internationalization}{7} @@ -89,7 +89,7 @@ \initial {P} \entry {parameter expansion}{19} \entry {parameters}{15} -\entry {parameters, positional}{15} +\entry {parameters, positional}{16} \entry {parameters, special}{16} \entry {pathname expansion}{23} \entry {pattern matching}{24} @@ -99,7 +99,7 @@ \entry {process group}{3} \entry {process group ID}{3} \entry {process substitution}{22} -\entry {programmable completion}{111} +\entry {programmable completion}{112} \entry {prompting}{81} \initial {Q} \entry {quoting}{6} @@ -113,12 +113,12 @@ \initial {S} \entry {shell arithmetic}{76} \entry {shell function}{14} -\entry {shell script}{32} +\entry {shell script}{33} \entry {shell variable}{15} \entry {shell, interactive}{73} \entry {signal}{4} \entry {signal handling}{32} -\entry {special builtin}{4, 57} +\entry {special builtin}{4, 58} \entry {startup files}{71} \entry {suspending jobs}{87} \initial {T} diff --git a/doc/bashref.dvi b/doc/bashref.dvi Binary files differindex 9460b7bb..384bc1be 100644 --- a/doc/bashref.dvi +++ b/doc/bashref.dvi diff --git a/doc/bashref.fn b/doc/bashref.fn index dbd6d08a..a5214216 100644 --- a/doc/bashref.fn +++ b/doc/bashref.fn @@ -1,96 +1,97 @@ -\entry{beginning-of-line (C-a)}{103}{\code {beginning-of-line (C-a)}} -\entry{end-of-line (C-e)}{103}{\code {end-of-line (C-e)}} -\entry{forward-char (C-f)}{103}{\code {forward-char (C-f)}} -\entry{backward-char (C-b)}{103}{\code {backward-char (C-b)}} -\entry{forward-word (M-f)}{103}{\code {forward-word (M-f)}} -\entry{backward-word (M-b)}{103}{\code {backward-word (M-b)}} -\entry{clear-screen (C-l)}{103}{\code {clear-screen (C-l)}} -\entry{redraw-current-line ()}{103}{\code {redraw-current-line ()}} -\entry{accept-line (Newline or Return)}{103}{\code {accept-line (Newline or Return)}} -\entry{previous-history (C-p)}{104}{\code {previous-history (C-p)}} -\entry{next-history (C-n)}{104}{\code {next-history (C-n)}} -\entry{beginning-of-history (M-<)}{104}{\code {beginning-of-history (M-<)}} -\entry{end-of-history (M->)}{104}{\code {end-of-history (M->)}} -\entry{reverse-search-history (C-r)}{104}{\code {reverse-search-history (C-r)}} -\entry{forward-search-history (C-s)}{104}{\code {forward-search-history (C-s)}} -\entry{non-incremental-reverse-search-history (M-p)}{104}{\code {non-incremental-reverse-search-history (M-p)}} -\entry{non-incremental-forward-search-history (M-n)}{104}{\code {non-incremental-forward-search-history (M-n)}} -\entry{history-search-forward ()}{104}{\code {history-search-forward ()}} -\entry{history-search-backward ()}{104}{\code {history-search-backward ()}} -\entry{yank-nth-arg (M-C-y)}{104}{\code {yank-nth-arg (M-C-y)}} -\entry{yank-last-arg (M-. or M-_)}{104}{\code {yank-last-arg (M-. or M-_)}} -\entry{delete-char (C-d)}{105}{\code {delete-char (C-d)}} -\entry{backward-delete-char (Rubout)}{105}{\code {backward-delete-char (Rubout)}} -\entry{forward-backward-delete-char ()}{105}{\code {forward-backward-delete-char ()}} -\entry{quoted-insert (C-q or C-v)}{105}{\code {quoted-insert (C-q or C-v)}} -\entry{self-insert (a, b, A, 1, !, ...{})}{105}{\code {self-insert (a, b, A, 1, !, \dots {})}} -\entry{transpose-chars (C-t)}{105}{\code {transpose-chars (C-t)}} -\entry{transpose-words (M-t)}{105}{\code {transpose-words (M-t)}} -\entry{upcase-word (M-u)}{105}{\code {upcase-word (M-u)}} -\entry{downcase-word (M-l)}{105}{\code {downcase-word (M-l)}} -\entry{capitalize-word (M-c)}{105}{\code {capitalize-word (M-c)}} -\entry{overwrite-mode ()}{105}{\code {overwrite-mode ()}} -\entry{kill-line (C-k)}{106}{\code {kill-line (C-k)}} -\entry{backward-kill-line (C-x Rubout)}{106}{\code {backward-kill-line (C-x Rubout)}} -\entry{unix-line-discard (C-u)}{106}{\code {unix-line-discard (C-u)}} -\entry{kill-whole-line ()}{106}{\code {kill-whole-line ()}} -\entry{kill-word (M-d)}{106}{\code {kill-word (M-d)}} -\entry{backward-kill-word (M-DEL)}{106}{\code {backward-kill-word (M-\key {DEL})}} -\entry{unix-word-rubout (C-w)}{106}{\code {unix-word-rubout (C-w)}} -\entry{unix-filename-rubout ()}{106}{\code {unix-filename-rubout ()}} -\entry{delete-horizontal-space ()}{106}{\code {delete-horizontal-space ()}} -\entry{kill-region ()}{106}{\code {kill-region ()}} -\entry{copy-region-as-kill ()}{106}{\code {copy-region-as-kill ()}} -\entry{copy-backward-word ()}{106}{\code {copy-backward-word ()}} -\entry{copy-forward-word ()}{106}{\code {copy-forward-word ()}} -\entry{yank (C-y)}{107}{\code {yank (C-y)}} -\entry{yank-pop (M-y)}{107}{\code {yank-pop (M-y)}} -\entry{digit-argument (M-0, M-1, ...{} M--)}{107}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}} -\entry{universal-argument ()}{107}{\code {universal-argument ()}} -\entry{complete (TAB)}{107}{\code {complete (\key {TAB})}} -\entry{possible-completions (M-?)}{107}{\code {possible-completions (M-?)}} -\entry{insert-completions (M-*)}{107}{\code {insert-completions (M-*)}} -\entry{menu-complete ()}{107}{\code {menu-complete ()}} -\entry{delete-char-or-list ()}{108}{\code {delete-char-or-list ()}} -\entry{complete-filename (M-/)}{108}{\code {complete-filename (M-/)}} -\entry{possible-filename-completions (C-x /)}{108}{\code {possible-filename-completions (C-x /)}} -\entry{complete-username (M-~)}{108}{\code {complete-username (M-~)}} -\entry{possible-username-completions (C-x ~)}{108}{\code {possible-username-completions (C-x ~)}} -\entry{complete-variable (M-$)}{108}{\code {complete-variable (M-$)}} -\entry{possible-variable-completions (C-x $)}{108}{\code {possible-variable-completions (C-x $)}} -\entry{complete-hostname (M-@)}{108}{\code {complete-hostname (M-@)}} -\entry{possible-hostname-completions (C-x @)}{108}{\code {possible-hostname-completions (C-x @)}} -\entry{complete-command (M-!)}{108}{\code {complete-command (M-!)}} -\entry{possible-command-completions (C-x !)}{108}{\code {possible-command-completions (C-x !)}} -\entry{dynamic-complete-history (M-TAB)}{108}{\code {dynamic-complete-history (M-\key {TAB})}} -\entry{complete-into-braces (M-{\tt \char 123})}{108}{\code {complete-into-braces (M-{\tt \char 123})}} -\entry{start-kbd-macro (C-x ()}{108}{\code {start-kbd-macro (C-x ()}} -\entry{end-kbd-macro (C-x ))}{109}{\code {end-kbd-macro (C-x ))}} -\entry{call-last-kbd-macro (C-x e)}{109}{\code {call-last-kbd-macro (C-x e)}} -\entry{re-read-init-file (C-x C-r)}{109}{\code {re-read-init-file (C-x C-r)}} -\entry{abort (C-g)}{109}{\code {abort (C-g)}} -\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{109}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}} -\entry{prefix-meta (ESC)}{109}{\code {prefix-meta (\key {ESC})}} -\entry{undo (C-_ or C-x C-u)}{109}{\code {undo (C-_ or C-x C-u)}} -\entry{revert-line (M-r)}{109}{\code {revert-line (M-r)}} -\entry{tilde-expand (M-&)}{109}{\code {tilde-expand (M-&)}} -\entry{set-mark (C-@)}{109}{\code {set-mark (C-@)}} -\entry{exchange-point-and-mark (C-x C-x)}{109}{\code {exchange-point-and-mark (C-x C-x)}} -\entry{character-search (C-])}{109}{\code {character-search (C-])}} -\entry{character-search-backward (M-C-])}{109}{\code {character-search-backward (M-C-])}} -\entry{insert-comment (M-#)}{110}{\code {insert-comment (M-#)}} -\entry{dump-functions ()}{110}{\code {dump-functions ()}} -\entry{dump-variables ()}{110}{\code {dump-variables ()}} -\entry{dump-macros ()}{110}{\code {dump-macros ()}} -\entry{glob-complete-word (M-g)}{110}{\code {glob-complete-word (M-g)}} -\entry{glob-expand-word (C-x *)}{110}{\code {glob-expand-word (C-x *)}} -\entry{glob-list-expansions (C-x g)}{110}{\code {glob-list-expansions (C-x g)}} -\entry{display-shell-version (C-x C-v)}{110}{\code {display-shell-version (C-x C-v)}} -\entry{shell-expand-line (M-C-e)}{110}{\code {shell-expand-line (M-C-e)}} -\entry{history-expand-line (M-^)}{110}{\code {history-expand-line (M-^)}} -\entry{magic-space ()}{111}{\code {magic-space ()}} -\entry{alias-expand-line ()}{111}{\code {alias-expand-line ()}} -\entry{history-and-alias-expand-line ()}{111}{\code {history-and-alias-expand-line ()}} -\entry{insert-last-argument (M-. or M-_)}{111}{\code {insert-last-argument (M-. or M-_)}} -\entry{operate-and-get-next (C-o)}{111}{\code {operate-and-get-next (C-o)}} -\entry{edit-and-execute-command (C-xC-e)}{111}{\code {edit-and-execute-command (C-xC-e)}} +\entry{beginning-of-line (C-a)}{104}{\code {beginning-of-line (C-a)}} +\entry{end-of-line (C-e)}{104}{\code {end-of-line (C-e)}} +\entry{forward-char (C-f)}{104}{\code {forward-char (C-f)}} +\entry{backward-char (C-b)}{104}{\code {backward-char (C-b)}} +\entry{forward-word (M-f)}{104}{\code {forward-word (M-f)}} +\entry{backward-word (M-b)}{104}{\code {backward-word (M-b)}} +\entry{clear-screen (C-l)}{104}{\code {clear-screen (C-l)}} +\entry{redraw-current-line ()}{104}{\code {redraw-current-line ()}} +\entry{accept-line (Newline or Return)}{104}{\code {accept-line (Newline or Return)}} +\entry{previous-history (C-p)}{105}{\code {previous-history (C-p)}} +\entry{next-history (C-n)}{105}{\code {next-history (C-n)}} +\entry{beginning-of-history (M-<)}{105}{\code {beginning-of-history (M-<)}} +\entry{end-of-history (M->)}{105}{\code {end-of-history (M->)}} +\entry{reverse-search-history (C-r)}{105}{\code {reverse-search-history (C-r)}} +\entry{forward-search-history (C-s)}{105}{\code {forward-search-history (C-s)}} +\entry{non-incremental-reverse-search-history (M-p)}{105}{\code {non-incremental-reverse-search-history (M-p)}} +\entry{non-incremental-forward-search-history (M-n)}{105}{\code {non-incremental-forward-search-history (M-n)}} +\entry{history-search-forward ()}{105}{\code {history-search-forward ()}} +\entry{history-search-backward ()}{105}{\code {history-search-backward ()}} +\entry{yank-nth-arg (M-C-y)}{105}{\code {yank-nth-arg (M-C-y)}} +\entry{yank-last-arg (M-. or M-_)}{105}{\code {yank-last-arg (M-. or M-_)}} +\entry{delete-char (C-d)}{106}{\code {delete-char (C-d)}} +\entry{backward-delete-char (Rubout)}{106}{\code {backward-delete-char (Rubout)}} +\entry{forward-backward-delete-char ()}{106}{\code {forward-backward-delete-char ()}} +\entry{quoted-insert (C-q or C-v)}{106}{\code {quoted-insert (C-q or C-v)}} +\entry{self-insert (a, b, A, 1, !, ...{})}{106}{\code {self-insert (a, b, A, 1, !, \dots {})}} +\entry{transpose-chars (C-t)}{106}{\code {transpose-chars (C-t)}} +\entry{transpose-words (M-t)}{106}{\code {transpose-words (M-t)}} +\entry{upcase-word (M-u)}{106}{\code {upcase-word (M-u)}} +\entry{downcase-word (M-l)}{106}{\code {downcase-word (M-l)}} +\entry{capitalize-word (M-c)}{106}{\code {capitalize-word (M-c)}} +\entry{overwrite-mode ()}{106}{\code {overwrite-mode ()}} +\entry{kill-line (C-k)}{107}{\code {kill-line (C-k)}} +\entry{backward-kill-line (C-x Rubout)}{107}{\code {backward-kill-line (C-x Rubout)}} +\entry{unix-line-discard (C-u)}{107}{\code {unix-line-discard (C-u)}} +\entry{kill-whole-line ()}{107}{\code {kill-whole-line ()}} +\entry{kill-word (M-d)}{107}{\code {kill-word (M-d)}} +\entry{backward-kill-word (M-DEL)}{107}{\code {backward-kill-word (M-\key {DEL})}} +\entry{unix-word-rubout (C-w)}{107}{\code {unix-word-rubout (C-w)}} +\entry{unix-filename-rubout ()}{107}{\code {unix-filename-rubout ()}} +\entry{delete-horizontal-space ()}{107}{\code {delete-horizontal-space ()}} +\entry{kill-region ()}{107}{\code {kill-region ()}} +\entry{copy-region-as-kill ()}{107}{\code {copy-region-as-kill ()}} +\entry{copy-backward-word ()}{107}{\code {copy-backward-word ()}} +\entry{copy-forward-word ()}{107}{\code {copy-forward-word ()}} +\entry{yank (C-y)}{108}{\code {yank (C-y)}} +\entry{yank-pop (M-y)}{108}{\code {yank-pop (M-y)}} +\entry{digit-argument (M-0, M-1, ...{} M--)}{108}{\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}} +\entry{universal-argument ()}{108}{\code {universal-argument ()}} +\entry{complete (TAB)}{108}{\code {complete (\key {TAB})}} +\entry{possible-completions (M-?)}{108}{\code {possible-completions (M-?)}} +\entry{insert-completions (M-*)}{108}{\code {insert-completions (M-*)}} +\entry{menu-complete ()}{108}{\code {menu-complete ()}} +\entry{delete-char-or-list ()}{109}{\code {delete-char-or-list ()}} +\entry{complete-filename (M-/)}{109}{\code {complete-filename (M-/)}} +\entry{possible-filename-completions (C-x /)}{109}{\code {possible-filename-completions (C-x /)}} +\entry{complete-username (M-~)}{109}{\code {complete-username (M-~)}} +\entry{possible-username-completions (C-x ~)}{109}{\code {possible-username-completions (C-x ~)}} +\entry{complete-variable (M-$)}{109}{\code {complete-variable (M-$)}} +\entry{possible-variable-completions (C-x $)}{109}{\code {possible-variable-completions (C-x $)}} +\entry{complete-hostname (M-@)}{109}{\code {complete-hostname (M-@)}} +\entry{possible-hostname-completions (C-x @)}{109}{\code {possible-hostname-completions (C-x @)}} +\entry{complete-command (M-!)}{109}{\code {complete-command (M-!)}} +\entry{possible-command-completions (C-x !)}{109}{\code {possible-command-completions (C-x !)}} +\entry{dynamic-complete-history (M-TAB)}{109}{\code {dynamic-complete-history (M-\key {TAB})}} +\entry{dabbrev-expand ()}{109}{\code {dabbrev-expand ()}} +\entry{complete-into-braces (M-{\tt \char 123})}{109}{\code {complete-into-braces (M-{\tt \char 123})}} +\entry{start-kbd-macro (C-x ()}{110}{\code {start-kbd-macro (C-x ()}} +\entry{end-kbd-macro (C-x ))}{110}{\code {end-kbd-macro (C-x ))}} +\entry{call-last-kbd-macro (C-x e)}{110}{\code {call-last-kbd-macro (C-x e)}} +\entry{re-read-init-file (C-x C-r)}{110}{\code {re-read-init-file (C-x C-r)}} +\entry{abort (C-g)}{110}{\code {abort (C-g)}} +\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{110}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}} +\entry{prefix-meta (ESC)}{110}{\code {prefix-meta (\key {ESC})}} +\entry{undo (C-_ or C-x C-u)}{110}{\code {undo (C-_ or C-x C-u)}} +\entry{revert-line (M-r)}{110}{\code {revert-line (M-r)}} +\entry{tilde-expand (M-&)}{110}{\code {tilde-expand (M-&)}} +\entry{set-mark (C-@)}{110}{\code {set-mark (C-@)}} +\entry{exchange-point-and-mark (C-x C-x)}{110}{\code {exchange-point-and-mark (C-x C-x)}} +\entry{character-search (C-])}{110}{\code {character-search (C-])}} +\entry{character-search-backward (M-C-])}{111}{\code {character-search-backward (M-C-])}} +\entry{insert-comment (M-#)}{111}{\code {insert-comment (M-#)}} +\entry{dump-functions ()}{111}{\code {dump-functions ()}} +\entry{dump-variables ()}{111}{\code {dump-variables ()}} +\entry{dump-macros ()}{111}{\code {dump-macros ()}} +\entry{glob-complete-word (M-g)}{111}{\code {glob-complete-word (M-g)}} +\entry{glob-expand-word (C-x *)}{111}{\code {glob-expand-word (C-x *)}} +\entry{glob-list-expansions (C-x g)}{111}{\code {glob-list-expansions (C-x g)}} +\entry{display-shell-version (C-x C-v)}{111}{\code {display-shell-version (C-x C-v)}} +\entry{shell-expand-line (M-C-e)}{111}{\code {shell-expand-line (M-C-e)}} +\entry{history-expand-line (M-^)}{112}{\code {history-expand-line (M-^)}} +\entry{magic-space ()}{112}{\code {magic-space ()}} +\entry{alias-expand-line ()}{112}{\code {alias-expand-line ()}} +\entry{history-and-alias-expand-line ()}{112}{\code {history-and-alias-expand-line ()}} +\entry{insert-last-argument (M-. or M-_)}{112}{\code {insert-last-argument (M-. or M-_)}} +\entry{operate-and-get-next (C-o)}{112}{\code {operate-and-get-next (C-o)}} +\entry{edit-and-execute-command (C-xC-e)}{112}{\code {edit-and-execute-command (C-xC-e)}} diff --git a/doc/bashref.fns b/doc/bashref.fns index e76ee7f2..d7345720 100644 --- a/doc/bashref.fns +++ b/doc/bashref.fns @@ -1,116 +1,117 @@ \initial {A} -\entry {\code {abort (C-g)}}{109} -\entry {\code {accept-line (Newline or Return)}}{103} -\entry {\code {alias-expand-line ()}}{111} +\entry {\code {abort (C-g)}}{110} +\entry {\code {accept-line (Newline or Return)}}{104} +\entry {\code {alias-expand-line ()}}{112} \initial {B} -\entry {\code {backward-char (C-b)}}{103} -\entry {\code {backward-delete-char (Rubout)}}{105} -\entry {\code {backward-kill-line (C-x Rubout)}}{106} -\entry {\code {backward-kill-word (M-\key {DEL})}}{106} -\entry {\code {backward-word (M-b)}}{103} -\entry {\code {beginning-of-history (M-<)}}{104} -\entry {\code {beginning-of-line (C-a)}}{103} +\entry {\code {backward-char (C-b)}}{104} +\entry {\code {backward-delete-char (Rubout)}}{106} +\entry {\code {backward-kill-line (C-x Rubout)}}{107} +\entry {\code {backward-kill-word (M-\key {DEL})}}{107} +\entry {\code {backward-word (M-b)}}{104} +\entry {\code {beginning-of-history (M-<)}}{105} +\entry {\code {beginning-of-line (C-a)}}{104} \initial {C} -\entry {\code {call-last-kbd-macro (C-x e)}}{109} -\entry {\code {capitalize-word (M-c)}}{105} -\entry {\code {character-search (C-])}}{109} -\entry {\code {character-search-backward (M-C-])}}{109} -\entry {\code {clear-screen (C-l)}}{103} -\entry {\code {complete (\key {TAB})}}{107} -\entry {\code {complete-command (M-!)}}{108} -\entry {\code {complete-filename (M-/)}}{108} -\entry {\code {complete-hostname (M-@)}}{108} -\entry {\code {complete-into-braces (M-{\tt \char 123})}}{108} -\entry {\code {complete-username (M-~)}}{108} -\entry {\code {complete-variable (M-$)}}{108} -\entry {\code {copy-backward-word ()}}{106} -\entry {\code {copy-forward-word ()}}{106} -\entry {\code {copy-region-as-kill ()}}{106} +\entry {\code {call-last-kbd-macro (C-x e)}}{110} +\entry {\code {capitalize-word (M-c)}}{106} +\entry {\code {character-search (C-])}}{110} +\entry {\code {character-search-backward (M-C-])}}{111} +\entry {\code {clear-screen (C-l)}}{104} +\entry {\code {complete (\key {TAB})}}{108} +\entry {\code {complete-command (M-!)}}{109} +\entry {\code {complete-filename (M-/)}}{109} +\entry {\code {complete-hostname (M-@)}}{109} +\entry {\code {complete-into-braces (M-{\tt \char 123})}}{109} +\entry {\code {complete-username (M-~)}}{109} +\entry {\code {complete-variable (M-$)}}{109} +\entry {\code {copy-backward-word ()}}{107} +\entry {\code {copy-forward-word ()}}{107} +\entry {\code {copy-region-as-kill ()}}{107} \initial {D} -\entry {\code {delete-char (C-d)}}{105} -\entry {\code {delete-char-or-list ()}}{108} -\entry {\code {delete-horizontal-space ()}}{106} -\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{107} -\entry {\code {display-shell-version (C-x C-v)}}{110} -\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{109} -\entry {\code {downcase-word (M-l)}}{105} -\entry {\code {dump-functions ()}}{110} -\entry {\code {dump-macros ()}}{110} -\entry {\code {dump-variables ()}}{110} -\entry {\code {dynamic-complete-history (M-\key {TAB})}}{108} +\entry {\code {dabbrev-expand ()}}{109} +\entry {\code {delete-char (C-d)}}{106} +\entry {\code {delete-char-or-list ()}}{109} +\entry {\code {delete-horizontal-space ()}}{107} +\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{108} +\entry {\code {display-shell-version (C-x C-v)}}{111} +\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{110} +\entry {\code {downcase-word (M-l)}}{106} +\entry {\code {dump-functions ()}}{111} +\entry {\code {dump-macros ()}}{111} +\entry {\code {dump-variables ()}}{111} +\entry {\code {dynamic-complete-history (M-\key {TAB})}}{109} \initial {E} -\entry {\code {edit-and-execute-command (C-xC-e)}}{111} -\entry {\code {end-kbd-macro (C-x ))}}{109} -\entry {\code {end-of-history (M->)}}{104} -\entry {\code {end-of-line (C-e)}}{103} -\entry {\code {exchange-point-and-mark (C-x C-x)}}{109} +\entry {\code {edit-and-execute-command (C-xC-e)}}{112} +\entry {\code {end-kbd-macro (C-x ))}}{110} +\entry {\code {end-of-history (M->)}}{105} +\entry {\code {end-of-line (C-e)}}{104} +\entry {\code {exchange-point-and-mark (C-x C-x)}}{110} \initial {F} -\entry {\code {forward-backward-delete-char ()}}{105} -\entry {\code {forward-char (C-f)}}{103} -\entry {\code {forward-search-history (C-s)}}{104} -\entry {\code {forward-word (M-f)}}{103} +\entry {\code {forward-backward-delete-char ()}}{106} +\entry {\code {forward-char (C-f)}}{104} +\entry {\code {forward-search-history (C-s)}}{105} +\entry {\code {forward-word (M-f)}}{104} \initial {G} -\entry {\code {glob-complete-word (M-g)}}{110} -\entry {\code {glob-expand-word (C-x *)}}{110} -\entry {\code {glob-list-expansions (C-x g)}}{110} +\entry {\code {glob-complete-word (M-g)}}{111} +\entry {\code {glob-expand-word (C-x *)}}{111} +\entry {\code {glob-list-expansions (C-x g)}}{111} \initial {H} -\entry {\code {history-and-alias-expand-line ()}}{111} -\entry {\code {history-expand-line (M-^)}}{110} -\entry {\code {history-search-backward ()}}{104} -\entry {\code {history-search-forward ()}}{104} +\entry {\code {history-and-alias-expand-line ()}}{112} +\entry {\code {history-expand-line (M-^)}}{112} +\entry {\code {history-search-backward ()}}{105} +\entry {\code {history-search-forward ()}}{105} \initial {I} -\entry {\code {insert-comment (M-#)}}{110} -\entry {\code {insert-completions (M-*)}}{107} -\entry {\code {insert-last-argument (M-. or M-_)}}{111} +\entry {\code {insert-comment (M-#)}}{111} +\entry {\code {insert-completions (M-*)}}{108} +\entry {\code {insert-last-argument (M-. or M-_)}}{112} \initial {K} -\entry {\code {kill-line (C-k)}}{106} -\entry {\code {kill-region ()}}{106} -\entry {\code {kill-whole-line ()}}{106} -\entry {\code {kill-word (M-d)}}{106} +\entry {\code {kill-line (C-k)}}{107} +\entry {\code {kill-region ()}}{107} +\entry {\code {kill-whole-line ()}}{107} +\entry {\code {kill-word (M-d)}}{107} \initial {M} -\entry {\code {magic-space ()}}{111} -\entry {\code {menu-complete ()}}{107} +\entry {\code {magic-space ()}}{112} +\entry {\code {menu-complete ()}}{108} \initial {N} -\entry {\code {next-history (C-n)}}{104} -\entry {\code {non-incremental-forward-search-history (M-n)}}{104} -\entry {\code {non-incremental-reverse-search-history (M-p)}}{104} +\entry {\code {next-history (C-n)}}{105} +\entry {\code {non-incremental-forward-search-history (M-n)}}{105} +\entry {\code {non-incremental-reverse-search-history (M-p)}}{105} \initial {O} -\entry {\code {operate-and-get-next (C-o)}}{111} -\entry {\code {overwrite-mode ()}}{105} +\entry {\code {operate-and-get-next (C-o)}}{112} +\entry {\code {overwrite-mode ()}}{106} \initial {P} -\entry {\code {possible-command-completions (C-x !)}}{108} -\entry {\code {possible-completions (M-?)}}{107} -\entry {\code {possible-filename-completions (C-x /)}}{108} -\entry {\code {possible-hostname-completions (C-x @)}}{108} -\entry {\code {possible-username-completions (C-x ~)}}{108} -\entry {\code {possible-variable-completions (C-x $)}}{108} -\entry {\code {prefix-meta (\key {ESC})}}{109} -\entry {\code {previous-history (C-p)}}{104} +\entry {\code {possible-command-completions (C-x !)}}{109} +\entry {\code {possible-completions (M-?)}}{108} +\entry {\code {possible-filename-completions (C-x /)}}{109} +\entry {\code {possible-hostname-completions (C-x @)}}{109} +\entry {\code {possible-username-completions (C-x ~)}}{109} +\entry {\code {possible-variable-completions (C-x $)}}{109} +\entry {\code {prefix-meta (\key {ESC})}}{110} +\entry {\code {previous-history (C-p)}}{105} \initial {Q} -\entry {\code {quoted-insert (C-q or C-v)}}{105} +\entry {\code {quoted-insert (C-q or C-v)}}{106} \initial {R} -\entry {\code {re-read-init-file (C-x C-r)}}{109} -\entry {\code {redraw-current-line ()}}{103} -\entry {\code {reverse-search-history (C-r)}}{104} -\entry {\code {revert-line (M-r)}}{109} +\entry {\code {re-read-init-file (C-x C-r)}}{110} +\entry {\code {redraw-current-line ()}}{104} +\entry {\code {reverse-search-history (C-r)}}{105} +\entry {\code {revert-line (M-r)}}{110} \initial {S} -\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{105} -\entry {\code {set-mark (C-@)}}{109} -\entry {\code {shell-expand-line (M-C-e)}}{110} -\entry {\code {start-kbd-macro (C-x ()}}{108} +\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{106} +\entry {\code {set-mark (C-@)}}{110} +\entry {\code {shell-expand-line (M-C-e)}}{111} +\entry {\code {start-kbd-macro (C-x ()}}{110} \initial {T} -\entry {\code {tilde-expand (M-&)}}{109} -\entry {\code {transpose-chars (C-t)}}{105} -\entry {\code {transpose-words (M-t)}}{105} +\entry {\code {tilde-expand (M-&)}}{110} +\entry {\code {transpose-chars (C-t)}}{106} +\entry {\code {transpose-words (M-t)}}{106} \initial {U} -\entry {\code {undo (C-_ or C-x C-u)}}{109} -\entry {\code {universal-argument ()}}{107} -\entry {\code {unix-filename-rubout ()}}{106} -\entry {\code {unix-line-discard (C-u)}}{106} -\entry {\code {unix-word-rubout (C-w)}}{106} -\entry {\code {upcase-word (M-u)}}{105} +\entry {\code {undo (C-_ or C-x C-u)}}{110} +\entry {\code {universal-argument ()}}{108} +\entry {\code {unix-filename-rubout ()}}{107} +\entry {\code {unix-line-discard (C-u)}}{107} +\entry {\code {unix-word-rubout (C-w)}}{107} +\entry {\code {upcase-word (M-u)}}{106} \initial {Y} -\entry {\code {yank (C-y)}}{107} -\entry {\code {yank-last-arg (M-. or M-_)}}{104} -\entry {\code {yank-nth-arg (M-C-y)}}{104} -\entry {\code {yank-pop (M-y)}}{107} +\entry {\code {yank (C-y)}}{108} +\entry {\code {yank-last-arg (M-. or M-_)}}{105} +\entry {\code {yank-nth-arg (M-C-y)}}{105} +\entry {\code {yank-pop (M-y)}}{108} diff --git a/doc/bashref.html b/doc/bashref.html index 282c2945..221f90fd 100644 --- a/doc/bashref.html +++ b/doc/bashref.html @@ -1,6 +1,6 @@ <HTML> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<!-- Created on April, 8 2008 by texi2html 1.64 --> +<!-- Created on May, 29 2008 by texi2html 1.64 --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> @@ -27,18 +27,18 @@ Send bugs and suggestions to <texi2html@mathematik.uni-kl.de> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1>Bash Reference Manual</H1></P><P> This text is a brief description of the features that are present in -the Bash shell (version 3.2, 5 April 2008). +the Bash shell (version 4.0, 25 May 2008). </P><P> -This is Edition 3.2, last updated 5 April 2008, +This is Edition 4.0, last updated 25 May 2008, of <CITE>The GNU Bash Reference Manual</CITE>, -for <CODE>Bash</CODE>, Version 3.2. +for <CODE>Bash</CODE>, Version 4.0. </P><P> Bash contains features that appear in other popular shells, and some @@ -60,21 +60,21 @@ reference on shell behavior. <TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC4">2. Definitions</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Some definitions used in the rest of this manual.</TD></TR> <TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC5">3. Basic Shell Features</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The shell "building blocks".</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC56">4. Shell Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands that are a part of the shell.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC63">5. Shell Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables used or set by Bash.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC66">6. Bash Features</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Features found only in Bash.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC89">7. Job Control</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What job control is and how Bash allows you +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC57">4. Shell Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands that are a part of the shell.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC64">5. Shell Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables used or set by Bash.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC67">6. Bash Features</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Features found only in Bash.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC90">7. Job Control</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What job control is and how Bash allows you to use it.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC93">8. Command Line Editing</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Chapter describing the command line +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC94">8. Command Line Editing</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Chapter describing the command line editing features.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC117">9. Using History Interactively</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Command History Expansion</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC124">10. Installing Bash</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to build and install Bash on your system.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC133">A. Reporting Bugs</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to report bugs in Bash.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC134">B. Major Differences From The Bourne Shell</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A terse list of the differences +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC118">9. Using History Interactively</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Command History Expansion</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC125">10. Installing Bash</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to build and install Bash on your system.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC134">A. Reporting Bugs</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to report bugs in Bash.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC135">B. Major Differences From The Bourne Shell</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A terse list of the differences between Bash and historical versions of /bin/sh.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC136">C. GNU Free Documentation License</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Copying and sharing this documentation.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC138">D. Indexes</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Various indexes for this manual.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC137">C. GNU Free Documentation License</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Copying and sharing this documentation.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC139">D. Indexes</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Various indexes for this manual.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -88,7 +88,7 @@ reference on shell behavior. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC4"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <A NAME="Introduction"></A> @@ -111,7 +111,7 @@ reference on shell behavior. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC4"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 1.1 What is Bash? </H2> @@ -155,7 +155,7 @@ and Windows platforms. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC4"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 1.2 What is a shell? </H2> @@ -232,7 +232,7 @@ described in this manual. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 2. Definitions </H1> @@ -264,7 +264,7 @@ than by an executable program somewhere in the file system. A <CODE>token</CODE> that performs a control function. It is a <CODE>newline</CODE> or one of the following: <SAMP>`||'</SAMP>, <SAMP>`&&'</SAMP>, <SAMP>`&'</SAMP>, <SAMP>`;'</SAMP>, <SAMP>`;;'</SAMP>, -<SAMP>`|'</SAMP>, <SAMP>`('</SAMP>, or <SAMP>`)'</SAMP>. +<SAMP>`|'</SAMP>, <SAMP>`|&'</SAMP>, <SAMP>`('</SAMP>, or <SAMP>`)'</SAMP>. <P> <DT><CODE>exit status</CODE> @@ -374,12 +374,12 @@ A <CODE>token</CODE> that is not an <CODE>operator</CODE>. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC4"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC6"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 3. Basic Shell Features </H1> @@ -409,8 +409,8 @@ and to named files, and how the shell executes commands. <TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC27">3.5 Shell Expansions</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash expands parameters and the various expansions available.</TD></TR> <TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC38">3.6 Redirections</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A way to control where input and output go.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC48">3.7 Executing Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What happens when you run a command.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC55">3.8 Shell Scripts</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Executing files of shell commands.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC49">3.7 Executing Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What happens when you run a command.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC56">3.8 Shell Scripts</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Executing files of shell commands.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -425,7 +425,7 @@ and to named files, and how the shell executes commands. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC15"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.1 Shell Syntax </H2> @@ -465,7 +465,7 @@ available for further inspection or processing. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC15"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.1.1 Shell Operation </H3> @@ -479,16 +479,16 @@ following: <OL> <LI> -Reads its input from a file (see section <A HREF="bashref.html#SEC55">3.8 Shell Scripts</A>), from a string +Reads its input from a file (see section <A HREF="bashref.html#SEC56">3.8 Shell Scripts</A>), from a string supplied as an argument to the <SAMP>`-c'</SAMP> invocation option -(see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>), or from the user's terminal. +(see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>), or from the user's terminal. <P> <LI> Breaks the input into words and operators, obeying the quoting rules described in <A HREF="bashref.html#SEC8">3.1.2 Quoting</A>. These tokens are separated by <CODE>metacharacters</CODE>. Alias expansion is performed by this step -(see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>). +(see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>). <P> <LI> @@ -508,12 +508,12 @@ the redirection operators and their operands from the argument list. <P> <LI> -Executes the command (see section <A HREF="bashref.html#SEC48">3.7 Executing Commands</A>). +Executes the command (see section <A HREF="bashref.html#SEC49">3.7 Executing Commands</A>). <P> <LI> Optionally waits for the command to complete and collects its exit -status (see section <A HREF="bashref.html#SEC53">3.7.5 Exit Status</A>). +status (see section <A HREF="bashref.html#SEC54">3.7.5 Exit Status</A>). <P> </OL> @@ -530,7 +530,7 @@ status (see section <A HREF="bashref.html#SEC53">3.7.5 Exit Status</A>). <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.1.2 Quoting </H3> @@ -558,9 +558,9 @@ Each of the shell metacharacters (see section <A HREF="bashref.html#SEC4">2. Def has special meaning to the shell and must be quoted if it is to represent itself. When the command history expansion facilities are being used -(see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>), the +(see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>), the <VAR>history expansion</VAR> character, usually <SAMP>`!'</SAMP>, must be quoted -to prevent history expansion. See section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>, for +to prevent history expansion. See section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>, for more details concerning history expansion. </P><P> @@ -579,7 +579,7 @@ There are three quoting mechanisms: the <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.1.2.1 Escape Character </H4> @@ -603,7 +603,7 @@ the input stream and effectively ignored). <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.1.2.2 Single Quotes </H4> @@ -626,7 +626,7 @@ between single quotes, even when preceded by a backslash. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.1.2.3 Double Quotes </H4> @@ -667,7 +667,7 @@ when in double quotes (see section <A HREF="bashref.html#SEC30">3.5.3 Shell Para <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.1.2.4 ANSI-C Quoting </H4> @@ -727,7 +727,7 @@ been present. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC14"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.1.2.5 Locale-Specific Translation </H4> @@ -766,7 +766,7 @@ fashion: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC15"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.1.3 Comments </H3> @@ -775,13 +775,13 @@ fashion: In a non-interactive shell, or an interactive shell in which the <CODE>interactive_comments</CODE> option to the <CODE>shopt</CODE> -builtin is enabled (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>), +builtin is enabled (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>), a word beginning with <SAMP>`#'</SAMP> causes that word and all remaining characters on that line to be ignored. An interactive shell without the <CODE>interactive_comments</CODE> option enabled does not allow comments. The <CODE>interactive_comments</CODE> option is on by default in interactive shells. -See section <A HREF="bashref.html#SEC76">6.3 Interactive Shells</A>, for a description of what makes +See section <A HREF="bashref.html#SEC77">6.3 Interactive Shells</A>, for a description of what makes a shell interactive. </P><P> @@ -796,7 +796,7 @@ a shell interactive. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.2 Shell Commands </H2> @@ -833,7 +833,7 @@ some other grouping. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.2.1 Simple Commands </H3> @@ -847,7 +847,7 @@ first word generally specifies a command to be executed, with the rest of the words being that command's arguments. </P><P> -The return status (see section <A HREF="bashref.html#SEC53">3.7.5 Exit Status</A>) of a simple command is +The return status (see section <A HREF="bashref.html#SEC54">3.7.5 Exit Status</A>) of a simple command is its exit status as provided by the POSIX 1003.1 <CODE>waitpid</CODE> function, or 128+<VAR>n</VAR> if the command was terminated by signal <VAR>n</VAR>. @@ -864,27 +864,35 @@ the command was terminated by signal <VAR>n</VAR>. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.2.2 Pipelines </H3> <!--docid::SEC17::--> <P> -A <CODE>pipeline</CODE> is a sequence of simple commands separated by -<SAMP>`|'</SAMP>. +A <CODE>pipeline</CODE> is a sequence of simple commands separated by one of +the control operators <SAMP>`|'</SAMP> or <SAMP>`|&'</SAMP>. </P><P> <A NAME="IDX24"></A> <A NAME="IDX25"></A> <A NAME="IDX26"></A> The format for a pipeline is -<TABLE><tr><td> </td><td class=example><pre>[<CODE>time</CODE> [<CODE>-p</CODE>]] [<CODE>!</CODE>] <VAR>command1</VAR> [<CODE>|</CODE> <VAR>command2</VAR> <small>...</small>] +<TABLE><tr><td> </td><td class=example><pre>[<CODE>time</CODE> [<CODE>-p</CODE>]] [<CODE>!</CODE>] <VAR>command1</VAR> [ [<CODE>|</CODE> or <CODE>|&</CODE>] <VAR>command2</VAR> <small>...</small>] </pre></td></tr></table></P><P> The output of each command in the pipeline is connected via a pipe to the input of the next command. -That is, each command reads the previous command's output. +That is, each command reads the previous command's output. This +connection is performed before any redirections specified by the +command. +</P><P> + +If <SAMP>`|&'</SAMP> is used, the standard error of <VAR>command1</VAR> is connected to +<VAR>command2</VAR>'s standard input through the pipe; it is shorthand for +<CODE>2>&1 |</CODE>. This implicit redirection of the standard error is +performed after any redirections specified by the command. </P><P> The reserved word <CODE>time</CODE> causes timing statistics @@ -895,7 +903,7 @@ The <SAMP>`-p'</SAMP> option changes the output format to that specified by POSIX. The <CODE>TIMEFORMAT</CODE> variable may be set to a format string that specifies how the timing information should be displayed. -See section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>, for a description of the available formats. +See section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>, for a description of the available formats. The use of <CODE>time</CODE> as a reserved word permits the timing of shell builtins, shell functions, and pipelines. An external <CODE>time</CODE> command cannot time these easily. @@ -906,10 +914,10 @@ shell waits for all commands in the pipeline to complete. </P><P> Each command in a pipeline is executed in its own subshell -(see section <A HREF="bashref.html#SEC51">3.7.3 Command Execution Environment</A>). The exit +(see section <A HREF="bashref.html#SEC52">3.7.3 Command Execution Environment</A>). The exit status of a pipeline is the exit status of the last command in the pipeline, unless the <CODE>pipefail</CODE> option is enabled -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). If <CODE>pipefail</CODE> is enabled, the pipeline's return status is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands exit successfully. @@ -931,7 +939,7 @@ returning a value. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.2.3 Lists of Commands </H3> @@ -958,7 +966,7 @@ the shell executes the command asynchronously in a subshell. This is known as executing the command in the <VAR>background</VAR>. The shell does not wait for the command to finish, and the return status is 0 (true). -When job control is not active (see section <A HREF="bashref.html#SEC89">7. Job Control</A>), +When job control is not active (see section <A HREF="bashref.html#SEC90">7. Job Control</A>), the standard input for asynchronous commands, in the absence of any explicit redirections, is redirected from <CODE>/dev/null</CODE>. </P><P> @@ -1006,7 +1014,7 @@ executed in the list. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.2.4 Compound Commands </H3> @@ -1042,7 +1050,7 @@ to group commands and execute them as a unit. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.2.4.1 Looping Constructs </H4> @@ -1103,7 +1111,7 @@ An alternate form of the <CODE>for</CODE> command is also supported: <TABLE><tr><td> </td><td class=example><pre>for (( <VAR>expr1</VAR> ; <VAR>expr2</VAR> ; <VAR>expr3</VAR> )) ; do <VAR>commands</VAR> ; done </pre></td></tr></table>First, the arithmetic expression <VAR>expr1</VAR> is evaluated according -to the rules described below (see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>). +to the rules described below (see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>). The arithmetic expression <VAR>expr2</VAR> is then evaluated repeatedly until it evaluates to zero. Each time <VAR>expr2</VAR> evaluates to a non-zero value, <VAR>commands</VAR> are @@ -1116,7 +1124,7 @@ that is executed, or false if any of the expressions is invalid. </DL> <P> -The <CODE>break</CODE> and <CODE>continue</CODE> builtins (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) +The <CODE>break</CODE> and <CODE>continue</CODE> builtins (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) may be used to control loop execution. </P><P> @@ -1131,7 +1139,7 @@ may be used to control loop execution. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.2.4.2 Conditional Constructs </H4> @@ -1182,13 +1190,16 @@ The syntax of the <CODE>case</CODE> command is: <CODE>case</CODE> will selectively execute the <VAR>command-list</VAR> corresponding to the first <VAR>pattern</VAR> that matches <VAR>word</VAR>. If the shell option <CODE>nocasematch</CODE> -(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>) +(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>) is enabled, the match is performed without regard to the case of alphabetic characters. The <SAMP>`|'</SAMP> is used to separate multiple patterns, and the <SAMP>`)'</SAMP> operator terminates a pattern list. A list of patterns and an associated command-list is known -as a <VAR>clause</VAR>. Each clause must be terminated with <SAMP>`;;'</SAMP>. +as a <VAR>clause</VAR>. +</P><P> + +Each clause must be terminated with <SAMP>`;;'</SAMP>, <SAMP>`,&'</SAMP>, or <SAMP>`;;&'</SAMP>. The <VAR>word</VAR> undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before matching is attempted. Each <VAR>pattern</VAR> undergoes tilde expansion, parameter @@ -1196,7 +1207,8 @@ expansion, command substitution, and arithmetic expansion. </P><P> There may be an arbitrary number of <CODE>case</CODE> clauses, each terminated -by a <SAMP>`;;'</SAMP>. The first pattern that matches determines the +by a <SAMP>`;;'</SAMP>, <SAMP>`;&'</SAMP>, or <SAMP>`;;&'</SAMP>. +The first pattern that matches determines the command-list that is executed. </P><P> @@ -1215,6 +1227,17 @@ esac echo " legs." </pre></td></tr></table></P><P> +</P><P> + +If the <SAMP>`;;'</SAMP> operator is used, no subsequent matches are attempted after +the first pattern match. +Using <SAMP>`;&'</SAMP> in place of <SAMP>`;;'</SAMP> causes execution to continue with +the <VAR>command-list</VAR> associated with the next clause, if any. +Using <SAMP>`;;&'</SAMP> in place of <SAMP>`;;'</SAMP> causes the shell to test the patterns +in the next clause, if any, and execute any associated <VAR>command-list</VAR> +on a successful match. +</P><P> + The return status is zero if no <VAR>pattern</VAR> is matched. Otherwise, the return status is the exit status of the <VAR>command-list</VAR> executed. </P><P> @@ -1267,11 +1290,11 @@ done </pre></td></tr></table><P> The arithmetic <VAR>expression</VAR> is evaluated according to the rules -described below (see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>). +described below (see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>). If the value of the expression is non-zero, the return status is 0; otherwise the return status is 1. This is exactly equivalent to <TABLE><tr><td> </td><td class=example><pre>let "<VAR>expression</VAR>" -</pre></td></tr></table>See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>, for a full description of the <CODE>let</CODE> builtin. +</pre></td></tr></table>See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>, for a full description of the <CODE>let</CODE> builtin. </P><P> <DT><CODE>[[<small>...</small>]]</CODE> @@ -1283,7 +1306,7 @@ otherwise the return status is 1. This is exactly equivalent to Return a status of 0 or 1 depending on the evaluation of the conditional expression <VAR>expression</VAR>. Expressions are composed of the primaries described below in -<A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A>. +<A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A>. Word splitting and filename expansion are not performed on the words between the <SAMP>`[['</SAMP> and <SAMP>`]]'</SAMP>; tilde expansion, parameter and variable expansion, arithmetic expansion, command substitution, process @@ -1296,7 +1319,7 @@ When the <SAMP>`=='</SAMP> and <SAMP>`!='</SAMP> operators are used, the string right of the operator is considered a pattern and matched according to the rules described below in <A HREF="bashref.html#SEC36">3.5.8.1 Pattern Matching</A>. If the shell option <CODE>nocasematch</CODE> -(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>) +(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>) is enabled, the match is performed without regard to the case of alphabetic characters. The return value is 0 if the string matches (<SAMP>`=='</SAMP>) or does not @@ -1314,7 +1337,7 @@ the pattern, and 1 otherwise. If the regular expression is syntactically incorrect, the conditional expression's return value is 2. If the shell option <CODE>nocasematch</CODE> -(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>) +(see the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>) is enabled, the match is performed without regard to the case of alphabetic characters. Any part of the pattern may be quoted to force it to be matched as a @@ -1367,7 +1390,7 @@ value of the entire conditional expression. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC23"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.2.4.3 Grouping Commands </H4> @@ -1386,7 +1409,7 @@ commands in the list may be redirected to a single stream. </pre></td></tr></table><P> Placing a list of commands between parentheses causes a subshell -environment to be created (see section <A HREF="bashref.html#SEC51">3.7.3 Command Execution Environment</A>), and each +environment to be created (see section <A HREF="bashref.html#SEC52">3.7.3 Command Execution Environment</A>), and each of the commands in <VAR>list</VAR> to be executed in that subshell. Since the <VAR>list</VAR> is executed in a subshell, variable assignments do not remain in effect after the subshell completes. @@ -1425,10 +1448,10 @@ The exit status of both of these constructs is the exit status of <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC24"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC24"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.3 Shell Functions </H2> @@ -1464,7 +1487,7 @@ are performed when the function is executed. </P><P> A function definition may be deleted using the <SAMP>`-f'</SAMP> option to the -<CODE>unset</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +<CODE>unset</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). </P><P> The exit status of a function definition is zero unless a syntax error @@ -1499,7 +1522,7 @@ are not inherited unless the function has been given the the <CODE>-o functrace</CODE> option has been enabled with the <CODE>set</CODE> builtin, (in which case all functions inherit the <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps). -See section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>, for the description of the +See section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>, for the description of the <CODE>trap</CODE> builtin. </P><P> @@ -1525,7 +1548,7 @@ the function and the commands it invokes. Function names and definitions may be listed with the <SAMP>`-f'</SAMP> option to the <CODE>declare</CODE> or <CODE>typeset</CODE> -builtin commands (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +builtin commands (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). The <SAMP>`-F'</SAMP> option to <CODE>declare</CODE> or <CODE>typeset</CODE> will list the function names only (and optionally the source file and line number, if the <CODE>extdebug</CODE> @@ -1533,7 +1556,7 @@ shell option is enabled). Functions may be exported so that subshells automatically have them defined with the <SAMP>`-f'</SAMP> option to the <CODE>export</CODE> builtin -(see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). Note that shell functions and variables with the same name may result in multiple identically-named entries in the environment passed to the shell's children. @@ -1555,7 +1578,7 @@ recursive calls. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC27"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.4 Shell Parameters </H2> @@ -1574,7 +1597,7 @@ listed below. A <VAR>variable</VAR> is a parameter denoted by a <CODE>name</CODE>. A variable has a <VAR>value</VAR> and zero or more <VAR>attributes</VAR>. Attributes are assigned using the <CODE>declare</CODE> builtin command -(see the description of the <CODE>declare</CODE> builtin in <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +(see the description of the <CODE>declare</CODE> builtin in <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). </P><P> A parameter is set if it has been assigned a value. The null string is @@ -1602,14 +1625,14 @@ and <CODE>local</CODE> builtin commands. </P><P> In the context where an assignment statement is assigning a value -to a shell variable or array index (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>), the <SAMP>`+='</SAMP> +to a shell variable or array index (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>), the <SAMP>`+='</SAMP> operator can be used to append to or add to the variable's previous value. When <SAMP>`+='</SAMP> is applied to a variable for which the integer attribute has been set, <VAR>value</VAR> is evaluated as an arithmetic expression and added to the variable's current value, which is also evaluated. When <SAMP>`+='</SAMP> is applied to an array variable using compound assignment -(see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>), the +(see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>), the variable's value is not unset (as it is when using <SAMP>`='</SAMP>), and new values are appended to the array beginning at one greater than the array's maximum index. @@ -1628,7 +1651,7 @@ appended to the variable's value. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC27"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.4.1 Positional Parameters </H3> @@ -1643,7 +1666,7 @@ Positional parameter <CODE>N</CODE> may be referenced as <CODE>${N}</CODE>, or as <CODE>$N</CODE> when <CODE>N</CODE> consists of a single digit. Positional parameters may not be assigned to with assignment statements. The <CODE>set</CODE> and <CODE>shift</CODE> builtins are used to set and -unset them (see section <A HREF="bashref.html#SEC56">4. Shell Builtin Commands</A>). +unset them (see section <A HREF="bashref.html#SEC57">4. Shell Builtin Commands</A>). The positional parameters are temporarily replaced when a shell function is executed (see section <A HREF="bashref.html#SEC23">3.3 Shell Functions</A>). @@ -1664,7 +1687,7 @@ digit is expanded, it must be enclosed in braces. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC27"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.4.2 Special Parameters </H3> @@ -1750,8 +1773,8 @@ Expands to the process ID of the most recently executed background <DD><A NAME="IDX61"></A> Expands to the name of the shell or shell script. This is set at shell initialization. If Bash is invoked with a file of commands -(see section <A HREF="bashref.html#SEC55">3.8 Shell Scripts</A>), <CODE>$0</CODE> is set to the name of that file. -If Bash is started with the <SAMP>`-c'</SAMP> option (see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>), +(see section <A HREF="bashref.html#SEC56">3.8 Shell Scripts</A>), <CODE>$0</CODE> is set to the name of that file. +If Bash is started with the <SAMP>`-c'</SAMP> option (see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>), then <CODE>$0</CODE> is set to the first argument after the string to be executed, if one is present. Otherwise, it is set to the filename used to invoke Bash, as given by argument zero. @@ -1783,7 +1806,7 @@ When checking mail, this parameter holds the name of the mail file. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.5 Shell Expansions </H2> @@ -1837,7 +1860,7 @@ can change the number of words of the expansion; other expansions expand a single word to a single word. The only exceptions to this are the expansions of <CODE>"$@"</CODE> (see section <A HREF="bashref.html#SEC26">3.4.2 Special Parameters</A>) and <CODE>"${<VAR>name</VAR>[@]}"</CODE> -(see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>). +(see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>). </P><P> After all expansions, <CODE>quote removal</CODE> (see section <A HREF="bashref.html#SEC37">3.5.9 Quote Removal</A>) @@ -1855,7 +1878,7 @@ is performed. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.1 Brace Expansion </H3> @@ -1883,13 +1906,20 @@ For example, ade ace abe </pre></td></tr></table></P><P> -A sequence expression takes the form <CODE>{<VAR>x</VAR>..<VAR>y</VAR>}</CODE>, -where <VAR>x</VAR> and <VAR>y</VAR> are either integers or single characters. +A sequence expression takes the form <CODE>{<VAR>x</VAR>..<VAR>y</VAR>[<VAR>incr</VAR>]}</CODE>, +where <VAR>x</VAR> and <VAR>y</VAR> are either integers or single characters, +and <VAR>incr</VAR>, an optional increment, is an integer. When integers are supplied, the expression expands to each number between <VAR>x</VAR> and <VAR>y</VAR>, inclusive. +Supplied integers may be prefixed with <SAMP>`0'</SAMP> to force each term to have the +same width. When either <VAR>x</VAR> or <VAR>y</VAR> begins with a zero, the shell +attempts to force all generated terms to contain the same number of digits, +zero-padding where necessary. When characters are supplied, the expression expands to each character lexicographically between <VAR>x</VAR> and <VAR>y</VAR>, inclusive. Note that both <VAR>x</VAR> and <VAR>y</VAR> must be of the same type. +When the increment is supplied, it is used as the difference between +each term. The default increment is 1 or -1 as appropriate. </P><P> Brace expansion is performed before any other expansions, @@ -1932,7 +1962,7 @@ above example: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.2 Tilde Expansion </H3> @@ -1964,7 +1994,7 @@ number <VAR>N</VAR>, optionally prefixed by a <SAMP>`+'</SAMP> or a <SAMP>`-'</S the tilde-prefix is replaced with the corresponding element from the directory stack, as it would be displayed by the <CODE>dirs</CODE> builtin invoked with the characters following tilde -in the tilde-prefix as an argument (see section <A HREF="bashref.html#SEC84">6.8 The Directory Stack</A>). +in the tilde-prefix as an argument (see section <A HREF="bashref.html#SEC85">6.8 The Directory Stack</A>). If the tilde-prefix, sans the tilde, consists of a number without a leading <SAMP>`+'</SAMP> or <SAMP>`-'</SAMP>, <SAMP>`+'</SAMP> is assumed. </P><P> @@ -2030,7 +2060,7 @@ The following table shows how Bash treats unquoted tilde-prefixes: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.3 Shell Parameter Expansion </H3> @@ -2124,7 +2154,7 @@ starting at the character specified by <VAR>offset</VAR>. If <VAR>length</VAR> is omitted, expands to the substring of <VAR>parameter</VAR> starting at the character specified by <VAR>offset</VAR>. <VAR>length</VAR> and <VAR>offset</VAR> are arithmetic expressions -(see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>). +(see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>). This is referred to as Substring Expansion. <P> @@ -2246,7 +2276,7 @@ array in turn, and the expansion is the resultant list. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.4 Command Substitution </H3> @@ -2298,7 +2328,7 @@ filename expansion are not performed on the results. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.5 Arithmetic Expansion </H3> @@ -2320,7 +2350,7 @@ Arithmetic expansions may be nested. </P><P> The evaluation is performed according to the rules listed below -(see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>). +(see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>). If the expression is invalid, Bash prints a message indicating failure to the standard error and no substitution occurs. </P><P> @@ -2336,7 +2366,7 @@ failure to the standard error and no substitution occurs. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.6 Process Substitution </H3> @@ -2377,7 +2407,7 @@ expansion. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.7 Word Splitting </H3> @@ -2431,7 +2461,7 @@ is performed. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC37"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.8 Filename Expansion </H3> @@ -2446,7 +2476,7 @@ is performed. <P> After word splitting, unless the <SAMP>`-f'</SAMP> option has been set -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>), Bash scans each word for the characters +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>), Bash scans each word for the characters <SAMP>`*'</SAMP>, <SAMP>`?'</SAMP>, and <SAMP>`['</SAMP>. If one of these characters appears, then the word is regarded as a <VAR>pattern</VAR>, @@ -2470,7 +2500,7 @@ matched explicitly. In other cases, the <SAMP>`.'</SAMP> character is not treated specially. </P><P> -See the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>, +See the description of <CODE>shopt</CODE> in <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>, for a description of the <CODE>nocaseglob</CODE>, <CODE>nullglob</CODE>, <CODE>failglob</CODE>, and <CODE>dotglob</CODE> options. </P><P> @@ -2504,7 +2534,7 @@ is unset. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC37"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H4> 3.5.8.1 Pattern Matching </H4> @@ -2524,6 +2554,12 @@ The special pattern characters have the following meanings: <DL COMPACT> <DT><CODE>*</CODE> <DD>Matches any string, including the null string. +When the <CODE>globstar</CODE> shell option is enabled, and <SAMP>`*'</SAMP> is used in +a filename expansion context, two adjacent <SAMP>`*'</SAMP>s used as a single +pattern will match all files and zero or more directories and +subdirectories. +If followed by a <SAMP>`/'</SAMP>, two adjacent <SAMP>`*'</SAMP>s will match only +directories and subdirectories. <DT><CODE>?</CODE> <DD>Matches any single character. <DT><CODE>[<small>...</small>]</CODE> @@ -2614,7 +2650,7 @@ sub-patterns: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.5.9 Quote Removal </H3> @@ -2632,12 +2668,12 @@ result from one of the above expansions are removed. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC37"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC39"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.6 Redirections </H2> @@ -2730,12 +2766,12 @@ internally. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC40"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.6.1 Redirecting Input </H3> @@ -2758,10 +2794,10 @@ The general format for redirecting input is: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC41"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC41"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.6.2 Redirecting Output </H3> @@ -2794,10 +2830,10 @@ is attempted even if the file named by <VAR>word</VAR> exists. <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC42"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC42"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.6.3 Appending Redirected Output </H3> @@ -2821,19 +2857,19 @@ The general format for appending output is: <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC43"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC43"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.6.4 Redirecting Standard Output and Standard Error </H3> <!--docid::SEC42::--> -Bash allows both the +This construct allows both the standard output (file descriptor 1) and the standard error output (file descriptor 2) to be redirected to the file whose name is the -expansion of <VAR>word</VAR> with this construct. +expansion of <VAR>word</VAR>. <P> There are two formats for redirecting standard output and @@ -2853,14 +2889,42 @@ This is semantically equivalent to <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC44"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC44"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> -<H3> 3.6.5 Here Documents </H3> +<H3> 3.6.5 Appending Standard Output and Standard Error </H3> <!--docid::SEC43::--> +This construct allows both the +standard output (file descriptor 1) and +the standard error output (file descriptor 2) +to be appended to the file whose name is the +expansion of <VAR>word</VAR>. +<P> + +The format for appending standard output and standard error is: +<TABLE><tr><td> </td><td class=example><pre>&>><VAR>word</VAR> +</pre></td></tr></table>This is semantically equivalent to +<TABLE><tr><td> </td><td class=example><pre>>><VAR>word</VAR> 2>&1 +</pre></td></tr></table></P><P> + +<HR SIZE="6"> +<A NAME="SEC44"></A> +<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC43"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> +</TR></TABLE> +<H3> 3.6.6 Here Documents </H3> +<!--docid::SEC44::--> This type of redirection instructs the shell to read input from the current source until a line containing only <VAR>word</VAR> (with no trailing blanks) is seen. All of @@ -2895,20 +2959,20 @@ natural fashion. </P><P> <HR SIZE="6"> -<A NAME="SEC44"></A> +<A NAME="SEC45"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC43"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC44"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> -<H3> 3.6.6 Here Strings </H3> -<!--docid::SEC44::--> +<H3> 3.6.7 Here Strings </H3> +<!--docid::SEC45::--> A variant of here documents, the format is: <TABLE><tr><td> </td><td class=example><pre><<< <VAR>word</VAR> </pre></td></tr></table><P> @@ -2918,20 +2982,20 @@ input. </P><P> <HR SIZE="6"> -<A NAME="SEC45"></A> +<A NAME="SEC46"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC44"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> -<H3> 3.6.7 Duplicating File Descriptors </H3> -<!--docid::SEC45::--> +<H3> 3.6.8 Duplicating File Descriptors </H3> +<!--docid::SEC46::--> The redirection operator <TABLE><tr><td> </td><td class=example><pre>[<VAR>n</VAR>]<&<VAR>word</VAR> </pre></td></tr></table>is used to duplicate input file descriptors. @@ -2957,20 +3021,20 @@ error are redirected as described previously. </P><P> <HR SIZE="6"> -<A NAME="SEC46"></A> +<A NAME="SEC47"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC45"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> -<H3> 3.6.8 Moving File Descriptors </H3> -<!--docid::SEC46::--> +<H3> 3.6.9 Moving File Descriptors </H3> +<!--docid::SEC47::--> The redirection operator <TABLE><tr><td> </td><td class=example><pre>[<VAR>n</VAR>]<&<VAR>digit</VAR>- </pre></td></tr></table>moves the file descriptor <VAR>digit</VAR> to file descriptor <VAR>n</VAR>, @@ -2985,20 +3049,20 @@ or the standard output (file descriptor 1) if <VAR>n</VAR> is not specified. </P><P> <HR SIZE="6"> -<A NAME="SEC47"></A> +<A NAME="SEC48"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC46"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC40"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC38"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> -<H3> 3.6.9 Opening File Descriptors for Reading and Writing </H3> -<!--docid::SEC47::--> +<H3> 3.6.10 Opening File Descriptors for Reading and Writing </H3> +<!--docid::SEC48::--> The redirection operator <TABLE><tr><td> </td><td class=example><pre>[<VAR>n</VAR>]<><VAR>word</VAR> </pre></td></tr></table>causes the file whose name is the expansion of <VAR>word</VAR> @@ -3009,53 +3073,53 @@ is not specified. If the file does not exist, it is created. <A NAME="Executing Commands"></A> <HR SIZE="6"> -<A NAME="SEC48"></A> +<A NAME="SEC49"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC47"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC50"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.7 Executing Commands </H2> -<!--docid::SEC48::--> +<!--docid::SEC49::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC49">3.7.1 Simple Command Expansion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash expands simple commands before +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC50">3.7.1 Simple Command Expansion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash expands simple commands before executing them.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC50">3.7.2 Command Search and Execution</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash finds commands and runs them.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC51">3.7.3 Command Execution Environment</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The environment in which Bash +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC51">3.7.2 Command Search and Execution</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash finds commands and runs them.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC52">3.7.3 Command Execution Environment</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The environment in which Bash executes commands that are not shell builtins.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC52">3.7.4 Environment</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The environment given to a command.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC53">3.7.5 Exit Status</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The status returned by commands and how Bash +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC53">3.7.4 Environment</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The environment given to a command.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC54">3.7.5 Exit Status</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The status returned by commands and how Bash interprets it.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC54">3.7.6 Signals</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What happens when Bash or a command it runs +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC55">3.7.6 Signals</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What happens when Bash or a command it runs receives a signal.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Simple Command Expansion"></A> <HR SIZE="6"> -<A NAME="SEC49"></A> +<A NAME="SEC50"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC50"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC51"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.1 Simple Command Expansion </H3> -<!--docid::SEC49::--> +<!--docid::SEC50::--> <P> When a simple command is executed, the shell performs the following @@ -3109,20 +3173,20 @@ were no command substitutions, the command exits with a status of zero. <A NAME="Command Search and Execution"></A> <HR SIZE="6"> -<A NAME="SEC50"></A> +<A NAME="SEC51"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC51"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC51"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC50"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.2 Command Search and Execution </H3> -<!--docid::SEC50::--> +<!--docid::SEC51::--> <P> After a command has been split into words, if it results in a @@ -3149,10 +3213,15 @@ and contains no slashes, Bash searches each element of <CODE>$PATH</CODE> for a directory containing an executable file by that name. Bash uses a hash table to remember the full pathnames of executable files to avoid multiple <CODE>PATH</CODE> searches -(see the description of <CODE>hash</CODE> in <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see the description of <CODE>hash</CODE> in <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). A full search of the directories in <CODE>$PATH</CODE> is performed only if the command is not found in the hash table. -If the search is unsuccessful, the shell prints an error +If the search is unsuccessful, the shell searches for a defined shell +function named <CODE>command_not_found_handle</CODE>. +If that function exists, it is invoked with the original command and +the original command's arguments as its arguments, and the function's +exit status becomes the exit status of the shell. +If that function is not defined, the shell prints an error message and returns an exit status of 127. <P> @@ -3168,7 +3237,7 @@ to the command are set to the arguments supplied, if any. If this execution fails because the file is not in executable format, and the file is not a directory, it is assumed to be a <VAR>shell script</VAR> and the shell executes it as described in -<A HREF="bashref.html#SEC55">3.8 Shell Scripts</A>. +<A HREF="bashref.html#SEC56">3.8 Shell Scripts</A>. <P> <LI> @@ -3181,20 +3250,20 @@ the command to complete and collects its exit status. <A NAME="Command Execution Environment"></A> <HR SIZE="6"> -<A NAME="SEC51"></A> +<A NAME="SEC52"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC50"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC51"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.3 Command Execution Environment </H3> -<!--docid::SEC51::--> +<!--docid::SEC52::--> <P> The shell has an <VAR>execution environment</VAR>, which consists of the @@ -3237,11 +3306,11 @@ arguments) or by <CODE>set</CODE> <P> <LI> -options enabled by <CODE>shopt</CODE> (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>) +options enabled by <CODE>shopt</CODE> (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>) <P> <LI> -shell aliases defined with <CODE>alias</CODE> (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>) +shell aliases defined with <CODE>alias</CODE> (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>) <P> <LI> @@ -3276,7 +3345,7 @@ the file creation mode mask <LI> shell variables and functions marked for export, along with variables -exported for the command, passed in the environment (see section <A HREF="bashref.html#SEC52">3.7.4 Environment</A>) +exported for the command, passed in the environment (see section <A HREF="bashref.html#SEC53">3.7.4 Environment</A>) <P> <LI> @@ -3309,20 +3378,20 @@ shell as modified by redirections. <A NAME="Environment"></A> <HR SIZE="6"> -<A NAME="SEC52"></A> +<A NAME="SEC53"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC51"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.4 Environment </H3> -<!--docid::SEC52::--> +<!--docid::SEC53::--> <P> When a program is invoked it is given an array of strings @@ -3354,7 +3423,7 @@ These assignment statements affect only the environment seen by that command. </P><P> -If the <SAMP>`-k'</SAMP> option is set (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>), then all +If the <SAMP>`-k'</SAMP> option is set (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>), then all parameter assignments are placed in the environment for a command, not just those that precede the command name. </P><P> @@ -3366,20 +3435,20 @@ command in its environment. <A NAME="Exit Status"></A> <HR SIZE="6"> -<A NAME="SEC53"></A> +<A NAME="SEC54"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC52"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.5 Exit Status </H3> -<!--docid::SEC53::--> +<!--docid::SEC54::--> <P> The exit status of an executed command is the value returned by the @@ -3423,20 +3492,20 @@ All builtins return an exit status of 2 to indicate incorrect usage. <A NAME="Signals"></A> <HR SIZE="6"> -<A NAME="SEC54"></A> +<A NAME="SEC55"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC53"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC48"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC49"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 3.7.6 Signals </H3> -<!--docid::SEC54::--> +<!--docid::SEC55::--> <P> When Bash is interactive, in the absence of any traps, it ignores @@ -3445,7 +3514,7 @@ and <CODE>SIGINT</CODE> is caught and handled (so that the <CODE>wait</CODE> builtin is interruptible). When Bash receives a <CODE>SIGINT</CODE>, it breaks out of any executing loops. In all cases, Bash ignores <CODE>SIGQUIT</CODE>. -If job control is in effect (see section <A HREF="bashref.html#SEC89">7. Job Control</A>), Bash +If job control is in effect (see section <A HREF="bashref.html#SEC90">7. Job Control</A>), Bash ignores <CODE>SIGTTIN</CODE>, <CODE>SIGTTOU</CODE>, and <CODE>SIGTSTP</CODE>. </P><P> @@ -3467,12 +3536,12 @@ the <CODE>SIGHUP</CODE>. To prevent the shell from sending the <CODE>SIGHUP</CODE> signal to a particular job, it should be removed from the jobs table with the <CODE>disown</CODE> -builtin (see section <A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A>) or marked +builtin (see section <A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A>) or marked to not receive <CODE>SIGHUP</CODE> using <CODE>disown -h</CODE>. </P><P> If the <CODE>huponexit</CODE> shell option has been set with <CODE>shopt</CODE> -(see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>), Bash sends a <CODE>SIGHUP</CODE> to all jobs when +(see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>), Bash sends a <CODE>SIGHUP</CODE> to all jobs when an interactive login shell exits. </P><P> @@ -3488,26 +3557,26 @@ which the trap is executed. <A NAME="Shell Scripts"></A> <HR SIZE="6"> -<A NAME="SEC55"></A> +<A NAME="SEC56"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC54"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC5"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 3.8 Shell Scripts </H2> -<!--docid::SEC55::--> +<!--docid::SEC56::--> <P> A shell script is a text file containing shell commands. When such a file is used as the first non-option argument when invoking Bash, and neither the <SAMP>`-c'</SAMP> nor <SAMP>`-s'</SAMP> option is supplied -(see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>), +(see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>), Bash reads and executes commands from the file, then exits. This mode of operation creates a non-interactive shell. The shell first searches for the file in the current directory, and looks in the @@ -3535,7 +3604,7 @@ if <CODE>filename</CODE> is an executable shell script. This subshell reinitializes itself, so that the effect is as if a new shell had been invoked to interpret the script, with the exception that the locations of commands remembered by the parent -(see the description of <CODE>hash</CODE> in <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) +(see the description of <CODE>hash</CODE> in <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) are retained by the child. </P><P> @@ -3564,29 +3633,29 @@ under another shell. <A NAME="Shell Builtin Commands"></A> <HR SIZE="6"> -<A NAME="SEC56"></A> +<A NAME="SEC57"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC55"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC58"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 4. Shell Builtin Commands </H1> -<!--docid::SEC56::--> +<!--docid::SEC57::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands inherited from the Bourne +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands inherited from the Bourne Shell.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Table of builtins specific to Bash.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC59">4.3 Modifying Shell Behavior</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtins to modify shell attributes and +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Table of builtins specific to Bash.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC60">4.3 Modifying Shell Behavior</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtins to modify shell attributes and optional behavior.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC62">4.4 Special Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands classified specially by +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC63">4.4 Special Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands classified specially by POSIX.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -3606,10 +3675,10 @@ to or have been extended in Bash. Several builtin commands are described in other chapters: builtin commands which provide the Bash interface to the job control -facilities (see section <A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A>), the directory stack -(see section <A HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A>), the command history -(see section <A HREF="bashref.html#SEC119">9.2 Bash History Builtins</A>), and the programmable completion -facilities (see section <A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A>). +facilities (see section <A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A>), the directory stack +(see section <A HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A>), the command history +(see section <A HREF="bashref.html#SEC120">9.2 Bash History Builtins</A>), and the programmable completion +facilities (see section <A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A>). </P><P> Many of the builtins have been extended by POSIX or Bash. @@ -3624,20 +3693,20 @@ builtins do not accept options. <A NAME="Bourne Shell Builtins"></A> <HR SIZE="6"> -<A NAME="SEC57"></A> +<A NAME="SEC58"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC58"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 4.1 Bourne Shell Builtins </H2> -<!--docid::SEC57::--> +<!--docid::SEC58::--> <P> The following shell builtin commands are inherited from the Bourne Shell. @@ -3921,7 +3990,7 @@ less than zero, non-zero otherwise. Evaluate a conditional expression <VAR>expr</VAR>. Each operator and operand must be a separate argument. Expressions are composed of the primaries described below in -<A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A>. +<A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A>. <CODE>test</CODE> does not accept any options, nor does it accept and ignore an argument of <SAMP>`--'</SAMP> as signifying the end of options. <P> @@ -3971,7 +4040,7 @@ expressions using a set of rules based on the number of arguments. <DD>If the first argument is <SAMP>`!'</SAMP>, the expression is true if and only if the second argument is null. If the first argument is one of the unary conditional operators -(see section <A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A>), the expression +(see section <A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A>), the expression is true if the unary test is true. If the first argument is not a valid unary operator, the expression is false. @@ -3979,7 +4048,7 @@ false. <DT>3 arguments <DD>If the second argument is one of the binary conditional -operators (see section <A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A>), the +operators (see section <A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A>), the result of the expression is the result of the binary test using the first and third arguments as operands. The <SAMP>`-a'</SAMP> and <SAMP>`-o'</SAMP> operators are considered binary operators @@ -4039,7 +4108,7 @@ before every simple command, <CODE>for</CODE> command, <CODE>case</CODE> command <CODE>select</CODE> command, every arithmetic <CODE>for</CODE> command, and before the first command executes in a shell function. Refer to the description of the <CODE>extglob</CODE> option to the -<CODE>shopt</CODE> builtin (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>) for details of its +<CODE>shopt</CODE> builtin (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>) for details of its effect on the <CODE>DEBUG</CODE> trap. If a <VAR>sigspec</VAR> is <CODE>ERR</CODE>, the command <VAR>arg</VAR> is executed whenever a simple command has a non-zero exit status, @@ -4101,20 +4170,20 @@ The return status is zero unless a <VAR>name</VAR> is readonly. <A NAME="Bash Builtins"></A> <HR SIZE="6"> -<A NAME="SEC58"></A> +<A NAME="SEC59"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC58"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 4.2 Bash Builtin Commands </H2> -<!--docid::SEC58::--> +<!--docid::SEC59::--> <P> This section describes builtin commands which are unique to @@ -4135,7 +4204,7 @@ them to be reused as input. If arguments are supplied, an alias is defined for each <VAR>name</VAR> whose <VAR>value</VAR> is given. If no <VAR>value</VAR> is given, the name and value of the alias is printed. -Aliases are described in <A HREF="bashref.html#SEC82">6.6 Aliases</A>. +Aliases are described in <A HREF="bashref.html#SEC83">6.6 Aliases</A>. </P><P> <DT><CODE>bind</CODE> @@ -4148,14 +4217,16 @@ bind [-m <VAR>keymap</VAR>] <VAR>keyseq:function-name</VAR> bind <VAR>readline-command</VAR> </pre></td></tr></table><P> -Display current Readline (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>) +Display current Readline (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>) key and function bindings, bind a key sequence to a Readline function or macro, or set a Readline variable. Each non-option argument is a command as it would appear in a -Readline initialization file (see section <A HREF="bashref.html#SEC101">8.3 Readline Init File</A>), +Readline initialization file (see section <A HREF="bashref.html#SEC102">8.3 Readline Init File</A>), but each binding or command must be passed as a separate argument; e.g., <SAMP>`"\C-x\C-r":re-read-init-file'</SAMP>. +</P><P> + Options, if supplied, have the following meanings: </P><P> @@ -4227,8 +4298,13 @@ initialization file. <DT><CODE>-x <VAR>keyseq:shell-command</VAR></CODE> <DD>Cause <VAR>shell-command</VAR> to be executed whenever <VAR>keyseq</VAR> is entered. -<P> - +When <VAR>shell-command</VAR> is executed, the shell sets the +<CODE>READLINE_LINE</CODE> variable to the contents of the Readline line +buffer and the <CODE>READLINE_POINT</CODE> variable to the current location +of the insertion point. +If the executed command changes the value of <CODE>READLINE_LINE</CODE> or +<CODE>READLINE_POINT</CODE>, those new values will be reflected in the +editing state. </DL> <P> @@ -4319,7 +4395,7 @@ option will restrict the display to shell functions. The <SAMP>`-F'</SAMP> option inhibits the display of function definitions; only the function name and attributes are printed. If the <CODE>extdebug</CODE> shell option is enabled using <CODE>shopt</CODE> -(see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>), the source file name and line number where +(see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>), the source file name and line number where the function is defined are displayed as well. <SAMP>`-F'</SAMP> implies <SAMP>`-f'</SAMP>. The following options can be used to restrict output to variables with @@ -4328,7 +4404,7 @@ the specified attributes or to give variables attributes: <DL COMPACT> <DT><CODE>-a</CODE> -<DD>Each <VAR>name</VAR> is an array variable (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>). +<DD>Each <VAR>name</VAR> is an array variable (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>). <P> <DT><CODE>-f</CODE> @@ -4337,7 +4413,7 @@ the specified attributes or to give variables attributes: <DT><CODE>-i</CODE> <DD>The variable is to be treated as -an integer; arithmetic evaluation (see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>) is +an integer; arithmetic evaluation (see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>) is performed when the variable is assigned a value. <P> @@ -4372,7 +4448,7 @@ The return status is zero unless an invalid option is encountered, an attempt is made to define a function using <SAMP>`-f foo=bar'</SAMP>, an attempt is made to assign a value to a readonly variable, an attempt is made to assign a value to an array variable without -using the compound assignment syntax (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>), +using the compound assignment syntax (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>), one of the <VAR>names</VAR> is not a valid shell variable name, an attempt is made to turn off readonly status for a readonly variable, an attempt is made to turn off array status for an array variable, @@ -4455,7 +4531,7 @@ The <SAMP>`-d'</SAMP> option will delete a builtin loaded with <SAMP>`-f'</SAMP> If there are no options, a list of the shell builtins is displayed. The <SAMP>`-s'</SAMP> option restricts <CODE>enable</CODE> to the POSIX special builtins. If <SAMP>`-s'</SAMP> is used with <SAMP>`-f'</SAMP>, the new builtin becomes -a special builtin (see section <A HREF="bashref.html#SEC62">4.4 Special Builtins</A>). +a special builtin (see section <A HREF="bashref.html#SEC63">4.4 Special Builtins</A>). </P><P> The return status is zero unless a <VAR>name</VAR> is not a shell builtin @@ -4464,22 +4540,35 @@ or there is an error loading a new builtin from a shared object. <DT><CODE>help</CODE> <DD><A NAME="IDX97"></A> -<TABLE><tr><td> </td><td class=example><pre>help [-s] [<VAR>pattern</VAR>] +<TABLE><tr><td> </td><td class=example><pre>help [-dms] [<VAR>pattern</VAR>] </pre></td></tr></table>Display helpful information about builtin commands. If <VAR>pattern</VAR> is specified, <CODE>help</CODE> gives detailed help on all commands matching <VAR>pattern</VAR>, otherwise a list of the builtins is printed. -The <SAMP>`-s'</SAMP> option restricts the information displayed to a short -usage synopsis. -The return status is zero unless no command matches <VAR>pattern</VAR>. <P> +Options, if supplied, have the following meanings: +</P><P> + +<DL COMPACT> +<DT><CODE>-d</CODE> +<DD>Display a short description of each <VAR>pattern</VAR> +<DT><CODE>-m</CODE> +<DD>Display the description of each <VAR>pattern</VAR> in a manpage-like format +<DT><CODE>-s</CODE> +<DD>Display only a short usage synopsis for each <VAR>pattern</VAR> +</DL> +<P> + +The return status is zero unless no command matches <VAR>pattern</VAR>. +</P><P> + <DT><CODE>let</CODE> <DD><A NAME="IDX98"></A> <TABLE><tr><td> </td><td class=example><pre>let <VAR>expression</VAR> [<VAR>expression</VAR>] </pre></td></tr></table>The <CODE>let</CODE> builtin allows arithmetic to be performed on shell variables. Each <VAR>expression</VAR> is evaluated according to the -rules given below in <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>. If the +rules given below in <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>. If the last <VAR>expression</VAR> evaluates to 0, <CODE>let</CODE> returns 1; otherwise 0 is returned. <P> @@ -4504,8 +4593,50 @@ readonly variable. parent. <P> -<DT><CODE>printf</CODE> +<DT><CODE>mapfile</CODE> <DD><A NAME="IDX101"></A> +<TABLE><tr><td> </td><td class=example><pre>mapfile [-n <VAR>count</VAR>] [-O <VAR>origin</VAR>] [-s <VAR>count</VAR>] [-t] [-u <VAR>fd</VAR>] [ +-C <VAR>callback</VAR>] [-c <VAR>quantum</VAR>] [<VAR>array</VAR>] +</pre></td></tr></table>Read lines from the standard input into array variable <VAR>array</VAR>, +or from file descriptor <VAR>fd</VAR> +if the <SAMP>`-u'</SAMP> option is supplied. +The variable <CODE>MAPFILE</CODE> is the default <VAR>array</VAR>. +Options, if supplied, have the following meanings: +<DL COMPACT> + +<DT><CODE>-n</CODE> +<DD>Copy at most <VAR>count</VAR> lines. If <VAR>count</VAR> is 0, all lines are copied. +<DT><CODE>-O</CODE> +<DD>Begin assigning to <VAR>array</VAR> at index <VAR>origin</VAR>. +The default index is 0. +<DT><CODE>-s</CODE> +<DD>Discard the first <VAR>count</VAR> lines read. +<DT><CODE>-t</CODE> +<DD>Remove a trailing line from each line read. +<DT><CODE>-u</CODE> +<DD>Read lines from file descriptor <VAR>fd</VAR> instead of the standard input. +<DT><CODE>-C</CODE> +<DD>Evaluate <VAR>callback</VAR> each time <VAR>quantum</VAR>P lines are read. +The <SAMP>`-c'</SAMP> option specifies <VAR>quantum</VAR>. +<DT><CODE>-c</CODE> +<DD>Specify the number of lines read between each call to <VAR>callback</VAR>. +</DL> +<P> + +If <SAMP>`-C'</SAMP> is specified without <SAMP>`-c'</SAMP>, +the default quantum is 5000. +</P><P> + +If not supplied with an explicit origin, <CODE>mapfile</CODE> will clear <VAR>array</VAR> +before assigning to it. +</P><P> + +<CODE>mapfile</CODE> returns successfully unless an invalid option or option +argument is supplied, or <VAR>array</VAR> is invalid or unassignable. +</P><P> + +<DT><CODE>printf</CODE> +<DD><A NAME="IDX102"></A> <TABLE><tr><td> </td><td class=example><pre>printf [-v <VAR>var</VAR>] <VAR>format</VAR> [<VAR>arguments</VAR>] </pre></td></tr></table>Write the formatted <VAR>arguments</VAR> to the standard output under the control of the <VAR>format</VAR>. @@ -4536,7 +4667,7 @@ non-zero on failure. </P><P> <DT><CODE>read</CODE> -<DD><A NAME="IDX102"></A> +<DD><A NAME="IDX103"></A> <TABLE><tr><td> </td><td class=example><pre>read [-ers] [-a <VAR>aname</VAR>] [-d <VAR>delim</VAR>] [-i <VAR>text</VAR>] [-n <VAR>nchars</VAR>] [-p <VAR>prompt</VAR>] [-t <VAR>timeout</VAR>] [-u <VAR>fd</VAR>] [<VAR>name</VAR> <small>...</small>] </pre></td></tr></table>One line is read from the standard input, or from the file descriptor <VAR>fd</VAR> supplied as an argument to the <SAMP>`-u'</SAMP> option, and the first word @@ -4571,7 +4702,7 @@ rather than newline. <P> <DT><CODE>-e</CODE> -<DD>Readline (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>) is used to obtain the line. +<DD>Readline (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>) is used to obtain the line. <P> <DT><CODE>-i <VAR>text</VAR></CODE> @@ -4605,6 +4736,8 @@ not echoed. <DT><CODE>-t <VAR>timeout</VAR></CODE> <DD>Cause <CODE>read</CODE> to time out and return failure if a complete line of input is not read within <VAR>timeout</VAR> seconds. +<VAR>timeout</VAR> may be a decimal number with a fractional portion following +the decimal point. This option has no effect if <CODE>read</CODE> is not reading input from the terminal or a pipe. <P> @@ -4617,13 +4750,13 @@ terminal or a pipe. <P> <DT><CODE>source</CODE> -<DD><A NAME="IDX103"></A> +<DD><A NAME="IDX104"></A> <TABLE><tr><td> </td><td class=example><pre>source <VAR>filename</VAR> -</pre></td></tr></table>A synonym for <CODE>.</CODE> (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +</pre></td></tr></table>A synonym for <CODE>.</CODE> (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <DT><CODE>type</CODE> -<DD><A NAME="IDX104"></A> +<DD><A NAME="IDX105"></A> <TABLE><tr><td> </td><td class=example><pre>type [-afptP] [<VAR>name</VAR> <small>...</small>] </pre></td></tr></table>For each <VAR>name</VAR>, indicate how it would be interpreted if used as a command name. @@ -4661,12 +4794,12 @@ If the <SAMP>`-f'</SAMP> option is used, <CODE>type</CODE> does not attempt to f shell functions, as with the <CODE>command</CODE> builtin. </P><P> -The return status is zero if any of the <VAR>names</VAR> are found, non-zero -if none are found. +The return status is zero if all of the <VAR>names</VAR> are found, non-zero +if any are not found. </P><P> <DT><CODE>typeset</CODE> -<DD><A NAME="IDX105"></A> +<DD><A NAME="IDX106"></A> <TABLE><tr><td> </td><td class=example><pre>typeset [-afFrxi] [-p] [<VAR>name</VAR>[=<VAR>value</VAR>] <small>...</small>] </pre></td></tr></table>The <CODE>typeset</CODE> command is supplied for compatibility with the Korn shell; however, it has been deprecated in favor of the <CODE>declare</CODE> @@ -4674,7 +4807,7 @@ builtin command. <P> <DT><CODE>ulimit</CODE> -<DD><A NAME="IDX106"></A> +<DD><A NAME="IDX107"></A> <TABLE><tr><td> </td><td class=example><pre>ulimit [-abcdefilmnpqrstuvxHST] [<VAR>limit</VAR>] </pre></td></tr></table><CODE>ulimit</CODE> provides control over the resources available to processes started by the shell, on systems that allow such control. If an @@ -4788,13 +4921,13 @@ or an error occurs while setting a new limit. </P><P> <DT><CODE>unalias</CODE> -<DD><A NAME="IDX107"></A> +<DD><A NAME="IDX108"></A> <TABLE><tr><td> </td><td class=example><pre>unalias [-a] [<VAR>name</VAR> <small>...</small> ] </pre></td></tr></table><P> Remove each <VAR>name</VAR> from the list of aliases. If <SAMP>`-a'</SAMP> is supplied, all aliases are removed. -Aliases are described in <A HREF="bashref.html#SEC82">6.6 Aliases</A>. +Aliases are described in <A HREF="bashref.html#SEC83">6.6 Aliases</A>. </P><P> </DL> @@ -4802,44 +4935,44 @@ Aliases are described in <A HREF="bashref.html#SEC82">6.6 Aliases</A>. <A NAME="Modifying Shell Behavior"></A> <HR SIZE="6"> -<A NAME="SEC59"></A> +<A NAME="SEC60"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC58"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC61"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 4.3 Modifying Shell Behavior </H2> -<!--docid::SEC59::--> +<!--docid::SEC60::--> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Change the values of shell attributes and +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Change the values of shell attributes and positional parameters.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Modify shell optional behavior.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Modify shell optional behavior.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="The Set Builtin"></A> <HR SIZE="6"> -<A NAME="SEC60"></A> +<A NAME="SEC61"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC61"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 4.3.1 The Set Builtin </H3> -<!--docid::SEC60::--> +<!--docid::SEC61::--> <P> This builtin is so complicated that it deserves its own section. <CODE>set</CODE> @@ -4849,7 +4982,7 @@ parameters, or to display the names and values of shell variables. <DL COMPACT> <DT><CODE>set</CODE> -<DD><A NAME="IDX108"></A> +<DD><A NAME="IDX109"></A> <TABLE><tr><td> </td><td class=example><pre>set [--abefhkmnptuvxBCEHPT] [-o <VAR>option</VAR>] [<VAR>argument</VAR> <small>...</small>] set [+abefhkmnptuvxBCEHPT] [+o <VAR>option</VAR>] [<VAR>argument</VAR> <small>...</small>] </pre></td></tr></table><P> @@ -4907,7 +5040,7 @@ the command name. <P> <DT><CODE>-m</CODE> -<DD>Job control is enabled (see section <A HREF="bashref.html#SEC89">7. Job Control</A>). +<DD>Job control is enabled (see section <A HREF="bashref.html#SEC90">7. Job Control</A>). <P> <DT><CODE>-n</CODE> @@ -4932,7 +5065,7 @@ Set the option corresponding to <VAR>option-name</VAR>: <P> <DT><CODE>emacs</CODE> -<DD>Use an <CODE>emacs</CODE>-style line editing interface (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>). +<DD>Use an <CODE>emacs</CODE>-style line editing interface (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>). <P> <DT><CODE>errexit</CODE> @@ -4956,7 +5089,7 @@ Set the option corresponding to <VAR>option-name</VAR>: <P> <DT><CODE>history</CODE> -<DD>Enable command history, as described in <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>. +<DD>Enable command history, as described in <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>. This option is on by default in interactive shells. <P> @@ -5014,7 +5147,7 @@ This option is disabled by default. <DT><CODE>posix</CODE> <DD>Change the behavior of Bash where the default operation differs from the POSIX standard to match the standard -(see section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>). +(see section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>). This is intended to make Bash behave as a strict superset of that standard. <P> @@ -5091,7 +5224,7 @@ The <CODE>ERR</CODE> trap is normally not inherited in such cases. <P> <DT><CODE>-H</CODE> -<DD>Enable <SAMP>`!'</SAMP> style history substitution (see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>). +<DD>Enable <SAMP>`!'</SAMP> style history substitution (see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>). This option is on by default for interactive shells. <P> @@ -5156,20 +5289,20 @@ The return status is always zero unless an invalid option is supplied. <A NAME="The Shopt Builtin"></A> <HR SIZE="6"> -<A NAME="SEC61"></A> +<A NAME="SEC62"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC59"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC61"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC60"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 4.3.2 The Shopt Builtin </H3> -<!--docid::SEC61::--> +<!--docid::SEC62::--> <P> This builtin allows you to change additional shell optional behavior. @@ -5178,7 +5311,7 @@ This builtin allows you to change additional shell optional behavior. <DL COMPACT> <DT><CODE>shopt</CODE> -<DD><A NAME="IDX109"></A> +<DD><A NAME="IDX110"></A> <TABLE><tr><td> </td><td class=example><pre>shopt [-pqsu] [-o] [<VAR>optname</VAR> <small>...</small>] </pre></td></tr></table>Toggle the values of variables controlling optional shell behavior. With no options, or with the <SAMP>`-p'</SAMP> option, a list of all settable @@ -5208,7 +5341,7 @@ non-zero otherwise. <DT><CODE>-o</CODE> <DD>Restricts the values of <VAR>optname</VAR> to be those defined for the <SAMP>`-o'</SAMP> option to the -<CODE>set</CODE> builtin (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +<CODE>set</CODE> builtin (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). </DL> <P> @@ -5262,7 +5395,7 @@ longer exists, a normal path search is performed. <DD>If set, Bash lists the status of any stopped and running jobs before exiting an interactive shell. If any jobs are running, this causes the exit to be deferred until a second exit is attempted without an -intervening command (see section <A HREF="bashref.html#SEC89">7. Job Control</A>). +intervening command (see section <A HREF="bashref.html#SEC90">7. Job Control</A>). The shell always postpones exiting if any jobs are stopped. <P> @@ -5285,6 +5418,12 @@ changes its behavior to that of version 3.1 with respect to quoted arguments to the conditional command's =~ operator. <P> +<DT><CODE>dirspell</CODE> +<DD>If set, Bash +attempts spelling correction on directory names during word completion +if the directory name initially supplied does not exist. +<P> + <DT><CODE>dotglob</CODE> <DD>If set, Bash includes filenames beginning with a `.' in the results of filename expansion. @@ -5299,7 +5438,7 @@ fails. <DT><CODE>expand_aliases</CODE> <DD>If set, aliases are expanded as described below under Aliases, -<A HREF="bashref.html#SEC82">6.6 Aliases</A>. +<A HREF="bashref.html#SEC83">6.6 Aliases</A>. This option is enabled by default for interactive shells. <P> @@ -5309,7 +5448,7 @@ This option is enabled by default for interactive shells. <OL> <LI> -The <SAMP>`-F'</SAMP> option to the <CODE>declare</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>) +The <SAMP>`-F'</SAMP> option to the <CODE>declare</CODE> builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>) displays the source file name and line number corresponding to each function name supplied as an argument. <P> @@ -5328,7 +5467,7 @@ executed by the <CODE>.</CODE> or <CODE>source</CODE> builtins), a call to <LI> <CODE>BASH_ARGC</CODE> and <CODE>BASH_ARGV</CODE> are updated as described in their -descriptions (see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +descriptions (see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). <P> <LI> @@ -5364,10 +5503,17 @@ result in an expansion error. <DD>If set, the suffixes specified by the <CODE>FIGNORE</CODE> shell variable cause words to be ignored when performing word completion even if the ignored words are the only possible completions. -See section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>, for a description of <CODE>FIGNORE</CODE>. +See section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>, for a description of <CODE>FIGNORE</CODE>. This option is enabled by default. <P> +<DT><CODE>globstar</CODE> +<DD>If set, the pattern <SAMP>`**'</SAMP> used in a filename expansion context will +match a files and zero or more directories and subdirectories. +If the pattern is followed by a <SAMP>`/'</SAMP>, only directories and +subdirectories match. +<P> + <DT><CODE>gnu_errfmt</CODE> <DD>If set, shell error messages are written in the standard GNU error message format. @@ -5395,13 +5541,13 @@ the Readline editing buffer, allowing further modification. <DT><CODE>hostcomplete</CODE> <DD>If set, and Readline is being used, Bash will attempt to perform hostname completion when a word containing a <SAMP>`@'</SAMP> is being -completed (see section <A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A>). This option is enabled +completed (see section <A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A>). This option is enabled by default. <P> <DT><CODE>huponexit</CODE> <DD>If set, Bash will send <CODE>SIGHUP</CODE> to all jobs when an interactive -login shell exits (see section <A HREF="bashref.html#SEC54">3.7.6 Signals</A>). +login shell exits (see section <A HREF="bashref.html#SEC55">3.7.6 Signals</A>). <P> <DT><CODE>interactive_comments</CODE> @@ -5419,7 +5565,7 @@ embedded newlines rather than using semicolon separators where possible. <DT><CODE>login_shell</CODE> <DD>The shell sets this option if it is started as a login shell -(see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>). +(see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>). The value may not be changed. <P> @@ -5453,7 +5599,7 @@ files to expand to a null string, rather than themselves. <DT><CODE>progcomp</CODE> <DD>If set, the programmable completion facilities -(see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>) are enabled. +(see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>) are enabled. This option is enabled by default. <P> @@ -5461,13 +5607,13 @@ This option is enabled by default. <DD>If set, prompt strings undergo parameter expansion, command substitution, arithmetic expansion, and quote removal after being expanded -as described below (see section <A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A>). +as described below (see section <A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A>). This option is enabled by default. <P> <DT><CODE>restricted_shell</CODE> <DD>The shell sets this option if it is started in restricted mode -(see section <A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A>). +(see section <A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A>). The value may not be changed. This is not reset when the startup files are executed, allowing the startup files to discover whether or not a shell is restricted. @@ -5504,20 +5650,20 @@ When setting or unsetting options, the return status is zero unless an <A NAME="Special Builtins"></A> <HR SIZE="6"> -<A NAME="SEC62"></A> +<A NAME="SEC63"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC61"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC56"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC57"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 4.4 Special Builtins </H2> -<!--docid::SEC62::--> +<!--docid::SEC63::--> <P> For historical reasons, the POSIX standard has classified @@ -5543,7 +5689,7 @@ environment after the command completes. When Bash is not executing in POSIX mode, these builtins behave no differently than the rest of the Bash builtin commands. -The Bash POSIX mode is described in <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>. +The Bash POSIX mode is described in <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>. </P><P> These are the POSIX special builtins: @@ -5553,26 +5699,26 @@ shift trap unset <A NAME="Shell Variables"></A> <HR SIZE="6"> -<A NAME="SEC63"></A> +<A NAME="SEC64"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC62"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC65"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 5. Shell Variables </H1> -<!--docid::SEC63::--> +<!--docid::SEC64::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables which Bash uses in the same way +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables which Bash uses in the same way as the Bourne Shell.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">List of variables that exist in Bash.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">List of variables that exist in Bash.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -5582,20 +5728,20 @@ Bash automatically assigns default values to a number of variables. <A NAME="Bourne Shell Variables"></A> <HR SIZE="6"> -<A NAME="SEC64"></A> +<A NAME="SEC65"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC65"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 5.1 Bourne Shell Variables </H2> -<!--docid::SEC64::--> +<!--docid::SEC65::--> <P> Bash uses certain shell variables in the same way as the Bourne shell. @@ -5604,40 +5750,40 @@ In some cases, Bash assigns a default value to the variable. <DL COMPACT> -<A NAME="IDX110"></A> +<A NAME="IDX111"></A> <DT><CODE>CDPATH</CODE> -<DD><A NAME="IDX111"></A> +<DD><A NAME="IDX112"></A> A colon-separated list of directories used as a search path for the <CODE>cd</CODE> builtin command. <P> -<A NAME="IDX112"></A> +<A NAME="IDX113"></A> <DT><CODE>HOME</CODE> -<DD><A NAME="IDX113"></A> +<DD><A NAME="IDX114"></A> The current user's home directory; the default for the <CODE>cd</CODE> builtin command. The value of this variable is also used by tilde expansion (see section <A HREF="bashref.html#SEC29">3.5.2 Tilde Expansion</A>). <P> -<A NAME="IDX114"></A> +<A NAME="IDX115"></A> <DT><CODE>IFS</CODE> -<DD><A NAME="IDX115"></A> +<DD><A NAME="IDX116"></A> A list of characters that separate fields; used when the shell splits words as part of expansion. <P> -<A NAME="IDX116"></A> +<A NAME="IDX117"></A> <DT><CODE>MAIL</CODE> -<DD><A NAME="IDX117"></A> +<DD><A NAME="IDX118"></A> If this parameter is set to a filename and the <CODE>MAILPATH</CODE> variable is not set, Bash informs the user of the arrival of mail in the specified file. <P> -<A NAME="IDX118"></A> +<A NAME="IDX119"></A> <DT><CODE>MAILPATH</CODE> -<DD><A NAME="IDX119"></A> +<DD><A NAME="IDX120"></A> A colon-separated list of filenames which the shell periodically checks for new mail. Each list entry can specify the message that is printed when new mail @@ -5647,21 +5793,21 @@ When used in the text of the message, <CODE>$_</CODE> expands to the name of the current mail file. <P> -<A NAME="IDX120"></A> +<A NAME="IDX121"></A> <DT><CODE>OPTARG</CODE> -<DD><A NAME="IDX121"></A> +<DD><A NAME="IDX122"></A> The value of the last option argument processed by the <CODE>getopts</CODE> builtin. <P> -<A NAME="IDX122"></A> +<A NAME="IDX123"></A> <DT><CODE>OPTIND</CODE> -<DD><A NAME="IDX123"></A> +<DD><A NAME="IDX124"></A> The index of the last option argument processed by the <CODE>getopts</CODE> builtin. <P> -<A NAME="IDX124"></A> +<A NAME="IDX125"></A> <DT><CODE>PATH</CODE> -<DD><A NAME="IDX125"></A> +<DD><A NAME="IDX126"></A> A colon-separated list of directories in which the shell looks for commands. A zero-length (null) directory name in the value of <CODE>PATH</CODE> indicates the @@ -5670,17 +5816,17 @@ A null directory name may appear as two adjacent colons, or as an initial or trailing colon. <P> -<A NAME="IDX126"></A> +<A NAME="IDX127"></A> <DT><CODE>PS1</CODE> -<DD><A NAME="IDX127"></A> +<DD><A NAME="IDX128"></A> The primary prompt string. The default value is <SAMP>`\s-\v\$ '</SAMP>. -See section <A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A>, for the complete list of escape +See section <A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A>, for the complete list of escape sequences that are expanded before <CODE>PS1</CODE> is displayed. <P> -<A NAME="IDX128"></A> +<A NAME="IDX129"></A> <DT><CODE>PS2</CODE> -<DD><A NAME="IDX129"></A> +<DD><A NAME="IDX130"></A> The secondary prompt string. The default value is <SAMP>`> '</SAMP>. <P> @@ -5689,20 +5835,20 @@ The secondary prompt string. The default value is <SAMP>`> '</SAMP>. <A NAME="Bash Variables"></A> <HR SIZE="6"> -<A NAME="SEC65"></A> +<A NAME="SEC66"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC63"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC65"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC64"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 5.2 Bash Variables </H2> -<!--docid::SEC65::--> +<!--docid::SEC66::--> <P> These variables are set or used by Bash, but other shells @@ -5711,28 +5857,28 @@ do not normally treat them specially. A few variables used by Bash are described in different chapters: variables for controlling the job control facilities -(see section <A HREF="bashref.html#SEC92">7.3 Job Control Variables</A>). +(see section <A HREF="bashref.html#SEC93">7.3 Job Control Variables</A>). </P><P> <DL COMPACT> -<A NAME="IDX130"></A> +<A NAME="IDX131"></A> <DT><CODE>BASH</CODE> -<DD><A NAME="IDX131"></A> +<DD><A NAME="IDX132"></A> The full pathname used to execute the current instance of Bash. <P> -<A NAME="IDX132"></A> +<A NAME="IDX133"></A> <DT><CODE>BASHPID</CODE> -<DD><A NAME="IDX133"></A> +<DD><A NAME="IDX134"></A> Expands to the process id of the current Bash process. This differs from <CODE>$$</CODE> under certain circumstances, such as subshells that do not require Bash to be re-initialized. <P> -<A NAME="IDX134"></A> +<A NAME="IDX135"></A> <DT><CODE>BASH_ARGC</CODE> -<DD><A NAME="IDX135"></A> +<DD><A NAME="IDX136"></A> An array variable whose values are the number of parameters in each frame of the current bash execution call stack. The number of parameters to the current subroutine (shell function or script executed @@ -5740,50 +5886,50 @@ with <CODE>.</CODE> or <CODE>source</CODE>) is at the top of the stack. When a subroutine is executed, the number of parameters passed is pushed onto <CODE>BASH_ARGC</CODE>. The shell sets <CODE>BASH_ARGC</CODE> only when in extended debugging mode -(see <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A> +(see <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A> for a description of the <CODE>extdebug</CODE> option to the <CODE>shopt</CODE> builtin). <P> -<A NAME="IDX136"></A> +<A NAME="IDX137"></A> <DT><CODE>BASH_ARGV</CODE> -<DD><A NAME="IDX137"></A> +<DD><A NAME="IDX138"></A> An array variable containing all of the parameters in the current bash execution call stack. The final parameter of the last subroutine call is at the top of the stack; the first parameter of the initial call is at the bottom. When a subroutine is executed, the parameters supplied are pushed onto <CODE>BASH_ARGV</CODE>. The shell sets <CODE>BASH_ARGV</CODE> only when in extended debugging mode -(see <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A> +(see <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A> for a description of the <CODE>extdebug</CODE> option to the <CODE>shopt</CODE> builtin). <P> -<A NAME="IDX138"></A> +<A NAME="IDX139"></A> <DT><CODE>BASH_COMMAND</CODE> -<DD><A NAME="IDX139"></A> +<DD><A NAME="IDX140"></A> The command currently being executed or about to be executed, unless the shell is executing a command as the result of a trap, in which case it is the command executing at the time of the trap. <P> -<A NAME="IDX140"></A> +<A NAME="IDX141"></A> <DT><CODE>BASH_ENV</CODE> -<DD><A NAME="IDX141"></A> +<DD><A NAME="IDX142"></A> If this variable is set when Bash is invoked to execute a shell script, its value is expanded and used as the name of a startup file -to read before executing the script. See section <A HREF="bashref.html#SEC68">6.2 Bash Startup Files</A>. +to read before executing the script. See section <A HREF="bashref.html#SEC69">6.2 Bash Startup Files</A>. <P> -<A NAME="IDX142"></A> +<A NAME="IDX143"></A> <DT><CODE>BASH_EXECUTION_STRING</CODE> -<DD><A NAME="IDX143"></A> +<DD><A NAME="IDX144"></A> The command argument to the <SAMP>`-c'</SAMP> invocation option. <P> -<A NAME="IDX144"></A> +<A NAME="IDX145"></A> <DT><CODE>BASH_LINENO</CODE> -<DD><A NAME="IDX145"></A> +<DD><A NAME="IDX146"></A> An array variable whose members are the line numbers in source files corresponding to each member of <VAR>FUNCNAME</VAR>. <CODE>${BASH_LINENO[$i]}</CODE> is the line number in the source file where @@ -5793,9 +5939,9 @@ The corresponding source file name is <CODE>${BASH_SOURCE[$i]}</CODE>. Use <CODE>LINENO</CODE> to obtain the current line number. <P> -<A NAME="IDX146"></A> +<A NAME="IDX147"></A> <DT><CODE>BASH_REMATCH</CODE> -<DD><A NAME="IDX147"></A> +<DD><A NAME="IDX148"></A> An array variable whose members are assigned by the <SAMP>`=~'</SAMP> binary operator to the <CODE>[[</CODE> conditional command (see section <A HREF="bashref.html#SEC21">3.2.4.2 Conditional Constructs</A>). @@ -5806,24 +5952,24 @@ string matching the <VAR>n</VAR>th parenthesized subexpression. This variable is read-only. <P> -<A NAME="IDX148"></A> +<A NAME="IDX149"></A> <DT><CODE>BASH_SOURCE</CODE> -<DD><A NAME="IDX149"></A> +<DD><A NAME="IDX150"></A> An array variable whose members are the source filenames corresponding to the elements in the <CODE>FUNCNAME</CODE> array variable. <P> -<A NAME="IDX150"></A> +<A NAME="IDX151"></A> <DT><CODE>BASH_SUBSHELL</CODE> -<DD><A NAME="IDX151"></A> +<DD><A NAME="IDX152"></A> Incremented by one each time a subshell or subshell environment is spawned. The initial value is 0. <P> -<A NAME="IDX152"></A> +<A NAME="IDX153"></A> <DT><CODE>BASH_VERSINFO</CODE> -<DD><A NAME="IDX153"></A> -A readonly array variable (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>) +<DD><A NAME="IDX154"></A> +A readonly array variable (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>) whose members hold version information for this instance of Bash. The values assigned to the array members are as follows: <P> @@ -5857,53 +6003,53 @@ The values assigned to the array members are as follows: </DL> <P> -<A NAME="IDX154"></A> +<A NAME="IDX155"></A> <DT><CODE>BASH_VERSION</CODE> -<DD><A NAME="IDX155"></A> +<DD><A NAME="IDX156"></A> The version number of the current instance of Bash. <P> -<A NAME="IDX156"></A> +<A NAME="IDX157"></A> <DT><CODE>COLUMNS</CODE> -<DD><A NAME="IDX157"></A> +<DD><A NAME="IDX158"></A> Used by the <CODE>select</CODE> builtin command to determine the terminal width when printing selection lists. Automatically set upon receipt of a <CODE>SIGWINCH</CODE>. <P> -<A NAME="IDX158"></A> +<A NAME="IDX159"></A> <DT><CODE>COMP_CWORD</CODE> -<DD><A NAME="IDX159"></A> +<DD><A NAME="IDX160"></A> An index into <CODE>${COMP_WORDS}</CODE> of the word containing the current cursor position. This variable is available only in shell functions invoked by the -programmable completion facilities (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +programmable completion facilities (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX160"></A> +<A NAME="IDX161"></A> <DT><CODE>COMP_LINE</CODE> -<DD><A NAME="IDX161"></A> +<DD><A NAME="IDX162"></A> The current command line. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +programmable completion facilities (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX162"></A> +<A NAME="IDX163"></A> <DT><CODE>COMP_POINT</CODE> -<DD><A NAME="IDX163"></A> +<DD><A NAME="IDX164"></A> The index of the current cursor position relative to the beginning of the current command. If the current cursor position is at the end of the current command, the value of this variable is equal to <CODE>${#COMP_LINE}</CODE>. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +programmable completion facilities (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX164"></A> +<A NAME="IDX165"></A> <DT><CODE>COMP_TYPE</CODE> -<DD><A NAME="IDX165"></A> +<DD><A NAME="IDX166"></A> Set to an integer value corresponding to the type of completion attempted that caused a completion function to be called: <VAR>TAB</VAR>, for normal completion, @@ -5914,47 +6060,47 @@ or <SAMP>`%'</SAMP>, for menu completion. This variable is available only in shell functions and external commands invoked by the -programmable completion facilities (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +programmable completion facilities (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX166"></A> +<A NAME="IDX167"></A> <DT><CODE>COMP_KEY</CODE> -<DD><A NAME="IDX167"></A> +<DD><A NAME="IDX168"></A> The key (or final key of a key sequence) used to invoke the current completion function. <P> -<A NAME="IDX168"></A> +<A NAME="IDX169"></A> <DT><CODE>COMP_WORDBREAKS</CODE> -<DD><A NAME="IDX169"></A> +<DD><A NAME="IDX170"></A> The set of characters that the Readline library treats as word separators when performing word completion. If <CODE>COMP_WORDBREAKS</CODE> is unset, it loses its special properties, even if it is subsequently reset. <P> -<A NAME="IDX170"></A> +<A NAME="IDX171"></A> <DT><CODE>COMP_WORDS</CODE> -<DD><A NAME="IDX171"></A> +<DD><A NAME="IDX172"></A> An array variable consisting of the individual words in the current command line. The words are split on shell metacharacters as the shell parser would separate them. This variable is available only in shell functions invoked by the -programmable completion facilities (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +programmable completion facilities (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX172"></A> +<A NAME="IDX173"></A> <DT><CODE>COMPREPLY</CODE> -<DD><A NAME="IDX173"></A> +<DD><A NAME="IDX174"></A> An array variable from which Bash reads the possible completions generated by a shell function invoked by the programmable completion -facility (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +facility (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). <P> -<A NAME="IDX174"></A> +<A NAME="IDX175"></A> <DT><CODE>DIRSTACK</CODE> -<DD><A NAME="IDX175"></A> +<DD><A NAME="IDX176"></A> An array variable containing the current contents of the directory stack. Directories appear in the stack in the order they are displayed by the <CODE>dirs</CODE> builtin. @@ -5966,31 +6112,31 @@ If <CODE>DIRSTACK</CODE> is unset, it loses its special properties, even if it is subsequently reset. <P> -<A NAME="IDX176"></A> +<A NAME="IDX177"></A> <DT><CODE>EMACS</CODE> -<DD><A NAME="IDX177"></A> +<DD><A NAME="IDX178"></A> If Bash finds this variable in the environment when the shell starts with value <SAMP>`t'</SAMP>, it assumes that the shell is running in an emacs shell buffer and disables line editing. <P> -<A NAME="IDX178"></A> +<A NAME="IDX179"></A> <DT><CODE>EUID</CODE> -<DD><A NAME="IDX179"></A> +<DD><A NAME="IDX180"></A> The numeric effective user id of the current user. This variable is readonly. <P> -<A NAME="IDX180"></A> +<A NAME="IDX181"></A> <DT><CODE>FCEDIT</CODE> -<DD><A NAME="IDX181"></A> +<DD><A NAME="IDX182"></A> The editor used as a default by the <SAMP>`-e'</SAMP> option to the <CODE>fc</CODE> builtin command. <P> -<A NAME="IDX182"></A> +<A NAME="IDX183"></A> <DT><CODE>FIGNORE</CODE> -<DD><A NAME="IDX183"></A> +<DD><A NAME="IDX184"></A> A colon-separated list of suffixes to ignore when performing filename completion. A file name whose suffix matches one of the entries in @@ -5999,9 +6145,9 @@ is excluded from the list of matched file names. A sample value is <SAMP>`.o:~'</SAMP> <P> -<A NAME="IDX184"></A> +<A NAME="IDX185"></A> <DT><CODE>FUNCNAME</CODE> -<DD><A NAME="IDX185"></A> +<DD><A NAME="IDX186"></A> An array variable containing the names of all shell functions currently in the execution call stack. The element with index 0 is the name of any currently-executing @@ -6013,9 +6159,9 @@ If <CODE>FUNCNAME</CODE> is unset, it loses its special properties, even if it is subsequently reset. <P> -<A NAME="IDX186"></A> +<A NAME="IDX187"></A> <DT><CODE>GLOBIGNORE</CODE> -<DD><A NAME="IDX187"></A> +<DD><A NAME="IDX188"></A> A colon-separated list of patterns defining the set of filenames to be ignored by filename expansion. If a filename matched by a filename expansion pattern also matches one @@ -6023,9 +6169,9 @@ of the patterns in <CODE>GLOBIGNORE</CODE>, it is removed from the list of matches. <P> -<A NAME="IDX188"></A> +<A NAME="IDX189"></A> <DT><CODE>GROUPS</CODE> -<DD><A NAME="IDX189"></A> +<DD><A NAME="IDX190"></A> An array variable containing the list of groups of which the current user is a member. Assignments to <CODE>GROUPS</CODE> have no effect and return an error status. @@ -6033,11 +6179,11 @@ If <CODE>GROUPS</CODE> is unset, it loses its special properties, even if it is subsequently reset. <P> -<A NAME="IDX190"></A> +<A NAME="IDX191"></A> <DT><CODE>histchars</CODE> -<DD><A NAME="IDX191"></A> +<DD><A NAME="IDX192"></A> Up to three characters which control history expansion, quick -substitution, and tokenization (see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>). +substitution, and tokenization (see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>). The first character is the <VAR>history expansion</VAR> character, that is, the character which signifies the start of a history expansion, normally <SAMP>`!'</SAMP>. The second character is the @@ -6050,17 +6196,17 @@ remaining words on the line. It does not necessarily cause the shell parser to treat the rest of the line as a comment. <P> -<A NAME="IDX192"></A> +<A NAME="IDX193"></A> <DT><CODE>HISTCMD</CODE> -<DD><A NAME="IDX193"></A> +<DD><A NAME="IDX194"></A> The history number, or index in the history list, of the current command. If <CODE>HISTCMD</CODE> is unset, it loses its special properties, even if it is subsequently reset. <P> -<A NAME="IDX194"></A> +<A NAME="IDX195"></A> <DT><CODE>HISTCONTROL</CODE> -<DD><A NAME="IDX195"></A> +<DD><A NAME="IDX196"></A> A colon-separated list of values controlling how commands are saved on the history list. If the list of values includes <SAMP>`ignorespace'</SAMP>, lines which begin @@ -6081,16 +6227,16 @@ not tested, and are added to the history regardless of the value of <CODE>HISTCONTROL</CODE>. <P> -<A NAME="IDX196"></A> +<A NAME="IDX197"></A> <DT><CODE>HISTFILE</CODE> -<DD><A NAME="IDX197"></A> +<DD><A NAME="IDX198"></A> The name of the file to which the command history is saved. The default value is <TT>`~/.bash_history'</TT>. <P> -<A NAME="IDX198"></A> +<A NAME="IDX199"></A> <DT><CODE>HISTFILESIZE</CODE> -<DD><A NAME="IDX199"></A> +<DD><A NAME="IDX200"></A> The maximum number of lines contained in the history file. When this variable is assigned a value, the history file is truncated, if necessary, by removing the oldest entries, @@ -6100,9 +6246,9 @@ writing it when an interactive shell exits. The default value is 500. <P> -<A NAME="IDX200"></A> +<A NAME="IDX201"></A> <DT><CODE>HISTIGNORE</CODE> -<DD><A NAME="IDX201"></A> +<DD><A NAME="IDX202"></A> A colon-separated list of patterns used to decide which command lines should be saved on the history list. Each pattern is anchored at the beginning of the line and must match the complete @@ -6124,16 +6270,16 @@ Combining these two patterns, separating them with a colon, provides the functionality of <CODE>ignoreboth</CODE>. </P><P> -<A NAME="IDX202"></A> +<A NAME="IDX203"></A> <DT><CODE>HISTSIZE</CODE> -<DD><A NAME="IDX203"></A> +<DD><A NAME="IDX204"></A> The maximum number of commands to remember on the history list. The default value is 500. <P> -<A NAME="IDX204"></A> +<A NAME="IDX205"></A> <DT><CODE>HISTTIMEFORMAT</CODE> -<DD><A NAME="IDX205"></A> +<DD><A NAME="IDX206"></A> If this variable is set and not null, its value is used as a format string for <VAR>strftime</VAR> to print the time stamp associated with each history entry displayed by the <CODE>history</CODE> builtin. @@ -6143,9 +6289,9 @@ This uses the history comment character to distinguish timestamps from other history lines. <P> -<A NAME="IDX206"></A> +<A NAME="IDX207"></A> <DT><CODE>HOSTFILE</CODE> -<DD><A NAME="IDX207"></A> +<DD><A NAME="IDX208"></A> Contains the name of a file in the same format as <TT>`/etc/hosts'</TT> that should be read when the shell needs to complete a hostname. The list of possible hostname completions may be changed while the shell @@ -6158,21 +6304,21 @@ If <CODE>HOSTFILE</CODE> is set, but has no value, Bash attempts to read When <CODE>HOSTFILE</CODE> is unset, the hostname list is cleared. <P> -<A NAME="IDX208"></A> +<A NAME="IDX209"></A> <DT><CODE>HOSTNAME</CODE> -<DD><A NAME="IDX209"></A> +<DD><A NAME="IDX210"></A> The name of the current host. <P> -<A NAME="IDX210"></A> +<A NAME="IDX211"></A> <DT><CODE>HOSTTYPE</CODE> -<DD><A NAME="IDX211"></A> +<DD><A NAME="IDX212"></A> A string describing the machine Bash is running on. <P> -<A NAME="IDX212"></A> +<A NAME="IDX213"></A> <DT><CODE>IGNOREEOF</CODE> -<DD><A NAME="IDX213"></A> +<DD><A NAME="IDX214"></A> Controls the action of the shell on receipt of an <CODE>EOF</CODE> character as the sole input. If set, the value denotes the number of consecutive <CODE>EOF</CODE> characters that can be read as the @@ -6183,30 +6329,30 @@ If the variable does not exist, then <CODE>EOF</CODE> signifies the end of input to the shell. This is only in effect for interactive shells. <P> -<A NAME="IDX214"></A> +<A NAME="IDX215"></A> <DT><CODE>INPUTRC</CODE> -<DD><A NAME="IDX215"></A> +<DD><A NAME="IDX216"></A> The name of the Readline initialization file, overriding the default of <TT>`~/.inputrc'</TT>. <P> -<A NAME="IDX216"></A> +<A NAME="IDX217"></A> <DT><CODE>LANG</CODE> -<DD><A NAME="IDX217"></A> +<DD><A NAME="IDX218"></A> Used to determine the locale category for any category not specifically selected with a variable starting with <CODE>LC_</CODE>. <P> -<A NAME="IDX218"></A> +<A NAME="IDX219"></A> <DT><CODE>LC_ALL</CODE> -<DD><A NAME="IDX219"></A> +<DD><A NAME="IDX220"></A> This variable overrides the value of <CODE>LANG</CODE> and any other <CODE>LC_</CODE> variable specifying a locale category. <P> -<A NAME="IDX220"></A> +<A NAME="IDX221"></A> <DT><CODE>LC_COLLATE</CODE> -<DD><A NAME="IDX221"></A> +<DD><A NAME="IDX222"></A> This variable determines the collation order used when sorting the results of filename expansion, and determines the behavior of range expressions, equivalence classes, @@ -6214,51 +6360,51 @@ and collating sequences within filename expansion and pattern matching (see section <A HREF="bashref.html#SEC35">3.5.8 Filename Expansion</A>). <P> -<A NAME="IDX222"></A> +<A NAME="IDX223"></A> <DT><CODE>LC_CTYPE</CODE> -<DD><A NAME="IDX223"></A> +<DD><A NAME="IDX224"></A> This variable determines the interpretation of characters and the behavior of character classes within filename expansion and pattern matching (see section <A HREF="bashref.html#SEC35">3.5.8 Filename Expansion</A>). <P> -<A NAME="IDX224"></A> +<A NAME="IDX225"></A> <DT><CODE>LC_MESSAGES</CODE> -<DD><A NAME="IDX225"></A> +<DD><A NAME="IDX226"></A> This variable determines the locale used to translate double-quoted strings preceded by a <SAMP>`$'</SAMP> (see section <A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A>). <P> -<A NAME="IDX226"></A> +<A NAME="IDX227"></A> <DT><CODE>LC_NUMERIC</CODE> -<DD><A NAME="IDX227"></A> +<DD><A NAME="IDX228"></A> This variable determines the locale category used for number formatting. <P> -<A NAME="IDX228"></A> +<A NAME="IDX229"></A> <DT><CODE>LINENO</CODE> -<DD><A NAME="IDX229"></A> +<DD><A NAME="IDX230"></A> The line number in the script or shell function currently executing. <P> -<A NAME="IDX230"></A> +<A NAME="IDX231"></A> <DT><CODE>LINES</CODE> -<DD><A NAME="IDX231"></A> +<DD><A NAME="IDX232"></A> Used by the <CODE>select</CODE> builtin command to determine the column length for printing selection lists. Automatically set upon receipt of a <CODE>SIGWINCH</CODE>. <P> -<A NAME="IDX232"></A> +<A NAME="IDX233"></A> <DT><CODE>MACHTYPE</CODE> -<DD><A NAME="IDX233"></A> +<DD><A NAME="IDX234"></A> A string that fully describes the system type on which Bash is executing, in the standard GNU <VAR>cpu-company-system</VAR> format. <P> -<A NAME="IDX234"></A> +<A NAME="IDX235"></A> <DT><CODE>MAILCHECK</CODE> -<DD><A NAME="IDX235"></A> +<DD><A NAME="IDX236"></A> How often (in seconds) that the shell should check for mail in the files specified in the <CODE>MAILPATH</CODE> or <CODE>MAIL</CODE> variables. The default is 60 seconds. When it is time to check @@ -6267,39 +6413,39 @@ If this variable is unset, or set to a value that is not a number greater than or equal to zero, the shell disables mail checking. <P> -<A NAME="IDX236"></A> +<A NAME="IDX237"></A> <DT><CODE>OLDPWD</CODE> -<DD><A NAME="IDX237"></A> +<DD><A NAME="IDX238"></A> The previous working directory as set by the <CODE>cd</CODE> builtin. <P> -<A NAME="IDX238"></A> +<A NAME="IDX239"></A> <DT><CODE>OPTERR</CODE> -<DD><A NAME="IDX239"></A> +<DD><A NAME="IDX240"></A> If set to the value 1, Bash displays error messages generated by the <CODE>getopts</CODE> builtin command. <P> -<A NAME="IDX240"></A> +<A NAME="IDX241"></A> <DT><CODE>OSTYPE</CODE> -<DD><A NAME="IDX241"></A> +<DD><A NAME="IDX242"></A> A string describing the operating system Bash is running on. <P> -<A NAME="IDX242"></A> +<A NAME="IDX243"></A> <DT><CODE>PIPESTATUS</CODE> -<DD><A NAME="IDX243"></A> -An array variable (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>) +<DD><A NAME="IDX244"></A> +An array variable (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>) containing a list of exit status values from the processes in the most-recently-executed foreground pipeline (which may contain only a single command). <P> -<A NAME="IDX244"></A> +<A NAME="IDX245"></A> <DT><CODE>POSIXLY_CORRECT</CODE> -<DD><A NAME="IDX245"></A> +<DD><A NAME="IDX246"></A> If this variable is in the environment when <CODE>bash</CODE> starts, the shell -enters POSIX mode (see section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>) before reading the +enters POSIX mode (see section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>) before reading the startup files, as if the <SAMP>`--posix'</SAMP> invocation option had been supplied. If it is set while the shell is running, <CODE>bash</CODE> enables POSIX mode, as if the command @@ -6307,61 +6453,61 @@ as if the command </pre></td></tr></table>had been executed. <P> -<A NAME="IDX246"></A> +<A NAME="IDX247"></A> <DT><CODE>PPID</CODE> -<DD><A NAME="IDX247"></A> +<DD><A NAME="IDX248"></A> The process ID of the shell's parent process. This variable is readonly. <P> -<A NAME="IDX248"></A> +<A NAME="IDX249"></A> <DT><CODE>PROMPT_COMMAND</CODE> -<DD><A NAME="IDX249"></A> +<DD><A NAME="IDX250"></A> If set, the value is interpreted as a command to execute before the printing of each primary prompt (<CODE>$PS1</CODE>). <P> -<A NAME="IDX250"></A> +<A NAME="IDX251"></A> <DT><CODE>PS3</CODE> -<DD><A NAME="IDX251"></A> +<DD><A NAME="IDX252"></A> The value of this variable is used as the prompt for the <CODE>select</CODE> command. If this variable is not set, the <CODE>select</CODE> command prompts with <SAMP>`#? '</SAMP> <P> -<A NAME="IDX252"></A> +<A NAME="IDX253"></A> <DT><CODE>PS4</CODE> -<DD><A NAME="IDX253"></A> +<DD><A NAME="IDX254"></A> The value is the prompt printed before the command line is echoed -when the <SAMP>`-x'</SAMP> option is set (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +when the <SAMP>`-x'</SAMP> option is set (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). The first character of <CODE>PS4</CODE> is replicated multiple times, as necessary, to indicate multiple levels of indirection. The default is <SAMP>`+ '</SAMP>. <P> -<A NAME="IDX254"></A> +<A NAME="IDX255"></A> <DT><CODE>PWD</CODE> -<DD><A NAME="IDX255"></A> +<DD><A NAME="IDX256"></A> The current working directory as set by the <CODE>cd</CODE> builtin. <P> -<A NAME="IDX256"></A> +<A NAME="IDX257"></A> <DT><CODE>RANDOM</CODE> -<DD><A NAME="IDX257"></A> +<DD><A NAME="IDX258"></A> Each time this parameter is referenced, a random integer between 0 and 32767 is generated. Assigning a value to this variable seeds the random number generator. <P> -<A NAME="IDX258"></A> +<A NAME="IDX259"></A> <DT><CODE>REPLY</CODE> -<DD><A NAME="IDX259"></A> +<DD><A NAME="IDX260"></A> The default variable for the <CODE>read</CODE> builtin. <P> -<A NAME="IDX260"></A> +<A NAME="IDX261"></A> <DT><CODE>SECONDS</CODE> -<DD><A NAME="IDX261"></A> +<DD><A NAME="IDX262"></A> This variable expands to the number of seconds since the shell was started. Assignment to this variable resets the count to the value assigned, and the expanded value @@ -6369,20 +6515,20 @@ becomes the value assigned plus the number of seconds since the assignment. <P> -<A NAME="IDX262"></A> +<A NAME="IDX263"></A> <DT><CODE>SHELL</CODE> -<DD><A NAME="IDX263"></A> +<DD><A NAME="IDX264"></A> The full pathname to the shell is kept in this environment variable. If it is not set when the shell starts, Bash assigns to it the full pathname of the current user's login shell. <P> -<A NAME="IDX264"></A> +<A NAME="IDX265"></A> <DT><CODE>SHELLOPTS</CODE> -<DD><A NAME="IDX265"></A> +<DD><A NAME="IDX266"></A> A colon-separated list of enabled shell options. Each word in the list is a valid argument for the <SAMP>`-o'</SAMP> option to the -<CODE>set</CODE> builtin command (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +<CODE>set</CODE> builtin command (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). The options appearing in <CODE>SHELLOPTS</CODE> are those reported as <SAMP>`on'</SAMP> by <SAMP>`set -o'</SAMP>. If this variable is in the environment when Bash @@ -6390,16 +6536,16 @@ starts up, each shell option in the list will be enabled before reading any startup files. This variable is readonly. <P> -<A NAME="IDX266"></A> +<A NAME="IDX267"></A> <DT><CODE>SHLVL</CODE> -<DD><A NAME="IDX267"></A> +<DD><A NAME="IDX268"></A> Incremented by one each time a new instance of Bash is started. This is intended to be a count of how deeply your Bash shells are nested. <P> -<A NAME="IDX268"></A> +<A NAME="IDX269"></A> <DT><CODE>TIMEFORMAT</CODE> -<DD><A NAME="IDX269"></A> +<DD><A NAME="IDX270"></A> The value of this parameter is used as a format string specifying how the timing information for pipelines prefixed with the <CODE>time</CODE> reserved word should be displayed. @@ -6452,11 +6598,11 @@ If this variable is not set, Bash acts as if it had the value A trailing newline is added when the format string is displayed. </P><P> -<A NAME="IDX270"></A> +<A NAME="IDX271"></A> <DT><CODE>TMOUT</CODE> -<DD><A NAME="IDX271"></A> +<DD><A NAME="IDX272"></A> If set to a value greater than zero, <CODE>TMOUT</CODE> is treated as the -default timeout for the <CODE>read</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +default timeout for the <CODE>read</CODE> builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). The <CODE>select</CODE> command (see section <A HREF="bashref.html#SEC21">3.2.4.2 Conditional Constructs</A>) terminates if input does not arrive after <CODE>TMOUT</CODE> seconds when input is coming from a terminal. @@ -6469,16 +6615,16 @@ Bash terminates after that number of seconds if input does not arrive. </P><P> -<A NAME="IDX272"></A> +<A NAME="IDX273"></A> <DT><CODE>TMPDIR</CODE> -<DD><A NAME="IDX273"></A> +<DD><A NAME="IDX274"></A> If set, Bash uses its value as the name of a directory in which Bash creates temporary files for the shell's use. <P> -<A NAME="IDX274"></A> +<A NAME="IDX275"></A> <DT><CODE>UID</CODE> -<DD><A NAME="IDX275"></A> +<DD><A NAME="IDX276"></A> The numeric real user id of the current user. This variable is readonly. <P> @@ -6487,59 +6633,59 @@ The numeric real user id of the current user. This variable is readonly. <A NAME="Bash Features"></A> <HR SIZE="6"> -<A NAME="SEC66"></A> +<A NAME="SEC67"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC65"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 6. Bash Features </H1> -<!--docid::SEC66::--> +<!--docid::SEC67::--> <P> This section describes features unique to Bash. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC67">6.1 Invoking Bash</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Command line options that you can give +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC68">6.1 Invoking Bash</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Command line options that you can give to Bash.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC68">6.2 Bash Startup Files</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">When and how Bash executes scripts.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC76">6.3 Interactive Shells</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What an interactive shell is.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Primitives used in composing expressions for +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC69">6.2 Bash Startup Files</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">When and how Bash executes scripts.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC77">6.3 Interactive Shells</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What an interactive shell is.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Primitives used in composing expressions for the <CODE>test</CODE> builtin.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Arithmetic on shell variables.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC82">6.6 Aliases</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Substituting one command for another.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC83">6.7 Arrays</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Array Variables.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC84">6.8 The Directory Stack</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">History of visited directories.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Controlling the PS1 string.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A more controlled mode of shell execution.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Making Bash behave more closely to what +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Arithmetic on shell variables.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC83">6.6 Aliases</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Substituting one command for another.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC84">6.7 Arrays</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Array Variables.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC85">6.8 The Directory Stack</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">History of visited directories.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Controlling the PS1 string.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A more controlled mode of shell execution.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Making Bash behave more closely to what the POSIX standard specifies.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Invoking Bash"></A> <HR SIZE="6"> -<A NAME="SEC67"></A> +<A NAME="SEC68"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC69"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.1 Invoking Bash </H2> -<!--docid::SEC67::--> +<!--docid::SEC68::--> <P> <TABLE><tr><td> </td><td class=example><pre>bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o <VAR>option</VAR>] [-O <VAR>shopt_option</VAR>] [<VAR>argument</VAR> <small>...</small>] @@ -6548,7 +6694,7 @@ bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o <VAR>option</VAR>] [-O <VAR>shopt_ </pre></td></tr></table></P><P> In addition to the single-character shell command-line options -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>), there are several multi-character +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>), there are several multi-character options that you can use. These options must appear on the command line before the single-character options to be recognized. </P><P> @@ -6556,10 +6702,10 @@ line before the single-character options to be recognized. <DL COMPACT> <DT><CODE>--debugger</CODE> <DD>Arrange for the debugger profile to be executed before the shell -starts. Turns on extended debugging mode (see <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A> +starts. Turns on extended debugging mode (see <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A> for a description of the <CODE>extdebug</CODE> option to the <CODE>shopt</CODE> builtin) and shell function tracing -(see <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A> for a description of the <CODE>-o functrace</CODE> +(see <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A> for a description of the <CODE>-o functrace</CODE> option). <P> @@ -6589,7 +6735,7 @@ in an interactive shell. <P> <DT><CODE>--noediting</CODE> -<DD>Do not use the GNU Readline library (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>) +<DD>Do not use the GNU Readline library (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>) to read command lines when the shell is interactive. <P> @@ -6610,12 +6756,12 @@ invoked as <CODE>sh</CODE>. <DD>Change the behavior of Bash where the default operation differs from the POSIX standard to match the standard. This is intended to make Bash behave as a strict superset of that -standard. See section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>, for a description of the Bash +standard. See section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>, for a description of the Bash POSIX mode. <P> <DT><CODE>--restricted</CODE> -<DD>Make the shell a restricted shell (see section <A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A>). +<DD>Make the shell a restricted shell (see section <A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A>). <P> <DT><CODE>--verbose</CODE> @@ -6643,7 +6789,7 @@ positional parameters, starting with <CODE>$0</CODE>. <DT><CODE>-i</CODE> <DD>Force the shell to run interactively. Interactive shells are -described in <A HREF="bashref.html#SEC76">6.3 Interactive Shells</A>. +described in <A HREF="bashref.html#SEC77">6.3 Interactive Shells</A>. <P> <DT><CODE>-l</CODE> @@ -6654,12 +6800,12 @@ When the shell is not interactive, the login shell startup files will be executed. <SAMP>`exec bash -l'</SAMP> or <SAMP>`exec bash --login'</SAMP> will replace the current shell with a Bash login shell. -See section <A HREF="bashref.html#SEC68">6.2 Bash Startup Files</A>, for a description of the special behavior +See section <A HREF="bashref.html#SEC69">6.2 Bash Startup Files</A>, for a description of the special behavior of a login shell. <P> <DT><CODE>-r</CODE> -<DD>Make the shell a restricted shell (see section <A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A>). +<DD>Make the shell a restricted shell (see section <A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A>). <P> <DT><CODE>-s</CODE> @@ -6680,7 +6826,7 @@ This implies the <SAMP>`-n'</SAMP> option; no commands will be executed. <DT><CODE>[-+]O [<VAR>shopt_option</VAR>]</CODE> <DD><VAR>shopt_option</VAR> is one of the shell options accepted by the -<CODE>shopt</CODE> builtin (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>). +<CODE>shopt</CODE> builtin (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>). If <VAR>shopt_option</VAR> is present, <SAMP>`-O'</SAMP> sets the value of that option; <SAMP>`+O'</SAMP> unsets it. If <VAR>shopt_option</VAR> is not supplied, the names and values of the shell @@ -6698,24 +6844,24 @@ Any arguments after the <CODE>--</CODE> are treated as filenames and arguments. </DL> <P> -<A NAME="IDX276"></A> +<A NAME="IDX277"></A> A <EM>login</EM> shell is one whose first character of argument zero is <SAMP>`-'</SAMP>, or one invoked with the <SAMP>`--login'</SAMP> option. </P><P> -<A NAME="IDX277"></A> +<A NAME="IDX278"></A> An <EM>interactive</EM> shell is one started without non-option arguments, unless <SAMP>`-s'</SAMP> is specified, without specifying the <SAMP>`-c'</SAMP> option, and whose input and output are both connected to terminals (as determined by <CODE>isatty(3)</CODE>), or one -started with the <SAMP>`-i'</SAMP> option. See section <A HREF="bashref.html#SEC76">6.3 Interactive Shells</A>, for more +started with the <SAMP>`-i'</SAMP> option. See section <A HREF="bashref.html#SEC77">6.3 Interactive Shells</A>, for more information. </P><P> If arguments remain after option processing, and neither the <SAMP>`-c'</SAMP> nor the <SAMP>`-s'</SAMP> option has been supplied, the first argument is assumed to -be the name of a file containing shell commands (see section <A HREF="bashref.html#SEC55">3.8 Shell Scripts</A>). +be the name of a file containing shell commands (see section <A HREF="bashref.html#SEC56">3.8 Shell Scripts</A>). When Bash is invoked in this fashion, <CODE>$0</CODE> is set to the name of the file, and the positional parameters are set to the remaining arguments. @@ -6726,20 +6872,20 @@ in the script. If no commands are executed, the exit status is 0. <A NAME="Bash Startup Files"></A> <HR SIZE="6"> -<A NAME="SEC68"></A> +<A NAME="SEC69"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.2 Bash Startup Files </H2> -<!--docid::SEC68::--> +<!--docid::SEC69::--> <P> This section describes how Bash executes its startup files. @@ -6748,12 +6894,12 @@ Tildes are expanded in file names as described above under Tilde Expansion (see section <A HREF="bashref.html#SEC29">3.5.2 Tilde Expansion</A>). </P><P> -Interactive shells are described in <A HREF="bashref.html#SEC76">6.3 Interactive Shells</A>. +Interactive shells are described in <A HREF="bashref.html#SEC77">6.3 Interactive Shells</A>. </P><P> -<A NAME="SEC69"></A> +<A NAME="SEC70"></A> <H4> Invoked as an interactive login shell, or with <SAMP>`--login'</SAMP> </H4> -<!--docid::SEC69::--> +<!--docid::SEC70::--> <P> When Bash is invoked as an interactive login shell, or as a @@ -6770,9 +6916,9 @@ When a login shell exits, Bash reads and executes commands from the file <TT>`~/.bash_logout'</TT>, if it exists. </P><P> -<A NAME="SEC70"></A> +<A NAME="SEC71"></A> <H4> Invoked as an interactive non-login shell </H4> -<!--docid::SEC70::--> +<!--docid::SEC71::--> <P> When an interactive shell that is not a login shell is started, Bash @@ -6787,9 +6933,9 @@ So, typically, your <TT>`~/.bash_profile'</TT> contains the line </pre></td></tr></table>after (or before) any login-specific initializations. </P><P> -<A NAME="SEC71"></A> +<A NAME="SEC72"></A> <H4> Invoked non-interactively </H4> -<!--docid::SEC71::--> +<!--docid::SEC72::--> <P> When Bash is started non-interactively, to run a shell script, @@ -6807,9 +6953,9 @@ As noted above, if a non-interactive shell is invoked with the login shell startup files. </P><P> -<A NAME="SEC72"></A> +<A NAME="SEC73"></A> <H4> Invoked with name <CODE>sh</CODE> </H4> -<!--docid::SEC72::--> +<!--docid::SEC73::--> <P> If Bash is invoked with the name <CODE>sh</CODE>, it tries to mimic the @@ -6836,9 +6982,9 @@ When invoked as <CODE>sh</CODE>, Bash enters POSIX mode after the startup files are read. </P><P> -<A NAME="SEC73"></A> +<A NAME="SEC74"></A> <H4> Invoked in POSIX mode </H4> -<!--docid::SEC73::--> +<!--docid::SEC74::--> <P> When Bash is started in POSIX mode, as with the @@ -6850,9 +6996,9 @@ expanded value. No other startup files are read. </P><P> -<A NAME="SEC74"></A> +<A NAME="SEC75"></A> <H4> Invoked by remote shell daemon </H4> -<!--docid::SEC74::--> +<!--docid::SEC75::--> <P> Bash attempts to determine when it is being run with its standard input @@ -6868,9 +7014,9 @@ The <SAMP>`--norc'</SAMP> option may be used to inhibit this behavior, and the allow them to be specified. </P><P> -<A NAME="SEC75"></A> +<A NAME="SEC76"></A> <H4> Invoked with unequal effective and real UID/GIDs </H4> -<!--docid::SEC75::--> +<!--docid::SEC76::--> <P> If Bash is started with the effective user (group) id not equal to the @@ -6884,45 +7030,45 @@ the same, but the effective user id is not reset. <A NAME="Interactive Shells"></A> <HR SIZE="6"> -<A NAME="SEC76"></A> +<A NAME="SEC77"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC69"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC78"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.3 Interactive Shells </H2> -<!--docid::SEC76::--> +<!--docid::SEC77::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC77">6.3.1 What is an Interactive Shell?</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What determines whether a shell is Interactive.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC78">6.3.2 Is this Shell Interactive?</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to tell if a shell is interactive.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC79">6.3.3 Interactive Shell Behavior</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What changes in a interactive shell?</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC78">6.3.1 What is an Interactive Shell?</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What determines whether a shell is Interactive.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC79">6.3.2 Is this Shell Interactive?</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to tell if a shell is interactive.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC80">6.3.3 Interactive Shell Behavior</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What changes in a interactive shell?</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="What is an Interactive Shell?"></A> <HR SIZE="6"> -<A NAME="SEC77"></A> +<A NAME="SEC78"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC78"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC79"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 6.3.1 What is an Interactive Shell? </H3> -<!--docid::SEC77::--> +<!--docid::SEC78::--> <P> An interactive shell @@ -6943,20 +7089,20 @@ when an interactive shell is started. <A NAME="Is this Shell Interactive?"></A> <HR SIZE="6"> -<A NAME="SEC78"></A> +<A NAME="SEC79"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC79"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC79"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC78"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 6.3.2 Is this Shell Interactive? </H3> -<!--docid::SEC78::--> +<!--docid::SEC79::--> <P> To determine within a startup script whether or not Bash is @@ -6985,20 +7131,20 @@ fi <A NAME="Interactive Shell Behavior"></A> <HR SIZE="6"> -<A NAME="SEC79"></A> +<A NAME="SEC80"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC78"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC76"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC79"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC77"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 6.3.3 Interactive Shell Behavior </H3> -<!--docid::SEC79::--> +<!--docid::SEC80::--> <P> When the shell is running interactively, it changes its behavior in @@ -7007,11 +7153,11 @@ several ways. <OL> <LI> -Startup files are read and executed as described in <A HREF="bashref.html#SEC68">6.2 Bash Startup Files</A>. +Startup files are read and executed as described in <A HREF="bashref.html#SEC69">6.2 Bash Startup Files</A>. <P> <LI> -Job Control (see section <A HREF="bashref.html#SEC89">7. Job Control</A>) is enabled by default. When job +Job Control (see section <A HREF="bashref.html#SEC90">7. Job Control</A>) is enabled by default. When job control is in effect, Bash ignores the keyboard-generated job control signals <CODE>SIGTTIN</CODE>, <CODE>SIGTTOU</CODE>, and <CODE>SIGTSTP</CODE>. <P> @@ -7025,63 +7171,63 @@ second and subsequent lines of a multi-line command. <LI> Bash executes the value of the <CODE>PROMPT_COMMAND</CODE> variable as a command before printing the primary prompt, <CODE>$PS1</CODE> -(see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +(see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). <P> <LI> -Readline (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>) is used to read commands from +Readline (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>) is used to read commands from the user's terminal. <P> <LI> Bash inspects the value of the <CODE>ignoreeof</CODE> option to <CODE>set -o</CODE> instead of exiting immediately when it receives an <CODE>EOF</CODE> on its -standard input when reading a command (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +standard input when reading a command (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <LI> -Command history (see section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>) -and history expansion (see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>) +Command history (see section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>) +and history expansion (see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>) are enabled by default. Bash will save the command history to the file named by <CODE>$HISTFILE</CODE> when an interactive shell exits. <P> <LI> -Alias expansion (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>) is performed by default. +Alias expansion (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>) is performed by default. <P> <LI> In the absence of any traps, Bash ignores <CODE>SIGTERM</CODE> -(see section <A HREF="bashref.html#SEC54">3.7.6 Signals</A>). +(see section <A HREF="bashref.html#SEC55">3.7.6 Signals</A>). <P> <LI> In the absence of any traps, <CODE>SIGINT</CODE> is caught and handled -((see section <A HREF="bashref.html#SEC54">3.7.6 Signals</A>). +((see section <A HREF="bashref.html#SEC55">3.7.6 Signals</A>). <CODE>SIGINT</CODE> will interrupt some shell builtins. <P> <LI> An interactive login shell sends a <CODE>SIGHUP</CODE> to all jobs on exit -if the <CODE>huponexit</CODE> shell option has been enabled (see section <A HREF="bashref.html#SEC54">3.7.6 Signals</A>). +if the <CODE>huponexit</CODE> shell option has been enabled (see section <A HREF="bashref.html#SEC55">3.7.6 Signals</A>). <P> <LI> The <SAMP>`-n'</SAMP> invocation option is ignored, and <SAMP>`set -n'</SAMP> has -no effect (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +no effect (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <LI> Bash will check for mail periodically, depending on the values of the <CODE>MAIL</CODE>, <CODE>MAILPATH</CODE>, and <CODE>MAILCHECK</CODE> shell variables -(see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +(see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). <P> <LI> Expansion errors due to references to unbound shell variables after <SAMP>`set -u'</SAMP> has been enabled will not cause the shell to exit -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <LI> @@ -7097,12 +7243,12 @@ shell to exit. <LI> When running in POSIX mode, a special builtin returning an error -status will not cause the shell to exit (see section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>). +status will not cause the shell to exit (see section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>). <P> <LI> A failed <CODE>exec</CODE> will not cause the shell to exit -(see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <LI> @@ -7112,13 +7258,13 @@ Parser syntax errors will not cause the shell to exit. <LI> Simple spelling correction for directory arguments to the <CODE>cd</CODE> builtin is enabled by default (see the description of the <CODE>cdspell</CODE> -option to the <CODE>shopt</CODE> builtin in <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>). +option to the <CODE>shopt</CODE> builtin in <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>). <P> <LI> The shell will check the value of the <CODE>TMOUT</CODE> variable and exit if a command is not read within the specified number of seconds after -printing <CODE>$PS1</CODE> (see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +printing <CODE>$PS1</CODE> (see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). <P> </OL> @@ -7126,20 +7272,20 @@ printing <CODE>$PS1</CODE> (see section <A HREF="bashref.html#SEC65">5.2 Bash Va <A NAME="Bash Conditional Expressions"></A> <HR SIZE="6"> -<A NAME="SEC80"></A> +<A NAME="SEC81"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC79"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.4 Bash Conditional Expressions </H2> -<!--docid::SEC80::--> +<!--docid::SEC81::--> <P> Conditional expressions are used by the <CODE>[[</CODE> compound command @@ -7263,7 +7409,7 @@ inode numbers. <DT><CODE>-o <VAR>optname</VAR></CODE> <DD>True if shell option <VAR>optname</VAR> is enabled. The list of options appears in the description of the <SAMP>`-o'</SAMP> -option to the <CODE>set</CODE> builtin (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +option to the <CODE>set</CODE> builtin (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <DT><CODE>-z <VAR>string</VAR></CODE> @@ -7309,20 +7455,20 @@ may be positive or negative integers. <A NAME="Shell Arithmetic"></A> <HR SIZE="6"> -<A NAME="SEC81"></A> +<A NAME="SEC82"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC80"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.5 Shell Arithmetic </H2> -<!--docid::SEC81::--> +<!--docid::SEC82::--> <P> The shell allows arithmetic expressions to be evaluated, as one of @@ -7448,20 +7594,20 @@ rules above. <A NAME="Aliases"></A> <HR SIZE="6"> -<A NAME="SEC82"></A> +<A NAME="SEC83"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC81"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.6 Aliases </H2> -<!--docid::SEC82::--> +<!--docid::SEC83::--> <P> <VAR>Aliases</VAR> allow a string to be substituted for a word when it is used @@ -7500,7 +7646,7 @@ If arguments are needed, a shell function should be used Aliases are not expanded when the shell is not interactive, unless the <CODE>expand_aliases</CODE> shell option is set using -<CODE>shopt</CODE> (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>). +<CODE>shopt</CODE> (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>). </P><P> The rules concerning the definition and use of aliases are @@ -7528,20 +7674,20 @@ For almost every purpose, shell functions are preferred over aliases. <A NAME="Arrays"></A> <HR SIZE="6"> -<A NAME="SEC83"></A> +<A NAME="SEC84"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC82"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.7 Arrays </H2> -<!--docid::SEC83::--> +<!--docid::SEC84::--> <P> Bash provides one-dimensional array variables. Any variable may be used as @@ -7630,24 +7776,24 @@ reused as input. <A NAME="The Directory Stack"></A> <HR SIZE="6"> -<A NAME="SEC84"></A> +<A NAME="SEC85"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC83"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.8 The Directory Stack </H2> -<!--docid::SEC84::--> +<!--docid::SEC85::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Bash builtin commands to manipulate +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Bash builtin commands to manipulate the directory stack.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -7666,26 +7812,26 @@ as the value of the <CODE>DIRSTACK</CODE> shell variable. <A NAME="Directory Stack Builtins"></A> <HR SIZE="6"> -<A NAME="SEC85"></A> +<A NAME="SEC86"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC84"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 6.8.1 Directory Stack Builtins </H3> -<!--docid::SEC85::--> +<!--docid::SEC86::--> <P> <DL COMPACT> <DT><CODE>dirs</CODE> -<DD><A NAME="IDX278"></A> +<DD><A NAME="IDX279"></A> <TABLE><tr><td> </td><td class=example><pre>dirs [+<VAR>N</VAR> | -<VAR>N</VAR>] [-clpv] </pre></td></tr></table>Display the list of currently remembered directories. Directories are added to the list with the <CODE>pushd</CODE> command; the @@ -7714,7 +7860,7 @@ line, prefixing each entry with its index in the stack. <P> <DT><CODE>popd</CODE> -<DD><A NAME="IDX279"></A> +<DD><A NAME="IDX280"></A> <TABLE><tr><td> </td><td class=example><pre>popd [+<VAR>N</VAR> | -<VAR>N</VAR>] [-n] </pre></td></tr></table><P> @@ -7738,7 +7884,7 @@ from the stack, so that only the stack is manipulated. </DL> <P> -<A NAME="IDX280"></A> +<A NAME="IDX281"></A> <DT><CODE>pushd</CODE> <DD><TABLE><tr><td> </td><td class=example><pre>pushd [-n] [<VAR>+N</VAR> | <VAR>-N</VAR> | <VAR>dir</VAR> ] </pre></td></tr></table><P> @@ -7772,20 +7918,20 @@ executes the equivalent of `<CODE>cd</CODE> <VAR>dir</VAR>'. <A NAME="Printing a Prompt"></A> <HR SIZE="6"> -<A NAME="SEC86"></A> +<A NAME="SEC87"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC85"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC88"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.9 Controlling the Prompt </H2> -<!--docid::SEC86::--> +<!--docid::SEC87::--> <P> The value of the variable <CODE>PROMPT_COMMAND</CODE> is examined just before @@ -7863,7 +8009,7 @@ embed a terminal control sequence into the prompt. The command number and the history number are usually different: the history number of a command is its position in the history list, which may include commands restored from the history file -(see section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>), while the command number is +(see section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>), while the command number is the position in the sequence of commands executed during the current shell session. </P><P> @@ -7871,25 +8017,25 @@ shell session. After the string is decoded, it is expanded via parameter expansion, command substitution, arithmetic expansion, and quote removal, subject to the value of the -<CODE>promptvars</CODE> shell option (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +<CODE>promptvars</CODE> shell option (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). </P><P> <A NAME="The Restricted Shell"></A> <HR SIZE="6"> -<A NAME="SEC87"></A> +<A NAME="SEC88"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC86"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC88"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC69"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.10 The Restricted Shell </H2> -<!--docid::SEC87::--> +<!--docid::SEC88::--> <P> If Bash is started with the name <CODE>rbash</CODE>, or the @@ -7942,26 +8088,26 @@ These restrictions are enforced after any startup files are read. </P><P> When a command that is found to be a shell script is executed -(see section <A HREF="bashref.html#SEC55">3.8 Shell Scripts</A>), <CODE>rbash</CODE> turns off any restrictions in +(see section <A HREF="bashref.html#SEC56">3.8 Shell Scripts</A>), <CODE>rbash</CODE> turns off any restrictions in the shell spawned to execute the script. </P><P> <A NAME="Bash POSIX Mode"></A> <HR SIZE="6"> -<A NAME="SEC88"></A> +<A NAME="SEC89"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC87"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC68"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC66"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC88"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC69"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC67"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 6.11 Bash POSIX Mode </H2> -<!--docid::SEC88::--> +<!--docid::SEC89::--> <P> Starting Bash with the <SAMP>`--posix'</SAMP> command-line option or executing @@ -8238,25 +8384,25 @@ the <CODE>echo</CODE> builtin to be fully conformant. Bash can be configured to be POSIX-conformant by default, by specifying the <SAMP>`--enable-strict-posix-default'</SAMP> to <CODE>configure</CODE> when building -(see section <A HREF="bashref.html#SEC132">10.8 Optional Features</A>). +(see section <A HREF="bashref.html#SEC133">10.8 Optional Features</A>). </P><P> <A NAME="Job Control"></A> <HR SIZE="6"> -<A NAME="SEC89"></A> +<A NAME="SEC90"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC88"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC91"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 7. Job Control </H1> -<!--docid::SEC89::--> +<!--docid::SEC90::--> <P> This chapter discusses what job control is, how it works, and how @@ -8264,30 +8410,30 @@ Bash allows you to access its facilities. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC90">7.1 Job Control Basics</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How job control works.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Bash builtin commands used to interact +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC91">7.1 Job Control Basics</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How job control works.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Bash builtin commands used to interact with job control.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC92">7.3 Job Control Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables Bash uses to customize job +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC93">7.3 Job Control Variables</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Variables Bash uses to customize job control.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Job Control Basics"></A> <HR SIZE="6"> -<A NAME="SEC90"></A> +<A NAME="SEC91"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC91"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC92"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 7.1 Job Control Basics </H2> -<!--docid::SEC90::--> +<!--docid::SEC91::--> <P> Job control @@ -8377,13 +8523,13 @@ Normally, Bash waits until it is about to print a prompt before reporting changes in a job's status so as to not interrupt any other output. If the <SAMP>`-b'</SAMP> option to the <CODE>set</CODE> builtin is enabled, -Bash reports such changes immediately (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +Bash reports such changes immediately (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). Any trap on <CODE>SIGCHLD</CODE> is executed for each child process that exits. </P><P> If an attempt to exit Bash is made while jobs are stopped, (or running, if -the <CODE>checkjobs</CODE> option is enabled -- see <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>), the +the <CODE>checkjobs</CODE> option is enabled -- see <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>), the shell prints a warning message, and if the <CODE>checkjobs</CODE> option is enabled, lists the jobs and their statuses. The <CODE>jobs</CODE> command may then be used to inspect their status. @@ -8393,26 +8539,26 @@ Bash does not print another warning, and any stopped jobs are terminated. <A NAME="Job Control Builtins"></A> <HR SIZE="6"> -<A NAME="SEC91"></A> +<A NAME="SEC92"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC92"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC92"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC91"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 7.2 Job Control Builtins </H2> -<!--docid::SEC91::--> +<!--docid::SEC92::--> <P> <DL COMPACT> <DT><CODE>bg</CODE> -<DD><A NAME="IDX281"></A> +<DD><A NAME="IDX282"></A> <TABLE><tr><td> </td><td class=example><pre>bg [<VAR>jobspec</VAR> <small>...</small>] </pre></td></tr></table>Resume each suspended job <VAR>jobspec</VAR> in the background, as if it had been started with <SAMP>`&'</SAMP>. @@ -8424,7 +8570,7 @@ that was started without job control. <P> <DT><CODE>fg</CODE> -<DD><A NAME="IDX282"></A> +<DD><A NAME="IDX283"></A> <TABLE><tr><td> </td><td class=example><pre>fg [<VAR>jobspec</VAR>] </pre></td></tr></table>Resume the job <VAR>jobspec</VAR> in the foreground and make it the current job. If <VAR>jobspec</VAR> is not supplied, the current job is used. @@ -8435,7 +8581,7 @@ job control enabled, <VAR>jobspec</VAR> does not specify a valid job or <P> <DT><CODE>jobs</CODE> -<DD><A NAME="IDX283"></A> +<DD><A NAME="IDX284"></A> <TABLE><tr><td> </td><td class=example><pre>jobs [-lnprs] [<VAR>jobspec</VAR>] jobs -x <VAR>command</VAR> [<VAR>arguments</VAR>] </pre></td></tr></table><P> @@ -8480,7 +8626,7 @@ passing it <VAR>argument</VAR>s, returning its exit status. </P><P> <DT><CODE>kill</CODE> -<DD><A NAME="IDX284"></A> +<DD><A NAME="IDX285"></A> <TABLE><tr><td> </td><td class=example><pre>kill [-s <VAR>sigspec</VAR>] [-n <VAR>signum</VAR>] [-<VAR>sigspec</VAR>] <VAR>jobspec</VAR> or <VAR>pid</VAR> kill -l [<VAR>exit_status</VAR>] </pre></td></tr></table>Send a signal specified by <VAR>sigspec</VAR> or <VAR>signum</VAR> to the process @@ -8500,7 +8646,7 @@ or non-zero if an error occurs or an invalid option is encountered. <P> <DT><CODE>wait</CODE> -<DD><A NAME="IDX285"></A> +<DD><A NAME="IDX286"></A> <TABLE><tr><td> </td><td class=example><pre>wait [<VAR>jobspec</VAR> or <VAR>pid</VAR> ...] </pre></td></tr></table>Wait until the child process specified by each process ID <VAR>pid</VAR> or job specification <VAR>jobspec</VAR> exits and return the exit status of the @@ -8513,7 +8659,7 @@ of the shell, the return status is 127. <P> <DT><CODE>disown</CODE> -<DD><A NAME="IDX286"></A> +<DD><A NAME="IDX287"></A> <TABLE><tr><td> </td><td class=example><pre>disown [-ar] [-h] [<VAR>jobspec</VAR> <small>...</small>] </pre></td></tr></table>Without options, each <VAR>jobspec</VAR> is removed from the table of active jobs. @@ -8528,7 +8674,7 @@ argument restricts operation to running jobs. <P> <DT><CODE>suspend</CODE> -<DD><A NAME="IDX287"></A> +<DD><A NAME="IDX288"></A> <TABLE><tr><td> </td><td class=example><pre>suspend [-f] </pre></td></tr></table>Suspend the execution of this shell until it receives a <CODE>SIGCONT</CODE> signal. The <SAMP>`-f'</SAMP> option means to suspend @@ -8545,27 +8691,27 @@ supplied process IDs. <A NAME="Job Control Variables"></A> <HR SIZE="6"> -<A NAME="SEC92"></A> +<A NAME="SEC93"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC91"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC89"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC92"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC90"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 7.3 Job Control Variables </H2> -<!--docid::SEC92::--> +<!--docid::SEC93::--> <P> <DL COMPACT> -<A NAME="IDX288"></A> +<A NAME="IDX289"></A> <DT><CODE>auto_resume</CODE> -<DD><A NAME="IDX289"></A> +<DD><A NAME="IDX290"></A> This variable controls how the shell interacts with the user and job control. If this variable exists then single word simple commands without redirections are treated as candidates for resumption @@ -8578,7 +8724,7 @@ the string supplied must match the name of a stopped job exactly; if set to <SAMP>`substring'</SAMP>, the string supplied needs to match a substring of the name of a stopped job. The <SAMP>`substring'</SAMP> value provides functionality -analogous to the <SAMP>`%?'</SAMP> job ID (see section <A HREF="bashref.html#SEC90">7.1 Job Control Basics</A>). +analogous to the <SAMP>`%?'</SAMP> job ID (see section <A HREF="bashref.html#SEC91">7.1 Job Control Basics</A>). If set to any other value, the supplied string must be a prefix of a stopped job's name; this provides functionality analogous to the <SAMP>`%'</SAMP> job ID. @@ -8587,25 +8733,25 @@ analogous to the <SAMP>`%'</SAMP> job ID. </DL> <P> -<A NAME="IDX290"></A> +<A NAME="IDX291"></A> </P><P> <A NAME="Command Line Editing"></A> <HR SIZE="6"> -<A NAME="SEC93"></A> +<A NAME="SEC94"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC92"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 8. Command Line Editing </H1> -<!--docid::SEC93::--> +<!--docid::SEC94::--> <P> This chapter describes the basic features of the GNU @@ -8615,36 +8761,36 @@ used by several different programs, including Bash. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC94">8.1 Introduction to Line Editing</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Notation used in this text.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC95">8.2 Readline Interaction</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The minimum set of commands for editing a line.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC101">8.3 Readline Init File</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Customizing Readline from a user's view.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC105">8.4 Bindable Readline Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A description of most of the Readline commands +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC95">8.1 Introduction to Line Editing</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Notation used in this text.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC96">8.2 Readline Interaction</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The minimum set of commands for editing a line.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC102">8.3 Readline Init File</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Customizing Readline from a user's view.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC106">8.4 Bindable Readline Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A description of most of the Readline commands available for binding</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC114">8.5 Readline vi Mode</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A short description of how to make Readline +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC115">8.5 Readline vi Mode</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">A short description of how to make Readline behave like the vi editor.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC115">8.6 Programmable Completion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to specify the possible completions for +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC116">8.6 Programmable Completion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to specify the possible completions for a specific command.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands to specify how to +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Builtin commands to specify how to complete arguments for a particular command.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Introduction and Notation"></A> <HR SIZE="6"> -<A NAME="SEC94"></A> +<A NAME="SEC95"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.1 Introduction to Line Editing </H2> -<!--docid::SEC94::--> +<!--docid::SEC95::--> <P> The following paragraphs describe the notation used to represent @@ -8681,7 +8827,7 @@ character produced by <EM>metafying</EM> <KBD>C-k</KBD>. In addition, several keys have their own names. Specifically, <KBD>DEL</KBD>, <KBD>ESC</KBD>, <KBD>LFD</KBD>, <KBD>SPC</KBD>, <KBD>RET</KBD>, and <KBD>TAB</KBD> all stand for themselves when seen in this text, or in an init file -(see section <A HREF="bashref.html#SEC101">8.3 Readline Init File</A>). +(see section <A HREF="bashref.html#SEC102">8.3 Readline Init File</A>). If your keyboard lacks a <KBD>LFD</KBD> key, typing <KBD>C-j</KBD> will produce the desired character. The <KBD>RET</KBD> key may be labeled <KBD>Return</KBD> or <KBD>Enter</KBD> on @@ -8690,20 +8836,20 @@ some keyboards. <A NAME="Readline Interaction"></A> <HR SIZE="6"> -<A NAME="SEC95"></A> +<A NAME="SEC96"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC97"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.2 Readline Interaction </H2> -<!--docid::SEC95::--> +<!--docid::SEC96::--> <P> Often during an interactive session you type in a long line of text, @@ -8719,30 +8865,30 @@ regardless of the location of the cursor within the line. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC96">8.2.1 Readline Bare Essentials</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The least you need to know about Readline.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC97">8.2.2 Readline Movement Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Moving about the input line.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC98">8.2.3 Readline Killing Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to delete text, and how to get it back!</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC99">8.2.4 Readline Arguments</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Giving numeric arguments to commands.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC100">8.2.5 Searching for Commands in the History</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Searching through previous lines.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC97">8.2.1 Readline Bare Essentials</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The least you need to know about Readline.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC98">8.2.2 Readline Movement Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Moving about the input line.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC99">8.2.3 Readline Killing Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to delete text, and how to get it back!</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC100">8.2.4 Readline Arguments</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Giving numeric arguments to commands.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC101">8.2.5 Searching for Commands in the History</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Searching through previous lines.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Readline Bare Essentials"></A> <HR SIZE="6"> -<A NAME="SEC96"></A> +<A NAME="SEC97"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC97"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC98"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.2.1 Readline Bare Essentials </H3> -<!--docid::SEC96::--> +<!--docid::SEC97::--> <P> In order to enter characters into the line, simply type them. The typed @@ -8791,20 +8937,20 @@ than the character to the left of the cursor.) <A NAME="Readline Movement Commands"></A> <HR SIZE="6"> -<A NAME="SEC97"></A> +<A NAME="SEC98"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC98"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC98"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC97"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.2.2 Readline Movement Commands </H3> -<!--docid::SEC97::--> +<!--docid::SEC98::--> <P> The above table describes the most basic keystrokes that you need @@ -8835,24 +8981,24 @@ operate on characters while meta keystrokes operate on words. <A NAME="Readline Killing Commands"></A> <HR SIZE="6"> -<A NAME="SEC98"></A> +<A NAME="SEC99"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC97"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC98"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.2.3 Readline Killing Commands </H3> -<!--docid::SEC98::--> +<!--docid::SEC99::--> <P> -<A NAME="IDX291"></A> <A NAME="IDX292"></A> +<A NAME="IDX293"></A> </P><P> <EM>Killing</EM> text means to delete the text from the line, but to save @@ -8872,7 +9018,7 @@ that when you yank it back, you get it all. The kill ring is not line specific; the text that you killed on a previously typed line is available to be yanked back later, when you are typing another line. -<A NAME="IDX293"></A> +<A NAME="IDX294"></A> </P><P> Here is the list of commands for killing text. @@ -8920,20 +9066,20 @@ the prior command is <KBD>C-y</KBD> or <KBD>M-y</KBD>. <A NAME="Readline Arguments"></A> <HR SIZE="6"> -<A NAME="SEC99"></A> +<A NAME="SEC100"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC98"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.2.4 Readline Arguments </H3> -<!--docid::SEC99::--> +<!--docid::SEC100::--> <P> You can pass numeric arguments to Readline commands. Sometimes the @@ -8955,24 +9101,24 @@ which will delete the next ten characters on the input line. <A NAME="Searching"></A> <HR SIZE="6"> -<A NAME="SEC100"></A> +<A NAME="SEC101"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC99"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC95"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC96"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.2.5 Searching for Commands in the History </H3> -<!--docid::SEC100::--> +<!--docid::SEC101::--> <P> Readline provides commands for searching through the command history -(see section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>) +(see section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>) for lines containing a specified string. There are two search modes: <EM>incremental</EM> and <EM>non-incremental</EM>. </P><P> @@ -9018,20 +9164,20 @@ typed by the user or be part of the contents of the current line. <A NAME="Readline Init File"></A> <HR SIZE="6"> -<A NAME="SEC101"></A> +<A NAME="SEC102"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC100"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC103"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.3 Readline Init File </H2> -<!--docid::SEC101::--> +<!--docid::SEC102::--> <P> Although the Readline library comes with a set of Emacs-like @@ -9055,43 +9201,43 @@ incorporating any changes that you might have made to it. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Syntax for the commands in the inputrc file.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Syntax for the commands in the inputrc file.</TD></TR> </TABLE> <br> <TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC103">8.3.2 Conditional Init Constructs</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Conditional key bindings in the inputrc file.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC104">8.3.2 Conditional Init Constructs</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Conditional key bindings in the inputrc file.</TD></TR> </TABLE> <br> <TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC104">8.3.3 Sample Init File</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">An example inputrc file.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC105">8.3.3 Sample Init File</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">An example inputrc file.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Readline Init File Syntax"></A> <HR SIZE="6"> -<A NAME="SEC102"></A> +<A NAME="SEC103"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC103"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC104"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.3.1 Readline Init File Syntax </H3> -<!--docid::SEC102::--> +<!--docid::SEC103::--> <P> There are only a few basic constructs allowed in the Readline init file. Blank lines are ignored. Lines beginning with a <SAMP>`#'</SAMP> are comments. Lines beginning with a <SAMP>`$'</SAMP> indicate conditional -constructs (see section <A HREF="bashref.html#SEC103">8.3.2 Conditional Init Constructs</A>). Other lines +constructs (see section <A HREF="bashref.html#SEC104">8.3.2 Conditional Init Constructs</A>). Other lines denote variable settings and key bindings. </P><P> @@ -9124,18 +9270,18 @@ value results in the variable being set to off. </P><P> The <CODE>bind -V</CODE> command lists the current Readline variable names -and values. See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>. +and values. See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>. </P><P> A great deal of run-time behavior is changeable with the following variables. </P><P> -<A NAME="IDX294"></A> +<A NAME="IDX295"></A> <DL COMPACT> <DT><CODE>bell-style</CODE> -<DD><A NAME="IDX295"></A> +<DD><A NAME="IDX296"></A> Controls what happens when Readline wants to ring the terminal bell. If set to <SAMP>`none'</SAMP>, Readline never rings the bell. If set to <SAMP>`visible'</SAMP>, Readline uses a visible bell if one is available. @@ -9144,14 +9290,14 @@ the terminal's bell. <P> <DT><CODE>bind-tty-special-chars</CODE> -<DD><A NAME="IDX296"></A> +<DD><A NAME="IDX297"></A> If set to <SAMP>`on'</SAMP>, Readline attempts to bind the control characters treated specially by the kernel's terminal driver to their Readline equivalents. <P> <DT><CODE>comment-begin</CODE> -<DD><A NAME="IDX297"></A> +<DD><A NAME="IDX298"></A> The string to insert at the beginning of the line when the <CODE>insert-comment</CODE> command is executed. The default value is <CODE>"#"</CODE>. @@ -9163,8 +9309,16 @@ in a case-insensitive fashion. The default value is <SAMP>`off'</SAMP>. <P> +<DT><CODE>completion-prefix-display-length</CODE> +<DD><A NAME="IDX299"></A> +The length in characters of the common prefix of a list of possible +completions that is displayed without modification. When set to a +value greater than zero, common prefixes longer than this value are +replaced with an ellipsis when displaying possible completions. +<P> + <DT><CODE>completion-query-items</CODE> -<DD><A NAME="IDX298"></A> +<DD><A NAME="IDX300"></A> The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. If the number of possible completions is greater than this value, @@ -9176,7 +9330,7 @@ The default limit is <CODE>100</CODE>. <P> <DT><CODE>convert-meta</CODE> -<DD><A NAME="IDX299"></A> +<DD><A NAME="IDX301"></A> If set to <SAMP>`on'</SAMP>, Readline will convert characters with the eighth bit set to an ASCII key sequence by stripping the eighth bit and prefixing an <KBD>ESC</KBD> character, converting them to a @@ -9184,14 +9338,14 @@ meta-prefixed key sequence. The default value is <SAMP>`on'</SAMP>. <P> <DT><CODE>disable-completion</CODE> -<DD><A NAME="IDX300"></A> +<DD><A NAME="IDX302"></A> If set to <SAMP>`On'</SAMP>, Readline will inhibit word completion. Completion characters will be inserted into the line as if they had been mapped to <CODE>self-insert</CODE>. The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>editing-mode</CODE> -<DD><A NAME="IDX301"></A> +<DD><A NAME="IDX303"></A> The <CODE>editing-mode</CODE> variable controls which default set of key bindings is used. By default, Readline starts up in Emacs editing mode, where the keystrokes are most similar to Emacs. This variable can be @@ -9199,20 +9353,20 @@ set to either <SAMP>`emacs'</SAMP> or <SAMP>`vi'</SAMP>. <P> <DT><CODE>enable-keypad</CODE> -<DD><A NAME="IDX302"></A> +<DD><A NAME="IDX304"></A> When set to <SAMP>`on'</SAMP>, Readline will try to enable the application keypad when it is called. Some systems need this to enable the arrow keys. The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>expand-tilde</CODE> -<DD><A NAME="IDX303"></A> +<DD><A NAME="IDX305"></A> If set to <SAMP>`on'</SAMP>, tilde expansion is performed when Readline attempts word completion. The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>history-preserve-point</CODE> -<DD><A NAME="IDX304"></A> +<DD><A NAME="IDX306"></A> If set to <SAMP>`on'</SAMP>, the history code attempts to place the point (the current cursor position) at the same location on each history line retrieved with <CODE>previous-history</CODE> @@ -9220,13 +9374,13 @@ or <CODE>next-history</CODE>. The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>history-size</CODE> -<DD><A NAME="IDX305"></A> +<DD><A NAME="IDX307"></A> Set the maximum number of history entries saved in the history list. If set to zero, the number of entries in the history list is not limited. <P> <DT><CODE>horizontal-scroll-mode</CODE> -<DD><A NAME="IDX306"></A> +<DD><A NAME="IDX308"></A> This variable can be set to either <SAMP>`on'</SAMP> or <SAMP>`off'</SAMP>. Setting it to <SAMP>`on'</SAMP> means that the text of the lines being edited will scroll horizontally on a single screen line when they are longer than the width @@ -9235,8 +9389,8 @@ this variable is set to <SAMP>`off'</SAMP>. <P> <DT><CODE>input-meta</CODE> -<DD><A NAME="IDX307"></A> -<A NAME="IDX308"></A> +<DD><A NAME="IDX309"></A> +<A NAME="IDX310"></A> If set to <SAMP>`on'</SAMP>, Readline will enable eight-bit input (it will not clear the eighth bit in the characters it reads), regardless of what the terminal claims it can support. The @@ -9245,15 +9399,15 @@ synonym for this variable. <P> <DT><CODE>isearch-terminators</CODE> -<DD><A NAME="IDX309"></A> +<DD><A NAME="IDX311"></A> The string of characters that should terminate an incremental search without -subsequently executing the character as a command (see section <A HREF="bashref.html#SEC100">8.2.5 Searching for Commands in the History</A>). +subsequently executing the character as a command (see section <A HREF="bashref.html#SEC101">8.2.5 Searching for Commands in the History</A>). If this variable has not been given a value, the characters <KBD>ESC</KBD> and <KBD>C-J</KBD> will terminate an incremental search. <P> <DT><CODE>keymap</CODE> -<DD><A NAME="IDX310"></A> +<DD><A NAME="IDX312"></A> Sets Readline's idea of the current keymap for key binding commands. Acceptable <CODE>keymap</CODE> names are <CODE>emacs</CODE>, @@ -9276,14 +9430,14 @@ appended. The default is <SAMP>`on'</SAMP>. <P> <DT><CODE>mark-modified-lines</CODE> -<DD><A NAME="IDX311"></A> +<DD><A NAME="IDX313"></A> This variable, when set to <SAMP>`on'</SAMP>, causes Readline to display an asterisk (<SAMP>`*'</SAMP>) at the start of history lines which have been modified. This variable is <SAMP>`off'</SAMP> by default. <P> <DT><CODE>mark-symlinked-directories</CODE> -<DD><A NAME="IDX312"></A> +<DD><A NAME="IDX314"></A> If set to <SAMP>`on'</SAMP>, completed names which are symbolic links to directories have a slash appended (subject to the value of <CODE>mark-directories</CODE>). @@ -9291,7 +9445,7 @@ The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>match-hidden-files</CODE> -<DD><A NAME="IDX313"></A> +<DD><A NAME="IDX315"></A> This variable, when set to <SAMP>`on'</SAMP>, causes Readline to match files whose names begin with a <SAMP>`.'</SAMP> (hidden files) when performing filename completion, unless the leading <SAMP>`.'</SAMP> is @@ -9300,14 +9454,14 @@ This variable is <SAMP>`on'</SAMP> by default. <P> <DT><CODE>output-meta</CODE> -<DD><A NAME="IDX314"></A> +<DD><A NAME="IDX316"></A> If set to <SAMP>`on'</SAMP>, Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. The default is <SAMP>`off'</SAMP>. <P> <DT><CODE>page-completions</CODE> -<DD><A NAME="IDX315"></A> +<DD><A NAME="IDX317"></A> If set to <SAMP>`on'</SAMP>, Readline uses an internal <CODE>more</CODE>-like pager to display a screenful of possible completions at a time. This variable is <SAMP>`on'</SAMP> by default. @@ -9319,8 +9473,16 @@ sorted horizontally in alphabetical order, rather than down the screen. The default is <SAMP>`off'</SAMP>. <P> +<DT><CODE>revert-all-at-newline</CODE> +<DD><A NAME="IDX318"></A> +If set to <SAMP>`on'</SAMP>, Readline will undo all changes to history lines +before returning when <CODE>accept-line</CODE> is executed. By default, +history lines may be modified and retain individual undo lists across +calls to <CODE>readline</CODE>. The default is <SAMP>`off'</SAMP>. +<P> + <DT><CODE>show-all-if-ambiguous</CODE> -<DD><A NAME="IDX316"></A> +<DD><A NAME="IDX319"></A> This alters the default behavior of the completion functions. If set to <SAMP>`on'</SAMP>, words which have more than one possible completion cause the @@ -9329,7 +9491,7 @@ The default value is <SAMP>`off'</SAMP>. <P> <DT><CODE>show-all-if-unmodified</CODE> -<DD><A NAME="IDX317"></A> +<DD><A NAME="IDX320"></A> This alters the default behavior of the completion functions in a fashion similar to <VAR>show-all-if-ambiguous</VAR>. If set to <SAMP>`on'</SAMP>, @@ -9341,7 +9503,7 @@ The default value is <SAMP>`off'</SAMP>. <P> <DT><CODE>visible-stats</CODE> -<DD><A NAME="IDX318"></A> +<DD><A NAME="IDX321"></A> If set to <SAMP>`on'</SAMP>, a character denoting a file's type is appended to the filename when listing possible completions. The default is <SAMP>`off'</SAMP>. @@ -9374,7 +9536,7 @@ to a string that is inserted when the key is pressed (a <VAR>macro</VAR>). The <CODE>bind -p</CODE> command displays Readline function names and bindings in a format that can put directly into an initialization file. -See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>. +See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>. </P><P> <DL COMPACT> @@ -9498,20 +9660,20 @@ insert a single <SAMP>`\'</SAMP> into the line: <A NAME="Conditional Init Constructs"></A> <HR SIZE="6"> -<A NAME="SEC103"></A> +<A NAME="SEC104"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC104"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC104"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC103"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.3.2 Conditional Init Constructs </H3> -<!--docid::SEC103::--> +<!--docid::SEC104::--> <P> Readline implements a facility similar in spirit to the conditional @@ -9583,20 +9745,20 @@ For example, the following directive reads from <TT>`/etc/inputrc'</TT>: <A NAME="Sample Init File"></A> <HR SIZE="6"> -<A NAME="SEC104"></A> +<A NAME="SEC105"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC103"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC101"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC104"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC102"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.3.3 Sample Init File </H3> -<!--docid::SEC104::--> +<!--docid::SEC105::--> <P> Here is an example of an <VAR>inputrc</VAR> file. This illustrates key @@ -9706,31 +9868,31 @@ $endif <A NAME="Bindable Readline Commands"></A> <HR SIZE="6"> -<A NAME="SEC105"></A> +<A NAME="SEC106"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC104"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC107"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.4 Bindable Readline Commands </H2> -<!--docid::SEC105::--> +<!--docid::SEC106::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Moving about the line.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Getting at previous lines.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands for changing text.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands for killing and yanking.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Specifying numeric arguments, repeat counts.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Getting Readline to do the typing for you.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Saving and re-executing typed characters</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Other miscellaneous commands.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Moving about the line.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Getting at previous lines.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands for changing text.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Commands for killing and yanking.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Specifying numeric arguments, repeat counts.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Getting Readline to do the typing for you.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Saving and re-executing typed characters</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Other miscellaneous commands.</TD></TR> </TABLE></BLOCKQUOTE> <P> @@ -9738,7 +9900,7 @@ This section describes Readline commands that may be bound to key sequences. You can list your key bindings by executing <CODE>bind -P</CODE> or, for a more terse format, suitable for an -<VAR>inputrc</VAR> file, <CODE>bind -p</CODE>. (See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>.) +<VAR>inputrc</VAR> file, <CODE>bind -p</CODE>. (See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>.) Command names without an accompanying key sequence are unbound by default. </P><P> @@ -9750,69 +9912,69 @@ The text between the point and mark is referred to as the <EM>region</EM>. <A NAME="Commands For Moving"></A> <HR SIZE="6"> -<A NAME="SEC106"></A> +<A NAME="SEC107"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC107"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC108"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.1 Commands For Moving </H3> -<!--docid::SEC106::--> +<!--docid::SEC107::--> <DL COMPACT> -<A NAME="IDX319"></A> +<A NAME="IDX322"></A> <DT><CODE>beginning-of-line (C-a)</CODE> -<DD><A NAME="IDX320"></A> +<DD><A NAME="IDX323"></A> Move to the start of the current line. <P> -<A NAME="IDX321"></A> +<A NAME="IDX324"></A> <DT><CODE>end-of-line (C-e)</CODE> -<DD><A NAME="IDX322"></A> +<DD><A NAME="IDX325"></A> Move to the end of the line. <P> -<A NAME="IDX323"></A> +<A NAME="IDX326"></A> <DT><CODE>forward-char (C-f)</CODE> -<DD><A NAME="IDX324"></A> +<DD><A NAME="IDX327"></A> Move forward a character. <P> -<A NAME="IDX325"></A> +<A NAME="IDX328"></A> <DT><CODE>backward-char (C-b)</CODE> -<DD><A NAME="IDX326"></A> +<DD><A NAME="IDX329"></A> Move back a character. <P> -<A NAME="IDX327"></A> +<A NAME="IDX330"></A> <DT><CODE>forward-word (M-f)</CODE> -<DD><A NAME="IDX328"></A> +<DD><A NAME="IDX331"></A> Move forward to the end of the next word. Words are composed of letters and digits. <P> -<A NAME="IDX329"></A> +<A NAME="IDX332"></A> <DT><CODE>backward-word (M-b)</CODE> -<DD><A NAME="IDX330"></A> +<DD><A NAME="IDX333"></A> Move back to the start of the current or previous word. Words are composed of letters and digits. <P> -<A NAME="IDX331"></A> +<A NAME="IDX334"></A> <DT><CODE>clear-screen (C-l)</CODE> -<DD><A NAME="IDX332"></A> +<DD><A NAME="IDX335"></A> Clear the screen and redraw the current line, leaving the current line at the top of the screen. <P> -<A NAME="IDX333"></A> +<A NAME="IDX336"></A> <DT><CODE>redraw-current-line ()</CODE> -<DD><A NAME="IDX334"></A> +<DD><A NAME="IDX337"></A> Refresh the current line. By default, this is unbound. <P> @@ -9821,26 +9983,26 @@ Refresh the current line. By default, this is unbound. <A NAME="Commands For History"></A> <HR SIZE="6"> -<A NAME="SEC107"></A> +<A NAME="SEC108"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC108"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC108"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC107"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.2 Commands For Manipulating The History </H3> -<!--docid::SEC107::--> +<!--docid::SEC108::--> <P> <DL COMPACT> -<A NAME="IDX335"></A> +<A NAME="IDX338"></A> <DT><CODE>accept-line (Newline or Return)</CODE> -<DD><A NAME="IDX336"></A> +<DD><A NAME="IDX339"></A> Accept the line regardless of where the cursor is. If this line is non-empty, add it to the history list according to the setting of @@ -9849,81 +10011,81 @@ If this line is a modified history line, then restore the history line to its original state. <P> -<A NAME="IDX337"></A> +<A NAME="IDX340"></A> <DT><CODE>previous-history (C-p)</CODE> -<DD><A NAME="IDX338"></A> +<DD><A NAME="IDX341"></A> Move `back' through the history list, fetching the previous command. <P> -<A NAME="IDX339"></A> +<A NAME="IDX342"></A> <DT><CODE>next-history (C-n)</CODE> -<DD><A NAME="IDX340"></A> +<DD><A NAME="IDX343"></A> Move `forward' through the history list, fetching the next command. <P> -<A NAME="IDX341"></A> +<A NAME="IDX344"></A> <DT><CODE>beginning-of-history (M-<)</CODE> -<DD><A NAME="IDX342"></A> +<DD><A NAME="IDX345"></A> Move to the first line in the history. <P> -<A NAME="IDX343"></A> +<A NAME="IDX346"></A> <DT><CODE>end-of-history (M->)</CODE> -<DD><A NAME="IDX344"></A> +<DD><A NAME="IDX347"></A> Move to the end of the input history, i.e., the line currently being entered. <P> -<A NAME="IDX345"></A> +<A NAME="IDX348"></A> <DT><CODE>reverse-search-history (C-r)</CODE> -<DD><A NAME="IDX346"></A> +<DD><A NAME="IDX349"></A> Search backward starting at the current line and moving `up' through the history as necessary. This is an incremental search. <P> -<A NAME="IDX347"></A> +<A NAME="IDX350"></A> <DT><CODE>forward-search-history (C-s)</CODE> -<DD><A NAME="IDX348"></A> +<DD><A NAME="IDX351"></A> Search forward starting at the current line and moving `down' through the the history as necessary. This is an incremental search. <P> -<A NAME="IDX349"></A> +<A NAME="IDX352"></A> <DT><CODE>non-incremental-reverse-search-history (M-p)</CODE> -<DD><A NAME="IDX350"></A> +<DD><A NAME="IDX353"></A> Search backward starting at the current line and moving `up' through the history as necessary using a non-incremental search for a string supplied by the user. <P> -<A NAME="IDX351"></A> +<A NAME="IDX354"></A> <DT><CODE>non-incremental-forward-search-history (M-n)</CODE> -<DD><A NAME="IDX352"></A> +<DD><A NAME="IDX355"></A> Search forward starting at the current line and moving `down' through the the history as necessary using a non-incremental search for a string supplied by the user. <P> -<A NAME="IDX353"></A> +<A NAME="IDX356"></A> <DT><CODE>history-search-forward ()</CODE> -<DD><A NAME="IDX354"></A> +<DD><A NAME="IDX357"></A> Search forward through the history for the string of characters between the start of the current line and the point. This is a non-incremental search. By default, this command is unbound. <P> -<A NAME="IDX355"></A> +<A NAME="IDX358"></A> <DT><CODE>history-search-backward ()</CODE> -<DD><A NAME="IDX356"></A> +<DD><A NAME="IDX359"></A> Search backward through the history for the string of characters between the start of the current line and the point. This is a non-incremental search. By default, this command is unbound. <P> -<A NAME="IDX357"></A> +<A NAME="IDX360"></A> <DT><CODE>yank-nth-arg (M-C-y)</CODE> -<DD><A NAME="IDX358"></A> +<DD><A NAME="IDX361"></A> Insert the first argument to the previous command (usually the second word on the previous line) at point. With an argument <VAR>n</VAR>, @@ -9934,9 +10096,9 @@ Once the argument <VAR>n</VAR> is computed, the argument is extracted as if the <SAMP>`!<VAR>n</VAR>'</SAMP> history expansion had been specified. <P> -<A NAME="IDX359"></A> +<A NAME="IDX362"></A> <DT><CODE>yank-last-arg (M-. or M-_)</CODE> -<DD><A NAME="IDX360"></A> +<DD><A NAME="IDX363"></A> Insert last argument to the previous command (the last word of the previous history entry). With an argument, behave exactly like <CODE>yank-nth-arg</CODE>. @@ -9951,63 +10113,63 @@ as if the <SAMP>`!$'</SAMP> history expansion had been specified. <A NAME="Commands For Text"></A> <HR SIZE="6"> -<A NAME="SEC108"></A> +<A NAME="SEC109"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC107"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC108"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.3 Commands For Changing Text </H3> -<!--docid::SEC108::--> +<!--docid::SEC109::--> <P> <DL COMPACT> -<A NAME="IDX361"></A> +<A NAME="IDX364"></A> <DT><CODE>delete-char (C-d)</CODE> -<DD><A NAME="IDX362"></A> +<DD><A NAME="IDX365"></A> Delete the character at point. If point is at the beginning of the line, there are no characters in the line, and the last character typed was not bound to <CODE>delete-char</CODE>, then return EOF. <P> -<A NAME="IDX363"></A> +<A NAME="IDX366"></A> <DT><CODE>backward-delete-char (Rubout)</CODE> -<DD><A NAME="IDX364"></A> +<DD><A NAME="IDX367"></A> Delete the character behind the cursor. A numeric argument means to kill the characters instead of deleting them. <P> -<A NAME="IDX365"></A> +<A NAME="IDX368"></A> <DT><CODE>forward-backward-delete-char ()</CODE> -<DD><A NAME="IDX366"></A> +<DD><A NAME="IDX369"></A> Delete the character under the cursor, unless the cursor is at the end of the line, in which case the character behind the cursor is deleted. By default, this is not bound to a key. <P> -<A NAME="IDX367"></A> +<A NAME="IDX370"></A> <DT><CODE>quoted-insert (C-q or C-v)</CODE> -<DD><A NAME="IDX368"></A> +<DD><A NAME="IDX371"></A> Add the next character typed to the line verbatim. This is how to insert key sequences like <KBD>C-q</KBD>, for example. <P> -<A NAME="IDX369"></A> +<A NAME="IDX372"></A> <DT><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE> -<DD><A NAME="IDX370"></A> +<DD><A NAME="IDX373"></A> Insert yourself. <P> -<A NAME="IDX371"></A> +<A NAME="IDX374"></A> <DT><CODE>transpose-chars (C-t)</CODE> -<DD><A NAME="IDX372"></A> +<DD><A NAME="IDX375"></A> Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion point @@ -10016,39 +10178,39 @@ transposes the last two characters of the line. Negative arguments have no effect. <P> -<A NAME="IDX373"></A> +<A NAME="IDX376"></A> <DT><CODE>transpose-words (M-t)</CODE> -<DD><A NAME="IDX374"></A> +<DD><A NAME="IDX377"></A> Drag the word before point past the word after point, moving point past that word as well. If the insertion point is at the end of the line, this transposes the last two words on the line. <P> -<A NAME="IDX375"></A> +<A NAME="IDX378"></A> <DT><CODE>upcase-word (M-u)</CODE> -<DD><A NAME="IDX376"></A> +<DD><A NAME="IDX379"></A> Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move the cursor. <P> -<A NAME="IDX377"></A> +<A NAME="IDX380"></A> <DT><CODE>downcase-word (M-l)</CODE> -<DD><A NAME="IDX378"></A> +<DD><A NAME="IDX381"></A> Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move the cursor. <P> -<A NAME="IDX379"></A> +<A NAME="IDX382"></A> <DT><CODE>capitalize-word (M-c)</CODE> -<DD><A NAME="IDX380"></A> +<DD><A NAME="IDX383"></A> Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move the cursor. <P> -<A NAME="IDX381"></A> +<A NAME="IDX384"></A> <DT><CODE>overwrite-mode ()</CODE> -<DD><A NAME="IDX382"></A> +<DD><A NAME="IDX385"></A> Toggle overwrite mode. With an explicit positive numeric argument, switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only @@ -10070,124 +10232,124 @@ By default, this command is unbound. <A NAME="Commands For Killing"></A> <HR SIZE="6"> -<A NAME="SEC109"></A> +<A NAME="SEC110"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC108"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.4 Killing And Yanking </H3> -<!--docid::SEC109::--> +<!--docid::SEC110::--> <P> <DL COMPACT> -<A NAME="IDX383"></A> +<A NAME="IDX386"></A> <DT><CODE>kill-line (C-k)</CODE> -<DD><A NAME="IDX384"></A> +<DD><A NAME="IDX387"></A> Kill the text from point to the end of the line. <P> -<A NAME="IDX385"></A> +<A NAME="IDX388"></A> <DT><CODE>backward-kill-line (C-x Rubout)</CODE> -<DD><A NAME="IDX386"></A> +<DD><A NAME="IDX389"></A> Kill backward to the beginning of the line. <P> -<A NAME="IDX387"></A> +<A NAME="IDX390"></A> <DT><CODE>unix-line-discard (C-u)</CODE> -<DD><A NAME="IDX388"></A> +<DD><A NAME="IDX391"></A> Kill backward from the cursor to the beginning of the current line. <P> -<A NAME="IDX389"></A> +<A NAME="IDX392"></A> <DT><CODE>kill-whole-line ()</CODE> -<DD><A NAME="IDX390"></A> +<DD><A NAME="IDX393"></A> Kill all characters on the current line, no matter where point is. By default, this is unbound. <P> -<A NAME="IDX391"></A> +<A NAME="IDX394"></A> <DT><CODE>kill-word (M-d)</CODE> -<DD><A NAME="IDX392"></A> +<DD><A NAME="IDX395"></A> Kill from point to the end of the current word, or if between words, to the end of the next word. Word boundaries are the same as <CODE>forward-word</CODE>. <P> -<A NAME="IDX393"></A> +<A NAME="IDX396"></A> <DT><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE> -<DD><A NAME="IDX394"></A> +<DD><A NAME="IDX397"></A> Kill the word behind point. Word boundaries are the same as <CODE>backward-word</CODE>. <P> -<A NAME="IDX395"></A> +<A NAME="IDX398"></A> <DT><CODE>unix-word-rubout (C-w)</CODE> -<DD><A NAME="IDX396"></A> +<DD><A NAME="IDX399"></A> Kill the word behind point, using white space as a word boundary. The killed text is saved on the kill-ring. <P> -<A NAME="IDX397"></A> +<A NAME="IDX400"></A> <DT><CODE>unix-filename-rubout ()</CODE> -<DD><A NAME="IDX398"></A> +<DD><A NAME="IDX401"></A> Kill the word behind point, using white space and the slash character as the word boundaries. The killed text is saved on the kill-ring. <P> -<A NAME="IDX399"></A> +<A NAME="IDX402"></A> <DT><CODE>delete-horizontal-space ()</CODE> -<DD><A NAME="IDX400"></A> +<DD><A NAME="IDX403"></A> Delete all spaces and tabs around point. By default, this is unbound. <P> -<A NAME="IDX401"></A> +<A NAME="IDX404"></A> <DT><CODE>kill-region ()</CODE> -<DD><A NAME="IDX402"></A> +<DD><A NAME="IDX405"></A> Kill the text in the current region. By default, this command is unbound. <P> -<A NAME="IDX403"></A> +<A NAME="IDX406"></A> <DT><CODE>copy-region-as-kill ()</CODE> -<DD><A NAME="IDX404"></A> +<DD><A NAME="IDX407"></A> Copy the text in the region to the kill buffer, so it can be yanked right away. By default, this command is unbound. <P> -<A NAME="IDX405"></A> +<A NAME="IDX408"></A> <DT><CODE>copy-backward-word ()</CODE> -<DD><A NAME="IDX406"></A> +<DD><A NAME="IDX409"></A> Copy the word before point to the kill buffer. The word boundaries are the same as <CODE>backward-word</CODE>. By default, this command is unbound. <P> -<A NAME="IDX407"></A> +<A NAME="IDX410"></A> <DT><CODE>copy-forward-word ()</CODE> -<DD><A NAME="IDX408"></A> +<DD><A NAME="IDX411"></A> Copy the word following point to the kill buffer. The word boundaries are the same as <CODE>forward-word</CODE>. By default, this command is unbound. <P> -<A NAME="IDX409"></A> +<A NAME="IDX412"></A> <DT><CODE>yank (C-y)</CODE> -<DD><A NAME="IDX410"></A> +<DD><A NAME="IDX413"></A> Yank the top of the kill ring into the buffer at point. <P> -<A NAME="IDX411"></A> +<A NAME="IDX414"></A> <DT><CODE>yank-pop (M-y)</CODE> -<DD><A NAME="IDX412"></A> +<DD><A NAME="IDX415"></A> Rotate the kill-ring, and yank the new top. You can only do this if the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>. </DL> @@ -10195,32 +10357,32 @@ the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>. <A NAME="Numeric Arguments"></A> <HR SIZE="6"> -<A NAME="SEC110"></A> +<A NAME="SEC111"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC109"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.5 Specifying Numeric Arguments </H3> -<!--docid::SEC110::--> +<!--docid::SEC111::--> <DL COMPACT> -<A NAME="IDX413"></A> +<A NAME="IDX416"></A> <DT><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE> -<DD><A NAME="IDX414"></A> +<DD><A NAME="IDX417"></A> Add this digit to the argument already accumulating, or start a new argument. <KBD>M--</KBD> starts a negative argument. <P> -<A NAME="IDX415"></A> +<A NAME="IDX418"></A> <DT><CODE>universal-argument ()</CODE> -<DD><A NAME="IDX416"></A> +<DD><A NAME="IDX419"></A> This is another way to specify an argument. If this command is followed by one or more digits, optionally with a leading minus sign, those digits define the argument. @@ -10238,26 +10400,26 @@ By default, this is not bound to a key. <A NAME="Commands For Completion"></A> <HR SIZE="6"> -<A NAME="SEC111"></A> +<A NAME="SEC112"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC110"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.6 Letting Readline Type For You </H3> -<!--docid::SEC111::--> +<!--docid::SEC112::--> <P> <DL COMPACT> -<A NAME="IDX417"></A> +<A NAME="IDX420"></A> <DT><CODE>complete (<KBD>TAB</KBD>)</CODE> -<DD><A NAME="IDX418"></A> +<DD><A NAME="IDX421"></A> Attempt to perform completion on the text before point. The actual completion performed is application-specific. Bash attempts completion treating the text as a variable (if the @@ -10267,22 +10429,22 @@ command (including aliases and functions) in turn. If none of these produces a match, filename completion is attempted. <P> -<A NAME="IDX419"></A> +<A NAME="IDX422"></A> <DT><CODE>possible-completions (M-?)</CODE> -<DD><A NAME="IDX420"></A> +<DD><A NAME="IDX423"></A> List the possible completions of the text before point. <P> -<A NAME="IDX421"></A> +<A NAME="IDX424"></A> <DT><CODE>insert-completions (M-*)</CODE> -<DD><A NAME="IDX422"></A> +<DD><A NAME="IDX425"></A> Insert all completions of the text before point that would have been generated by <CODE>possible-completions</CODE>. <P> -<A NAME="IDX423"></A> +<A NAME="IDX426"></A> <DT><CODE>menu-complete ()</CODE> -<DD><A NAME="IDX424"></A> +<DD><A NAME="IDX427"></A> Similar to <CODE>complete</CODE>, but replaces the word to be completed with a single match from the list of possible completions. Repeated execution of <CODE>menu-complete</CODE> steps through the list @@ -10297,9 +10459,9 @@ This command is intended to be bound to <KBD>TAB</KBD>, but is unbound by default. <P> -<A NAME="IDX425"></A> +<A NAME="IDX428"></A> <DT><CODE>delete-char-or-list ()</CODE> -<DD><A NAME="IDX426"></A> +<DD><A NAME="IDX429"></A> Deletes the character under the cursor if not at the beginning or end of the line (like <CODE>delete-char</CODE>). If at the end of the line, behaves identically to @@ -10307,64 +10469,64 @@ If at the end of the line, behaves identically to This command is unbound by default. <P> -<A NAME="IDX427"></A> +<A NAME="IDX430"></A> <DT><CODE>complete-filename (M-/)</CODE> -<DD><A NAME="IDX428"></A> +<DD><A NAME="IDX431"></A> Attempt filename completion on the text before point. <P> -<A NAME="IDX429"></A> +<A NAME="IDX432"></A> <DT><CODE>possible-filename-completions (C-x /)</CODE> -<DD><A NAME="IDX430"></A> +<DD><A NAME="IDX433"></A> List the possible completions of the text before point, treating it as a filename. <P> -<A NAME="IDX431"></A> +<A NAME="IDX434"></A> <DT><CODE>complete-username (M-~)</CODE> -<DD><A NAME="IDX432"></A> +<DD><A NAME="IDX435"></A> Attempt completion on the text before point, treating it as a username. <P> -<A NAME="IDX433"></A> +<A NAME="IDX436"></A> <DT><CODE>possible-username-completions (C-x ~)</CODE> -<DD><A NAME="IDX434"></A> +<DD><A NAME="IDX437"></A> List the possible completions of the text before point, treating it as a username. <P> -<A NAME="IDX435"></A> +<A NAME="IDX438"></A> <DT><CODE>complete-variable (M-$)</CODE> -<DD><A NAME="IDX436"></A> +<DD><A NAME="IDX439"></A> Attempt completion on the text before point, treating it as a shell variable. <P> -<A NAME="IDX437"></A> +<A NAME="IDX440"></A> <DT><CODE>possible-variable-completions (C-x $)</CODE> -<DD><A NAME="IDX438"></A> +<DD><A NAME="IDX441"></A> List the possible completions of the text before point, treating it as a shell variable. <P> -<A NAME="IDX439"></A> +<A NAME="IDX442"></A> <DT><CODE>complete-hostname (M-@)</CODE> -<DD><A NAME="IDX440"></A> +<DD><A NAME="IDX443"></A> Attempt completion on the text before point, treating it as a hostname. <P> -<A NAME="IDX441"></A> +<A NAME="IDX444"></A> <DT><CODE>possible-hostname-completions (C-x @)</CODE> -<DD><A NAME="IDX442"></A> +<DD><A NAME="IDX445"></A> List the possible completions of the text before point, treating it as a hostname. <P> -<A NAME="IDX443"></A> +<A NAME="IDX446"></A> <DT><CODE>complete-command (M-!)</CODE> -<DD><A NAME="IDX444"></A> +<DD><A NAME="IDX447"></A> Attempt completion on the text before point, treating it as a command name. Command completion attempts to match the text against aliases, reserved words, shell @@ -10372,24 +10534,32 @@ functions, shell builtins, and finally executable filenames, in that order. <P> -<A NAME="IDX445"></A> +<A NAME="IDX448"></A> <DT><CODE>possible-command-completions (C-x !)</CODE> -<DD><A NAME="IDX446"></A> +<DD><A NAME="IDX449"></A> List the possible completions of the text before point, treating it as a command name. <P> -<A NAME="IDX447"></A> +<A NAME="IDX450"></A> <DT><CODE>dynamic-complete-history (M-<KBD>TAB</KBD>)</CODE> -<DD><A NAME="IDX448"></A> +<DD><A NAME="IDX451"></A> Attempt completion on the text before point, comparing the text against lines from the history list for possible completion matches. <P> -<A NAME="IDX449"></A> +<A NAME="IDX452"></A> +<DT><CODE>dabbrev-expand ()</CODE> +<DD><A NAME="IDX453"></A> +Attempt menu completion on the text before point, comparing +the text against lines from the history list for possible +completion matches. +<P> + +<A NAME="IDX454"></A> <DT><CODE>complete-into-braces (M-{)</CODE> -<DD><A NAME="IDX450"></A> +<DD><A NAME="IDX455"></A> Perform filename completion and insert the list of possible completions enclosed within braces so the list is available to the shell (see section <A HREF="bashref.html#SEC28">3.5.1 Brace Expansion</A>). @@ -10400,38 +10570,38 @@ enclosed within braces so the list is available to the shell <A NAME="Keyboard Macros"></A> <HR SIZE="6"> -<A NAME="SEC112"></A> +<A NAME="SEC113"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC111"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.7 Keyboard Macros </H3> -<!--docid::SEC112::--> +<!--docid::SEC113::--> <DL COMPACT> -<A NAME="IDX451"></A> +<A NAME="IDX456"></A> <DT><CODE>start-kbd-macro (C-x ()</CODE> -<DD><A NAME="IDX452"></A> +<DD><A NAME="IDX457"></A> Begin saving the characters typed into the current keyboard macro. <P> -<A NAME="IDX453"></A> +<A NAME="IDX458"></A> <DT><CODE>end-kbd-macro (C-x ))</CODE> -<DD><A NAME="IDX454"></A> +<DD><A NAME="IDX459"></A> Stop saving the characters typed into the current keyboard macro and save the definition. <P> -<A NAME="IDX455"></A> +<A NAME="IDX460"></A> <DT><CODE>call-last-kbd-macro (C-x e)</CODE> -<DD><A NAME="IDX456"></A> +<DD><A NAME="IDX461"></A> Re-execute the last keyboard macro defined, by making the characters in the macro appear as if typed at the keyboard. <P> @@ -10441,103 +10611,103 @@ in the macro appear as if typed at the keyboard. <A NAME="Miscellaneous Commands"></A> <HR SIZE="6"> -<A NAME="SEC113"></A> +<A NAME="SEC114"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC112"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC105"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC106"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 8.4.8 Some Miscellaneous Commands </H3> -<!--docid::SEC113::--> +<!--docid::SEC114::--> <DL COMPACT> -<A NAME="IDX457"></A> +<A NAME="IDX462"></A> <DT><CODE>re-read-init-file (C-x C-r)</CODE> -<DD><A NAME="IDX458"></A> +<DD><A NAME="IDX463"></A> Read in the contents of the <VAR>inputrc</VAR> file, and incorporate any bindings or variable assignments found there. <P> -<A NAME="IDX459"></A> +<A NAME="IDX464"></A> <DT><CODE>abort (C-g)</CODE> -<DD><A NAME="IDX460"></A> +<DD><A NAME="IDX465"></A> Abort the current editing command and ring the terminal's bell (subject to the setting of <CODE>bell-style</CODE>). <P> -<A NAME="IDX461"></A> +<A NAME="IDX466"></A> <DT><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE> -<DD><A NAME="IDX462"></A> +<DD><A NAME="IDX467"></A> If the metafied character <VAR>x</VAR> is lowercase, run the command that is bound to the corresponding uppercase character. <P> -<A NAME="IDX463"></A> +<A NAME="IDX468"></A> <DT><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE> -<DD><A NAME="IDX464"></A> +<DD><A NAME="IDX469"></A> Metafy the next character typed. This is for keyboards without a meta key. Typing <SAMP>`<KBD>ESC</KBD> f'</SAMP> is equivalent to typing <KBD>M-f</KBD>. <P> -<A NAME="IDX465"></A> +<A NAME="IDX470"></A> <DT><CODE>undo (C-_ or C-x C-u)</CODE> -<DD><A NAME="IDX466"></A> +<DD><A NAME="IDX471"></A> Incremental undo, separately remembered for each line. <P> -<A NAME="IDX467"></A> +<A NAME="IDX472"></A> <DT><CODE>revert-line (M-r)</CODE> -<DD><A NAME="IDX468"></A> +<DD><A NAME="IDX473"></A> Undo all changes made to this line. This is like executing the <CODE>undo</CODE> command enough times to get back to the beginning. <P> -<A NAME="IDX469"></A> +<A NAME="IDX474"></A> <DT><CODE>tilde-expand (M-&)</CODE> -<DD><A NAME="IDX470"></A> +<DD><A NAME="IDX475"></A> Perform tilde expansion on the current word. <P> -<A NAME="IDX471"></A> +<A NAME="IDX476"></A> <DT><CODE>set-mark (C-@)</CODE> -<DD><A NAME="IDX472"></A> +<DD><A NAME="IDX477"></A> Set the mark to the point. If a numeric argument is supplied, the mark is set to that position. <P> -<A NAME="IDX473"></A> +<A NAME="IDX478"></A> <DT><CODE>exchange-point-and-mark (C-x C-x)</CODE> -<DD><A NAME="IDX474"></A> +<DD><A NAME="IDX479"></A> Swap the point with the mark. The current cursor position is set to the saved position, and the old cursor position is saved as the mark. <P> -<A NAME="IDX475"></A> +<A NAME="IDX480"></A> <DT><CODE>character-search (C-])</CODE> -<DD><A NAME="IDX476"></A> +<DD><A NAME="IDX481"></A> A character is read and point is moved to the next occurrence of that character. A negative count searches for previous occurrences. <P> -<A NAME="IDX477"></A> +<A NAME="IDX482"></A> <DT><CODE>character-search-backward (M-C-])</CODE> -<DD><A NAME="IDX478"></A> +<DD><A NAME="IDX483"></A> A character is read and point is moved to the previous occurrence of that character. A negative count searches for subsequent occurrences. <P> -<A NAME="IDX479"></A> +<A NAME="IDX484"></A> <DT><CODE>insert-comment (M-#)</CODE> -<DD><A NAME="IDX480"></A> +<DD><A NAME="IDX485"></A> Without a numeric argument, the value of the <CODE>comment-begin</CODE> variable is inserted at the beginning of the current line. If a numeric argument is supplied, this command acts as a toggle: if @@ -10552,115 +10722,115 @@ If a numeric argument causes the comment character to be removed, the line will be executed by the shell. <P> -<A NAME="IDX481"></A> +<A NAME="IDX486"></A> <DT><CODE>dump-functions ()</CODE> -<DD><A NAME="IDX482"></A> +<DD><A NAME="IDX487"></A> Print all of the functions and their key bindings to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an <VAR>inputrc</VAR> file. This command is unbound by default. <P> -<A NAME="IDX483"></A> +<A NAME="IDX488"></A> <DT><CODE>dump-variables ()</CODE> -<DD><A NAME="IDX484"></A> +<DD><A NAME="IDX489"></A> Print all of the settable variables and their values to the Readline output stream. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an <VAR>inputrc</VAR> file. This command is unbound by default. <P> -<A NAME="IDX485"></A> +<A NAME="IDX490"></A> <DT><CODE>dump-macros ()</CODE> -<DD><A NAME="IDX486"></A> +<DD><A NAME="IDX491"></A> Print all of the Readline key sequences bound to macros and the strings they output. If a numeric argument is supplied, the output is formatted in such a way that it can be made part of an <VAR>inputrc</VAR> file. This command is unbound by default. <P> -<A NAME="IDX487"></A> +<A NAME="IDX492"></A> <DT><CODE>glob-complete-word (M-g)</CODE> -<DD><A NAME="IDX488"></A> +<DD><A NAME="IDX493"></A> The word before point is treated as a pattern for pathname expansion, with an asterisk implicitly appended. This pattern is used to generate a list of matching file names for possible completions. <P> -<A NAME="IDX489"></A> +<A NAME="IDX494"></A> <DT><CODE>glob-expand-word (C-x *)</CODE> -<DD><A NAME="IDX490"></A> +<DD><A NAME="IDX495"></A> The word before point is treated as a pattern for pathname expansion, and the list of matching file names is inserted, replacing the word. If a numeric argument is supplied, a <SAMP>`*'</SAMP> is appended before pathname expansion. <P> -<A NAME="IDX491"></A> +<A NAME="IDX496"></A> <DT><CODE>glob-list-expansions (C-x g)</CODE> -<DD><A NAME="IDX492"></A> +<DD><A NAME="IDX497"></A> The list of expansions that would have been generated by <CODE>glob-expand-word</CODE> is displayed, and the line is redrawn. If a numeric argument is supplied, a <SAMP>`*'</SAMP> is appended before pathname expansion. <P> -<A NAME="IDX493"></A> +<A NAME="IDX498"></A> <DT><CODE>display-shell-version (C-x C-v)</CODE> -<DD><A NAME="IDX494"></A> +<DD><A NAME="IDX499"></A> Display version information about the current instance of Bash. <P> -<A NAME="IDX495"></A> +<A NAME="IDX500"></A> <DT><CODE>shell-expand-line (M-C-e)</CODE> -<DD><A NAME="IDX496"></A> +<DD><A NAME="IDX501"></A> Expand the line as the shell does. This performs alias and history expansion as well as all of the shell word expansions (see section <A HREF="bashref.html#SEC27">3.5 Shell Expansions</A>). <P> -<A NAME="IDX497"></A> +<A NAME="IDX502"></A> <DT><CODE>history-expand-line (M-^)</CODE> -<DD><A NAME="IDX498"></A> +<DD><A NAME="IDX503"></A> Perform history expansion on the current line. <P> -<A NAME="IDX499"></A> +<A NAME="IDX504"></A> <DT><CODE>magic-space ()</CODE> -<DD><A NAME="IDX500"></A> +<DD><A NAME="IDX505"></A> Perform history expansion on the current line and insert a space -(see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>). +(see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>). <P> -<A NAME="IDX501"></A> +<A NAME="IDX506"></A> <DT><CODE>alias-expand-line ()</CODE> -<DD><A NAME="IDX502"></A> -Perform alias expansion on the current line (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>). +<DD><A NAME="IDX507"></A> +Perform alias expansion on the current line (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>). <P> -<A NAME="IDX503"></A> +<A NAME="IDX508"></A> <DT><CODE>history-and-alias-expand-line ()</CODE> -<DD><A NAME="IDX504"></A> +<DD><A NAME="IDX509"></A> Perform history and alias expansion on the current line. <P> -<A NAME="IDX505"></A> +<A NAME="IDX510"></A> <DT><CODE>insert-last-argument (M-. or M-_)</CODE> -<DD><A NAME="IDX506"></A> +<DD><A NAME="IDX511"></A> A synonym for <CODE>yank-last-arg</CODE>. <P> -<A NAME="IDX507"></A> +<A NAME="IDX512"></A> <DT><CODE>operate-and-get-next (C-o)</CODE> -<DD><A NAME="IDX508"></A> +<DD><A NAME="IDX513"></A> Accept the current line for execution and fetch the next line relative to the current line from the history for editing. Any argument is ignored. <P> -<A NAME="IDX509"></A> +<A NAME="IDX514"></A> <DT><CODE>edit-and-execute-command (C-xC-e)</CODE> -<DD><A NAME="IDX510"></A> +<DD><A NAME="IDX515"></A> Invoke an editor on the current command line, and execute the result as shell commands. Bash attempts to invoke @@ -10673,20 +10843,20 @@ as the editor, in that order. <A NAME="Readline vi Mode"></A> <HR SIZE="6"> -<A NAME="SEC114"></A> +<A NAME="SEC115"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC113"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.5 Readline vi Mode </H2> -<!--docid::SEC114::--> +<!--docid::SEC115::--> <P> While the Readline library does not have a full set of <CODE>vi</CODE> @@ -10697,7 +10867,7 @@ the POSIX 1003.2 standard. In order to switch interactively between <CODE>emacs</CODE> and <CODE>vi</CODE> editing modes, use the <SAMP>`set -o emacs'</SAMP> and <SAMP>`set -o vi'</SAMP> -commands (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +commands (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). The Readline default is <CODE>emacs</CODE> mode. </P><P> @@ -10711,25 +10881,25 @@ so forth. <A NAME="Programmable Completion"></A> <HR SIZE="6"> -<A NAME="SEC115"></A> +<A NAME="SEC116"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC114"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.6 Programmable Completion </H2> -<!--docid::SEC115::--> +<!--docid::SEC116::--> <P> When word completion is attempted for an argument to a command for which a completion specification (a <VAR>compspec</VAR>) has been defined -using the <CODE>complete</CODE> builtin (see section <A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A>), +using the <CODE>complete</CODE> builtin (see section <A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A>), the programmable completion facilities are invoked. </P><P> @@ -10745,7 +10915,7 @@ find a compspec for the portion following the final slash. Once a compspec has been found, it is used to generate the list of matching words. If a compspec is not found, the default Bash completion -described above (see section <A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A>) is performed. +described above (see section <A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A>) is performed. </P><P> First, the actions specified by the compspec are used. @@ -10754,7 +10924,7 @@ returned. When the <SAMP>`-f'</SAMP> or <SAMP>`-d'</SAMP> option is used for filename or directory name completion, the shell variable <CODE>FIGNORE</CODE> is used to filter the matches. -See section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>, for a description of <CODE>FIGNORE</CODE>. +See section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>, for a description of <CODE>FIGNORE</CODE>. </P><P> Any completions specified by a filename expansion pattern to the @@ -10783,7 +10953,7 @@ After these matches have been generated, any shell function or command specified with the <SAMP>`-F'</SAMP> and <SAMP>`-C'</SAMP> options is invoked. When the command or function is invoked, the <CODE>COMP_LINE</CODE>, <CODE>COMP_POINT</CODE>, <CODE>COMP_KEY</CODE>, and <CODE>COMP_TYPE</CODE> variables are -assigned values as described above (see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +assigned values as described above (see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). If a shell function is being invoked, the <CODE>COMP_WORDS</CODE> and <CODE>COMP_CWORD</CODE> variables are also set. When the function or command is invoked, the first argument is the @@ -10798,7 +10968,7 @@ the matches. Any function specified with <SAMP>`-F'</SAMP> is invoked first. The function may use any of the shell facilities, including the <CODE>compgen</CODE> and <CODE>compopt</CODE> builtins described below -(see section <A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A>), to generate the matches. +(see section <A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A>), to generate the matches. It must put the possible completions in the <CODE>COMPREPLY</CODE> array variable. </P><P> @@ -10859,20 +11029,20 @@ of the setting of the <VAR>mark-symlinked-directories</VAR> Readline variable. <A NAME="Programmable Completion Builtins"></A> <HR SIZE="6"> -<A NAME="SEC116"></A> +<A NAME="SEC117"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC115"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC93"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC94"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 8.7 Programmable Completion Builtins </H2> -<!--docid::SEC116::--> +<!--docid::SEC117::--> <P> Two builtin commands are available to manipulate the programmable completion @@ -10881,7 +11051,7 @@ facilities. <DL COMPACT> <DT><CODE>compgen</CODE> -<DD><A NAME="IDX511"></A> +<DD><A NAME="IDX516"></A> <TABLE><tr><td> </td><td class=example><pre><CODE>compgen [<VAR>option</VAR>] [<VAR>word</VAR>]</CODE> </pre></td></tr></table><P> @@ -10907,11 +11077,11 @@ matches were generated. </P><P> <DT><CODE>complete</CODE> -<DD><A NAME="IDX512"></A> -<TABLE><tr><td> </td><td class=example><pre><CODE>complete [-abcdefgjksuv] [-o <VAR>comp-option</VAR>] [-A <VAR>action</VAR>] [-G <VAR>globpat</VAR>] [-W <VAR>wordlist</VAR>] +<DD><A NAME="IDX517"></A> +<TABLE><tr><td> </td><td class=example><pre><CODE>complete [-abcdefgjksuv] [-o <VAR>comp-option</VAR>] [-E] [-A <VAR>action</VAR>] [-G <VAR>globpat</VAR>] [-W <VAR>wordlist</VAR>] [-F <VAR>function</VAR>] [-C <VAR>command</VAR>] [-X <VAR>filterpat</VAR>] [-P <VAR>prefix</VAR>] [-S <VAR>suffix</VAR>] <VAR>name</VAR> [<VAR>name</VAR> <small>...</small>]</CODE> -<CODE>complete -pr [<VAR>name</VAR> <small>...</small>]</CODE> +<CODE>complete -pr [-E] [<VAR>name</VAR> <small>...</small>]</CODE> </pre></td></tr></table><P> Specify how arguments to each <VAR>name</VAR> should be completed. @@ -10921,10 +11091,13 @@ reused as input. The <SAMP>`-r'</SAMP> option removes a completion specification for each <VAR>name</VAR>, or, if no <VAR>name</VAR>s are supplied, all completion specifications. +The <SAMP>`-E'</SAMP> option indicates that the remaining options and actions should +apply to "empty" command completion; that is, completion attempted on a +blank line. </P><P> The process of applying these completion specifications when word completion -is attempted is described above (see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +is attempted is described above (see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). </P><P> Other options, if specified, have the following meanings. @@ -10993,7 +11166,7 @@ completions: <P> <DT><CODE>binding</CODE> -<DD>Readline key binding names (see section <A HREF="bashref.html#SEC105">8.4 Bindable Readline Commands</A>). +<DD>Readline key binding names (see section <A HREF="bashref.html#SEC106">8.4 Bindable Readline Commands</A>). <P> <DT><CODE>builtin</CODE> @@ -11033,12 +11206,12 @@ completions: <P> <DT><CODE>helptopic</CODE> -<DD>Help topics as accepted by the <CODE>help</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +<DD>Help topics as accepted by the <CODE>help</CODE> builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <DT><CODE>hostname</CODE> <DD>Hostnames, as taken from the file specified by the -<CODE>HOSTFILE</CODE> shell variable (see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). +<CODE>HOSTFILE</CODE> shell variable (see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). <P> <DT><CODE>job</CODE> @@ -11059,12 +11232,12 @@ completions: <DT><CODE>setopt</CODE> <DD>Valid arguments for the <SAMP>`-o'</SAMP> option to the <CODE>set</CODE> builtin -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <DT><CODE>shopt</CODE> <DD>Shell option names as accepted by the <CODE>shopt</CODE> builtin -(see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +(see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <DT><CODE>signal</CODE> @@ -11137,7 +11310,7 @@ an error occurs adding a completion specification. </P><P> <DT><CODE>compopt</CODE> -<DD><A NAME="IDX513"></A> +<DD><A NAME="IDX518"></A> <TABLE><tr><td> </td><td class=example><pre><CODE>compopt</CODE> [-o <VAR>option</VAR>] [+o <VAR>option</VAR>] [<VAR>name</VAR>] </pre></td></tr></table>Modify completion options for each <VAR>name</VAR> according to the <VAR>option</VAR>s, or for the currently-execution completion if no <VAR>name</VAR>s @@ -11156,25 +11329,25 @@ specification exists, or an output error occurs. </DL> <P> -<A NAME="IDX514"></A> +<A NAME="IDX519"></A> </P><P> <A NAME="Using History Interactively"></A> <HR SIZE="6"> -<A NAME="SEC117"></A> +<A NAME="SEC118"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC116"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC119"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 9. Using History Interactively </H1> -<!--docid::SEC117::--> +<!--docid::SEC118::--> <P> This chapter describes how to use the GNU History Library @@ -11185,34 +11358,34 @@ see the GNU Readline Library Manual. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash lets you manipulate your command +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How Bash lets you manipulate your command history.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC119">9.2 Bash History Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The Bash builtin commands that manipulate +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC120">9.2 Bash History Builtins</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">The Bash builtin commands that manipulate the command history.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC120">9.3 History Expansion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What it feels like using History as a user.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC121">9.3 History Expansion</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">What it feels like using History as a user.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Bash History Facilities"></A> <HR SIZE="6"> -<A NAME="SEC118"></A> +<A NAME="SEC119"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC119"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 9.1 Bash History Facilities </H2> -<!--docid::SEC118::--> +<!--docid::SEC119::--> <P> When the <SAMP>`-o history'</SAMP> option to the <CODE>set</CODE> builtin -is enabled (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>), +is enabled (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>), the shell provides access to the <EM>command history</EM>, the list of commands previously typed. The value of the <CODE>HISTSIZE</CODE> shell variable is used as the @@ -11234,7 +11407,7 @@ the value of the <CODE>HISTFILESIZE</CODE> variable. When an interactive shell exits, the last <CODE>$HISTSIZE</CODE> lines are copied from the history list to the file named by <CODE>$HISTFILE</CODE>. -If the <CODE>histappend</CODE> shell option is set (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>), +If the <CODE>histappend</CODE> shell option is set (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>), the lines are appended to the history file, otherwise the history file is overwritten. If <CODE>HISTFILE</CODE> @@ -11258,7 +11431,7 @@ The <CODE>history</CODE> builtin may be used to display or modify the history list and manipulate the history file. When using command-line editing, search commands are available in each editing mode that provide access to the -history list (see section <A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A>). +history list (see section <A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A>). </P><P> The shell allows control over which commands are saved on the history @@ -11273,25 +11446,25 @@ The <CODE>lithist</CODE> shell option causes the shell to save the command with embedded newlines instead of semicolons. The <CODE>shopt</CODE> builtin is used to set these options. -See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>, for a description of <CODE>shopt</CODE>. +See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>, for a description of <CODE>shopt</CODE>. </P><P> <A NAME="Bash History Builtins"></A> <HR SIZE="6"> -<A NAME="SEC119"></A> +<A NAME="SEC120"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC119"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 9.2 Bash History Builtins </H2> -<!--docid::SEC119::--> +<!--docid::SEC120::--> <P> Bash provides two builtin commands which manipulate the @@ -11301,7 +11474,7 @@ history list and history file. <DL COMPACT> <DT><CODE>fc</CODE> -<DD><A NAME="IDX515"></A> +<DD><A NAME="IDX520"></A> <TABLE><tr><td> </td><td class=example><pre><CODE>fc [-e <VAR>ename</VAR>] [-lnr] [<VAR>first</VAR>] [<VAR>last</VAR>]</CODE> <CODE>fc -s [<VAR>pat</VAR>=<VAR>rep</VAR>] [<VAR>command</VAR>]</CODE> </pre></td></tr></table><P> @@ -11331,11 +11504,11 @@ of <VAR>pat</VAR> in the selected command is replaced by <VAR>rep</VAR>. A useful alias to use with the <CODE>fc</CODE> command is <CODE>r='fc -s'</CODE>, so that typing <SAMP>`r cc'</SAMP> runs the last command beginning with <CODE>cc</CODE> -and typing <SAMP>`r'</SAMP> re-executes the last command (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>). +and typing <SAMP>`r'</SAMP> re-executes the last command (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>). </P><P> <DT><CODE>history</CODE> -<DD><A NAME="IDX516"></A> +<DD><A NAME="IDX521"></A> <TABLE><tr><td> </td><td class=example><pre>history [<VAR>n</VAR>] history -c history -d <VAR>offset</VAR> @@ -11413,20 +11586,20 @@ the value of the <CODE>HISTFILE</CODE> variable is used. <A NAME="History Interaction"></A> <HR SIZE="6"> -<A NAME="SEC120"></A> +<A NAME="SEC121"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC119"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC122"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC117"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC118"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 9.3 History Expansion </H2> -<!--docid::SEC120::--> +<!--docid::SEC121::--> <P> The History library provides a history expansion feature that is similar @@ -11456,7 +11629,7 @@ character. </P><P> Several shell options settable with the <CODE>shopt</CODE> -builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>) may be used to tailor +builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>) may be used to tailor the behavior of history expansion. If the <CODE>histverify</CODE> shell option is enabled, and Readline is being used, history substitutions are not immediately passed to @@ -11476,39 +11649,39 @@ This is most useful in conjunction with Readline. The shell allows control of the various characters used by the history expansion mechanism with the <CODE>histchars</CODE> variable, -as explained above (see section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>). The shell uses +as explained above (see section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>). The shell uses the history comment character to mark history timestamps when writing the history file. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC121">9.3.1 Event Designators</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to specify which history line to use.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC122">9.3.2 Word Designators</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Specifying which words are of interest.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC123">9.3.3 Modifiers</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Modifying the results of substitution.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC122">9.3.1 Event Designators</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to specify which history line to use.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC123">9.3.2 Word Designators</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Specifying which words are of interest.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC124">9.3.3 Modifiers</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Modifying the results of substitution.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Event Designators"></A> <HR SIZE="6"> -<A NAME="SEC121"></A> +<A NAME="SEC122"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC122"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC123"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 9.3.1 Event Designators </H3> -<!--docid::SEC121::--> +<!--docid::SEC122::--> <P> An event designator is a reference to a command line entry in the history list. -<A NAME="IDX517"></A> +<A NAME="IDX522"></A> </P><P> <DL COMPACT> @@ -11556,20 +11729,20 @@ with <VAR>string2</VAR>. Equivalent to <A NAME="Word Designators"></A> <HR SIZE="6"> -<A NAME="SEC122"></A> +<A NAME="SEC123"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC123"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC123"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC122"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 9.3.2 Word Designators </H3> -<!--docid::SEC122::--> +<!--docid::SEC123::--> <P> Word designators are used to select desired words from the event. @@ -11651,20 +11824,20 @@ previous command is used as the event. <A NAME="Modifiers"></A> <HR SIZE="6"> -<A NAME="SEC123"></A> +<A NAME="SEC124"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC122"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC123"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC120"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC121"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H3> 9.3.3 Modifiers </H3> -<!--docid::SEC123::--> +<!--docid::SEC124::--> <P> After the optional word designator, you can add a sequence of one or more @@ -11733,20 +11906,20 @@ or with <SAMP>`&'</SAMP>. <A NAME="Installing Bash"></A> <HR SIZE="6"> -<A NAME="SEC124"></A> +<A NAME="SEC125"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC123"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC126"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC4"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> 10. Installing Bash </H1> -<!--docid::SEC124::--> +<!--docid::SEC125::--> <P> This chapter provides basic instructions for installing Bash on @@ -11758,38 +11931,38 @@ MS-DOS, OS/2, and Windows platforms. </P><P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC125">10.1 Basic Installation</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Installation instructions.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC126">10.2 Compilers and Options</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to set special options for various +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC126">10.1 Basic Installation</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Installation instructions.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC127">10.2 Compilers and Options</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to set special options for various systems.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC127">10.3 Compiling For Multiple Architectures</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to compile Bash for more +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC128">10.3 Compiling For Multiple Architectures</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to compile Bash for more than one kind of system from the same source tree.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC128">10.4 Installation Names</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to set the various paths used by the installation.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC129">10.5 Specifying the System Type</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to configure Bash for a particular system.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC130">10.6 Sharing Defaults</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to share default configuration values among GNU +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC129">10.4 Installation Names</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to set the various paths used by the installation.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC130">10.5 Specifying the System Type</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to configure Bash for a particular system.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC131">10.6 Sharing Defaults</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to share default configuration values among GNU programs.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC131">10.7 Operation Controls</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Options recognized by the configuration program.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC132">10.8 Optional Features</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to enable and disable optional features when +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC132">10.7 Operation Controls</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Options recognized by the configuration program.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC133">10.8 Optional Features</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">How to enable and disable optional features when building Bash.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Basic Installation"></A> <HR SIZE="6"> -<A NAME="SEC125"></A> +<A NAME="SEC126"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC126"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC127"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.1 Basic Installation </H2> -<!--docid::SEC125::--> +<!--docid::SEC126::--> <P> These are installation instructions for Bash. @@ -11879,20 +12052,20 @@ a different kind of computer), type <SAMP>`make distclean'</SAMP>. <A NAME="Compilers and Options"></A> <HR SIZE="6"> -<A NAME="SEC126"></A> +<A NAME="SEC127"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC127"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC127"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC126"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.2 Compilers and Options </H2> -<!--docid::SEC126::--> +<!--docid::SEC127::--> <P> Some systems require unusual options for compilation or linking @@ -11917,20 +12090,20 @@ is available. <A NAME="Compiling For Multiple Architectures"></A> <HR SIZE="6"> -<A NAME="SEC127"></A> +<A NAME="SEC128"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC126"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC127"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.3 Compiling For Multiple Architectures </H2> -<!--docid::SEC127::--> +<!--docid::SEC128::--> <P> You can compile Bash for more than one kind of computer at the @@ -11969,20 +12142,20 @@ directories for other architectures. <A NAME="Installation Names"></A> <HR SIZE="6"> -<A NAME="SEC128"></A> +<A NAME="SEC129"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC127"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.4 Installation Names </H2> -<!--docid::SEC128::--> +<!--docid::SEC129::--> <P> By default, <SAMP>`make install'</SAMP> will install into @@ -12003,20 +12176,20 @@ Documentation and other data files will still use the regular prefix. <A NAME="Specifying the System Type"></A> <HR SIZE="6"> -<A NAME="SEC129"></A> +<A NAME="SEC130"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC128"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.5 Specifying the System Type </H2> -<!--docid::SEC129::--> +<!--docid::SEC130::--> <P> There may be some features <CODE>configure</CODE> can not figure out @@ -12035,20 +12208,20 @@ values of each field. <A NAME="Sharing Defaults"></A> <HR SIZE="6"> -<A NAME="SEC130"></A> +<A NAME="SEC131"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC129"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.6 Sharing Defaults </H2> -<!--docid::SEC130::--> +<!--docid::SEC131::--> <P> If you want to set default values for <CODE>configure</CODE> scripts to @@ -12064,20 +12237,20 @@ but not all <CODE>configure</CODE> scripts do. <A NAME="Operation Controls"></A> <HR SIZE="6"> -<A NAME="SEC131"></A> +<A NAME="SEC132"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC130"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.7 Operation Controls </H2> -<!--docid::SEC131::--> +<!--docid::SEC132::--> <P> <CODE>configure</CODE> recognizes the following options to control how it @@ -12120,20 +12293,20 @@ options. <SAMP>`configure --help'</SAMP> prints the complete list. <A NAME="Optional Features"></A> <HR SIZE="6"> -<A NAME="SEC132"></A> +<A NAME="SEC133"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC131"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> 10.8 Optional Features </H2> -<!--docid::SEC132::--> +<!--docid::SEC133::--> <P> The Bash <CODE>configure</CODE> has a number of <SAMP>`--enable-<VAR>feature</VAR>'</SAMP> @@ -12240,7 +12413,7 @@ necessary support. <DL COMPACT> <DT><CODE>--enable-alias</CODE> <DD>Allow alias expansion and include the <CODE>alias</CODE> and <CODE>unalias</CODE> -builtins (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>). +builtins (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>). <P> <DT><CODE>--enable-arith-for-command</CODE> @@ -12251,12 +12424,12 @@ that behaves like the C language <CODE>for</CODE> statement <DT><CODE>--enable-array-variables</CODE> <DD>Include support for one-dimensional array shell variables -(see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>). +(see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>). <P> <DT><CODE>--enable-bang-history</CODE> <DD>Include support for <CODE>csh</CODE>-like history substitution -(see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>). +(see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>). <P> <DT><CODE>--enable-brace-expansion</CODE> @@ -12290,13 +12463,13 @@ This allows pipelines as well as shell builtins and functions to be timed. <DT><CODE>--enable-directory-stack</CODE> <DD>Include support for a <CODE>csh</CODE>-like directory stack and the <CODE>pushd</CODE>, <CODE>popd</CODE>, and <CODE>dirs</CODE> builtins -(see section <A HREF="bashref.html#SEC84">6.8 The Directory Stack</A>). +(see section <A HREF="bashref.html#SEC85">6.8 The Directory Stack</A>). <P> <DT><CODE>--enable-disabled-builtins</CODE> <DD>Allow builtin commands to be invoked via <SAMP>`builtin xxx'</SAMP> even after <CODE>xxx</CODE> has been disabled using <SAMP>`enable -n xxx'</SAMP>. -See <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>, for details of the <CODE>builtin</CODE> and +See <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>, for details of the <CODE>builtin</CODE> and <CODE>enable</CODE> builtin commands. <P> @@ -12312,16 +12485,16 @@ above under <A HREF="bashref.html#SEC36">3.5.8.1 Pattern Matching</A>. <DT><CODE>--enable-help-builtin</CODE> <DD>Include the <CODE>help</CODE> builtin, which displays help on shell builtins and -variables (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +variables (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <DT><CODE>--enable-history</CODE> <DD>Include command history and the <CODE>fc</CODE> and <CODE>history</CODE> -builtin commands (see section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>). +builtin commands (see section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>). <P> <DT><CODE>--enable-job-control</CODE> -<DD>This enables the job control features (see section <A HREF="bashref.html#SEC89">7. Job Control</A>), +<DD>This enables the job control features (see section <A HREF="bashref.html#SEC90">7. Job Control</A>), if the operating system supports them. <P> @@ -12344,26 +12517,26 @@ the operating system provides the necessary support. <DT><CODE>--enable-progcomp</CODE> <DD>Enable the programmable completion facilities -(see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>). +(see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>). If Readline is not enabled, this option has no effect. <P> <DT><CODE>--enable-prompt-string-decoding</CODE> <DD>Turn on the interpretation of a number of backslash-escaped characters in the <CODE>$PS1</CODE>, <CODE>$PS2</CODE>, <CODE>$PS3</CODE>, and <CODE>$PS4</CODE> prompt -strings. See <A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A>, for a complete list of prompt +strings. See <A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A>, for a complete list of prompt string escape sequences. <P> <DT><CODE>--enable-readline</CODE> <DD>Include support for command-line editing and history with the Bash -version of the Readline library (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>). +version of the Readline library (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>). <P> <DT><CODE>--enable-restricted</CODE> <DD>Include support for a <EM>restricted shell</EM>. If this is enabled, Bash, when called as <CODE>rbash</CODE>, enters a restricted mode. See -<A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A>, for a description of restricted mode. +<A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A>, for a description of restricted mode. <P> <DT><CODE>--enable-select</CODE> @@ -12384,7 +12557,7 @@ literals. <P> <DT><CODE>--enable-strict-posix-default</CODE> -<DD>Make Bash POSIX-conformant by default (see section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>). +<DD>Make Bash POSIX-conformant by default (see section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>). <P> <DT><CODE>--enable-usg-echo-default</CODE> @@ -12397,7 +12570,7 @@ without requiring the <SAMP>`-e'</SAMP> option. This sets the default value of the <CODE>xpg_echo</CODE> shell option to <CODE>on</CODE>, which makes the Bash <CODE>echo</CODE> behave more like the version specified in the Single Unix Specification, version 3. -See section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>, for a description of the escape sequences that +See section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>, for a description of the escape sequences that <CODE>echo</CODE> recognizes. <P> @@ -12415,20 +12588,20 @@ information about its effect. <A NAME="Reporting Bugs"></A> <HR SIZE="6"> -<A NAME="SEC133"></A> +<A NAME="SEC134"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC132"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC124"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC125"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> A. Reporting Bugs </H1> -<!--docid::SEC133::--> +<!--docid::SEC134::--> <P> Please report all bugs you find in Bash. @@ -12473,20 +12646,20 @@ Please send all reports concerning this manual to <A NAME="Major Differences From The Bourne Shell"></A> <HR SIZE="6"> -<A NAME="SEC134"></A> +<A NAME="SEC135"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC133"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC137"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC137"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> B. Major Differences From The Bourne Shell </H1> -<!--docid::SEC134::--> +<!--docid::SEC135::--> <P> Bash implements essentially the same grammar, parameter and @@ -12505,27 +12678,27 @@ last version of the historical Bourne shell) as the baseline reference. <LI> Bash is POSIX-conformant, even where the POSIX specification -differs from traditional <CODE>sh</CODE> behavior (see section <A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A>). +differs from traditional <CODE>sh</CODE> behavior (see section <A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A>). <P> <LI> -Bash has multi-character invocation options (see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>). +Bash has multi-character invocation options (see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>). <P> <LI> -Bash has command-line editing (see section <A HREF="bashref.html#SEC93">8. Command Line Editing</A>) and +Bash has command-line editing (see section <A HREF="bashref.html#SEC94">8. Command Line Editing</A>) and the <CODE>bind</CODE> builtin. <P> <LI> Bash provides a programmable word completion mechanism -(see section <A HREF="bashref.html#SEC115">8.6 Programmable Completion</A>), and builtin commands +(see section <A HREF="bashref.html#SEC116">8.6 Programmable Completion</A>), and builtin commands <CODE>complete</CODE>, <CODE>compgen</CODE>, and <CODE>compopt</CODE>, to manipulate it. <P> <LI> -Bash has command history (see section <A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A>) and the +Bash has command history (see section <A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A>) and the <CODE>history</CODE> and <CODE>fc</CODE> builtins to manipulate it. The Bash history list maintains timestamp information and uses the value of the <CODE>HISTTIMEFORMAT</CODE> variable to display it. @@ -12533,11 +12706,11 @@ value of the <CODE>HISTTIMEFORMAT</CODE> variable to display it. <LI> Bash implements <CODE>csh</CODE>-like history expansion -(see section <A HREF="bashref.html#SEC120">9.3 History Expansion</A>). +(see section <A HREF="bashref.html#SEC121">9.3 History Expansion</A>). <P> <LI> -Bash has one-dimensional array variables (see section <A HREF="bashref.html#SEC83">6.7 Arrays</A>), and the +Bash has one-dimensional array variables (see section <A HREF="bashref.html#SEC84">6.7 Arrays</A>), and the appropriate variable expansions and assignment syntax to use them. Several of the Bash builtins take options to act on arrays. Bash provides a number of built-in array variables. @@ -12599,13 +12772,13 @@ expansion (see section <A HREF="bashref.html#SEC29">3.5.2 Tilde Expansion</A>). <LI> Bash implements command aliases and the <CODE>alias</CODE> and <CODE>unalias</CODE> -builtins (see section <A HREF="bashref.html#SEC82">6.6 Aliases</A>). +builtins (see section <A HREF="bashref.html#SEC83">6.6 Aliases</A>). <P> <LI> Bash provides shell arithmetic, the <CODE>((</CODE> compound command (see section <A HREF="bashref.html#SEC21">3.2.4.2 Conditional Constructs</A>), -and arithmetic expansion (see section <A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A>). +and arithmetic expansion (see section <A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A>). <P> <LI> @@ -12677,7 +12850,7 @@ Bash automatically assigns variables that provide information about the current user (<CODE>UID</CODE>, <CODE>EUID</CODE>, and <CODE>GROUPS</CODE>), the current host (<CODE>HOSTTYPE</CODE>, <CODE>OSTYPE</CODE>, <CODE>MACHTYPE</CODE>, and <CODE>HOSTNAME</CODE>), and the instance of Bash that is running (<CODE>BASH</CODE>, -<CODE>BASH_VERSION</CODE>, and <CODE>BASH_VERSINFO</CODE>). See section <A HREF="bashref.html#SEC65">5.2 Bash Variables</A>, +<CODE>BASH_VERSION</CODE>, and <CODE>BASH_VERSINFO</CODE>). See section <A HREF="bashref.html#SEC66">5.2 Bash Variables</A>, for details. <P> @@ -12706,12 +12879,12 @@ It is possible to have a variable and a function with the same name; <LI> Bash functions are permitted to have local variables using the <CODE>local</CODE> builtin, and thus useful recursive functions may be written -(see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +(see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> Variable assignments preceding commands affect only that command, even -builtins and functions (see section <A HREF="bashref.html#SEC52">3.7.4 Environment</A>). +builtins and functions (see section <A HREF="bashref.html#SEC53">3.7.4 Environment</A>). In <CODE>sh</CODE>, all variable assignments preceding commands are global unless the command is executed from the file system. @@ -12751,12 +12924,12 @@ with the redirection operators (see section <A HREF="bashref.html#SEC38">3.6 Red <LI> The <CODE>noclobber</CODE> option is available to avoid overwriting existing -files with output redirection (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +files with output redirection (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). The <SAMP>`>|'</SAMP> redirection operator may be used to override <CODE>noclobber</CODE>. <P> <LI> -The Bash <CODE>cd</CODE> and <CODE>pwd</CODE> builtins (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) +The Bash <CODE>cd</CODE> and <CODE>pwd</CODE> builtins (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) each take <SAMP>`-L'</SAMP> and <SAMP>`-P'</SAMP> options to switch between logical and physical modes. <P> @@ -12764,24 +12937,24 @@ physical modes. <LI> Bash allows a function to override a builtin with the same name, and provides access to that builtin's functionality within the function via the -<CODE>builtin</CODE> and <CODE>command</CODE> builtins (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +<CODE>builtin</CODE> and <CODE>command</CODE> builtins (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> The <CODE>command</CODE> builtin allows selective disabling of functions -when command lookup is performed (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +when command lookup is performed (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> Individual builtins may be enabled or disabled using the <CODE>enable</CODE> -builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> The Bash <CODE>exec</CODE> builtin takes additional options that allow users to control the contents of the environment passed to the executed command, and what the zeroth argument to the command is to be -(see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <LI> @@ -12802,21 +12975,21 @@ and values simultaneously. The Bash <CODE>hash</CODE> builtin allows a name to be associated with an arbitrary filename, even when that filename cannot be found by searching the <CODE>$PATH</CODE>, using <SAMP>`hash -p'</SAMP> -(see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <LI> Bash includes a <CODE>help</CODE> builtin for quick reference to shell -facilities (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +facilities (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> The <CODE>printf</CODE> builtin is available to display formatted output -(see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +(see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> -The Bash <CODE>read</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>) +The Bash <CODE>read</CODE> builtin (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>) will read a line ending in <SAMP>`\'</SAMP> with the <SAMP>`-r'</SAMP> option, and will use the <CODE>REPLY</CODE> variable as a default if no non-option arguments are supplied. @@ -12835,28 +13008,28 @@ until a particular character rather than newline. <LI> The <CODE>return</CODE> builtin may be used to abort execution of scripts executed with the <CODE>.</CODE> or <CODE>source</CODE> builtins -(see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +(see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <LI> Bash includes the <CODE>shopt</CODE> builtin, for finer control of shell -optional capabilities (see section <A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A>), and allows these options -to be set and unset at shell invocation (see section <A HREF="bashref.html#SEC67">6.1 Invoking Bash</A>). +optional capabilities (see section <A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A>), and allows these options +to be set and unset at shell invocation (see section <A HREF="bashref.html#SEC68">6.1 Invoking Bash</A>). <P> <LI> Bash has much more optional behavior controllable with the <CODE>set</CODE> -builtin (see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +builtin (see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <LI> The <SAMP>`-x'</SAMP> (<CODE>xtrace</CODE>) option displays commands other than simple commands when performing an execution trace -(see section <A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A>). +(see section <A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A>). <P> <LI> -The <CODE>test</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) +The <CODE>test</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) is slightly different, as it implements the POSIX algorithm, which specifies the behavior based on the number of arguments. <P> @@ -12869,7 +13042,7 @@ debugger. <P> <LI> -The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) allows a +The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) allows a <CODE>DEBUG</CODE> pseudo-signal specification, similar to <CODE>EXIT</CODE>. Commands specified with a <CODE>DEBUG</CODE> trap are executed before every simple command, <CODE>for</CODE> command, <CODE>case</CODE> command, @@ -12882,7 +13055,7 @@ The <CODE>extdebug</CODE> shell option has additional effects on the <CODE>DEBUG</CODE> trap. <P> -The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) allows an +The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) allows an <CODE>ERR</CODE> pseudo-signal specification, similar to <CODE>EXIT</CODE> and <CODE>DEBUG</CODE>. Commands specified with an <CODE>ERR</CODE> trap are executed after a simple command fails, with a few exceptions. @@ -12890,7 +13063,7 @@ The <CODE>ERR</CODE> trap is not inherited by shell functions unless the <CODE>-o errtrace</CODE> option to the <CODE>set</CODE> builtin is enabled. </P><P> -The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>) allows a +The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>) allows a <CODE>RETURN</CODE> pseudo-signal specification, similar to <CODE>EXIT</CODE> and <CODE>DEBUG</CODE>. Commands specified with an <CODE>RETURN</CODE> trap are executed before @@ -12903,36 +13076,36 @@ function has been given the <CODE>trace</CODE> attribute or the <LI> The Bash <CODE>type</CODE> builtin is more extensive and gives more information -about the names it finds (see section <A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A>). +about the names it finds (see section <A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A>). <P> <LI> The Bash <CODE>umask</CODE> builtin permits a <SAMP>`-p'</SAMP> option to cause the output to be displayed in the form of a <CODE>umask</CODE> command -that may be reused as input (see section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>). +that may be reused as input (see section <A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A>). <P> <LI> Bash implements a <CODE>csh</CODE>-like directory stack, and provides the <CODE>pushd</CODE>, <CODE>popd</CODE>, and <CODE>dirs</CODE> builtins to manipulate it -(see section <A HREF="bashref.html#SEC84">6.8 The Directory Stack</A>). +(see section <A HREF="bashref.html#SEC85">6.8 The Directory Stack</A>). Bash also makes the directory stack visible as the value of the <CODE>DIRSTACK</CODE> shell variable. <P> <LI> Bash interprets special backslash-escaped characters in the prompt -strings when interactive (see section <A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A>). +strings when interactive (see section <A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A>). <P> <LI> -The Bash restricted mode is more useful (see section <A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A>); +The Bash restricted mode is more useful (see section <A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A>); the SVR4.2 shell restricted mode is too limited. <P> <LI> The <CODE>disown</CODE> builtin can remove a job from the internal shell -job table (see section <A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A>) or suppress the sending +job table (see section <A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A>) or suppress the sending of <CODE>SIGHUP</CODE> to a job when the shell exits as the result of a <CODE>SIGHUP</CODE>. <P> @@ -12963,24 +13136,24 @@ The SVR4.2 <CODE>sh</CODE> uses a <CODE>TIMEOUT</CODE> variable like Bash uses </UL> <P> -More features unique to Bash may be found in <A HREF="bashref.html#SEC66">6. Bash Features</A>. +More features unique to Bash may be found in <A HREF="bashref.html#SEC67">6. Bash Features</A>. </P><P> <HR SIZE="6"> -<A NAME="SEC135"></A> +<A NAME="SEC136"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC134"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> >> </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC137"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC137"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> B.1 Implementation Differences From The SVR4.2 Shell </H2> -<!--docid::SEC135::--> +<!--docid::SEC136::--> <P> Since Bash is a completely new implementation, it does not suffer from @@ -13052,20 +13225,20 @@ The SVR4.2 shell behaves differently when invoked as <CODE>jsh</CODE> <A NAME="GNU Free Documentation License"></A> <HR SIZE="6"> -<A NAME="SEC136"></A> +<A NAME="SEC137"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC135"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> << </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> << </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> >> </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> >> </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> C. GNU Free Documentation License </H1> -<!--docid::SEC136::--> +<!--docid::SEC137::--> <P> <center> @@ -13536,9 +13709,9 @@ as a draft) by the Free Software Foundation. </OL> <P> -<A NAME="SEC137"></A> +<A NAME="SEC138"></A> <H2> ADDENDUM: How to use this License for your documents </H2> -<!--docid::SEC137::--> +<!--docid::SEC138::--> <P> To use this License in a document you have written, include a copy of @@ -13577,49 +13750,49 @@ to permit their use in free software. <A NAME="Indexes"></A> <HR SIZE="6"> -<A NAME="SEC138"></A> +<A NAME="SEC139"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC136"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC137"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC140"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1> D. Indexes </H1> -<!--docid::SEC138::--> +<!--docid::SEC139::--> <P> <BLOCKQUOTE><TABLE BORDER=0 CELLSPACING=0> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC139">D.1 Index of Shell Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of Bash builtin commands.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC140">D.2 Index of Shell Reserved Words</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of Bash reserved words.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC141">D.3 Parameter and Variable Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Quick reference helps you find the +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC140">D.1 Index of Shell Builtin Commands</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of Bash builtin commands.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC141">D.2 Index of Shell Reserved Words</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of Bash reserved words.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC142">D.3 Parameter and Variable Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Quick reference helps you find the variable you want.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC142">D.4 Function Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of bindable Readline functions.</TD></TR> -<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC143">D.5 Concept Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">General index for concepts described in +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC143">D.4 Function Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">Index of bindable Readline functions.</TD></TR> +<TR><TD ALIGN="left" VALIGN="TOP"><A HREF="bashref.html#SEC144">D.5 Concept Index</A></TD><TD> </TD><TD ALIGN="left" VALIGN="TOP">General index for concepts described in this manual.</TD></TR> </TABLE></BLOCKQUOTE> <P> <A NAME="Builtin Index"></A> <HR SIZE="6"> -<A NAME="SEC139"></A> +<A NAME="SEC140"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC140"> > </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC141"> > </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> D.1 Index of Shell Builtin Commands </H2> -<!--docid::SEC139::--> +<!--docid::SEC140::--> <table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#bt_." style="text-decoration:none"><b>.</b></A> <A HREF="bashref.html#bt_:" style="text-decoration:none"><b>:</b></A> @@ -13649,6 +13822,8 @@ to permit their use in free software. <A HREF="bashref.html#bt_L" style="text-decoration:none"><b>L</b></A> +<A HREF="bashref.html#bt_M" style="text-decoration:none"><b>M</b></A> + <A HREF="bashref.html#bt_P" style="text-decoration:none"><b>P</b></A> <A HREF="bashref.html#bt_R" style="text-decoration:none"><b>R</b></A> @@ -13666,101 +13841,104 @@ to permit their use in free software. <TR><TD></TD><TH ALIGN=LEFT>Index Entry</TH><TH ALIGN=LEFT> Section</TH></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_."></A>.</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX69"><CODE>.</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX69"><CODE>.</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_:"></A>:</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX68"><CODE>:</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX68"><CODE>:</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_["></A>[</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX84"><CODE>[</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX84"><CODE>[</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_A"></A>A</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX89"><CODE>alias</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX89"><CODE>alias</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_B"></A>B</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX281"><CODE>bg</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX90"><CODE>bind</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX70"><CODE>break</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX91"><CODE>builtin</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX282"><CODE>bg</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX90"><CODE>bind</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX70"><CODE>break</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX91"><CODE>builtin</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_C"></A>C</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX92"><CODE>caller</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX71"><CODE>cd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX93"><CODE>command</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX511"><CODE>compgen</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX512"><CODE>complete</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX513"><CODE>compopt</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX72"><CODE>continue</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX92"><CODE>caller</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX71"><CODE>cd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX93"><CODE>command</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX516"><CODE>compgen</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX517"><CODE>complete</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX518"><CODE>compopt</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX72"><CODE>continue</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_D"></A>D</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX94"><CODE>declare</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX278"><CODE>dirs</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX286"><CODE>disown</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX94"><CODE>declare</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX279"><CODE>dirs</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX287"><CODE>disown</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_E"></A>E</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX95"><CODE>echo</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX96"><CODE>enable</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX73"><CODE>eval</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX74"><CODE>exec</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX75"><CODE>exit</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX76"><CODE>export</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX95"><CODE>echo</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX96"><CODE>enable</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX73"><CODE>eval</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX74"><CODE>exec</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX75"><CODE>exit</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX76"><CODE>export</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_F"></A>F</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX515"><CODE>fc</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC119">9.2 Bash History Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX282"><CODE>fg</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX520"><CODE>fc</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC120">9.2 Bash History Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX283"><CODE>fg</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_G"></A>G</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX77"><CODE>getopts</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX77"><CODE>getopts</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_H"></A>H</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX78"><CODE>hash</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX97"><CODE>help</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX516"><CODE>history</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC119">9.2 Bash History Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX78"><CODE>hash</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX97"><CODE>help</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX521"><CODE>history</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC120">9.2 Bash History Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_J"></A>J</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX283"><CODE>jobs</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX284"><CODE>jobs</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_K"></A>K</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX284"><CODE>kill</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX285"><CODE>kill</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_L"></A>L</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX98"><CODE>let</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX99"><CODE>local</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX100"><CODE>logout</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX98"><CODE>let</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX99"><CODE>local</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX100"><CODE>logout</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD COLSPAN=3> <HR></TD></TR> +<TR><TH><A NAME="bt_M"></A>M</TH><TD></TD><TD></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX101"><CODE>mapfile</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_P"></A>P</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX279"><CODE>popd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX101"><CODE>printf</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX280"><CODE>pushd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX79"><CODE>pwd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX280"><CODE>popd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX102"><CODE>printf</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX281"><CODE>pushd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX79"><CODE>pwd</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_R"></A>R</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX102"><CODE>read</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX80"><CODE>readonly</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX81"><CODE>return</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX103"><CODE>read</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX80"><CODE>readonly</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX81"><CODE>return</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_S"></A>S</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX108"><CODE>set</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX82"><CODE>shift</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX109"><CODE>shopt</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX103"><CODE>source</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX287"><CODE>suspend</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX109"><CODE>set</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX82"><CODE>shift</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX110"><CODE>shopt</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX104"><CODE>source</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX288"><CODE>suspend</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_T"></A>T</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX83"><CODE>test</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX85"><CODE>times</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX86"><CODE>trap</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX104"><CODE>type</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX105"><CODE>typeset</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX83"><CODE>test</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX85"><CODE>times</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX86"><CODE>trap</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX105"><CODE>type</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX106"><CODE>typeset</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_U"></A>U</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX106"><CODE>ulimit</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX87"><CODE>umask</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX107"><CODE>unalias</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX88"><CODE>unset</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX107"><CODE>ulimit</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX87"><CODE>umask</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX108"><CODE>unalias</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX88"><CODE>unset</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="bt_W"></A>W</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX285"><CODE>wait</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.2 Job Control Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX286"><CODE>wait</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.2 Job Control Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> </TABLE><P></P><table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#bt_." style="text-decoration:none"><b>.</b></A> @@ -13791,6 +13969,8 @@ to permit their use in free software. <A HREF="bashref.html#bt_L" style="text-decoration:none"><b>L</b></A> +<A HREF="bashref.html#bt_M" style="text-decoration:none"><b>M</b></A> + <A HREF="bashref.html#bt_P" style="text-decoration:none"><b>P</b></A> <A HREF="bashref.html#bt_R" style="text-decoration:none"><b>R</b></A> @@ -13807,20 +13987,20 @@ to permit their use in free software. <A NAME="Reserved Word Index"></A> <HR SIZE="6"> -<A NAME="SEC140"></A> +<A NAME="SEC141"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC141"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC141"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> Up </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC140"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> D.2 Index of Shell Reserved Words </H2> -<!--docid::SEC140::--> +<!--docid::SEC141::--> <table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#rw_!" style="text-decoration:none"><b>!</b></A> <A HREF="bashref.html#rw_[" style="text-decoration:none"><b>[</b></A> @@ -13936,20 +14116,20 @@ to permit their use in free software. <A NAME="Variable Index"></A> <HR SIZE="6"> -<A NAME="SEC141"></A> +<A NAME="SEC142"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC140"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> Up </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC141"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC143"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC143"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> D.3 Parameter and Variable Index </H2> -<!--docid::SEC141::--> +<!--docid::SEC142::--> <table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#vr_!" style="text-decoration:none"><b>!</b></A> <A HREF="bashref.html#vr_#" style="text-decoration:none"><b>#</b></A> @@ -14048,237 +14228,239 @@ to permit their use in free software. <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX63"><CODE>_</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC26">3.4.2 Special Parameters</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_A"></A>A</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX288"><CODE>auto_resume</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.3 Job Control Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX289"><CODE>auto_resume</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.3 Job Control Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX289"><CODE>auto_resume</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC93">7.3 Job Control Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX290"><CODE>auto_resume</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC93">7.3 Job Control Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_B"></A>B</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX130"><CODE>BASH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX131"><CODE>BASH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX134"><CODE>BASH_ARGC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX135"><CODE>BASH_ARGC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX136"><CODE>BASH_ARGV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX137"><CODE>BASH_ARGV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX138"><CODE>BASH_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX139"><CODE>BASH_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX140"><CODE>BASH_ENV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX141"><CODE>BASH_ENV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX142"><CODE>BASH_EXECUTION_STRING</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX143"><CODE>BASH_EXECUTION_STRING</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX144"><CODE>BASH_LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX145"><CODE>BASH_LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX146"><CODE>BASH_REMATCH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX147"><CODE>BASH_REMATCH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX148"><CODE>BASH_SOURCE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX149"><CODE>BASH_SOURCE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX150"><CODE>BASH_SUBSHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX151"><CODE>BASH_SUBSHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX152"><CODE>BASH_VERSINFO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX153"><CODE>BASH_VERSINFO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX154"><CODE>BASH_VERSION</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX155"><CODE>BASH_VERSION</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX132"><CODE>BASHPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX133"><CODE>BASHPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX295"><CODE>bell-style</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX296"><CODE>bind-tty-special-chars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX131"><CODE>BASH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX132"><CODE>BASH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX135"><CODE>BASH_ARGC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX136"><CODE>BASH_ARGC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX137"><CODE>BASH_ARGV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX138"><CODE>BASH_ARGV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX139"><CODE>BASH_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX140"><CODE>BASH_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX141"><CODE>BASH_ENV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX142"><CODE>BASH_ENV</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX143"><CODE>BASH_EXECUTION_STRING</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX144"><CODE>BASH_EXECUTION_STRING</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX145"><CODE>BASH_LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX146"><CODE>BASH_LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX147"><CODE>BASH_REMATCH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX148"><CODE>BASH_REMATCH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX149"><CODE>BASH_SOURCE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX150"><CODE>BASH_SOURCE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX151"><CODE>BASH_SUBSHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX152"><CODE>BASH_SUBSHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX153"><CODE>BASH_VERSINFO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX154"><CODE>BASH_VERSINFO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX155"><CODE>BASH_VERSION</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX156"><CODE>BASH_VERSION</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX133"><CODE>BASHPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX134"><CODE>BASHPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX296"><CODE>bell-style</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX297"><CODE>bind-tty-special-chars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_C"></A>C</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX110"><CODE>CDPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX111"><CODE>CDPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX156"><CODE>COLUMNS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX157"><CODE>COLUMNS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX297"><CODE>comment-begin</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX158"><CODE>COMP_CWORD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX159"><CODE>COMP_CWORD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX166"><CODE>COMP_KEY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX167"><CODE>COMP_KEY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX160"><CODE>COMP_LINE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX161"><CODE>COMP_LINE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX162"><CODE>COMP_POINT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX163"><CODE>COMP_POINT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX164"><CODE>COMP_TYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX165"><CODE>COMP_TYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX168"><CODE>COMP_WORDBREAKS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX169"><CODE>COMP_WORDBREAKS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX170"><CODE>COMP_WORDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX171"><CODE>COMP_WORDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX298"><CODE>completion-query-items</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX172"><CODE>COMPREPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX173"><CODE>COMPREPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX299"><CODE>convert-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX111"><CODE>CDPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX112"><CODE>CDPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX157"><CODE>COLUMNS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX158"><CODE>COLUMNS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX298"><CODE>comment-begin</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX159"><CODE>COMP_CWORD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX160"><CODE>COMP_CWORD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX167"><CODE>COMP_KEY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX168"><CODE>COMP_KEY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX161"><CODE>COMP_LINE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX162"><CODE>COMP_LINE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX163"><CODE>COMP_POINT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX164"><CODE>COMP_POINT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX165"><CODE>COMP_TYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX166"><CODE>COMP_TYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX169"><CODE>COMP_WORDBREAKS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX170"><CODE>COMP_WORDBREAKS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX171"><CODE>COMP_WORDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX172"><CODE>COMP_WORDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX299"><CODE>completion-prefix-display-length</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX300"><CODE>completion-query-items</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX173"><CODE>COMPREPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX174"><CODE>COMPREPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX301"><CODE>convert-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_D"></A>D</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX174"><CODE>DIRSTACK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX175"><CODE>DIRSTACK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX300"><CODE>disable-completion</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX175"><CODE>DIRSTACK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX176"><CODE>DIRSTACK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX302"><CODE>disable-completion</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_E"></A>E</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX301"><CODE>editing-mode</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX176"><CODE>EMACS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX177"><CODE>EMACS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX302"><CODE>enable-keypad</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX178"><CODE>EUID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX179"><CODE>EUID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX303"><CODE>expand-tilde</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX303"><CODE>editing-mode</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX177"><CODE>EMACS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX178"><CODE>EMACS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX304"><CODE>enable-keypad</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX179"><CODE>EUID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX180"><CODE>EUID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX305"><CODE>expand-tilde</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_F"></A>F</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX180"><CODE>FCEDIT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX181"><CODE>FCEDIT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX182"><CODE>FIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX183"><CODE>FIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX184"><CODE>FUNCNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX185"><CODE>FUNCNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX181"><CODE>FCEDIT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX182"><CODE>FCEDIT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX183"><CODE>FIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX184"><CODE>FIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX185"><CODE>FUNCNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX186"><CODE>FUNCNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_G"></A>G</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX186"><CODE>GLOBIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX187"><CODE>GLOBIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX188"><CODE>GROUPS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX189"><CODE>GROUPS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX187"><CODE>GLOBIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX188"><CODE>GLOBIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX189"><CODE>GROUPS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX190"><CODE>GROUPS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_H"></A>H</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX190"><CODE>histchars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX191"><CODE>histchars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX192"><CODE>HISTCMD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX193"><CODE>HISTCMD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX194"><CODE>HISTCONTROL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX195"><CODE>HISTCONTROL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX196"><CODE>HISTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX197"><CODE>HISTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX198"><CODE>HISTFILESIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX199"><CODE>HISTFILESIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX200"><CODE>HISTIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX201"><CODE>HISTIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX304"><CODE>history-preserve-point</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX305"><CODE>history-size</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX202"><CODE>HISTSIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX203"><CODE>HISTSIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX204"><CODE>HISTTIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX205"><CODE>HISTTIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX112"><CODE>HOME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX113"><CODE>HOME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX306"><CODE>horizontal-scroll-mode</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX206"><CODE>HOSTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX207"><CODE>HOSTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX208"><CODE>HOSTNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX209"><CODE>HOSTNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX210"><CODE>HOSTTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX211"><CODE>HOSTTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX191"><CODE>histchars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX192"><CODE>histchars</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX193"><CODE>HISTCMD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX194"><CODE>HISTCMD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX195"><CODE>HISTCONTROL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX196"><CODE>HISTCONTROL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX197"><CODE>HISTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX198"><CODE>HISTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX199"><CODE>HISTFILESIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX200"><CODE>HISTFILESIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX201"><CODE>HISTIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX202"><CODE>HISTIGNORE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX306"><CODE>history-preserve-point</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX307"><CODE>history-size</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX203"><CODE>HISTSIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX204"><CODE>HISTSIZE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX205"><CODE>HISTTIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX206"><CODE>HISTTIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX113"><CODE>HOME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX114"><CODE>HOME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX308"><CODE>horizontal-scroll-mode</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX207"><CODE>HOSTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX208"><CODE>HOSTFILE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX209"><CODE>HOSTNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX210"><CODE>HOSTNAME</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX211"><CODE>HOSTTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX212"><CODE>HOSTTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_I"></A>I</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX114"><CODE>IFS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX115"><CODE>IFS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX212"><CODE>IGNOREEOF</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX213"><CODE>IGNOREEOF</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX307"><CODE>input-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX214"><CODE>INPUTRC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX215"><CODE>INPUTRC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX309"><CODE>isearch-terminators</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX115"><CODE>IFS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX116"><CODE>IFS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX213"><CODE>IGNOREEOF</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX214"><CODE>IGNOREEOF</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX309"><CODE>input-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX215"><CODE>INPUTRC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX216"><CODE>INPUTRC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX311"><CODE>isearch-terminators</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_K"></A>K</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX310"><CODE>keymap</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX312"><CODE>keymap</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_L"></A>L</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX216"><CODE>LANG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX217"><CODE>LANG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX218"><CODE>LC_ALL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX219"><CODE>LC_ALL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX220"><CODE>LC_COLLATE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX221"><CODE>LC_COLLATE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX222"><CODE>LC_CTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX223"><CODE>LC_CTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX217"><CODE>LANG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX218"><CODE>LANG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX219"><CODE>LC_ALL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX220"><CODE>LC_ALL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX221"><CODE>LC_COLLATE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX222"><CODE>LC_COLLATE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX223"><CODE>LC_CTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX224"><CODE>LC_CTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX21"><CODE>LC_MESSAGES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX224"><CODE>LC_MESSAGES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX225"><CODE>LC_MESSAGES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX226"><CODE>LC_NUMERIC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX227"><CODE>LC_NUMERIC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX228"><CODE>LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX229"><CODE>LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX230"><CODE>LINES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX231"><CODE>LINES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX225"><CODE>LC_MESSAGES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX226"><CODE>LC_MESSAGES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX227"><CODE>LC_NUMERIC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX228"><CODE>LC_NUMERIC</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX229"><CODE>LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX230"><CODE>LINENO</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX231"><CODE>LINES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX232"><CODE>LINES</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_M"></A>M</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX232"><CODE>MACHTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX233"><CODE>MACHTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX116"><CODE>MAIL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX117"><CODE>MAIL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX234"><CODE>MAILCHECK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX235"><CODE>MAILCHECK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX118"><CODE>MAILPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX119"><CODE>MAILPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX311"><CODE>mark-modified-lines</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX312"><CODE>mark-symlinked-directories</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX313"><CODE>match-hidden-files</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX308"><CODE>meta-flag</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX233"><CODE>MACHTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX234"><CODE>MACHTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX117"><CODE>MAIL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX118"><CODE>MAIL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX235"><CODE>MAILCHECK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX236"><CODE>MAILCHECK</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX119"><CODE>MAILPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX120"><CODE>MAILPATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX313"><CODE>mark-modified-lines</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX314"><CODE>mark-symlinked-directories</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX315"><CODE>match-hidden-files</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX310"><CODE>meta-flag</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_O"></A>O</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX236"><CODE>OLDPWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX237"><CODE>OLDPWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX120"><CODE>OPTARG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX121"><CODE>OPTARG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX238"><CODE>OPTERR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX239"><CODE>OPTERR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX122"><CODE>OPTIND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX123"><CODE>OPTIND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX240"><CODE>OSTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX241"><CODE>OSTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX314"><CODE>output-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX237"><CODE>OLDPWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX238"><CODE>OLDPWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX121"><CODE>OPTARG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX122"><CODE>OPTARG</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX239"><CODE>OPTERR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX240"><CODE>OPTERR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX123"><CODE>OPTIND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX124"><CODE>OPTIND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX241"><CODE>OSTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX242"><CODE>OSTYPE</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX316"><CODE>output-meta</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_P"></A>P</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX315"><CODE>page-completions</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX124"><CODE>PATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX125"><CODE>PATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX242"><CODE>PIPESTATUS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX243"><CODE>PIPESTATUS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX244"><CODE>POSIXLY_CORRECT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX245"><CODE>POSIXLY_CORRECT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX246"><CODE>PPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX247"><CODE>PPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX248"><CODE>PROMPT_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX249"><CODE>PROMPT_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX126"><CODE>PS1</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX127"><CODE>PS1</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX128"><CODE>PS2</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX129"><CODE>PS2</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX250"><CODE>PS3</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX251"><CODE>PS3</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX252"><CODE>PS4</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX253"><CODE>PS4</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX254"><CODE>PWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX255"><CODE>PWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX317"><CODE>page-completions</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX125"><CODE>PATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX126"><CODE>PATH</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX243"><CODE>PIPESTATUS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX244"><CODE>PIPESTATUS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX245"><CODE>POSIXLY_CORRECT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX246"><CODE>POSIXLY_CORRECT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX247"><CODE>PPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX248"><CODE>PPID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX249"><CODE>PROMPT_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX250"><CODE>PROMPT_COMMAND</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX127"><CODE>PS1</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX128"><CODE>PS1</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX129"><CODE>PS2</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX130"><CODE>PS2</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX251"><CODE>PS3</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX252"><CODE>PS3</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX253"><CODE>PS4</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX254"><CODE>PS4</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX255"><CODE>PWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX256"><CODE>PWD</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_R"></A>R</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX256"><CODE>RANDOM</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX257"><CODE>RANDOM</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX258"><CODE>REPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX259"><CODE>REPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX257"><CODE>RANDOM</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX258"><CODE>RANDOM</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX259"><CODE>REPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX260"><CODE>REPLY</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX318"><CODE>revert-all-at-newline</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_S"></A>S</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX260"><CODE>SECONDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX261"><CODE>SECONDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX262"><CODE>SHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX263"><CODE>SHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX264"><CODE>SHELLOPTS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX265"><CODE>SHELLOPTS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX266"><CODE>SHLVL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX267"><CODE>SHLVL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX316"><CODE>show-all-if-ambiguous</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX317"><CODE>show-all-if-unmodified</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX261"><CODE>SECONDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX262"><CODE>SECONDS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX263"><CODE>SHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX264"><CODE>SHELL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX265"><CODE>SHELLOPTS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX266"><CODE>SHELLOPTS</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX267"><CODE>SHLVL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX268"><CODE>SHLVL</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX319"><CODE>show-all-if-ambiguous</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX320"><CODE>show-all-if-unmodified</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_T"></A>T</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX22"><CODE>TEXTDOMAIN</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX23"><CODE>TEXTDOMAINDIR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX268"><CODE>TIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX269"><CODE>TIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX270"><CODE>TMOUT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX271"><CODE>TMOUT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX272"><CODE>TMPDIR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX273"><CODE>TMPDIR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX269"><CODE>TIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX270"><CODE>TIMEFORMAT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX271"><CODE>TMOUT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX272"><CODE>TMOUT</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX273"><CODE>TMPDIR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX274"><CODE>TMPDIR</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_U"></A>U</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX274"><CODE>UID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX275"><CODE>UID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC65">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX275"><CODE>UID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX276"><CODE>UID</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC66">5.2 Bash Variables</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="vr_V"></A>V</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX318"><CODE>visible-stats</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX321"><CODE>visible-stats</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> </TABLE><P></P><table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#vr_!" style="text-decoration:none"><b>!</b></A> @@ -14341,20 +14523,20 @@ to permit their use in free software. <A NAME="Function Index"></A> <HR SIZE="6"> -<A NAME="SEC142"></A> +<A NAME="SEC143"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC141"> < </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC143"> > </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC143"> << </A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> Up </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> < </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC144"> > </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC144"> << </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> D.4 Function Index </H2> -<!--docid::SEC142::--> +<!--docid::SEC143::--> <table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#fn_A" style="text-decoration:none"><b>A</b></A> <A HREF="bashref.html#fn_B" style="text-decoration:none"><b>B</b></A> @@ -14400,236 +14582,238 @@ to permit their use in free software. <TR><TD></TD><TH ALIGN=LEFT>Index Entry</TH><TH ALIGN=LEFT> Section</TH></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_A"></A>A</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX459"><CODE>abort (C-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX460"><CODE>abort (C-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX335"><CODE>accept-line (Newline or Return)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX336"><CODE>accept-line (Newline or Return)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX501"><CODE>alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX502"><CODE>alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX464"><CODE>abort (C-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX465"><CODE>abort (C-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX338"><CODE>accept-line (Newline or Return)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX339"><CODE>accept-line (Newline or Return)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX506"><CODE>alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX507"><CODE>alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_B"></A>B</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX325"><CODE>backward-char (C-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX326"><CODE>backward-char (C-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX363"><CODE>backward-delete-char (Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX364"><CODE>backward-delete-char (Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX385"><CODE>backward-kill-line (C-x Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX386"><CODE>backward-kill-line (C-x Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX393"><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX394"><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX329"><CODE>backward-word (M-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX330"><CODE>backward-word (M-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX341"><CODE>beginning-of-history (M-&#60;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX342"><CODE>beginning-of-history (M-&#60;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX319"><CODE>beginning-of-line (C-a)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX320"><CODE>beginning-of-line (C-a)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX328"><CODE>backward-char (C-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX329"><CODE>backward-char (C-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX366"><CODE>backward-delete-char (Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX367"><CODE>backward-delete-char (Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX388"><CODE>backward-kill-line (C-x Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX389"><CODE>backward-kill-line (C-x Rubout)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX396"><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX397"><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX332"><CODE>backward-word (M-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX333"><CODE>backward-word (M-b)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX344"><CODE>beginning-of-history (M-&#60;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX345"><CODE>beginning-of-history (M-&#60;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX322"><CODE>beginning-of-line (C-a)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX323"><CODE>beginning-of-line (C-a)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_C"></A>C</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX455"><CODE>call-last-kbd-macro (C-x e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX456"><CODE>call-last-kbd-macro (C-x e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX379"><CODE>capitalize-word (M-c)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX380"><CODE>capitalize-word (M-c)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX475"><CODE>character-search (C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX476"><CODE>character-search (C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX477"><CODE>character-search-backward (M-C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX478"><CODE>character-search-backward (M-C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX331"><CODE>clear-screen (C-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX332"><CODE>clear-screen (C-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX417"><CODE>complete (<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX418"><CODE>complete (<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX443"><CODE>complete-command (M-!)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX444"><CODE>complete-command (M-!)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX427"><CODE>complete-filename (M-/)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX428"><CODE>complete-filename (M-/)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX439"><CODE>complete-hostname (M-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX440"><CODE>complete-hostname (M-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX449"><CODE>complete-into-braces (M-{)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX450"><CODE>complete-into-braces (M-{)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX431"><CODE>complete-username (M-~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX432"><CODE>complete-username (M-~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX435"><CODE>complete-variable (M-$)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX436"><CODE>complete-variable (M-$)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX405"><CODE>copy-backward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX406"><CODE>copy-backward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX407"><CODE>copy-forward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX408"><CODE>copy-forward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX403"><CODE>copy-region-as-kill ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX404"><CODE>copy-region-as-kill ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX460"><CODE>call-last-kbd-macro (C-x e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX461"><CODE>call-last-kbd-macro (C-x e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX382"><CODE>capitalize-word (M-c)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX383"><CODE>capitalize-word (M-c)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX480"><CODE>character-search (C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX481"><CODE>character-search (C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX482"><CODE>character-search-backward (M-C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX483"><CODE>character-search-backward (M-C-])</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX334"><CODE>clear-screen (C-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX335"><CODE>clear-screen (C-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX420"><CODE>complete (<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX421"><CODE>complete (<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX446"><CODE>complete-command (M-!)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX447"><CODE>complete-command (M-!)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX430"><CODE>complete-filename (M-/)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX431"><CODE>complete-filename (M-/)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX442"><CODE>complete-hostname (M-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX443"><CODE>complete-hostname (M-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX454"><CODE>complete-into-braces (M-{)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX455"><CODE>complete-into-braces (M-{)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX434"><CODE>complete-username (M-~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX435"><CODE>complete-username (M-~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX438"><CODE>complete-variable (M-$)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX439"><CODE>complete-variable (M-$)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX408"><CODE>copy-backward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX409"><CODE>copy-backward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX410"><CODE>copy-forward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX411"><CODE>copy-forward-word ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX406"><CODE>copy-region-as-kill ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX407"><CODE>copy-region-as-kill ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_D"></A>D</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX361"><CODE>delete-char (C-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX362"><CODE>delete-char (C-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX425"><CODE>delete-char-or-list ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX426"><CODE>delete-char-or-list ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX399"><CODE>delete-horizontal-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX400"><CODE>delete-horizontal-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX413"><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX414"><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX493"><CODE>display-shell-version (C-x C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX494"><CODE>display-shell-version (C-x C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX461"><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX462"><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX377"><CODE>downcase-word (M-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX378"><CODE>downcase-word (M-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX481"><CODE>dump-functions ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX482"><CODE>dump-functions ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX485"><CODE>dump-macros ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX486"><CODE>dump-macros ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX483"><CODE>dump-variables ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX484"><CODE>dump-variables ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX447"><CODE>dynamic-complete-history (M-<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX448"><CODE>dynamic-complete-history (M-<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX452"><CODE>dabbrev-expand ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX453"><CODE>dabbrev-expand ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX364"><CODE>delete-char (C-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX365"><CODE>delete-char (C-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX428"><CODE>delete-char-or-list ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX429"><CODE>delete-char-or-list ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX402"><CODE>delete-horizontal-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX403"><CODE>delete-horizontal-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX416"><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX417"><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX498"><CODE>display-shell-version (C-x C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX499"><CODE>display-shell-version (C-x C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX466"><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX467"><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX380"><CODE>downcase-word (M-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX381"><CODE>downcase-word (M-l)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX486"><CODE>dump-functions ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX487"><CODE>dump-functions ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX490"><CODE>dump-macros ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX491"><CODE>dump-macros ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX488"><CODE>dump-variables ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX489"><CODE>dump-variables ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX450"><CODE>dynamic-complete-history (M-<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX451"><CODE>dynamic-complete-history (M-<KBD>TAB</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_E"></A>E</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX509"><CODE>edit-and-execute-command (C-xC-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX510"><CODE>edit-and-execute-command (C-xC-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX453"><CODE>end-kbd-macro (C-x ))</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX454"><CODE>end-kbd-macro (C-x ))</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX343"><CODE>end-of-history (M-&#62;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX344"><CODE>end-of-history (M-&#62;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX321"><CODE>end-of-line (C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX322"><CODE>end-of-line (C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX473"><CODE>exchange-point-and-mark (C-x C-x)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX474"><CODE>exchange-point-and-mark (C-x C-x)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX514"><CODE>edit-and-execute-command (C-xC-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX515"><CODE>edit-and-execute-command (C-xC-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX458"><CODE>end-kbd-macro (C-x ))</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX459"><CODE>end-kbd-macro (C-x ))</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX346"><CODE>end-of-history (M-&#62;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX347"><CODE>end-of-history (M-&#62;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX324"><CODE>end-of-line (C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX325"><CODE>end-of-line (C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX478"><CODE>exchange-point-and-mark (C-x C-x)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX479"><CODE>exchange-point-and-mark (C-x C-x)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_F"></A>F</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX365"><CODE>forward-backward-delete-char ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX366"><CODE>forward-backward-delete-char ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX323"><CODE>forward-char (C-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX324"><CODE>forward-char (C-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX347"><CODE>forward-search-history (C-s)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX348"><CODE>forward-search-history (C-s)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX327"><CODE>forward-word (M-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX328"><CODE>forward-word (M-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX368"><CODE>forward-backward-delete-char ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX369"><CODE>forward-backward-delete-char ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX326"><CODE>forward-char (C-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX327"><CODE>forward-char (C-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX350"><CODE>forward-search-history (C-s)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX351"><CODE>forward-search-history (C-s)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX330"><CODE>forward-word (M-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX331"><CODE>forward-word (M-f)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_G"></A>G</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX487"><CODE>glob-complete-word (M-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX488"><CODE>glob-complete-word (M-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX489"><CODE>glob-expand-word (C-x *)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX490"><CODE>glob-expand-word (C-x *)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX491"><CODE>glob-list-expansions (C-x g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX492"><CODE>glob-list-expansions (C-x g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX492"><CODE>glob-complete-word (M-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX493"><CODE>glob-complete-word (M-g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX494"><CODE>glob-expand-word (C-x *)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX495"><CODE>glob-expand-word (C-x *)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX496"><CODE>glob-list-expansions (C-x g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX497"><CODE>glob-list-expansions (C-x g)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_H"></A>H</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX503"><CODE>history-and-alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX504"><CODE>history-and-alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX497"><CODE>history-expand-line (M-^)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX498"><CODE>history-expand-line (M-^)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX355"><CODE>history-search-backward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX356"><CODE>history-search-backward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX353"><CODE>history-search-forward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX354"><CODE>history-search-forward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX508"><CODE>history-and-alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX509"><CODE>history-and-alias-expand-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX502"><CODE>history-expand-line (M-^)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX503"><CODE>history-expand-line (M-^)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX358"><CODE>history-search-backward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX359"><CODE>history-search-backward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX356"><CODE>history-search-forward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX357"><CODE>history-search-forward ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_I"></A>I</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX479"><CODE>insert-comment (M-#)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX480"><CODE>insert-comment (M-#)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX421"><CODE>insert-completions (M-*)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX422"><CODE>insert-completions (M-*)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX505"><CODE>insert-last-argument (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX506"><CODE>insert-last-argument (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX484"><CODE>insert-comment (M-#)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX485"><CODE>insert-comment (M-#)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX424"><CODE>insert-completions (M-*)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX425"><CODE>insert-completions (M-*)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX510"><CODE>insert-last-argument (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX511"><CODE>insert-last-argument (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_K"></A>K</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX383"><CODE>kill-line (C-k)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX384"><CODE>kill-line (C-k)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX401"><CODE>kill-region ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX402"><CODE>kill-region ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX389"><CODE>kill-whole-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX390"><CODE>kill-whole-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX391"><CODE>kill-word (M-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX392"><CODE>kill-word (M-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX386"><CODE>kill-line (C-k)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX387"><CODE>kill-line (C-k)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX404"><CODE>kill-region ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX405"><CODE>kill-region ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX392"><CODE>kill-whole-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX393"><CODE>kill-whole-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX394"><CODE>kill-word (M-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX395"><CODE>kill-word (M-d)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_M"></A>M</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX499"><CODE>magic-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX500"><CODE>magic-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX423"><CODE>menu-complete ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX424"><CODE>menu-complete ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX504"><CODE>magic-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX505"><CODE>magic-space ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX426"><CODE>menu-complete ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX427"><CODE>menu-complete ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_N"></A>N</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX339"><CODE>next-history (C-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX340"><CODE>next-history (C-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX351"><CODE>non-incremental-forward-search-history (M-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX352"><CODE>non-incremental-forward-search-history (M-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX349"><CODE>non-incremental-reverse-search-history (M-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX350"><CODE>non-incremental-reverse-search-history (M-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX342"><CODE>next-history (C-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX343"><CODE>next-history (C-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX354"><CODE>non-incremental-forward-search-history (M-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX355"><CODE>non-incremental-forward-search-history (M-n)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX352"><CODE>non-incremental-reverse-search-history (M-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX353"><CODE>non-incremental-reverse-search-history (M-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_O"></A>O</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX507"><CODE>operate-and-get-next (C-o)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX508"><CODE>operate-and-get-next (C-o)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX381"><CODE>overwrite-mode ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX382"><CODE>overwrite-mode ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX512"><CODE>operate-and-get-next (C-o)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX513"><CODE>operate-and-get-next (C-o)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX384"><CODE>overwrite-mode ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX385"><CODE>overwrite-mode ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_P"></A>P</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX445"><CODE>possible-command-completions (C-x !)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX446"><CODE>possible-command-completions (C-x !)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX419"><CODE>possible-completions (M-?)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX420"><CODE>possible-completions (M-?)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX429"><CODE>possible-filename-completions (C-x /)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX430"><CODE>possible-filename-completions (C-x /)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX441"><CODE>possible-hostname-completions (C-x @)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX442"><CODE>possible-hostname-completions (C-x @)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX433"><CODE>possible-username-completions (C-x ~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX434"><CODE>possible-username-completions (C-x ~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX437"><CODE>possible-variable-completions (C-x $)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX438"><CODE>possible-variable-completions (C-x $)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX463"><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX464"><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX337"><CODE>previous-history (C-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX338"><CODE>previous-history (C-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX448"><CODE>possible-command-completions (C-x !)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX449"><CODE>possible-command-completions (C-x !)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX422"><CODE>possible-completions (M-?)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX423"><CODE>possible-completions (M-?)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX432"><CODE>possible-filename-completions (C-x /)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX433"><CODE>possible-filename-completions (C-x /)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX444"><CODE>possible-hostname-completions (C-x @)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX445"><CODE>possible-hostname-completions (C-x @)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX436"><CODE>possible-username-completions (C-x ~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX437"><CODE>possible-username-completions (C-x ~)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX440"><CODE>possible-variable-completions (C-x $)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX441"><CODE>possible-variable-completions (C-x $)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX468"><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX469"><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX340"><CODE>previous-history (C-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX341"><CODE>previous-history (C-p)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_Q"></A>Q</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX367"><CODE>quoted-insert (C-q or C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX368"><CODE>quoted-insert (C-q or C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX370"><CODE>quoted-insert (C-q or C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX371"><CODE>quoted-insert (C-q or C-v)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_R"></A>R</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX457"><CODE>re-read-init-file (C-x C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX458"><CODE>re-read-init-file (C-x C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX333"><CODE>redraw-current-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX334"><CODE>redraw-current-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX345"><CODE>reverse-search-history (C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX346"><CODE>reverse-search-history (C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX467"><CODE>revert-line (M-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX468"><CODE>revert-line (M-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX462"><CODE>re-read-init-file (C-x C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX463"><CODE>re-read-init-file (C-x C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX336"><CODE>redraw-current-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX337"><CODE>redraw-current-line ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX348"><CODE>reverse-search-history (C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX349"><CODE>reverse-search-history (C-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX472"><CODE>revert-line (M-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX473"><CODE>revert-line (M-r)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_S"></A>S</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX369"><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX370"><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX471"><CODE>set-mark (C-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX472"><CODE>set-mark (C-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX495"><CODE>shell-expand-line (M-C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX496"><CODE>shell-expand-line (M-C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX451"><CODE>start-kbd-macro (C-x ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX452"><CODE>start-kbd-macro (C-x ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX372"><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX373"><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX476"><CODE>set-mark (C-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX477"><CODE>set-mark (C-@)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX500"><CODE>shell-expand-line (M-C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX501"><CODE>shell-expand-line (M-C-e)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX456"><CODE>start-kbd-macro (C-x ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX457"><CODE>start-kbd-macro (C-x ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_T"></A>T</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX469"><CODE>tilde-expand (M-&#38;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX470"><CODE>tilde-expand (M-&#38;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX371"><CODE>transpose-chars (C-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX372"><CODE>transpose-chars (C-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX373"><CODE>transpose-words (M-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX374"><CODE>transpose-words (M-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX474"><CODE>tilde-expand (M-&#38;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX475"><CODE>tilde-expand (M-&#38;)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX374"><CODE>transpose-chars (C-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX375"><CODE>transpose-chars (C-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX376"><CODE>transpose-words (M-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX377"><CODE>transpose-words (M-t)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_U"></A>U</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX465"><CODE>undo (C-_ or C-x C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX466"><CODE>undo (C-_ or C-x C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX415"><CODE>universal-argument ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX416"><CODE>universal-argument ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX397"><CODE>unix-filename-rubout ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX398"><CODE>unix-filename-rubout ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX387"><CODE>unix-line-discard (C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX388"><CODE>unix-line-discard (C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX395"><CODE>unix-word-rubout (C-w)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX396"><CODE>unix-word-rubout (C-w)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX375"><CODE>upcase-word (M-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX376"><CODE>upcase-word (M-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX470"><CODE>undo (C-_ or C-x C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX471"><CODE>undo (C-_ or C-x C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX418"><CODE>universal-argument ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX419"><CODE>universal-argument ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX400"><CODE>unix-filename-rubout ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX401"><CODE>unix-filename-rubout ()</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX390"><CODE>unix-line-discard (C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX391"><CODE>unix-line-discard (C-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX398"><CODE>unix-word-rubout (C-w)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX399"><CODE>unix-word-rubout (C-w)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX378"><CODE>upcase-word (M-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX379"><CODE>upcase-word (M-u)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="fn_Y"></A>Y</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX409"><CODE>yank (C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX410"><CODE>yank (C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX359"><CODE>yank-last-arg (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX360"><CODE>yank-last-arg (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX357"><CODE>yank-nth-arg (M-C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX358"><CODE>yank-nth-arg (M-C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX411"><CODE>yank-pop (M-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX412"><CODE>yank-pop (M-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX412"><CODE>yank (C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX413"><CODE>yank (C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX362"><CODE>yank-last-arg (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX363"><CODE>yank-last-arg (M-. or M-_)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX360"><CODE>yank-nth-arg (M-C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX361"><CODE>yank-nth-arg (M-C-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX414"><CODE>yank-pop (M-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX415"><CODE>yank-pop (M-y)</CODE></A></TD><TD valign=top><A HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> </TABLE><P></P><table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#fn_A" style="text-decoration:none"><b>A</b></A> @@ -14675,20 +14859,20 @@ to permit their use in free software. <A NAME="Concept Index"></A> <HR SIZE="6"> -<A NAME="SEC143"></A> +<A NAME="SEC144"></A> <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> -<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC142"> < </A>]</TD> +<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC143"> < </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ > ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ << ]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138"> Up </A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139"> Up </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[ >> ]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H2> D.5 Concept Index </H2> -<!--docid::SEC143::--> +<!--docid::SEC144::--> <table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#cp_A" style="text-decoration:none"><b>A</b></A> <A HREF="bashref.html#cp_B" style="text-decoration:none"><b>B</b></A> @@ -14738,26 +14922,26 @@ to permit their use in free software. <TR><TD></TD><TH ALIGN=LEFT>Index Entry</TH><TH ALIGN=LEFT> Section</TH></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_A"></A>A</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">alias expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.6 Aliases</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">arithmetic evaluation</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC83">alias expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC83">6.6 Aliases</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">arithmetic evaluation</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC32">arithmetic expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC32">3.5.5 Arithmetic Expansion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">arithmetic, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC83">arrays</A></TD><TD valign=top><A HREF="bashref.html#SEC83">6.7 Arrays</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">arithmetic, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC84">arrays</A></TD><TD valign=top><A HREF="bashref.html#SEC84">6.7 Arrays</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_B"></A>B</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC90">background</A></TD><TD valign=top><A HREF="bashref.html#SEC90">7.1 Job Control Basics</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC125">Bash configuration</A></TD><TD valign=top><A HREF="bashref.html#SEC125">10.1 Basic Installation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC125">Bash installation</A></TD><TD valign=top><A HREF="bashref.html#SEC125">10.1 Basic Installation</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC91">background</A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.1 Job Control Basics</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC126">Bash configuration</A></TD><TD valign=top><A HREF="bashref.html#SEC126">10.1 Basic Installation</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC126">Bash installation</A></TD><TD valign=top><A HREF="bashref.html#SEC126">10.1 Basic Installation</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC5">Bourne shell</A></TD><TD valign=top><A HREF="bashref.html#SEC5">3. Basic Shell Features</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC28">brace expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC28">3.5.1 Brace Expansion</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX2">builtin</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_C"></A>C</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC96">command editing</A></TD><TD valign=top><A HREF="bashref.html#SEC96">8.2.1 Readline Bare Essentials</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC50">command execution</A></TD><TD valign=top><A HREF="bashref.html#SEC50">3.7.2 Command Search and Execution</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC49">command expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC49">3.7.1 Simple Command Expansion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC118">command history</A></TD><TD valign=top><A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC50">command search</A></TD><TD valign=top><A HREF="bashref.html#SEC50">3.7.2 Command Search and Execution</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC97">command editing</A></TD><TD valign=top><A HREF="bashref.html#SEC97">8.2.1 Readline Bare Essentials</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC51">command execution</A></TD><TD valign=top><A HREF="bashref.html#SEC51">3.7.2 Command Search and Execution</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC50">command expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC50">3.7.1 Simple Command Expansion</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC119">command history</A></TD><TD valign=top><A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC51">command search</A></TD><TD valign=top><A HREF="bashref.html#SEC51">3.7.2 Command Search and Execution</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC31">command substitution</A></TD><TD valign=top><A HREF="bashref.html#SEC31">3.5.4 Command Substitution</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX26">command timing</A></TD><TD valign=top><A HREF="bashref.html#SEC17">3.2.2 Pipelines</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC19">commands, compound</A></TD><TD valign=top><A HREF="bashref.html#SEC19">3.2.4 Compound Commands</A></TD></TR> @@ -14769,21 +14953,21 @@ to permit their use in free software. <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC15">commands, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC15">3.2 Shell Commands</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC16">commands, simple</A></TD><TD valign=top><A HREF="bashref.html#SEC16">3.2.1 Simple Commands</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC14">comments, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC14">3.1.3 Comments</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC116">completion builtins</A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC125">configuration</A></TD><TD valign=top><A HREF="bashref.html#SEC125">10.1 Basic Installation</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC117">completion builtins</A></TD><TD valign=top><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC126">configuration</A></TD><TD valign=top><A HREF="bashref.html#SEC126">10.1 Basic Installation</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX3">control operator</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_D"></A>D</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC84">directory stack</A></TD><TD valign=top><A HREF="bashref.html#SEC84">6.8 The Directory Stack</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC85">directory stack</A></TD><TD valign=top><A HREF="bashref.html#SEC85">6.8 The Directory Stack</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_E"></A>E</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC96">editing command lines</A></TD><TD valign=top><A HREF="bashref.html#SEC96">8.2.1 Readline Bare Essentials</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC52">environment</A></TD><TD valign=top><A HREF="bashref.html#SEC52">3.7.4 Environment</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">evaluation, arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC121">event designators</A></TD><TD valign=top><A HREF="bashref.html#SEC121">9.3.1 Event Designators</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC51">execution environment</A></TD><TD valign=top><A HREF="bashref.html#SEC51">3.7.3 Command Execution Environment</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC97">editing command lines</A></TD><TD valign=top><A HREF="bashref.html#SEC97">8.2.1 Readline Bare Essentials</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC53">environment</A></TD><TD valign=top><A HREF="bashref.html#SEC53">3.7.4 Environment</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">evaluation, arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC122">event designators</A></TD><TD valign=top><A HREF="bashref.html#SEC122">9.3.1 Event Designators</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC52">execution environment</A></TD><TD valign=top><A HREF="bashref.html#SEC52">3.7.3 Command Execution Environment</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX4">exit status</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC53">exit status</A></TD><TD valign=top><A HREF="bashref.html#SEC53">3.7.5 Exit Status</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC54">exit status</A></TD><TD valign=top><A HREF="bashref.html#SEC54">3.7.5 Exit Status</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC27">expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC27">3.5 Shell Expansions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC32">expansion, arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC32">3.5.5 Arithmetic Expansion</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC28">expansion, brace</A></TD><TD valign=top><A HREF="bashref.html#SEC28">3.5.1 Brace Expansion</A></TD></TR> @@ -14791,44 +14975,44 @@ to permit their use in free software. <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC30">expansion, parameter</A></TD><TD valign=top><A HREF="bashref.html#SEC30">3.5.3 Shell Parameter Expansion</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX65">expansion, pathname</A></TD><TD valign=top><A HREF="bashref.html#SEC35">3.5.8 Filename Expansion</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC29">expansion, tilde</A></TD><TD valign=top><A HREF="bashref.html#SEC29">3.5.2 Tilde Expansion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">expressions, arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC80">expressions, conditional</A></TD><TD valign=top><A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">expressions, arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">expressions, conditional</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_F"></A>F</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX5">field</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX6">filename</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX66">filename expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC35">3.5.8 Filename Expansion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC90">foreground</A></TD><TD valign=top><A HREF="bashref.html#SEC90">7.1 Job Control Basics</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC91">foreground</A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.1 Job Control Basics</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC23">functions, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC23">3.3 Shell Functions</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_H"></A>H</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC119">history builtins</A></TD><TD valign=top><A HREF="bashref.html#SEC119">9.2 Bash History Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX517">history events</A></TD><TD valign=top><A HREF="bashref.html#SEC121">9.3.1 Event Designators</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC120">history expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC120">9.3 History Expansion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC118">history list</A></TD><TD valign=top><A HREF="bashref.html#SEC118">9.1 Bash History Facilities</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX514">History, how to use</A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC120">history builtins</A></TD><TD valign=top><A HREF="bashref.html#SEC120">9.2 Bash History Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX522">history events</A></TD><TD valign=top><A HREF="bashref.html#SEC122">9.3.1 Event Designators</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC121">history expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC121">9.3 History Expansion</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC119">history list</A></TD><TD valign=top><A HREF="bashref.html#SEC119">9.1 Bash History Facilities</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX519">History, how to use</A></TD><TD valign=top><A HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_I"></A>I</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX11">identifier</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC101">initialization file, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC101">8.3 Readline Init File</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC125">installation</A></TD><TD valign=top><A HREF="bashref.html#SEC125">10.1 Basic Installation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC95">interaction, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC95">8.2 Readline Interaction</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX277">interactive shell</A></TD><TD valign=top><A HREF="bashref.html#SEC67">6.1 Invoking Bash</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC76">interactive shell</A></TD><TD valign=top><A HREF="bashref.html#SEC76">6.3 Interactive Shells</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC102">initialization file, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3 Readline Init File</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC126">installation</A></TD><TD valign=top><A HREF="bashref.html#SEC126">10.1 Basic Installation</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC96">interaction, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC96">8.2 Readline Interaction</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX278">interactive shell</A></TD><TD valign=top><A HREF="bashref.html#SEC68">6.1 Invoking Bash</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC77">interactive shell</A></TD><TD valign=top><A HREF="bashref.html#SEC77">6.3 Interactive Shells</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC13">internationalization</A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_J"></A>J</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX7">job</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX8">job control</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC90">job control</A></TD><TD valign=top><A HREF="bashref.html#SEC90">7.1 Job Control Basics</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC91">job control</A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.1 Job Control Basics</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_K"></A>K</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX293">kill ring</A></TD><TD valign=top><A HREF="bashref.html#SEC98">8.2.3 Readline Killing Commands</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX291">killing text</A></TD><TD valign=top><A HREF="bashref.html#SEC98">8.2.3 Readline Killing Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX294">kill ring</A></TD><TD valign=top><A HREF="bashref.html#SEC99">8.2.3 Readline Killing Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX292">killing text</A></TD><TD valign=top><A HREF="bashref.html#SEC99">8.2.3 Readline Killing Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_L"></A>L</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC13">localization</A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX276">login shell</A></TD><TD valign=top><A HREF="bashref.html#SEC67">6.1 Invoking Bash</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX277">login shell</A></TD><TD valign=top><A HREF="bashref.html#SEC68">6.1 Invoking Bash</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_M"></A>M</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC36">matching, pattern</A></TD><TD valign=top><A HREF="bashref.html#SEC36">3.5.8.1 Pattern Matching</A></TD></TR> @@ -14837,7 +15021,7 @@ to permit their use in free software. <TR><TH><A NAME="cp_N"></A>N</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX10">name</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC13">native languages</A></TD><TD valign=top><A HREF="bashref.html#SEC13">3.1.2.5 Locale-Specific Translation</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC96">notation, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC96">8.2.1 Readline Bare Essentials</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC97">notation, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC97">8.2.1 Readline Bare Essentials</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_O"></A>O</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX12">operator, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> @@ -14851,36 +15035,36 @@ to permit their use in free software. <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC36">pattern matching</A></TD><TD valign=top><A HREF="bashref.html#SEC36">3.5.8.1 Pattern Matching</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC17">pipeline</A></TD><TD valign=top><A HREF="bashref.html#SEC17">3.2.2 Pipelines</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX1">POSIX</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC88">POSIX Mode</A></TD><TD valign=top><A HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC89">POSIX Mode</A></TD><TD valign=top><A HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX13">process group</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX14">process group ID</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC33">process substitution</A></TD><TD valign=top><A HREF="bashref.html#SEC33">3.5.6 Process Substitution</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC115">programmable completion</A></TD><TD valign=top><A HREF="bashref.html#SEC115">8.6 Programmable Completion</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC86">prompting</A></TD><TD valign=top><A HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC116">programmable completion</A></TD><TD valign=top><A HREF="bashref.html#SEC116">8.6 Programmable Completion</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC87">prompting</A></TD><TD valign=top><A HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_Q"></A>Q</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC8">quoting</A></TD><TD valign=top><A HREF="bashref.html#SEC8">3.1.2 Quoting</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC12">quoting, ANSI</A></TD><TD valign=top><A HREF="bashref.html#SEC12">3.1.2.4 ANSI-C Quoting</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_R"></A>R</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX290">Readline, how to use</A></TD><TD valign=top><A HREF="bashref.html#SEC92">7.3 Job Control Variables</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX291">Readline, how to use</A></TD><TD valign=top><A HREF="bashref.html#SEC93">7.3 Job Control Variables</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC38">redirection</A></TD><TD valign=top><A HREF="bashref.html#SEC38">3.6 Redirections</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX15">reserved word</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC87">restricted shell</A></TD><TD valign=top><A HREF="bashref.html#SEC87">6.10 The Restricted Shell</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC88">restricted shell</A></TD><TD valign=top><A HREF="bashref.html#SEC88">6.10 The Restricted Shell</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX16">return status</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_S"></A>S</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC81">shell arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC82">shell arithmetic</A></TD><TD valign=top><A HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC23">shell function</A></TD><TD valign=top><A HREF="bashref.html#SEC23">3.3 Shell Functions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC55">shell script</A></TD><TD valign=top><A HREF="bashref.html#SEC55">3.8 Shell Scripts</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC56">shell script</A></TD><TD valign=top><A HREF="bashref.html#SEC56">3.8 Shell Scripts</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC24">shell variable</A></TD><TD valign=top><A HREF="bashref.html#SEC24">3.4 Shell Parameters</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC76">shell, interactive</A></TD><TD valign=top><A HREF="bashref.html#SEC76">6.3 Interactive Shells</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC77">shell, interactive</A></TD><TD valign=top><A HREF="bashref.html#SEC77">6.3 Interactive Shells</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX17">signal</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC54">signal handling</A></TD><TD valign=top><A HREF="bashref.html#SEC54">3.7.6 Signals</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC55">signal handling</A></TD><TD valign=top><A HREF="bashref.html#SEC55">3.7.6 Signals</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX18">special builtin</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC62">special builtin</A></TD><TD valign=top><A HREF="bashref.html#SEC62">4.4 Special Builtins</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC68">startup files</A></TD><TD valign=top><A HREF="bashref.html#SEC68">6.2 Bash Startup Files</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC90">suspending jobs</A></TD><TD valign=top><A HREF="bashref.html#SEC90">7.1 Job Control Basics</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC63">special builtin</A></TD><TD valign=top><A HREF="bashref.html#SEC63">4.4 Special Builtins</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC69">startup files</A></TD><TD valign=top><A HREF="bashref.html#SEC69">6.2 Bash Startup Files</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC91">suspending jobs</A></TD><TD valign=top><A HREF="bashref.html#SEC91">7.1 Job Control Basics</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_T"></A>T</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC29">tilde expansion</A></TD><TD valign=top><A HREF="bashref.html#SEC29">3.5.2 Tilde Expansion</A></TD></TR> @@ -14889,14 +15073,14 @@ to permit their use in free software. <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_V"></A>V</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC24">variable, shell</A></TD><TD valign=top><A HREF="bashref.html#SEC24">3.4 Shell Parameters</A></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX294">variables, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX295">variables, readline</A></TD><TD valign=top><A HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_W"></A>W</TH><TD></TD><TD></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX20">word</A></TD><TD valign=top><A HREF="bashref.html#SEC4">2. Definitions</A></TD></TR> <TR><TD></TD><TD valign=top><A HREF="bashref.html#SEC34">word splitting</A></TD><TD valign=top><A HREF="bashref.html#SEC34">3.5.7 Word Splitting</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> <TR><TH><A NAME="cp_Y"></A>Y</TH><TD></TD><TD></TD></TR> -<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX292">yanking text</A></TD><TD valign=top><A HREF="bashref.html#SEC98">8.2.3 Readline Killing Commands</A></TD></TR> +<TR><TD></TD><TD valign=top><A HREF="bashref.html#IDX293">yanking text</A></TD><TD valign=top><A HREF="bashref.html#SEC99">8.2.3 Readline Killing Commands</A></TD></TR> <TR><TD COLSPAN=3> <HR></TD></TR> </TABLE><P></P><table><tr><th valign=top>Jump to: </th><td><A HREF="bashref.html#cp_A" style="text-decoration:none"><b>A</b></A> @@ -14949,7 +15133,7 @@ to permit their use in free software. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1>Table of Contents</H1> @@ -15056,226 +15240,228 @@ to permit their use in free software. <BR> <A NAME="TOC42" HREF="bashref.html#SEC42">3.6.4 Redirecting Standard Output and Standard Error</A> <BR> -<A NAME="TOC43" HREF="bashref.html#SEC43">3.6.5 Here Documents</A> +<A NAME="TOC43" HREF="bashref.html#SEC43">3.6.5 Appending Standard Output and Standard Error</A> +<BR> +<A NAME="TOC44" HREF="bashref.html#SEC44">3.6.6 Here Documents</A> <BR> -<A NAME="TOC44" HREF="bashref.html#SEC44">3.6.6 Here Strings</A> +<A NAME="TOC45" HREF="bashref.html#SEC45">3.6.7 Here Strings</A> <BR> -<A NAME="TOC45" HREF="bashref.html#SEC45">3.6.7 Duplicating File Descriptors</A> +<A NAME="TOC46" HREF="bashref.html#SEC46">3.6.8 Duplicating File Descriptors</A> <BR> -<A NAME="TOC46" HREF="bashref.html#SEC46">3.6.8 Moving File Descriptors</A> +<A NAME="TOC47" HREF="bashref.html#SEC47">3.6.9 Moving File Descriptors</A> <BR> -<A NAME="TOC47" HREF="bashref.html#SEC47">3.6.9 Opening File Descriptors for Reading and Writing</A> +<A NAME="TOC48" HREF="bashref.html#SEC48">3.6.10 Opening File Descriptors for Reading and Writing</A> <BR> </UL> -<A NAME="TOC48" HREF="bashref.html#SEC48">3.7 Executing Commands</A> +<A NAME="TOC49" HREF="bashref.html#SEC49">3.7 Executing Commands</A> <BR> <UL> -<A NAME="TOC49" HREF="bashref.html#SEC49">3.7.1 Simple Command Expansion</A> +<A NAME="TOC50" HREF="bashref.html#SEC50">3.7.1 Simple Command Expansion</A> <BR> -<A NAME="TOC50" HREF="bashref.html#SEC50">3.7.2 Command Search and Execution</A> +<A NAME="TOC51" HREF="bashref.html#SEC51">3.7.2 Command Search and Execution</A> <BR> -<A NAME="TOC51" HREF="bashref.html#SEC51">3.7.3 Command Execution Environment</A> +<A NAME="TOC52" HREF="bashref.html#SEC52">3.7.3 Command Execution Environment</A> <BR> -<A NAME="TOC52" HREF="bashref.html#SEC52">3.7.4 Environment</A> +<A NAME="TOC53" HREF="bashref.html#SEC53">3.7.4 Environment</A> <BR> -<A NAME="TOC53" HREF="bashref.html#SEC53">3.7.5 Exit Status</A> +<A NAME="TOC54" HREF="bashref.html#SEC54">3.7.5 Exit Status</A> <BR> -<A NAME="TOC54" HREF="bashref.html#SEC54">3.7.6 Signals</A> +<A NAME="TOC55" HREF="bashref.html#SEC55">3.7.6 Signals</A> <BR> </UL> -<A NAME="TOC55" HREF="bashref.html#SEC55">3.8 Shell Scripts</A> +<A NAME="TOC56" HREF="bashref.html#SEC56">3.8 Shell Scripts</A> <BR> </UL> -<A NAME="TOC56" HREF="bashref.html#SEC56">4. Shell Builtin Commands</A> +<A NAME="TOC57" HREF="bashref.html#SEC57">4. Shell Builtin Commands</A> <BR> <UL> -<A NAME="TOC57" HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A> +<A NAME="TOC58" HREF="bashref.html#SEC58">4.1 Bourne Shell Builtins</A> <BR> -<A NAME="TOC58" HREF="bashref.html#SEC58">4.2 Bash Builtin Commands</A> +<A NAME="TOC59" HREF="bashref.html#SEC59">4.2 Bash Builtin Commands</A> <BR> -<A NAME="TOC59" HREF="bashref.html#SEC59">4.3 Modifying Shell Behavior</A> +<A NAME="TOC60" HREF="bashref.html#SEC60">4.3 Modifying Shell Behavior</A> <BR> <UL> -<A NAME="TOC60" HREF="bashref.html#SEC60">4.3.1 The Set Builtin</A> +<A NAME="TOC61" HREF="bashref.html#SEC61">4.3.1 The Set Builtin</A> <BR> -<A NAME="TOC61" HREF="bashref.html#SEC61">4.3.2 The Shopt Builtin</A> +<A NAME="TOC62" HREF="bashref.html#SEC62">4.3.2 The Shopt Builtin</A> <BR> </UL> -<A NAME="TOC62" HREF="bashref.html#SEC62">4.4 Special Builtins</A> +<A NAME="TOC63" HREF="bashref.html#SEC63">4.4 Special Builtins</A> <BR> </UL> -<A NAME="TOC63" HREF="bashref.html#SEC63">5. Shell Variables</A> +<A NAME="TOC64" HREF="bashref.html#SEC64">5. Shell Variables</A> <BR> <UL> -<A NAME="TOC64" HREF="bashref.html#SEC64">5.1 Bourne Shell Variables</A> +<A NAME="TOC65" HREF="bashref.html#SEC65">5.1 Bourne Shell Variables</A> <BR> -<A NAME="TOC65" HREF="bashref.html#SEC65">5.2 Bash Variables</A> +<A NAME="TOC66" HREF="bashref.html#SEC66">5.2 Bash Variables</A> <BR> </UL> -<A NAME="TOC66" HREF="bashref.html#SEC66">6. Bash Features</A> +<A NAME="TOC67" HREF="bashref.html#SEC67">6. Bash Features</A> <BR> <UL> -<A NAME="TOC67" HREF="bashref.html#SEC67">6.1 Invoking Bash</A> +<A NAME="TOC68" HREF="bashref.html#SEC68">6.1 Invoking Bash</A> <BR> -<A NAME="TOC68" HREF="bashref.html#SEC68">6.2 Bash Startup Files</A> +<A NAME="TOC69" HREF="bashref.html#SEC69">6.2 Bash Startup Files</A> <BR> -<A NAME="TOC76" HREF="bashref.html#SEC76">6.3 Interactive Shells</A> +<A NAME="TOC77" HREF="bashref.html#SEC77">6.3 Interactive Shells</A> <BR> <UL> -<A NAME="TOC77" HREF="bashref.html#SEC77">6.3.1 What is an Interactive Shell?</A> +<A NAME="TOC78" HREF="bashref.html#SEC78">6.3.1 What is an Interactive Shell?</A> <BR> -<A NAME="TOC78" HREF="bashref.html#SEC78">6.3.2 Is this Shell Interactive?</A> +<A NAME="TOC79" HREF="bashref.html#SEC79">6.3.2 Is this Shell Interactive?</A> <BR> -<A NAME="TOC79" HREF="bashref.html#SEC79">6.3.3 Interactive Shell Behavior</A> +<A NAME="TOC80" HREF="bashref.html#SEC80">6.3.3 Interactive Shell Behavior</A> <BR> </UL> -<A NAME="TOC80" HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A> +<A NAME="TOC81" HREF="bashref.html#SEC81">6.4 Bash Conditional Expressions</A> <BR> -<A NAME="TOC81" HREF="bashref.html#SEC81">6.5 Shell Arithmetic</A> +<A NAME="TOC82" HREF="bashref.html#SEC82">6.5 Shell Arithmetic</A> <BR> -<A NAME="TOC82" HREF="bashref.html#SEC82">6.6 Aliases</A> +<A NAME="TOC83" HREF="bashref.html#SEC83">6.6 Aliases</A> <BR> -<A NAME="TOC83" HREF="bashref.html#SEC83">6.7 Arrays</A> +<A NAME="TOC84" HREF="bashref.html#SEC84">6.7 Arrays</A> <BR> -<A NAME="TOC84" HREF="bashref.html#SEC84">6.8 The Directory Stack</A> +<A NAME="TOC85" HREF="bashref.html#SEC85">6.8 The Directory Stack</A> <BR> <UL> -<A NAME="TOC85" HREF="bashref.html#SEC85">6.8.1 Directory Stack Builtins</A> +<A NAME="TOC86" HREF="bashref.html#SEC86">6.8.1 Directory Stack Builtins</A> <BR> </UL> -<A NAME="TOC86" HREF="bashref.html#SEC86">6.9 Controlling the Prompt</A> +<A NAME="TOC87" HREF="bashref.html#SEC87">6.9 Controlling the Prompt</A> <BR> -<A NAME="TOC87" HREF="bashref.html#SEC87">6.10 The Restricted Shell</A> +<A NAME="TOC88" HREF="bashref.html#SEC88">6.10 The Restricted Shell</A> <BR> -<A NAME="TOC88" HREF="bashref.html#SEC88">6.11 Bash POSIX Mode</A> +<A NAME="TOC89" HREF="bashref.html#SEC89">6.11 Bash POSIX Mode</A> <BR> </UL> -<A NAME="TOC89" HREF="bashref.html#SEC89">7. Job Control</A> +<A NAME="TOC90" HREF="bashref.html#SEC90">7. Job Control</A> <BR> <UL> -<A NAME="TOC90" HREF="bashref.html#SEC90">7.1 Job Control Basics</A> +<A NAME="TOC91" HREF="bashref.html#SEC91">7.1 Job Control Basics</A> <BR> -<A NAME="TOC91" HREF="bashref.html#SEC91">7.2 Job Control Builtins</A> +<A NAME="TOC92" HREF="bashref.html#SEC92">7.2 Job Control Builtins</A> <BR> -<A NAME="TOC92" HREF="bashref.html#SEC92">7.3 Job Control Variables</A> +<A NAME="TOC93" HREF="bashref.html#SEC93">7.3 Job Control Variables</A> <BR> </UL> -<A NAME="TOC93" HREF="bashref.html#SEC93">8. Command Line Editing</A> +<A NAME="TOC94" HREF="bashref.html#SEC94">8. Command Line Editing</A> <BR> <UL> -<A NAME="TOC94" HREF="bashref.html#SEC94">8.1 Introduction to Line Editing</A> +<A NAME="TOC95" HREF="bashref.html#SEC95">8.1 Introduction to Line Editing</A> <BR> -<A NAME="TOC95" HREF="bashref.html#SEC95">8.2 Readline Interaction</A> +<A NAME="TOC96" HREF="bashref.html#SEC96">8.2 Readline Interaction</A> <BR> <UL> -<A NAME="TOC96" HREF="bashref.html#SEC96">8.2.1 Readline Bare Essentials</A> +<A NAME="TOC97" HREF="bashref.html#SEC97">8.2.1 Readline Bare Essentials</A> <BR> -<A NAME="TOC97" HREF="bashref.html#SEC97">8.2.2 Readline Movement Commands</A> +<A NAME="TOC98" HREF="bashref.html#SEC98">8.2.2 Readline Movement Commands</A> <BR> -<A NAME="TOC98" HREF="bashref.html#SEC98">8.2.3 Readline Killing Commands</A> +<A NAME="TOC99" HREF="bashref.html#SEC99">8.2.3 Readline Killing Commands</A> <BR> -<A NAME="TOC99" HREF="bashref.html#SEC99">8.2.4 Readline Arguments</A> +<A NAME="TOC100" HREF="bashref.html#SEC100">8.2.4 Readline Arguments</A> <BR> -<A NAME="TOC100" HREF="bashref.html#SEC100">8.2.5 Searching for Commands in the History</A> +<A NAME="TOC101" HREF="bashref.html#SEC101">8.2.5 Searching for Commands in the History</A> <BR> </UL> -<A NAME="TOC101" HREF="bashref.html#SEC101">8.3 Readline Init File</A> +<A NAME="TOC102" HREF="bashref.html#SEC102">8.3 Readline Init File</A> <BR> <UL> -<A NAME="TOC102" HREF="bashref.html#SEC102">8.3.1 Readline Init File Syntax</A> +<A NAME="TOC103" HREF="bashref.html#SEC103">8.3.1 Readline Init File Syntax</A> <BR> -<A NAME="TOC103" HREF="bashref.html#SEC103">8.3.2 Conditional Init Constructs</A> +<A NAME="TOC104" HREF="bashref.html#SEC104">8.3.2 Conditional Init Constructs</A> <BR> -<A NAME="TOC104" HREF="bashref.html#SEC104">8.3.3 Sample Init File</A> +<A NAME="TOC105" HREF="bashref.html#SEC105">8.3.3 Sample Init File</A> <BR> </UL> -<A NAME="TOC105" HREF="bashref.html#SEC105">8.4 Bindable Readline Commands</A> +<A NAME="TOC106" HREF="bashref.html#SEC106">8.4 Bindable Readline Commands</A> <BR> <UL> -<A NAME="TOC106" HREF="bashref.html#SEC106">8.4.1 Commands For Moving</A> +<A NAME="TOC107" HREF="bashref.html#SEC107">8.4.1 Commands For Moving</A> <BR> -<A NAME="TOC107" HREF="bashref.html#SEC107">8.4.2 Commands For Manipulating The History</A> +<A NAME="TOC108" HREF="bashref.html#SEC108">8.4.2 Commands For Manipulating The History</A> <BR> -<A NAME="TOC108" HREF="bashref.html#SEC108">8.4.3 Commands For Changing Text</A> +<A NAME="TOC109" HREF="bashref.html#SEC109">8.4.3 Commands For Changing Text</A> <BR> -<A NAME="TOC109" HREF="bashref.html#SEC109">8.4.4 Killing And Yanking</A> +<A NAME="TOC110" HREF="bashref.html#SEC110">8.4.4 Killing And Yanking</A> <BR> -<A NAME="TOC110" HREF="bashref.html#SEC110">8.4.5 Specifying Numeric Arguments</A> +<A NAME="TOC111" HREF="bashref.html#SEC111">8.4.5 Specifying Numeric Arguments</A> <BR> -<A NAME="TOC111" HREF="bashref.html#SEC111">8.4.6 Letting Readline Type For You</A> +<A NAME="TOC112" HREF="bashref.html#SEC112">8.4.6 Letting Readline Type For You</A> <BR> -<A NAME="TOC112" HREF="bashref.html#SEC112">8.4.7 Keyboard Macros</A> +<A NAME="TOC113" HREF="bashref.html#SEC113">8.4.7 Keyboard Macros</A> <BR> -<A NAME="TOC113" HREF="bashref.html#SEC113">8.4.8 Some Miscellaneous Commands</A> +<A NAME="TOC114" HREF="bashref.html#SEC114">8.4.8 Some Miscellaneous Commands</A> <BR> </UL> -<A NAME="TOC114" HREF="bashref.html#SEC114">8.5 Readline vi Mode</A> +<A NAME="TOC115" HREF="bashref.html#SEC115">8.5 Readline vi Mode</A> <BR> -<A NAME="TOC115" HREF="bashref.html#SEC115">8.6 Programmable Completion</A> +<A NAME="TOC116" HREF="bashref.html#SEC116">8.6 Programmable Completion</A> <BR> -<A NAME="TOC116" HREF="bashref.html#SEC116">8.7 Programmable Completion Builtins</A> +<A NAME="TOC117" HREF="bashref.html#SEC117">8.7 Programmable Completion Builtins</A> <BR> </UL> -<A NAME="TOC117" HREF="bashref.html#SEC117">9. Using History Interactively</A> +<A NAME="TOC118" HREF="bashref.html#SEC118">9. Using History Interactively</A> <BR> <UL> -<A NAME="TOC118" HREF="bashref.html#SEC118">9.1 Bash History Facilities</A> +<A NAME="TOC119" HREF="bashref.html#SEC119">9.1 Bash History Facilities</A> <BR> -<A NAME="TOC119" HREF="bashref.html#SEC119">9.2 Bash History Builtins</A> +<A NAME="TOC120" HREF="bashref.html#SEC120">9.2 Bash History Builtins</A> <BR> -<A NAME="TOC120" HREF="bashref.html#SEC120">9.3 History Expansion</A> +<A NAME="TOC121" HREF="bashref.html#SEC121">9.3 History Expansion</A> <BR> <UL> -<A NAME="TOC121" HREF="bashref.html#SEC121">9.3.1 Event Designators</A> +<A NAME="TOC122" HREF="bashref.html#SEC122">9.3.1 Event Designators</A> <BR> -<A NAME="TOC122" HREF="bashref.html#SEC122">9.3.2 Word Designators</A> +<A NAME="TOC123" HREF="bashref.html#SEC123">9.3.2 Word Designators</A> <BR> -<A NAME="TOC123" HREF="bashref.html#SEC123">9.3.3 Modifiers</A> +<A NAME="TOC124" HREF="bashref.html#SEC124">9.3.3 Modifiers</A> <BR> </UL> </UL> -<A NAME="TOC124" HREF="bashref.html#SEC124">10. Installing Bash</A> +<A NAME="TOC125" HREF="bashref.html#SEC125">10. Installing Bash</A> <BR> <UL> -<A NAME="TOC125" HREF="bashref.html#SEC125">10.1 Basic Installation</A> +<A NAME="TOC126" HREF="bashref.html#SEC126">10.1 Basic Installation</A> <BR> -<A NAME="TOC126" HREF="bashref.html#SEC126">10.2 Compilers and Options</A> +<A NAME="TOC127" HREF="bashref.html#SEC127">10.2 Compilers and Options</A> <BR> -<A NAME="TOC127" HREF="bashref.html#SEC127">10.3 Compiling For Multiple Architectures</A> +<A NAME="TOC128" HREF="bashref.html#SEC128">10.3 Compiling For Multiple Architectures</A> <BR> -<A NAME="TOC128" HREF="bashref.html#SEC128">10.4 Installation Names</A> +<A NAME="TOC129" HREF="bashref.html#SEC129">10.4 Installation Names</A> <BR> -<A NAME="TOC129" HREF="bashref.html#SEC129">10.5 Specifying the System Type</A> +<A NAME="TOC130" HREF="bashref.html#SEC130">10.5 Specifying the System Type</A> <BR> -<A NAME="TOC130" HREF="bashref.html#SEC130">10.6 Sharing Defaults</A> +<A NAME="TOC131" HREF="bashref.html#SEC131">10.6 Sharing Defaults</A> <BR> -<A NAME="TOC131" HREF="bashref.html#SEC131">10.7 Operation Controls</A> +<A NAME="TOC132" HREF="bashref.html#SEC132">10.7 Operation Controls</A> <BR> -<A NAME="TOC132" HREF="bashref.html#SEC132">10.8 Optional Features</A> +<A NAME="TOC133" HREF="bashref.html#SEC133">10.8 Optional Features</A> <BR> </UL> -<A NAME="TOC133" HREF="bashref.html#SEC133">A. Reporting Bugs</A> +<A NAME="TOC134" HREF="bashref.html#SEC134">A. Reporting Bugs</A> <BR> -<A NAME="TOC134" HREF="bashref.html#SEC134">B. Major Differences From The Bourne Shell</A> +<A NAME="TOC135" HREF="bashref.html#SEC135">B. Major Differences From The Bourne Shell</A> <BR> <UL> -<A NAME="TOC135" HREF="bashref.html#SEC135">B.1 Implementation Differences From The SVR4.2 Shell</A> +<A NAME="TOC136" HREF="bashref.html#SEC136">B.1 Implementation Differences From The SVR4.2 Shell</A> <BR> </UL> -<A NAME="TOC136" HREF="bashref.html#SEC136">C. GNU Free Documentation License</A> +<A NAME="TOC137" HREF="bashref.html#SEC137">C. GNU Free Documentation License</A> <BR> -<A NAME="TOC138" HREF="bashref.html#SEC138">D. Indexes</A> +<A NAME="TOC139" HREF="bashref.html#SEC139">D. Indexes</A> <BR> <UL> -<A NAME="TOC139" HREF="bashref.html#SEC139">D.1 Index of Shell Builtin Commands</A> +<A NAME="TOC140" HREF="bashref.html#SEC140">D.1 Index of Shell Builtin Commands</A> <BR> -<A NAME="TOC140" HREF="bashref.html#SEC140">D.2 Index of Shell Reserved Words</A> +<A NAME="TOC141" HREF="bashref.html#SEC141">D.2 Index of Shell Reserved Words</A> <BR> -<A NAME="TOC141" HREF="bashref.html#SEC141">D.3 Parameter and Variable Index</A> +<A NAME="TOC142" HREF="bashref.html#SEC142">D.3 Parameter and Variable Index</A> <BR> -<A NAME="TOC142" HREF="bashref.html#SEC142">D.4 Function Index</A> +<A NAME="TOC143" HREF="bashref.html#SEC143">D.4 Function Index</A> <BR> -<A NAME="TOC143" HREF="bashref.html#SEC143">D.5 Concept Index</A> +<A NAME="TOC144" HREF="bashref.html#SEC144">D.5 Concept Index</A> <BR> </UL> </UL> @@ -15284,7 +15470,7 @@ to permit their use in free software. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1>Short Table of Contents</H1> @@ -15295,27 +15481,27 @@ to permit their use in free software. <BR> <A NAME="TOC5" HREF="bashref.html#SEC5">3. Basic Shell Features</A> <BR> -<A NAME="TOC56" HREF="bashref.html#SEC56">4. Shell Builtin Commands</A> +<A NAME="TOC57" HREF="bashref.html#SEC57">4. Shell Builtin Commands</A> <BR> -<A NAME="TOC63" HREF="bashref.html#SEC63">5. Shell Variables</A> +<A NAME="TOC64" HREF="bashref.html#SEC64">5. Shell Variables</A> <BR> -<A NAME="TOC66" HREF="bashref.html#SEC66">6. Bash Features</A> +<A NAME="TOC67" HREF="bashref.html#SEC67">6. Bash Features</A> <BR> -<A NAME="TOC89" HREF="bashref.html#SEC89">7. Job Control</A> +<A NAME="TOC90" HREF="bashref.html#SEC90">7. Job Control</A> <BR> -<A NAME="TOC93" HREF="bashref.html#SEC93">8. Command Line Editing</A> +<A NAME="TOC94" HREF="bashref.html#SEC94">8. Command Line Editing</A> <BR> -<A NAME="TOC117" HREF="bashref.html#SEC117">9. Using History Interactively</A> +<A NAME="TOC118" HREF="bashref.html#SEC118">9. Using History Interactively</A> <BR> -<A NAME="TOC124" HREF="bashref.html#SEC124">10. Installing Bash</A> +<A NAME="TOC125" HREF="bashref.html#SEC125">10. Installing Bash</A> <BR> -<A NAME="TOC133" HREF="bashref.html#SEC133">A. Reporting Bugs</A> +<A NAME="TOC134" HREF="bashref.html#SEC134">A. Reporting Bugs</A> <BR> -<A NAME="TOC134" HREF="bashref.html#SEC134">B. Major Differences From The Bourne Shell</A> +<A NAME="TOC135" HREF="bashref.html#SEC135">B. Major Differences From The Bourne Shell</A> <BR> -<A NAME="TOC136" HREF="bashref.html#SEC136">C. GNU Free Documentation License</A> +<A NAME="TOC137" HREF="bashref.html#SEC137">C. GNU Free Documentation License</A> <BR> -<A NAME="TOC138" HREF="bashref.html#SEC138">D. Indexes</A> +<A NAME="TOC139" HREF="bashref.html#SEC139">D. Indexes</A> <BR> </BLOCKQUOTE> @@ -15324,11 +15510,11 @@ to permit their use in free software. <TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0> <TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Top">Top</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_Contents">Contents</A>]</TD> -<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC138">Index</A>]</TD> +<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC139">Index</A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD> </TR></TABLE> <H1>About this document</H1> -This document was generated by <I>Chet Ramey</I> on <I>April, 8 2008</I> +This document was generated by <I>Chet Ramey</I> on <I>May, 29 2008</I> using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html "><I>texi2html</I></A> <P></P> @@ -15490,7 +15676,7 @@ the following structure: <BR> <FONT SIZE="-1"> This document was generated -by <I>Chet Ramey</I> on <I>April, 8 2008</I> +by <I>Chet Ramey</I> on <I>May, 29 2008</I> using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html "><I>texi2html</I></A> diff --git a/doc/bashref.info b/doc/bashref.info index 43458862..7c528378 100644 --- a/doc/bashref.info +++ b/doc/bashref.info @@ -1,11 +1,11 @@ This is bashref.info, produced by makeinfo version 4.11 from -/usr/homes/chet/src/bash/src/doc/bashref.texi. +/Users/chet/src/bash/src/doc/bashref.texi. This text is a brief description of the features that are present in -the Bash shell (version 3.2, 5 April 2008). +the Bash shell (version 4.0, 25 May 2008). - This is Edition 3.2, last updated 5 April 2008, of `The GNU Bash -Reference Manual', for `Bash', Version 3.2. + This is Edition 4.0, last updated 25 May 2008, of `The GNU Bash +Reference Manual', for `Bash', Version 4.0. Copyright (C) 1988-2007 Free Software Foundation, Inc. @@ -38,10 +38,10 @@ Bash Features ************* This text is a brief description of the features that are present in -the Bash shell (version 3.2, 5 April 2008). +the Bash shell (version 4.0, 25 May 2008). - This is Edition 3.2, last updated 5 April 2008, of `The GNU Bash -Reference Manual', for `Bash', Version 3.2. + This is Edition 4.0, last updated 25 May 2008, of `The GNU Bash +Reference Manual', for `Bash', Version 4.0. Bash contains features that appear in other popular shells, and some features that only appear in Bash. Some of the shells that Bash has @@ -185,7 +185,8 @@ These definitions are used throughout the remainder of this manual. `control operator' A `token' that performs a control function. It is a `newline' or - one of the following: `||', `&&', `&', `;', `;;', `|', `(', or `)'. + one of the following: `||', `&&', `&', `;', `;;', `|', `|&', `(', + or `)'. `exit status' The value returned by a command to its caller. The value is @@ -554,14 +555,21 @@ File: bashref.info, Node: Pipelines, Next: Lists, Prev: Simple Commands, Up: 3.2.2 Pipelines --------------- -A `pipeline' is a sequence of simple commands separated by `|'. +A `pipeline' is a sequence of simple commands separated by one of the +control operators `|' or `|&'. The format for a pipeline is - [`time' [`-p']] [`!'] COMMAND1 [`|' COMMAND2 ...] + [`time' [`-p']] [`!'] COMMAND1 [ [`|' or `|&'] COMMAND2 ...] The output of each command in the pipeline is connected via a pipe to the input of the next command. That is, each command reads the -previous command's output. +previous command's output. This connection is performed before any +redirections specified by the command. + + If `|&' is used, the standard error of COMMAND1 is connected to +COMMAND2's standard input through the pipe; it is shorthand for `2>&1 +|'. This implicit redirection of the standard error is performed after +any redirections specified by the command. The reserved word `time' causes timing statistics to be printed for the pipeline once it finishes. The statistics currently consist of @@ -754,16 +762,18 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre the case of alphabetic characters. The `|' is used to separate multiple patterns, and the `)' operator terminates a pattern list. A list of patterns and an associated command-list is known as a - CLAUSE. Each clause must be terminated with `;;'. The WORD - undergoes tilde expansion, parameter expansion, command + CLAUSE. + + Each clause must be terminated with `;;', `,&', or `;;&'. The + WORD undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before matching is attempted. Each PATTERN undergoes tilde expansion, parameter expansion, command substitution, and arithmetic expansion. There may be an arbitrary number of `case' clauses, each terminated - by a `;;'. The first pattern that matches determines the - command-list that is executed. + by a `;;', `;&', or `;;&'. The first pattern that matches + determines the command-list that is executed. Here is an example using `case' in a script that could be used to describe one interesting feature of an animal: @@ -778,6 +788,13 @@ File: bashref.info, Node: Conditional Constructs, Next: Command Grouping, Pre esac echo " legs." + If the `;;' operator is used, no subsequent matches are attempted + after the first pattern match. Using `;&' in place of `;;' + causes execution to continue with the COMMAND-LIST associated with + the next clause, if any. Using `;;&' in place of `;;' causes the + shell to test the patterns in the next clause, if any, and execute + any associated COMMAND-LIST on a successful match. + The return status is zero if no PATTERN is matched. Otherwise, the return status is the exit status of the COMMAND-LIST executed. @@ -1213,12 +1230,18 @@ are not sorted; left to right order is preserved. For example, bash$ echo a{d,c,b}e ade ace abe - A sequence expression takes the form `{X..Y}', where X and Y are -either integers or single characters. When integers are supplied, the -expression expands to each number between X and Y, inclusive. When -characters are supplied, the expression expands to each character -lexicographically between X and Y, inclusive. Note that both X and Y -must be of the same type. + A sequence expression takes the form `{X..Y[INCR]}', where X and Y +are either integers or single characters, and INCR, an optional +increment, is an integer. When integers are supplied, the expression +expands to each number between X and Y, inclusive. Supplied integers +may be prefixed with `0' to force each term to have the same width. +When either X or Y begins with a zero, the shell attempts to force all +generated terms to contain the same number of digits, zero-padding +where necessary. When characters are supplied, the expression expands +to each character lexicographically between X and Y, inclusive. Note +that both X and Y must be of the same type. When the increment is +supplied, it is used as the difference between each term. The default +increment is 1 or -1 as appropriate. Brace expansion is performed before any other expansions, and any characters special to other expansions are preserved in the result. It @@ -1627,7 +1650,12 @@ characters must be quoted if they are to be matched literally. The special pattern characters have the following meanings: `*' - Matches any string, including the null string. + Matches any string, including the null string. When the + `globstar' shell option is enabled, and `*' is used in a filename + expansion context, two adjacent `*'s used as a single pattern will + match all files and zero or more directories and subdirectories. + If followed by a `/', two adjacent `*'s will match only + directories and subdirectories. `?' Matches any single character. @@ -1812,9 +1840,9 @@ specified. If the file does not exist it is created. 3.6.4 Redirecting Standard Output and Standard Error ---------------------------------------------------- -Bash allows both the standard output (file descriptor 1) and the -standard error output (file descriptor 2) to be redirected to the file -whose name is the expansion of WORD with this construct. +This construct allows both the standard output (file descriptor 1) and +the standard error output (file descriptor 2) to be redirected to the +file whose name is the expansion of WORD. There are two formats for redirecting standard output and standard error: @@ -1825,7 +1853,19 @@ error: equivalent to >WORD 2>&1 -3.6.5 Here Documents +3.6.5 Appending Standard Output and Standard Error +-------------------------------------------------- + +This construct allows both the standard output (file descriptor 1) and +the standard error output (file descriptor 2) to be appended to the +file whose name is the expansion of WORD. + + The format for appending standard output and standard error is: + &>>WORD + This is semantically equivalent to + >>WORD 2>&1 + +3.6.6 Here Documents -------------------- This type of redirection instructs the shell to read input from the @@ -1852,7 +1892,7 @@ characters are stripped from input lines and the line containing DELIMITER. This allows here-documents within shell scripts to be indented in a natural fashion. -3.6.6 Here Strings +3.6.7 Here Strings ------------------ A variant of here documents, the format is: @@ -1861,7 +1901,7 @@ A variant of here documents, the format is: The WORD is expanded and supplied to the command on its standard input. -3.6.7 Duplicating File Descriptors +3.6.8 Duplicating File Descriptors ---------------------------------- The redirection operator @@ -1882,7 +1922,7 @@ redirection error occurs. As a special case, if N is omitted, and WORD does not expand to one or more digits, the standard output and standard error are redirected as described previously. -3.6.8 Moving File Descriptors +3.6.9 Moving File Descriptors ----------------------------- The redirection operator @@ -1896,8 +1936,8 @@ closed after being duplicated to N. moves the file descriptor DIGIT to file descriptor N, or the standard output (file descriptor 1) if N is not specified. -3.6.9 Opening File Descriptors for Reading and Writing ------------------------------------------------------- +3.6.10 Opening File Descriptors for Reading and Writing +------------------------------------------------------- The redirection operator [N]<>WORD @@ -1993,8 +2033,13 @@ taken. avoid multiple `PATH' searches (see the description of `hash' in *note Bourne Shell Builtins::). A full search of the directories in `$PATH' is performed only if the command is not found in the - hash table. If the search is unsuccessful, the shell prints an - error message and returns an exit status of 127. + hash table. If the search is unsuccessful, the shell searches for + a defined shell function named `command_not_found_handle'. If + that function exists, it is invoked with the original command and + the original command's arguments as its arguments, and the + function's exit status becomes the exit status of the shell. If + that function is not defined, the shell prints an error message + and returns an exit status of 127. 4. If the search is successful, or if the command name contains one or more slashes, the shell executes the named program in a @@ -2674,8 +2719,9 @@ POSIX standard. command as it would appear in a Readline initialization file (*note Readline Init File::), but each binding or command must be passed as a separate argument; e.g., - `"\C-x\C-r":re-read-init-file'. Options, if supplied, have the - following meanings: + `"\C-x\C-r":re-read-init-file'. + + Options, if supplied, have the following meanings: `-m KEYMAP' Use KEYMAP as the keymap to be affected by the subsequent @@ -2726,7 +2772,12 @@ POSIX standard. `-x KEYSEQ:SHELL-COMMAND' Cause SHELL-COMMAND to be executed whenever KEYSEQ is entered. - + When SHELL-COMMAND is executed, the shell sets the + `READLINE_LINE' variable to the contents of the Readline line + buffer and the `READLINE_POINT' variable to the current + location of the insertion point. If the executed command + changes the value of `READLINE_LINE' or `READLINE_POINT', + those new values will be reflected in the editing state. The return status is zero unless an invalid option is supplied or an error occurs. @@ -2922,13 +2973,24 @@ POSIX standard. there is an error loading a new builtin from a shared object. `help' - help [-s] [PATTERN] + help [-dms] [PATTERN] Display helpful information about builtin commands. If PATTERN is specified, `help' gives detailed help on all commands matching - PATTERN, otherwise a list of the builtins is printed. The `-s' - option restricts the information displayed to a short usage - synopsis. The return status is zero unless no command matches - PATTERN. + PATTERN, otherwise a list of the builtins is printed. + + Options, if supplied, have the following meanings: + + `-d' + Display a short description of each PATTERN + + `-m' + Display the description of each PATTERN in a manpage-like + format + + `-s' + Display only a short usage synopsis for each PATTERN + + The return status is zero unless no command matches PATTERN. `let' let EXPRESSION [EXPRESSION] @@ -2951,6 +3013,47 @@ POSIX standard. logout [N] Exit a login shell, returning a status of N to the shell's parent. +`mapfile' + mapfile [-n COUNT] [-O ORIGIN] [-s COUNT] [-t] [-u FD] [ + -C CALLBACK] [-c QUANTUM] [ARRAY] + Read lines from the standard input into array variable ARRAY, or + from file descriptor FD if the `-u' option is supplied. The + variable `MAPFILE' is the default ARRAY. Options, if supplied, + have the following meanings: + `-n' + Copy at most COUNT lines. If COUNT is 0, all lines are + copied. + + `-O' + Begin assigning to ARRAY at index ORIGIN. The default index + is 0. + + `-s' + Discard the first COUNT lines read. + + `-t' + Remove a trailing line from each line read. + + `-u' + Read lines from file descriptor FD instead of the standard + input. + + `-C' + Evaluate CALLBACK each time QUANTUMP lines are read. The + `-c' option specifies QUANTUM. + + `-c' + Specify the number of lines read between each call to + CALLBACK. + + If `-C' is specified without `-c', the default quantum is 5000. + + If not supplied with an explicit origin, `mapfile' will clear ARRAY + before assigning to it. + + `mapfile' returns successfully unless an invalid option or option + argument is supplied, or ARRAY is invalid or unassignable. + `printf' printf [-v VAR] FORMAT [ARGUMENTS] Write the formatted ARGUMENTS to the standard output under the @@ -3033,9 +3136,10 @@ POSIX standard. `-t TIMEOUT' Cause `read' to time out and return failure if a complete - line of input is not read within TIMEOUT seconds. This - option has no effect if `read' is not reading input from the - terminal or a pipe. + line of input is not read within TIMEOUT seconds. TIMEOUT + may be a decimal number with a fractional portion following + the decimal point. This option has no effect if `read' is + not reading input from the terminal or a pipe. `-u FD' Read input from file descriptor FD. @@ -3073,8 +3177,8 @@ POSIX standard. If the `-f' option is used, `type' does not attempt to find shell functions, as with the `command' builtin. - The return status is zero if any of the NAMES are found, non-zero - if none are found. + The return status is zero if all of the NAMES are found, non-zero + if any are not found. `typeset' typeset [-afFrxi] [-p] [NAME[=VALUE] ...] @@ -3533,6 +3637,11 @@ This builtin allows you to change additional shell optional behavior. respect to quoted arguments to the conditional command's =~ operator. + `dirspell' + If set, Bash attempts spelling correction on directory names + during word completion if the directory name initially + supplied does not exist. + `dotglob' If set, Bash includes filenames beginning with a `.' in the results of filename expansion. @@ -3596,6 +3705,12 @@ This builtin allows you to change additional shell optional behavior. *Note Bash Variables::, for a description of `FIGNORE'. This option is enabled by default. + `globstar' + If set, the pattern `**' used in a filename expansion context + will match a files and zero or more directories and + subdirectories. If the pattern is followed by a `/', only + directories and subdirectories match. + `gnu_errfmt' If set, shell error messages are written in the standard GNU error message format. @@ -6118,6 +6233,13 @@ Variable Settings completion in a case-insensitive fashion. The default value is `off'. + `completion-prefix-display-length' + The length in characters of the common prefix of a list of + possible completions that is displayed without modification. + When set to a value greater than zero, common prefixes longer + than this value are replaced with an ellipsis when displaying + possible completions. + `completion-query-items' The number of possible completions that determines when the user is asked whether the list of possibilities should be @@ -6231,6 +6353,12 @@ Variable Settings sorted horizontally in alphabetical order, rather than down the screen. The default is `off'. + `revert-all-at-newline' + If set to `on', Readline will undo all changes to history + lines before returning when `accept-line' is executed. By + default, history lines may be modified and retain individual + undo lists across calls to `readline'. The default is `off'. + `show-all-if-ambiguous' This alters the default behavior of the completion functions. If set to `on', words which have more than one possible @@ -6920,6 +7048,11 @@ File: bashref.info, Node: Commands For Completion, Next: Keyboard Macros, Pre against lines from the history list for possible completion matches. +`dabbrev-expand ()' + Attempt menu completion on the text before point, comparing the + text against lines from the history list for possible completion + matches. + `complete-into-braces (M-{)' Perform filename completion and insert the list of possible completions enclosed within braces so the list is available to the @@ -7235,17 +7368,19 @@ completion facilities. no matches were generated. `complete' - `complete [-abcdefgjksuv] [-o COMP-OPTION] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] + `complete [-abcdefgjksuv] [-o COMP-OPTION] [-E] [-A ACTION] [-G GLOBPAT] [-W WORDLIST] [-F FUNCTION] [-C COMMAND] [-X FILTERPAT] [-P PREFIX] [-S SUFFIX] NAME [NAME ...]' - `complete -pr [NAME ...]' + `complete -pr [-E] [NAME ...]' Specify how arguments to each NAME should be completed. If the `-p' option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. The `-r' option removes a completion specification for each NAME, or, if no NAMEs are supplied, all - completion specifications. + completion specifications. The `-E' option indicates that the + remaining options and actions should apply to "empty" command + completion; that is, completion attempted on a blank line. The process of applying these completion specifications when word completion is attempted is described above (*note Programmable @@ -9118,26 +9253,26 @@ D.1 Index of Shell Builtin Commands * bind: Bash Builtins. (line 21) * break: Bourne Shell Builtins. (line 29) -* builtin: Bash Builtins. (line 92) -* caller: Bash Builtins. (line 100) +* builtin: Bash Builtins. (line 98) +* caller: Bash Builtins. (line 106) * cd: Bourne Shell Builtins. (line 36) -* command: Bash Builtins. (line 117) +* command: Bash Builtins. (line 123) * compgen: Programmable Completion Builtins. (line 10) * complete: Programmable Completion Builtins. (line 28) * compopt: Programmable Completion Builtins. - (line 210) + (line 212) * continue: Bourne Shell Builtins. (line 55) -* declare: Bash Builtins. (line 136) +* declare: Bash Builtins. (line 142) * dirs: Directory Stack Builtins. (line 7) * disown: Job Control Builtins. (line 83) -* echo: Bash Builtins. (line 202) -* enable: Bash Builtins. (line 254) +* echo: Bash Builtins. (line 208) +* enable: Bash Builtins. (line 260) * eval: Bourne Shell Builtins. (line 63) * exec: Bourne Shell Builtins. @@ -9154,24 +9289,25 @@ D.1 Index of Shell Builtin Commands (line 103) * hash: Bourne Shell Builtins. (line 145) -* help: Bash Builtins. (line 282) +* help: Bash Builtins. (line 288) * history: Bash History Builtins. (line 39) * jobs: Job Control Builtins. (line 25) * kill: Job Control Builtins. (line 57) -* let: Bash Builtins. (line 291) -* local: Bash Builtins. (line 298) -* logout: Bash Builtins. (line 308) +* let: Bash Builtins. (line 308) +* local: Bash Builtins. (line 315) +* logout: Bash Builtins. (line 325) +* mapfile: Bash Builtins. (line 329) * popd: Directory Stack Builtins. (line 37) -* printf: Bash Builtins. (line 312) +* printf: Bash Builtins. (line 370) * pushd: Directory Stack Builtins. (line 58) * pwd: Bourne Shell Builtins. (line 163) -* read: Bash Builtins. (line 337) +* read: Bash Builtins. (line 395) * readonly: Bourne Shell Builtins. (line 172) * return: Bourne Shell Builtins. @@ -9180,7 +9316,7 @@ D.1 Index of Shell Builtin Commands * shift: Bourne Shell Builtins. (line 200) * shopt: The Shopt Builtin. (line 9) -* source: Bash Builtins. (line 402) +* source: Bash Builtins. (line 461) * suspend: Job Control Builtins. (line 94) * test: Bourne Shell Builtins. @@ -9189,12 +9325,12 @@ D.1 Index of Shell Builtin Commands (line 280) * trap: Bourne Shell Builtins. (line 285) -* type: Bash Builtins. (line 406) -* typeset: Bash Builtins. (line 437) -* ulimit: Bash Builtins. (line 443) +* type: Bash Builtins. (line 465) +* typeset: Bash Builtins. (line 496) +* ulimit: Bash Builtins. (line 502) * umask: Bourne Shell Builtins. (line 326) -* unalias: Bash Builtins. (line 529) +* unalias: Bash Builtins. (line 588) * unset: Bourne Shell Builtins. (line 343) * wait: Job Control Builtins. @@ -9209,11 +9345,11 @@ D.2 Index of Shell Reserved Words * Menu: -* !: Pipelines. (line 8) +* !: Pipelines. (line 9) * [[: Conditional Constructs. - (line 108) + (line 117) * ]]: Conditional Constructs. - (line 108) + (line 117) * case: Conditional Constructs. (line 28) * do: Looping Constructs. (line 12) @@ -9233,10 +9369,10 @@ D.2 Index of Shell Reserved Words * in: Conditional Constructs. (line 28) * select: Conditional Constructs. - (line 67) + (line 76) * then: Conditional Constructs. (line 7) -* time: Pipelines. (line 8) +* time: Pipelines. (line 9) * until: Looping Constructs. (line 12) * while: Looping Constructs. (line 20) * {: Command Grouping. (line 21) @@ -9291,22 +9427,24 @@ D.3 Parameter and Variable Index * COMP_TYPE: Bash Variables. (line 131) * COMP_WORDBREAKS: Bash Variables. (line 145) * COMP_WORDS: Bash Variables. (line 151) -* completion-query-items: Readline Init File Syntax. +* completion-prefix-display-length: Readline Init File Syntax. (line 60) +* completion-query-items: Readline Init File Syntax. + (line 67) * COMPREPLY: Bash Variables. (line 158) * convert-meta: Readline Init File Syntax. - (line 70) + (line 77) * DIRSTACK: Bash Variables. (line 163) * disable-completion: Readline Init File Syntax. - (line 76) + (line 83) * editing-mode: Readline Init File Syntax. - (line 81) + (line 88) * EMACS: Bash Variables. (line 173) * enable-keypad: Readline Init File Syntax. - (line 87) + (line 94) * EUID: Bash Variables. (line 178) * expand-tilde: Readline Init File Syntax. - (line 92) + (line 99) * FCEDIT: Bash Variables. (line 182) * FIGNORE: Bash Variables. (line 186) * FUNCNAME: Bash Variables. (line 192) @@ -9319,15 +9457,15 @@ D.3 Parameter and Variable Index * HISTFILESIZE: Bash Variables. (line 253) * HISTIGNORE: Bash Variables. (line 261) * history-preserve-point: Readline Init File Syntax. - (line 96) + (line 103) * history-size: Readline Init File Syntax. - (line 102) + (line 109) * HISTSIZE: Bash Variables. (line 280) * HISTTIMEFORMAT: Bash Variables. (line 284) * HOME: Bourne Shell Variables. (line 13) * horizontal-scroll-mode: Readline Init File Syntax. - (line 107) + (line 114) * HOSTFILE: Bash Variables. (line 293) * HOSTNAME: Bash Variables. (line 304) * HOSTTYPE: Bash Variables. (line 307) @@ -9335,12 +9473,12 @@ D.3 Parameter and Variable Index (line 18) * IGNOREEOF: Bash Variables. (line 310) * input-meta: Readline Init File Syntax. - (line 114) + (line 121) * INPUTRC: Bash Variables. (line 320) * isearch-terminators: Readline Init File Syntax. - (line 121) -* keymap: Readline Init File Syntax. (line 128) +* keymap: Readline Init File Syntax. + (line 135) * LANG: Bash Variables. (line 324) * LC_ALL: Bash Variables. (line 328) * LC_COLLATE: Bash Variables. (line 332) @@ -9357,13 +9495,13 @@ D.3 Parameter and Variable Index * MAILPATH: Bourne Shell Variables. (line 27) * mark-modified-lines: Readline Init File Syntax. - (line 141) + (line 148) * mark-symlinked-directories: Readline Init File Syntax. - (line 146) + (line 153) * match-hidden-files: Readline Init File Syntax. - (line 151) + (line 158) * meta-flag: Readline Init File Syntax. - (line 114) + (line 121) * OLDPWD: Bash Variables. (line 373) * OPTARG: Bourne Shell Variables. (line 34) @@ -9372,9 +9510,9 @@ D.3 Parameter and Variable Index (line 38) * OSTYPE: Bash Variables. (line 380) * output-meta: Readline Init File Syntax. - (line 158) + (line 165) * page-completions: Readline Init File Syntax. - (line 163) + (line 170) * PATH: Bourne Shell Variables. (line 42) * PIPESTATUS: Bash Variables. (line 383) @@ -9390,14 +9528,16 @@ D.3 Parameter and Variable Index * PWD: Bash Variables. (line 416) * RANDOM: Bash Variables. (line 419) * REPLY: Bash Variables. (line 424) +* revert-all-at-newline: Readline Init File Syntax. + (line 180) * SECONDS: Bash Variables. (line 427) * SHELL: Bash Variables. (line 433) * SHELLOPTS: Bash Variables. (line 438) * SHLVL: Bash Variables. (line 447) * show-all-if-ambiguous: Readline Init File Syntax. - (line 173) + (line 186) * show-all-if-unmodified: Readline Init File Syntax. - (line 179) + (line 192) * TEXTDOMAIN: Locale Translation. (line 11) * TEXTDOMAINDIR: Locale Translation. (line 11) * TIMEFORMAT: Bash Variables. (line 452) @@ -9405,7 +9545,7 @@ D.3 Parameter and Variable Index * TMPDIR: Bash Variables. (line 502) * UID: Bash Variables. (line 506) * visible-stats: Readline Init File Syntax. - (line 188) + (line 201) File: bashref.info, Node: Function Index, Next: Concept Index, Prev: Variable Index, Up: Indexes @@ -9543,7 +9683,7 @@ D.5 Concept Index (line 6) * command substitution: Command Substitution. (line 6) -* command timing: Pipelines. (line 8) +* command timing: Pipelines. (line 9) * commands, compound: Compound Commands. (line 6) * commands, conditional: Conditional Constructs. (line 6) @@ -9567,7 +9707,7 @@ D.5 Concept Index * execution environment: Command Execution Environment. (line 6) * exit status <1>: Exit Status. (line 6) -* exit status: Definitions. (line 25) +* exit status: Definitions. (line 26) * expansion: Shell Expansions. (line 6) * expansion, arithmetic: Arithmetic Expansion. (line 6) @@ -9580,8 +9720,8 @@ D.5 Concept Index * expressions, arithmetic: Shell Arithmetic. (line 6) * expressions, conditional: Bash Conditional Expressions. (line 6) -* field: Definitions. (line 29) -* filename: Definitions. (line 34) +* field: Definitions. (line 30) +* filename: Definitions. (line 35) * filename expansion: Filename Expansion. (line 9) * foreground: Job Control Basics. (line 6) * functions, shell: Shell Functions. (line 6) @@ -9592,8 +9732,8 @@ D.5 Concept Index * history list: Bash History Facilities. (line 6) * History, how to use: Programmable Completion Builtins. - (line 222) -* identifier: Definitions. (line 50) + (line 224) +* identifier: Definitions. (line 51) * initialization file, readline: Readline Init File. (line 6) * installation: Basic Installation. (line 6) * interaction, readline: Readline Interaction. @@ -9601,9 +9741,9 @@ D.5 Concept Index * interactive shell <1>: Interactive Shells. (line 6) * interactive shell: Invoking Bash. (line 127) * internationalization: Locale Translation. (line 6) -* job: Definitions. (line 37) +* job: Definitions. (line 38) * job control <1>: Job Control Basics. (line 6) -* job control: Definitions. (line 41) +* job control: Definitions. (line 42) * kill ring: Readline Killing Commands. (line 19) * killing text: Readline Killing Commands. @@ -9611,12 +9751,12 @@ D.5 Concept Index * localization: Locale Translation. (line 6) * login shell: Invoking Bash. (line 124) * matching, pattern: Pattern Matching. (line 6) -* metacharacter: Definitions. (line 45) -* name: Definitions. (line 50) +* metacharacter: Definitions. (line 46) +* name: Definitions. (line 51) * native languages: Locale Translation. (line 6) * notation, readline: Readline Bare Essentials. (line 6) -* operator, shell: Definitions. (line 56) +* operator, shell: Definitions. (line 57) * parameter expansion: Shell Parameter Expansion. (line 6) * parameters: Shell Parameters. (line 6) @@ -9628,8 +9768,8 @@ D.5 Concept Index * pipeline: Pipelines. (line 6) * POSIX: Definitions. (line 9) * POSIX Mode: Bash POSIX Mode. (line 6) -* process group: Definitions. (line 60) -* process group ID: Definitions. (line 64) +* process group: Definitions. (line 61) +* process group ID: Definitions. (line 65) * process substitution: Process Substitution. (line 6) * programmable completion: Programmable Completion. @@ -9640,28 +9780,28 @@ D.5 Concept Index * Readline, how to use: Job Control Variables. (line 24) * redirection: Redirections. (line 6) -* reserved word: Definitions. (line 68) +* reserved word: Definitions. (line 69) * restricted shell: The Restricted Shell. (line 6) -* return status: Definitions. (line 73) +* return status: Definitions. (line 74) * shell arithmetic: Shell Arithmetic. (line 6) * shell function: Shell Functions. (line 6) * shell script: Shell Scripts. (line 6) * shell variable: Shell Parameters. (line 6) * shell, interactive: Interactive Shells. (line 6) -* signal: Definitions. (line 76) +* signal: Definitions. (line 77) * signal handling: Signals. (line 6) * special builtin <1>: Special Builtins. (line 6) -* special builtin: Definitions. (line 80) +* special builtin: Definitions. (line 81) * startup files: Bash Startup Files. (line 6) * suspending jobs: Job Control Basics. (line 6) * tilde expansion: Tilde Expansion. (line 6) -* token: Definitions. (line 84) +* token: Definitions. (line 85) * translation, native languages: Locale Translation. (line 6) * variable, shell: Shell Parameters. (line 6) * variables, readline: Readline Init File Syntax. (line 37) -* word: Definitions. (line 88) +* word: Definitions. (line 89) * word splitting: Word Splitting. (line 6) * yanking text: Readline Killing Commands. (line 6) @@ -9669,131 +9809,131 @@ D.5 Concept Index Tag Table: -Node: Top1344 -Node: Introduction3175 -Node: What is Bash?3403 -Node: What is a shell?4516 -Node: Definitions7056 -Node: Basic Shell Features9825 -Node: Shell Syntax11044 -Node: Shell Operation12074 -Node: Quoting13368 -Node: Escape Character14671 -Node: Single Quotes15156 -Node: Double Quotes15504 -Node: ANSI-C Quoting16629 -Node: Locale Translation17585 -Node: Comments18481 -Node: Shell Commands19099 -Node: Simple Commands19865 -Node: Pipelines20496 -Node: Lists22371 -Node: Compound Commands24100 -Node: Looping Constructs24884 -Node: Conditional Constructs27331 -Node: Command Grouping34891 -Node: Shell Functions36370 -Node: Shell Parameters40831 -Node: Positional Parameters43161 -Node: Special Parameters44061 -Node: Shell Expansions47025 -Node: Brace Expansion48950 -Node: Tilde Expansion51276 -Node: Shell Parameter Expansion53627 -Node: Command Substitution61327 -Node: Arithmetic Expansion62660 -Node: Process Substitution63510 -Node: Word Splitting64560 -Node: Filename Expansion66183 -Node: Pattern Matching68323 -Node: Quote Removal71641 -Node: Redirections71936 -Node: Executing Commands79666 -Node: Simple Command Expansion80336 -Node: Command Search and Execution82266 -Node: Command Execution Environment84272 -Node: Environment87071 -Node: Exit Status88731 -Node: Signals90352 -Node: Shell Scripts92320 -Node: Shell Builtin Commands94838 -Node: Bourne Shell Builtins96515 -Node: Bash Builtins113745 -Node: Modifying Shell Behavior134539 -Node: The Set Builtin134884 -Node: The Shopt Builtin143732 -Node: Special Builtins154140 -Node: Shell Variables155119 -Node: Bourne Shell Variables155559 -Node: Bash Variables157540 -Node: Bash Features178912 -Node: Invoking Bash179795 -Node: Bash Startup Files185604 -Node: Interactive Shells190573 -Node: What is an Interactive Shell?190983 -Node: Is this Shell Interactive?191632 -Node: Interactive Shell Behavior192447 -Node: Bash Conditional Expressions195727 -Node: Shell Arithmetic199306 -Node: Aliases202052 -Node: Arrays204624 -Node: The Directory Stack207973 -Node: Directory Stack Builtins208687 -Node: Printing a Prompt211579 -Node: The Restricted Shell214293 -Node: Bash POSIX Mode216125 -Node: Job Control223884 -Node: Job Control Basics224344 -Node: Job Control Builtins228853 -Node: Job Control Variables233180 -Node: Command Line Editing234338 -Node: Introduction and Notation235333 -Node: Readline Interaction236955 -Node: Readline Bare Essentials238146 -Node: Readline Movement Commands239935 -Node: Readline Killing Commands240900 -Node: Readline Arguments242820 -Node: Searching243864 -Node: Readline Init File246050 -Node: Readline Init File Syntax247197 -Node: Conditional Init Constructs259766 -Node: Sample Init File262299 -Node: Bindable Readline Commands265416 -Node: Commands For Moving266623 -Node: Commands For History267484 -Node: Commands For Text270639 -Node: Commands For Killing273312 -Node: Numeric Arguments275454 -Node: Commands For Completion276593 -Node: Keyboard Macros280186 -Node: Miscellaneous Commands280757 -Node: Readline vi Mode286068 -Node: Programmable Completion286982 -Node: Programmable Completion Builtins292815 -Node: Using History Interactively301021 -Node: Bash History Facilities301705 -Node: Bash History Builtins304619 -Node: History Interaction308476 -Node: Event Designators311181 -Node: Word Designators312196 -Node: Modifiers313835 -Node: Installing Bash315239 -Node: Basic Installation316376 -Node: Compilers and Options319068 -Node: Compiling For Multiple Architectures319809 -Node: Installation Names321473 -Node: Specifying the System Type322291 -Node: Sharing Defaults323007 -Node: Operation Controls323680 -Node: Optional Features324638 -Node: Reporting Bugs333569 -Node: Major Differences From The Bourne Shell334763 -Node: GNU Free Documentation License351450 -Node: Indexes373911 -Node: Builtin Index374365 -Node: Reserved Word Index381046 -Node: Variable Index383494 -Node: Function Index394799 -Node: Concept Index401531 +Node: Top1338 +Node: Introduction3167 +Node: What is Bash?3395 +Node: What is a shell?4508 +Node: Definitions7048 +Node: Basic Shell Features9828 +Node: Shell Syntax11047 +Node: Shell Operation12077 +Node: Quoting13371 +Node: Escape Character14674 +Node: Single Quotes15159 +Node: Double Quotes15507 +Node: ANSI-C Quoting16632 +Node: Locale Translation17588 +Node: Comments18484 +Node: Shell Commands19102 +Node: Simple Commands19868 +Node: Pipelines20499 +Node: Lists22755 +Node: Compound Commands24484 +Node: Looping Constructs25268 +Node: Conditional Constructs27715 +Node: Command Grouping35721 +Node: Shell Functions37200 +Node: Shell Parameters41661 +Node: Positional Parameters43991 +Node: Special Parameters44891 +Node: Shell Expansions47855 +Node: Brace Expansion49780 +Node: Tilde Expansion52533 +Node: Shell Parameter Expansion54884 +Node: Command Substitution62584 +Node: Arithmetic Expansion63917 +Node: Process Substitution64767 +Node: Word Splitting65817 +Node: Filename Expansion67440 +Node: Pattern Matching69580 +Node: Quote Removal73219 +Node: Redirections73514 +Node: Executing Commands81657 +Node: Simple Command Expansion82327 +Node: Command Search and Execution84257 +Node: Command Execution Environment86594 +Node: Environment89393 +Node: Exit Status91053 +Node: Signals92674 +Node: Shell Scripts94642 +Node: Shell Builtin Commands97160 +Node: Bourne Shell Builtins98837 +Node: Bash Builtins116067 +Node: Modifying Shell Behavior138853 +Node: The Set Builtin139198 +Node: The Shopt Builtin148046 +Node: Special Builtins158908 +Node: Shell Variables159887 +Node: Bourne Shell Variables160327 +Node: Bash Variables162308 +Node: Bash Features183680 +Node: Invoking Bash184563 +Node: Bash Startup Files190372 +Node: Interactive Shells195341 +Node: What is an Interactive Shell?195751 +Node: Is this Shell Interactive?196400 +Node: Interactive Shell Behavior197215 +Node: Bash Conditional Expressions200495 +Node: Shell Arithmetic204074 +Node: Aliases206820 +Node: Arrays209392 +Node: The Directory Stack212741 +Node: Directory Stack Builtins213455 +Node: Printing a Prompt216347 +Node: The Restricted Shell219061 +Node: Bash POSIX Mode220893 +Node: Job Control228652 +Node: Job Control Basics229112 +Node: Job Control Builtins233621 +Node: Job Control Variables237948 +Node: Command Line Editing239106 +Node: Introduction and Notation240101 +Node: Readline Interaction241723 +Node: Readline Bare Essentials242914 +Node: Readline Movement Commands244703 +Node: Readline Killing Commands245668 +Node: Readline Arguments247588 +Node: Searching248632 +Node: Readline Init File250818 +Node: Readline Init File Syntax251965 +Node: Conditional Init Constructs265199 +Node: Sample Init File267732 +Node: Bindable Readline Commands270849 +Node: Commands For Moving272056 +Node: Commands For History272917 +Node: Commands For Text276072 +Node: Commands For Killing278745 +Node: Numeric Arguments280887 +Node: Commands For Completion282026 +Node: Keyboard Macros285793 +Node: Miscellaneous Commands286364 +Node: Readline vi Mode291675 +Node: Programmable Completion292589 +Node: Programmable Completion Builtins298422 +Node: Using History Interactively306805 +Node: Bash History Facilities307489 +Node: Bash History Builtins310403 +Node: History Interaction314260 +Node: Event Designators316965 +Node: Word Designators317980 +Node: Modifiers319619 +Node: Installing Bash321023 +Node: Basic Installation322160 +Node: Compilers and Options324852 +Node: Compiling For Multiple Architectures325593 +Node: Installation Names327257 +Node: Specifying the System Type328075 +Node: Sharing Defaults328791 +Node: Operation Controls329464 +Node: Optional Features330422 +Node: Reporting Bugs339353 +Node: Major Differences From The Bourne Shell340547 +Node: GNU Free Documentation License357234 +Node: Indexes379695 +Node: Builtin Index380149 +Node: Reserved Word Index386903 +Node: Variable Index389351 +Node: Function Index400938 +Node: Concept Index407670 End Tag Table diff --git a/doc/bashref.log b/doc/bashref.log index d98ca0fa..56b7b415 100644 --- a/doc/bashref.log +++ b/doc/bashref.log @@ -1,6 +1,6 @@ -This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.4.8) 8 APR 2008 09:50 -**/usr/homes/chet/src/bash/src/doc/bashref.texi -(/usr/homes/chet/src/bash/src/doc/bashref.texi (./texinfo.tex +This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.4.8) 29 MAY 2008 11:48 +**/Users/chet/src/bash/src/doc/bashref.texi +(/Users/chet/src/bash/src/doc/bashref.texi (./texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics, \bindingoffset=\dimen16 \normaloffset=\dimen17 @@ -158,7 +158,7 @@ localization, [1] Chapter 2 [2] [3] Chapter 3 [4] [5] [6] [7] [8] [9] [10] -Overfull \hbox (43.33539pt too wide) in paragraph at lines 843--843 +Overfull \hbox (43.33539pt too wide) in paragraph at lines 850--850 []@texttt case @textttsl word @texttt in [ [(] @textttsl pat-tern @texttt [| @ textttsl pat-tern@texttt ][]) @textttsl command-list @texttt ;;][] esac[][] @@ -171,9 +171,9 @@ textttsl pat-tern@texttt ][]) @textttsl command-list @texttt ;;][] esac[][] .etc. [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] -[26] [27] [28] [29] [30] [31] [32] Chapter 4 [33] [34] [35] [36] [37] [38] +[26] [27] [28] [29] [30] [31] [32] [33] Chapter 4 [34] [35] [36] [37] [38] [39] [40] [41] -Underfull \hbox (badness 5231) in paragraph at lines 3139--3152 +Underfull \hbox (badness 5231) in paragraph at lines 3194--3207 @texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and @@ -185,8 +185,8 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and .@texttt c .etc. -[42] [43] [44] [45] -Overfull \hbox (102.08961pt too wide) in paragraph at lines 3491--3491 +[42] [43] [44] [45] [46] +Overfull \hbox (102.08961pt too wide) in paragraph at lines 3602--3602 []@texttt read [-ers] [-a @textttsl aname@texttt ] [-d @textttsl de-lim@texttt ] [-i @textttsl text@texttt ] [-n @textttsl nchars@texttt ] [-p @textttsl prom pt@texttt ] [-t @textttsl time- @@ -199,8 +199,8 @@ pt@texttt ] [-t @textttsl time- .@texttt a .etc. -[46] [47] [48] [49] [50] [51] [52] [53] [54] -Underfull \hbox (badness 2573) in paragraph at lines 4133--4137 +[47] [48] [49] [50] [51] [52] [53] [54] +Underfull \hbox (badness 2573) in paragraph at lines 4251--4255 [] []@textrm Error trac-ing is en-abled: com-mand sub-sti-tu-tion, shell @hbox(7.60416+2.12917)x433.62, glue set 2.95305 @@ -215,9 +215,9 @@ Underfull \hbox (badness 2573) in paragraph at lines 4133--4137 .@textrm E .etc. -[55] [56] Chapter 5 [57] [58] [59] [60] [61] [62] [63] [64] [65] [66] +[55] [56] [57] Chapter 5 [58] [59] [60] [61] [62] [63] [64] [65] [66] Chapter 6 [67] [68] -Overfull \hbox (51.96864pt too wide) in paragraph at lines 4950--4950 +Overfull \hbox (51.96864pt too wide) in paragraph at lines 5074--5074 []@texttt bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@t exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar- @@ -230,7 +230,7 @@ exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar- .etc. -Overfull \hbox (76.23077pt too wide) in paragraph at lines 4951--4951 +Overfull \hbox (76.23077pt too wide) in paragraph at lines 5075--5075 []@texttt bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@texttt ] [-O @textttsl shopt_option@texttt ] -c @textttsl string @texttt [@textttsl ar - @@ -244,7 +244,7 @@ Overfull \hbox (76.23077pt too wide) in paragraph at lines 4951--4951 .etc. -Overfull \hbox (34.72258pt too wide) in paragraph at lines 4952--4952 +Overfull \hbox (34.72258pt too wide) in paragraph at lines 5076--5076 []@texttt bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@text tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar- @@ -257,7 +257,7 @@ tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar- .etc. [69] [70] -Underfull \hbox (badness 2245) in paragraph at lines 5126--5128 +Underfull \hbox (badness 2245) in paragraph at lines 5250--5252 []@textrm When a lo-gin shell ex-its, Bash reads and ex-e-cutes com-mands from the file @@ -270,7 +270,7 @@ the file .etc. [71] [72] [73] [74] [75] [76] [77] [78] [79] [80] [81] [82] [83] [84] -Underfull \hbox (badness 2521) in paragraph at lines 6242--6245 +Underfull \hbox (badness 2521) in paragraph at lines 6366--6369 @textrm `@texttt --enable-strict-posix-default[]@textrm '[] to @texttt configur e[] @textrm when build-ing (see Sec-tion 10.8 @@ -283,9 +283,9 @@ e[] @textrm when build-ing (see Sec-tion 10.8 .etc. Chapter 7 [85] [86] [87] [88] [89] -(/usr/homes/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [90] -[91] [92] [93] [94] [95] [96] -Underfull \hbox (badness 5231) in paragraph at lines 507--523 +(/Users/chet/src/bash/src/lib/readline/doc/rluser.texi Chapter 8 [90] [91] +[92] [93] [94] [95] [96] +Underfull \hbox (badness 5231) in paragraph at lines 514--530 @texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and @@ -297,8 +297,8 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and .@texttt c .etc. -[97] [98] [99] [100] -Overfull \hbox (26.43913pt too wide) in paragraph at lines 822--822 +[97] [98] [99] [100] [101] +Overfull \hbox (26.43913pt too wide) in paragraph at lines 836--836 []@texttt Meta-Control-h: backward-kill-word Text after the function name is i gnored[] @@ -310,21 +310,9 @@ gnored[] .@texttt t .etc. -[101] [102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] -Overfull \hbox (17.80585pt too wide) in paragraph at lines 1671--1671 - []@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-A @tex -tttsl ac-tion@texttt ] [-G @textttsl glob- - -@hbox(7.60416+2.43333)x433.62 -.@glue(@leftskip) 86.72375 -.@hbox(0.0+0.0)x0.0 -.@texttt c -.@texttt o -.@texttt m -.etc. - -[113] [114] -Underfull \hbox (badness 2753) in paragraph at lines 1773--1776 +[102] [103] [104] [105] [106] [107] [108] [109] [110] [111] [112] [113] +[114] [115] +Underfull \hbox (badness 2753) in paragraph at lines 1795--1798 @texttt hostname[]@textrm Hostnames, as taken from the file spec-i-fied by @hbox(7.60416+2.12917)x433.62, glue set 3.02202 @@ -335,9 +323,10 @@ Underfull \hbox (badness 2753) in paragraph at lines 1773--1776 .@texttt o .etc. -[115]) (/usr/homes/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9 -[116] [117] [118] [119] [120]) Chapter 10 [121] [122] [123] [124] [125] -Underfull \hbox (badness 2772) in paragraph at lines 6838--6842 +[116]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9 +[117] [118] [119] [120] [121] [122]) Chapter 10 [123] [124] [125] [126] +[127] +Underfull \hbox (badness 2772) in paragraph at lines 6962--6966 []@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard s/large_ @@ -349,57 +338,18 @@ s/large_ .@textrm a .etc. -[126] [127] [128] Appendix A [129] [130] Appendix B [131] [132] [133] [134] -[135] [136] [137] Appendix C [138] (./fdl.texi [139] [140] [141] [142] [143] -[144]) Appendix D [145] [146] (./bashref.bts) [147] -Overfull \vbox (45.71959pt too high) has occurred while \output is active -\vbox(643.19986+2.0)x433.62, glue set - 1.0 -.\glue(\topskip) 26.00002 -.\vbox(9.99998+0.0)x433.62 -..\hbox(9.99998+0.0)x433.62, glue set 163.10767fil -...\hbox(0.0+0.0)x0.0 -...\secrm D -...\secrm . -...\secrm 1 -...\kern 8.09999 -...etc. -.\penalty 10000 -.\kern 13.2 -.\penalty 10000 -.etc. - - -[148] (./bashref.rws) (./bashref.vrs [149] [150]) (./bashref.fns [151]) -Overfull \vbox (39.33694pt too high) has occurred while \output is active -\vbox(643.19986+2.0)x433.62 -.\glue(\topskip) 0.0 -.\hbox(682.5368+2.0)x433.62, glue set 18.01016fil -..\vbox(682.5368+0.0)x207.80492, glue set 0.01196 -...\glue(\topskip) 29.75 -...\hbox(6.25+2.0)x207.80492, glue set 20.64868fil [] -...\penalty 20000 -...\glue(\baselineskip) 2.70001 -...\hbox(5.79999+0.0)x189.30504, glue set 163.09688fill, shifted 18.49988 [] -...etc. -..\glue 0.0 plus 1.0fil -..\vbox(682.5368+2.0)x207.80492, glue set 0.96613 -...\glue(\splittopskip) 26.12001 -...\hbox(9.87999+0.0)x207.80492, glue set 195.63828fil [] -...\glue 3.46501 plus 1.05006 -...\penalty 10000 -...\glue 0.0 plus 1.0 -...etc. -.\penalty 10000 - - -[152] (./bashref.cps [153]) [154] ) +[128] [129] [130] Appendix A [131] [132] Appendix B [133] [134] [135] [136] +[137] [138] [139] Appendix C [140] (./fdl.texi [141] [142] [143] [144] [145] +[146]) Appendix D [147] [148] (./bashref.bts [149]) (./bashref.rws) +(./bashref.vrs [150] [151]) (./bashref.fns [152] [153]) (./bashref.cps [154]) +[155] [156] ) Here is how much of TeX's memory you used: 1732 strings out of 97980 - 23667 string characters out of 1221006 - 56767 words of memory out of 1500000 + 23635 string characters out of 1221006 + 51884 words of memory out of 1500000 2583 multiletter control sequences out of 10000+50000 31953 words of font info for 111 fonts, out of 1200000 for 2000 19 hyphenation exceptions out of 8191 - 15i,8n,11p,273b,471s stack positions out of 5000i,500n,6000p,200000b,5000s + 15i,8n,11p,269b,471s stack positions out of 5000i,500n,6000p,200000b,5000s -Output written on bashref.dvi (160 pages, 615548 bytes). +Output written on bashref.dvi (162 pages, 624132 bytes). diff --git a/doc/bashref.pdf b/doc/bashref.pdf Binary files differindex aa77a969..8dbd41d5 100644 --- a/doc/bashref.pdf +++ b/doc/bashref.pdf diff --git a/doc/bashref.ps b/doc/bashref.ps index a1b4062d..313ebb83 100644 --- a/doc/bashref.ps +++ b/doc/bashref.ps @@ -1,7 +1,7 @@ %!PS-Adobe-2.0 %%Creator: dvips(k) 5.95a Copyright 2005 Radical Eye Software %%Title: bashref.dvi -%%Pages: 160 +%%Pages: 162 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 %%DocumentFonts: CMBX12 CMR10 CMTT10 CMSL10 CMSY10 CMBXTI10 CMTI10 @@ -11,7 +11,7 @@ %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi %DVIPSParameters: dpi=600 -%DVIPSSource: TeX output 2008.04.08:0950 +%DVIPSSource: TeX output 2008.05.29:1148 %%BeginProcSet: tex.pro 0 0 %! /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S @@ -4490,9 +4490,9 @@ TeXDict begin 40258431 52099146 1000 600 600 (bashref.dvi) 48 50 65 68 61 68 102 34 65 1[34 68 61 37 56 68 55 68 60 34 6[93 1[127 2[85 68 92 92 84 92 96 116 74 96 1[46 96 96 77 81 94 89 87 93 1[58 5[61 61 61 61 61 61 61 61 -61 2[34 41 34 4[34 26[68 72 11[{}62 109.091 /CMBX12 rf -/Fl 135[56 2[56 54 42 55 1[51 58 56 68 47 1[39 27 56 -58 49 51 57 54 53 56 46[50 2[50 1[34 45[{}23 90.9091 +61 61 1[34 41 34 4[34 26[68 72 11[{}63 109.091 /CMBX12 +rf /Fl 135[56 2[56 54 42 55 1[51 58 56 68 47 1[39 27 +56 58 49 51 57 54 53 56 46[50 2[50 1[34 45[{}23 90.9091 /CMCSC10 rf /Fm 135[42 1[42 1[30 37 38 1[46 46 51 74 23 2[28 1[42 1[42 46 42 1[46 50[28 33[51 12[{}18 90.9091 /CMTI10 rf /Fn 209[43 46[{}1 119.552 /CMBXTI10 rf /Fo @@ -4536,8 +4536,8 @@ letter %%Page: 1 1 TeXDict begin 1 0 bop 150 1318 a Fu(Bash)64 b(Reference)j(Man)-5 b(ual)p 150 1385 3600 34 v 2361 1481 a Ft(Reference)31 -b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(3.2,)g(for)f -Fs(Bash)g Ft(V)-8 b(ersion)31 b(3.2.)3333 1697 y(April)f(2008)150 +b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(4.0,)g(for)f +Fs(Bash)g Ft(V)-8 b(ersion)31 b(4.0.)3364 1697 y(Ma)m(y)g(2008)150 4935 y Fr(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11 @@ -4545,21 +4545,21 @@ b(oundation)p 150 5141 3600 17 v eop end %%Page: 2 2 TeXDict begin 2 1 bop 150 2889 a Ft(This)35 b(text)h(is)g(a)g(brief)f (description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f -(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.2,)c(5)e(April)h -(2008\).)150 3133 y(This)36 b(is)g(Edition)h(3.2,)j(last)d(up)s(dated)e -(5)i(April)g(2008,)j(of)c Fq(The)h(GNU)g(Bash)g(Reference)g(Man)m(ual)p -Ft(,)i(for)150 3243 y Fs(Bash)p Ft(,)29 b(V)-8 b(ersion)31 -b(3.2.)150 3377 y(Cop)m(yrigh)m(t)602 3374 y(c)577 3377 -y Fp(\015)f Ft(1988{2007)35 b(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F)-8 -b(oundation,)31 b(Inc.)150 3512 y(P)m(ermission)h(is)h(gran)m(ted)g(to) -f(mak)m(e)i(and)d(distribute)h(v)m(erbatim)h(copies)g(of)f(this)g(man)m -(ual)h(pro)m(vided)f(the)150 3621 y(cop)m(yrigh)m(t)g(notice)f(and)f -(this)g(p)s(ermission)g(notice)h(are)g(preserv)m(ed)f(on)h(all)g -(copies.)390 3756 y(P)m(ermission)k(is)h(gran)m(ted)f(to)h(cop)m(y)-8 -b(,)38 b(distribute)d(and/or)g(mo)s(dify)f(this)h(do)s(cumen)m(t)g -(under)390 3866 y(the)j(terms)g(of)g(the)g(GNU)h(F)-8 -b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8 b(ersion)39 -b(1.2)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28 +(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(4.0,)c(25)f(Ma)m(y)g +(2008\).)150 3133 y(This)k(is)h(Edition)f(4.0,)k(last)d(up)s(dated)e +(25)j(Ma)m(y)g(2008,)i(of)c Fq(The)h(GNU)g(Bash)g(Reference)g(Man)m +(ual)p Ft(,)i(for)150 3243 y Fs(Bash)p Ft(,)29 b(V)-8 +b(ersion)31 b(4.0.)150 3377 y(Cop)m(yrigh)m(t)602 3374 +y(c)577 3377 y Fp(\015)f Ft(1988{2007)35 b(F)-8 b(ree)31 +b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)150 3512 +y(P)m(ermission)h(is)h(gran)m(ted)g(to)f(mak)m(e)i(and)d(distribute)h +(v)m(erbatim)h(copies)g(of)f(this)g(man)m(ual)h(pro)m(vided)f(the)150 +3621 y(cop)m(yrigh)m(t)g(notice)f(and)f(this)g(p)s(ermission)g(notice)h +(are)g(preserv)m(ed)f(on)h(all)g(copies.)390 3756 y(P)m(ermission)k(is) +h(gran)m(ted)f(to)h(cop)m(y)-8 b(,)38 b(distribute)d(and/or)g(mo)s +(dify)f(this)h(do)s(cumen)m(t)g(under)390 3866 y(the)j(terms)g(of)g +(the)g(GNU)h(F)-8 b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8 +b(ersion)39 b(1.2)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28 b(published)d(b)m(y)j(the)f(F)-8 b(ree)29 b(Soft)m(w)m(are)f(F)-8 b(oundation;)30 b(with)d(no)g(In)m(v)-5 b(arian)m(t)28 b(Sections,)390 4085 y(with)i(the)h(F)-8 b(ron)m(t-Co)m(v)m(er)33 @@ -4631,7 +4631,7 @@ g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)44 b Ft(8)748 2852 y(3.2.3)93 b(Lists)30 b(of)h(Commands)23 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -54 b Ft(8)748 2961 y(3.2.4)93 b(Comp)s(ound)28 b(Commands)17 +54 b Ft(9)748 2961 y(3.2.4)93 b(Comp)s(ound)28 b(Commands)17 b Fm(.)d(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)47 b Ft(9)1047 3071 y(3.2.4.1)93 b(Lo)s(oping)30 b(Constructs)c Fm(.)15 b(.)g(.)g(.)g(.)g @@ -4643,13 +4643,13 @@ b Fm(.)h(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)42 b Ft(13)449 3400 y(3.3)92 b(Shell)30 b(F)-8 b(unctions)8 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)38 b Ft(13)449 3509 y(3.4)92 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)38 b Ft(14)449 3509 y(3.4)92 b(Shell)30 b(P)m(arameters)20 b Fm(.)c(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49 b Ft(15)748 3619 y(3.4.1)93 b(P)m(ositional)32 b(P)m(arameters)14 b Fm(.)i(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 b Ft(15)748 3729 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 b Ft(16)748 3729 y(3.4.2)93 b(Sp)s(ecial)30 b(P)m(arameters)f Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(16)449 @@ -4666,7 +4666,7 @@ b Ft(18)748 4167 y(3.5.3)93 b(Shell)30 b(P)m(arameter)h(Expansion)18 b Fm(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) h(.)f(.)g(.)g(.)47 b Ft(19)748 4276 y(3.5.4)93 b(Command)29 b(Substitution)f Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(21)748 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(22)748 4386 y(3.5.5)93 b(Arithmetic)31 b(Expansion)12 b Fm(.)j(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)42 b Ft(22)748 4496 y(3.5.6)93 b(Pro)s(cess)30 @@ -4675,12 +4675,12 @@ b(Substitution)19 b Fm(.)c(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g b Ft(22)748 4605 y(3.5.7)93 b(W)-8 b(ord)30 b(Splitting)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 -b Ft(22)748 4715 y(3.5.8)93 b(Filename)31 b(Expansion)25 +b Ft(23)748 4715 y(3.5.8)93 b(Filename)31 b(Expansion)25 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(23)1047 4824 y(3.5.8.1)93 b(P)m(attern)31 b(Matc)m(hing)20 b Fm(.)d(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)49 b Ft(23)748 4934 y(3.5.9)93 b(Quote)30 +(.)g(.)g(.)g(.)49 b Ft(24)748 4934 y(3.5.9)93 b(Quote)30 b(Remo)m(v)-5 b(al)15 b Fm(.)i(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)44 b Ft(25)449 5044 y(3.6)92 b(Redirections)24 @@ -4697,126 +4697,131 @@ b Ft(26)p eop end TeXDict begin -2 3 bop 150 -116 a Ft(ii)2612 b(Bash)31 b(Reference)g(Man)m(ual)748 83 y(3.6.3)93 b(App)s(ending)28 b(Redirected)j(Output)16 b Fm(.)e(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)45 b Ft(26)748 193 y(3.6.4)93 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)45 b Ft(27)748 193 y(3.6.4)93 b(Redirecting)31 b(Standard)e(Output)g(and)h(Standard)f(Error)954 302 y Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)54 -b Ft(26)748 412 y(3.6.5)93 b(Here)30 b(Do)s(cumen)m(ts)13 -b Fm(.)k(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 -b Ft(27)748 521 y(3.6.6)93 b(Here)30 b(Strings)10 b Fm(.)15 -b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)39 -b Ft(27)748 631 y(3.6.7)93 b(Duplicating)31 b(File)h(Descriptors)17 -b Fm(.)f(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)47 b Ft(27)748 741 y(3.6.8)93 b(Mo)m(ving)31 -b(File)h(Descriptors)15 b Fm(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)44 -b Ft(28)748 850 y(3.6.9)93 b(Op)s(ening)29 b(File)i(Descriptors)g(for)f -(Reading)h(and)f(W)-8 b(riting)954 960 y Fm(.)16 b(.)f(.)g(.)g(.)g(.)g +b Ft(27)748 412 y(3.6.5)93 b(App)s(ending)28 b(Standard)h(Output)h(and) +f(Standard)h(Error)954 521 y Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)54 b Ft(28)449 1069 y(3.7)92 -b(Executing)31 b(Commands)25 b Fm(.)15 b(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)56 b Ft(28)748 1179 y(3.7.1)93 -b(Simple)30 b(Command)f(Expansion)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(28)748 -1289 y(3.7.2)93 b(Command)29 b(Searc)m(h)i(and)e(Execution)13 -b Fm(.)j(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)42 -b Ft(29)748 1398 y(3.7.3)93 b(Command)29 b(Execution)i(En)m(vironmen)m -(t)18 b Fm(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)47 -b Ft(29)748 1508 y(3.7.4)93 b(En)m(vironmen)m(t)21 b -Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.) -50 b Ft(30)748 1617 y(3.7.5)93 b(Exit)30 b(Status)8 b -Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)54 b Ft(27)748 631 y(3.6.6)93 b(Here)30 +b(Do)s(cumen)m(ts)13 b Fm(.)k(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)g(.)43 b Ft(27)748 741 y(3.6.7)93 b(Here)30 b(Strings)10 +b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)39 b Ft(28)748 850 y(3.6.8)93 b(Duplicating)31 b(File)h +(Descriptors)17 b Fm(.)f(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)g(.)g(.)g(.)g(.)g(.)g(.)47 b Ft(28)748 960 y(3.6.9)93 +b(Mo)m(ving)31 b(File)h(Descriptors)15 b Fm(.)h(.)f(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)44 +b Ft(28)748 1069 y(3.6.10)93 b(Op)s(ening)29 b(File)j(Descriptors)f +(for)f(Reading)h(and)e(W)-8 b(riting)954 1179 y Fm(.)16 +b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.) -f(.)g(.)37 b Ft(31)748 1727 y(3.7.6)93 b(Signals)10 b +f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)54 b +Ft(29)449 1289 y(3.7)92 b(Executing)31 b(Commands)25 +b Fm(.)15 b(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +56 b Ft(29)748 1398 y(3.7.1)93 b(Simple)30 b(Command)f(Expansion)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)39 b Ft(31)449 1836 y(3.8)92 -b(Shell)30 b(Scripts)21 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 -b Ft(32)150 2079 y Fr(4)135 b(Shell)45 b(Builtin)g(Commands)38 -b Fn(.)19 b(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h -(.)f(.)82 b Fr(35)449 2216 y Ft(4.1)92 b(Bourne)30 b(Shell)g(Builtins) -16 b Fm(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)55 b Ft(29)748 1508 y(3.7.2)93 b(Command)29 +b(Searc)m(h)i(and)e(Execution)13 b Fm(.)j(.)f(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)42 b Ft(30)748 1617 y(3.7.3)93 +b(Command)29 b(Execution)i(En)m(vironmen)m(t)18 b Fm(.)d(.)g(.)g(.)g(.) +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)47 b Ft(30)748 1727 +y(3.7.4)93 b(En)m(vironmen)m(t)21 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)50 b Ft(31)748 1836 +y(3.7.5)93 b(Exit)30 b(Status)8 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)45 b Ft(35)449 2325 y(4.2)92 b(Bash)30 b(Builtin)h(Commands)17 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)37 b Ft(32)748 +1946 y(3.7.6)93 b(Signals)10 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)39 +b Ft(32)449 2056 y(3.8)92 b(Shell)30 b(Scripts)21 b Fm(.)15 +b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(33)150 2283 y Fr(4)135 +b(Shell)45 b(Builtin)g(Commands)38 b Fn(.)19 b(.)h(.)f(.)h(.)f(.)g(.)h +(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)82 b Fr(35)449 +2420 y Ft(4.1)92 b(Bourne)30 b(Shell)g(Builtins)16 b +Fm(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) +45 b Ft(35)449 2529 y(4.2)92 b(Bash)30 b(Builtin)h(Commands)17 b Fm(.)d(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.) f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)46 -b Ft(41)449 2435 y(4.3)92 b(Mo)s(difying)30 b(Shell)h(Beha)m(vior)23 +b Ft(41)449 2639 y(4.3)92 b(Mo)s(difying)30 b(Shell)h(Beha)m(vior)23 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)52 -b Ft(49)748 2545 y(4.3.1)93 b(The)29 b(Set)i(Builtin)11 +b Ft(50)748 2749 y(4.3.1)93 b(The)29 b(Set)i(Builtin)11 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)40 -b Ft(49)748 2654 y(4.3.2)93 b(The)29 b(Shopt)h(Builtin)23 +b Ft(50)748 2858 y(4.3.2)93 b(The)29 b(Shopt)h(Builtin)23 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)52 -b Ft(53)449 2764 y(4.4)92 b(Sp)s(ecial)31 b(Builtins)22 +b Ft(53)449 2968 y(4.4)92 b(Sp)s(ecial)31 b(Builtins)22 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)52 b Ft(57)150 3006 y Fr(5)135 +g(.)g(.)g(.)g(.)g(.)g(.)52 b Ft(58)150 3195 y Fr(5)135 b(Shell)45 b(V)-11 b(ariables)10 b Fn(.)21 b(.)e(.)h(.)f(.)g(.)h(.)f(.) h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f -(.)h(.)f(.)55 b Fr(59)449 3143 y Ft(5.1)92 b(Bourne)30 +(.)h(.)f(.)55 b Fr(59)449 3332 y Ft(5.1)92 b(Bourne)30 b(Shell)g(V)-8 b(ariables)11 b Fm(.)17 b(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(59)449 3253 y(5.2)92 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(59)449 3442 y(5.2)92 b(Bash)30 b(V)-8 b(ariables)17 b Fm(.)g(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)46 -b Ft(59)150 3495 y Fr(6)135 b(Bash)44 b(F)-11 b(eatures)31 +b Ft(59)150 3669 y Fr(6)135 b(Bash)44 b(F)-11 b(eatures)31 b Fn(.)20 b(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f (.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)75 b Fr(69)449 -3632 y Ft(6.1)92 b(In)m(v)m(oking)31 b(Bash)e Fm(.)15 +3806 y Ft(6.1)92 b(In)m(v)m(oking)31 b(Bash)e Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h (.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)58 b Ft(69)449 3742 y(6.2)92 b(Bash)30 +g(.)g(.)g(.)g(.)g(.)58 b Ft(69)449 3915 y(6.2)92 b(Bash)30 b(Startup)g(Files)c Fm(.)15 b(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(71)449 3851 y(6.3)92 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(71)449 4025 y(6.3)92 b(In)m(teractiv)m(e)33 b(Shells)14 b Fm(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)43 -b Ft(73)748 3961 y(6.3.1)93 b(What)31 b(is)f(an)g(In)m(teractiv)m(e)j +b Ft(73)748 4134 y(6.3.1)93 b(What)31 b(is)f(an)g(In)m(teractiv)m(e)j (Shell?)20 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)49 b Ft(73)748 4071 y(6.3.2)93 +(.)g(.)g(.)g(.)g(.)g(.)49 b Ft(73)748 4244 y(6.3.2)93 b(Is)30 b(this)g(Shell)g(In)m(teractiv)m(e?)10 b Fm(.)18 b(.)d(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(73)748 4180 y(6.3.3)93 +(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(73)748 4354 y(6.3.3)93 b(In)m(teractiv)m(e)32 b(Shell)f(Beha)m(vior)22 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)51 b Ft(73)449 4290 y(6.4)92 b(Bash)30 +(.)g(.)g(.)g(.)51 b Ft(73)449 4463 y(6.4)92 b(Bash)30 b(Conditional)h(Expressions)20 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.) -f(.)49 b Ft(74)449 4399 y(6.5)92 b(Shell)30 b(Arithmetic)f +f(.)49 b Ft(74)449 4573 y(6.5)92 b(Shell)30 b(Arithmetic)f Fm(.)15 b(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)h(.)f(.)g(.)57 b Ft(76)449 4509 y(6.6)92 b(Aliases)25 +g(.)g(.)h(.)f(.)g(.)57 b Ft(76)449 4682 y(6.6)92 b(Aliases)25 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)53 -b Ft(77)449 4619 y(6.7)92 b(Arra)m(ys)29 b Fm(.)15 b(.)g(.)g(.)g(.)g(.) +b Ft(77)449 4792 y(6.7)92 b(Arra)m(ys)29 b Fm(.)15 b(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(78)449 4728 y(6.8)92 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(78)449 4902 y(6.8)92 b(The)30 b(Directory)i(Stac)m(k)15 b Fm(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.) f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)44 b Ft(79)748 -4838 y(6.8.1)93 b(Directory)31 b(Stac)m(k)h(Builtins)10 +5011 y(6.8.1)93 b(Directory)31 b(Stac)m(k)h(Builtins)10 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(79)449 4947 y(6.9)92 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)40 b Ft(79)449 5121 y(6.9)92 b(Con)m(trolling)31 b(the)g(Prompt)15 b Fm(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)44 b Ft(80)449 5057 y(6.10)92 +g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)44 b Ft(80)449 5230 y(6.10)92 b(The)30 b(Restricted)i(Shell)11 b Fm(.)k(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)40 b Ft(82)449 5166 +g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)40 b Ft(82)449 5340 y(6.11)92 b(Bash)31 b(POSIX)e(Mo)s(de)16 b Fm(.)f(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)45 b @@ -4861,124 +4866,124 @@ Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g g(.)g(.)g(.)g(.)56 b Ft(94)748 1695 y(8.3.1)93 b(Readline)31 b(Init)f(File)h(Syn)m(tax)12 b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)41 -b Ft(94)748 1805 y(8.3.2)93 b(Conditional)30 b(Init)h(Constructs)e +b Ft(94)748 1805 y(8.3.2)93 b(Conditional)30 b(Init)h(Constructs)d Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)59 b Ft(99)748 1914 y(8.3.3)93 b(Sample)30 +(.)g(.)g(.)58 b Ft(100)748 1914 y(8.3.3)93 b(Sample)30 b(Init)g(File)20 b Fm(.)c(.)f(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -50 b Ft(100)449 2024 y(8.4)92 b(Bindable)31 b(Readline)g(Commands)11 +50 b Ft(101)449 2024 y(8.4)92 b(Bindable)31 b(Readline)g(Commands)11 b Fm(.)j(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(103)748 2134 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(104)748 2134 y(8.4.1)93 b(Commands)29 b(F)-8 b(or)31 b(Mo)m(ving)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(103)748 2243 y(8.4.2)93 +(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(104)748 2243 y(8.4.2)93 b(Commands)29 b(F)-8 b(or)31 b(Manipulating)g(The)f(History)17 -b Fm(.)e(.)g(.)g(.)h(.)f(.)46 b Ft(103)748 2353 y(8.4.3)93 +b Fm(.)e(.)g(.)g(.)h(.)f(.)46 b Ft(104)748 2353 y(8.4.3)93 b(Commands)29 b(F)-8 b(or)31 b(Changing)f(T)-8 b(ext)29 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -58 b Ft(105)748 2462 y(8.4.4)93 b(Killing)31 b(And)e(Y)-8 +58 b Ft(106)748 2462 y(8.4.4)93 b(Killing)31 b(And)e(Y)-8 b(anking)16 b Fm(.)g(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)46 b -Ft(106)748 2572 y(8.4.5)93 b(Sp)s(ecifying)29 b(Numeric)i(Argumen)m(ts) +Ft(107)748 2572 y(8.4.5)93 b(Sp)s(ecifying)29 b(Numeric)i(Argumen)m(ts) 23 b Fm(.)15 b(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)53 b Ft(107)748 2682 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s +(.)53 b Ft(108)748 2682 y(8.4.6)93 b(Letting)31 b(Readline)g(T)m(yp)s (e)f(F)-8 b(or)31 b(Y)-8 b(ou)18 b Fm(.)e(.)f(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)48 b Ft(107)748 2791 y(8.4.7)93 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)48 b Ft(108)748 2791 y(8.4.7)93 b(Keyb)s(oard)29 b(Macros)10 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)h(.) f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)40 b Ft(108)748 2901 y(8.4.8)93 b(Some)30 +(.)g(.)g(.)40 b Ft(109)748 2901 y(8.4.8)93 b(Some)30 b(Miscellaneous)i(Commands)12 b Fm(.)i(.)h(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)42 b Ft(109)449 3010 y(8.5)92 +(.)g(.)g(.)g(.)g(.)g(.)g(.)42 b Ft(110)449 3010 y(8.5)92 b(Readline)31 b(vi)f(Mo)s(de)c Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(111)449 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)55 b Ft(112)449 3120 y(8.6)92 b(Programmable)31 b(Completion)12 b Fm(.)j(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(111)449 3230 y(8.7)92 +(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(112)449 3230 y(8.7)92 b(Programmable)31 b(Completion)g(Builtins)12 b Fm(.)j(.)g(.)g(.)h(.)f (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)42 -b Ft(113)150 3472 y Fr(9)135 b(Using)45 b(History)h(In)l(teractiv)l +b Ft(114)150 3472 y Fr(9)135 b(Using)45 b(History)h(In)l(teractiv)l (ely)14 b Fn(.)22 b(.)d(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f -(.)58 b Fr(117)449 3609 y Ft(9.1)92 b(Bash)30 b(History)h(F)-8 +(.)58 b Fr(119)449 3609 y Ft(9.1)92 b(Bash)30 b(History)h(F)-8 b(acilities)11 b Fm(.)19 b(.)c(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)41 b Ft(117)449 3719 y(9.2)92 b(Bash)30 b(History)h +g(.)g(.)g(.)41 b Ft(119)449 3719 y(9.2)92 b(Bash)30 b(History)h (Builtins)9 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)h(.)f(.)38 b Ft(117)449 3828 y(9.3)92 b(History)31 +g(.)h(.)f(.)38 b Ft(119)449 3828 y(9.3)92 b(History)31 b(Expansion)d Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)58 b Ft(119)748 3938 y(9.3.1)93 b(Ev)m(en)m(t)31 +g(.)g(.)g(.)g(.)g(.)58 b Ft(121)748 3938 y(9.3.1)93 b(Ev)m(en)m(t)31 b(Designators)21 b Fm(.)c(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 -b Ft(119)748 4047 y(9.3.2)93 b(W)-8 b(ord)30 b(Designators)g +b Ft(121)748 4047 y(9.3.2)93 b(W)-8 b(ord)30 b(Designators)g Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(120)748 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)58 b Ft(122)748 4157 y(9.3.3)93 b(Mo)s(di\014ers)27 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)57 b Ft(121)150 +g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)57 b Ft(123)150 4399 y Fr(10)135 b(Installing)46 b(Bash)30 b Fn(.)20 b(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f -(.)h(.)f(.)g(.)h(.)f(.)h(.)74 b Fr(123)449 4536 y Ft(10.1)92 +(.)h(.)f(.)g(.)h(.)f(.)h(.)74 b Fr(125)449 4536 y Ft(10.1)92 b(Basic)32 b(Installation)d Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(123)449 4646 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)57 b Ft(125)449 4646 y(10.2)92 b(Compilers)30 b(and)g(Options)22 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)51 -b Ft(123)449 4755 y(10.3)92 b(Compiling)31 b(F)-8 b(or)31 +b Ft(125)449 4755 y(10.3)92 b(Compiling)31 b(F)-8 b(or)31 b(Multiple)g(Arc)m(hitectures)12 b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)41 b Ft(124)449 +(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)41 b Ft(126)449 4865 y(10.4)92 b(Installation)32 b(Names)22 b Fm(.)16 b(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)51 -b Ft(124)449 4975 y(10.5)92 b(Sp)s(ecifying)30 b(the)h(System)f(T)m(yp) +b Ft(126)449 4975 y(10.5)92 b(Sp)s(ecifying)30 b(the)h(System)f(T)m(yp) s(e)11 b Fm(.)k(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(124)449 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)41 b Ft(126)449 5084 y(10.6)92 b(Sharing)30 b(Defaults)21 b Fm(.)16 b(.)f(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 -b Ft(125)449 5194 y(10.7)92 b(Op)s(eration)30 b(Con)m(trols)12 +b Ft(127)449 5194 y(10.7)92 b(Op)s(eration)30 b(Con)m(trols)12 b Fm(.)k(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g -(.)41 b Ft(125)449 5303 y(10.8)92 b(Optional)31 b(F)-8 +(.)41 b Ft(127)449 5303 y(10.8)92 b(Optional)31 b(F)-8 b(eatures)17 b Fm(.)g(.)e(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)47 b Ft(125)p eop end +g(.)g(.)g(.)g(.)g(.)47 b Ft(127)p eop end %%Page: -4 6 TeXDict begin -4 5 bop 150 -116 a Ft(iv)2589 b(Bash)31 b(Reference)g(Man)m(ual)150 83 y Fr(App)t(endix)44 b(A)99 b(Rep)t(orting)46 b(Bugs)12 b Fn(.)20 b(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f -(.)h(.)f(.)g(.)h(.)f(.)h(.)56 b Fr(131)150 353 y(App)t(endix)44 +(.)h(.)f(.)g(.)h(.)f(.)h(.)56 b Fr(133)150 353 y(App)t(endix)44 b(B)105 b(Ma)7 b(jor)46 b(Di\013erences)g(F)-11 b(rom)45 b(The)f(Bourne)419 486 y(Shell)17 b Fn(.)j(.)f(.)h(.)f(.)h(.)f(.)g(.)h (.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.) -h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)61 b Fr(133)449 623 +h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)61 b Fr(135)449 623 y Ft(B.1)92 b(Implemen)m(tation)31 b(Di\013erences)h(F)-8 b(rom)31 b(The)f(SVR4.2)h(Shell)21 b Fm(.)15 b(.)g(.)g(.)g(.)50 -b Ft(137)150 865 y Fr(App)t(endix)44 b(C)104 b(GNU)46 +b Ft(139)150 865 y Fr(App)t(endix)44 b(C)104 b(GNU)46 b(F)-11 b(ree)44 b(Do)t(cumen)l(tation)j(License)454 998 y Fn(.)19 b(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f (.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.) -f(.)g(.)h(.)f(.)h(.)f(.)79 b Fr(139)150 1268 y(App)t(endix)44 +f(.)g(.)h(.)f(.)h(.)f(.)79 b Fr(141)150 1268 y(App)t(endix)44 b(D)98 b(Indexes)36 b Fn(.)20 b(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)f(.)g(.)h -(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)79 b Fr(147)449 +(.)f(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)h(.)f(.)h(.)79 b Fr(149)449 1405 y Ft(D.1)92 b(Index)29 b(of)i(Shell)f(Builtin)h(Commands)21 b Fm(.)14 b(.)h(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(147)449 1514 y(D.2)92 +(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(149)449 1514 y(D.2)92 b(Index)29 b(of)i(Shell)f(Reserv)m(ed)h(W)-8 b(ords)13 b Fm(.)j(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) -g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 b Ft(149)449 1624 +g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)43 b Ft(150)449 1624 y(D.3)92 b(P)m(arameter)32 b(and)d(V)-8 b(ariable)32 b(Index)21 b Fm(.)15 b(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g -(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(149)449 +(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)51 b Ft(150)449 1733 y(D.4)92 b(F)-8 b(unction)31 b(Index)19 b Fm(.)c(.)g(.)g(.)g(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)49 -b Ft(151)449 1843 y(D.5)92 b(Concept)31 b(Index)9 b Fm(.)k(.)j(.)f(.)g +b Ft(152)449 1843 y(D.5)92 b(Concept)31 b(Index)9 b Fm(.)k(.)j(.)f(.)g (.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.) g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)g(.)h(.)f(.)g(.)g -(.)38 b Ft(153)p eop end +(.)38 b Ft(154)p eop end %%Page: 1 7 TeXDict begin 1 6 bop 150 -116 a Ft(Chapter)30 b(1:)41 b(In)m(tro)s(duction)2592 b(1)150 299 y Fo(1)80 b(In)l(tro)t(duction) @@ -5095,49 +5100,50 @@ Ft(A)20 b Fs(token)f Ft(that)i(p)s(erforms)e(a)i(con)m(trol)g (function.)37 b(It)21 b(is)f(a)h Fs(newline)d Ft(or)j(one)f(of)h(the)f (follo)m(wing:)630 1593 y(`)p Fs(||)p Ft(',)31 b(`)p Fs(&&)p Ft(',)f(`)p Fs(&)p Ft(',)h(`)p Fs(;)p Ft(',)g(`)p -Fs(;;)p Ft(',)f(`)p Fs(|)p Ft(',)h(`)p Fs(\()p Ft(',)g(or)f(`)p -Fs(\))p Ft('.)150 1750 y Fs(exit)f(status)630 1860 y -Ft(The)f(v)-5 b(alue)29 b(returned)e(b)m(y)h(a)h(command)f(to)h(its)g -(caller.)41 b(The)28 b(v)-5 b(alue)29 b(is)f(restricted)h(to)h(eigh)m -(t)630 1969 y(bits,)h(so)f(the)h(maxim)m(um)f(v)-5 b(alue)31 -b(is)f(255.)150 2126 y Fs(field)240 b Ft(A)27 b(unit)g(of)g(text)h -(that)g(is)f(the)g(result)g(of)g(one)h(of)f(the)g(shell)g(expansions.) -40 b(After)27 b(expansion,)630 2236 y(when)e(executing)h(a)g(command,)h -(the)f(resulting)f(\014elds)g(are)h(used)f(as)h(the)g(command)f(name) -630 2346 y(and)30 b(argumen)m(ts.)150 2503 y Fs(filename)96 -b Ft(A)30 b(string)h(of)f(c)m(haracters)i(used)e(to)h(iden)m(tify)g(a)f -(\014le.)150 2659 y Fs(job)336 b Ft(A)31 b(set)h(of)f(pro)s(cesses)g -(comprising)g(a)g(pip)s(eline,)g(and)g(an)m(y)g(pro)s(cesses)g -(descended)g(from)f(it,)630 2769 y(that)h(are)g(all)g(in)f(the)h(same)f -(pro)s(cess)g(group.)150 2926 y Fs(job)f(control)630 -3036 y Ft(A)22 b(mec)m(hanism)g(b)m(y)f(whic)m(h)h(users)f(can)h -(selectiv)m(ely)i(stop)e(\(susp)s(end\))e(and)h(restart)i(\(resume\)) -630 3145 y(execution)32 b(of)e(pro)s(cesses.)150 3302 -y Fs(metacharacter)630 3412 y Ft(A)25 b(c)m(haracter)i(that,)g(when)d -(unquoted,)i(separates)g(w)m(ords.)38 b(A)26 b(metac)m(haracter)i(is)d -(a)g Fs(blank)630 3521 y Ft(or)30 b(one)h(of)g(the)f(follo)m(wing)i(c)m -(haracters:)42 b(`)p Fs(|)p Ft(',)31 b(`)p Fs(&)p Ft(',)g(`)p -Fs(;)p Ft(',)g(`)p Fs(\()p Ft(',)f(`)p Fs(\))p Ft(',)h(`)p -Fs(<)p Ft(',)g(or)f(`)p Fs(>)p Ft('.)150 3678 y Fs(name)288 -b Ft(A)37 b Fs(word)f Ft(consisting)i(solely)h(of)e(letters,)j(n)m(um)m -(b)s(ers,)e(and)f(underscores,)h(and)f(b)s(eginning)630 -3788 y(with)23 b(a)g(letter)h(or)f(underscore.)38 b Fs(Name)p -Ft(s)22 b(are)h(used)f(as)i(shell)f(v)-5 b(ariable)24 -b(and)e(function)h(names.)630 3898 y(Also)31 b(referred)f(to)h(as)f(an) -h Fs(identifier)p Ft(.)150 4055 y Fs(operator)96 b Ft(A)38 -b Fs(control)28 b(operator)36 b Ft(or)h(a)i Fs(redirection)27 -b(operator)p Ft(.)61 b(See)38 b(Section)g(3.6)h([Redirec-)630 -4164 y(tions],)31 b(page)g(25,)h(for)e(a)h(list)g(of)f(redirection)h -(op)s(erators.)150 4321 y Fs(process)d(group)630 4431 -y Ft(A)i(collection)k(of)c(related)h(pro)s(cesses)g(eac)m(h)g(ha)m -(ving)g(the)g(same)f(pro)s(cess)g(group)g Fl(id)p Ft(.)150 -4588 y Fs(process)e(group)h(ID)630 4697 y Ft(A)h(unique)g(iden)m -(ti\014er)h(that)f(represen)m(ts)h(a)g Fs(process)d(group)h -Ft(during)g(its)i(lifetime.)150 4854 y Fs(reserved)d(word)630 -4964 y Ft(A)h Fs(word)e Ft(that)i(has)f(a)h(sp)s(ecial)g(meaning)f(to)h -(the)g(shell.)40 b(Most)30 b(reserv)m(ed)e(w)m(ords)g(in)m(tro)s(duce) -630 5073 y(shell)j(\015o)m(w)f(con)m(trol)i(constructs,)f(suc)m(h)f(as) -g Fs(for)g Ft(and)g Fs(while)p Ft(.)150 5230 y Fs(return)f(status)630 +Fs(;;)p Ft(',)f(`)p Fs(|)p Ft(',)h(`)p Fs(|&)p Ft(',)f(`)p +Fs(\()p Ft(',)h(or)g(`)p Fs(\))p Ft('.)150 1750 y Fs(exit)e(status)630 +1860 y Ft(The)f(v)-5 b(alue)29 b(returned)e(b)m(y)h(a)h(command)f(to)h +(its)g(caller.)41 b(The)28 b(v)-5 b(alue)29 b(is)f(restricted)h(to)h +(eigh)m(t)630 1969 y(bits,)h(so)f(the)h(maxim)m(um)f(v)-5 +b(alue)31 b(is)f(255.)150 2126 y Fs(field)240 b Ft(A)27 +b(unit)g(of)g(text)h(that)g(is)f(the)g(result)g(of)g(one)h(of)f(the)g +(shell)g(expansions.)40 b(After)27 b(expansion,)630 2236 +y(when)e(executing)h(a)g(command,)h(the)f(resulting)f(\014elds)g(are)h +(used)f(as)h(the)g(command)f(name)630 2346 y(and)30 b(argumen)m(ts.)150 +2503 y Fs(filename)96 b Ft(A)30 b(string)h(of)f(c)m(haracters)i(used)e +(to)h(iden)m(tify)g(a)f(\014le.)150 2659 y Fs(job)336 +b Ft(A)31 b(set)h(of)f(pro)s(cesses)g(comprising)g(a)g(pip)s(eline,)g +(and)g(an)m(y)g(pro)s(cesses)g(descended)g(from)f(it,)630 +2769 y(that)h(are)g(all)g(in)f(the)h(same)f(pro)s(cess)g(group.)150 +2926 y Fs(job)f(control)630 3036 y Ft(A)22 b(mec)m(hanism)g(b)m(y)f +(whic)m(h)h(users)f(can)h(selectiv)m(ely)i(stop)e(\(susp)s(end\))e(and) +h(restart)i(\(resume\))630 3145 y(execution)32 b(of)e(pro)s(cesses.)150 +3302 y Fs(metacharacter)630 3412 y Ft(A)25 b(c)m(haracter)i(that,)g +(when)d(unquoted,)i(separates)g(w)m(ords.)38 b(A)26 b(metac)m(haracter) +i(is)d(a)g Fs(blank)630 3521 y Ft(or)30 b(one)h(of)g(the)f(follo)m +(wing)i(c)m(haracters:)42 b(`)p Fs(|)p Ft(',)31 b(`)p +Fs(&)p Ft(',)g(`)p Fs(;)p Ft(',)g(`)p Fs(\()p Ft(',)f(`)p +Fs(\))p Ft(',)h(`)p Fs(<)p Ft(',)g(or)f(`)p Fs(>)p Ft('.)150 +3678 y Fs(name)288 b Ft(A)37 b Fs(word)f Ft(consisting)i(solely)h(of)e +(letters,)j(n)m(um)m(b)s(ers,)e(and)f(underscores,)h(and)f(b)s +(eginning)630 3788 y(with)23 b(a)g(letter)h(or)f(underscore.)38 +b Fs(Name)p Ft(s)22 b(are)h(used)f(as)i(shell)f(v)-5 +b(ariable)24 b(and)e(function)h(names.)630 3898 y(Also)31 +b(referred)f(to)h(as)f(an)h Fs(identifier)p Ft(.)150 +4055 y Fs(operator)96 b Ft(A)38 b Fs(control)28 b(operator)36 +b Ft(or)h(a)i Fs(redirection)27 b(operator)p Ft(.)61 +b(See)38 b(Section)g(3.6)h([Redirec-)630 4164 y(tions],)31 +b(page)g(25,)h(for)e(a)h(list)g(of)f(redirection)h(op)s(erators.)150 +4321 y Fs(process)d(group)630 4431 y Ft(A)i(collection)k(of)c(related)h +(pro)s(cesses)g(eac)m(h)g(ha)m(ving)g(the)g(same)f(pro)s(cess)g(group)g +Fl(id)p Ft(.)150 4588 y Fs(process)e(group)h(ID)630 4697 +y Ft(A)h(unique)g(iden)m(ti\014er)h(that)f(represen)m(ts)h(a)g +Fs(process)d(group)h Ft(during)g(its)i(lifetime.)150 +4854 y Fs(reserved)d(word)630 4964 y Ft(A)h Fs(word)e +Ft(that)i(has)f(a)h(sp)s(ecial)g(meaning)f(to)h(the)g(shell.)40 +b(Most)30 b(reserv)m(ed)e(w)m(ords)g(in)m(tro)s(duce)630 +5073 y(shell)j(\015o)m(w)f(con)m(trol)i(constructs,)f(suc)m(h)f(as)g +Fs(for)g Ft(and)g Fs(while)p Ft(.)150 5230 y Fs(return)f(status)630 5340 y Ft(A)h(synon)m(ym)g(for)g Fs(exit)g(status)p Ft(.)p eop end %%Page: 4 10 @@ -5196,7 +5202,7 @@ y Ft(The)28 b(follo)m(wing)i(is)f(a)g(brief)f(description)h(of)g(the)g (shell's)g(op)s(eration)h(when)d(it)j(reads)e(and)g(executes)j(a)150 3375 y(command.)40 b(Basically)-8 b(,)34 b(the)c(shell)h(do)s(es)f(the) h(follo)m(wing:)199 3513 y(1.)61 b(Reads)42 b(its)h(input)e(from)h(a)g -(\014le)h(\(see)g(Section)g(3.8)g([Shell)f(Scripts],)j(page)e(32\),)k +(\014le)h(\(see)g(Section)g(3.8)g([Shell)f(Scripts],)j(page)e(33\),)k (from)41 b(a)i(string)330 3623 y(supplied)26 b(as)i(an)f(argumen)m(t)g (to)h(the)g(`)p Fs(-c)p Ft(')f(in)m(v)m(o)s(cation)i(option)f(\(see)g (Section)h(6.1)f([In)m(v)m(oking)g(Bash],)330 3732 y(page)j(69\),)h(or) @@ -5220,10 +5226,10 @@ b(page)h(23\))h(and)e(commands)g(and)g(argumen)m(ts.)199 4935 y(mo)m(v)m(es)c(the)e(redirection)h(op)s(erators)g(and)f(their)g (op)s(erands)f(from)h(the)h(argumen)m(t)f(list.)199 5071 y(6.)61 b(Executes)31 b(the)g(command)f(\(see)h(Section)g(3.7)h -([Executing)f(Commands],)f(page)h(28\).)199 5208 y(7.)61 +([Executing)f(Commands],)f(page)h(29\).)199 5208 y(7.)61 b(Optionally)40 b(w)m(aits)g(for)f(the)g(command)g(to)h(complete)g(and) f(collects)i(its)f(exit)g(status)f(\(see)h(Sec-)330 5317 -y(tion)31 b(3.7.5)h([Exit)f(Status],)g(page)g(31\).)p +y(tion)31 b(3.7.5)h([Exit)f(Status],)g(page)g(32\).)p eop end %%Page: 6 12 TeXDict begin 6 11 bop 150 -116 a Ft(6)2617 b(Bash)31 @@ -5240,11 +5246,11 @@ e(sp)s(ecial)i(meaning)150 995 y(to)40 b(the)g(shell)f(and)g(m)m(ust)g (b)s(e)g(quoted)g(if)h(it)g(is)f(to)h(represen)m(t)g(itself.)68 b(When)39 b(the)h(command)f(history)150 1105 y(expansion)i(facilities)j (are)e(b)s(eing)f(used)g(\(see)h(Section)h(9.3)f([History)h(In)m -(teraction],)j(page)c(119\),)47 b(the)150 1214 y Fq(history)30 +(teraction],)j(page)c(121\),)47 b(the)150 1214 y Fq(history)30 b(expansion)h Ft(c)m(haracter,)h(usually)f(`)p Fs(!)p Ft(',)g(m)m(ust)f(b)s(e)g(quoted)h(to)g(prev)m(en)m(t)g(history)g (expansion.)41 b(See)150 1324 y(Section)22 b(9.1)g([Bash)f(History)h(F) --8 b(acilities],)26 b(page)c(117,)j(for)20 b(more)h(details)h +-8 b(acilities],)26 b(page)c(119,)j(for)20 b(more)h(details)h (concerning)g(history)f(expansion.)275 1453 y(There)37 b(are)h(three)f(quoting)h(mec)m(hanisms:)56 b(the)38 b Fq(escap)s(e)g(c)m(haracter)p Ft(,)j(single)d(quotes,)i(and)d(double) @@ -5349,7 +5355,7 @@ Fs(TEXTDOMAIN)p Ft(.mo.)150 4415 y Fk(3.1.3)63 b(Commen)m(ts)275 (teractiv)m(e)k(shell)d(in)f(whic)m(h)h(the)f Fs(interactive_comments) 150 4792 y Ft(option)41 b(to)h(the)f Fs(shopt)e Ft(builtin)i(is)g (enabled)g(\(see)g(Section)h(4.3.2)h([The)d(Shopt)g(Builtin],)45 -b(page)c(53\),)150 4902 y(a)d(w)m(ord)f(b)s(eginning)g(with)h(`)p +b(page)c(54\),)150 4902 y(a)d(w)m(ord)f(b)s(eginning)g(with)h(`)p Fs(#)p Ft(')g(causes)g(that)g(w)m(ord)g(and)f(all)h(remaining)g(c)m (haracters)h(on)f(that)g(line)g(to)150 5011 y(b)s(e)33 b(ignored.)52 b(An)33 b(in)m(teractiv)m(e)k(shell)d(without)g(the)h @@ -5363,1967 +5369,2023 @@ eop end %%Page: 8 14 TeXDict begin 8 13 bop 150 -116 a Ft(8)2617 b(Bash)31 b(Reference)g(Man)m(ual)150 299 y Fr(3.2)68 b(Shell)45 -b(Commands)275 553 y Ft(A)32 b(simple)g(shell)g(command)g(suc)m(h)g(as) +b(Commands)275 544 y Ft(A)32 b(simple)g(shell)g(command)g(suc)m(h)g(as) h Fs(echo)c(a)h(b)g(c)i Ft(consists)g(of)h(the)f(command)g(itself)h -(follo)m(w)m(ed)h(b)m(y)150 663 y(argumen)m(ts,)d(separated)g(b)m(y)f -(spaces.)275 808 y(More)h(complex)h(shell)f(commands)g(are)g(comp)s +(follo)m(w)m(ed)h(b)m(y)150 654 y(argumen)m(ts,)d(separated)g(b)m(y)f +(spaces.)275 790 y(More)h(complex)h(shell)f(commands)g(are)g(comp)s (osed)g(of)g(simple)g(commands)g(arranged)g(together)h(in)150 -917 y(a)f(v)-5 b(ariet)m(y)32 b(of)f(w)m(a)m(ys:)41 b(in)31 +899 y(a)f(v)-5 b(ariet)m(y)32 b(of)f(w)m(a)m(ys:)41 b(in)31 b(a)g(pip)s(eline)f(in)g(whic)m(h)g(the)h(output)f(of)h(one)f(command)h -(b)s(ecomes)f(the)h(input)f(of)150 1027 y(a)h(second,)f(in)h(a)f(lo)s +(b)s(ecomes)f(the)h(input)f(of)150 1009 y(a)h(second,)f(in)h(a)f(lo)s (op)h(or)f(conditional)i(construct,)f(or)f(in)g(some)h(other)g -(grouping.)150 1272 y Fk(3.2.1)63 b(Simple)41 b(Commands)275 -1526 y Ft(A)26 b(simple)h(command)g(is)f(the)h(kind)f(of)h(command)g +(grouping.)150 1235 y Fk(3.2.1)63 b(Simple)41 b(Commands)275 +1481 y Ft(A)26 b(simple)h(command)g(is)f(the)h(kind)f(of)h(command)g (encoun)m(tered)g(most)g(often.)40 b(It's)27 b(just)f(a)i(sequence)150 -1636 y(of)f(w)m(ords)f(separated)h(b)m(y)g Fs(blank)p +1590 y(of)f(w)m(ords)f(separated)h(b)m(y)g Fs(blank)p Ft(s,)f(terminated)h(b)m(y)g(one)g(of)g(the)g(shell's)g(con)m(trol)h -(op)s(erators)f(\(see)h(Chap-)150 1745 y(ter)34 b(2)g([De\014nitions],) +(op)s(erators)f(\(see)h(Chap-)150 1700 y(ter)34 b(2)g([De\014nitions],) i(page)f(3\).)51 b(The)34 b(\014rst)f(w)m(ord)g(generally)i(sp)s (eci\014es)e(a)i(command)e(to)i(b)s(e)e(executed,)150 -1855 y(with)d(the)h(rest)f(of)h(the)f(w)m(ords)g(b)s(eing)g(that)h -(command's)f(argumen)m(ts.)275 2000 y(The)h(return)h(status)g(\(see)i -(Section)f(3.7.5)h([Exit)f(Status],)h(page)f(31\))g(of)g(a)g(simple)f -(command)g(is)h(its)150 2109 y(exit)38 b(status)f(as)g(pro)m(vided)f(b) +1809 y(with)d(the)h(rest)f(of)h(the)f(w)m(ords)g(b)s(eing)g(that)h +(command's)f(argumen)m(ts.)275 1945 y(The)h(return)h(status)g(\(see)i +(Section)f(3.7.5)h([Exit)f(Status],)h(page)f(32\))g(of)g(a)g(simple)f +(command)g(is)h(its)150 2055 y(exit)38 b(status)f(as)g(pro)m(vided)f(b) m(y)h(the)g Fl(posix)f Ft(1003.1)j Fs(waitpid)c Ft(function,)j(or)f -(128)p Fs(+)p Fq(n)g Ft(if)g(the)g(command)150 2219 y(w)m(as)31 -b(terminated)g(b)m(y)f(signal)h Fq(n)p Ft(.)150 2463 -y Fk(3.2.2)63 b(Pip)s(elines)275 2718 y Ft(A)30 b Fs(pipeline)e -Ft(is)j(a)f(sequence)h(of)g(simple)f(commands)g(separated)h(b)m(y)f(`)p -Fs(|)p Ft('.)275 2863 y(The)f(format)i(for)f(a)h(pip)s(eline)f(is)390 -3007 y Fs([time)46 b([-p]])h([!])g Fj(command1)56 b Fs([|)47 -b Fj(command2)56 b Fs(...)o(])150 3152 y Ft(The)36 b(output)h(of)g(eac) -m(h)h(command)e(in)h(the)g(pip)s(eline)f(is)h(connected)h(via)f(a)g -(pip)s(e)f(to)i(the)f(input)f(of)h(the)150 3262 y(next)31 -b(command.)40 b(That)30 b(is,)h(eac)m(h)h(command)e(reads)g(the)g -(previous)g(command's)g(output.)275 3407 y(The)36 b(reserv)m(ed)g(w)m -(ord)g Fs(time)g Ft(causes)h(timing)g(statistics)h(to)f(b)s(e)f(prin)m -(ted)g(for)g(the)h(pip)s(eline)f(once)h(it)150 3516 y(\014nishes.)51 -b(The)34 b(statistics)i(curren)m(tly)e(consist)h(of)f(elapsed)h(\(w)m -(all-clo)s(c)m(k\))i(time)e(and)f(user)f(and)h(system)150 -3626 y(time)i(consumed)f(b)m(y)g(the)h(command's)f(execution.)57 -b(The)35 b(`)p Fs(-p)p Ft(')h(option)f(c)m(hanges)i(the)f(output)f -(format)150 3735 y(to)i(that)f(sp)s(eci\014ed)f(b)m(y)h +(128)p Fs(+)p Fq(n)g Ft(if)g(the)g(command)150 2164 y(w)m(as)31 +b(terminated)g(b)m(y)f(signal)h Fq(n)p Ft(.)150 2391 +y Fk(3.2.2)63 b(Pip)s(elines)275 2636 y Ft(A)26 b Fs(pipeline)e +Ft(is)i(a)h(sequence)g(of)f(simple)h(commands)e(separated)i(b)m(y)f +(one)h(of)g(the)f(con)m(trol)i(op)s(erators)150 2746 +y(`)p Fs(|)p Ft(')j(or)f(`)p Fs(|&)p Ft('.)275 2882 y(The)f(format)i +(for)f(a)h(pip)s(eline)f(is)390 3017 y Fs([time)46 b([-p]])h([!])g +Fj(command1)56 b Fs([)47 b([|)g(or)h(|&])e Fj(command2)56 +b Fs(...])150 3153 y Ft(The)25 b(output)f(of)i(eac)m(h)g(command)f(in)f +(the)i(pip)s(eline)e(is)i(connected)g(via)f(a)h(pip)s(e)e(to)i(the)f +(input)f(of)h(the)h(next)150 3263 y(command.)40 b(That)29 +b(is,)h(eac)m(h)h(command)e(reads)g(the)h(previous)f(command's)g +(output.)40 b(This)29 b(connection)150 3372 y(is)h(p)s(erformed)f(b)s +(efore)h(an)m(y)h(redirections)g(sp)s(eci\014ed)f(b)m(y)g(the)g +(command.)275 3508 y(If)j(`)p Fs(|&)p Ft(')h(is)h(used,)f(the)h +(standard)e(error)h(of)g Fq(command1)42 b Ft(is)34 b(connected)h(to)g +Fq(command2)7 b Ft('s)35 b(standard)150 3618 y(input)25 +b(through)g(the)h(pip)s(e;)h(it)f(is)g(shorthand)f(for)g +Fs(2>&1)k(|)p Ft(.)39 b(This)25 b(implicit)i(redirection)g(of)f(the)g +(standard)150 3727 y(error)k(is)g(p)s(erformed)f(after)i(an)m(y)g +(redirections)g(sp)s(eci\014ed)e(b)m(y)i(the)f(command.)275 +3863 y(The)36 b(reserv)m(ed)g(w)m(ord)g Fs(time)g Ft(causes)h(timing)g +(statistics)h(to)f(b)s(e)f(prin)m(ted)g(for)g(the)h(pip)s(eline)f(once) +h(it)150 3973 y(\014nishes.)51 b(The)34 b(statistics)i(curren)m(tly)e +(consist)h(of)f(elapsed)h(\(w)m(all-clo)s(c)m(k\))i(time)e(and)f(user)f +(and)h(system)150 4082 y(time)i(consumed)f(b)m(y)g(the)h(command's)f +(execution.)57 b(The)35 b(`)p Fs(-p)p Ft(')h(option)f(c)m(hanges)i(the) +f(output)f(format)150 4192 y(to)i(that)f(sp)s(eci\014ed)f(b)m(y)h Fl(posix)p Ft(.)57 b(The)35 b Fs(TIMEFORMAT)e Ft(v)-5 b(ariable)37 b(ma)m(y)g(b)s(e)e(set)h(to)h(a)f(format)g(string)g(that) -150 3845 y(sp)s(eci\014es)29 b(ho)m(w)g(the)g(timing)g(information)h +150 4301 y(sp)s(eci\014es)29 b(ho)m(w)g(the)g(timing)g(information)h (should)d(b)s(e)i(displa)m(y)m(ed.)41 b(See)29 b(Section)h(5.2)g([Bash) -f(V)-8 b(ariables],)150 3955 y(page)29 b(59,)h(for)e(a)g(description)h +f(V)-8 b(ariables],)150 4411 y(page)29 b(59,)h(for)e(a)g(description)h (of)f(the)g(a)m(v)-5 b(ailable)31 b(formats.)40 b(The)28 b(use)g(of)g Fs(time)f Ft(as)i(a)f(reserv)m(ed)h(w)m(ord)f(p)s(er-)150 -4064 y(mits)g(the)g(timing)g(of)g(shell)g(builtins,)g(shell)g +4521 y(mits)g(the)g(timing)g(of)g(shell)g(builtins,)g(shell)g (functions,)g(and)f(pip)s(elines.)40 b(An)27 b(external)i -Fs(time)d Ft(command)150 4174 y(cannot)31 b(time)g(these)g(easily)-8 -b(.)275 4318 y(If)24 b(the)h(pip)s(eline)g(is)g(not)g(executed)h(async) +Fs(time)d Ft(command)150 4630 y(cannot)31 b(time)g(these)g(easily)-8 +b(.)275 4766 y(If)24 b(the)h(pip)s(eline)g(is)g(not)g(executed)h(async) m(hronously)f(\(see)h(Section)g(3.2.3)h([Lists],)g(page)e(9\),)i(the)f -(shell)150 4428 y(w)m(aits)31 b(for)f(all)i(commands)e(in)g(the)g(pip)s -(eline)g(to)h(complete.)275 4573 y(Eac)m(h)25 b(command)g(in)g(a)g(pip) +(shell)150 4875 y(w)m(aits)31 b(for)f(all)i(commands)e(in)g(the)g(pip)s +(eline)g(to)h(complete.)275 5011 y(Eac)m(h)25 b(command)g(in)g(a)g(pip) s(eline)g(is)g(executed)h(in)f(its)g(o)m(wn)h(subshell)e(\(see)i -(Section)g(3.7.3)h([Command)150 4682 y(Execution)36 b(En)m(vironmen)m +(Section)g(3.7.3)h([Command)150 5121 y(Execution)36 b(En)m(vironmen)m (t],)i(page)e(30\).)58 b(The)36 b(exit)g(status)g(of)g(a)g(pip)s(eline) -g(is)f(the)h(exit)h(status)f(of)g(the)150 4792 y(last)27 +g(is)f(the)h(exit)h(status)f(of)g(the)150 5230 y(last)27 b(command)f(in)f(the)i(pip)s(eline,)f(unless)g(the)g Fs(pipefail)e Ft(option)i(is)g(enabled)g(\(see)h(Section)g(4.3.1)h -([The)150 4902 y(Set)34 b(Builtin],)j(page)e(49\).)53 +([The)150 5340 y(Set)34 b(Builtin],)j(page)e(50\).)53 b(If)34 b Fs(pipefail)e Ft(is)i(enabled,)h(the)g(pip)s(eline's)f -(return)f(status)h(is)h(the)f(v)-5 b(alue)35 b(of)150 -5011 y(the)d(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g(with)e(a)i -(non-zero)f(status,)h(or)f(zero)h(if)f(all)h(commands)f(exit)150 -5121 y(successfully)-8 b(.)67 b(If)38 b(the)h(reserv)m(ed)g(w)m(ord)g -(`)p Fs(!)p Ft(')g(precedes)g(the)g(pip)s(eline,)h(the)g(exit)f(status) -g(is)g(the)g(logical)150 5230 y(negation)h(of)f(the)f(exit)i(status)f -(as)f(describ)s(ed)g(ab)s(o)m(v)m(e.)66 b(The)38 b(shell)h(w)m(aits)h -(for)e(all)h(commands)g(in)f(the)150 5340 y(pip)s(eline)30 -b(to)h(terminate)g(b)s(efore)f(returning)g(a)h(v)-5 b(alue.)p -eop end +(return)f(status)h(is)h(the)f(v)-5 b(alue)35 b(of)p eop +end %%Page: 9 15 TeXDict begin 9 14 bop 150 -116 a Ft(Chapter)30 b(3:)41 b(Basic)32 b(Shell)e(F)-8 b(eatures)2292 b(9)150 299 -y Fk(3.2.3)63 b(Lists)41 b(of)h(Commands)275 541 y Ft(A)29 -b Fs(list)f Ft(is)i(a)f(sequence)h(of)g(one)f(or)h(more)f(pip)s(elines) -g(separated)h(b)m(y)f(one)h(of)f(the)h(op)s(erators)g(`)p -Fs(;)p Ft(',)g(`)p Fs(&)p Ft(',)150 651 y(`)p Fs(&&)p -Ft(',)h(or)f(`)p Fs(||)p Ft(',)g(and)g(optionally)i(terminated)f(b)m(y) -f(one)h(of)f(`)p Fs(;)p Ft(',)h(`)p Fs(&)p Ft(',)g(or)f(a)h -Fs(newline)p Ft(.)275 783 y(Of)23 b(these)h(list)g(op)s(erators,)i(`)p +y(the)32 b(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g(with)e(a)i +(non-zero)f(status,)h(or)f(zero)h(if)f(all)h(commands)f(exit)150 +408 y(successfully)-8 b(.)67 b(If)38 b(the)h(reserv)m(ed)g(w)m(ord)g(`) +p Fs(!)p Ft(')g(precedes)g(the)g(pip)s(eline,)h(the)g(exit)f(status)g +(is)g(the)g(logical)150 518 y(negation)h(of)f(the)f(exit)i(status)f(as) +f(describ)s(ed)g(ab)s(o)m(v)m(e.)66 b(The)38 b(shell)h(w)m(aits)h(for)e +(all)h(commands)g(in)f(the)150 628 y(pip)s(eline)30 b(to)h(terminate)g +(b)s(efore)f(returning)g(a)h(v)-5 b(alue.)150 881 y Fk(3.2.3)63 +b(Lists)41 b(of)h(Commands)275 1139 y Ft(A)29 b Fs(list)f +Ft(is)i(a)f(sequence)h(of)g(one)f(or)h(more)f(pip)s(elines)g(separated) +h(b)m(y)f(one)h(of)f(the)h(op)s(erators)g(`)p Fs(;)p +Ft(',)g(`)p Fs(&)p Ft(',)150 1249 y(`)p Fs(&&)p Ft(',)h(or)f(`)p +Fs(||)p Ft(',)g(and)g(optionally)i(terminated)f(b)m(y)f(one)h(of)f(`)p +Fs(;)p Ft(',)h(`)p Fs(&)p Ft(',)g(or)f(a)h Fs(newline)p +Ft(.)275 1398 y(Of)23 b(these)h(list)g(op)s(erators,)i(`)p Fs(&&)p Ft(')d(and)g(`)p Fs(||)p Ft(')h(ha)m(v)m(e)h(equal)f (precedence,)i(follo)m(w)m(ed)f(b)m(y)f(`)p Fs(;)p Ft(')g(and)f(`)p -Fs(&)p Ft(',)i(whic)m(h)150 893 y(ha)m(v)m(e)32 b(equal)e(precedence.) -275 1026 y(A)f(sequence)h(of)g(one)g(or)g(more)g(newlines)f(ma)m(y)h +Fs(&)p Ft(',)i(whic)m(h)150 1507 y(ha)m(v)m(e)32 b(equal)e(precedence.) +275 1656 y(A)f(sequence)h(of)g(one)g(or)g(more)g(newlines)f(ma)m(y)h (app)s(ear)f(in)h(a)g Fs(list)e Ft(to)j(delimit)f(commands,)g(equiv-) -150 1135 y(alen)m(t)i(to)f(a)g(semicolon.)275 1268 y(If)c(a)h(command)f +150 1766 y(alen)m(t)i(to)f(a)g(semicolon.)275 1915 y(If)c(a)h(command)f (is)h(terminated)g(b)m(y)g(the)g(con)m(trol)h(op)s(erator)f(`)p Fs(&)p Ft(',)h(the)e(shell)h(executes)h(the)f(command)150 -1378 y(async)m(hronously)g(in)h(a)g(subshell.)39 b(This)28 +2024 y(async)m(hronously)g(in)h(a)g(subshell.)39 b(This)28 b(is)h(kno)m(wn)f(as)h(executing)h(the)f(command)g(in)f(the)h -Fq(bac)m(kground)p Ft(.)150 1487 y(The)f(shell)h(do)s(es)f(not)h(w)m +Fq(bac)m(kground)p Ft(.)150 2134 y(The)f(shell)h(do)s(es)f(not)h(w)m (ait)g(for)f(the)h(command)f(to)i(\014nish,)d(and)h(the)h(return)e -(status)i(is)g(0)g(\(true\).)40 b(When)150 1597 y(job)g(con)m(trol)h +(status)i(is)g(0)g(\(true\).)40 b(When)150 2243 y(job)g(con)m(trol)h (is)g(not)f(activ)m(e)i(\(see)f(Chapter)f(7)h([Job)f(Con)m(trol],)j -(page)e(87\),)j(the)d(standard)e(input)g(for)150 1706 +(page)e(87\),)j(the)d(standard)e(input)g(for)150 2353 y(async)m(hronous)k(commands,)k(in)d(the)f(absence)i(of)f(an)m(y)g (explicit)h(redirections,)j(is)43 b(redirected)h(from)150 -1816 y Fs(/dev/null)p Ft(.)275 1949 y(Commands)19 b(separated)j(b)m(y)f +2463 y Fs(/dev/null)p Ft(.)275 2612 y(Commands)19 b(separated)j(b)m(y)f (a)g(`)p Fs(;)p Ft(')g(are)h(executed)g(sequen)m(tially;)k(the)21 -b(shell)g(w)m(aits)h(for)f(eac)m(h)h(command)150 2058 +b(shell)g(w)m(aits)h(for)f(eac)m(h)h(command)150 2721 y(to)31 b(terminate)h(in)e(turn.)39 b(The)30 b(return)f(status)i(is)f (the)h(exit)g(status)g(of)g(the)f(last)h(command)f(executed.)275 -2191 y Fl(and)g Ft(and)h Fl(or)g Ft(lists)h(are)g(sequences)f(of)h(one) +2870 y Fl(and)g Ft(and)h Fl(or)g Ft(lists)h(are)g(sequences)f(of)h(one) g(or)f(more)h(pip)s(elines)e(separated)i(b)m(y)g(the)f(con)m(trol)i(op) -s(er-)150 2301 y(ators)e(`)p Fs(&&)p Ft(')f(and)g(`)p +s(er-)150 2980 y(ators)e(`)p Fs(&&)p Ft(')f(and)g(`)p Fs(||)p Ft(',)h(resp)s(ectiv)m(ely)-8 b(.)42 b Fl(and)30 b Ft(and)f Fl(or)h Ft(lists)h(are)g(executed)g(with)f(left)h(asso)s -(ciativit)m(y)-8 b(.)275 2433 y(An)30 b Fl(and)f Ft(list)i(has)f(the)h -(form)390 2566 y Fj(command1)56 b Fs(&&)47 b Fj(command2)150 -2699 y Fq(command2)38 b Ft(is)30 b(executed)i(if,)e(and)g(only)g(if,)h +(ciativit)m(y)-8 b(.)275 3129 y(An)30 b Fl(and)f Ft(list)i(has)f(the)h +(form)390 3277 y Fj(command1)56 b Fs(&&)47 b Fj(command2)150 +3426 y Fq(command2)38 b Ft(is)30 b(executed)i(if,)e(and)g(only)g(if,)h Fq(command1)38 b Ft(returns)29 b(an)h(exit)h(status)g(of)g(zero.)275 -2831 y(An)f Fl(or)f Ft(list)i(has)f(the)h(form)390 2964 -y Fj(command1)56 b Fs(||)47 b Fj(command2)150 3097 y +3575 y(An)f Fl(or)f Ft(list)i(has)f(the)h(form)390 3724 +y Fj(command1)56 b Fs(||)47 b Fj(command2)150 3873 y Fq(command2)38 b Ft(is)30 b(executed)i(if,)e(and)g(only)g(if,)h Fq(command1)38 b Ft(returns)29 b(a)i(non-zero)g(exit)g(status.)275 -3229 y(The)h(return)g(status)i(of)f Fl(and)f Ft(and)h +4022 y(The)h(return)g(status)i(of)f Fl(and)f Ft(and)h Fl(or)f Ft(lists)i(is)f(the)g(exit)h(status)g(of)f(the)g(last)h -(command)f(executed)150 3339 y(in)d(the)h(list.)150 3558 -y Fk(3.2.4)63 b(Comp)s(ound)42 b(Commands)275 3800 y +(command)f(executed)150 4132 y(in)d(the)h(list.)150 4385 +y Fk(3.2.4)63 b(Comp)s(ound)42 b(Commands)275 4643 y Ft(Comp)s(ound)e(commands)i(are)h(the)g(shell)g(programming)f (constructs.)77 b(Eac)m(h)44 b(construct)e(b)s(egins)150 -3910 y(with)d(a)g(reserv)m(ed)g(w)m(ord)f(or)h(con)m(trol)h(op)s +4753 y(with)d(a)g(reserv)m(ed)g(w)m(ord)f(or)h(con)m(trol)h(op)s (erator)f(and)g(is)g(terminated)g(b)m(y)g(a)g(corresp)s(onding)f -(reserv)m(ed)150 4019 y(w)m(ord)k(or)h(op)s(erator.)77 +(reserv)m(ed)150 4862 y(w)m(ord)k(or)h(op)s(erator.)77 b(An)m(y)42 b(redirections)h(\(see)h(Section)f(3.6)h([Redirections],)j -(page)c(25\))g(asso)s(ciated)150 4129 y(with)26 b(a)g(comp)s(ound)f +(page)c(25\))g(asso)s(ciated)150 4972 y(with)26 b(a)g(comp)s(ound)f (command)h(apply)g(to)h(all)g(commands)f(within)f(that)i(comp)s(ound)e -(command)h(unless)150 4239 y(explicitly)32 b(o)m(v)m(erridden.)275 -4371 y(Bash)45 b(pro)m(vides)h(lo)s(oping)g(constructs,)j(conditional)e +(command)h(unless)150 5081 y(explicitly)32 b(o)m(v)m(erridden.)275 +5230 y(Bash)45 b(pro)m(vides)h(lo)s(oping)g(constructs,)j(conditional)e (commands,)j(and)44 b(mec)m(hanisms)i(to)g(group)150 -4481 y(commands)30 b(and)g(execute)i(them)e(as)g(a)h(unit.)150 -4700 y Fk(3.2.4.1)63 b(Lo)s(oping)43 b(Constructs)275 -4942 y Ft(Bash)30 b(supp)s(orts)f(the)h(follo)m(wing)i(lo)s(oping)f -(constructs.)275 5075 y(Note)k(that)f(wherev)m(er)g(a)g(`)p -Fs(;)p Ft(')g(app)s(ears)f(in)h(the)g(description)g(of)g(a)g(command's) -g(syn)m(tax,)i(it)e(ma)m(y)h(b)s(e)150 5184 y(replaced)c(with)f(one)h -(or)f(more)g(newlines.)150 5340 y Fs(until)240 b Ft(The)30 -b(syn)m(tax)h(of)f(the)h Fs(until)e Ft(command)h(is:)p +5340 y(commands)30 b(and)g(execute)i(them)e(as)g(a)h(unit.)p eop end %%Page: 10 16 TeXDict begin 10 15 bop 150 -116 a Ft(10)2572 b(Bash)31 -b(Reference)g(Man)m(ual)870 299 y Fs(until)46 b Fj(test-commands)11 -b Fs(;)44 b(do)j Fj(consequent-commands)11 b Fs(;)42 -b(done)630 434 y Ft(Execute)g Fq(consequen)m(t-commands)k -Ft(as)41 b(long)h(as)f Fq(test-commands)46 b Ft(has)41 -b(an)g(exit)h(status)630 543 y(whic)m(h)c(is)h(not)g(zero.)67 -b(The)38 b(return)g(status)h(is)f(the)h(exit)h(status)f(of)g(the)g -(last)g(command)630 653 y(executed)31 b(in)f Fq(consequen)m(t-commands) -p Ft(,)i(or)e(zero)h(if)g(none)f(w)m(as)h(executed.)150 -813 y Fs(while)240 b Ft(The)30 b(syn)m(tax)h(of)f(the)h -Fs(while)e Ft(command)h(is:)870 948 y Fs(while)46 b Fj(test-commands)11 -b Fs(;)44 b(do)j Fj(consequent-commands)11 b Fs(;)42 -b(done)630 1083 y Ft(Execute)g Fq(consequen)m(t-commands)k +b(Reference)g(Man)m(ual)150 299 y Fk(3.2.4.1)63 b(Lo)s(oping)43 +b(Constructs)275 544 y Ft(Bash)30 b(supp)s(orts)f(the)h(follo)m(wing)i +(lo)s(oping)f(constructs.)275 680 y(Note)k(that)f(wherev)m(er)g(a)g(`)p +Fs(;)p Ft(')g(app)s(ears)f(in)h(the)g(description)g(of)g(a)g(command's) +g(syn)m(tax,)i(it)e(ma)m(y)h(b)s(e)150 790 y(replaced)c(with)f(one)h +(or)f(more)g(newlines.)150 951 y Fs(until)240 b Ft(The)30 +b(syn)m(tax)h(of)f(the)h Fs(until)e Ft(command)h(is:)870 +1086 y Fs(until)46 b Fj(test-commands)11 b Fs(;)44 b(do)j +Fj(consequent-commands)11 b Fs(;)42 b(done)630 1222 y +Ft(Execute)g Fq(consequen)m(t-commands)k Ft(as)41 b(long)h(as)f +Fq(test-commands)46 b Ft(has)41 b(an)g(exit)h(status)630 +1331 y(whic)m(h)c(is)h(not)g(zero.)67 b(The)38 b(return)g(status)h(is)f +(the)h(exit)h(status)f(of)g(the)g(last)g(command)630 +1441 y(executed)31 b(in)f Fq(consequen)m(t-commands)p +Ft(,)i(or)e(zero)h(if)g(none)f(w)m(as)h(executed.)150 +1602 y Fs(while)240 b Ft(The)30 b(syn)m(tax)h(of)f(the)h +Fs(while)e Ft(command)h(is:)870 1737 y Fs(while)46 b +Fj(test-commands)11 b Fs(;)44 b(do)j Fj(consequent-commands)11 +b Fs(;)42 b(done)630 1872 y Ft(Execute)g Fq(consequen)m(t-commands)k Ft(as)41 b(long)h(as)f Fq(test-commands)46 b Ft(has)41 -b(an)g(exit)h(status)630 1193 y(of)34 b(zero.)53 b(The)34 +b(an)g(exit)h(status)630 1982 y(of)34 b(zero.)53 b(The)34 b(return)f(status)h(is)h(the)f(exit)h(status)g(of)f(the)g(last)h -(command)f(executed)h(in)630 1302 y Fq(consequen)m(t-commands)p +(command)f(executed)h(in)630 2091 y Fq(consequen)m(t-commands)p Ft(,)c(or)g(zero)g(if)f(none)g(w)m(as)h(executed.)150 -1463 y Fs(for)336 b Ft(The)30 b(syn)m(tax)h(of)f(the)h -Fs(for)e Ft(command)i(is:)870 1598 y Fs(for)47 b Fj(name)57 +2252 y Fs(for)336 b Ft(The)30 b(syn)m(tax)h(of)f(the)h +Fs(for)e Ft(command)i(is:)870 2387 y Fs(for)47 b Fj(name)57 b Fs([in)47 b Fj(words)57 b Fs(...)o(];)47 b(do)g Fj(commands)11 -b Fs(;)45 b(done)630 1733 y Ft(Expand)31 b Fq(w)m(ords)p +b Fs(;)45 b(done)630 2522 y Ft(Expand)31 b Fq(w)m(ords)p Ft(,)j(and)e(execute)i Fq(commands)i Ft(once)d(for)g(eac)m(h)h(mem)m(b) -s(er)e(in)g(the)h(resultan)m(t)630 1842 y(list,)c(with)f +s(er)e(in)g(the)h(resultan)m(t)630 2632 y(list,)c(with)f Fq(name)33 b Ft(b)s(ound)26 b(to)j(the)f(curren)m(t)g(mem)m(b)s(er.)40 b(If)27 b(`)p Fs(in)j Fj(words)11 b Ft(')27 b(is)h(not)g(presen)m(t,)h -(the)630 1952 y Fs(for)g Ft(command)g(executes)i(the)e +(the)630 2741 y Fs(for)g Ft(command)g(executes)i(the)e Fq(commands)k Ft(once)d(for)f(eac)m(h)i(p)s(ositional)f(parameter)g -(that)630 2061 y(is)d(set,)h(as)f(if)g(`)p Fs(in)j("$@")p +(that)630 2851 y(is)d(set,)h(as)f(if)g(`)p Fs(in)j("$@")p Ft(')c(had)g(b)s(een)g(sp)s(eci\014ed)g(\(see)i(Section)f(3.4.2)i([Sp)s -(ecial)e(P)m(arameters],)630 2171 y(page)c(16\).)39 b(The)21 +(ecial)e(P)m(arameters],)630 2961 y(page)c(16\).)39 b(The)21 b(return)g(status)h(is)g(the)g(exit)h(status)f(of)g(the)g(last)g -(command)g(that)g(executes.)630 2281 y(If)i(there)h(are)h(no)e(items)i +(command)g(that)g(executes.)630 3070 y(If)i(there)h(are)h(no)e(items)i (in)e(the)h(expansion)g(of)g Fq(w)m(ords)p Ft(,)h(no)f(commands)f(are)h -(executed,)j(and)630 2390 y(the)j(return)e(status)i(is)f(zero.)630 -2525 y(An)g(alternate)i(form)e(of)h(the)f Fs(for)g Ft(command)g(is)g -(also)h(supp)s(orted:)870 2660 y Fs(for)47 b(\(\()g Fj(expr1)57 +(executed,)j(and)630 3180 y(the)j(return)e(status)i(is)f(zero.)630 +3315 y(An)g(alternate)i(form)e(of)h(the)f Fs(for)g Ft(command)g(is)g +(also)h(supp)s(orted:)870 3450 y Fs(for)47 b(\(\()g Fj(expr1)57 b Fs(;)47 b Fj(expr2)57 b Fs(;)48 b Fj(expr3)57 b Fs(\)\))47 -b(;)g(do)g Fj(commands)57 b Fs(;)47 b(done)630 2795 y +b(;)g(do)g Fj(commands)57 b Fs(;)47 b(done)630 3585 y Ft(First,)38 b(the)f(arithmetic)h(expression)e Fq(expr1)43 b Ft(is)36 b(ev)-5 b(aluated)38 b(according)f(to)g(the)g(rules)f(de-) -630 2905 y(scrib)s(ed)41 b(b)s(elo)m(w)h(\(see)h(Section)g(6.5)g +630 3695 y(scrib)s(ed)41 b(b)s(elo)m(w)h(\(see)h(Section)g(6.5)g ([Shell)g(Arithmetic],)j(page)d(76\).)77 b(The)42 b(arithmetic)630 -3014 y(expression)33 b Fq(expr2)41 b Ft(is)34 b(then)f(ev)-5 +3805 y(expression)33 b Fq(expr2)41 b Ft(is)34 b(then)f(ev)-5 b(aluated)35 b(rep)s(eatedly)f(un)m(til)g(it)g(ev)-5 -b(aluates)35 b(to)g(zero.)51 b(Eac)m(h)630 3124 y(time)23 +b(aluates)35 b(to)g(zero.)51 b(Eac)m(h)630 3914 y(time)23 b Fq(expr2)30 b Ft(ev)-5 b(aluates)25 b(to)e(a)g(non-zero)h(v)-5 b(alue,)25 b Fq(commands)h Ft(are)d(executed)g(and)g(the)g(arith-)630 -3233 y(metic)29 b(expression)f Fq(expr3)36 b Ft(is)28 +4024 y(metic)29 b(expression)f Fq(expr3)36 b Ft(is)28 b(ev)-5 b(aluated.)41 b(If)28 b(an)m(y)h(expression)f(is)g(omitted,)i -(it)f(b)s(eha)m(v)m(es)g(as)630 3343 y(if)i(it)h(ev)-5 +(it)f(b)s(eha)m(v)m(es)g(as)630 4133 y(if)i(it)h(ev)-5 b(aluates)32 b(to)g(1.)44 b(The)30 b(return)g(v)-5 b(alue)32 b(is)f(the)g(exit)h(status)g(of)f(the)g(last)h(command)f(in)630 -3453 y Fq(list)i Ft(that)e(is)f(executed,)i(or)e(false)h(if)g(an)m(y)f +4243 y Fq(list)i Ft(that)e(is)f(executed,)i(or)e(false)h(if)g(an)m(y)f (of)h(the)f(expressions)g(is)h(in)m(v)-5 b(alid.)275 -3613 y(The)26 b Fs(break)g Ft(and)h Fs(continue)e Ft(builtins)i(\(see)h +4404 y(The)26 b Fs(break)g Ft(and)h Fs(continue)e Ft(builtins)i(\(see)h (Section)h(4.1)f([Bourne)g(Shell)f(Builtins],)i(page)f(35\))g(ma)m(y) -150 3723 y(b)s(e)i(used)f(to)i(con)m(trol)h(lo)s(op)f(execution.)150 -3949 y Fk(3.2.4.2)63 b(Conditional)42 b(Constructs)150 -4193 y Fs(if)384 b Ft(The)30 b(syn)m(tax)h(of)f(the)h -Fs(if)f Ft(command)g(is:)870 4328 y Fs(if)47 b Fj(test-commands)11 -b Fs(;)44 b(then)965 4438 y Fj(consequent-commands)11 -b Fs(;)870 4547 y([elif)46 b Fj(more-test-commands)11 -b Fs(;)42 b(then)965 4657 y Fj(more-consequents)11 b -Fs(;])870 4767 y([else)46 b Fj(alternate-consequents)11 -b Fs(;])870 4876 y(fi)630 5011 y Ft(The)53 b Fq(test-commands)58 -b Ft(list)c(is)g(executed,)60 b(and)53 b(if)g(its)h(return)e(status)i -(is)f(zero,)61 b(the)630 5121 y Fq(consequen)m(t-commands)44 -b Ft(list)d(is)f(executed.)70 b(If)40 b Fq(test-commands)k -Ft(returns)39 b(a)h(non-zero)630 5230 y(status,)45 b(eac)m(h)e -Fs(elif)d Ft(list)i(is)g(executed)h(in)e(turn,)j(and)d(if)g(its)h(exit) -h(status)f(is)f(zero,)46 b(the)630 5340 y(corresp)s(onding)37 -b Fq(more-consequen)m(ts)42 b Ft(is)c(executed)g(and)f(the)h(command)g -(completes.)63 b(If)p eop end +150 4514 y(b)s(e)i(used)f(to)i(con)m(trol)h(lo)s(op)f(execution.)150 +4741 y Fk(3.2.4.2)63 b(Conditional)42 b(Constructs)150 +4986 y Fs(if)384 b Ft(The)30 b(syn)m(tax)h(of)f(the)h +Fs(if)f Ft(command)g(is:)870 5121 y Fs(if)47 b Fj(test-commands)11 +b Fs(;)44 b(then)965 5230 y Fj(consequent-commands)11 +b Fs(;)870 5340 y([elif)46 b Fj(more-test-commands)11 +b Fs(;)42 b(then)p eop end %%Page: 11 17 TeXDict begin 11 16 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(11)630 299 -y(`)p Fs(else)29 b Fj(alternate-consequents)11 b Ft(')23 -b(is)30 b(presen)m(t,)f(and)g(the)g(\014nal)g(command)f(in)h(the)g -(\014nal)630 408 y Fs(if)44 b Ft(or)g Fs(elif)f Ft(clause)i(has)f(a)h -(non-zero)g(exit)g(status,)j(then)c Fq(alternate-consequen)m(ts)51 -b Ft(is)630 518 y(executed.)k(The)34 b(return)g(status)h(is)f(the)h -(exit)h(status)f(of)g(the)g(last)g(command)g(executed,)630 -628 y(or)30 b(zero)i(if)e(no)g(condition)h(tested)g(true.)150 -788 y Fs(case)288 b Ft(The)30 b(syn)m(tax)h(of)f(the)h -Fs(case)e Ft(command)h(is:)870 923 y Fs(case)47 b Fj(word)57 -b Fs(in)47 b([)g([\(])g Fj(pattern)57 b Fs([|)47 b Fj(pattern)11 -b Fs(]...)l(\))48 b Fj(command-list)55 b Fs(;;]...)46 -b(esac)630 1058 y(case)20 b Ft(will)i(selectiv)m(ely)j(execute)e(the)e -Fq(command-list)k Ft(corresp)s(onding)20 b(to)i(the)g(\014rst)f -Fq(pattern)630 1167 y Ft(that)42 b(matc)m(hes)g Fq(w)m(ord)p -Ft(.)73 b(If)41 b(the)g(shell)g(option)h Fs(nocasematch)c -Ft(\(see)k(the)g(description)f(of)630 1277 y Fs(shopt)34 -b Ft(in)h(Section)h(4.3.2)h([The)e(Shopt)f(Builtin],)k(page)e(53\))g -(is)g(enabled,)g(the)g(matc)m(h)g(is)630 1386 y(p)s(erformed)29 -b(without)i(regard)g(to)g(the)g(case)h(of)f(alphab)s(etic)g(c)m -(haracters.)44 b(The)30 b(`)p Fs(|)p Ft(')h(is)g(used)630 -1496 y(to)39 b(separate)f(m)m(ultiple)h(patterns,)h(and)d(the)h(`)p -Fs(\))p Ft(')g(op)s(erator)g(terminates)h(a)f(pattern)g(list.)630 -1606 y(A)33 b(list)h(of)f(patterns)g(and)f(an)h(asso)s(ciated)h -(command-list)g(is)f(kno)m(wn)f(as)i(a)f Fq(clause)p -Ft(.)49 b(Eac)m(h)630 1715 y(clause)44 b(m)m(ust)f(b)s(e)f(terminated)i -(with)e(`)p Fs(;;)p Ft('.)79 b(The)43 b Fq(w)m(ord)j -Ft(undergo)s(es)c(tilde)i(expansion,)630 1825 y(parameter)32 -b(expansion,)g(command)f(substitution,)h(arithmetic)h(expansion,)e(and) -g(quote)630 1934 y(remo)m(v)-5 b(al)25 b(b)s(efore)e(matc)m(hing)i(is)f -(attempted.)39 b(Eac)m(h)25 b Fq(pattern)f Ft(undergo)s(es)e(tilde)j -(expansion,)630 2044 y(parameter)31 b(expansion,)f(command)g -(substitution,)h(and)f(arithmetic)h(expansion.)630 2179 -y(There)f(ma)m(y)g(b)s(e)f(an)h(arbitrary)g(n)m(um)m(b)s(er)f(of)h -Fs(case)f Ft(clauses,)i(eac)m(h)g(terminated)g(b)m(y)e(a)i(`)p -Fs(;;)p Ft('.)630 2288 y(The)f(\014rst)f(pattern)i(that)g(matc)m(hes)g -(determines)g(the)f(command-list)i(that)f(is)f(executed.)630 -2423 y(Here)35 b(is)g(an)g(example)h(using)e Fs(case)g -Ft(in)g(a)h(script)g(that)h(could)f(b)s(e)f(used)g(to)h(describ)s(e)g -(one)630 2533 y(in)m(teresting)d(feature)f(of)f(an)g(animal:)870 -2668 y Fs(echo)47 b(-n)g("Enter)f(the)h(name)f(of)i(an)f(animal:)f(") -870 2777 y(read)h(ANIMAL)870 2887 y(echo)g(-n)g("The)f($ANIMAL)g(has)h -(")870 2996 y(case)g($ANIMAL)e(in)965 3106 y(horse)i(|)g(dog)g(|)h -(cat\))e(echo)h(-n)g("four";;)965 3216 y(man)g(|)h(kangaroo)d(\))j -(echo)e(-n)i("two";;)965 3325 y(*\))g(echo)e(-n)h("an)g(unknown)f -(number)g(of";;)870 3435 y(esac)870 3544 y(echo)h(")g(legs.")630 -3679 y Ft(The)26 b(return)f(status)h(is)g(zero)h(if)f(no)g +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(11)965 299 +y Fj(more-consequents)11 b Fs(;])870 408 y([else)46 b +Fj(alternate-consequents)11 b Fs(;])870 518 y(fi)630 +646 y Ft(The)53 b Fq(test-commands)58 b Ft(list)c(is)g(executed,)60 +b(and)53 b(if)g(its)h(return)e(status)i(is)f(zero,)61 +b(the)630 756 y Fq(consequen)m(t-commands)44 b Ft(list)d(is)f +(executed.)70 b(If)40 b Fq(test-commands)k Ft(returns)39 +b(a)h(non-zero)630 865 y(status,)45 b(eac)m(h)e Fs(elif)d +Ft(list)i(is)g(executed)h(in)e(turn,)j(and)d(if)g(its)h(exit)h(status)f +(is)f(zero,)46 b(the)630 975 y(corresp)s(onding)37 b +Fq(more-consequen)m(ts)42 b Ft(is)c(executed)g(and)f(the)h(command)g +(completes.)63 b(If)630 1084 y(`)p Fs(else)29 b Fj +(alternate-consequents)11 b Ft(')23 b(is)30 b(presen)m(t,)f(and)g(the)g +(\014nal)g(command)f(in)h(the)g(\014nal)630 1194 y Fs(if)44 +b Ft(or)g Fs(elif)f Ft(clause)i(has)f(a)h(non-zero)g(exit)g(status,)j +(then)c Fq(alternate-consequen)m(ts)51 b Ft(is)630 1303 +y(executed.)k(The)34 b(return)g(status)h(is)f(the)h(exit)h(status)f(of) +g(the)g(last)g(command)g(executed,)630 1413 y(or)30 b(zero)i(if)e(no)g +(condition)h(tested)g(true.)150 1559 y Fs(case)288 b +Ft(The)30 b(syn)m(tax)h(of)f(the)h Fs(case)e Ft(command)h(is:)870 +1687 y Fs(case)47 b Fj(word)57 b Fs(in)47 b([)g([\(])g +Fj(pattern)57 b Fs([|)47 b Fj(pattern)11 b Fs(]...)l(\))48 +b Fj(command-list)55 b Fs(;;]...)46 b(esac)630 1815 y(case)20 +b Ft(will)i(selectiv)m(ely)j(execute)e(the)e Fq(command-list)k +Ft(corresp)s(onding)20 b(to)i(the)g(\014rst)f Fq(pattern)630 +1924 y Ft(that)42 b(matc)m(hes)g Fq(w)m(ord)p Ft(.)73 +b(If)41 b(the)g(shell)g(option)h Fs(nocasematch)c Ft(\(see)k(the)g +(description)f(of)630 2034 y Fs(shopt)34 b Ft(in)h(Section)h(4.3.2)h +([The)e(Shopt)f(Builtin],)k(page)e(54\))g(is)g(enabled,)g(the)g(matc)m +(h)g(is)630 2144 y(p)s(erformed)29 b(without)i(regard)g(to)g(the)g +(case)h(of)f(alphab)s(etic)g(c)m(haracters.)44 b(The)30 +b(`)p Fs(|)p Ft(')h(is)g(used)630 2253 y(to)e(separate)g(m)m(ultiple)g +(patterns,)g(and)e(the)i(`)p Fs(\))p Ft(')f(op)s(erator)g(terminates)h +(a)g(pattern)f(list.)41 b(A)630 2363 y(list)31 b(of)g(patterns)f(and)g +(an)g(asso)s(ciated)i(command-list)f(is)f(kno)m(wn)g(as)h(a)g +Fq(clause)p Ft(.)630 2491 y(Eac)m(h)42 b(clause)g(m)m(ust)f(b)s(e)g +(terminated)h(with)e(`)p Fs(;;)p Ft(',)45 b(`)p Fs(,&)p +Ft(',)f(or)d(`)p Fs(;;&)p Ft('.)73 b(The)41 b Fq(w)m(ord)j +Ft(under-)630 2600 y(go)s(es)35 b(tilde)f(expansion,)h(parameter)g +(expansion,)g(command)f(substitution,)h(arithmetic)630 +2710 y(expansion,)47 b(and)d(quote)g(remo)m(v)-5 b(al)45 +b(b)s(efore)f(matc)m(hing)h(is)f(attempted.)82 b(Eac)m(h)45 +b Fq(pattern)630 2819 y Ft(undergo)s(es)38 b(tilde)h(expansion,)i +(parameter)e(expansion,)i(command)d(substitution,)j(and)630 +2929 y(arithmetic)32 b(expansion.)630 3057 y(There)e(ma)m(y)g(b)s(e)f +(an)h(arbitrary)g(n)m(um)m(b)s(er)f(of)h Fs(case)f Ft(clauses,)i(eac)m +(h)g(terminated)g(b)m(y)e(a)i(`)p Fs(;;)p Ft(',)630 3166 +y(`)p Fs(;&)p Ft(',)c(or)e(`)p Fs(;;&)p Ft('.)39 b(The)25 +b(\014rst)g(pattern)h(that)g(matc)m(hes)h(determines)e(the)h +(command-list)g(that)630 3276 y(is)k(executed.)630 3404 +y(Here)35 b(is)g(an)g(example)h(using)e Fs(case)g Ft(in)g(a)h(script)g +(that)h(could)f(b)s(e)f(used)g(to)h(describ)s(e)g(one)630 +3513 y(in)m(teresting)d(feature)f(of)f(an)g(animal:)870 +3641 y Fs(echo)47 b(-n)g("Enter)f(the)h(name)f(of)i(an)f(animal:)f(") +870 3751 y(read)h(ANIMAL)870 3861 y(echo)g(-n)g("The)f($ANIMAL)g(has)h +(")870 3970 y(case)g($ANIMAL)e(in)965 4080 y(horse)i(|)g(dog)g(|)h +(cat\))e(echo)h(-n)g("four";;)965 4189 y(man)g(|)h(kangaroo)d(\))j +(echo)e(-n)i("two";;)965 4299 y(*\))g(echo)e(-n)h("an)g(unknown)f +(number)g(of";;)870 4408 y(esac)870 4518 y(echo)h(")g(legs.")630 +4664 y Ft(If)25 b(the)h(`)p Fs(;;)p Ft(')g(op)s(erator)g(is)g(used,)g +(no)g(subsequen)m(t)f(matc)m(hes)i(are)f(attempted)h(after)g(the)f +(\014rst)630 4774 y(pattern)g(matc)m(h.)40 b(Using)26 +b(`)p Fs(;&)p Ft(')f(in)h(place)g(of)g(`)p Fs(;;)p Ft(')g(causes)g +(execution)h(to)f(con)m(tin)m(ue)h(with)f(the)630 4883 +y Fq(command-list)39 b Ft(asso)s(ciated)f(with)e(the)g(next)g(clause,)j +(if)d(an)m(y)-8 b(.)59 b(Using)37 b(`)p Fs(;;&)p Ft(')f(in)g(place)h +(of)630 4993 y(`)p Fs(;;)p Ft(')30 b(causes)g(the)g(shell)g(to)g(test)h +(the)f(patterns)g(in)f(the)h(next)g(clause,)h(if)e(an)m(y)-8 +b(,)31 b(and)f(execute)630 5103 y(an)m(y)h(asso)s(ciated)h +Fq(command-list)h Ft(on)d(a)h(successful)f(matc)m(h.)630 +5230 y(The)c(return)f(status)h(is)g(zero)h(if)f(no)g Fq(pattern)g Ft(is)g(matc)m(hed.)40 b(Otherwise,)27 b(the)g(return)e -(status)630 3789 y(is)30 b(the)h(exit)g(status)g(of)f(the)h -Fq(command-list)i Ft(executed.)150 3949 y Fs(select)630 -4084 y Ft(The)g Fs(select)f Ft(construct)i(allo)m(ws)h(the)f(easy)g +(status)630 5340 y(is)30 b(the)h(exit)g(status)g(of)f(the)h +Fq(command-list)i Ft(executed.)p eop end +%%Page: 12 18 +TeXDict begin 12 17 bop 150 -116 a Ft(12)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fs(select)630 434 y +Ft(The)i Fs(select)f Ft(construct)i(allo)m(ws)h(the)f(easy)g (generation)h(of)e(men)m(us.)50 b(It)34 b(has)f(almost)i(the)630 -4194 y(same)c(syn)m(tax)g(as)f(the)h Fs(for)e Ft(command:)870 -4328 y Fs(select)46 b Fj(name)57 b Fs([in)47 b Fj(words)57 +544 y(same)c(syn)m(tax)g(as)f(the)h Fs(for)e Ft(command:)870 +679 y Fs(select)46 b Fj(name)57 b Fs([in)47 b Fj(words)57 b Fs(...)o(];)47 b(do)h Fj(commands)11 b Fs(;)44 b(done)630 -4463 y Ft(The)d(list)i(of)e(w)m(ords)h(follo)m(wing)h +815 y Ft(The)d(list)i(of)e(w)m(ords)h(follo)m(wing)h Fs(in)e Ft(is)h(expanded,)i(generating)f(a)f(list)g(of)g(items.)75 -b(The)630 4573 y(set)41 b(of)f(expanded)f(w)m(ords)g(is)i(prin)m(ted)e +b(The)630 924 y(set)41 b(of)f(expanded)f(w)m(ords)g(is)i(prin)m(ted)e (on)h(the)g(standard)f(error)h(output)g(stream,)j(eac)m(h)630 -4682 y(preceded)30 b(b)m(y)g(a)h(n)m(um)m(b)s(er.)40 +1034 y(preceded)30 b(b)m(y)g(a)h(n)m(um)m(b)s(er.)40 b(If)29 b(the)i(`)p Fs(in)f Fj(words)11 b Ft(')29 b(is)h(omitted,)i -(the)e(p)s(ositional)i(parameters)630 4792 y(are)22 b(prin)m(ted,)h(as) +(the)e(p)s(ositional)i(parameters)630 1143 y(are)22 b(prin)m(ted,)h(as) f(if)f(`)p Fs(in)30 b("$@")p Ft(')21 b(had)g(b)s(een)f(sp)s(eci\014ed.) 37 b(The)21 b Fs(PS3)g Ft(prompt)g(is)g(then)g(displa)m(y)m(ed)630 -4902 y(and)38 b(a)h(line)g(is)f(read)h(from)f(the)h(standard)e(input.) +1253 y(and)38 b(a)h(line)g(is)f(read)h(from)f(the)h(standard)e(input.) 65 b(If)38 b(the)h(line)g(consists)g(of)f(a)h(n)m(um)m(b)s(er)630 -5011 y(corresp)s(onding)33 b(to)i(one)f(of)g(the)g(displa)m(y)m(ed)h(w) +1363 y(corresp)s(onding)33 b(to)i(one)f(of)g(the)g(displa)m(y)m(ed)h(w) m(ords,)f(then)g(the)g(v)-5 b(alue)34 b(of)h Fq(name)k -Ft(is)34 b(set)g(to)630 5121 y(that)g(w)m(ord.)49 b(If)32 +Ft(is)34 b(set)g(to)630 1472 y(that)g(w)m(ord.)49 b(If)32 b(the)i(line)f(is)h(empt)m(y)-8 b(,)35 b(the)e(w)m(ords)g(and)f(prompt) -h(are)g(displa)m(y)m(ed)h(again.)50 b(If)630 5230 y Fs(EOF)23 +h(are)g(displa)m(y)m(ed)h(again.)50 b(If)630 1582 y Fs(EOF)23 b Ft(is)g(read,)j(the)d Fs(select)f Ft(command)i(completes.)40 b(An)m(y)23 b(other)h(v)-5 b(alue)24 b(read)g(causes)g -Fq(name)630 5340 y Ft(to)31 b(b)s(e)f(set)h(to)g(n)m(ull.)41 +Fq(name)630 1691 y Ft(to)31 b(b)s(e)f(set)h(to)g(n)m(ull.)41 b(The)29 b(line)i(read)f(is)h(sa)m(v)m(ed)g(in)f(the)h(v)-5 -b(ariable)31 b Fs(REPLY)p Ft(.)p eop end -%%Page: 12 18 -TeXDict begin 12 17 bop 150 -116 a Ft(12)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(The)42 b Fq(commands)j +b(ariable)31 b Fs(REPLY)p Ft(.)630 1827 y(The)42 b Fq(commands)j Ft(are)d(executed)h(after)g(eac)m(h)g(selection)h(un)m(til)e(a)h -Fs(break)d Ft(command)i(is)630 408 y(executed,)32 b(at)f(whic)m(h)f(p)s -(oin)m(t)g(the)h Fs(select)d Ft(command)i(completes.)630 -542 y(Here)39 b(is)g(an)g(example)h(that)f(allo)m(ws)i(the)e(user)f(to) -i(pic)m(k)f(a)g(\014lename)h(from)e(the)h(curren)m(t)630 -651 y(directory)-8 b(,)32 b(and)d(displa)m(ys)i(the)f(name)h(and)f -(index)f(of)i(the)g(\014le)f(selected.)870 784 y Fs(select)46 -b(fname)g(in)i(*;)870 894 y(do)870 1003 y(echo)f(you)g(picked)f($fname) -g(\\\($REPLY\\\))870 1113 y(break;)870 1223 y(done)150 -1379 y(\(\(...)o(\)\))870 1512 y(\(\()h Fj(expression)56 -b Fs(\)\))630 1645 y Ft(The)33 b(arithmetic)i Fq(expression)f +Fs(break)d Ft(command)i(is)630 1936 y(executed,)32 b(at)f(whic)m(h)f(p) +s(oin)m(t)g(the)h Fs(select)d Ft(command)i(completes.)630 +2072 y(Here)39 b(is)g(an)g(example)h(that)f(allo)m(ws)i(the)e(user)f +(to)i(pic)m(k)f(a)g(\014lename)h(from)e(the)h(curren)m(t)630 +2181 y(directory)-8 b(,)32 b(and)d(displa)m(ys)i(the)f(name)h(and)f +(index)f(of)i(the)g(\014le)f(selected.)870 2317 y Fs(select)46 +b(fname)g(in)i(*;)870 2426 y(do)870 2536 y(echo)f(you)g(picked)f +($fname)g(\\\($REPLY\\\))870 2645 y(break;)870 2755 y(done)150 +2916 y(\(\(...)o(\)\))870 3051 y(\(\()h Fj(expression)56 +b Fs(\)\))630 3187 y Ft(The)33 b(arithmetic)i Fq(expression)f Ft(is)f(ev)-5 b(aluated)35 b(according)g(to)f(the)g(rules)f(describ)s -(ed)g(b)s(elo)m(w)630 1755 y(\(see)j(Section)f(6.5)h([Shell)f +(ed)g(b)s(elo)m(w)630 3296 y(\(see)j(Section)f(6.5)h([Shell)f (Arithmetic],)i(page)f(76\).)55 b(If)34 b(the)h(v)-5 -b(alue)35 b(of)g(the)g(expression)g(is)630 1864 y(non-zero,)27 +b(alue)35 b(of)g(the)g(expression)g(is)630 3406 y(non-zero,)27 b(the)f(return)e(status)i(is)g(0;)h(otherwise)f(the)g(return)e(status)i -(is)g(1.)39 b(This)25 b(is)g(exactly)630 1974 y(equiv)-5 -b(alen)m(t)32 b(to)870 2107 y Fs(let)47 b(")p Fj(expression)11 -b Fs(")630 2240 y Ft(See)25 b(Section)h(4.2)h([Bash)e(Builtins],)i +(is)g(1.)39 b(This)25 b(is)g(exactly)630 3516 y(equiv)-5 +b(alen)m(t)32 b(to)870 3651 y Fs(let)47 b(")p Fj(expression)11 +b Fs(")630 3786 y Ft(See)25 b(Section)h(4.2)h([Bash)e(Builtins],)i (page)f(41,)i(for)c(a)i(full)f(description)g(of)g(the)h -Fs(let)e Ft(builtin.)150 2397 y Fs([[...)o(]])870 2530 -y([[)47 b Fj(expression)56 b Fs(]])630 2663 y Ft(Return)25 +Fs(let)e Ft(builtin.)150 3948 y Fs([[...)o(]])870 4083 +y([[)47 b Fj(expression)56 b Fs(]])630 4218 y Ft(Return)25 b(a)h(status)f(of)h(0)g(or)g(1)g(dep)s(ending)e(on)h(the)h(ev)-5 b(aluation)27 b(of)e(the)h(conditional)h(expres-)630 -2772 y(sion)j Fq(expression)p Ft(.)41 b(Expressions)29 +4328 y(sion)j Fq(expression)p Ft(.)41 b(Expressions)29 b(are)i(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s(elo)m -(w)h(in)630 2882 y(Section)36 b(6.4)h([Bash)f(Conditional)g +(w)h(in)630 4437 y(Section)36 b(6.4)h([Bash)f(Conditional)g (Expressions],)h(page)f(75.)57 b(W)-8 b(ord)36 b(splitting)h(and)e -(\014le-)630 2992 y(name)24 b(expansion)h(are)g(not)f(p)s(erformed)f +(\014le-)630 4547 y(name)24 b(expansion)h(are)g(not)f(p)s(erformed)f (on)h(the)h(w)m(ords)f(b)s(et)m(w)m(een)h(the)g(`)p Fs([[)p -Ft(')f(and)g(`)p Fs(]])p Ft(';)i(tilde)630 3101 y(expansion,)31 +Ft(')f(and)g(`)p Fs(]])p Ft(';)i(tilde)630 4657 y(expansion,)31 b(parameter)g(and)f(v)-5 b(ariable)31 b(expansion,)g(arithmetic)g -(expansion,)g(command)630 3211 y(substitution,)40 b(pro)s(cess)f +(expansion,)g(command)630 4766 y(substitution,)40 b(pro)s(cess)f (substitution,)h(and)e(quote)h(remo)m(v)-5 b(al)40 b(are)f(p)s -(erformed.)63 b(Condi-)630 3320 y(tional)32 b(op)s(erators)e(suc)m(h)g +(erformed.)63 b(Condi-)630 4876 y(tional)32 b(op)s(erators)e(suc)m(h)g (as)h(`)p Fs(-f)p Ft(')f(m)m(ust)g(b)s(e)g(unquoted)g(to)h(b)s(e)e -(recognized)j(as)f(primaries.)630 3453 y(When)22 b(the)h(`)p +(recognized)j(as)f(primaries.)630 5011 y(When)22 b(the)h(`)p Fs(==)p Ft(')f(and)g(`)p Fs(!=)p Ft(')g(op)s(erators)h(are)g(used,)g (the)g(string)f(to)i(the)e(righ)m(t)h(of)g(the)g(op)s(erator)630 -3563 y(is)31 b(considered)g(a)h(pattern)f(and)g(matc)m(hed)h(according) +5121 y(is)31 b(considered)g(a)h(pattern)f(and)g(matc)m(hed)h(according) g(to)g(the)g(rules)f(describ)s(ed)f(b)s(elo)m(w)h(in)630 -3673 y(Section)37 b(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)j(page)c(24.) +5230 y(Section)37 b(3.5.8.1)i([P)m(attern)e(Matc)m(hing],)j(page)c(24.) 59 b(If)36 b(the)g(shell)g(option)h Fs(nocasematch)630 -3782 y Ft(\(see)42 b(the)f(description)g(of)h Fs(shopt)d +5340 y Ft(\(see)42 b(the)f(description)g(of)h Fs(shopt)d Ft(in)i(Section)h(4.3.2)h([The)e(Shopt)f(Builtin],)45 -b(page)d(53\))630 3892 y(is)e(enabled,)i(the)e(matc)m(h)h(is)e(p)s -(erformed)g(without)g(regard)h(to)h(the)f(case)g(of)g(alphab)s(etic)630 -4001 y(c)m(haracters.)h(The)28 b(return)e(v)-5 b(alue)28 -b(is)g(0)g(if)g(the)g(string)g(matc)m(hes)h(\(`)p Fs(==)p -Ft('\))f(or)g(do)s(es)f(not)h(matc)m(h)630 4111 y(\(`)p -Fs(!=)p Ft('\)the)33 b(pattern,)g(and)f(1)g(otherwise.)47 -b(An)m(y)32 b(part)g(of)h(the)f(pattern)g(ma)m(y)h(b)s(e)f(quoted)g(to) -630 4221 y(force)f(it)g(to)g(b)s(e)f(matc)m(hed)h(as)f(a)h(string.)630 -4354 y(An)i(additional)i(binary)e(op)s(erator,)i(`)p +b(page)d(54\))p eop end +%%Page: 13 19 +TeXDict begin 13 18 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(13)630 299 +y(is)40 b(enabled,)i(the)e(matc)m(h)h(is)e(p)s(erformed)g(without)g +(regard)h(to)h(the)f(case)g(of)g(alphab)s(etic)630 408 +y(c)m(haracters.)h(The)28 b(return)e(v)-5 b(alue)28 b(is)g(0)g(if)g +(the)g(string)g(matc)m(hes)h(\(`)p Fs(==)p Ft('\))f(or)g(do)s(es)f(not) +h(matc)m(h)630 518 y(\(`)p Fs(!=)p Ft('\)the)33 b(pattern,)g(and)f(1)g +(otherwise.)47 b(An)m(y)32 b(part)g(of)h(the)f(pattern)g(ma)m(y)h(b)s +(e)f(quoted)g(to)630 628 y(force)f(it)g(to)g(b)s(e)f(matc)m(hed)h(as)f +(a)h(string.)630 757 y(An)i(additional)i(binary)e(op)s(erator,)i(`)p Fs(=~)p Ft(',)g(is)f(a)m(v)-5 b(ailable,)37 b(with)c(the)h(same)g -(precedence)h(as)630 4463 y(`)p Fs(==)p Ft(')29 b(and)f(`)p +(precedence)h(as)630 867 y(`)p Fs(==)p Ft(')29 b(and)f(`)p Fs(!=)p Ft('.)40 b(When)29 b(it)g(is)g(used,)f(the)h(string)g(to)h(the) e(righ)m(t)i(of)f(the)g(op)s(erator)g(is)g(consid-)630 -4573 y(ered)34 b(an)g(extended)g(regular)g(expression)g(and)f(matc)m +976 y(ered)34 b(an)g(extended)g(regular)g(expression)g(and)f(matc)m (hed)i(accordingly)g(\(as)f(in)g Fm(r)-5 b(e)g(gex)11 -b Ft(3\)\).)630 4682 y(The)29 b(return)f(v)-5 b(alue)30 +b Ft(3\)\).)630 1086 y(The)29 b(return)f(v)-5 b(alue)30 b(is)g(0)g(if)f(the)h(string)g(matc)m(hes)g(the)g(pattern,)g(and)f(1)h -(otherwise.)41 b(If)29 b(the)630 4792 y(regular)e(expression)g(is)h +(otherwise.)41 b(If)29 b(the)630 1196 y(regular)e(expression)g(is)h (syn)m(tactically)i(incorrect,)f(the)e(conditional)i(expression's)e -(return)630 4902 y(v)-5 b(alue)40 b(is)g(2.)68 b(If)39 +(return)630 1305 y(v)-5 b(alue)40 b(is)g(2.)68 b(If)39 b(the)h(shell)f(option)h Fs(nocasematch)d Ft(\(see)j(the)g(description) -g(of)f Fs(shopt)f Ft(in)630 5011 y(Section)32 b(4.3.2)g([The)f(Shopt)f -(Builtin],)i(page)g(53\))g(is)f(enabled,)g(the)g(matc)m(h)h(is)e(p)s -(erformed)630 5121 y(without)36 b(regard)g(to)h(the)f(case)h(of)f +g(of)f Fs(shopt)f Ft(in)630 1415 y(Section)32 b(4.3.2)g([The)f(Shopt)f +(Builtin],)i(page)g(54\))g(is)f(enabled,)g(the)g(matc)m(h)h(is)e(p)s +(erformed)630 1524 y(without)36 b(regard)g(to)h(the)f(case)h(of)f (alphab)s(etic)h(c)m(haracters.)59 b(An)m(y)36 b(part)g(of)h(the)f -(pattern)630 5230 y(ma)m(y)g(b)s(e)g(quoted)g(to)g(force)g(it)h(to)f(b) +(pattern)630 1634 y(ma)m(y)g(b)s(e)g(quoted)g(to)g(force)g(it)h(to)f(b) s(e)f(matc)m(hed)i(as)f(a)g(string.)57 b(Substrings)34 -b(matc)m(hed)j(b)m(y)630 5340 y(paren)m(thesized)44 b(sub)s +b(matc)m(hed)j(b)m(y)630 1743 y(paren)m(thesized)44 b(sub)s (expressions)e(within)i(the)g(regular)g(expression)g(are)g(sa)m(v)m(ed) -h(in)f(the)p eop end -%%Page: 13 19 -TeXDict begin 13 18 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(13)630 299 -y(arra)m(y)38 b(v)-5 b(ariable)38 b Fs(BASH_REMATCH)p -Ft(.)59 b(The)36 b(elemen)m(t)j(of)f Fs(BASH_REMATCH)c -Ft(with)j(index)g(0)h(is)630 408 y(the)c(p)s(ortion)f(of)h(the)f -(string)h(matc)m(hing)g(the)g(en)m(tire)h(regular)e(expression.)50 -b(The)33 b(elemen)m(t)630 518 y(of)39 b Fs(BASH_REMATCH)c -Ft(with)j(index)g Fq(n)f Ft(is)i(the)f(p)s(ortion)g(of)h(the)f(string)h -(matc)m(hing)g(the)g Fq(n)p Ft(th)630 628 y(paren)m(thesized)31 -b(sub)s(expression.)630 765 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m -(bined)i(using)f(the)h(follo)m(wing)h(op)s(erators,)g(listed)f(in)f -(decreasing)630 874 y(order)30 b(of)g(precedence:)630 -1039 y Fs(\()g Fj(expression)38 b Fs(\))1110 1148 y Ft(Returns)30 -b(the)h(v)-5 b(alue)31 b(of)g Fq(expression)p Ft(.)42 -b(This)30 b(ma)m(y)i(b)s(e)e(used)g(to)i(o)m(v)m(erride)g(the)1110 -1258 y(normal)e(precedence)h(of)g(op)s(erators.)630 1423 -y Fs(!)f Fj(expression)1110 1532 y Ft(T)-8 b(rue)30 b(if)g -Fq(expression)g Ft(is)h(false.)630 1697 y Fj(expression1)38 -b Fs(&&)30 b Fj(expression2)1110 1806 y Ft(T)-8 b(rue)30 -b(if)g(b)s(oth)g Fq(expression1)38 b Ft(and)29 b Fq(expression2)38 -b Ft(are)31 b(true.)630 1971 y Fj(expression1)38 b Fs(||)30 -b Fj(expression2)1110 2080 y Ft(T)-8 b(rue)30 b(if)g(either)h -Fq(expression1)38 b Ft(or)30 b Fq(expression2)38 b Ft(is)30 -b(true.)630 2245 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f -Ft(op)s(erators)i(do)f(not)h(ev)-5 b(aluate)27 b Fq(expression2)33 -b Ft(if)26 b(the)f(v)-5 b(alue)26 b(of)g Fq(expression1)630 -2355 y Ft(is)k(su\016cien)m(t)h(to)g(determine)g(the)f(return)g(v)-5 -b(alue)31 b(of)f(the)h(en)m(tire)g(conditional)h(expression.)150 -2589 y Fk(3.2.4.3)63 b(Grouping)43 b(Commands)275 2838 -y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m(ys)g(to)g(group)f(a)g -(list)h(of)f(commands)g(to)g(b)s(e)g(executed)h(as)f(a)h(unit.)37 -b(When)22 b(com-)150 2948 y(mands)30 b(are)i(group)s(ed,)f -(redirections)h(ma)m(y)g(b)s(e)e(applied)i(to)g(the)f(en)m(tire)h -(command)g(list.)44 b(F)-8 b(or)32 b(example,)150 3057 -y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g(the)h(list)g(ma)m(y)g -(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.)150 3225 -y Fs(\(\))870 3362 y(\()47 b Fj(list)58 b Fs(\))630 3499 -y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i(paren)m -(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630 -3608 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d -(Execution)i(En)m(vironmen)m(t],)g(page)f(30\),)630 3718 +h(in)f(the)630 1853 y(arra)m(y)38 b(v)-5 b(ariable)38 +b Fs(BASH_REMATCH)p Ft(.)59 b(The)36 b(elemen)m(t)j(of)f +Fs(BASH_REMATCH)c Ft(with)j(index)g(0)h(is)630 1963 y(the)c(p)s(ortion) +f(of)h(the)f(string)h(matc)m(hing)g(the)g(en)m(tire)h(regular)e +(expression.)50 b(The)33 b(elemen)m(t)630 2072 y(of)39 +b Fs(BASH_REMATCH)c Ft(with)j(index)g Fq(n)f Ft(is)i(the)f(p)s(ortion)g +(of)h(the)f(string)h(matc)m(hing)g(the)g Fq(n)p Ft(th)630 +2182 y(paren)m(thesized)31 b(sub)s(expression.)630 2311 +y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h(follo)m +(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630 +2421 y(order)30 b(of)g(precedence:)630 2570 y Fs(\()g +Fj(expression)38 b Fs(\))1110 2680 y Ft(Returns)30 b(the)h(v)-5 +b(alue)31 b(of)g Fq(expression)p Ft(.)42 b(This)30 b(ma)m(y)i(b)s(e)e +(used)g(to)i(o)m(v)m(erride)g(the)1110 2790 y(normal)e(precedence)h(of) +g(op)s(erators.)630 2939 y Fs(!)f Fj(expression)1110 +3049 y Ft(T)-8 b(rue)30 b(if)g Fq(expression)g Ft(is)h(false.)630 +3198 y Fj(expression1)38 b Fs(&&)30 b Fj(expression2)1110 +3308 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g Fq(expression1)38 +b Ft(and)29 b Fq(expression2)38 b Ft(are)31 b(true.)630 +3457 y Fj(expression1)38 b Fs(||)30 b Fj(expression2)1110 +3567 y Ft(T)-8 b(rue)30 b(if)g(either)h Fq(expression1)38 +b Ft(or)30 b Fq(expression2)38 b Ft(is)30 b(true.)630 +3716 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f Ft(op)s(erators)i(do)f(not)h +(ev)-5 b(aluate)27 b Fq(expression2)33 b Ft(if)26 b(the)f(v)-5 +b(alue)26 b(of)g Fq(expression1)630 3826 y Ft(is)k(su\016cien)m(t)h(to) +g(determine)g(the)f(return)g(v)-5 b(alue)31 b(of)f(the)h(en)m(tire)g +(conditional)h(expression.)150 4035 y Fk(3.2.4.3)63 b(Grouping)43 +b(Commands)275 4274 y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m +(ys)g(to)g(group)f(a)g(list)h(of)f(commands)g(to)g(b)s(e)g(executed)h +(as)f(a)h(unit.)37 b(When)22 b(com-)150 4384 y(mands)30 +b(are)i(group)s(ed,)f(redirections)h(ma)m(y)g(b)s(e)e(applied)i(to)g +(the)f(en)m(tire)h(command)g(list.)44 b(F)-8 b(or)32 +b(example,)150 4493 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g +(the)h(list)g(ma)m(y)g(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.) +150 4643 y Fs(\(\))870 4772 y(\()47 b Fj(list)58 b Fs(\))630 +4902 y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i +(paren)m(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630 +5011 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d +(Execution)i(En)m(vironmen)m(t],)g(page)f(30\),)630 5121 y(and)d(eac)m(h)i(of)e(the)h(commands)f(in)g Fq(list)j Ft(to)f(b)s(e)e(executed)h(in)f(that)h(subshell.)39 b(Since)28 -b(the)f Fq(list)630 3827 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5 +b(the)f Fq(list)630 5230 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5 b(ariable)29 b(assignmen)m(ts)g(do)g(not)g(remain)f(in)g(e\013ect)j -(after)e(the)630 3937 y(subshell)g(completes.)150 4102 -y Fs({})870 4239 y({)47 b Fj(list)11 b Fs(;)46 b(})630 -4376 y Ft(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h -(curly)f(braces)g(causes)h(the)f(list)h(to)g(b)s(e)f(executed)630 -4485 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42 -b(No)27 b(subshell)f(is)g(created.)41 b(The)26 b(semicolon)i(\(or)f -(newline\))630 4595 y(follo)m(wing)32 b Fq(list)h Ft(is)d(required.)275 -4762 y(In)44 b(addition)h(to)h(the)f(creation)i(of)e(a)g(subshell,)j -(there)e(is)f(a)g(subtle)g(di\013erence)h(b)s(et)m(w)m(een)f(these)150 -4872 y(t)m(w)m(o)c(constructs)e(due)g(to)g(historical)i(reasons.)67 -b(The)39 b(braces)g(are)h Fs(reserved)28 b(words)p Ft(,)40 -b(so)g(they)f(m)m(ust)150 4981 y(b)s(e)d(separated)h(from)f(the)g -Fq(list)j Ft(b)m(y)e Fs(blank)p Ft(s)e(or)h(other)h(shell)f(metac)m -(haracters.)62 b(The)36 b(paren)m(theses)h(are)150 5091 -y Fs(operators)p Ft(,)23 b(and)h(are)g(recognized)i(as)e(separate)i -(tok)m(ens)f(b)m(y)f(the)g(shell)h(ev)m(en)g(if)f(they)g(are)h(not)f -(separated)150 5200 y(from)30 b(the)g Fq(list)j Ft(b)m(y)e(whitespace.) -275 5340 y(The)e(exit)j(status)e(of)h(b)s(oth)f(of)g(these)h -(constructs)g(is)f(the)h(exit)g(status)f(of)h Fq(list)p -Ft(.)p eop end +(after)e(the)630 5340 y(subshell)g(completes.)p eop end %%Page: 14 20 TeXDict begin 14 19 bop 150 -116 a Ft(14)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fr(3.3)68 b(Shell)45 -b(F)-11 b(unctions)275 555 y Ft(Shell)27 b(functions)g(are)g(a)h(w)m(a) -m(y)g(to)g(group)f(commands)g(for)g(later)i(execution)f(using)f(a)h -(single)g(name)f(for)150 664 y(the)35 b(group.)55 b(They)35 -b(are)g(executed)h(just)f(lik)m(e)h(a)g Fs(")p Ft(regular)p -Fs(")f Ft(command.)54 b(When)35 b(the)h(name)f(of)g(a)h(shell)150 -774 y(function)j(is)g(used)f(as)h(a)h(simple)f(command)g(name,)i(the)e -(list)h(of)f(commands)g(asso)s(ciated)i(with)d(that)150 -883 y(function)25 b(name)h(is)g(executed.)40 b(Shell)25 -b(functions)g(are)i(executed)f(in)f(the)h(curren)m(t)g(shell)g(con)m -(text;)j(no)c(new)150 993 y(pro)s(cess)30 b(is)g(created)i(to)f(in)m -(terpret)g(them.)275 1139 y(F)-8 b(unctions)30 b(are)h(declared)g -(using)f(this)g(syn)m(tax:)390 1285 y Fs([)47 b(function)f(])h -Fj(name)58 b Fs(\(\))47 b Fj(compound-command)54 b Fs([)47 -b Fj(redirections)55 b Fs(])275 1431 y Ft(This)31 b(de\014nes)h(a)h -(shell)g(function)g(named)f Fq(name)p Ft(.)48 b(The)32 -b(reserv)m(ed)h(w)m(ord)f Fs(function)f Ft(is)h(optional.)49 -b(If)150 1541 y(the)39 b Fs(function)f Ft(reserv)m(ed)h(w)m(ord)g(is)g -(supplied,)i(the)e(paren)m(theses)h(are)f(optional.)69 -b(The)39 b Fq(b)s(o)s(dy)45 b Ft(of)40 b(the)150 1650 -y(function)h(is)h(the)g(comp)s(ound)e(command)h Fq(comp)s(ound-command) -j Ft(\(see)e(Section)h(3.2.4)g([Comp)s(ound)150 1760 -y(Commands],)33 b(page)g(9\).)48 b(That)33 b(command)g(is)f(usually)h -(a)g Fq(list)i Ft(enclosed)e(b)s(et)m(w)m(een)h Fs({)e -Ft(and)g Fs(})p Ft(,)h(but)f(ma)m(y)150 1870 y(b)s(e)27 -b(an)m(y)h(comp)s(ound)e(command)h(listed)h(ab)s(o)m(v)m(e.)41 -b Fq(comp)s(ound-command)30 b Ft(is)e(executed)g(whenev)m(er)g -Fq(name)150 1979 y Ft(is)37 b(sp)s(eci\014ed)g(as)g(the)h(name)f(of)g +b(Reference)g(Man)m(ual)150 299 y Fs({})870 431 y({)47 +b Fj(list)11 b Fs(;)46 b(})630 564 y Ft(Placing)30 b(a)g(list)g(of)g +(commands)f(b)s(et)m(w)m(een)h(curly)f(braces)g(causes)h(the)f(list)h +(to)g(b)s(e)f(executed)630 673 y(in)d(the)h(curren)m(t)g(shell)f(con)m +(text.)42 b(No)27 b(subshell)f(is)g(created.)41 b(The)26 +b(semicolon)i(\(or)f(newline\))630 783 y(follo)m(wing)32 +b Fq(list)h Ft(is)d(required.)275 938 y(In)44 b(addition)h(to)h(the)f +(creation)i(of)e(a)g(subshell,)j(there)e(is)f(a)g(subtle)g +(di\013erence)h(b)s(et)m(w)m(een)f(these)150 1048 y(t)m(w)m(o)c +(constructs)e(due)g(to)g(historical)i(reasons.)67 b(The)39 +b(braces)g(are)h Fs(reserved)28 b(words)p Ft(,)40 b(so)g(they)f(m)m +(ust)150 1157 y(b)s(e)d(separated)h(from)f(the)g Fq(list)j +Ft(b)m(y)e Fs(blank)p Ft(s)e(or)h(other)h(shell)f(metac)m(haracters.)62 +b(The)36 b(paren)m(theses)h(are)150 1267 y Fs(operators)p +Ft(,)23 b(and)h(are)g(recognized)i(as)e(separate)i(tok)m(ens)f(b)m(y)f +(the)g(shell)h(ev)m(en)g(if)f(they)g(are)h(not)f(separated)150 +1377 y(from)30 b(the)g Fq(list)j Ft(b)m(y)e(whitespace.)275 +1509 y(The)e(exit)j(status)e(of)h(b)s(oth)f(of)g(these)h(constructs)g +(is)f(the)h(exit)g(status)f(of)h Fq(list)p Ft(.)150 1760 +y Fr(3.3)68 b(Shell)45 b(F)-11 b(unctions)275 2002 y +Ft(Shell)27 b(functions)g(are)g(a)h(w)m(a)m(y)g(to)g(group)f(commands)g +(for)g(later)i(execution)f(using)f(a)h(single)g(name)f(for)150 +2112 y(the)35 b(group.)55 b(They)35 b(are)g(executed)h(just)f(lik)m(e)h +(a)g Fs(")p Ft(regular)p Fs(")f Ft(command.)54 b(When)35 +b(the)h(name)f(of)g(a)h(shell)150 2221 y(function)j(is)g(used)f(as)h(a) +h(simple)f(command)g(name,)i(the)e(list)h(of)f(commands)g(asso)s +(ciated)i(with)d(that)150 2331 y(function)25 b(name)h(is)g(executed.)40 +b(Shell)25 b(functions)g(are)i(executed)f(in)f(the)h(curren)m(t)g +(shell)g(con)m(text;)j(no)c(new)150 2440 y(pro)s(cess)30 +b(is)g(created)i(to)f(in)m(terpret)g(them.)275 2573 y(F)-8 +b(unctions)30 b(are)h(declared)g(using)f(this)g(syn)m(tax:)390 +2705 y Fs([)47 b(function)f(])h Fj(name)58 b Fs(\(\))47 +b Fj(compound-command)54 b Fs([)47 b Fj(redirections)55 +b Fs(])275 2838 y Ft(This)31 b(de\014nes)h(a)h(shell)g(function)g +(named)f Fq(name)p Ft(.)48 b(The)32 b(reserv)m(ed)h(w)m(ord)f +Fs(function)f Ft(is)h(optional.)49 b(If)150 2947 y(the)39 +b Fs(function)f Ft(reserv)m(ed)h(w)m(ord)g(is)g(supplied,)i(the)e +(paren)m(theses)h(are)f(optional.)69 b(The)39 b Fq(b)s(o)s(dy)45 +b Ft(of)40 b(the)150 3057 y(function)h(is)h(the)g(comp)s(ound)e +(command)h Fq(comp)s(ound-command)j Ft(\(see)e(Section)h(3.2.4)g([Comp) +s(ound)150 3166 y(Commands],)33 b(page)g(9\).)48 b(That)33 +b(command)g(is)f(usually)h(a)g Fq(list)i Ft(enclosed)e(b)s(et)m(w)m +(een)h Fs({)e Ft(and)g Fs(})p Ft(,)h(but)f(ma)m(y)150 +3276 y(b)s(e)27 b(an)m(y)h(comp)s(ound)e(command)h(listed)h(ab)s(o)m(v) +m(e.)41 b Fq(comp)s(ound-command)30 b Ft(is)e(executed)g(whenev)m(er)g +Fq(name)150 3386 y Ft(is)37 b(sp)s(eci\014ed)g(as)g(the)h(name)f(of)g (a)h(command.)61 b(An)m(y)37 b(redirections)h(\(see)g(Section)g(3.6)g -([Redirections],)150 2089 y(page)31 b(25\))h(asso)s(ciated)g(with)e +([Redirections],)150 3495 y(page)31 b(25\))h(asso)s(ciated)g(with)e (the)g(shell)h(function)f(are)h(p)s(erformed)d(when)i(the)g(function)g -(is)h(executed.)275 2235 y(A)41 b(function)f(de\014nition)h(ma)m(y)g(b) +(is)h(executed.)275 3628 y(A)41 b(function)f(de\014nition)h(ma)m(y)g(b) s(e)g(deleted)g(using)g(the)g(`)p Fs(-f)p Ft(')g(option)g(to)h(the)f -Fs(unset)e Ft(builtin)i(\(see)150 2345 y(Section)31 b(4.1)h([Bourne)e -(Shell)g(Builtins],)h(page)h(35\).)275 2491 y(The)26 +Fs(unset)e Ft(builtin)i(\(see)150 3737 y(Section)31 b(4.1)h([Bourne)e +(Shell)g(Builtins],)h(page)h(35\).)275 3870 y(The)26 b(exit)i(status)g(of)f(a)h(function)f(de\014nition)g(is)g(zero)h (unless)f(a)g(syn)m(tax)h(error)f(o)s(ccurs)g(or)g(a)h(readonly)150 -2600 y(function)k(with)f(the)i(same)f(name)g(already)h(exists.)46 +3979 y(function)k(with)f(the)i(same)f(name)g(already)h(exists.)46 b(When)32 b(executed,)h(the)f(exit)h(status)g(of)f(a)g(function)150 -2710 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g(command)f(executed) -i(in)e(the)g(b)s(o)s(dy)-8 b(.)275 2856 y(Note)22 b(that)f(for)f +4089 y(is)e(the)h(exit)g(status)g(of)f(the)h(last)g(command)f(executed) +i(in)e(the)g(b)s(o)s(dy)-8 b(.)275 4221 y(Note)22 b(that)f(for)f (historical)i(reasons,)h(in)e(the)g(most)g(common)g(usage)g(the)g -(curly)f(braces)h(that)g(surround)150 2966 y(the)38 b(b)s(o)s(dy)d(of)j +(curly)f(braces)h(that)g(surround)150 4331 y(the)38 b(b)s(o)s(dy)d(of)j (the)f(function)g(m)m(ust)g(b)s(e)g(separated)h(from)f(the)g(b)s(o)s (dy)f(b)m(y)h Fs(blank)p Ft(s)f(or)h(newlines.)62 b(This)150 -3075 y(is)38 b(b)s(ecause)g(the)h(braces)f(are)h(reserv)m(ed)f(w)m +4440 y(is)38 b(b)s(ecause)g(the)h(braces)f(are)h(reserv)m(ed)f(w)m (ords)g(and)f(are)i(only)f(recognized)i(as)e(suc)m(h)g(when)f(they)i -(are)150 3185 y(separated)26 b(from)f(the)h(command)f(list)i(b)m(y)e +(are)150 4550 y(separated)26 b(from)f(the)h(command)f(list)i(b)m(y)e (whitespace)h(or)g(another)g(shell)g(metac)m(haracter.)41 -b(Also,)28 b(when)150 3294 y(using)i(the)g(braces,)h(the)g +b(Also,)28 b(when)150 4660 y(using)i(the)g(braces,)h(the)g Fq(list)i Ft(m)m(ust)d(b)s(e)g(terminated)h(b)m(y)f(a)h(semicolon,)h(a) -e(`)p Fs(&)p Ft(',)h(or)g(a)f(newline.)275 3440 y(When)i(a)i(function)f +e(`)p Fs(&)p Ft(',)h(or)g(a)f(newline.)275 4792 y(When)i(a)i(function)f (is)g(executed,)i(the)e(argumen)m(ts)h(to)g(the)f(function)g(b)s(ecome) -g(the)h(p)s(ositional)g(pa-)150 3550 y(rameters)42 b(during)e(its)i +g(the)h(p)s(ositional)g(pa-)150 4902 y(rameters)42 b(during)e(its)i (execution)h(\(see)f(Section)g(3.4.1)h([P)m(ositional)h(P)m -(arameters],)i(page)c(15\).)75 b(The)150 3660 y(sp)s(ecial)37 +(arameters],)i(page)c(16\).)75 b(The)150 5011 y(sp)s(ecial)37 b(parameter)f(`)p Fs(#)p Ft(')g(that)h(expands)e(to)i(the)f(n)m(um)m(b) s(er)f(of)h(p)s(ositional)h(parameters)f(is)g(up)s(dated)f(to)150 -3769 y(re\015ect)h(the)f(c)m(hange.)56 b(Sp)s(ecial)35 +5121 y(re\015ect)h(the)f(c)m(hange.)56 b(Sp)s(ecial)35 b(parameter)h Fs(0)f Ft(is)g(unc)m(hanged.)54 b(The)35 -b(\014rst)f(elemen)m(t)j(of)e(the)g Fs(FUNCNAME)150 3879 +b(\014rst)f(elemen)m(t)j(of)e(the)g Fs(FUNCNAME)150 5230 y Ft(v)-5 b(ariable)27 b(is)g(set)g(to)h(the)f(name)f(of)h(the)g (function)f(while)h(the)g(function)f(is)h(executing.)40 -b(All)28 b(other)f(asp)s(ects)150 3988 y(of)32 b(the)g(shell)g +b(All)28 b(other)f(asp)s(ects)150 5340 y(of)32 b(the)g(shell)g (execution)i(en)m(vironmen)m(t)e(are)h(iden)m(tical)g(b)s(et)m(w)m(een) -g(a)f(function)g(and)f(its)i(caller)g(with)f(the)150 -4098 y(exception)h(that)f(the)g Fs(DEBUG)f Ft(and)g Fs(RETURN)f +g(a)f(function)g(and)f(its)i(caller)g(with)f(the)p eop +end +%%Page: 15 21 +TeXDict begin 15 20 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)150 299 +y(exception)33 b(that)f(the)g Fs(DEBUG)f Ft(and)g Fs(RETURN)f Ft(traps)h(are)h(not)g(inherited)g(unless)f(the)h(function)f(has)h(b)s -(een)150 4208 y(giv)m(en)h(the)f Fs(trace)e Ft(attribute)j(using)e(the) -h Fs(declare)e Ft(builtin)h(or)h(the)g Fs(-o)e(functrace)f -Ft(option)j(has)g(b)s(een)150 4317 y(enabled)39 b(with)f(the)h +(een)150 408 y(giv)m(en)h(the)f Fs(trace)e Ft(attribute)j(using)e(the)h +Fs(declare)e Ft(builtin)h(or)h(the)g Fs(-o)e(functrace)f +Ft(option)j(has)g(b)s(een)150 518 y(enabled)39 b(with)f(the)h Fs(set)e Ft(builtin,)k(\(in)e(whic)m(h)f(case)i(all)f(functions)f -(inherit)h(the)f Fs(DEBUG)g Ft(and)g Fs(RETURN)150 4427 +(inherit)h(the)f Fs(DEBUG)g Ft(and)g Fs(RETURN)150 628 y Ft(traps\).)66 b(See)40 b(Section)f(4.1)h([Bourne)f(Shell)g (Builtins],)j(page)e(35,)i(for)d(the)g(description)g(of)g(the)g -Fs(trap)150 4536 y Ft(builtin.)275 4682 y(If)e(the)g(builtin)g(command) -h Fs(return)d Ft(is)j(executed)g(in)g(a)g(function,)h(the)e(function)h -(completes)h(and)150 4792 y(execution)25 b(resumes)e(with)h(the)g(next) -g(command)f(after)i(the)f(function)f(call.)40 b(An)m(y)24 -b(command)f(asso)s(ciated)150 4902 y(with)36 b(the)h +Fs(trap)150 737 y Ft(builtin.)275 875 y(If)e(the)g(builtin)g(command)h +Fs(return)d Ft(is)j(executed)g(in)g(a)g(function,)h(the)e(function)h +(completes)h(and)150 985 y(execution)25 b(resumes)e(with)h(the)g(next)g +(command)f(after)i(the)f(function)f(call.)40 b(An)m(y)24 +b(command)f(asso)s(ciated)150 1094 y(with)36 b(the)h Fs(RETURN)d Ft(trap)i(is)h(executed)g(b)s(efore)f(execution)i(resumes.) -57 b(When)37 b(a)f(function)g(completes,)150 5011 y(the)h(v)-5 +57 b(When)37 b(a)f(function)g(completes,)150 1204 y(the)h(v)-5 b(alues)38 b(of)f(the)g(p)s(ositional)h(parameters)f(and)g(the)g(sp)s (ecial)h(parameter)f(`)p Fs(#)p Ft(')g(are)h(restored)f(to)h(the)150 -5121 y(v)-5 b(alues)26 b(they)f(had)g(prior)f(to)i(the)g(function's)f +1313 y(v)-5 b(alues)26 b(they)f(had)g(prior)f(to)i(the)g(function's)f (execution.)40 b(If)25 b(a)h(n)m(umeric)f(argumen)m(t)h(is)f(giv)m(en)h -(to)g Fs(return)p Ft(,)150 5230 y(that)j(is)g(the)f(function's)h +(to)g Fs(return)p Ft(,)150 1423 y(that)j(is)g(the)f(function's)h (return)e(status;)j(otherwise)f(the)f(function's)h(return)e(status)i -(is)f(the)h(exit)h(status)150 5340 y(of)h(the)f(last)h(command)f -(executed)i(b)s(efore)e(the)g Fs(return)p Ft(.)p eop -end -%%Page: 15 21 -TeXDict begin 15 20 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(15)275 299 +(is)f(the)h(exit)h(status)150 1533 y(of)h(the)f(last)h(command)f +(executed)i(b)s(efore)e(the)g Fs(return)p Ft(.)275 1670 y(V)-8 b(ariables)31 b(lo)s(cal)g(to)f(the)g(function)f(ma)m(y)i(b)s(e) e(declared)h(with)f(the)h Fs(local)f Ft(builtin.)40 b(These)29 -b(v)-5 b(ariables)150 408 y(are)31 b(visible)g(only)f(to)h(the)g +b(v)-5 b(ariables)150 1780 y(are)31 b(visible)g(only)f(to)h(the)g (function)f(and)g(the)g(commands)g(it)h(in)m(v)m(ok)m(es.)275 -548 y(F)-8 b(unction)38 b(names)f(and)g(de\014nitions)g(ma)m(y)i(b)s(e) -e(listed)h(with)f(the)h(`)p Fs(-f)p Ft(')f(option)h(to)h(the)e -Fs(declare)f Ft(or)150 657 y Fs(typeset)d Ft(builtin)h(commands)h +1918 y(F)-8 b(unction)38 b(names)f(and)g(de\014nitions)g(ma)m(y)i(b)s +(e)e(listed)h(with)f(the)h(`)p Fs(-f)p Ft(')f(option)h(to)h(the)e +Fs(declare)f Ft(or)150 2027 y Fs(typeset)d Ft(builtin)h(commands)h (\(see)h(Section)g(4.2)g([Bash)f(Builtins],)i(page)f(41\).)55 -b(The)35 b(`)p Fs(-F)p Ft(')g(option)g(to)150 767 y Fs(declare)f -Ft(or)i Fs(typeset)e Ft(will)i(list)h(the)f(function)g(names)g(only)g -(\(and)g(optionally)h(the)f(source)g(\014le)h(and)150 -876 y(line)c(n)m(um)m(b)s(er,)g(if)f(the)h Fs(extdebug)e +b(The)35 b(`)p Fs(-F)p Ft(')g(option)g(to)150 2137 y +Fs(declare)f Ft(or)i Fs(typeset)e Ft(will)i(list)h(the)f(function)g +(names)g(only)g(\(and)g(optionally)h(the)f(source)g(\014le)h(and)150 +2247 y(line)c(n)m(um)m(b)s(er,)g(if)f(the)h Fs(extdebug)e Ft(shell)i(option)g(is)g(enabled\).)49 b(F)-8 b(unctions)33 -b(ma)m(y)h(b)s(e)e(exp)s(orted)g(so)h(that)150 986 y(subshells)f +b(ma)m(y)h(b)s(e)e(exp)s(orted)g(so)h(that)150 2356 y(subshells)f (automatically)37 b(ha)m(v)m(e)d(them)g(de\014ned)e(with)h(the)g(`)p Fs(-f)p Ft(')h(option)g(to)g(the)f Fs(export)f Ft(builtin)h(\(see)150 -1095 y(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(35\).)47 +2466 y(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)i(page)f(35\).)47 b(Note)33 b(that)g(shell)f(functions)g(and)f(v)-5 b(ariables)33 -b(with)150 1205 y(the)d(same)g(name)g(ma)m(y)g(result)g(in)g(m)m +b(with)150 2575 y(the)d(same)g(name)g(ma)m(y)g(result)g(in)g(m)m (ultiple)g(iden)m(tically-named)i(en)m(tries)f(in)e(the)h(en)m -(vironmen)m(t)g(passed)150 1315 y(to)h(the)g(shell's)f(c)m(hildren.)41 +(vironmen)m(t)g(passed)150 2685 y(to)h(the)g(shell's)f(c)m(hildren.)41 b(Care)30 b(should)g(b)s(e)f(tak)m(en)j(in)e(cases)h(where)f(this)g(ma) -m(y)h(cause)g(a)g(problem.)275 1454 y(F)-8 b(unctions)30 +m(y)h(cause)g(a)g(problem.)275 2823 y(F)-8 b(unctions)30 b(ma)m(y)h(b)s(e)f(recursiv)m(e.)41 b(No)31 b(limit)g(is)g(placed)g(on) f(the)g(n)m(um)m(b)s(er)g(of)g(recursiv)m(e)h(calls.)150 -1722 y Fr(3.4)68 b(Shell)45 b(P)l(arameters)275 1971 +3088 y Fr(3.4)68 b(Shell)45 b(P)l(arameters)275 3336 y Ft(A)32 b Fq(parameter)40 b Ft(is)32 b(an)h(en)m(tit)m(y)h(that)f (stores)g(v)-5 b(alues.)48 b(It)33 b(can)g(b)s(e)e(a)i Fs(name)p Ft(,)g(a)g(n)m(um)m(b)s(er,)f(or)g(one)h(of)g(the)150 -2081 y(sp)s(ecial)i(c)m(haracters)h(listed)g(b)s(elo)m(w.)53 +3445 y(sp)s(ecial)i(c)m(haracters)h(listed)g(b)s(elo)m(w.)53 b(A)35 b Fq(v)-5 b(ariable)41 b Ft(is)34 b(a)h(parameter)h(denoted)e(b) m(y)h(a)g Fs(name)p Ft(.)52 b(A)35 b(v)-5 b(ariable)150 -2190 y(has)29 b(a)h Fq(v)-5 b(alue)35 b Ft(and)28 b(zero)j(or)e(more)g +3555 y(has)29 b(a)h Fq(v)-5 b(alue)35 b Ft(and)28 b(zero)j(or)e(more)g Fq(attributes)p Ft(.)41 b(A)m(ttributes)30 b(are)g(assigned)g(using)f -(the)g Fs(declare)e Ft(builtin)150 2300 y(command)22 +(the)g Fs(declare)e Ft(builtin)150 3665 y(command)22 b(\(see)h(the)f(description)g(of)g(the)g Fs(declare)f Ft(builtin)g(in)h(Section)h(4.2)g([Bash)f(Builtins],)j(page)d(41\).)275 -2439 y(A)28 b(parameter)h(is)g(set)g(if)f(it)h(has)f(b)s(een)g +3802 y(A)28 b(parameter)h(is)g(set)g(if)f(it)h(has)f(b)s(een)g (assigned)h(a)g(v)-5 b(alue.)40 b(The)28 b(n)m(ull)h(string)f(is)h(a)g -(v)-5 b(alid)28 b(v)-5 b(alue.)41 b(Once)150 2548 y(a)31 +(v)-5 b(alid)28 b(v)-5 b(alue.)41 b(Once)150 3912 y(a)31 b(v)-5 b(ariable)31 b(is)f(set,)i(it)e(ma)m(y)h(b)s(e)f(unset)g(only)h (b)m(y)f(using)g(the)g Fs(unset)f Ft(builtin)h(command.)275 -2688 y(A)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(assigned)g(to)i(b)m(y)e -(a)h(statemen)m(t)h(of)e(the)h(form)390 2827 y Fj(name)11 -b Fs(=[)p Fj(value)g Fs(])150 2966 y Ft(If)34 b Fq(v)-5 +4050 y(A)g(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(assigned)g(to)i(b)m(y)e +(a)h(statemen)m(t)h(of)e(the)h(form)390 4188 y Fj(name)11 +b Fs(=[)p Fj(value)g Fs(])150 4325 y Ft(If)34 b Fq(v)-5 b(alue)40 b Ft(is)35 b(not)g(giv)m(en,)h(the)f(v)-5 b(ariable)35 b(is)g(assigned)g(the)f(n)m(ull)h(string.)53 b(All)35 b Fq(v)-5 b(alue)5 b Ft(s)35 b(undergo)f(tilde)h(ex-)150 -3075 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36 +4435 y(pansion,)h(parameter)f(and)f(v)-5 b(ariable)36 b(expansion,)f(command)g(substitution,)h(arithmetic)g(expansion,)150 -3185 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).) +4545 y(and)k(quote)h(remo)m(v)-5 b(al)42 b(\(detailed)h(b)s(elo)m(w\).) 72 b(If)40 b(the)h(v)-5 b(ariable)41 b(has)g(its)g Fs(integer)e -Ft(attribute)i(set,)j(then)150 3294 y Fq(v)-5 b(alue)38 +Ft(attribute)i(set,)j(then)150 4654 y Fq(v)-5 b(alue)38 b Ft(is)33 b(ev)-5 b(aluated)34 b(as)f(an)g(arithmetic)h(expression)f (ev)m(en)h(if)e(the)h Fs($\(\(...)o(\)\))f Ft(expansion)h(is)g(not)g -(used)150 3404 y(\(see)e(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f +(used)150 4764 y(\(see)e(Section)g(3.5.5)i([Arithmetic)e(Expansion],)f (page)h(22\).)42 b(W)-8 b(ord)31 b(splitting)g(is)g(not)f(p)s -(erformed,)f(with)150 3514 y(the)35 b(exception)h(of)f +(erformed,)f(with)150 4873 y(the)35 b(exception)h(of)f Fs("$@")f Ft(as)h(explained)g(b)s(elo)m(w.)54 b(Filename)36 b(expansion)f(is)g(not)g(p)s(erformed.)53 b(Assign-)150 -3623 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g(app)s(ear)f(as)g +4983 y(men)m(t)33 b(statemen)m(ts)h(ma)m(y)f(also)g(app)s(ear)f(as)g (argumen)m(ts)h(to)g(the)g Fs(alias)p Ft(,)e Fs(declare)p -Ft(,)g Fs(typeset)p Ft(,)g Fs(export)p Ft(,)150 3733 +Ft(,)g Fs(typeset)p Ft(,)g Fs(export)p Ft(,)150 5093 y Fs(readonly)p Ft(,)d(and)i Fs(local)f Ft(builtin)h(commands.)275 -3872 y(In)f(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m +5230 y(In)f(the)h(con)m(text)i(where)d(an)h(assignmen)m(t)h(statemen)m (t)h(is)e(assigning)g(a)h(v)-5 b(alue)30 b(to)h(a)f(shell)g(v)-5 -b(ariable)31 b(or)150 3981 y(arra)m(y)f(index)g(\(see)h(Section)g(6.7)g +b(ariable)31 b(or)150 5340 y(arra)m(y)f(index)g(\(see)h(Section)g(6.7)g ([Arra)m(ys],)g(page)g(78\),)g(the)f(`)p Fs(+=)p Ft(')g(op)s(erator)g -(can)h(b)s(e)e(used)g(to)i(app)s(end)d(to)150 4091 y(or)36 -b(add)g(to)h(the)f(v)-5 b(ariable's)37 b(previous)f(v)-5 -b(alue.)59 b(When)36 b(`)p Fs(+=)p Ft(')g(is)g(applied)g(to)h(a)g(v)-5 -b(ariable)37 b(for)f(whic)m(h)g(the)150 4201 y(in)m(teger)k(attribute)e -(has)g(b)s(een)g(set,)j Fq(v)-5 b(alue)44 b Ft(is)38 -b(ev)-5 b(aluated)39 b(as)g(an)f(arithmetic)h(expression)f(and)g(added) -150 4310 y(to)e(the)f(v)-5 b(ariable's)36 b(curren)m(t)f(v)-5 +(can)h(b)s(e)e(used)g(to)i(app)s(end)d(to)p eop end +%%Page: 16 22 +TeXDict begin 16 21 bop 150 -116 a Ft(16)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y(or)36 b(add)g(to)h(the)f(v)-5 +b(ariable's)37 b(previous)f(v)-5 b(alue.)59 b(When)36 +b(`)p Fs(+=)p Ft(')g(is)g(applied)g(to)h(a)g(v)-5 b(ariable)37 +b(for)f(whic)m(h)g(the)150 408 y(in)m(teger)k(attribute)e(has)g(b)s +(een)g(set,)j Fq(v)-5 b(alue)44 b Ft(is)38 b(ev)-5 b(aluated)39 +b(as)g(an)f(arithmetic)h(expression)f(and)g(added)150 +518 y(to)e(the)f(v)-5 b(ariable's)36 b(curren)m(t)f(v)-5 b(alue,)37 b(whic)m(h)e(is)g(also)h(ev)-5 b(aluated.)56 b(When)35 b(`)p Fs(+=)p Ft(')g(is)h(applied)f(to)g(an)g(arra)m(y)150 -4420 y(v)-5 b(ariable)26 b(using)e(comp)s(ound)f(assignmen)m(t)j(\(see) -f(Section)h(6.7)f([Arra)m(ys],)i(page)f(78\),)h(the)e(v)-5 -b(ariable's)25 b(v)-5 b(alue)150 4529 y(is)32 b(not)f(unset)h(\(as)g -(it)g(is)f(when)g(using)g(`)p Fs(=)p Ft('\),)i(and)e(new)g(v)-5 +628 y(v)-5 b(ariable)26 b(using)e(comp)s(ound)f(assignmen)m(t)j(\(see)f +(Section)h(6.7)f([Arra)m(ys],)i(page)f(78\),)h(the)e(v)-5 +b(ariable's)25 b(v)-5 b(alue)150 737 y(is)32 b(not)f(unset)h(\(as)g(it) +g(is)f(when)g(using)g(`)p Fs(=)p Ft('\),)i(and)e(new)g(v)-5 b(alues)32 b(are)g(app)s(ended)d(to)k(the)f(arra)m(y)g(b)s(eginning)150 -4639 y(at)e(one)g(greater)h(than)f(the)g(arra)m(y's)g(maxim)m(um)f +847 y(at)e(one)g(greater)h(than)f(the)g(arra)m(y's)g(maxim)m(um)f (index.)40 b(When)30 b(applied)f(to)i(a)f(string-v)-5 -b(alued)30 b(v)-5 b(ariable,)150 4748 y Fq(v)g(alue)36 +b(alued)30 b(v)-5 b(ariable,)150 956 y Fq(v)g(alue)36 b Ft(is)30 b(expanded)g(and)g(app)s(ended)e(to)j(the)g(v)-5 -b(ariable's)31 b(v)-5 b(alue.)150 4982 y Fk(3.4.1)63 -b(P)m(ositional)41 b(P)m(arameters)275 5230 y Ft(A)36 +b(ariable's)31 b(v)-5 b(alue.)150 1197 y Fk(3.4.1)63 +b(P)m(ositional)41 b(P)m(arameters)275 1450 y Ft(A)36 b Fq(p)s(ositional)i(parameter)44 b Ft(is)37 b(a)g(parameter)g(denoted) g(b)m(y)g(one)g(or)g(more)g(digits,)i(other)e(than)g(the)150 -5340 y(single)k(digit)f Fs(0)p Ft(.)69 b(P)m(ositional)42 +1559 y(single)k(digit)f Fs(0)p Ft(.)69 b(P)m(ositional)42 b(parameters)f(are)f(assigned)g(from)g(the)g(shell's)g(argumen)m(ts)g -(when)f(it)i(is)p eop end -%%Page: 16 22 -TeXDict begin 16 21 bop 150 -116 a Ft(16)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y(in)m(v)m(ok)m(ed,)40 -b(and)d(ma)m(y)g(b)s(e)g(reassigned)g(using)f(the)i Fs(set)e -Ft(builtin)g(command.)61 b(P)m(ositional)39 b(parameter)e -Fs(N)150 408 y Ft(ma)m(y)27 b(b)s(e)g(referenced)f(as)h -Fs(${N})p Ft(,)g(or)g(as)g Fs($N)f Ft(when)g Fs(N)g Ft(consists)i(of)f -(a)g(single)g(digit.)41 b(P)m(ositional)29 b(parameters)150 -518 y(ma)m(y)j(not)f(b)s(e)g(assigned)h(to)g(with)f(assignmen)m(t)h -(statemen)m(ts.)45 b(The)30 b Fs(set)h Ft(and)g Fs(shift)e -Ft(builtins)i(are)h(used)150 628 y(to)h(set)f(and)f(unset)h(them)g -(\(see)h(Chapter)e(4)h([Shell)g(Builtin)h(Commands],)e(page)i(35\).)47 -b(The)31 b(p)s(ositional)150 737 y(parameters)24 b(are)g(temp)s -(orarily)g(replaced)h(when)d(a)j(shell)f(function)f(is)h(executed)h -(\(see)f(Section)h(3.3)g([Shell)150 847 y(F)-8 b(unctions],)31 -b(page)h(14\).)275 979 y(When)27 b(a)i(p)s(ositional)g(parameter)g -(consisting)f(of)h(more)f(than)g(a)g(single)h(digit)g(is)f(expanded,)g -(it)h(m)m(ust)150 1088 y(b)s(e)h(enclosed)h(in)f(braces.)150 -1304 y Fk(3.4.2)63 b(Sp)s(ecial)41 b(P)m(arameters)275 -1545 y Ft(The)27 b(shell)h(treats)h(sev)m(eral)g(parameters)g(sp)s -(ecially)-8 b(.)41 b(These)28 b(parameters)g(ma)m(y)g(only)g(b)s(e)g -(referenced;)150 1655 y(assignmen)m(t)j(to)g(them)g(is)f(not)h(allo)m -(w)m(ed.)150 1808 y Fs(*)432 b Ft(Expands)29 b(to)h(the)h(p)s -(ositional)f(parameters,)h(starting)g(from)e(one.)41 -b(When)30 b(the)g(expansion)630 1918 y(o)s(ccurs)e(within)f(double)h -(quotes,)h(it)g(expands)e(to)i(a)f(single)h(w)m(ord)f(with)g(the)g(v)-5 -b(alue)29 b(of)f(eac)m(h)630 2028 y(parameter)i(separated)g(b)m(y)f -(the)g(\014rst)g(c)m(haracter)i(of)e(the)h Fs(IFS)e Ft(sp)s(ecial)i(v) --5 b(ariable.)41 b(That)30 b(is,)630 2137 y Fs("$*")h -Ft(is)i(equiv)-5 b(alen)m(t)33 b(to)h Fs("$1)p Fj(c)11 -b Fs($2)p Fj(c)g Fs(...)l(")p Ft(,)33 b(where)f Fq(c)38 -b Ft(is)32 b(the)h(\014rst)e(c)m(haracter)j(of)f(the)f(v)-5 -b(alue)630 2247 y(of)30 b(the)g Fs(IFS)g Ft(v)-5 b(ariable.)41 -b(If)30 b Fs(IFS)f Ft(is)h(unset,)g(the)g(parameters)g(are)h(separated) -f(b)m(y)g(spaces.)41 b(If)630 2356 y Fs(IFS)29 b Ft(is)i(n)m(ull,)f -(the)h(parameters)g(are)f(joined)h(without)f(in)m(terv)m(ening)i -(separators.)150 2510 y Fs(@)432 b Ft(Expands)29 b(to)h(the)h(p)s -(ositional)f(parameters,)h(starting)g(from)e(one.)41 -b(When)30 b(the)g(expansion)630 2620 y(o)s(ccurs)c(within)g(double)f -(quotes,)j(eac)m(h)f(parameter)g(expands)e(to)i(a)g(separate)g(w)m -(ord.)39 b(That)630 2729 y(is,)29 b Fs("$@")e Ft(is)i(equiv)-5 -b(alen)m(t)30 b(to)f Fs("$1")g("$2")h(...)o Ft(.)40 b(If)28 -b(the)g(double-quoted)h(expansion)f(o)s(ccurs)630 2839 -y(within)d(a)h(w)m(ord,)g(the)g(expansion)f(of)h(the)g(\014rst)f -(parameter)h(is)f(joined)h(with)f(the)h(b)s(eginning)630 -2949 y(part)f(of)g(the)g(original)g(w)m(ord,)h(and)e(the)h(expansion)g -(of)g(the)g(last)h(parameter)f(is)g(joined)f(with)630 -3058 y(the)37 b(last)g(part)g(of)f(the)h(original)h(w)m(ord.)59 +(when)f(it)i(is)150 1669 y(in)m(v)m(ok)m(ed,)f(and)d(ma)m(y)g(b)s(e)g +(reassigned)g(using)f(the)i Fs(set)e Ft(builtin)g(command.)61 +b(P)m(ositional)39 b(parameter)e Fs(N)150 1779 y Ft(ma)m(y)27 +b(b)s(e)g(referenced)f(as)h Fs(${N})p Ft(,)g(or)g(as)g +Fs($N)f Ft(when)g Fs(N)g Ft(consists)i(of)f(a)g(single)g(digit.)41 +b(P)m(ositional)29 b(parameters)150 1888 y(ma)m(y)j(not)f(b)s(e)g +(assigned)h(to)g(with)f(assignmen)m(t)h(statemen)m(ts.)45 +b(The)30 b Fs(set)h Ft(and)g Fs(shift)e Ft(builtins)i(are)h(used)150 +1998 y(to)h(set)f(and)f(unset)h(them)g(\(see)h(Chapter)e(4)h([Shell)g +(Builtin)h(Commands],)e(page)i(35\).)47 b(The)31 b(p)s(ositional)150 +2107 y(parameters)24 b(are)g(temp)s(orarily)g(replaced)h(when)d(a)j +(shell)f(function)f(is)h(executed)h(\(see)f(Section)h(3.3)g([Shell)150 +2217 y(F)-8 b(unctions],)31 b(page)h(14\).)275 2360 y(When)27 +b(a)i(p)s(ositional)g(parameter)g(consisting)f(of)h(more)f(than)g(a)g +(single)h(digit)g(is)f(expanded,)g(it)h(m)m(ust)150 2469 +y(b)s(e)h(enclosed)h(in)f(braces.)150 2710 y Fk(3.4.2)63 +b(Sp)s(ecial)41 b(P)m(arameters)275 2963 y Ft(The)27 +b(shell)h(treats)h(sev)m(eral)g(parameters)g(sp)s(ecially)-8 +b(.)41 b(These)28 b(parameters)g(ma)m(y)g(only)g(b)s(e)g(referenced;) +150 3072 y(assignmen)m(t)j(to)g(them)g(is)f(not)h(allo)m(w)m(ed.)150 +3244 y Fs(*)432 b Ft(Expands)29 b(to)h(the)h(p)s(ositional)f +(parameters,)h(starting)g(from)e(one.)41 b(When)30 b(the)g(expansion) +630 3354 y(o)s(ccurs)e(within)f(double)h(quotes,)h(it)g(expands)e(to)i +(a)f(single)h(w)m(ord)f(with)g(the)g(v)-5 b(alue)29 b(of)f(eac)m(h)630 +3463 y(parameter)i(separated)g(b)m(y)f(the)g(\014rst)g(c)m(haracter)i +(of)e(the)h Fs(IFS)e Ft(sp)s(ecial)i(v)-5 b(ariable.)41 +b(That)30 b(is,)630 3573 y Fs("$*")h Ft(is)i(equiv)-5 +b(alen)m(t)33 b(to)h Fs("$1)p Fj(c)11 b Fs($2)p Fj(c)g +Fs(...)l(")p Ft(,)33 b(where)f Fq(c)38 b Ft(is)32 b(the)h(\014rst)e(c)m +(haracter)j(of)f(the)f(v)-5 b(alue)630 3683 y(of)30 b(the)g +Fs(IFS)g Ft(v)-5 b(ariable.)41 b(If)30 b Fs(IFS)f Ft(is)h(unset,)g(the) +g(parameters)g(are)h(separated)f(b)m(y)g(spaces.)41 b(If)630 +3792 y Fs(IFS)29 b Ft(is)i(n)m(ull,)f(the)h(parameters)g(are)f(joined)h +(without)f(in)m(terv)m(ening)i(separators.)150 3960 y +Fs(@)432 b Ft(Expands)29 b(to)h(the)h(p)s(ositional)f(parameters,)h +(starting)g(from)e(one.)41 b(When)30 b(the)g(expansion)630 +4070 y(o)s(ccurs)c(within)g(double)f(quotes,)j(eac)m(h)f(parameter)g +(expands)e(to)i(a)g(separate)g(w)m(ord.)39 b(That)630 +4179 y(is,)29 b Fs("$@")e Ft(is)i(equiv)-5 b(alen)m(t)30 +b(to)f Fs("$1")g("$2")h(...)o Ft(.)40 b(If)28 b(the)g(double-quoted)h +(expansion)f(o)s(ccurs)630 4289 y(within)d(a)h(w)m(ord,)g(the)g +(expansion)f(of)h(the)g(\014rst)f(parameter)h(is)f(joined)h(with)f(the) +h(b)s(eginning)630 4398 y(part)f(of)g(the)g(original)g(w)m(ord,)h(and)e +(the)h(expansion)g(of)g(the)g(last)h(parameter)f(is)g(joined)f(with)630 +4508 y(the)37 b(last)g(part)g(of)f(the)h(original)h(w)m(ord.)59 b(When)36 b(there)h(are)g(no)f(p)s(ositional)h(parameters,)630 -3168 y Fs("$@")29 b Ft(and)h Fs($@)g Ft(expand)f(to)j(nothing)e -(\(i.e.,)i(they)e(are)h(remo)m(v)m(ed\).)150 3321 y Fs(#)432 +4617 y Fs("$@")29 b Ft(and)h Fs($@)g Ft(expand)f(to)j(nothing)e +(\(i.e.,)i(they)e(are)h(remo)m(v)m(ed\).)150 4785 y Fs(#)432 b Ft(Expands)29 b(to)i(the)g(n)m(um)m(b)s(er)e(of)h(p)s(ositional)h -(parameters)g(in)f(decimal.)150 3475 y Fs(?)432 b Ft(Expands)29 +(parameters)g(in)f(decimal.)150 4953 y Fs(?)432 b Ft(Expands)29 b(to)i(the)g(exit)g(status)g(of)f(the)h(most)f(recen)m(tly)i(executed)f -(foreground)f(pip)s(eline.)150 3629 y Fs(-)432 b Ft(\(A)31 +(foreground)f(pip)s(eline.)150 5121 y Fs(-)432 b Ft(\(A)31 b(h)m(yphen.\))42 b(Expands)30 b(to)h(the)g(curren)m(t)g(option)h (\015ags)f(as)g(sp)s(eci\014ed)f(up)s(on)g(in)m(v)m(o)s(cation,)630 -3739 y(b)m(y)35 b(the)h Fs(set)e Ft(builtin)h(command,)h(or)g(those)g +5230 y(b)m(y)35 b(the)h Fs(set)e Ft(builtin)h(command,)h(or)g(those)g (set)f(b)m(y)h(the)f(shell)h(itself)g(\(suc)m(h)f(as)h(the)f(`)p -Fs(-i)p Ft(')630 3848 y(option\).)150 4002 y Fs($)432 -b Ft(Expands)39 b(to)j(the)f(pro)s(cess)f Fl(id)h Ft(of)g(the)g(shell.) -73 b(In)40 b(a)h Fs(\(\))f Ft(subshell,)j(it)e(expands)f(to)i(the)630 -4112 y(pro)s(cess)30 b Fl(id)g Ft(of)h(the)g(in)m(v)m(oking)g(shell,)g -(not)g(the)f(subshell.)150 4265 y Fs(!)432 b Ft(Expands)39 -b(to)i(the)g(pro)s(cess)e Fl(id)i Ft(of)f(the)h(most)g(recen)m(tly)g -(executed)g(bac)m(kground)g(\(asyn-)630 4375 y(c)m(hronous\))30 -b(command.)150 4529 y Fs(0)432 b Ft(Expands)20 b(to)j(the)f(name)g(of)g -(the)g(shell)g(or)f(shell)h(script.)38 b(This)21 b(is)h(set)g(at)h -(shell)f(initialization.)630 4638 y(If)44 b(Bash)g(is)g(in)m(v)m(ok)m -(ed)i(with)e(a)g(\014le)g(of)h(commands)e(\(see)j(Section)f(3.8)g -([Shell)f(Scripts],)630 4748 y(page)39 b(32\),)i Fs($0)d -Ft(is)g(set)g(to)h(the)f(name)g(of)g(that)h(\014le.)64 -b(If)37 b(Bash)i(is)f(started)g(with)g(the)g(`)p Fs(-c)p -Ft(')630 4857 y(option)i(\(see)g(Section)h(6.1)f([In)m(v)m(oking)h -(Bash],)h(page)e(69\),)j(then)d Fs($0)e Ft(is)i(set)g(to)g(the)g -(\014rst)630 4967 y(argumen)m(t)31 b(after)g(the)g(string)g(to)g(b)s(e) -f(executed,)i(if)f(one)g(is)f(presen)m(t.)42 b(Otherwise,)31 -b(it)g(is)f(set)630 5077 y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m -(ok)m(e)h(Bash,)f(as)g(giv)m(en)g(b)m(y)f(argumen)m(t)h(zero.)150 -5230 y Fs(_)432 b Ft(\(An)27 b(underscore.\))39 b(A)m(t)29 -b(shell)e(startup,)h(set)f(to)h(the)g(absolute)g(pathname)f(used)f(to)i -(in)m(v)m(ok)m(e)630 5340 y(the)22 b(shell)g(or)g(shell)g(script)f(b)s -(eing)h(executed)h(as)f(passed)f(in)g(the)h(en)m(vironmen)m(t)h(or)e -(argumen)m(t)p eop end +Fs(-i)p Ft(')630 5340 y(option\).)p eop end %%Page: 17 23 TeXDict begin 17 22 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)630 299 -y(list.)72 b(Subsequen)m(tly)-8 b(,)43 b(expands)c(to)j(the)e(last)i -(argumen)m(t)f(to)g(the)g(previous)f(command,)630 408 -y(after)35 b(expansion.)54 b(Also)36 b(set)f(to)h(the)f(full)f +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(17)150 299 +y Fs($)432 b Ft(Expands)39 b(to)j(the)f(pro)s(cess)f +Fl(id)h Ft(of)g(the)g(shell.)73 b(In)40 b(a)h Fs(\(\))f +Ft(subshell,)j(it)e(expands)f(to)i(the)630 408 y(pro)s(cess)30 +b Fl(id)g Ft(of)h(the)g(in)m(v)m(oking)g(shell,)g(not)g(the)f +(subshell.)150 585 y Fs(!)432 b Ft(Expands)39 b(to)i(the)g(pro)s(cess)e +Fl(id)i Ft(of)f(the)h(most)g(recen)m(tly)g(executed)g(bac)m(kground)g +(\(asyn-)630 695 y(c)m(hronous\))30 b(command.)150 871 +y Fs(0)432 b Ft(Expands)20 b(to)j(the)f(name)g(of)g(the)g(shell)g(or)f +(shell)h(script.)38 b(This)21 b(is)h(set)g(at)h(shell)f +(initialization.)630 981 y(If)44 b(Bash)g(is)g(in)m(v)m(ok)m(ed)i(with) +e(a)g(\014le)g(of)h(commands)e(\(see)j(Section)f(3.8)g([Shell)f +(Scripts],)630 1090 y(page)39 b(33\),)i Fs($0)d Ft(is)g(set)g(to)h(the) +f(name)g(of)g(that)h(\014le.)64 b(If)37 b(Bash)i(is)f(started)g(with)g +(the)g(`)p Fs(-c)p Ft(')630 1200 y(option)i(\(see)g(Section)h(6.1)f +([In)m(v)m(oking)h(Bash],)h(page)e(69\),)j(then)d Fs($0)e +Ft(is)i(set)g(to)g(the)g(\014rst)630 1309 y(argumen)m(t)31 +b(after)g(the)g(string)g(to)g(b)s(e)f(executed,)i(if)f(one)g(is)f +(presen)m(t.)42 b(Otherwise,)31 b(it)g(is)f(set)630 1419 +y(to)h(the)g(\014lename)f(used)g(to)h(in)m(v)m(ok)m(e)h(Bash,)f(as)g +(giv)m(en)g(b)m(y)f(argumen)m(t)h(zero.)150 1595 y Fs(_)432 +b Ft(\(An)27 b(underscore.\))39 b(A)m(t)29 b(shell)e(startup,)h(set)f +(to)h(the)g(absolute)g(pathname)f(used)f(to)i(in)m(v)m(ok)m(e)630 +1705 y(the)22 b(shell)g(or)g(shell)g(script)f(b)s(eing)h(executed)h(as) +f(passed)f(in)g(the)h(en)m(vironmen)m(t)h(or)e(argumen)m(t)630 +1815 y(list.)72 b(Subsequen)m(tly)-8 b(,)43 b(expands)c(to)j(the)e +(last)i(argumen)m(t)f(to)g(the)g(previous)f(command,)630 +1924 y(after)35 b(expansion.)54 b(Also)36 b(set)f(to)h(the)f(full)f (pathname)h(used)f(to)h(in)m(v)m(ok)m(e)i(eac)m(h)f(command)630 -518 y(executed)42 b(and)e(placed)i(in)e(the)h(en)m(vironmen)m(t)h(exp)s -(orted)f(to)g(that)h(command.)72 b(When)630 628 y(c)m(hec)m(king)32 +2034 y(executed)42 b(and)e(placed)i(in)e(the)h(en)m(vironmen)m(t)h(exp) +s(orted)f(to)g(that)h(command.)72 b(When)630 2143 y(c)m(hec)m(king)32 b(mail,)f(this)g(parameter)g(holds)e(the)i(name)f(of)h(the)g(mail)g -(\014le.)150 901 y Fr(3.5)68 b(Shell)45 b(Expansions)275 -1151 y Ft(Expansion)29 b(is)h(p)s(erformed)e(on)i(the)g(command)g(line) +(\014le.)150 2443 y Fr(3.5)68 b(Shell)45 b(Expansions)275 +2704 y Ft(Expansion)29 b(is)h(p)s(erformed)e(on)i(the)g(command)g(line) g(after)h(it)f(has)g(b)s(een)f(split)h(in)m(to)h Fs(token)p -Ft(s.)39 b(There)150 1261 y(are)31 b(sev)m(en)g(kinds)e(of)i(expansion) -f(p)s(erformed:)225 1401 y Fp(\017)60 b Ft(brace)31 b(expansion)225 -1539 y Fp(\017)60 b Ft(tilde)31 b(expansion)225 1677 +Ft(s.)39 b(There)150 2814 y(are)31 b(sev)m(en)g(kinds)e(of)i(expansion) +f(p)s(erformed:)225 2966 y Fp(\017)60 b Ft(brace)31 b(expansion)225 +3109 y Fp(\017)60 b Ft(tilde)31 b(expansion)225 3252 y Fp(\017)60 b Ft(parameter)31 b(and)f(v)-5 b(ariable)31 -b(expansion)225 1814 y Fp(\017)60 b Ft(command)30 b(substitution)225 -1952 y Fp(\017)60 b Ft(arithmetic)32 b(expansion)225 -2089 y Fp(\017)60 b Ft(w)m(ord)30 b(splitting)225 2227 -y Fp(\017)60 b Ft(\014lename)31 b(expansion)275 2396 +b(expansion)225 3395 y Fp(\017)60 b Ft(command)30 b(substitution)225 +3538 y Fp(\017)60 b Ft(arithmetic)32 b(expansion)225 +3681 y Fp(\017)60 b Ft(w)m(ord)30 b(splitting)225 3824 +y Fp(\017)60 b Ft(\014lename)31 b(expansion)275 4009 y(The)i(order)g(of)h(expansions)g(is:)47 b(brace)34 b(expansion,)h (tilde)g(expansion,)f(parameter,)i(v)-5 b(ariable,)36 -b(and)150 2505 y(arithmetic)46 b(expansion)f(and)g(command)f +b(and)150 4118 y(arithmetic)46 b(expansion)f(and)g(command)f (substitution)h(\(done)g(in)g(a)g(left-to-righ)m(t)j(fashion\),)h(w)m -(ord)150 2615 y(splitting,)31 b(and)f(\014lename)h(expansion.)275 -2756 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,)47 +(ord)150 4228 y(splitting,)31 b(and)f(\014lename)h(expansion.)275 +4379 y(On)42 b(systems)h(that)h(can)g(supp)s(ort)e(it,)47 b(there)d(is)f(an)h(additional)g(expansion)f(a)m(v)-5 -b(ailable:)69 b Fq(pro)s(cess)150 2865 y(substitution)p +b(ailable:)69 b Fq(pro)s(cess)150 4489 y(substitution)p Ft(.)61 b(This)36 b(is)h(p)s(erformed)f(at)i(the)f(same)h(time)f(as)h (parameter,)h(v)-5 b(ariable,)40 b(and)d(arithmetic)150 -2975 y(expansion)30 b(and)g(command)g(substitution.)275 -3116 y(Only)35 b(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d +4599 y(expansion)30 b(and)g(command)g(substitution.)275 +4750 y(Only)35 b(brace)i(expansion,)h(w)m(ord)e(splitting,)j(and)d (\014lename)g(expansion)g(can)h(c)m(hange)h(the)e(n)m(um)m(b)s(er)150 -3225 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f +4860 y(of)h(w)m(ords)f(of)g(the)h(expansion;)i(other)e(expansions)f (expand)g(a)h(single)g(w)m(ord)f(to)h(a)g(single)g(w)m(ord.)58 -b(The)150 3335 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f +b(The)150 4969 y(only)32 b(exceptions)i(to)f(this)f(are)h(the)f (expansions)g(of)h Fs("$@")e Ft(\(see)i(Section)g(3.4.2)h([Sp)s(ecial)f -(P)m(arameters],)150 3444 y(page)e(16\))h(and)d Fs("${)p +(P)m(arameters],)150 5079 y(page)e(16\))h(and)d Fs("${)p Fj(name)11 b Fs([@]}")27 b Ft(\(see)k(Section)h(6.7)f([Arra)m(ys],)g -(page)g(78\).)275 3585 y(After)41 b(all)i(expansions,)h +(page)g(78\).)275 5230 y(After)41 b(all)i(expansions,)h Fs(quote)29 b(removal)40 b Ft(\(see)i(Section)h(3.5.9)g([Quote)f(Remo)m -(v)-5 b(al],)47 b(page)42 b(25\))h(is)150 3695 y(p)s(erformed.)150 -3931 y Fk(3.5.1)63 b(Brace)40 b(Expansion)275 4182 y -Ft(Brace)21 b(expansion)g(is)g(a)g(mec)m(hanism)g(b)m(y)g(whic)m(h)f -(arbitrary)h(strings)f(ma)m(y)i(b)s(e)e(generated.)38 -b(This)20 b(mec)m(h-)150 4291 y(anism)35 b(is)h(similar)f(to)h +(v)-5 b(al],)47 b(page)42 b(25\))h(is)150 5340 y(p)s(erformed.)p +eop end +%%Page: 18 24 +TeXDict begin 18 23 bop 150 -116 a Ft(18)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fk(3.5.1)63 b(Brace)40 +b(Expansion)275 545 y Ft(Brace)21 b(expansion)g(is)g(a)g(mec)m(hanism)g +(b)m(y)g(whic)m(h)f(arbitrary)h(strings)f(ma)m(y)i(b)s(e)e(generated.) +38 b(This)20 b(mec)m(h-)150 654 y(anism)35 b(is)h(similar)f(to)h Fq(\014lename)g(expansion)f Ft(\(see)i(Section)f(3.5.8)h([Filename)g -(Expansion],)f(page)g(23\),)150 4401 y(but)24 b(the)i(\014le)f(names)g +(Expansion],)f(page)g(23\),)150 764 y(but)24 b(the)i(\014le)f(names)g (generated)h(need)f(not)g(exist.)40 b(P)m(atterns)26 b(to)g(b)s(e)e(brace)i(expanded)e(tak)m(e)j(the)e(form)g(of)150 -4511 y(an)30 b(optional)h Fq(pream)m(ble)p Ft(,)g(follo)m(w)m(ed)g(b)m +874 y(an)30 b(optional)h Fq(pream)m(ble)p Ft(,)g(follo)m(w)m(ed)g(b)m (y)f(either)g(a)h(series)f(of)g(comma-separated)i(strings)d(or)h(a)h -(seqeunce)150 4620 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i +(seqeunce)150 983 y(expression)36 b(b)s(et)m(w)m(een)g(a)h(pair)e(of)i (braces,)g(follo)m(w)m(ed)h(b)m(y)e(an)g(optional)h Fq(p)s(ostscript)p -Ft(.)57 b(The)36 b(pream)m(ble)g(is)150 4730 y(pre\014xed)28 +Ft(.)57 b(The)36 b(pream)m(ble)g(is)150 1093 y(pre\014xed)28 b(to)h(eac)m(h)h(string)f(con)m(tained)h(within)e(the)h(braces,)g(and)g (the)g(p)s(ostscript)f(is)h(then)f(app)s(ended)f(to)150 -4839 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ) -m(t.)275 4980 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59 +1202 y(eac)m(h)32 b(resulting)e(string,)h(expanding)e(left)j(to)f(righ) +m(t.)275 1339 y(Brace)37 b(expansions)f(ma)m(y)h(b)s(e)f(nested.)59 b(The)36 b(results)g(of)h(eac)m(h)g(expanded)f(string)g(are)h(not)g -(sorted;)150 5090 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m -(ed.)41 b(F)-8 b(or)31 b(example,)390 5230 y Fs(bash$)46 -b(echo)h(a{d,c,b}e)390 5340 y(ade)g(ace)g(abe)p eop end -%%Page: 18 24 -TeXDict begin 18 23 bop 150 -116 a Ft(18)2572 b(Bash)31 -b(Reference)g(Man)m(ual)275 299 y(A)24 b(sequence)h(expression)g(tak)m -(es)h(the)f(form)f Fs({)p Fj(x)p Fs(..)p Fj(y)11 b Fs(})p -Ft(,)23 b(where)i Fq(x)30 b Ft(and)24 b Fq(y)33 b Ft(are)25 -b(either)g(in)m(tegers)h(or)e(single)150 408 y(c)m(haracters.)43 -b(When)30 b(in)m(tegers)i(are)f(supplied,)e(the)i(expression)f(expands) -g(to)h(eac)m(h)h(n)m(um)m(b)s(er)d(b)s(et)m(w)m(een)i -Fq(x)150 518 y Ft(and)i Fq(y)p Ft(,)i(inclusiv)m(e.)53 -b(When)34 b(c)m(haracters)h(are)f(supplied,)g(the)h(expression)e -(expands)g(to)i(eac)m(h)g(c)m(haracter)150 628 y(lexicographically)e(b) -s(et)m(w)m(een)e Fq(x)37 b Ft(and)30 b Fq(y)p Ft(,)h(inclusiv)m(e.)42 -b(Note)31 b(that)g(b)s(oth)f Fq(x)37 b Ft(and)30 b Fq(y)38 -b Ft(m)m(ust)30 b(b)s(e)g(of)h(the)g(same)150 737 y(t)m(yp)s(e.)275 -874 y(Brace)36 b(expansion)g(is)f(p)s(erformed)f(b)s(efore)h(an)m(y)h -(other)g(expansions,)h(and)e(an)m(y)g(c)m(haracters)i(sp)s(ecial)150 -983 y(to)32 b(other)g(expansions)g(are)g(preserv)m(ed)f(in)h(the)f -(result.)45 b(It)32 b(is)g(strictly)g(textual.)46 b(Bash)32 -b(do)s(es)f(not)h(apply)150 1093 y(an)m(y)27 b(syn)m(tactic)i(in)m -(terpretation)g(to)f(the)f(con)m(text)i(of)e(the)g(expansion)g(or)g -(the)h(text)g(b)s(et)m(w)m(een)f(the)h(braces.)150 1202 -y(T)-8 b(o)37 b(a)m(v)m(oid)g(con\015icts)g(with)f(parameter)h +(sorted;)150 1448 y(left)31 b(to)g(righ)m(t)g(order)f(is)g(preserv)m +(ed.)41 b(F)-8 b(or)31 b(example,)390 1584 y Fs(bash$)46 +b(echo)h(a{d,c,b}e)390 1694 y(ade)g(ace)g(abe)275 1830 +y Ft(A)29 b(sequence)g(expression)g(tak)m(es)h(the)f(form)g +Fs({)p Fj(x)p Fs(..)p Fj(y)11 b Fs([)p Fj(incr)g Fs(]})p +Ft(,)25 b(where)k Fq(x)35 b Ft(and)28 b Fq(y)37 b Ft(are)29 +b(either)h(in)m(tegers)150 1940 y(or)42 b(single)h(c)m(haracters,)48 +b(and)41 b Fq(incr)p Ft(,)46 b(an)c(optional)i(incremen)m(t,)i(is)c(an) +h(in)m(teger.)78 b(When)42 b(in)m(tegers)i(are)150 2049 +y(supplied,)f(the)f(expression)f(expands)f(to)i(eac)m(h)h(n)m(um)m(b)s +(er)d(b)s(et)m(w)m(een)i Fq(x)47 b Ft(and)41 b Fq(y)p +Ft(,)j(inclusiv)m(e.)75 b(Supplied)150 2159 y(in)m(tegers)33 +b(ma)m(y)e(b)s(e)g(pre\014xed)f(with)h(`)p Fs(0)p Ft(')h(to)g(force)g +(eac)m(h)g(term)g(to)g(ha)m(v)m(e)g(the)g(same)g(width.)42 +b(When)31 b(either)150 2269 y Fq(x)43 b Ft(or)36 b Fq(y)44 +b Ft(b)s(egins)36 b(with)g(a)h(zero,)i(the)e(shell)g(attempts)g(to)g +(force)g(all)h(generated)f(terms)g(to)g(con)m(tain)h(the)150 +2378 y(same)e(n)m(um)m(b)s(er)e(of)i(digits,)i(zero-padding)d(where)h +(necessary)-8 b(.)57 b(When)35 b(c)m(haracters)i(are)f(supplied,)g(the) +150 2488 y(expression)h(expands)g(to)h(eac)m(h)h(c)m(haracter)g +(lexicographically)i(b)s(et)m(w)m(een)d Fq(x)44 b Ft(and)37 +b Fq(y)p Ft(,)i(inclusiv)m(e.)64 b(Note)150 2597 y(that)30 +b(b)s(oth)e Fq(x)35 b Ft(and)28 b Fq(y)37 b Ft(m)m(ust)29 +b(b)s(e)f(of)h(the)g(same)g(t)m(yp)s(e.)41 b(When)28 +b(the)i(incremen)m(t)f(is)g(supplied,)f(it)i(is)f(used)f(as)150 +2707 y(the)j(di\013erence)f(b)s(et)m(w)m(een)h(eac)m(h)h(term.)41 +b(The)30 b(default)g(incremen)m(t)h(is)g(1)f(or)h(-1)g(as)f +(appropriate.)275 2843 y(Brace)36 b(expansion)g(is)f(p)s(erformed)f(b)s +(efore)h(an)m(y)h(other)g(expansions,)h(and)e(an)m(y)g(c)m(haracters)i +(sp)s(ecial)150 2953 y(to)32 b(other)g(expansions)g(are)g(preserv)m(ed) +f(in)h(the)f(result.)45 b(It)32 b(is)g(strictly)g(textual.)46 +b(Bash)32 b(do)s(es)f(not)h(apply)150 3062 y(an)m(y)27 +b(syn)m(tactic)i(in)m(terpretation)g(to)f(the)f(con)m(text)i(of)e(the)g +(expansion)g(or)g(the)h(text)g(b)s(et)m(w)m(een)f(the)h(braces.)150 +3172 y(T)-8 b(o)37 b(a)m(v)m(oid)g(con\015icts)g(with)f(parameter)h (expansion,)g(the)g(string)f(`)p Fs(${)p Ft(')g(is)g(not)g(considered)g -(eligible)i(for)150 1312 y(brace)31 b(expansion.)275 -1448 y(A)e(correctly-formed)i(brace)f(expansion)f(m)m(ust)h(con)m(tain) +(eligible)i(for)150 3282 y(brace)31 b(expansion.)275 +3418 y(A)e(correctly-formed)i(brace)f(expansion)f(m)m(ust)h(con)m(tain) h(unquoted)e(op)s(ening)g(and)g(closing)i(braces,)150 -1558 y(and)h(at)i(least)g(one)f(unquoted)g(comma)g(or)g(a)h(v)-5 +3527 y(and)h(at)i(least)g(one)f(unquoted)g(comma)g(or)g(a)h(v)-5 b(alid)33 b(sequence)g(expression.)48 b(An)m(y)33 b(incorrectly)h -(formed)150 1667 y(brace)d(expansion)f(is)g(left)h(unc)m(hanged.)275 -1804 y(A)25 b Fs({)g Ft(or)g(`)p Fs(,)p Ft(')g(ma)m(y)h(b)s(e)f(quoted) +(formed)150 3637 y(brace)d(expansion)f(is)g(left)h(unc)m(hanged.)275 +3773 y(A)25 b Fs({)g Ft(or)g(`)p Fs(,)p Ft(')g(ma)m(y)h(b)s(e)f(quoted) g(with)g(a)h(bac)m(kslash)f(to)h(prev)m(en)m(t)g(its)g(b)s(eing)f -(considered)g(part)g(of)g(a)h(brace)150 1913 y(expression.)51 +(considered)g(part)g(of)g(a)h(brace)150 3883 y(expression.)51 b(T)-8 b(o)34 b(a)m(v)m(oid)i(con\015icts)e(with)g(parameter)g (expansion,)h(the)f(string)g(`)p Fs(${)p Ft(')g(is)g(not)g(considered) -150 2023 y(eligible)e(for)e(brace)h(expansion.)275 2159 +150 3993 y(eligible)e(for)e(brace)h(expansion.)275 4129 y(This)f(construct)h(is)g(t)m(ypically)i(used)d(as)h(shorthand)f(when)g (the)h(common)g(pre\014x)f(of)h(the)g(strings)g(to)150 -2269 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s(o)m(v)m -(e)i(example:)390 2405 y Fs(mkdir)46 b(/usr/local/src/bash/{old,n)o -(ew,)o(dist)o(,bug)o(s})275 2541 y Ft(or)390 2677 y Fs(chown)g(root)h +4238 y(b)s(e)f(generated)h(is)g(longer)g(than)f(in)g(the)g(ab)s(o)m(v)m +(e)i(example:)390 4375 y Fs(mkdir)46 b(/usr/local/src/bash/{old,n)o +(ew,)o(dist)o(,bug)o(s})275 4511 y Ft(or)390 4647 y Fs(chown)g(root)h (/usr/{ucb/{ex,edit},lib/)o({ex?)o(.?*,)o(how)o(_ex})o(})150 -2905 y Fk(3.5.2)63 b(Tilde)41 b(Expansion)275 3151 y +4875 y Fk(3.5.2)63 b(Tilde)41 b(Expansion)275 5121 y Ft(If)i(a)i(w)m(ord)e(b)s(egins)h(with)f(an)h(unquoted)f(tilde)i(c)m (haracter)h(\(`)p Fs(~)p Ft('\),)i(all)d(of)g(the)f(c)m(haracters)h(up) -e(to)150 3261 y(the)35 b(\014rst)f(unquoted)f(slash)i(\(or)g(all)g(c)m +e(to)150 5230 y(the)35 b(\014rst)f(unquoted)f(slash)i(\(or)g(all)g(c)m (haracters,)i(if)e(there)g(is)f(no)h(unquoted)e(slash\))i(are)g -(considered)g(a)150 3370 y Fq(tilde-pre\014x)p Ft(.)55 +(considered)g(a)150 5340 y Fq(tilde-pre\014x)p Ft(.)55 b(If)35 b(none)g(of)g(the)g(c)m(haracters)i(in)d(the)i(tilde-pre\014x)f -(are)g(quoted,)i(the)e(c)m(haracters)i(in)e(the)150 3480 +(are)g(quoted,)i(the)e(c)m(haracters)i(in)e(the)p eop +end +%%Page: 19 25 +TeXDict begin 19 24 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(19)150 299 y(tilde-pre\014x)27 b(follo)m(wing)h(the)f(tilde)h(are)f(treated)h(as)f (a)g(p)s(ossible)f Fq(login)i(name)p Ft(.)39 b(If)27 -b(this)f(login)i(name)f(is)g(the)150 3589 y(n)m(ull)k(string,)h(the)f +b(this)f(login)i(name)f(is)g(the)150 408 y(n)m(ull)k(string,)h(the)f (tilde)h(is)g(replaced)g(with)f(the)g(v)-5 b(alue)32 b(of)f(the)h Fs(HOME)e Ft(shell)h(v)-5 b(ariable.)45 -b(If)31 b Fs(HOME)f Ft(is)h(unset,)150 3699 y(the)37 -b(home)f(directory)h(of)g(the)f(user)g(executing)i(the)f(shell)f(is)h -(substituted)f(instead.)59 b(Otherwise,)38 b(the)150 -3809 y(tilde-pre\014x)30 b(is)h(replaced)g(with)f(the)g(home)h -(directory)g(asso)s(ciated)g(with)f(the)h(sp)s(eci\014ed)f(login)h -(name.)275 3945 y(If)h(the)h(tilde-pre\014x)f(is)h(`)p -Fs(~+)p Ft(',)g(the)g(v)-5 b(alue)33 b(of)g(the)g(shell)g(v)-5 -b(ariable)34 b Fs(PWD)d Ft(replaces)j(the)f(tilde-pre\014x.)47 -b(If)150 4054 y(the)31 b(tilde-pre\014x)f(is)g(`)p Fs(~-)p -Ft(',)h(the)f(v)-5 b(alue)31 b(of)g(the)f(shell)h(v)-5 -b(ariable)31 b Fs(OLDPWD)p Ft(,)e(if)h(it)h(is)g(set,)g(is)f -(substituted.)275 4191 y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the) -e(tilde)g(in)g(the)g(tilde-pre\014x)g(consist)g(of)g(a)h(n)m(um)m(b)s -(er)d Fq(N)p Ft(,)j(optionally)150 4300 y(pre\014xed)22 -b(b)m(y)h(a)h(`)p Fs(+)p Ft(')f(or)h(a)f(`)p Fs(-)p Ft(',)j(the)d -(tilde-pre\014x)g(is)h(replaced)f(with)g(the)h(corresp)s(onding)e -(elemen)m(t)j(from)e(the)150 4410 y(directory)36 b(stac)m(k,)i(as)e(it) -g(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m(y)g(the)f -Fs(dirs)g Ft(builtin)g(in)m(v)m(ok)m(ed)i(with)e(the)g(c)m(haracters) -150 4519 y(follo)m(wing)40 b(tilde)f(in)g(the)f(tilde-pre\014x)h(as)g -(an)f(argumen)m(t)h(\(see)h(Section)f(6.8)h([The)e(Directory)i(Stac)m -(k],)150 4629 y(page)c(79\).)57 b(If)35 b(the)g(tilde-pre\014x,)i(sans) -e(the)h(tilde,)h(consists)f(of)g(a)f(n)m(um)m(b)s(er)f(without)i(a)f -(leading)h(`)p Fs(+)p Ft(')g(or)150 4739 y(`)p Fs(-)p -Ft(',)31 b(`)p Fs(+)p Ft(')f(is)h(assumed.)275 4875 y(If)e(the)i(login) -g(name)g(is)f(in)m(v)-5 b(alid,)31 b(or)g(the)f(tilde)h(expansion)f -(fails,)i(the)e(w)m(ord)g(is)h(left)g(unc)m(hanged.)275 -5011 y(Eac)m(h)38 b(v)-5 b(ariable)38 b(assignmen)m(t)h(is)e(c)m(hec)m -(k)m(ed)j(for)d(unquoted)g(tilde-pre\014xes)h(immediately)g(follo)m -(wing)150 5121 y(a)d(`)p Fs(:)p Ft(')g(or)g(the)g(\014rst)f(`)p -Fs(=)p Ft('.)54 b(In)34 b(these)h(cases,)i(tilde)e(expansion)g(is)g -(also)h(p)s(erformed.)52 b(Consequen)m(tly)-8 b(,)37 -b(one)150 5230 y(ma)m(y)27 b(use)e(\014le)h(names)g(with)g(tildes)g(in) -g(assignmen)m(ts)h(to)g Fs(PATH)p Ft(,)f Fs(MAILPATH)p -Ft(,)e(and)i Fs(CDPATH)p Ft(,)f(and)h(the)g(shell)150 -5340 y(assigns)31 b(the)f(expanded)g(v)-5 b(alue.)p eop -end -%%Page: 19 25 -TeXDict begin 19 24 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(19)275 299 -y(The)29 b(follo)m(wing)j(table)g(sho)m(ws)e(ho)m(w)g(Bash)h(treats)g -(unquoted)e(tilde-pre\014xes:)150 472 y Fs(~)432 b Ft(The)30 -b(v)-5 b(alue)31 b(of)f Fs($HOME)150 641 y(~/foo)240 -b Ft(`)p Fs($HOME/foo)p Ft(')150 809 y Fs(~fred/foo)630 -919 y Ft(The)30 b(sub)s(directory)f Fs(foo)h Ft(of)g(the)h(home)f -(directory)h(of)g(the)f(user)g Fs(fred)150 1087 y(~+/foo)192 -b Ft(`)p Fs($PWD/foo)p Ft(')150 1256 y Fs(~-/foo)g Ft(`)p -Fs(${OLDPWD-'~-'}/foo)p Ft(')150 1424 y Fs(~)p Fj(N)384 +b(If)31 b Fs(HOME)f Ft(is)h(unset,)150 518 y(the)37 b(home)f(directory) +h(of)g(the)f(user)g(executing)i(the)f(shell)f(is)h(substituted)f +(instead.)59 b(Otherwise,)38 b(the)150 628 y(tilde-pre\014x)30 +b(is)h(replaced)g(with)f(the)g(home)h(directory)g(asso)s(ciated)g(with) +f(the)h(sp)s(eci\014ed)f(login)h(name.)275 765 y(If)h(the)h +(tilde-pre\014x)f(is)h(`)p Fs(~+)p Ft(',)g(the)g(v)-5 +b(alue)33 b(of)g(the)g(shell)g(v)-5 b(ariable)34 b Fs(PWD)d +Ft(replaces)j(the)f(tilde-pre\014x.)47 b(If)150 875 y(the)31 +b(tilde-pre\014x)f(is)g(`)p Fs(~-)p Ft(',)h(the)f(v)-5 +b(alue)31 b(of)g(the)f(shell)h(v)-5 b(ariable)31 b Fs(OLDPWD)p +Ft(,)e(if)h(it)h(is)g(set,)g(is)f(substituted.)275 1012 +y(If)f(the)h(c)m(haracters)h(follo)m(wing)h(the)e(tilde)g(in)g(the)g +(tilde-pre\014x)g(consist)g(of)g(a)h(n)m(um)m(b)s(er)d +Fq(N)p Ft(,)j(optionally)150 1122 y(pre\014xed)22 b(b)m(y)h(a)h(`)p +Fs(+)p Ft(')f(or)h(a)f(`)p Fs(-)p Ft(',)j(the)d(tilde-pre\014x)g(is)h +(replaced)f(with)g(the)h(corresp)s(onding)e(elemen)m(t)j(from)e(the)150 +1231 y(directory)36 b(stac)m(k,)i(as)e(it)g(w)m(ould)f(b)s(e)g(displa)m +(y)m(ed)h(b)m(y)g(the)f Fs(dirs)g Ft(builtin)g(in)m(v)m(ok)m(ed)i(with) +e(the)g(c)m(haracters)150 1341 y(follo)m(wing)40 b(tilde)f(in)g(the)f +(tilde-pre\014x)h(as)g(an)f(argumen)m(t)h(\(see)h(Section)f(6.8)h([The) +e(Directory)i(Stac)m(k],)150 1451 y(page)c(79\).)57 b(If)35 +b(the)g(tilde-pre\014x,)i(sans)e(the)h(tilde,)h(consists)f(of)g(a)f(n)m +(um)m(b)s(er)f(without)i(a)f(leading)h(`)p Fs(+)p Ft(')g(or)150 +1560 y(`)p Fs(-)p Ft(',)31 b(`)p Fs(+)p Ft(')f(is)h(assumed.)275 +1698 y(If)e(the)i(login)g(name)g(is)f(in)m(v)-5 b(alid,)31 +b(or)g(the)f(tilde)h(expansion)f(fails,)i(the)e(w)m(ord)g(is)h(left)g +(unc)m(hanged.)275 1835 y(Eac)m(h)38 b(v)-5 b(ariable)38 +b(assignmen)m(t)h(is)e(c)m(hec)m(k)m(ed)j(for)d(unquoted)g +(tilde-pre\014xes)h(immediately)g(follo)m(wing)150 1945 +y(a)d(`)p Fs(:)p Ft(')g(or)g(the)g(\014rst)f(`)p Fs(=)p +Ft('.)54 b(In)34 b(these)h(cases,)i(tilde)e(expansion)g(is)g(also)h(p)s +(erformed.)52 b(Consequen)m(tly)-8 b(,)37 b(one)150 2054 +y(ma)m(y)27 b(use)e(\014le)h(names)g(with)g(tildes)g(in)g(assignmen)m +(ts)h(to)g Fs(PATH)p Ft(,)f Fs(MAILPATH)p Ft(,)e(and)i +Fs(CDPATH)p Ft(,)f(and)h(the)g(shell)150 2164 y(assigns)31 +b(the)f(expanded)g(v)-5 b(alue.)275 2301 y(The)29 b(follo)m(wing)j +(table)g(sho)m(ws)e(ho)m(w)g(Bash)h(treats)g(unquoted)e +(tilde-pre\014xes:)150 2465 y Fs(~)432 b Ft(The)30 b(v)-5 +b(alue)31 b(of)f Fs($HOME)150 2627 y(~/foo)240 b Ft(`)p +Fs($HOME/foo)p Ft(')150 2790 y Fs(~fred/foo)630 2899 +y Ft(The)30 b(sub)s(directory)f Fs(foo)h Ft(of)g(the)h(home)f +(directory)h(of)g(the)f(user)g Fs(fred)150 3062 y(~+/foo)192 +b Ft(`)p Fs($PWD/foo)p Ft(')150 3224 y Fs(~-/foo)g Ft(`)p +Fs(${OLDPWD-'~-'}/foo)p Ft(')150 3386 y Fs(~)p Fj(N)384 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m(ed)h(b)m -(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 1593 y Fs(~+)p +(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 3549 y Fs(~+)p Fj(N)336 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g(displa)m(y)m -(ed)h(b)m(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 1761 +(ed)h(b)m(y)f(`)p Fs(dirs)g(+)p Fj(N)11 b Ft(')150 3711 y Fs(~-)p Fj(N)336 b Ft(The)30 b(string)g(that)h(w)m(ould)f(b)s(e)g (displa)m(y)m(ed)h(b)m(y)f(`)p Fs(dirs)g(-)p Fj(N)11 -b Ft(')150 2004 y Fk(3.5.3)63 b(Shell)41 b(P)m(arameter)f(Expansion)275 -2257 y Ft(The)26 b(`)p Fs($)p Ft(')i(c)m(haracter)h(in)m(tro)s(duces)e +b Ft(')150 3941 y Fk(3.5.3)63 b(Shell)41 b(P)m(arameter)f(Expansion)275 +4188 y Ft(The)26 b(`)p Fs($)p Ft(')i(c)m(haracter)h(in)m(tro)s(duces)e (parameter)h(expansion,)g(command)f(substitution,)h(or)g(arithmetic)150 -2367 y(expansion.)38 b(The)22 b(parameter)h(name)f(or)g(sym)m(b)s(ol)h +4298 y(expansion.)38 b(The)22 b(parameter)h(name)f(or)g(sym)m(b)s(ol)h (to)g(b)s(e)e(expanded)h(ma)m(y)h(b)s(e)f(enclosed)h(in)f(braces,)i -(whic)m(h)150 2476 y(are)31 b(optional)g(but)f(serv)m(e)h(to)h(protect) +(whic)m(h)150 4408 y(are)31 b(optional)g(but)f(serv)m(e)h(to)h(protect) f(the)g(v)-5 b(ariable)31 b(to)g(b)s(e)f(expanded)g(from)g(c)m -(haracters)i(immediately)150 2586 y(follo)m(wing)g(it)f(whic)m(h)f +(haracters)i(immediately)150 4517 y(follo)m(wing)g(it)f(whic)m(h)f (could)g(b)s(e)g(in)m(terpreted)h(as)f(part)h(of)f(the)h(name.)275 -2729 y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f +4655 y(When)44 b(braces)i(are)f(used,)j(the)e(matc)m(hing)g(ending)f (brace)g(is)g(the)g(\014rst)g(`)p Fs(})p Ft(')g(not)g(escap)s(ed)h(b)m -(y)f(a)150 2839 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,) +(y)f(a)150 4764 y(bac)m(kslash)40 b(or)f(within)g(a)g(quoted)g(string,) j(and)c(not)i(within)e(an)h(em)m(b)s(edded)f(arithmetic)j(expansion,) -150 2949 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275 -3092 y(The)40 b(basic)h(form)g(of)g(parameter)h(expansion)e(is)h($)p +150 4874 y(command)30 b(substitution,)g(or)h(parameter)g(expansion.)275 +5011 y(The)40 b(basic)h(form)g(of)g(parameter)h(expansion)e(is)h($)p Fs({)p Fq(parameter)7 b Fs(})p Ft(.)73 b(The)40 b(v)-5 -b(alue)42 b(of)f Fq(parameter)48 b Ft(is)150 3202 y(substituted.)43 +b(alue)42 b(of)f Fq(parameter)48 b Ft(is)150 5121 y(substituted.)43 b(The)31 b(braces)g(are)h(required)e(when)h Fq(parameter)38 b Ft(is)31 b(a)h(p)s(ositional)g(parameter)g(with)f(more)150 -3311 y(than)h(one)g(digit,)i(or)e(when)g Fq(parameter)39 +5230 y(than)h(one)g(digit,)i(or)e(when)g Fq(parameter)39 b Ft(is)32 b(follo)m(w)m(ed)i(b)m(y)e(a)h(c)m(haracter)h(that)e(is)h -(not)f(to)h(b)s(e)f(in)m(terpreted)150 3421 y(as)f(part)f(of)g(its)h -(name.)275 3565 y(If)26 b(the)i(\014rst)f(c)m(haracter)i(of)e -Fq(parameter)35 b Ft(is)27 b(an)g(exclamation)j(p)s(oin)m(t,)e(a)g(lev) -m(el)h(of)e(v)-5 b(ariable)29 b(indirection)150 3674 -y(is)38 b(in)m(tro)s(duced.)62 b(Bash)38 b(uses)f(the)h(v)-5 +(not)f(to)h(b)s(e)f(in)m(terpreted)150 5340 y(as)f(part)f(of)g(its)h +(name.)p eop end +%%Page: 20 26 +TeXDict begin 20 25 bop 150 -116 a Ft(20)2572 b(Bash)31 +b(Reference)g(Man)m(ual)275 299 y(If)26 b(the)i(\014rst)f(c)m(haracter) +i(of)e Fq(parameter)35 b Ft(is)27 b(an)g(exclamation)j(p)s(oin)m(t,)e +(a)g(lev)m(el)h(of)e(v)-5 b(ariable)29 b(indirection)150 +408 y(is)38 b(in)m(tro)s(duced.)62 b(Bash)38 b(uses)f(the)h(v)-5 b(alue)38 b(of)g(the)g(v)-5 b(ariable)39 b(formed)e(from)g(the)h(rest)g -(of)g Fq(parameter)45 b Ft(as)150 3784 y(the)32 b(name)h(of)f(the)h(v) --5 b(ariable;)34 b(this)e(v)-5 b(ariable)33 b(is)g(then)f(expanded)f -(and)h(that)h(v)-5 b(alue)32 b(is)h(used)e(in)h(the)h(rest)150 -3893 y(of)h(the)f(substitution,)i(rather)e(than)g(the)h(v)-5 +(of)g Fq(parameter)45 b Ft(as)150 518 y(the)32 b(name)h(of)f(the)h(v)-5 +b(ariable;)34 b(this)e(v)-5 b(ariable)33 b(is)g(then)f(expanded)f(and)h +(that)h(v)-5 b(alue)32 b(is)h(used)e(in)h(the)h(rest)150 +628 y(of)h(the)f(substitution,)i(rather)e(than)g(the)h(v)-5 b(alue)34 b(of)g Fq(parameter)40 b Ft(itself.)51 b(This)33 -b(is)g(kno)m(wn)g(as)h Fs(indirect)150 4003 y(expansion)p +b(is)g(kno)m(wn)g(as)h Fs(indirect)150 737 y(expansion)p Ft(.)81 b(The)44 b(exceptions)h(to)h(this)e(are)h(the)g(expansions)f (of)h($)p Fs({)p Ft(!)p Fq(pre\014x*)8 b Fs(})43 b Ft(and)h($)p Fs({)p Ft(!)p Fq(name)5 b Ft([)p Fs(@)p Ft(])p Fs(})150 -4112 y Ft(describ)s(ed)28 b(b)s(elo)m(w.)41 b(The)28 -b(exclamation)j(p)s(oin)m(t)f(m)m(ust)f(immediately)h(follo)m(w)g(the)g -(left)f(brace)h(in)f(order)f(to)150 4222 y(in)m(tro)s(duce)i -(indirection.)275 4366 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m -(w,)i Fq(w)m(ord)h Ft(is)c(sub)5 b(ject)40 b(to)h(tilde)f(expansion,)j -(parameter)e(expansion,)150 4475 y(command)30 b(substitution,)g(and)g -(arithmetic)i(expansion.)275 4619 y(When)h(not)g(p)s(erforming)f +847 y Ft(describ)s(ed)28 b(b)s(elo)m(w.)41 b(The)28 b(exclamation)j(p)s +(oin)m(t)f(m)m(ust)f(immediately)h(follo)m(w)g(the)g(left)f(brace)h(in) +f(order)f(to)150 956 y(in)m(tro)s(duce)i(indirection.)275 +1083 y(In)39 b(eac)m(h)i(of)g(the)f(cases)h(b)s(elo)m(w,)i +Fq(w)m(ord)h Ft(is)c(sub)5 b(ject)40 b(to)h(tilde)f(expansion,)j +(parameter)e(expansion,)150 1192 y(command)30 b(substitution,)g(and)g +(arithmetic)i(expansion.)275 1319 y(When)h(not)g(p)s(erforming)f (substring)g(expansion,)j(Bash)e(tests)h(for)f(a)h(parameter)g(that)g -(is)f(unset)g(or)150 4729 y(n)m(ull;)38 b(omitting)e(the)f(colon)h +(is)f(unset)g(or)150 1428 y(n)m(ull;)38 b(omitting)e(the)f(colon)h (results)f(in)g(a)h(test)g(only)f(for)g(a)g(parameter)h(that)f(is)h -(unset.)54 b(Put)35 b(another)150 4838 y(w)m(a)m(y)-8 +(unset.)54 b(Put)35 b(another)150 1538 y(w)m(a)m(y)-8 b(,)31 b(if)e(the)g(colon)h(is)f(included,)f(the)h(op)s(erator)h(tests) f(for)g(b)s(oth)f(existence)i(and)f(that)g(the)g(v)-5 -b(alue)30 b(is)f(not)150 4948 y(n)m(ull;)i(if)f(the)g(colon)i(is)e +b(alue)30 b(is)f(not)150 1648 y(n)m(ull;)i(if)f(the)g(colon)i(is)e (omitted,)i(the)e(op)s(erator)h(tests)g(only)g(for)f(existence.)150 -5121 y Fs(${)p Fj(parameter)11 b Fs(:)p Fp(\000)p Fj(word)g -Fs(})630 5230 y Ft(If)30 b Fq(parameter)37 b Ft(is)30 +1791 y Fs(${)p Fj(parameter)11 b Fs(:)p Fp(\000)p Fj(word)g +Fs(})630 1901 y Ft(If)30 b Fq(parameter)37 b Ft(is)30 b(unset)g(or)h(n)m(ull,)f(the)h(expansion)f(of)g Fq(w)m(ord)k -Ft(is)c(substituted.)40 b(Otherwise,)630 5340 y(the)31 -b(v)-5 b(alue)30 b(of)h Fq(parameter)37 b Ft(is)31 b(substituted.)p -eop end -%%Page: 20 26 -TeXDict begin 20 25 bop 150 -116 a Ft(20)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fs(${)p Fj(parameter)11 -b Fs(:=)p Fj(word)g Fs(})630 408 y Ft(If)33 b Fq(parameter)40 -b Ft(is)33 b(unset)f(or)h(n)m(ull,)h(the)f(expansion)g(of)g -Fq(w)m(ord)j Ft(is)d(assigned)g(to)h Fq(parameter)p Ft(.)630 -518 y(The)c(v)-5 b(alue)32 b(of)f Fq(parameter)38 b Ft(is)31 -b(then)g(substituted.)42 b(P)m(ositional)33 b(parameters)e(and)f(sp)s -(ecial)630 628 y(parameters)h(ma)m(y)g(not)f(b)s(e)g(assigned)h(to)g -(in)f(this)g(w)m(a)m(y)-8 b(.)150 788 y Fs(${)p Fj(parameter)11 -b Fs(:?)p Fj(word)g Fs(})630 897 y Ft(If)26 b Fq(parameter)33 -b Ft(is)26 b(n)m(ull)g(or)g(unset,)h(the)f(expansion)g(of)g -Fq(w)m(ord)k Ft(\(or)c(a)h(message)g(to)g(that)f(e\013ect)630 -1007 y(if)i Fq(w)m(ord)j Ft(is)d(not)g(presen)m(t\))h(is)f(written)g -(to)h(the)f(standard)f(error)h(and)f(the)h(shell,)h(if)f(it)h(is)f(not) -630 1117 y(in)m(teractiv)m(e,)33 b(exits.)42 b(Otherwise,)30 -b(the)h(v)-5 b(alue)31 b(of)f Fq(parameter)38 b Ft(is)30 -b(substituted.)150 1277 y Fs(${)p Fj(parameter)11 b Fs(:+)p -Fj(word)g Fs(})630 1386 y Ft(If)35 b Fq(parameter)42 +Ft(is)c(substituted.)40 b(Otherwise,)630 2010 y(the)31 +b(v)-5 b(alue)30 b(of)h Fq(parameter)37 b Ft(is)31 b(substituted.)150 +2153 y Fs(${)p Fj(parameter)11 b Fs(:=)p Fj(word)g Fs(})630 +2263 y Ft(If)33 b Fq(parameter)40 b Ft(is)33 b(unset)f(or)h(n)m(ull,)h +(the)f(expansion)g(of)g Fq(w)m(ord)j Ft(is)d(assigned)g(to)h +Fq(parameter)p Ft(.)630 2373 y(The)c(v)-5 b(alue)32 b(of)f +Fq(parameter)38 b Ft(is)31 b(then)g(substituted.)42 b(P)m(ositional)33 +b(parameters)e(and)f(sp)s(ecial)630 2482 y(parameters)h(ma)m(y)g(not)f +(b)s(e)g(assigned)h(to)g(in)f(this)g(w)m(a)m(y)-8 b(.)150 +2626 y Fs(${)p Fj(parameter)11 b Fs(:?)p Fj(word)g Fs(})630 +2735 y Ft(If)26 b Fq(parameter)33 b Ft(is)26 b(n)m(ull)g(or)g(unset,)h +(the)f(expansion)g(of)g Fq(w)m(ord)k Ft(\(or)c(a)h(message)g(to)g(that) +f(e\013ect)630 2845 y(if)i Fq(w)m(ord)j Ft(is)d(not)g(presen)m(t\))h +(is)f(written)g(to)h(the)f(standard)f(error)h(and)f(the)h(shell,)h(if)f +(it)h(is)f(not)630 2954 y(in)m(teractiv)m(e,)33 b(exits.)42 +b(Otherwise,)30 b(the)h(v)-5 b(alue)31 b(of)f Fq(parameter)38 +b Ft(is)30 b(substituted.)150 3098 y Fs(${)p Fj(parameter)11 +b Fs(:+)p Fj(word)g Fs(})630 3207 y Ft(If)35 b Fq(parameter)42 b Ft(is)36 b(n)m(ull)f(or)h(unset,)g(nothing)g(is)f(substituted,)i -(otherwise)e(the)h(expansion)630 1496 y(of)31 b Fq(w)m(ord)i -Ft(is)e(substituted.)150 1656 y Fs(${)p Fj(parameter)11 -b Fs(:)p Fj(offset)g Fs(})150 1766 y(${)p Fj(parameter)g +(otherwise)e(the)h(expansion)630 3317 y(of)31 b Fq(w)m(ord)i +Ft(is)e(substituted.)150 3460 y Fs(${)p Fj(parameter)11 +b Fs(:)p Fj(offset)g Fs(})150 3570 y(${)p Fj(parameter)g Fs(:)p Fj(offset)g Fs(:)p Fj(le)o(ngt)o(h)g Fs(})630 -1875 y Ft(Expands)44 b(to)i(up)e(to)i Fq(length)g Ft(c)m(haracters)h +3679 y Ft(Expands)44 b(to)i(up)e(to)i Fq(length)g Ft(c)m(haracters)h (of)e Fq(parameter)53 b Ft(starting)46 b(at)g(the)f(c)m(haracter)630 -1985 y(sp)s(eci\014ed)30 b(b)m(y)h Fq(o\013set)p Ft(.)42 +3789 y(sp)s(eci\014ed)30 b(b)m(y)h Fq(o\013set)p Ft(.)42 b(If)31 b Fq(length)g Ft(is)g(omitted,)h(expands)e(to)h(the)g -(substring)f(of)g Fq(parameter)630 2094 y Ft(starting)38 +(substring)f(of)g Fq(parameter)630 3898 y Ft(starting)38 b(at)g(the)f(c)m(haracter)i(sp)s(eci\014ed)e(b)m(y)g Fq(o\013set)p Ft(.)62 b Fq(length)38 b Ft(and)f Fq(o\013set)j -Ft(are)e(arithmetic)630 2204 y(expressions)30 b(\(see)i(Section)g(6.5)g +Ft(are)e(arithmetic)630 4008 y(expressions)30 b(\(see)i(Section)g(6.5)g ([Shell)f(Arithmetic],)h(page)g(76\).)43 b(This)30 b(is)h(referred)f -(to)i(as)630 2314 y(Substring)d(Expansion.)630 2449 y +(to)i(as)630 4118 y(Substring)d(Expansion.)630 4244 y Fq(length)j Ft(m)m(ust)f(ev)-5 b(aluate)33 b(to)f(a)g(n)m(um)m(b)s(er)e (greater)i(than)f(or)g(equal)h(to)g(zero.)45 b(If)30 -b Fq(o\013set)35 b Ft(ev)-5 b(al-)630 2558 y(uates)36 +b Fq(o\013set)35 b Ft(ev)-5 b(al-)630 4354 y(uates)36 b(to)h(a)f(n)m(um)m(b)s(er)e(less)i(than)f(zero,)j(the)e(v)-5 b(alue)36 b(is)g(used)f(as)g(an)h(o\013set)h(from)e(the)h(end)630 -2668 y(of)i(the)f(v)-5 b(alue)38 b(of)g Fq(parameter)p +4463 y(of)i(the)f(v)-5 b(alue)38 b(of)g Fq(parameter)p Ft(.)62 b(If)37 b Fq(parameter)45 b Ft(is)37 b(`)p Fs(@)p Ft(',)j(the)d(result)h(is)f Fq(length)h Ft(p)s(ositional)630 -2777 y(parameters)d(b)s(eginning)e(at)i Fq(o\013set)p +4573 y(parameters)d(b)s(eginning)e(at)i Fq(o\013set)p Ft(.)54 b(If)34 b Fq(parameter)41 b Ft(is)34 b(an)h(arra)m(y)f(name)h -(indexed)f(b)m(y)g(`)p Fs(@)p Ft(')630 2887 y(or)f(`)p +(indexed)f(b)m(y)g(`)p Fs(@)p Ft(')630 4682 y(or)f(`)p Fs(*)p Ft(',)g(the)g(result)g(is)g(the)g Fq(length)g Ft(mem)m(b)s(ers)f(of)h(the)g(arra)m(y)g(b)s(eginning)f(with)g -Fs(${)p Fj(param-)630 2996 y(eter)11 b Fs([)p Fj(offset)g +Fs(${)p Fj(param-)630 4792 y(eter)11 b Fs([)p Fj(offset)g Fs(]})p Ft(.)65 b(A)40 b(negativ)m(e)j Fq(o\013set)g Ft(is)d(tak)m(en)h(relativ)m(e)h(to)f(one)g(greater)g(than)f(the)630 -3106 y(maxim)m(um)h(index)f(of)i(the)f(sp)s(eci\014ed)f(arra)m(y)-8 +4902 y(maxim)m(um)h(index)f(of)i(the)f(sp)s(eci\014ed)f(arra)m(y)-8 b(.)73 b(Note)43 b(that)e(a)h(negativ)m(e)h(o\013set)f(m)m(ust)f(b)s(e) -630 3216 y(separated)27 b(from)e(the)i(colon)g(b)m(y)f(at)h(least)g +630 5011 y(separated)27 b(from)e(the)i(colon)g(b)m(y)f(at)h(least)g (one)f(space)h(to)g(a)m(v)m(oid)h(b)s(eing)d(confused)h(with)g(the)630 -3325 y(`)p Fs(:-)p Ft(')31 b(expansion.)43 b(Substring)29 +5121 y(`)p Fs(:-)p Ft(')31 b(expansion.)43 b(Substring)29 b(indexing)i(is)g(zero-based)h(unless)e(the)i(p)s(ositional)g(parame-) -630 3435 y(ters)j(are)f(used,)h(in)f(whic)m(h)g(case)i(the)e(indexing)h +630 5230 y(ters)j(are)f(used,)h(in)f(whic)m(h)g(case)i(the)e(indexing)h (starts)f(at)i(1)e(b)m(y)h(default.)53 b(If)33 b Fq(o\013set)38 -b Ft(is)c(0,)630 3544 y(and)c(the)g(p)s(ositional)i(parameters)e(are)h -(used,)f Fs($@)g Ft(is)g(pre\014xed)f(to)i(the)g(list.)150 -3705 y Fs(${!)p Fj(prefix)11 b Fs(*})150 3814 y(${!)p -Fj(prefix)g Fs(@})630 3924 y Ft(Expands)24 b(to)h(the)g(names)g(of)g(v) --5 b(ariables)26 b(whose)f(names)f(b)s(egin)h(with)f -Fq(pre\014x)p Ft(,)i(separated)f(b)m(y)630 4033 y(the)k(\014rst)f(c)m -(haracter)j(of)e(the)g Fs(IFS)f Ft(sp)s(ecial)i(v)-5 -b(ariable.)41 b(When)29 b(`)p Fs(@)p Ft(')g(is)g(used)f(and)h(the)g -(expan-)630 4143 y(sion)35 b(app)s(ears)g(within)f(double)h(quotes,)i -(eac)m(h)f(v)-5 b(ariable)36 b(name)f(expands)g(to)g(a)h(separate)630 -4253 y(w)m(ord.)150 4413 y Fs(${!)p Fj(name)11 b Fs([@]})150 -4522 y(${!)p Fj(name)g Fs([*]})630 4632 y Ft(If)26 b +b Ft(is)c(0,)630 5340 y(and)c(the)g(p)s(ositional)i(parameters)e(are)h +(used,)f Fs($@)g Ft(is)g(pre\014xed)f(to)i(the)g(list.)p +eop end +%%Page: 21 27 +TeXDict begin 21 26 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(21)150 299 +y Fs(${!)p Fj(prefix)11 b Fs(*})150 408 y(${!)p Fj(prefix)g +Fs(@})630 518 y Ft(Expands)24 b(to)h(the)g(names)g(of)g(v)-5 +b(ariables)26 b(whose)f(names)f(b)s(egin)h(with)f Fq(pre\014x)p +Ft(,)i(separated)f(b)m(y)630 628 y(the)k(\014rst)f(c)m(haracter)j(of)e +(the)g Fs(IFS)f Ft(sp)s(ecial)i(v)-5 b(ariable.)41 b(When)29 +b(`)p Fs(@)p Ft(')g(is)g(used)f(and)h(the)g(expan-)630 +737 y(sion)35 b(app)s(ears)g(within)f(double)h(quotes,)i(eac)m(h)f(v)-5 +b(ariable)36 b(name)f(expands)g(to)g(a)h(separate)630 +847 y(w)m(ord.)150 1000 y Fs(${!)p Fj(name)11 b Fs([@]})150 +1110 y(${!)p Fj(name)g Fs([*]})630 1219 y Ft(If)26 b Fq(name)32 b Ft(is)27 b(an)f(arra)m(y)h(v)-5 b(ariable,)29 b(expands)d(to)h(the)g(list)g(of)g(arra)m(y)g(indices)g(\(k)m(eys\))h -(assigned)630 4741 y(in)c Fq(name)p Ft(.)39 b(If)24 b +(assigned)630 1329 y(in)c Fq(name)p Ft(.)39 b(If)24 b Fq(name)30 b Ft(is)24 b(not)h(an)f(arra)m(y)-8 b(,)27 b(expands)c(to)j(0)f(if)f Fq(name)30 b Ft(is)24 b(set)h(and)f(n)m(ull)g -(otherwise.)630 4851 y(When)39 b(`)p Fs(@)p Ft(')h(is)f(used)g(and)f +(otherwise.)630 1439 y(When)39 b(`)p Fs(@)p Ft(')h(is)f(used)g(and)f (the)i(expansion)f(app)s(ears)g(within)f(double)h(quotes,)k(eac)m(h)d -(k)m(ey)630 4961 y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 -5121 y Fs(${#)p Fj(parameter)11 b Fs(})630 5230 y Ft(The)40 +(k)m(ey)630 1548 y(expands)30 b(to)h(a)f(separate)i(w)m(ord.)150 +1702 y Fs(${#)p Fj(parameter)11 b Fs(})630 1811 y Ft(The)40 b(length)g(in)g(c)m(haracters)i(of)e(the)h(expanded)e(v)-5 b(alue)41 b(of)f Fq(parameter)47 b Ft(is)40 b(substituted.)630 -5340 y(If)i Fq(parameter)50 b Ft(is)43 b(`)p Fs(*)p Ft(')g(or)g(`)p +1921 y(If)i Fq(parameter)50 b Ft(is)43 b(`)p Fs(*)p Ft(')g(or)g(`)p Fs(@)p Ft(',)k(the)c(v)-5 b(alue)43 b(substituted)f(is)h(the)g(n)m(um)m -(b)s(er)f(of)h(p)s(ositional)p eop end -%%Page: 21 27 -TeXDict begin 21 26 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(21)630 299 -y(parameters.)45 b(If)32 b Fq(parameter)38 b Ft(is)32 -b(an)g(arra)m(y)g(name)g(subscripted)f(b)m(y)g(`)p Fs(*)p -Ft(')h(or)g(`)p Fs(@)p Ft(',)g(the)g(v)-5 b(alue)630 -408 y(substituted)30 b(is)g(the)h(n)m(um)m(b)s(er)e(of)h(elemen)m(ts)i -(in)e(the)h(arra)m(y)-8 b(.)150 580 y Fs(${)p Fj(parameter)11 -b Fs(#)p Fj(word)g Fs(})150 690 y(${)p Fj(parameter)g -Fs(##)p Fj(word)g Fs(})630 800 y Ft(The)31 b Fq(w)m(ord)k -Ft(is)d(expanded)f(to)i(pro)s(duce)e(a)h(pattern)g(just)f(as)i(in)e -(\014lename)h(expansion)g(\(see)630 909 y(Section)k(3.5.8)h([Filename)g -(Expansion],)g(page)f(23\).)56 b(If)35 b(the)h(pattern)f(matc)m(hes)i -(the)e(b)s(e-)630 1019 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 -b(alue)29 b(of)f Fq(parameter)p Ft(,)h(then)f(the)g(result)g(of)h(the)f -(expansion)g(is)630 1128 y(the)36 b(expanded)f(v)-5 b(alue)36 +(b)s(er)f(of)h(p)s(ositional)630 2030 y(parameters.)i(If)32 +b Fq(parameter)38 b Ft(is)32 b(an)g(arra)m(y)g(name)g(subscripted)f(b)m +(y)g(`)p Fs(*)p Ft(')h(or)g(`)p Fs(@)p Ft(',)g(the)g(v)-5 +b(alue)630 2140 y(substituted)30 b(is)g(the)h(n)m(um)m(b)s(er)e(of)h +(elemen)m(ts)i(in)e(the)h(arra)m(y)-8 b(.)150 2293 y +Fs(${)p Fj(parameter)11 b Fs(#)p Fj(word)g Fs(})150 2403 +y(${)p Fj(parameter)g Fs(##)p Fj(word)g Fs(})630 2513 +y Ft(The)31 b Fq(w)m(ord)k Ft(is)d(expanded)f(to)i(pro)s(duce)e(a)h +(pattern)g(just)f(as)i(in)e(\014lename)h(expansion)g(\(see)630 +2622 y(Section)k(3.5.8)h([Filename)g(Expansion],)g(page)f(23\).)56 +b(If)35 b(the)h(pattern)f(matc)m(hes)i(the)e(b)s(e-)630 +2732 y(ginning)28 b(of)g(the)h(expanded)e(v)-5 b(alue)29 +b(of)f Fq(parameter)p Ft(,)h(then)f(the)g(result)g(of)h(the)f +(expansion)g(is)630 2841 y(the)36 b(expanded)f(v)-5 b(alue)36 b(of)g Fq(parameter)43 b Ft(with)35 b(the)h(shortest)g(matc)m(hing)h -(pattern)f(\(the)g(`)p Fs(#)p Ft(')630 1238 y(case\))26 +(pattern)f(\(the)g(`)p Fs(#)p Ft(')630 2951 y(case\))26 b(or)f(the)g(longest)g(matc)m(hing)h(pattern)f(\(the)g(`)p Fs(##)p Ft(')g(case\))h(deleted.)39 b(If)24 b Fq(parameter)32 -b Ft(is)25 b(`)p Fs(@)p Ft(')630 1347 y(or)j(`)p Fs(*)p +b Ft(is)25 b(`)p Fs(@)p Ft(')630 3061 y(or)j(`)p Fs(*)p Ft(',)i(the)e(pattern)h(remo)m(v)-5 b(al)29 b(op)s(eration)g(is)f (applied)h(to)g(eac)m(h)g(p)s(ositional)g(parameter)g(in)630 -1457 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g(resultan)m(t)g(list.) +3170 y(turn,)i(and)g(the)h(expansion)g(is)g(the)g(resultan)m(t)g(list.) 45 b(If)32 b Fq(parameter)38 b Ft(is)32 b(an)g(arra)m(y)g(v)-5 -b(ariable)630 1567 y(subscripted)39 b(with)g(`)p Fs(@)p +b(ariable)630 3280 y(subscripted)39 b(with)g(`)p Fs(@)p Ft(')h(or)g(`)p Fs(*)p Ft(',)j(the)d(pattern)h(remo)m(v)-5 b(al)41 b(op)s(eration)f(is)g(applied)g(to)h(eac)m(h)630 -1676 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h -(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 1848 +3389 y(mem)m(b)s(er)30 b(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)h +(expansion)f(is)g(the)h(resultan)m(t)g(list.)150 3543 y Fs(${)p Fj(parameter)11 b Fs(\045)p Fj(word)g Fs(})150 -1958 y(${)p Fj(parameter)g Fs(\045\045)p Fj(word)g Fs(})630 -2067 y Ft(The)35 b Fq(w)m(ord)k Ft(is)c(expanded)g(to)h(pro)s(duce)e(a) +3652 y(${)p Fj(parameter)g Fs(\045\045)p Fj(word)g Fs(})630 +3762 y Ft(The)35 b Fq(w)m(ord)k Ft(is)c(expanded)g(to)h(pro)s(duce)e(a) i(pattern)f(just)g(as)h(in)f(\014lename)h(expansion.)55 -b(If)630 2177 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s +b(If)630 3871 y(the)43 b(pattern)g(matc)m(hes)h(a)g(trailing)g(p)s (ortion)e(of)h(the)g(expanded)g(v)-5 b(alue)43 b(of)g -Fq(parameter)p Ft(,)630 2286 y(then)c(the)g(result)g(of)h(the)f +Fq(parameter)p Ft(,)630 3981 y(then)c(the)g(result)g(of)h(the)f (expansion)g(is)h(the)f(v)-5 b(alue)40 b(of)f Fq(parameter)46 -b Ft(with)39 b(the)h(shortest)630 2396 y(matc)m(hing)31 +b Ft(with)39 b(the)h(shortest)630 4091 y(matc)m(hing)31 b(pattern)e(\(the)h(`)p Fs(\045)p Ft(')g(case\))h(or)e(the)h(longest)h (matc)m(hing)f(pattern)g(\(the)g(`)p Fs(\045\045)p Ft(')g(case\))630 -2506 y(deleted.)49 b(If)32 b Fq(parameter)40 b Ft(is)33 +4200 y(deleted.)49 b(If)32 b Fq(parameter)40 b Ft(is)33 b(`)p Fs(@)p Ft(')g(or)g(`)p Fs(*)p Ft(',)h(the)f(pattern)g(remo)m(v)-5 -b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 2615 y(eac)m(h)38 +b(al)34 b(op)s(eration)g(is)f(applied)f(to)630 4310 y(eac)m(h)38 b(p)s(ositional)g(parameter)g(in)f(turn,)h(and)e(the)h(expansion)g(is)h -(the)f(resultan)m(t)h(list.)61 b(If)630 2725 y Fq(parameter)38 +(the)f(resultan)m(t)h(list.)61 b(If)630 4419 y Fq(parameter)38 b Ft(is)32 b(an)f(arra)m(y)h(v)-5 b(ariable)32 b(subscripted)e(with)h (`)p Fs(@)p Ft(')g(or)h(`)p Fs(*)p Ft(',)g(the)f(pattern)h(remo)m(v)-5 -b(al)630 2834 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m +b(al)630 4529 y(op)s(eration)30 b(is)g(applied)f(to)i(eac)m(h)g(mem)m (b)s(er)e(of)h(the)g(arra)m(y)g(in)f(turn,)g(and)g(the)h(expansion)g -(is)630 2944 y(the)h(resultan)m(t)g(list.)150 3116 y +(is)630 4639 y(the)h(resultan)m(t)g(list.)150 4792 y Fs(${)p Fj(parameter)11 b Fs(/)p Fj(pattern)g Fs(/)p -Fj(s)o(tri)o(ng)f Fs(})630 3225 y Ft(The)37 b Fq(pattern)g +Fj(s)o(tri)o(ng)f Fs(})630 4902 y Ft(The)37 b Fq(pattern)g Ft(is)g(expanded)g(to)h(pro)s(duce)e(a)h(pattern)g(just)g(as)h(in)e -(\014lename)i(expansion.)630 3335 y Fq(P)m(arameter)46 +(\014lename)i(expansion.)630 5011 y Fq(P)m(arameter)46 b Ft(is)38 b(expanded)f(and)g(the)i(longest)g(matc)m(h)g(of)f Fq(pattern)g Ft(against)h(its)f(v)-5 b(alue)39 b(is)630 -3445 y(replaced)34 b(with)e Fq(string)p Ft(.)49 b(If)33 +5121 y(replaced)34 b(with)e Fq(string)p Ft(.)49 b(If)33 b Fq(pattern)g Ft(b)s(egins)g(with)f(`)p Fs(/)p Ft(',)j(all)f(matc)m -(hes)g(of)f Fq(pattern)g Ft(are)h(re-)630 3554 y(placed)28 +(hes)g(of)f Fq(pattern)g Ft(are)h(re-)630 5230 y(placed)28 b(with)f Fq(string)p Ft(.)40 b(Normally)28 b(only)f(the)h(\014rst)e (matc)m(h)j(is)e(replaced.)40 b(If)27 b Fq(pattern)g -Ft(b)s(egins)630 3664 y(with)34 b(`)p Fs(#)p Ft(',)h(it)g(m)m(ust)f +Ft(b)s(egins)630 5340 y(with)34 b(`)p Fs(#)p Ft(',)h(it)g(m)m(ust)f (matc)m(h)h(at)f(the)h(b)s(eginning)e(of)h(the)g(expanded)f(v)-5 -b(alue)35 b(of)f Fq(parameter)p Ft(.)630 3773 y(If)g -Fq(pattern)g Ft(b)s(egins)g(with)g(`)p Fs(\045)p Ft(',)h(it)g(m)m(ust)f -(matc)m(h)h(at)g(the)f(end)g(of)g(the)h(expanded)e(v)-5 -b(alue)35 b(of)630 3883 y Fq(parameter)p Ft(.)41 b(If)29 -b Fq(string)37 b Ft(is)29 b(n)m(ull,)h(matc)m(hes)h(of)e -Fq(pattern)h Ft(are)g(deleted)g(and)f(the)g Fs(/)g Ft(follo)m(wing)630 -3993 y Fq(pattern)34 b Ft(ma)m(y)g(b)s(e)f(omitted.)51 -b(If)33 b Fq(parameter)41 b Ft(is)33 b(`)p Fs(@)p Ft(')h(or)g(`)p -Fs(*)p Ft(',)g(the)g(substitution)f(op)s(eration)630 -4102 y(is)38 b(applied)g(to)g(eac)m(h)h(p)s(ositional)g(parameter)f(in) -g(turn,)h(and)e(the)h(expansion)g(is)g(the)g(re-)630 -4212 y(sultan)m(t)f(list.)59 b(If)36 b Fq(parameter)43 -b Ft(is)36 b(an)g(arra)m(y)h(v)-5 b(ariable)37 b(subscripted)e(with)h -(`)p Fs(@)p Ft(')g(or)h(`)p Fs(*)p Ft(',)h(the)630 4321 -y(substitution)30 b(op)s(eration)h(is)f(applied)g(to)h(eac)m(h)g(mem)m -(b)s(er)f(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h(the)630 -4431 y(expansion)g(is)h(the)f(resultan)m(t)h(list.)150 -4680 y Fk(3.5.4)63 b(Command)41 b(Substitution)275 4936 -y Ft(Command)29 b(substitution)i(allo)m(ws)h(the)f(output)g(of)g(a)g -(command)g(to)g(replace)h(the)f(command)g(itself.)150 -5046 y(Command)e(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is)g -(enclosed)h(as)g(follo)m(ws:)390 5193 y Fs($\()p Fj(command)11 -b Fs(\))150 5340 y Ft(or)p eop end +b(alue)35 b(of)f Fq(parameter)p Ft(.)p eop end %%Page: 22 28 TeXDict begin 22 27 bop 150 -116 a Ft(22)2572 b(Bash)31 -b(Reference)g(Man)m(ual)390 299 y Fs(`)p Fj(command)11 -b Fs(`)150 450 y Ft(Bash)45 b(p)s(erforms)f(the)h(expansion)f(b)m(y)h +b(Reference)g(Man)m(ual)630 299 y(If)j Fq(pattern)g Ft(b)s(egins)g +(with)g(`)p Fs(\045)p Ft(',)h(it)g(m)m(ust)f(matc)m(h)h(at)g(the)f(end) +g(of)g(the)h(expanded)e(v)-5 b(alue)35 b(of)630 408 y +Fq(parameter)p Ft(.)41 b(If)29 b Fq(string)37 b Ft(is)29 +b(n)m(ull,)h(matc)m(hes)h(of)e Fq(pattern)h Ft(are)g(deleted)g(and)f +(the)g Fs(/)g Ft(follo)m(wing)630 518 y Fq(pattern)34 +b Ft(ma)m(y)g(b)s(e)f(omitted.)51 b(If)33 b Fq(parameter)41 +b Ft(is)33 b(`)p Fs(@)p Ft(')h(or)g(`)p Fs(*)p Ft(',)g(the)g +(substitution)f(op)s(eration)630 628 y(is)38 b(applied)g(to)g(eac)m(h)h +(p)s(ositional)g(parameter)f(in)g(turn,)h(and)e(the)h(expansion)g(is)g +(the)g(re-)630 737 y(sultan)m(t)f(list.)59 b(If)36 b +Fq(parameter)43 b Ft(is)36 b(an)g(arra)m(y)h(v)-5 b(ariable)37 +b(subscripted)e(with)h(`)p Fs(@)p Ft(')g(or)h(`)p Fs(*)p +Ft(',)h(the)630 847 y(substitution)30 b(op)s(eration)h(is)f(applied)g +(to)h(eac)m(h)g(mem)m(b)s(er)f(of)g(the)h(arra)m(y)g(in)f(turn,)f(and)h +(the)630 956 y(expansion)g(is)h(the)f(resultan)m(t)h(list.)150 +1179 y Fk(3.5.4)63 b(Command)41 b(Substitution)275 1423 +y Ft(Command)29 b(substitution)i(allo)m(ws)h(the)f(output)g(of)g(a)g +(command)g(to)g(replace)h(the)f(command)g(itself.)150 +1532 y(Command)e(substitution)h(o)s(ccurs)h(when)e(a)i(command)f(is)g +(enclosed)h(as)g(follo)m(ws:)390 1666 y Fs($\()p Fj(command)11 +b Fs(\))150 1801 y Ft(or)390 1935 y Fs(`)p Fj(command)g +Fs(`)150 2069 y Ft(Bash)45 b(p)s(erforms)f(the)h(expansion)f(b)m(y)h (executing)i Fq(command)h Ft(and)c(replacing)i(the)f(command)g(sub-)150 -560 y(stitution)c(with)f(the)g(standard)g(output)g(of)g(the)g(command,) -j(with)d(an)m(y)h(trailing)g(newlines)f(deleted.)150 -669 y(Em)m(b)s(edded)30 b(newlines)h(are)h(not)f(deleted,)i(but)e(they) -g(ma)m(y)h(b)s(e)f(remo)m(v)m(ed)i(during)d(w)m(ord)h(splitting.)44 -b(The)150 779 y(command)21 b(substitution)g Fs($\(cat)29 +2178 y(stitution)c(with)f(the)g(standard)g(output)g(of)g(the)g +(command,)j(with)d(an)m(y)h(trailing)g(newlines)f(deleted.)150 +2288 y(Em)m(b)s(edded)30 b(newlines)h(are)h(not)f(deleted,)i(but)e +(they)g(ma)m(y)h(b)s(e)f(remo)m(v)m(ed)i(during)d(w)m(ord)h(splitting.) +44 b(The)150 2397 y(command)21 b(substitution)g Fs($\(cat)29 b Fj(file)11 b Fs(\))20 b Ft(can)i(b)s(e)f(replaced)g(b)m(y)h(the)g (equiv)-5 b(alen)m(t)22 b(but)f(faster)h Fs($\(<)30 b -Fj(file)11 b Fs(\))p Ft(.)275 930 y(When)33 b(the)i(old-st)m(yle)h(bac) -m(kquote)f(form)f(of)g(substitution)g(is)g(used,)h(bac)m(kslash)f -(retains)h(its)f(literal)150 1039 y(meaning)k(except)h(when)e(follo)m +Fj(file)11 b Fs(\))p Ft(.)275 2531 y(When)33 b(the)i(old-st)m(yle)h +(bac)m(kquote)f(form)f(of)g(substitution)g(is)g(used,)h(bac)m(kslash)f +(retains)h(its)f(literal)150 2641 y(meaning)k(except)h(when)e(follo)m (w)m(ed)j(b)m(y)e(`)p Fs($)p Ft(',)j(`)p Fs(`)p Ft(',)f(or)e(`)p Fs(\\)p Ft('.)64 b(The)38 b(\014rst)f(bac)m(kquote)j(not)e(preceded)g -(b)m(y)g(a)150 1149 y(bac)m(kslash)j(terminates)g(the)f(command)g +(b)m(y)g(a)150 2751 y(bac)m(kslash)j(terminates)g(the)f(command)g (substitution.)69 b(When)40 b(using)g(the)g Fs($\()p -Fj(command)11 b Fs(\))37 b Ft(form,)42 b(all)150 1259 +Fj(command)11 b Fs(\))37 b Ft(form,)42 b(all)150 2860 y(c)m(haracters)32 b(b)s(et)m(w)m(een)f(the)f(paren)m(theses)h(mak)m(e) g(up)f(the)g(command;)h(none)f(are)h(treated)g(sp)s(ecially)-8 -b(.)275 1410 y(Command)22 b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39 +b(.)275 2994 y(Command)22 b(substitutions)g(ma)m(y)i(b)s(e)e(nested.)39 b(T)-8 b(o)23 b(nest)g(when)f(using)h(the)g(bac)m(kquoted)h(form,)g -(escap)s(e)150 1519 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m -(kslashes.)275 1670 y(If)e(the)i(substitution)e(app)s(ears)h(within)g +(escap)s(e)150 3104 y(the)31 b(inner)e(bac)m(kquotes)j(with)e(bac)m +(kslashes.)275 3238 y(If)e(the)i(substitution)e(app)s(ears)h(within)g (double)f(quotes,)i(w)m(ord)f(splitting)h(and)f(\014lename)g(expansion) -150 1780 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)150 -2037 y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)275 2298 +150 3347 y(are)i(not)f(p)s(erformed)f(on)h(the)h(results.)150 +3570 y Fk(3.5.5)63 b(Arithmetic)40 b(Expansion)275 3814 y Ft(Arithmetic)33 b(expansion)f(allo)m(ws)i(the)e(ev)-5 b(aluation)34 b(of)f(an)f(arithmetic)i(expression)e(and)g(the)g -(substi-)150 2408 y(tution)f(of)f(the)h(result.)40 b(The)30 -b(format)h(for)f(arithmetic)i(expansion)e(is:)390 2559 -y Fs($\(\()47 b Fj(expression)55 b Fs(\)\))275 2710 y +(substi-)150 3923 y(tution)f(of)f(the)h(result.)40 b(The)30 +b(format)h(for)f(arithmetic)i(expansion)e(is:)390 4058 +y Fs($\(\()47 b Fj(expression)55 b Fs(\)\))275 4192 y Ft(The)33 b(expression)g(is)h(treated)g(as)g(if)g(it)g(w)m(ere)g (within)f(double)h(quotes,)h(but)e(a)h(double)f(quote)h(inside)150 -2819 y(the)27 b(paren)m(theses)g(is)g(not)g(treated)h(sp)s(ecially)-8 +4301 y(the)27 b(paren)m(theses)g(is)g(not)g(treated)h(sp)s(ecially)-8 b(.)41 b(All)27 b(tok)m(ens)h(in)e(the)h(expression)g(undergo)f -(parameter)h(ex-)150 2929 y(pansion,)h(command)f(substitution,)h(and)f +(parameter)h(ex-)150 4411 y(pansion,)h(command)f(substitution,)h(and)f (quote)i(remo)m(v)-5 b(al.)41 b(Arithmetic)28 b(expansions)g(ma)m(y)g -(b)s(e)f(nested.)275 3080 y(The)34 b(ev)-5 b(aluation)37 +(b)s(e)f(nested.)275 4545 y(The)34 b(ev)-5 b(aluation)37 b(is)f(p)s(erformed)e(according)i(to)g(the)g(rules)f(listed)h(b)s(elo)m -(w)g(\(see)g(Section)g(6.5)h([Shell)150 3190 y(Arithmetic],)32 +(w)g(\(see)g(Section)g(6.5)h([Shell)150 4654 y(Arithmetic],)32 b(page)f(76\).)42 b(If)30 b(the)h(expression)f(is)g(in)m(v)-5 b(alid,)32 b(Bash)e(prin)m(ts)g(a)h(message)g(indicating)h(failure)150 -3299 y(to)f(the)g(standard)e(error)h(and)g(no)g(substitution)g(o)s -(ccurs.)150 3557 y Fk(3.5.6)63 b(Pro)s(cess)42 b(Substitution)275 -3817 y Ft(Pro)s(cess)33 b(substitution)h(is)g(supp)s(orted)e(on)h +4764 y(to)f(the)g(standard)e(error)h(and)g(no)g(substitution)g(o)s +(ccurs.)150 4987 y Fk(3.5.6)63 b(Pro)s(cess)42 b(Substitution)275 +5230 y Ft(Pro)s(cess)33 b(substitution)h(is)g(supp)s(orted)e(on)h (systems)h(that)h(supp)s(ort)d(named)h(pip)s(es)g(\()p -Fl(fif)n(o)p Ft(s\))h(or)g(the)150 3927 y(`)p Fs(/dev/fd)p +Fl(fif)n(o)p Ft(s\))h(or)g(the)150 5340 y(`)p Fs(/dev/fd)p Ft(')29 b(metho)s(d)h(of)g(naming)g(op)s(en)g(\014les.)41 -b(It)30 b(tak)m(es)i(the)f(form)f(of)390 4078 y Fs(<\()p -Fj(list)11 b Fs(\))150 4229 y Ft(or)390 4380 y Fs(>\()p -Fj(list)g Fs(\))150 4531 y Ft(The)23 b(pro)s(cess)g Fq(list)j -Ft(is)d(run)f(with)h(its)h(input)f(or)g(output)g(connected)h(to)h(a)e -Fl(fif)n(o)g Ft(or)h(some)g(\014le)f(in)g(`)p Fs(/dev/fd)p -Ft('.)150 4641 y(The)28 b(name)h(of)g(this)f(\014le)h(is)g(passed)f(as) -h(an)f(argumen)m(t)h(to)h(the)f(curren)m(t)f(command)h(as)f(the)h -(result)g(of)g(the)150 4751 y(expansion.)40 b(If)28 b(the)h -Fs(>\()p Fj(list)11 b Fs(\))26 b Ft(form)i(is)h(used,)f(writing)h(to)g -(the)g(\014le)f(will)h(pro)m(vide)g(input)f(for)g Fq(list)p -Ft(.)41 b(If)28 b(the)150 4860 y Fs(<\()p Fj(list)11 +b(It)30 b(tak)m(es)i(the)f(form)f(of)p eop end +%%Page: 23 29 +TeXDict begin 23 28 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)390 299 +y Fs(<\()p Fj(list)11 b Fs(\))150 431 y Ft(or)390 563 +y Fs(>\()p Fj(list)g Fs(\))150 695 y Ft(The)23 b(pro)s(cess)g +Fq(list)j Ft(is)d(run)f(with)h(its)h(input)f(or)g(output)g(connected)h +(to)h(a)e Fl(fif)n(o)g Ft(or)h(some)g(\014le)f(in)g(`)p +Fs(/dev/fd)p Ft('.)150 804 y(The)28 b(name)h(of)g(this)f(\014le)h(is)g +(passed)f(as)h(an)f(argumen)m(t)h(to)h(the)f(curren)m(t)f(command)h(as) +f(the)h(result)g(of)g(the)150 914 y(expansion.)40 b(If)28 +b(the)h Fs(>\()p Fj(list)11 b Fs(\))26 b Ft(form)i(is)h(used,)f +(writing)h(to)g(the)g(\014le)f(will)h(pro)m(vide)g(input)f(for)g +Fq(list)p Ft(.)41 b(If)28 b(the)150 1024 y Fs(<\()p Fj(list)11 b Fs(\))23 b Ft(form)h(is)i(used,)f(the)h(\014le)f(passed)g(as)g(an)g (argumen)m(t)h(should)e(b)s(e)h(read)g(to)h(obtain)g(the)f(output)g(of) -150 4970 y Fq(list)p Ft(.)41 b(Note)31 b(that)f(no)g(space)g(ma)m(y)g +150 1133 y Fq(list)p Ft(.)41 b(Note)31 b(that)f(no)g(space)g(ma)m(y)g (app)s(ear)f(b)s(et)m(w)m(een)h(the)g Fs(<)f Ft(or)h Fs(>)f Ft(and)g(the)h(left)g(paren)m(thesis,)h(otherwise)150 -5079 y(the)g(construct)f(w)m(ould)g(b)s(e)g(in)m(terpreted)h(as)f(a)h -(redirection.)275 5230 y(When)36 b(a)m(v)-5 b(ailable,)40 +1243 y(the)g(construct)f(w)m(ould)g(b)s(e)g(in)m(terpreted)h(as)f(a)h +(redirection.)275 1375 y(When)36 b(a)m(v)-5 b(ailable,)40 b(pro)s(cess)c(substitution)h(is)f(p)s(erformed)f(sim)m(ultaneously)i -(with)g(parameter)g(and)150 5340 y(v)-5 b(ariable)31 +(with)g(parameter)g(and)150 1484 y(v)-5 b(ariable)31 b(expansion,)g(command)f(substitution,)g(and)g(arithmetic)i(expansion.) -p eop end -%%Page: 23 29 -TeXDict begin 23 28 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(23)150 299 -y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)275 544 y -Ft(The)35 b(shell)i(scans)f(the)g(results)g(of)g(parameter)h +150 1701 y Fk(3.5.7)63 b(W)-10 b(ord)41 b(Splitting)275 +1943 y Ft(The)35 b(shell)i(scans)f(the)g(results)g(of)g(parameter)h (expansion,)h(command)d(substitution,)j(and)e(arith-)150 -654 y(metic)31 b(expansion)g(that)g(did)e(not)i(o)s(ccur)f(within)g -(double)g(quotes)h(for)f(w)m(ord)g(splitting.)275 790 +2052 y(metic)31 b(expansion)g(that)g(did)e(not)i(o)s(ccur)f(within)g +(double)g(quotes)h(for)f(w)m(ord)g(splitting.)275 2184 y(The)43 b(shell)h(treats)h(eac)m(h)h(c)m(haracter)f(of)g Fs($IFS)e Ft(as)h(a)g(delimiter,)49 b(and)43 b(splits)h(the)h(results)e -(of)i(the)150 900 y(other)40 b(expansions)f(in)m(to)i(w)m(ords)e(on)h +(of)i(the)150 2294 y(other)40 b(expansions)f(in)m(to)i(w)m(ords)e(on)h (these)g(c)m(haracters.)70 b(If)39 b Fs(IFS)g Ft(is)h(unset,)i(or)d -(its)h(v)-5 b(alue)40 b(is)g(exactly)150 1009 y Fs +(its)h(v)-5 b(alue)40 b(is)g(exactly)150 2403 y Fs (<space><tab><newline>)p Ft(,)26 b(the)32 b(default,)g(then)f (sequences)h(of)62 b Fs(<space>)p Ft(,)30 b Fs(<tab>)p -Ft(,)h(and)f Fs(<newline>)150 1119 y Ft(at)39 b(the)f(b)s(eginning)g +Ft(,)h(and)f Fs(<newline>)150 2513 y Ft(at)39 b(the)f(b)s(eginning)g (and)f(end)h(of)g(the)h(results)f(of)g(the)g(previous)g(expansions)g -(are)g(ignored,)j(and)d(an)m(y)150 1228 y(sequence)31 +(are)g(ignored,)j(and)d(an)m(y)150 2623 y(sequence)31 b(of)g Fs(IFS)f Ft(c)m(haracters)j(not)e(at)g(the)g(b)s(eginning)g(or)f (end)h(serv)m(es)g(to)h(delimit)f(w)m(ords.)42 b(If)30 -b Fs(IFS)g Ft(has)150 1338 y(a)g(v)-5 b(alue)30 b(other)g(than)g(the)g +b Fs(IFS)g Ft(has)150 2732 y(a)g(v)-5 b(alue)30 b(other)g(than)g(the)g (default,)g(then)f(sequences)h(of)g(the)g(whitespace)g(c)m(haracters)h -Fs(space)e Ft(and)g Fs(tab)150 1448 y Ft(are)36 b(ignored)g(at)g(the)g +Fs(space)e Ft(and)g Fs(tab)150 2842 y Ft(are)36 b(ignored)g(at)g(the)g (b)s(eginning)f(and)g(end)g(of)h(the)g(w)m(ord,)h(as)f(long)g(as)g(the) -g(whitespace)h(c)m(haracter)g(is)150 1557 y(in)f(the)g(v)-5 +g(whitespace)h(c)m(haracter)g(is)150 2951 y(in)f(the)g(v)-5 b(alue)36 b(of)g Fs(IFS)f Ft(\(an)h Fs(IFS)f Ft(whitespace)h(c)m (haracter\).)60 b(An)m(y)35 b(c)m(haracter)j(in)d Fs(IFS)g -Ft(that)i(is)f(not)g Fs(IFS)150 1667 y Ft(whitespace,)27 +Ft(that)i(is)f(not)g Fs(IFS)150 3061 y Ft(whitespace,)27 b(along)f(with)f(an)m(y)g(adjacen)m(t)h Fs(IFS)e Ft(whitespace)i(c)m (haracters,)i(delimits)e(a)f(\014eld.)38 b(A)26 b(sequence)150 -1776 y(of)35 b Fs(IFS)f Ft(whitespace)h(c)m(haracters)i(is)d(also)i +3171 y(of)35 b Fs(IFS)f Ft(whitespace)h(c)m(haracters)i(is)d(also)i (treated)g(as)f(a)g(delimiter.)55 b(If)34 b(the)h(v)-5 -b(alue)35 b(of)g Fs(IFS)f Ft(is)h(n)m(ull,)h(no)150 1886 -y(w)m(ord)30 b(splitting)h(o)s(ccurs.)275 2022 y(Explicit)44 +b(alue)35 b(of)g Fs(IFS)f Ft(is)h(n)m(ull,)h(no)150 3280 +y(w)m(ord)30 b(splitting)h(o)s(ccurs.)275 3412 y(Explicit)44 b(n)m(ull)f(argumen)m(ts)g(\()p Fs("")g Ft(or)h Fs('')p Ft(\))f(are)g(retained.)80 b(Unquoted)43 b(implicit)h(n)m(ull)f -(argumen)m(ts,)150 2132 y(resulting)24 b(from)f(the)g(expansion)g(of)h +(argumen)m(ts,)150 3522 y(resulting)24 b(from)f(the)g(expansion)g(of)h (parameters)g(that)g(ha)m(v)m(e)h(no)e(v)-5 b(alues,)25 b(are)f(remo)m(v)m(ed.)40 b(If)23 b(a)g(parameter)150 -2241 y(with)30 b(no)g(v)-5 b(alue)31 b(is)g(expanded)e(within)h(double) +3631 y(with)30 b(no)g(v)-5 b(alue)31 b(is)g(expanded)e(within)h(double) g(quotes,)h(a)g(n)m(ull)f(argumen)m(t)h(results)f(and)g(is)g(retained.) -275 2377 y(Note)h(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h -(splitting)g(is)f(p)s(erformed.)150 2604 y Fk(3.5.8)63 -b(Filename)41 b(Expansion)275 2850 y Ft(After)h(w)m(ord)g(splitting,)k +275 3763 y(Note)h(that)g(if)g(no)f(expansion)g(o)s(ccurs,)g(no)h +(splitting)g(is)f(p)s(erformed.)150 3980 y Fk(3.5.8)63 +b(Filename)41 b(Expansion)275 4222 y Ft(After)h(w)m(ord)g(splitting,)k (unless)c(the)g(`)p Fs(-f)p Ft(')g(option)h(has)f(b)s(een)g(set)g -(\(see)i(Section)f(4.3.1)h([The)e(Set)150 2959 y(Builtin],)48 -b(page)c(49\),)k(Bash)43 b(scans)h(eac)m(h)g(w)m(ord)f(for)g(the)h(c)m +(\(see)i(Section)f(4.3.1)h([The)e(Set)150 4331 y(Builtin],)48 +b(page)c(50\),)k(Bash)43 b(scans)h(eac)m(h)g(w)m(ord)f(for)g(the)h(c)m (haracters)h(`)p Fs(*)p Ft(',)i(`)p Fs(?)p Ft(',)g(and)42 -b(`)p Fs([)p Ft('.)80 b(If)43 b(one)h(of)150 3069 y(these)d(c)m +b(`)p Fs([)p Ft('.)80 b(If)43 b(one)h(of)150 4441 y(these)d(c)m (haracters)g(app)s(ears,)i(then)d(the)g(w)m(ord)g(is)g(regarded)g(as)h (a)g Fq(pattern)p Ft(,)i(and)c(replaced)i(with)f(an)150 -3179 y(alphab)s(etically)h(sorted)f(list)g(of)g(\014le)g(names)g(matc)m +4550 y(alphab)s(etically)h(sorted)f(list)g(of)g(\014le)g(names)g(matc)m (hing)h(the)f(pattern.)68 b(If)40 b(no)f(matc)m(hing)i(\014le)f(names) -150 3288 y(are)e(found,)g(and)f(the)h(shell)f(option)h +150 4660 y(are)e(found,)g(and)f(the)h(shell)f(option)h Fs(nullglob)e Ft(is)h(disabled,)i(the)f(w)m(ord)f(is)h(left)g(unc)m -(hanged.)62 b(If)37 b(the)150 3398 y Fs(nullglob)32 b +(hanged.)62 b(If)37 b(the)150 4770 y Fs(nullglob)32 b Ft(option)i(is)g(set,)h(and)f(no)f(matc)m(hes)i(are)g(found,)e(the)h(w) m(ord)g(is)g(remo)m(v)m(ed.)52 b(If)33 b(the)h Fs(failglob)150 -3507 y Ft(shell)27 b(option)g(is)g(set,)h(and)e(no)g(matc)m(hes)i(are)f +4879 y Ft(shell)27 b(option)g(is)g(set,)h(and)e(no)g(matc)m(hes)i(are)f (found,)f(an)h(error)f(message)i(is)e(prin)m(ted)g(and)g(the)h(command) -150 3617 y(is)h(not)h(executed.)41 b(If)28 b(the)g(shell)h(option)g +150 4989 y(is)h(not)h(executed.)41 b(If)28 b(the)g(shell)h(option)g Fs(nocaseglob)c Ft(is)k(enabled,)g(the)f(matc)m(h)i(is)e(p)s(erformed)f -(without)150 3727 y(regard)j(to)h(the)g(case)g(of)g(alphab)s(etic)g(c)m -(haracters.)275 3863 y(When)21 b(a)i(pattern)f(is)g(used)g(for)f +(without)150 5098 y(regard)j(to)h(the)g(case)g(of)g(alphab)s(etic)g(c)m +(haracters.)275 5230 y(When)21 b(a)i(pattern)f(is)g(used)g(for)f (\014lename)i(generation,)i(the)d(c)m(haracter)i(`)p Fs(.)p Ft(')e(at)h(the)f(start)h(of)f(a)h(\014lename)150 -3972 y(or)g(immediately)i(follo)m(wing)g(a)f(slash)f(m)m(ust)h(b)s(e)f +5340 y(or)g(immediately)i(follo)m(wing)g(a)f(slash)f(m)m(ust)h(b)s(e)f (matc)m(hed)h(explicitly)-8 b(,)27 b(unless)c(the)g(shell)h(option)g -Fs(dotglob)150 4082 y Ft(is)31 b(set.)45 b(When)31 b(matc)m(hing)h(a)g -(\014le)f(name,)h(the)g(slash)f(c)m(haracter)i(m)m(ust)e(alw)m(a)m(ys)i -(b)s(e)e(matc)m(hed)h(explicitly)-8 b(.)150 4191 y(In)30 -b(other)g(cases,)i(the)e(`)p Fs(.)p Ft(')h(c)m(haracter)h(is)e(not)h -(treated)g(sp)s(ecially)-8 b(.)275 4327 y(See)28 b(the)g(description)g -(of)g Fs(shopt)e Ft(in)i(Section)g(4.3.2)i([The)e(Shopt)f(Builtin],)i -(page)g(53,)g(for)f(a)g(descrip-)150 4437 y(tion)j(of)f(the)h -Fs(nocaseglob)p Ft(,)d Fs(nullglob)p Ft(,)g Fs(failglob)p -Ft(,)h(and)g Fs(dotglob)g Ft(options.)275 4573 y(The)j -Fs(GLOBIGNORE)f Ft(shell)i(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(used)f -(to)i(restrict)g(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 -4682 y(pattern.)k(If)25 b Fs(GLOBIGNORE)e Ft(is)j(set,)h(eac)m(h)g -(matc)m(hing)g(\014lename)f(that)g(also)h(matc)m(hes)f(one)g(of)g(the)g -(patterns)150 4792 y(in)33 b Fs(GLOBIGNORE)d Ft(is)j(remo)m(v)m(ed)h +Fs(dotglob)p eop end +%%Page: 24 30 +TeXDict begin 24 29 bop 150 -116 a Ft(24)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y(is)g(set.)45 b(When)31 +b(matc)m(hing)h(a)g(\014le)f(name,)h(the)g(slash)f(c)m(haracter)i(m)m +(ust)e(alw)m(a)m(ys)i(b)s(e)e(matc)m(hed)h(explicitly)-8 +b(.)150 408 y(In)30 b(other)g(cases,)i(the)e(`)p Fs(.)p +Ft(')h(c)m(haracter)h(is)e(not)h(treated)g(sp)s(ecially)-8 +b(.)275 556 y(See)28 b(the)g(description)g(of)g Fs(shopt)e +Ft(in)i(Section)g(4.3.2)i([The)e(Shopt)f(Builtin],)i(page)g(54,)g(for)f +(a)g(descrip-)150 665 y(tion)j(of)f(the)h Fs(nocaseglob)p +Ft(,)d Fs(nullglob)p Ft(,)g Fs(failglob)p Ft(,)h(and)g +Fs(dotglob)g Ft(options.)275 813 y(The)j Fs(GLOBIGNORE)f +Ft(shell)i(v)-5 b(ariable)34 b(ma)m(y)g(b)s(e)f(used)f(to)i(restrict)g +(the)g(set)f(of)h(\014lenames)f(matc)m(hing)i(a)150 922 +y(pattern.)k(If)25 b Fs(GLOBIGNORE)e Ft(is)j(set,)h(eac)m(h)g(matc)m +(hing)g(\014lename)f(that)g(also)h(matc)m(hes)f(one)g(of)g(the)g +(patterns)150 1032 y(in)33 b Fs(GLOBIGNORE)d Ft(is)j(remo)m(v)m(ed)h (from)e(the)i(list)f(of)g(matc)m(hes.)50 b(The)33 b(\014lenames)g(`)p Fs(.)p Ft(')g(and)f(`)p Fs(..)p Ft(')h(are)g(alw)m(a)m(ys)150 -4902 y(ignored)g(when)e Fs(GLOBIGNORE)f Ft(is)j(set)g(and)f(not)h(n)m +1141 y(ignored)g(when)e Fs(GLOBIGNORE)f Ft(is)j(set)g(and)f(not)h(n)m (ull.)48 b(Ho)m(w)m(ev)m(er,)35 b(setting)f Fs(GLOBIGNORE)c -Ft(to)j(a)g(non-n)m(ull)150 5011 y(v)-5 b(alue)34 b(has)f(the)h +Ft(to)j(a)g(non-n)m(ull)150 1251 y(v)-5 b(alue)34 b(has)f(the)h (e\013ect)h(of)f(enabling)g(the)g Fs(dotglob)e Ft(shell)h(option,)j(so) -e(all)g(other)g(\014lenames)g(b)s(eginning)150 5121 y(with)43 +e(all)g(other)g(\014lenames)g(b)s(eginning)150 1361 y(with)43 b(a)h(`)p Fs(.)p Ft(')f(will)h(matc)m(h.)80 b(T)-8 b(o)44 b(get)h(the)e(old)h(b)s(eha)m(vior)f(of)h(ignoring)f(\014lenames)h(b)s -(eginning)f(with)g(a)150 5230 y(`)p Fs(.)p Ft(',)c(mak)m(e)g(`)p +(eginning)f(with)g(a)150 1470 y(`)p Fs(.)p Ft(',)c(mak)m(e)g(`)p Fs(.*)p Ft(')e(one)g(of)g(the)h(patterns)f(in)g Fs(GLOBIGNORE)p Ft(.)58 b(The)37 b Fs(dotglob)e Ft(option)j(is)f(disabled)g(when)150 -5340 y Fs(GLOBIGNORE)28 b Ft(is)i(unset.)p eop end -%%Page: 24 30 -TeXDict begin 24 29 bop 150 -116 a Ft(24)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fk(3.5.8.1)63 b(P)m(attern)40 -b(Matc)m(hing)275 547 y Ft(An)m(y)33 b(c)m(haracter)i(that)f(app)s -(ears)f(in)g(a)h(pattern,)g(other)g(than)f(the)g(sp)s(ecial)h(pattern)g -(c)m(haracters)h(de-)150 657 y(scrib)s(ed)30 b(b)s(elo)m(w,)h(matc)m -(hes)h(itself.)43 b(The)31 b Fl(nul)f Ft(c)m(haracter)i(ma)m(y)f(not)h -(o)s(ccur)e(in)h(a)g(pattern.)42 b(A)31 b(bac)m(kslash)150 -766 y(escap)s(es)36 b(the)f(follo)m(wing)i(c)m(haracter;)j(the)c -(escaping)g(bac)m(kslash)g(is)f(discarded)g(when)g(matc)m(hing.)56 -b(The)150 876 y(sp)s(ecial)31 b(pattern)f(c)m(haracters)i(m)m(ust)f(b)s -(e)e(quoted)i(if)f(they)h(are)f(to)i(b)s(e)d(matc)m(hed)i(literally)-8 -b(.)275 1014 y(The)29 b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m -(e)f(the)g(follo)m(wing)h(meanings:)150 1180 y Fs(*)432 -b Ft(Matc)m(hes)32 b(an)m(y)f(string,)f(including)g(the)h(n)m(ull)f -(string.)150 1343 y Fs(?)432 b Ft(Matc)m(hes)32 b(an)m(y)f(single)g(c)m -(haracter.)150 1506 y Fs([...)o(])241 b Ft(Matc)m(hes)27 -b(an)m(y)e(one)g(of)g(the)g(enclosed)g(c)m(haracters.)41 -b(A)25 b(pair)f(of)h(c)m(haracters)i(separated)e(b)m(y)g(a)630 -1616 y(h)m(yphen)i(denotes)h(a)g Fq(range)g(expression)p -Ft(;)g(an)m(y)h(c)m(haracter)g(that)f(sorts)g(b)s(et)m(w)m(een)g(those) -h(t)m(w)m(o)630 1726 y(c)m(haracters,)f(inclusiv)m(e,)f(using)d(the)h -(curren)m(t)f(lo)s(cale's)j(collating)g(sequence)e(and)f(c)m(haracter) -630 1835 y(set,)31 b(is)f(matc)m(hed.)42 b(If)30 b(the)g(\014rst)g(c)m -(haracter)i(follo)m(wing)g(the)e(`)p Fs([)p Ft(')h(is)f(a)h(`)p -Fs(!)p Ft(')f(or)g(a)h(`)p Fs(^)p Ft(')g(then)f(an)m(y)630 -1945 y(c)m(haracter)c(not)f(enclosed)g(is)g(matc)m(hed.)40 -b(A)25 b(`)p Fp(\000)p Ft(')f(ma)m(y)i(b)s(e)e(matc)m(hed)h(b)m(y)f -(including)h(it)g(as)g(the)630 2054 y(\014rst)32 b(or)h(last)h(c)m -(haracter)h(in)e(the)g(set.)50 b(A)33 b(`)p Fs(])p Ft(')g(ma)m(y)h(b)s -(e)e(matc)m(hed)i(b)m(y)f(including)g(it)g(as)h(the)630 -2164 y(\014rst)25 b(c)m(haracter)i(in)e(the)h(set.)40 -b(The)25 b(sorting)h(order)f(of)h(c)m(haracters)h(in)f(range)g -(expressions)f(is)630 2273 y(determined)e(b)m(y)g(the)g(curren)m(t)f -(lo)s(cale)j(and)e(the)g(v)-5 b(alue)23 b(of)g(the)h -Fs(LC_COLLATE)c Ft(shell)j(v)-5 b(ariable,)630 2383 y(if)30 -b(set.)630 2520 y(F)-8 b(or)34 b(example,)g(in)f(the)g(default)g(C)f +1580 y Fs(GLOBIGNORE)28 b Ft(is)i(unset.)150 1830 y Fk(3.5.8.1)63 +b(P)m(attern)40 b(Matc)m(hing)275 2086 y Ft(An)m(y)33 +b(c)m(haracter)i(that)f(app)s(ears)f(in)g(a)h(pattern,)g(other)g(than)f +(the)g(sp)s(ecial)h(pattern)g(c)m(haracters)h(de-)150 +2196 y(scrib)s(ed)30 b(b)s(elo)m(w,)h(matc)m(hes)h(itself.)43 +b(The)31 b Fl(nul)f Ft(c)m(haracter)i(ma)m(y)f(not)h(o)s(ccur)e(in)h(a) +g(pattern.)42 b(A)31 b(bac)m(kslash)150 2306 y(escap)s(es)36 +b(the)f(follo)m(wing)i(c)m(haracter;)j(the)c(escaping)g(bac)m(kslash)g +(is)f(discarded)g(when)g(matc)m(hing.)56 b(The)150 2415 +y(sp)s(ecial)31 b(pattern)f(c)m(haracters)i(m)m(ust)f(b)s(e)e(quoted)i +(if)f(they)h(are)f(to)i(b)s(e)d(matc)m(hed)i(literally)-8 +b(.)275 2563 y(The)29 b(sp)s(ecial)i(pattern)g(c)m(haracters)h(ha)m(v)m +(e)f(the)g(follo)m(wing)h(meanings:)150 2741 y Fs(*)432 +b Ft(Matc)m(hes)31 b(an)m(y)e(string,)h(including)f(the)g(n)m(ull)g +(string.)41 b(When)29 b(the)g Fs(globstar)e Ft(shell)i(option)630 +2851 y(is)37 b(enabled,)h(and)e(`)p Fs(*)p Ft(')h(is)g(used)f(in)g(a)h +(\014lename)g(expansion)g(con)m(text,)j(t)m(w)m(o)e(adjacen)m(t)g(`)p +Fs(*)p Ft('s)630 2960 y(used)f(as)g(a)h(single)g(pattern)g(will)f(matc) +m(h)i(all)f(\014les)f(and)g(zero)h(or)g(more)f(directories)i(and)630 +3070 y(sub)s(directories.)g(If)25 b(follo)m(w)m(ed)j(b)m(y)e(a)g(`)p +Fs(/)p Ft(',)h(t)m(w)m(o)g(adjacen)m(t)h(`)p Fs(*)p Ft('s)e(will)g +(matc)m(h)h(only)f(directories)630 3180 y(and)k(sub)s(directories.)150 +3352 y Fs(?)432 b Ft(Matc)m(hes)32 b(an)m(y)f(single)g(c)m(haracter.) +150 3524 y Fs([...)o(])241 b Ft(Matc)m(hes)27 b(an)m(y)e(one)g(of)g +(the)g(enclosed)g(c)m(haracters.)41 b(A)25 b(pair)f(of)h(c)m(haracters) +i(separated)e(b)m(y)g(a)630 3634 y(h)m(yphen)i(denotes)h(a)g +Fq(range)g(expression)p Ft(;)g(an)m(y)h(c)m(haracter)g(that)f(sorts)g +(b)s(et)m(w)m(een)g(those)h(t)m(w)m(o)630 3743 y(c)m(haracters,)f +(inclusiv)m(e,)f(using)d(the)h(curren)m(t)f(lo)s(cale's)j(collating)g +(sequence)e(and)f(c)m(haracter)630 3853 y(set,)31 b(is)f(matc)m(hed.)42 +b(If)30 b(the)g(\014rst)g(c)m(haracter)i(follo)m(wing)g(the)e(`)p +Fs([)p Ft(')h(is)f(a)h(`)p Fs(!)p Ft(')f(or)g(a)h(`)p +Fs(^)p Ft(')g(then)f(an)m(y)630 3962 y(c)m(haracter)c(not)f(enclosed)g +(is)g(matc)m(hed.)40 b(A)25 b(`)p Fp(\000)p Ft(')f(ma)m(y)i(b)s(e)e +(matc)m(hed)h(b)m(y)f(including)h(it)g(as)g(the)630 4072 +y(\014rst)32 b(or)h(last)h(c)m(haracter)h(in)e(the)g(set.)50 +b(A)33 b(`)p Fs(])p Ft(')g(ma)m(y)h(b)s(e)e(matc)m(hed)i(b)m(y)f +(including)g(it)g(as)h(the)630 4181 y(\014rst)25 b(c)m(haracter)i(in)e +(the)h(set.)40 b(The)25 b(sorting)h(order)f(of)h(c)m(haracters)h(in)f +(range)g(expressions)f(is)630 4291 y(determined)e(b)m(y)g(the)g(curren) +m(t)f(lo)s(cale)j(and)e(the)g(v)-5 b(alue)23 b(of)g(the)h +Fs(LC_COLLATE)c Ft(shell)j(v)-5 b(ariable,)630 4401 y(if)30 +b(set.)630 4542 y(F)-8 b(or)34 b(example,)g(in)f(the)g(default)g(C)f (lo)s(cale,)k(`)p Fs([a-dx-z])p Ft(')31 b(is)i(equiv)-5 -b(alen)m(t)34 b(to)g(`)p Fs([abcdxyz])p Ft('.)630 2629 +b(alen)m(t)34 b(to)g(`)p Fs([abcdxyz])p Ft('.)630 4651 y(Man)m(y)68 b(lo)s(cales)h(sort)f(c)m(haracters)h(in)e(dictionary)i -(order,)76 b(and)67 b(in)g(these)h(lo)s(cales)630 2739 +(order,)76 b(and)67 b(in)g(these)h(lo)s(cales)630 4761 y(`)p Fs([a-dx-z])p Ft(')36 b(is)i(t)m(ypically)i(not)e(equiv)-5 b(alen)m(t)39 b(to)g(`)p Fs([abcdxyz])p Ft(';)g(it)g(migh)m(t)f(b)s(e)f -(equiv)-5 b(alen)m(t)630 2848 y(to)34 b(`)p Fs([aBbCcDdxXyYz])p +(equiv)-5 b(alen)m(t)630 4870 y(to)34 b(`)p Fs([aBbCcDdxXyYz])p Ft(',)c(for)j(example.)49 b(T)-8 b(o)33 b(obtain)h(the)f(traditional)h -(in)m(terpretation)h(of)630 2958 y(ranges)e(in)f(brac)m(k)m(et)i +(in)m(terpretation)h(of)630 4980 y(ranges)e(in)f(brac)m(k)m(et)i (expressions,)g(y)m(ou)f(can)g(force)g(the)g(use)f(of)h(the)g(C)f(lo)s -(cale)i(b)m(y)f(setting)630 3067 y(the)e Fs(LC_COLLATE)c +(cale)i(b)m(y)f(setting)630 5089 y(the)e Fs(LC_COLLATE)c Ft(or)k Fs(LC_ALL)d Ft(en)m(vironmen)m(t)j(v)-5 b(ariable)31 -b(to)g(the)g(v)-5 b(alue)31 b(`)p Fs(C)p Ft('.)630 3204 +b(to)g(the)g(v)-5 b(alue)31 b(`)p Fs(C)p Ft('.)630 5230 y(Within)23 b(`)p Fs([)p Ft(')h(and)e(`)p Fs(])p Ft(',)j Fq(c)m(haracter)g(classes)j Ft(can)c(b)s(e)e(sp)s(eci\014ed)h(using)f (the)i(syn)m(tax)f Fs([:)p Fq(class)t Fs(:])p Ft(,)630 -3314 y(where)30 b Fq(class)35 b Ft(is)30 b(one)h(of)f(the)h(follo)m -(wing)h(classes)f(de\014ned)e(in)h(the)h Fl(posix)f Ft(standard:)870 -3450 y Fs(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g(digit)g(graph)g -(lower)870 3560 y(print)g(punct)g(space)f(upper)h(word)190 -b(xdigit)630 3696 y Ft(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h(an)m -(y)f(c)m(haracter)h(b)s(elonging)f(to)g(that)g(class.)75 -b(The)41 b Fs(word)630 3806 y Ft(c)m(haracter)32 b(class)f(matc)m(hes)h -(letters,)f(digits,)h(and)d(the)i(c)m(haracter)h(`)p -Fs(_)p Ft('.)630 3942 y(Within)25 b(`)p Fs([)p Ft(')f(and)g(`)p -Fs(])p Ft(',)i(an)e Fq(equiv)-5 b(alence)26 b(class)j -Ft(can)24 b(b)s(e)g(sp)s(eci\014ed)g(using)g(the)g(syn)m(tax)h -Fs([=)p Fq(c)6 b Fs(=])p Ft(,)630 4052 y(whic)m(h)29 -b(matc)m(hes)i(all)f(c)m(haracters)h(with)e(the)h(same)g(collation)h(w) -m(eigh)m(t)g(\(as)f(de\014ned)e(b)m(y)i(the)630 4161 -y(curren)m(t)g(lo)s(cale\))j(as)d(the)h(c)m(haracter)h -Fq(c)p Ft(.)630 4298 y(Within)22 b(`)p Fs([)p Ft(')f(and)g(`)p -Fs(])p Ft(',)j(the)d(syn)m(tax)h Fs([.)p Fq(sym)m(b)s(ol)t -Fs(.])e Ft(matc)m(hes)i(the)g(collating)i(sym)m(b)s(ol)d -Fq(sym)m(b)s(ol)p Ft(.)275 4463 y(If)29 b(the)g Fs(extglob)f -Ft(shell)h(option)h(is)g(enabled)f(using)g(the)h Fs(shopt)e -Ft(builtin,)h(sev)m(eral)i(extended)f(pattern)150 4573 -y(matc)m(hing)37 b(op)s(erators)e(are)h(recognized.)58 +5340 y(where)30 b Fq(class)35 b Ft(is)30 b(one)h(of)f(the)h(follo)m +(wing)h(classes)f(de\014ned)e(in)h(the)h Fl(posix)f Ft(standard:)p +eop end +%%Page: 25 31 +TeXDict begin 25 30 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(25)870 299 +y Fs(alnum)142 b(alpha)g(ascii)f(blank)h(cntrl)g(digit)g(graph)g(lower) +870 408 y(print)g(punct)g(space)f(upper)h(word)190 b(xdigit)630 +540 y Ft(A)42 b(c)m(haracter)h(class)f(matc)m(hes)h(an)m(y)f(c)m +(haracter)h(b)s(elonging)f(to)g(that)g(class.)75 b(The)41 +b Fs(word)630 649 y Ft(c)m(haracter)32 b(class)f(matc)m(hes)h(letters,) +f(digits,)h(and)d(the)i(c)m(haracter)h(`)p Fs(_)p Ft('.)630 +781 y(Within)25 b(`)p Fs([)p Ft(')f(and)g(`)p Fs(])p +Ft(',)i(an)e Fq(equiv)-5 b(alence)26 b(class)j Ft(can)24 +b(b)s(e)g(sp)s(eci\014ed)g(using)g(the)g(syn)m(tax)h +Fs([=)p Fq(c)6 b Fs(=])p Ft(,)630 890 y(whic)m(h)29 b(matc)m(hes)i(all) +f(c)m(haracters)h(with)e(the)h(same)g(collation)h(w)m(eigh)m(t)g(\(as)f +(de\014ned)e(b)m(y)i(the)630 1000 y(curren)m(t)g(lo)s(cale\))j(as)d +(the)h(c)m(haracter)h Fq(c)p Ft(.)630 1131 y(Within)22 +b(`)p Fs([)p Ft(')f(and)g(`)p Fs(])p Ft(',)j(the)d(syn)m(tax)h +Fs([.)p Fq(sym)m(b)s(ol)t Fs(.])e Ft(matc)m(hes)i(the)g(collating)i +(sym)m(b)s(ol)d Fq(sym)m(b)s(ol)p Ft(.)275 1285 y(If)29 +b(the)g Fs(extglob)f Ft(shell)h(option)h(is)g(enabled)f(using)g(the)h +Fs(shopt)e Ft(builtin,)h(sev)m(eral)i(extended)f(pattern)150 +1394 y(matc)m(hing)37 b(op)s(erators)e(are)h(recognized.)58 b(In)35 b(the)g(follo)m(wing)i(description,)g(a)f Fq(pattern-list)j -Ft(is)d(a)g(list)g(of)150 4682 y(one)d(or)f(more)h(patterns)f +Ft(is)d(a)g(list)g(of)150 1504 y(one)d(or)f(more)h(patterns)f (separated)h(b)m(y)f(a)h(`)p Fs(|)p Ft('.)47 b(Comp)s(osite)33 b(patterns)f(ma)m(y)i(b)s(e)d(formed)h(using)g(one)h(or)150 -4792 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150 -4957 y Fs(?\()p Fj(pattern-list)11 b Fs(\))630 5067 y +1613 y(more)e(of)f(the)h(follo)m(wing)g(sub-patterns:)150 +1766 y Fs(?\()p Fj(pattern-list)11 b Fs(\))630 1876 y Ft(Matc)m(hes)32 b(zero)f(or)g(one)f(o)s(ccurrence)h(of)f(the)h(giv)m -(en)g(patterns.)150 5230 y Fs(*\()p Fj(pattern-list)11 -b Fs(\))630 5340 y Ft(Matc)m(hes)32 b(zero)f(or)g(more)f(o)s -(ccurrences)h(of)f(the)h(giv)m(en)g(patterns.)p eop end -%%Page: 25 31 -TeXDict begin 25 30 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(25)150 299 -y Fs(+\()p Fj(pattern-list)11 b Fs(\))630 408 y Ft(Matc)m(hes)32 +(en)g(patterns.)150 2029 y Fs(*\()p Fj(pattern-list)11 +b Fs(\))630 2139 y Ft(Matc)m(hes)32 b(zero)f(or)g(more)f(o)s +(ccurrences)h(of)f(the)h(giv)m(en)g(patterns.)150 2292 +y Fs(+\()p Fj(pattern-list)11 b Fs(\))630 2402 y Ft(Matc)m(hes)32 b(one)f(or)f(more)h(o)s(ccurrences)f(of)h(the)f(giv)m(en)i(patterns.) -150 568 y Fs(@\()p Fj(pattern-list)11 b Fs(\))630 678 +150 2555 y Fs(@\()p Fj(pattern-list)11 b Fs(\))630 2664 y Ft(Matc)m(hes)32 b(one)f(of)f(the)h(giv)m(en)g(patterns.)150 -838 y Fs(!\()p Fj(pattern-list)11 b Fs(\))630 947 y Ft(Matc)m(hes)32 -b(an)m(ything)f(except)g(one)g(of)f(the)h(giv)m(en)g(patterns.)150 -1172 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7 b(al)275 -1416 y Ft(After)32 b(the)h(preceding)f(expansions,)h(all)g(unquoted)f -(o)s(ccurrences)g(of)h(the)f(c)m(haracters)i(`)p Fs(\\)p -Ft(',)f(`)p Fs(')p Ft(',)h(and)150 1526 y(`)p Fs(")p -Ft(')d(that)g(did)e(not)i(result)f(from)g(one)h(of)f(the)h(ab)s(o)m(v)m -(e)g(expansions)f(are)h(remo)m(v)m(ed.)150 1784 y Fr(3.6)68 -b(Redirections)275 2029 y Ft(Before)33 b(a)h(command)e(is)h(executed,)i -(its)e(input)f(and)h(output)f(ma)m(y)i(b)s(e)e Fq(redirected)37 -b Ft(using)32 b(a)h(sp)s(ecial)150 2138 y(notation)g(in)m(terpreted)g -(b)m(y)f(the)g(shell.)46 b(Redirection)33 b(ma)m(y)g(also)g(b)s(e)f -(used)f(to)i(op)s(en)e(and)h(close)h(\014les)f(for)150 -2248 y(the)h(curren)m(t)g(shell)g(execution)h(en)m(vironmen)m(t.)49 -b(The)33 b(follo)m(wing)h(redirection)g(op)s(erators)f(ma)m(y)h -(precede)150 2357 y(or)29 b(app)s(ear)g(an)m(ywhere)g(within)g(a)h -(simple)f(command)g(or)h(ma)m(y)g(follo)m(w)g(a)g(command.)40 -b(Redirections)31 b(are)150 2467 y(pro)s(cessed)f(in)g(the)g(order)g -(they)h(app)s(ear,)f(from)g(left)h(to)g(righ)m(t.)275 -2602 y(In)c(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g +2817 y Fs(!\()p Fj(pattern-list)11 b Fs(\))630 2927 y +Ft(Matc)m(hes)32 b(an)m(ything)f(except)g(one)g(of)f(the)h(giv)m(en)g +(patterns.)150 3142 y Fk(3.5.9)63 b(Quote)41 b(Remo)m(v)-7 +b(al)275 3383 y Ft(After)32 b(the)h(preceding)f(expansions,)h(all)g +(unquoted)f(o)s(ccurrences)g(of)h(the)f(c)m(haracters)i(`)p +Fs(\\)p Ft(',)f(`)p Fs(')p Ft(',)h(and)150 3492 y(`)p +Fs(")p Ft(')d(that)g(did)e(not)i(result)f(from)g(one)h(of)f(the)h(ab)s +(o)m(v)m(e)g(expansions)f(are)h(remo)m(v)m(ed.)150 3740 +y Fr(3.6)68 b(Redirections)275 3981 y Ft(Before)33 b(a)h(command)e(is)h +(executed,)i(its)e(input)f(and)h(output)f(ma)m(y)i(b)s(e)e +Fq(redirected)37 b Ft(using)32 b(a)h(sp)s(ecial)150 4091 +y(notation)g(in)m(terpreted)g(b)m(y)f(the)g(shell.)46 +b(Redirection)33 b(ma)m(y)g(also)g(b)s(e)f(used)f(to)i(op)s(en)e(and)h +(close)h(\014les)f(for)150 4201 y(the)h(curren)m(t)g(shell)g(execution) +h(en)m(vironmen)m(t.)49 b(The)33 b(follo)m(wing)h(redirection)g(op)s +(erators)f(ma)m(y)h(precede)150 4310 y(or)29 b(app)s(ear)g(an)m(ywhere) +g(within)g(a)h(simple)f(command)g(or)h(ma)m(y)g(follo)m(w)g(a)g +(command.)40 b(Redirections)31 b(are)150 4420 y(pro)s(cessed)f(in)g +(the)g(order)g(they)h(app)s(ear,)f(from)g(left)h(to)g(righ)m(t.)275 +4551 y(In)c(the)i(follo)m(wing)h(descriptions,)g(if)e(the)h(\014le)g (descriptor)f(n)m(um)m(b)s(er)g(is)g(omitted,)i(and)f(the)f(\014rst)g -(c)m(har-)150 2711 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g +(c)m(har-)150 4661 y(acter)42 b(of)f(the)g(redirection)g(op)s(erator)g (is)g(`)p Fs(<)p Ft(',)i(the)e(redirection)g(refers)g(to)g(the)g -(standard)f(input)f(\(\014le)150 2821 y(descriptor)33 +(standard)f(input)f(\(\014le)150 4770 y(descriptor)33 b(0\).)49 b(If)33 b(the)g(\014rst)f(c)m(haracter)i(of)g(the)f (redirection)g(op)s(erator)h(is)f(`)p Fs(>)p Ft(',)h(the)f(redirection) -g(refers)150 2931 y(to)e(the)g(standard)e(output)h(\(\014le)h -(descriptor)f(1\).)275 3065 y(The)h(w)m(ord)h(follo)m(wing)i(the)f +g(refers)150 4880 y(to)e(the)g(standard)e(output)h(\(\014le)h +(descriptor)f(1\).)275 5011 y(The)h(w)m(ord)h(follo)m(wing)i(the)f (redirection)g(op)s(erator)f(in)g(the)h(follo)m(wing)h(descriptions,)f -(unless)e(other-)150 3175 y(wise)21 b(noted,)i(is)e(sub)5 +(unless)e(other-)150 5121 y(wise)21 b(noted,)i(is)e(sub)5 b(jected)21 b(to)h(brace)f(expansion,)i(tilde)f(expansion,)h(parameter) -e(expansion,)i(command)150 3285 y(substitution,)31 b(arithmetic)h +e(expansion,)i(command)150 5230 y(substitution,)31 b(arithmetic)h (expansion,)f(quote)h(remo)m(v)-5 b(al,)33 b(\014lename)e(expansion,)g -(and)f(w)m(ord)h(splitting.)150 3394 y(If)f(it)h(expands)e(to)i(more)g -(than)f(one)h(w)m(ord,)f(Bash)h(rep)s(orts)e(an)h(error.)275 -3529 y(Note)h(that)g(the)g(order)f(of)g(redirections)h(is)g -(signi\014can)m(t.)41 b(F)-8 b(or)31 b(example,)h(the)e(command)390 -3664 y Fs(ls)47 b(>)h Fj(dirlist)56 b Fs(2>&1)150 3799 -y Ft(directs)28 b(b)s(oth)f(standard)g(output)g(\(\014le)h(descriptor)f -(1\))i(and)e(standard)f(error)i(\(\014le)g(descriptor)f(2\))h(to)h(the) -150 3908 y(\014le)h Fq(dirlist)p Ft(,)h(while)f(the)h(command)390 -4043 y Fs(ls)47 b(2>&1)g(>)g Fj(dirlist)150 4178 y Ft(directs)34 -b(only)g(the)f(standard)g(output)g(to)h(\014le)g Fq(dirlist)p -Ft(,)h(b)s(ecause)e(the)h(standard)f(error)g(w)m(as)h(duplicated)150 -4287 y(as)d(standard)e(output)h(b)s(efore)g(the)h(standard)e(output)h -(w)m(as)h(redirected)g(to)g Fq(dirlist)p Ft(.)275 4422 -y(Bash)26 b(handles)f(sev)m(eral)j(\014lenames)e(sp)s(ecially)h(when)f -(they)g(are)g(used)g(in)g(redirections,)i(as)e(describ)s(ed)150 -4532 y(in)k(the)h(follo)m(wing)g(table:)150 4692 y Fs(/dev/fd/)p -Fj(fd)630 4801 y Ft(If)f Fq(fd)j Ft(is)d(a)h(v)-5 b(alid)31 -b(in)m(teger,)h(\014le)e(descriptor)h Fq(fd)i Ft(is)d(duplicated.)150 -4961 y Fs(/dev/stdin)630 5071 y Ft(File)i(descriptor)e(0)h(is)f -(duplicated.)150 5230 y Fs(/dev/stdout)630 5340 y Ft(File)i(descriptor) -e(1)h(is)f(duplicated.)p eop end +(and)f(w)m(ord)h(splitting.)150 5340 y(If)f(it)h(expands)e(to)i(more)g +(than)f(one)h(w)m(ord,)f(Bash)h(rep)s(orts)e(an)h(error.)p +eop end %%Page: 26 32 TeXDict begin 26 31 bop 150 -116 a Ft(26)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fs(/dev/stderr)630 -408 y Ft(File)h(descriptor)e(2)h(is)f(duplicated.)150 -568 y Fs(/dev/tcp/)p Fj(host)11 b Fs(/)p Fj(port)630 -677 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 b(alid)41 -b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c Fq(p)s(ort)j -Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 787 y(n)m(um)m(b)s(er)h(or)h -(service)h(name,)j(Bash)c(attempts)h(to)g(op)s(en)f(a)g(TCP)g -(connection)h(to)g(the)630 897 y(corresp)s(onding)29 -b(so)s(c)m(k)m(et.)150 1056 y Fs(/dev/udp/)p Fj(host)11 -b Fs(/)p Fj(port)630 1166 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 +b(Reference)g(Man)m(ual)275 299 y(Note)g(that)g(the)g(order)f(of)g +(redirections)h(is)g(signi\014can)m(t.)41 b(F)-8 b(or)31 +b(example,)h(the)e(command)390 436 y Fs(ls)47 b(>)h Fj(dirlist)56 +b Fs(2>&1)150 572 y Ft(directs)28 b(b)s(oth)f(standard)g(output)g +(\(\014le)h(descriptor)f(1\))i(and)e(standard)f(error)i(\(\014le)g +(descriptor)f(2\))h(to)h(the)150 682 y(\014le)h Fq(dirlist)p +Ft(,)h(while)f(the)h(command)390 819 y Fs(ls)47 b(2>&1)g(>)g +Fj(dirlist)150 956 y Ft(directs)34 b(only)g(the)f(standard)g(output)g +(to)h(\014le)g Fq(dirlist)p Ft(,)h(b)s(ecause)e(the)h(standard)f(error) +g(w)m(as)h(duplicated)150 1065 y(as)d(standard)e(output)h(b)s(efore)g +(the)h(standard)e(output)h(w)m(as)h(redirected)g(to)g +Fq(dirlist)p Ft(.)275 1202 y(Bash)26 b(handles)f(sev)m(eral)j +(\014lenames)e(sp)s(ecially)h(when)f(they)g(are)g(used)g(in)g +(redirections,)i(as)e(describ)s(ed)150 1311 y(in)k(the)h(follo)m(wing)g +(table:)150 1474 y Fs(/dev/fd/)p Fj(fd)630 1584 y Ft(If)f +Fq(fd)j Ft(is)d(a)h(v)-5 b(alid)31 b(in)m(teger,)h(\014le)e(descriptor) +h Fq(fd)i Ft(is)d(duplicated.)150 1745 y Fs(/dev/stdin)630 +1855 y Ft(File)i(descriptor)e(0)h(is)f(duplicated.)150 +2017 y Fs(/dev/stdout)630 2126 y Ft(File)i(descriptor)e(1)h(is)f +(duplicated.)150 2288 y Fs(/dev/stderr)630 2398 y Ft(File)i(descriptor) +e(2)h(is)f(duplicated.)150 2559 y Fs(/dev/tcp/)p Fj(host)11 +b Fs(/)p Fj(port)630 2669 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 +b(alid)41 b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c +Fq(p)s(ort)j Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 2778 +y(n)m(um)m(b)s(er)h(or)h(service)h(name,)j(Bash)c(attempts)h(to)g(op)s +(en)f(a)g(TCP)g(connection)h(to)g(the)630 2888 y(corresp)s(onding)29 +b(so)s(c)m(k)m(et.)150 3050 y Fs(/dev/udp/)p Fj(host)11 +b Fs(/)p Fj(port)630 3159 y Ft(If)41 b Fq(host)i Ft(is)f(a)g(v)-5 b(alid)41 b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c -Fq(p)s(ort)j Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 1275 +Fq(p)s(ort)j Ft(is)f(an)f(in)m(teger)i(p)s(ort)630 3269 y(n)m(um)m(b)s(er)g(or)i(service)g(name,)k(Bash)c(attempts)g(to)h(op)s -(en)e(a)h(UDP)g(connection)g(to)h(the)630 1385 y(corresp)s(onding)29 -b(so)s(c)m(k)m(et.)275 1544 y(A)h(failure)h(to)g(op)s(en)e(or)i(create) +(en)e(a)h(UDP)g(connection)g(to)h(the)630 3378 y(corresp)s(onding)29 +b(so)s(c)m(k)m(et.)275 3541 y(A)h(failure)h(to)g(op)s(en)e(or)i(create) h(a)e(\014le)h(causes)g(the)f(redirection)h(to)g(fail.)275 -1679 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f +3678 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f (9)h(should)e(b)s(e)h(used)f(with)h(care,)h(as)g(they)f(ma)m(y)150 -1788 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f -(in)m(ternally)-8 b(.)150 2012 y Fk(3.6.1)63 b(Redirecting)40 -b(Input)275 2257 y Ft(Redirection)35 b(of)f(input)g(causes)g(the)h +3788 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f +(in)m(ternally)-8 b(.)150 4016 y Fk(3.6.1)63 b(Redirecting)40 +b(Input)275 4263 y Ft(Redirection)35 b(of)f(input)g(causes)g(the)h (\014le)f(whose)g(name)h(results)f(from)g(the)g(expansion)g(of)h -Fq(w)m(ord)i Ft(to)150 2366 y(b)s(e)d(op)s(ened)g(for)g(reading)g(on)h +Fq(w)m(ord)i Ft(to)150 4372 y(b)s(e)d(op)s(ened)g(for)g(reading)g(on)h (\014le)f(descriptor)h Fs(n)p Ft(,)g(or)g(the)f(standard)g(input)g (\(\014le)h(descriptor)f(0\))h(if)g Fs(n)f Ft(is)150 -2476 y(not)d(sp)s(eci\014ed.)275 2610 y(The)e(general)j(format)e(for)h -(redirecting)g(input)e(is:)390 2745 y Fs([)p Fj(n)11 -b Fs(]<)p Fj(word)150 2969 y Fk(3.6.2)63 b(Redirecting)40 -b(Output)275 3213 y Ft(Redirection)31 b(of)f(output)g(causes)h(the)g +4482 y(not)d(sp)s(eci\014ed.)275 4619 y(The)e(general)j(format)e(for)h +(redirecting)g(input)e(is:)390 4755 y Fs([)p Fj(n)11 +b Fs(]<)p Fj(word)150 4984 y Fk(3.6.2)63 b(Redirecting)40 +b(Output)275 5230 y Ft(Redirection)31 b(of)f(output)g(causes)h(the)g (\014le)f(whose)g(name)h(results)f(from)f(the)i(expansion)f(of)h -Fq(w)m(ord)i Ft(to)150 3323 y(b)s(e)e(op)s(ened)g(for)g(writing)h(on)f +Fq(w)m(ord)i Ft(to)150 5340 y(b)s(e)e(op)s(ened)g(for)g(writing)h(on)f (\014le)h(descriptor)f Fq(n)p Ft(,)h(or)f(the)h(standard)f(output)g -(\(\014le)h(descriptor)f(1\))h(if)g Fq(n)f Ft(is)150 -3432 y(not)j(sp)s(eci\014ed.)50 b(If)33 b(the)h(\014le)g(do)s(es)f(not) -h(exist)g(it)g(is)g(created;)j(if)c(it)h(do)s(es)g(exist)g(it)g(is)g -(truncated)g(to)g(zero)150 3542 y(size.)275 3676 y(The)29 +(\(\014le)h(descriptor)f(1\))h(if)g Fq(n)f Ft(is)p eop +end +%%Page: 27 33 +TeXDict begin 27 32 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(27)150 299 +y(not)34 b(sp)s(eci\014ed.)50 b(If)33 b(the)h(\014le)g(do)s(es)f(not)h +(exist)g(it)g(is)g(created;)j(if)c(it)h(do)s(es)g(exist)g(it)g(is)g +(truncated)g(to)g(zero)150 408 y(size.)275 569 y(The)29 b(general)j(format)e(for)h(redirecting)g(output)f(is:)390 -3811 y Fs([)p Fj(n)11 b Fs(]>[|])p Fj(word)275 3945 y -Ft(If)30 b(the)h(redirection)g(op)s(erator)g(is)g(`)p -Fs(>)p Ft(',)g(and)f(the)h Fs(noclobber)d Ft(option)j(to)g(the)g -Fs(set)f Ft(builtin)g(has)h(b)s(een)150 4055 y(enabled,)i(the)f -(redirection)h(will)f(fail)h(if)f(the)g(\014le)g(whose)g(name)g -(results)g(from)g(the)g(expansion)g(of)g Fq(w)m(ord)150 -4164 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41 +730 y Fs([)p Fj(n)11 b Fs(]>[|])p Fj(word)275 891 y Ft(If)30 +b(the)h(redirection)g(op)s(erator)g(is)g(`)p Fs(>)p Ft(',)g(and)f(the)h +Fs(noclobber)d Ft(option)j(to)g(the)g Fs(set)f Ft(builtin)g(has)h(b)s +(een)150 1001 y(enabled,)i(the)f(redirection)h(will)f(fail)h(if)f(the)g +(\014le)g(whose)g(name)g(results)g(from)g(the)g(expansion)g(of)g +Fq(w)m(ord)150 1110 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41 b(If)30 b(the)h(redirection)g(op)s(erator)g(is)f(`)p Fs(>|)p Ft(',)h(or)f(the)h(redirection)g(op)s(erator)g(is)150 -4274 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e +1220 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e Ft(option)j(is)g(not)g(enabled,)h(the)e(redirection)h(is)g(attempted)g -(ev)m(en)h(if)e(the)h(\014le)150 4384 y(named)30 b(b)m(y)g -Fq(w)m(ord)k Ft(exists.)150 4608 y Fk(3.6.3)63 b(App)s(ending)42 -b(Redirected)e(Output)275 4852 y Ft(Redirection)29 b(of)g(output)f(in)g +(ev)m(en)h(if)e(the)h(\014le)150 1329 y(named)30 b(b)m(y)g +Fq(w)m(ord)k Ft(exists.)150 1606 y Fk(3.6.3)63 b(App)s(ending)42 +b(Redirected)e(Output)275 1877 y Ft(Redirection)29 b(of)g(output)f(in)g (this)h(fashion)f(causes)h(the)g(\014le)g(whose)f(name)h(results)f -(from)g(the)h(expan-)150 4961 y(sion)34 b(of)f Fq(w)m(ord)k +(from)g(the)h(expan-)150 1986 y(sion)34 b(of)f Fq(w)m(ord)k Ft(to)e(b)s(e)e(op)s(ened)g(for)g(app)s(ending)f(on)i(\014le)f (descriptor)h Fq(n)p Ft(,)g(or)g(the)f(standard)g(output)g(\(\014le)150 -5071 y(descriptor)d(1\))h(if)g Fq(n)f Ft(is)g(not)h(sp)s(eci\014ed.)40 +2096 y(descriptor)d(1\))h(if)g Fq(n)f Ft(is)g(not)h(sp)s(eci\014ed.)40 b(If)29 b(the)i(\014le)f(do)s(es)h(not)f(exist)h(it)g(is)g(created.)275 -5205 y(The)e(general)j(format)e(for)h(app)s(ending)e(output)h(is:)390 -5340 y Fs([)p Fj(n)11 b Fs(]>>)p Fj(word)p eop end -%%Page: 27 33 -TeXDict begin 27 32 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(27)150 299 -y Fk(3.6.4)63 b(Redirecting)40 b(Standard)h(Output)g(and)g(Standard)g -(Error)275 542 y Ft(Bash)31 b(allo)m(ws)h(b)s(oth)e(the)h(standard)g -(output)f(\(\014le)i(descriptor)e(1\))i(and)e(the)i(standard)e(error)g -(output)150 652 y(\(\014le)d(descriptor)g(2\))h(to)f(b)s(e)g -(redirected)g(to)h(the)f(\014le)g(whose)f(name)h(is)g(the)g(expansion)g -(of)g Fq(w)m(ord)j Ft(with)d(this)150 761 y(construct.)275 -895 y(There)i(are)i(t)m(w)m(o)h(formats)e(for)h(redirecting)g(standard) -e(output)h(and)g(standard)f(error:)390 1028 y Fs(&>)p -Fj(word)150 1162 y Ft(and)390 1296 y Fs(>&)p Fj(word)150 -1429 y Ft(Of)h(the)g(t)m(w)m(o)i(forms,)e(the)h(\014rst)e(is)i -(preferred.)39 b(This)30 b(is)g(seman)m(tically)j(equiv)-5 -b(alen)m(t)32 b(to)390 1563 y Fs(>)p Fj(word)57 b Fs(2>&1)150 -1784 y Fk(3.6.5)63 b(Here)41 b(Do)s(cumen)m(ts)275 2027 -y Ft(This)28 b(t)m(yp)s(e)h(of)h(redirection)g(instructs)f(the)g(shell) -h(to)g(read)f(input)f(from)h(the)g(curren)m(t)h(source)f(un)m(til)h(a) -150 2137 y(line)h(con)m(taining)g(only)g Fq(w)m(ord)i -Ft(\(with)d(no)h(trailing)g(blanks\))f(is)g(seen.)41 +2257 y(The)e(general)j(format)e(for)h(app)s(ending)e(output)h(is:)390 +2418 y Fs([)p Fj(n)11 b Fs(]>>)p Fj(word)150 2694 y Fk(3.6.4)63 +b(Redirecting)40 b(Standard)h(Output)g(and)g(Standard)g(Error)275 +2965 y Ft(This)23 b(construct)i(allo)m(ws)h(b)s(oth)e(the)h(standard)f +(output)g(\(\014le)h(descriptor)f(1\))i(and)e(the)h(standard)e(error) +150 3075 y(output)30 b(\(\014le)h(descriptor)f(2\))h(to)g(b)s(e)f +(redirected)h(to)g(the)f(\014le)h(whose)f(name)h(is)f(the)g(expansion)h +(of)f Fq(w)m(ord)p Ft(.)275 3235 y(There)f(are)i(t)m(w)m(o)h(formats)e +(for)h(redirecting)g(standard)e(output)h(and)g(standard)f(error:)390 +3396 y Fs(&>)p Fj(word)150 3557 y Ft(and)390 3718 y Fs(>&)p +Fj(word)150 3879 y Ft(Of)h(the)g(t)m(w)m(o)i(forms,)e(the)h(\014rst)e +(is)i(preferred.)39 b(This)30 b(is)g(seman)m(tically)j(equiv)-5 +b(alen)m(t)32 b(to)390 4040 y Fs(>)p Fj(word)57 b Fs(2>&1)150 +4317 y Fk(3.6.5)63 b(App)s(ending)42 b(Standard)f(Output)g(and)g +(Standard)g(Error)275 4587 y Ft(This)23 b(construct)i(allo)m(ws)h(b)s +(oth)e(the)h(standard)f(output)g(\(\014le)h(descriptor)f(1\))i(and)e +(the)h(standard)e(error)150 4697 y(output)30 b(\(\014le)h(descriptor)f +(2\))h(to)g(b)s(e)f(app)s(ended)f(to)i(the)f(\014le)h(whose)f(name)g +(is)h(the)f(expansion)h(of)f Fq(w)m(ord)p Ft(.)275 4857 +y(The)f(format)i(for)f(app)s(ending)f(standard)h(output)g(and)f +(standard)h(error)g(is:)390 5018 y Fs(&>>)p Fj(word)150 +5179 y Ft(This)g(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32 +b(to)390 5340 y Fs(>>)p Fj(word)57 b Fs(2>&1)p eop end +%%Page: 28 34 +TeXDict begin 28 33 bop 150 -116 a Ft(28)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fk(3.6.6)63 b(Here)41 +b(Do)s(cumen)m(ts)275 560 y Ft(This)28 b(t)m(yp)s(e)h(of)h(redirection) +g(instructs)f(the)g(shell)h(to)g(read)f(input)f(from)h(the)g(curren)m +(t)h(source)f(un)m(til)h(a)150 669 y(line)h(con)m(taining)g(only)g +Fq(w)m(ord)i Ft(\(with)d(no)h(trailing)g(blanks\))f(is)g(seen.)41 b(All)31 b(of)f(the)h(lines)f(read)g(up)f(to)i(that)150 -2246 y(p)s(oin)m(t)f(are)h(then)f(used)g(as)g(the)h(standard)f(input)f -(for)h(a)h(command.)275 2380 y(The)e(format)i(of)g(here-do)s(cumen)m -(ts)f(is:)390 2514 y Fs(<<[)p Fp(\000)p Fs(])p Fj(word)772 -2623 y(here-document)390 2733 y(delimiter)275 2866 y +779 y(p)s(oin)m(t)f(are)h(then)f(used)g(as)g(the)h(standard)f(input)f +(for)h(a)h(command.)275 930 y(The)e(format)i(of)g(here-do)s(cumen)m(ts) +f(is:)390 1081 y Fs(<<[)p Fp(\000)p Fs(])p Fj(word)772 +1191 y(here-document)390 1300 y(delimiter)275 1451 y Ft(No)j(parameter)h(expansion,)g(command)f(substitution,)h(arithmetic)h -(expansion,)f(or)f(\014lename)g(ex-)150 2976 y(pansion)i(is)g(p)s +(expansion,)f(or)f(\014lename)g(ex-)150 1561 y(pansion)i(is)g(p)s (erformed)e(on)i Fq(w)m(ord)p Ft(.)55 b(If)34 b(an)m(y)i(c)m(haracters) g(in)f Fq(w)m(ord)j Ft(are)d(quoted,)i(the)e Fq(delimiter)43 -b Ft(is)35 b(the)150 3085 y(result)40 b(of)h(quote)g(remo)m(v)-5 +b Ft(is)35 b(the)150 1670 y(result)40 b(of)h(quote)g(remo)m(v)-5 b(al)42 b(on)e Fq(w)m(ord)p Ft(,)j(and)d(the)g(lines)h(in)f(the)h -(here-do)s(cumen)m(t)f(are)h(not)f(expanded.)150 3195 +(here-do)s(cumen)m(t)f(are)h(not)f(expanded.)150 1780 y(If)32 b Fq(w)m(ord)k Ft(is)d(unquoted,)f(all)i(lines)f(of)f(the)h (here-do)s(cumen)m(t)g(are)g(sub)5 b(jected)32 b(to)i(parameter)f -(expansion,)150 3305 y(command)25 b(substitution,)g(and)g(arithmetic)h +(expansion,)150 1890 y(command)25 b(substitution,)g(and)g(arithmetic)h (expansion.)39 b(In)24 b(the)h(latter)h(case,)h(the)e(c)m(haracter)i -(sequence)150 3414 y Fs(\\newline)h Ft(is)j(ignored,)f(and)g(`)p +(sequence)150 1999 y Fs(\\newline)h Ft(is)j(ignored,)f(and)g(`)p Fs(\\)p Ft(')h(m)m(ust)f(b)s(e)g(used)f(to)i(quote)g(the)g(c)m (haracters)h(`)p Fs(\\)p Ft(',)e(`)p Fs($)p Ft(',)h(and)f(`)p -Fs(`)p Ft('.)275 3548 y(If)21 b(the)i(redirection)g(op)s(erator)g(is)f +Fs(`)p Ft('.)275 2150 y(If)21 b(the)i(redirection)g(op)s(erator)g(is)f (`)p Fs(<<-)p Ft(',)i(then)e(all)h(leading)g(tab)g(c)m(haracters)h(are) -e(stripp)s(ed)f(from)h(input)150 3657 y(lines)33 b(and)f(the)h(line)h +e(stripp)s(ed)f(from)h(input)150 2260 y(lines)33 b(and)f(the)h(line)h (con)m(taining)g Fq(delimiter)p Ft(.)49 b(This)32 b(allo)m(ws)i (here-do)s(cumen)m(ts)f(within)f(shell)i(scripts)e(to)150 -3767 y(b)s(e)e(inden)m(ted)g(in)g(a)h(natural)f(fashion.)150 -3988 y Fk(3.6.6)63 b(Here)41 b(Strings)275 4232 y Ft(A)30 +2369 y(b)s(e)e(inden)m(ted)g(in)g(a)h(natural)f(fashion.)150 +2627 y Fk(3.6.7)63 b(Here)41 b(Strings)275 2888 y Ft(A)30 b(v)-5 b(arian)m(t)31 b(of)g(here)f(do)s(cumen)m(ts,)g(the)h(format)g -(is:)390 4365 y Fs(<<<)47 b Fj(word)275 4499 y Ft(The)29 +(is:)390 3039 y Fs(<<<)47 b Fj(word)275 3190 y Ft(The)29 b Fq(w)m(ord)34 b Ft(is)c(expanded)g(and)g(supplied)f(to)i(the)f -(command)h(on)f(its)h(standard)e(input.)150 4720 y Fk(3.6.7)63 -b(Duplicating)41 b(File)g(Descriptors)275 4963 y Ft(The)29 -b(redirection)i(op)s(erator)390 5097 y Fs([)p Fj(n)11 -b Fs(]<&)p Fj(word)150 5230 y Ft(is)35 b(used)e(to)j(duplicate)f(input) +(command)h(on)f(its)h(standard)e(input.)150 3447 y Fk(3.6.8)63 +b(Duplicating)41 b(File)g(Descriptors)275 3708 y Ft(The)29 +b(redirection)i(op)s(erator)390 3859 y Fs([)p Fj(n)11 +b Fs(]<&)p Fj(word)150 4010 y Ft(is)35 b(used)e(to)j(duplicate)f(input) f(\014le)g(descriptors.)53 b(If)34 b Fq(w)m(ord)k Ft(expands)c(to)h -(one)g(or)g(more)g(digits,)h(the)f(\014le)150 5340 y(descriptor)e +(one)g(or)g(more)g(digits,)h(the)f(\014le)150 4120 y(descriptor)e (denoted)h(b)m(y)g Fq(n)f Ft(is)g(made)h(to)g(b)s(e)f(a)h(cop)m(y)g(of) g(that)g(\014le)g(descriptor.)50 b(If)33 b(the)h(digits)g(in)f -Fq(w)m(ord)p eop end -%%Page: 28 34 -TeXDict begin 28 33 bop 150 -116 a Ft(28)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y(do)e(not)h(sp)s(ecify)f(a)h(\014le)f +Fq(w)m(ord)150 4229 y Ft(do)c(not)h(sp)s(ecify)f(a)h(\014le)f (descriptor)g(op)s(en)g(for)g(input,)g(a)h(redirection)g(error)f(o)s (ccurs.)40 b(If)29 b Fq(w)m(ord)j Ft(ev)-5 b(aluates)150 -408 y(to)31 b(`)p Fs(-)p Ft(',)g(\014le)g(descriptor)g +4339 y(to)31 b(`)p Fs(-)p Ft(',)g(\014le)g(descriptor)g Fq(n)f Ft(is)g(closed.)43 b(If)30 b Fq(n)g Ft(is)g(not)h(sp)s (eci\014ed,)f(the)h(standard)f(input)g(\(\014le)h(descriptor)f(0\))150 -518 y(is)g(used.)275 653 y(The)f(op)s(erator)390 788 -y Fs([)p Fj(n)11 b Fs(]>&)p Fj(word)150 923 y Ft(is)40 +4448 y(is)g(used.)275 4599 y(The)f(op)s(erator)390 4751 +y Fs([)p Fj(n)11 b Fs(]>&)p Fj(word)150 4902 y Ft(is)40 b(used)g(similarly)h(to)g(duplicate)f(output)g(\014le)h(descriptors.)70 b(If)40 b Fq(n)f Ft(is)i(not)f(sp)s(eci\014ed,)i(the)f(standard)150 -1033 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39 +5011 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39 b(If)30 b(the)g(digits)h(in)e Fq(w)m(ord)34 b Ft(do)29 b(not)i(sp)s(ecify)e(a)i(\014le)f(descriptor)g(op)s(en)150 -1142 y(for)38 b(output,)i(a)e(redirection)h(error)f(o)s(ccurs.)63 +5121 y(for)38 b(output,)i(a)e(redirection)h(error)f(o)s(ccurs.)63 b(As)38 b(a)h(sp)s(ecial)f(case,)k(if)c Fq(n)f Ft(is)h(omitted,)k(and) -37 b Fq(w)m(ord)k Ft(do)s(es)150 1252 y(not)28 b(expand)f(to)i(one)f +37 b Fq(w)m(ord)k Ft(do)s(es)150 5230 y(not)28 b(expand)f(to)i(one)f (or)f(more)h(digits,)i(the)e(standard)e(output)i(and)f(standard)g -(error)g(are)i(redirected)f(as)150 1361 y(describ)s(ed)h(previously)-8 -b(.)150 1587 y Fk(3.6.8)63 b(Mo)m(ving)41 b(File)h(Descriptors)275 -1831 y Ft(The)29 b(redirection)i(op)s(erator)390 1966 -y Fs([)p Fj(n)11 b Fs(]<&)p Fj(digit)p Fs(-)150 2101 -y Ft(mo)m(v)m(es)33 b(the)f(\014le)g(descriptor)f Fq(digit)k -Ft(to)d(\014le)g(descriptor)g Fq(n)p Ft(,)f(or)h(the)g(standard)f -(input)f(\(\014le)j(descriptor)e(0\))150 2211 y(if)f -Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)40 b Fq(digit)33 -b Ft(is)e(closed)g(after)g(b)s(eing)f(duplicated)g(to)h -Fq(n)p Ft(.)275 2346 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s -(erator)390 2481 y Fs([)p Fj(n)11 b Fs(]>&)p Fj(digit)p -Fs(-)150 2616 y Ft(mo)m(v)m(es)29 b(the)g(\014le)f(descriptor)f +(error)g(are)i(redirected)f(as)150 5340 y(describ)s(ed)h(previously)-8 +b(.)p eop end +%%Page: 29 35 +TeXDict begin 29 34 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)150 299 +y Fk(3.6.9)63 b(Mo)m(ving)41 b(File)h(Descriptors)275 +542 y Ft(The)29 b(redirection)i(op)s(erator)390 675 y +Fs([)p Fj(n)11 b Fs(]<&)p Fj(digit)p Fs(-)150 808 y Ft(mo)m(v)m(es)33 +b(the)f(\014le)g(descriptor)f Fq(digit)k Ft(to)d(\014le)g(descriptor)g +Fq(n)p Ft(,)f(or)h(the)g(standard)f(input)f(\(\014le)j(descriptor)e +(0\))150 918 y(if)f Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)40 +b Fq(digit)33 b Ft(is)e(closed)g(after)g(b)s(eing)f(duplicated)g(to)h +Fq(n)p Ft(.)275 1051 y(Similarly)-8 b(,)31 b(the)f(redirection)h(op)s +(erator)390 1184 y Fs([)p Fj(n)11 b Fs(]>&)p Fj(digit)p +Fs(-)150 1317 y Ft(mo)m(v)m(es)29 b(the)g(\014le)f(descriptor)f Fq(digit)k Ft(to)e(\014le)f(descriptor)g Fq(n)p Ft(,)g(or)g(the)g (standard)f(output)h(\(\014le)g(descriptor)g(1\))150 -2725 y(if)i Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)150 -2951 y Fk(3.6.9)63 b(Op)s(ening)42 b(File)f(Descriptors)h(for)g -(Reading)f(and)g(W)-10 b(riting)275 3195 y Ft(The)29 -b(redirection)i(op)s(erator)390 3330 y Fs([)p Fj(n)11 -b Fs(]<>)p Fj(word)150 3465 y Ft(causes)39 b(the)g(\014le)g(whose)g +1427 y(if)i Fq(n)g Ft(is)h(not)f(sp)s(eci\014ed.)150 +1647 y Fk(3.6.10)63 b(Op)s(ening)42 b(File)g(Descriptors)g(for)g +(Reading)e(and)h(W)-10 b(riting)275 1890 y Ft(The)29 +b(redirection)i(op)s(erator)390 2023 y Fs([)p Fj(n)11 +b Fs(]<>)p Fj(word)150 2157 y Ft(causes)39 b(the)g(\014le)g(whose)g (name)g(is)g(the)g(expansion)g(of)g Fq(w)m(ord)j Ft(to)d(b)s(e)g(op)s -(ened)f(for)g(b)s(oth)h(reading)g(and)150 3575 y(writing)33 +(ened)f(for)g(b)s(oth)h(reading)g(and)150 2266 y(writing)33 b(on)f(\014le)h(descriptor)f Fq(n)p Ft(,)h(or)g(on)f(\014le)h (descriptor)g(0)g(if)f Fq(n)g Ft(is)h(not)g(sp)s(eci\014ed.)47 -b(If)32 b(the)h(\014le)f(do)s(es)h(not)150 3684 y(exist,)e(it)g(is)g -(created.)150 3943 y Fr(3.7)68 b(Executing)46 b(Commands)150 -4278 y Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)275 -4522 y Ft(When)35 b(a)h(simple)f(command)h(is)f(executed,)j(the)e +b(If)32 b(the)h(\014le)f(do)s(es)h(not)150 2376 y(exist,)e(it)g(is)g +(created.)150 2629 y Fr(3.7)68 b(Executing)46 b(Commands)150 +2959 y Fk(3.7.1)63 b(Simple)41 b(Command)h(Expansion)275 +3202 y Ft(When)35 b(a)h(simple)f(command)h(is)f(executed,)j(the)e (shell)g(p)s(erforms)e(the)i(follo)m(wing)h(expansions,)f(as-)150 -4632 y(signmen)m(ts,)31 b(and)f(redirections,)h(from)f(left)h(to)g -(righ)m(t.)199 4767 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e +3312 y(signmen)m(ts,)31 b(and)f(redirections,)h(from)f(left)h(to)g +(righ)m(t.)199 3445 y(1.)61 b(The)38 b(w)m(ords)f(that)i(the)g(parser)e (has)h(mark)m(ed)g(as)h(v)-5 b(ariable)39 b(assignmen)m(ts)g(\(those)g -(preceding)f(the)330 4876 y(command)30 b(name\))h(and)f(redirections)h +(preceding)f(the)330 3554 y(command)30 b(name\))h(and)f(redirections)h (are)f(sa)m(v)m(ed)i(for)e(later)h(pro)s(cessing.)199 -5011 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5 +3688 y(2.)61 b(The)39 b(w)m(ords)g(that)i(are)f(not)g(v)-5 b(ariable)40 b(assignmen)m(ts)h(or)e(redirections)i(are)f(expanded)f -(\(see)h(Sec-)330 5121 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g +(\(see)h(Sec-)330 3797 y(tion)d(3.5)i([Shell)e(Expansions],)h(page)g (17\).)61 b(If)37 b(an)m(y)g(w)m(ords)f(remain)h(after)h(expansion,)h -(the)e(\014rst)330 5230 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f +(the)e(\014rst)330 3907 y(w)m(ord)31 b(is)g(tak)m(en)h(to)g(b)s(e)f (the)g(name)h(of)f(the)h(command)f(and)f(the)i(remaining)f(w)m(ords)g -(are)g(the)h(argu-)330 5340 y(men)m(ts.)p eop end -%%Page: 29 35 -TeXDict begin 29 34 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(29)199 299 -y(3.)61 b(Redirections)25 b(are)f(p)s(erformed)f(as)h(describ)s(ed)f -(ab)s(o)m(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d -(25\).)199 444 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p -Fs(=)p Ft(')h(in)e(eac)m(h)j(v)-5 b(ariable)25 b(assignmen)m(t)h -(undergo)s(es)e(tilde)i(expansion,)g(parameter)330 554 -y(expansion,)49 b(command)d(substitution,)j(arithmetic)d(expansion,)k -(and)45 b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 -663 y(b)s(eing)30 b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 -855 y(If)32 b(no)i(command)f(name)g(results,)h(the)g(v)-5 -b(ariable)34 b(assignmen)m(ts)g(a\013ect)h(the)f(curren)m(t)f(shell)h -(en)m(viron-)150 965 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 -b(ariables)26 b(are)g(added)f(to)h(the)f(en)m(vironmen)m(t)h(of)g(the)f -(executed)h(command)g(and)150 1074 y(do)35 b(not)f(a\013ect)j(the)d -(curren)m(t)h(shell)g(en)m(vironmen)m(t.)54 b(If)34 b(an)m(y)h(of)g -(the)f(assignmen)m(ts)i(attempts)f(to)h(assign)150 1184 -y(a)j(v)-5 b(alue)39 b(to)g(a)g(readonly)f(v)-5 b(ariable,)42 -b(an)c(error)g(o)s(ccurs,)j(and)c(the)i(command)f(exits)h(with)g(a)f -(non-zero)150 1293 y(status.)275 1449 y(If)33 b(no)g(command)g(name)h -(results,)g(redirections)g(are)g(p)s(erformed,)f(but)g(do)h(not)f -(a\013ect)i(the)f(curren)m(t)150 1559 y(shell)d(en)m(vironmen)m(t.)41 +(are)g(the)h(argu-)330 4016 y(men)m(ts.)199 4150 y(3.)61 +b(Redirections)25 b(are)f(p)s(erformed)f(as)h(describ)s(ed)f(ab)s(o)m +(v)m(e)i(\(see)g(Section)g(3.6)g([Redirections],)i(page)d(25\).)199 +4283 y(4.)61 b(The)25 b(text)h(after)f(the)g(`)p Fs(=)p +Ft(')h(in)e(eac)m(h)j(v)-5 b(ariable)25 b(assignmen)m(t)h(undergo)s(es) +e(tilde)i(expansion,)g(parameter)330 4392 y(expansion,)49 +b(command)d(substitution,)j(arithmetic)d(expansion,)k(and)45 +b(quote)h(remo)m(v)-5 b(al)46 b(b)s(efore)330 4502 y(b)s(eing)30 +b(assigned)h(to)g(the)f(v)-5 b(ariable.)275 4659 y(If)32 +b(no)i(command)f(name)g(results,)h(the)g(v)-5 b(ariable)34 +b(assignmen)m(ts)g(a\013ect)h(the)f(curren)m(t)f(shell)h(en)m(viron-) +150 4768 y(men)m(t.)39 b(Otherwise,)27 b(the)e(v)-5 b(ariables)26 +b(are)g(added)f(to)h(the)f(en)m(vironmen)m(t)h(of)g(the)f(executed)h +(command)g(and)150 4878 y(do)35 b(not)f(a\013ect)j(the)d(curren)m(t)h +(shell)g(en)m(vironmen)m(t.)54 b(If)34 b(an)m(y)h(of)g(the)f(assignmen) +m(ts)i(attempts)f(to)h(assign)150 4988 y(a)j(v)-5 b(alue)39 +b(to)g(a)g(readonly)f(v)-5 b(ariable,)42 b(an)c(error)g(o)s(ccurs,)j +(and)c(the)i(command)f(exits)h(with)g(a)f(non-zero)150 +5097 y(status.)275 5230 y(If)33 b(no)g(command)g(name)h(results,)g +(redirections)g(are)g(p)s(erformed,)f(but)g(do)h(not)f(a\013ect)i(the)f +(curren)m(t)150 5340 y(shell)d(en)m(vironmen)m(t.)41 b(A)30 b(redirection)h(error)f(causes)h(the)g(command)f(to)h(exit)g -(with)f(a)h(non-zero)g(status.)275 1715 y(If)26 b(there)i(is)f(a)h -(command)f(name)h(left)g(after)g(expansion,)g(execution)h(pro)s(ceeds)e -(as)g(describ)s(ed)f(b)s(elo)m(w.)150 1825 y(Otherwise,)39 +(with)f(a)h(non-zero)g(status.)p eop end +%%Page: 30 36 +TeXDict begin 30 35 bop 150 -116 a Ft(30)2572 b(Bash)31 +b(Reference)g(Man)m(ual)275 299 y(If)26 b(there)i(is)f(a)h(command)f +(name)h(left)g(after)g(expansion,)g(execution)h(pro)s(ceeds)e(as)g +(describ)s(ed)f(b)s(elo)m(w.)150 408 y(Otherwise,)39 b(the)e(command)g(exits.)62 b(If)37 b(one)g(of)g(the)h(expansions)f -(con)m(tained)h(a)g(command)f(substitu-)150 1934 y(tion,)i(the)d(exit)h +(con)m(tained)h(a)g(command)f(substitu-)150 518 y(tion,)i(the)d(exit)h (status)g(of)f(the)h(command)f(is)h(the)f(exit)h(status)g(of)f(the)h -(last)g(command)f(substitution)150 2044 y(p)s(erformed.)55 +(last)g(command)f(substitution)150 628 y(p)s(erformed.)55 b(If)35 b(there)g(w)m(ere)h(no)g(command)f(substitutions,)i(the)e -(command)h(exits)g(with)f(a)h(status)g(of)150 2153 y(zero.)150 -2421 y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h(Execution)275 -2686 y Ft(After)35 b(a)h(command)f(has)h(b)s(een)e(split)i(in)m(to)g(w) +(command)h(exits)g(with)f(a)h(status)g(of)150 737 y(zero.)150 +969 y Fk(3.7.2)63 b(Command)41 b(Searc)m(h)f(and)h(Execution)275 +1217 y Ft(After)35 b(a)h(command)f(has)h(b)s(een)e(split)i(in)m(to)g(w) m(ords,)h(if)e(it)h(results)g(in)f(a)h(simple)f(command)g(and)g(an)150 -2796 y(optional)d(list)f(of)f(argumen)m(ts,)h(the)g(follo)m(wing)g -(actions)h(are)f(tak)m(en.)199 2952 y(1.)61 b(If)24 b(the)g(command)g +1327 y(optional)d(list)f(of)f(argumen)m(ts,)h(the)g(follo)m(wing)g +(actions)h(are)f(tak)m(en.)199 1465 y(1.)61 b(If)24 b(the)g(command)g (name)g(con)m(tains)i(no)e(slashes,)i(the)e(shell)h(attempts)g(to)g(lo) -s(cate)h(it.)39 b(If)24 b(there)g(exists)330 3062 y(a)h(shell)g +s(cate)h(it.)39 b(If)24 b(there)g(exists)330 1575 y(a)h(shell)g (function)f(b)m(y)g(that)h(name,)h(that)f(function)f(is)h(in)m(v)m(ok)m (ed)h(as)e(describ)s(ed)g(in)g(Section)h(3.3)h([Shell)330 -3171 y(F)-8 b(unctions],)31 b(page)h(14.)199 3317 y(2.)61 +1684 y(F)-8 b(unctions],)31 b(page)h(14.)199 1821 y(2.)61 b(If)41 b(the)g(name)h(do)s(es)f(not)g(matc)m(h)i(a)e(function,)j(the)e (shell)f(searc)m(hes)i(for)e(it)h(in)f(the)g(list)h(of)g(shell)330 -3426 y(builtins.)e(If)30 b(a)h(matc)m(h)g(is)f(found,)g(that)h(builtin) -f(is)g(in)m(v)m(ok)m(ed.)199 3571 y(3.)61 b(If)40 b(the)g(name)h(is)f +1930 y(builtins.)e(If)30 b(a)h(matc)m(h)g(is)f(found,)g(that)h(builtin) +f(is)g(in)m(v)m(ok)m(ed.)199 2067 y(3.)61 b(If)40 b(the)g(name)h(is)f (neither)h(a)f(shell)h(function)f(nor)g(a)g(builtin,)j(and)d(con)m -(tains)h(no)g(slashes,)i(Bash)330 3681 y(searc)m(hes)c(eac)m(h)g +(tains)h(no)g(slashes,)i(Bash)330 2176 y(searc)m(hes)c(eac)m(h)g (elemen)m(t)g(of)g Fs($PATH)d Ft(for)i(a)g(directory)h(con)m(taining)g -(an)f(executable)h(\014le)f(b)m(y)g(that)330 3791 y(name.)56 +(an)f(executable)h(\014le)f(b)m(y)g(that)330 2286 y(name.)56 b(Bash)36 b(uses)f(a)h(hash)e(table)j(to)f(remem)m(b)s(er)f(the)h(full) -f(pathnames)g(of)h(executable)h(\014les)e(to)330 3900 +f(pathnames)g(of)h(executable)h(\014les)e(to)330 2396 y(a)m(v)m(oid)e(m)m(ultiple)f Fs(PATH)f Ft(searc)m(hes)i(\(see)f(the)g (description)g(of)f Fs(hash)g Ft(in)g(Section)i(4.1)f([Bourne)g(Shell) -330 4010 y(Builtins],)37 b(page)f(35\).)55 b(A)35 b(full)g(searc)m(h)g +330 2505 y(Builtins],)37 b(page)f(35\).)55 b(A)35 b(full)g(searc)m(h)g (of)g(the)g(directories)h(in)f Fs($PATH)e Ft(is)i(p)s(erformed)f(only)h -(if)g(the)330 4119 y(command)c(is)g(not)g(found)f(in)g(the)i(hash)e -(table.)43 b(If)31 b(the)g(searc)m(h)h(is)f(unsuccessful,)f(the)h -(shell)g(prin)m(ts)330 4229 y(an)f(error)g(message)i(and)e(returns)f -(an)h(exit)h(status)g(of)f(127.)199 4374 y(4.)61 b(If)33 -b(the)g(searc)m(h)h(is)g(successful,)g(or)f(if)g(the)h(command)f(name)g -(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the)330 4484 -y(shell)g(executes)h(the)f(named)f(program)g(in)h(a)g(separate)h -(execution)f(en)m(vironmen)m(t.)55 b(Argumen)m(t)35 b(0)330 -4593 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h +(if)g(the)330 2615 y(command)24 b(is)h(not)g(found)e(in)i(the)g(hash)f +(table.)39 b(If)25 b(the)f(searc)m(h)i(is)e(unsuccessful,)h(the)g +(shell)g(searc)m(hes)330 2724 y(for)e(a)h(de\014ned)e(shell)h(function) +h(named)e Fs(command_not_found_handle)p Ft(.)32 b(If)23 +b(that)h(function)f(exists,)330 2834 y(it)32 b(is)f(in)m(v)m(ok)m(ed)i +(with)e(the)h(original)g(command)f(and)g(the)h(original)g(command's)f +(argumen)m(ts)h(as)g(its)330 2944 y(argumen)m(ts,)h(and)e(the)i +(function's)e(exit)i(status)g(b)s(ecomes)f(the)g(exit)h(status)f(of)h +(the)f(shell.)46 b(If)31 b(that)330 3053 y(function)g(is)g(not)g +(de\014ned,)f(the)i(shell)f(prin)m(ts)f(an)h(error)g(message)h(and)f +(returns)e(an)i(exit)h(status)g(of)330 3163 y(127.)199 +3299 y(4.)61 b(If)33 b(the)g(searc)m(h)h(is)g(successful,)g(or)f(if)g +(the)h(command)f(name)g(con)m(tains)i(one)f(or)f(more)g(slashes,)i(the) +330 3409 y(shell)g(executes)h(the)f(named)f(program)g(in)h(a)g +(separate)h(execution)f(en)m(vironmen)m(t.)55 b(Argumen)m(t)35 +b(0)330 3518 y(is)30 b(set)h(to)h(the)e(name)h(giv)m(en,)g(and)f(the)h (remaining)f(argumen)m(ts)h(to)g(the)g(command)f(are)h(set)g(to)g(the) -330 4703 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8 -b(.)199 4848 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g +330 3628 y(argumen)m(ts)g(supplied,)e(if)h(an)m(y)-8 +b(.)199 3764 y(5.)61 b(If)35 b(this)h(execution)h(fails)f(b)s(ecause)g (the)f(\014le)h(is)g(not)g(in)f(executable)j(format,)f(and)e(the)h -(\014le)g(is)g(not)330 4958 y(a)d(directory)-8 b(,)34 +(\014le)g(is)g(not)330 3874 y(a)d(directory)-8 b(,)34 b(it)f(is)g(assumed)e(to)j(b)s(e)d(a)i Fq(shell)g(script)h Ft(and)e(the)h(shell)f(executes)i(it)f(as)g(describ)s(ed)e(in)330 -5067 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(32.)199 -5213 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async) +3984 y(Section)g(3.8)h([Shell)e(Scripts],)g(page)i(33.)199 +4120 y(6.)61 b(If)38 b(the)h(command)f(w)m(as)h(not)g(b)s(egun)e(async) m(hronously)-8 b(,)42 b(the)c(shell)h(w)m(aits)h(for)e(the)h(command)f -(to)330 5322 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)p +(to)330 4230 y(complete)32 b(and)e(collects)i(its)f(exit)g(status.)150 +4462 y Fk(3.7.3)63 b(Command)41 b(Execution)f(En)m(vironmen)m(t)275 +4710 y Ft(The)29 b(shell)i(has)f(an)g Fq(execution)i(en)m(vironmen)m(t) +p Ft(,)f(whic)m(h)f(consists)h(of)g(the)f(follo)m(wing:)225 +4848 y Fp(\017)60 b Ft(op)s(en)32 b(\014les)g(inherited)g(b)m(y)h(the)f +(shell)h(at)g(in)m(v)m(o)s(cation,)j(as)c(mo)s(di\014ed)g(b)m(y)g +(redirections)h(supplied)e(to)330 4957 y(the)g Fs(exec)e +Ft(builtin)225 5094 y Fp(\017)60 b Ft(the)28 b(curren)m(t)g(w)m(orking) +h(directory)g(as)f(set)h(b)m(y)f Fs(cd)p Ft(,)g Fs(pushd)p +Ft(,)g(or)g Fs(popd)p Ft(,)g(or)g(inherited)g(b)m(y)g(the)h(shell)f(at) +330 5204 y(in)m(v)m(o)s(cation)225 5340 y Fp(\017)60 +b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)g(as)h(set)g(b)m(y)f +Fs(umask)f Ft(or)h(inherited)g(from)g(the)h(shell's)f(paren)m(t)p eop end -%%Page: 30 36 -TeXDict begin 30 35 bop 150 -116 a Ft(30)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fk(3.7.3)63 b(Command)41 -b(Execution)f(En)m(vironmen)m(t)275 551 y Ft(The)29 b(shell)i(has)f(an) -g Fq(execution)i(en)m(vironmen)m(t)p Ft(,)f(whic)m(h)f(consists)h(of)g -(the)f(follo)m(wing:)225 693 y Fp(\017)60 b Ft(op)s(en)32 -b(\014les)g(inherited)g(b)m(y)h(the)f(shell)h(at)g(in)m(v)m(o)s -(cation,)j(as)c(mo)s(di\014ed)g(b)m(y)g(redirections)h(supplied)e(to) -330 802 y(the)g Fs(exec)e Ft(builtin)225 940 y Fp(\017)60 -b Ft(the)28 b(curren)m(t)g(w)m(orking)h(directory)g(as)f(set)h(b)m(y)f -Fs(cd)p Ft(,)g Fs(pushd)p Ft(,)g(or)g Fs(popd)p Ft(,)g(or)g(inherited)g -(b)m(y)g(the)h(shell)f(at)330 1050 y(in)m(v)m(o)s(cation)225 -1188 y Fp(\017)60 b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)g -(as)h(set)g(b)m(y)f Fs(umask)f Ft(or)h(inherited)g(from)g(the)h -(shell's)f(paren)m(t)225 1327 y Fp(\017)60 b Ft(curren)m(t)30 -b(traps)g(set)h(b)m(y)f Fs(trap)225 1465 y Fp(\017)60 -b Ft(shell)30 b(parameters)f(that)h(are)g(set)g(b)m(y)g(v)-5 -b(ariable)30 b(assignmen)m(t)g(or)g(with)f Fs(set)f Ft(or)i(inherited)f -(from)g(the)330 1574 y(shell's)i(paren)m(t)f(in)g(the)h(en)m(vironmen)m -(t)225 1713 y Fp(\017)60 b Ft(shell)44 b(functions)f(de\014ned)f -(during)h(execution)i(or)e(inherited)h(from)f(the)h(shell's)g(paren)m -(t)f(in)h(the)330 1822 y(en)m(vironmen)m(t)225 1961 y -Fp(\017)60 b Ft(options)33 b(enabled)g(at)h(in)m(v)m(o)s(cation)h -(\(either)f(b)m(y)f(default)g(or)g(with)g(command-line)g(argumen)m -(ts\))h(or)330 2070 y(b)m(y)c Fs(set)225 2208 y Fp(\017)60 -b Ft(options)31 b(enabled)f(b)m(y)g Fs(shopt)f Ft(\(see)j(Section)f -(4.3.2)h([The)e(Shopt)g(Builtin],)h(page)g(53\))225 2347 -y Fp(\017)60 b Ft(shell)31 b(aliases)g(de\014ned)f(with)g -Fs(alias)f Ft(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(77\))225 -2485 y Fp(\017)60 b Ft(v)-5 b(arious)50 b(pro)s(cess)f +%%Page: 31 37 +TeXDict begin 31 36 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)225 299 +y Fp(\017)60 b Ft(curren)m(t)30 b(traps)g(set)h(b)m(y)f +Fs(trap)225 432 y Fp(\017)60 b Ft(shell)30 b(parameters)f(that)h(are)g +(set)g(b)m(y)g(v)-5 b(ariable)30 b(assignmen)m(t)g(or)g(with)f +Fs(set)f Ft(or)i(inherited)f(from)g(the)330 541 y(shell's)i(paren)m(t)f +(in)g(the)h(en)m(vironmen)m(t)225 674 y Fp(\017)60 b +Ft(shell)44 b(functions)f(de\014ned)f(during)h(execution)i(or)e +(inherited)h(from)f(the)h(shell's)g(paren)m(t)f(in)h(the)330 +783 y(en)m(vironmen)m(t)225 916 y Fp(\017)60 b Ft(options)33 +b(enabled)g(at)h(in)m(v)m(o)s(cation)h(\(either)f(b)m(y)f(default)g(or) +g(with)g(command-line)g(argumen)m(ts\))h(or)330 1026 +y(b)m(y)c Fs(set)225 1158 y Fp(\017)60 b Ft(options)31 +b(enabled)f(b)m(y)g Fs(shopt)f Ft(\(see)j(Section)f(4.3.2)h([The)e +(Shopt)g(Builtin],)h(page)g(54\))225 1291 y Fp(\017)60 +b Ft(shell)31 b(aliases)g(de\014ned)f(with)g Fs(alias)f +Ft(\(see)i(Section)g(6.6)h([Aliases],)g(page)f(77\))225 +1424 y Fp(\017)60 b Ft(v)-5 b(arious)50 b(pro)s(cess)f Fl(id)p Ft(s,)55 b(including)49 b(those)i(of)e(bac)m(kground)h(jobs)f -(\(see)i(Section)g(3.2.3)g([Lists],)330 2595 y(page)31 +(\(see)i(Section)g(3.2.3)g([Lists],)330 1533 y(page)31 b(9\),)g(the)g(v)-5 b(alue)31 b(of)f Fs($$)p Ft(,)g(and)g(the)h(v)-5 -b(alue)31 b(of)f Fs($PPID)275 2765 y Ft(When)k(a)g(simple)h(command)f +b(alue)31 b(of)f Fs($PPID)275 1689 y Ft(When)k(a)g(simple)h(command)f (other)g(than)g(a)h(builtin)f(or)g(shell)h(function)f(is)g(to)h(b)s(e)f -(executed,)i(it)f(is)150 2875 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g +(executed,)i(it)f(is)150 1799 y(in)m(v)m(ok)m(ed)25 b(in)f(a)g (separate)h(execution)g(en)m(vironmen)m(t)g(that)f(consists)g(of)h(the) -f(follo)m(wing.)40 b(Unless)24 b(otherwise)150 2984 y(noted,)31 +f(follo)m(wing.)40 b(Unless)24 b(otherwise)150 1908 y(noted,)31 b(the)f(v)-5 b(alues)31 b(are)g(inherited)f(from)g(the)g(shell.)225 -3127 y Fp(\017)60 b Ft(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e +2041 y Fp(\017)60 b Ft(the)31 b(shell's)h(op)s(en)e(\014les,)i(plus)e (an)m(y)h(mo)s(di\014cations)h(and)e(additions)h(sp)s(eci\014ed)g(b)m -(y)g(redirections)g(to)330 3236 y(the)g(command)225 3374 +(y)g(redirections)g(to)330 2151 y(the)g(command)225 2283 y Fp(\017)60 b Ft(the)31 b(curren)m(t)f(w)m(orking)g(directory)225 -3513 y Fp(\017)60 b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225 -3651 y Fp(\017)60 b Ft(shell)32 b(v)-5 b(ariables)33 +2416 y Fp(\017)60 b Ft(the)31 b(\014le)f(creation)i(mo)s(de)e(mask)225 +2549 y Fp(\017)60 b Ft(shell)32 b(v)-5 b(ariables)33 b(and)e(functions)h(mark)m(ed)g(for)g(exp)s(ort,)g(along)h(with)f(v)-5 -b(ariables)32 b(exp)s(orted)g(for)g(the)330 3761 y(command,)e(passed)g +b(ariables)32 b(exp)s(orted)g(for)g(the)330 2658 y(command,)e(passed)g (in)g(the)h(en)m(vironmen)m(t)g(\(see)g(Section)g(3.7.4)i([En)m -(vironmen)m(t],)e(page)g(31\))225 3899 y Fp(\017)60 b +(vironmen)m(t],)e(page)g(31\))225 2791 y Fp(\017)60 b Ft(traps)31 b(caugh)m(t)h(b)m(y)f(the)g(shell)h(are)f(reset)h(to)g(the) f(v)-5 b(alues)32 b(inherited)e(from)h(the)g(shell's)h(paren)m(t,)g -(and)330 4008 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored) -275 4179 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g +(and)330 2900 y(traps)e(ignored)h(b)m(y)f(the)g(shell)h(are)g(ignored) +275 3056 y(A)41 b(command)g(in)m(v)m(ok)m(ed)i(in)e(this)h(separate)g (en)m(vironmen)m(t)g(cannot)g(a\013ect)h(the)f(shell's)g(execution)150 -4289 y(en)m(vironmen)m(t.)275 4431 y(Command)35 b(substitution,)j +3166 y(en)m(vironmen)m(t.)275 3299 y(Command)35 b(substitution,)j (commands)e(group)s(ed)f(with)i(paren)m(theses,)h(and)e(async)m -(hronous)g(com-)150 4540 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i +(hronous)g(com-)150 3408 y(mands)c(are)h(in)m(v)m(ok)m(ed)i(in)d(a)i (subshell)e(en)m(vironmen)m(t)h(that)h(is)f(a)g(duplicate)h(of)f(the)g -(shell)g(en)m(vironmen)m(t,)150 4650 y(except)i(that)g(traps)f(caugh)m +(shell)g(en)m(vironmen)m(t,)150 3518 y(except)i(that)g(traps)f(caugh)m (t)h(b)m(y)f(the)h(shell)f(are)g(reset)h(to)g(the)f(v)-5 b(alues)35 b(that)g(the)f(shell)h(inherited)e(from)150 -4760 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49 +3627 y(its)g(paren)m(t)f(at)h(in)m(v)m(o)s(cation.)49 b(Builtin)32 b(commands)g(that)h(are)g(in)m(v)m(ok)m(ed)h(as)e(part)g -(of)h(a)f(pip)s(eline)g(are)h(also)150 4869 y(executed)41 +(of)h(a)f(pip)s(eline)g(are)h(also)150 3737 y(executed)41 b(in)f(a)h(subshell)e(en)m(vironmen)m(t.)72 b(Changes)40 b(made)g(to)h(the)g(subshell)e(en)m(vironmen)m(t)i(cannot)150 -4979 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275 -5121 y(If)38 b(a)h(command)f(is)g(follo)m(w)m(ed)j(b)m(y)d(a)h(`)p +3846 y(a\013ect)32 b(the)f(shell's)f(execution)i(en)m(vironmen)m(t.)275 +3979 y(If)38 b(a)h(command)f(is)g(follo)m(w)m(ed)j(b)m(y)d(a)h(`)p Fs(&)p Ft(')g(and)f(job)g(con)m(trol)i(is)e(not)h(activ)m(e,)k(the)c -(default)g(standard)150 5230 y(input)e(for)g(the)h(command)f(is)h(the)g +(default)g(standard)150 4089 y(input)e(for)g(the)h(command)f(is)h(the)g (empt)m(y)g(\014le)f(`)p Fs(/dev/null)p Ft('.)61 b(Otherwise,)39 -b(the)f(in)m(v)m(ok)m(ed)h(command)150 5340 y(inherits)30 +b(the)f(in)m(v)m(ok)m(ed)h(command)150 4198 y(inherits)30 b(the)h(\014le)f(descriptors)g(of)h(the)f(calling)i(shell)f(as)f(mo)s -(di\014ed)g(b)m(y)g(redirections.)p eop end -%%Page: 31 37 -TeXDict begin 31 36 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)150 299 -y Fk(3.7.4)63 b(En)m(vironmen)m(t)275 547 y Ft(When)31 -b(a)g(program)h(is)f(in)m(v)m(ok)m(ed)i(it)f(is)f(giv)m(en)h(an)g(arra) -m(y)g(of)f(strings)g(called)i(the)e Fq(en)m(vironmen)m(t)p -Ft(.)45 b(This)150 656 y(is)30 b(a)h(list)g(of)g(name-v)-5 -b(alue)31 b(pairs,)f(of)h(the)f(form)g Fs(name=value)p -Ft(.)275 795 y(Bash)39 b(pro)m(vides)g(sev)m(eral)i(w)m(a)m(ys)g(to)f -(manipulate)f(the)h(en)m(vironmen)m(t.)69 b(On)38 b(in)m(v)m(o)s -(cation,)44 b(the)c(shell)150 904 y(scans)g(its)h(o)m(wn)f(en)m -(vironmen)m(t)h(and)f(creates)i(a)f(parameter)f(for)g(eac)m(h)i(name)e -(found,)i(automatically)150 1014 y(marking)26 b(it)g(for)g -Fq(exp)s(ort)h Ft(to)g(c)m(hild)f(pro)s(cesses.)39 b(Executed)26 -b(commands)g(inherit)g(the)g(en)m(vironmen)m(t.)39 b(The)150 -1123 y Fs(export)c Ft(and)i(`)p Fs(declare)29 b(-x)p -Ft(')36 b(commands)h(allo)m(w)i(parameters)e(and)g(functions)g(to)h(b)s -(e)e(added)h(to)h(and)150 1233 y(deleted)21 b(from)f(the)h(en)m -(vironmen)m(t.)38 b(If)20 b(the)h(v)-5 b(alue)21 b(of)g(a)g(parameter)g -(in)f(the)g(en)m(vironmen)m(t)i(is)e(mo)s(di\014ed,)i(the)150 -1343 y(new)31 b(v)-5 b(alue)32 b(b)s(ecomes)f(part)h(of)f(the)h(en)m -(vironmen)m(t,)g(replacing)h(the)e(old.)44 b(The)31 b(en)m(vironmen)m -(t)h(inherited)150 1452 y(b)m(y)f(an)m(y)g(executed)h(command)f -(consists)g(of)g(the)g(shell's)h(initial)g(en)m(vironmen)m(t,)g(whose)f -(v)-5 b(alues)31 b(ma)m(y)h(b)s(e)150 1562 y(mo)s(di\014ed)26 +(di\014ed)g(b)m(y)g(redirections.)150 4417 y Fk(3.7.4)63 +b(En)m(vironmen)m(t)275 4659 y Ft(When)31 b(a)g(program)h(is)f(in)m(v)m +(ok)m(ed)i(it)f(is)f(giv)m(en)h(an)g(arra)m(y)g(of)f(strings)g(called)i +(the)e Fq(en)m(vironmen)m(t)p Ft(.)45 b(This)150 4769 +y(is)30 b(a)h(list)g(of)g(name-v)-5 b(alue)31 b(pairs,)f(of)h(the)f +(form)g Fs(name=value)p Ft(.)275 4902 y(Bash)39 b(pro)m(vides)g(sev)m +(eral)i(w)m(a)m(ys)g(to)f(manipulate)f(the)h(en)m(vironmen)m(t.)69 +b(On)38 b(in)m(v)m(o)s(cation,)44 b(the)c(shell)150 5011 +y(scans)g(its)h(o)m(wn)f(en)m(vironmen)m(t)h(and)f(creates)i(a)f +(parameter)f(for)g(eac)m(h)i(name)e(found,)i(automatically)150 +5121 y(marking)26 b(it)g(for)g Fq(exp)s(ort)h Ft(to)g(c)m(hild)f(pro)s +(cesses.)39 b(Executed)26 b(commands)g(inherit)g(the)g(en)m(vironmen)m +(t.)39 b(The)150 5230 y Fs(export)c Ft(and)i(`)p Fs(declare)29 +b(-x)p Ft(')36 b(commands)h(allo)m(w)i(parameters)e(and)g(functions)g +(to)h(b)s(e)e(added)h(to)h(and)150 5340 y(deleted)21 +b(from)f(the)h(en)m(vironmen)m(t.)38 b(If)20 b(the)h(v)-5 +b(alue)21 b(of)g(a)g(parameter)g(in)f(the)g(en)m(vironmen)m(t)i(is)e +(mo)s(di\014ed,)i(the)p eop end +%%Page: 32 38 +TeXDict begin 32 37 bop 150 -116 a Ft(32)2572 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y(new)g(v)-5 b(alue)32 +b(b)s(ecomes)f(part)h(of)f(the)h(en)m(vironmen)m(t,)g(replacing)h(the)e +(old.)44 b(The)31 b(en)m(vironmen)m(t)h(inherited)150 +408 y(b)m(y)f(an)m(y)g(executed)h(command)f(consists)g(of)g(the)g +(shell's)h(initial)g(en)m(vironmen)m(t,)g(whose)f(v)-5 +b(alues)31 b(ma)m(y)h(b)s(e)150 518 y(mo)s(di\014ed)26 b(in)g(the)h(shell,)h(less)f(an)m(y)g(pairs)f(remo)m(v)m(ed)i(b)m(y)f (the)g Fs(unset)e Ft(and)h(`)p Fs(export)j(-n)p Ft(')e(commands,)g -(plus)150 1671 y(an)m(y)k(additions)f(via)h(the)g Fs(export)d -Ft(and)i(`)p Fs(declare)f(-x)p Ft(')h(commands.)275 1810 +(plus)150 628 y(an)m(y)k(additions)f(via)h(the)g Fs(export)d +Ft(and)i(`)p Fs(declare)f(-x)p Ft(')h(commands.)275 758 y(The)j(en)m(vironmen)m(t)i(for)f(an)m(y)g(simple)h(command)f(or)g (function)g(ma)m(y)g(b)s(e)g(augmen)m(ted)h(temp)s(orarily)150 -1919 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h +868 y(b)m(y)c(pre\014xing)e(it)i(with)g(parameter)g(assignmen)m(ts,)h (as)e(describ)s(ed)g(in)g(Section)i(3.4)g([Shell)e(P)m(arameters],)150 -2029 y(page)g(15.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g +978 y(page)g(15.)41 b(These)29 b(assignmen)m(t)i(statemen)m(ts)g (a\013ect)f(only)g(the)f(en)m(vironmen)m(t)h(seen)g(b)m(y)f(that)h -(command.)275 2167 y(If)d(the)h(`)p Fs(-k)p Ft(')g(option)g(is)g(set)g -(\(see)h(Section)f(4.3.1)i([The)e(Set)g(Builtin],)h(page)f(49\),)i -(then)e(all)g(parameter)150 2277 y(assignmen)m(ts)i(are)g(placed)h(in)e +(command.)275 1108 y(If)d(the)h(`)p Fs(-k)p Ft(')g(option)g(is)g(set)g +(\(see)h(Section)f(4.3.1)i([The)e(Set)g(Builtin],)h(page)f(50\),)i +(then)e(all)g(parameter)150 1218 y(assignmen)m(ts)i(are)g(placed)h(in)e (the)h(en)m(vironmen)m(t)g(for)g(a)g(command,)f(not)h(just)f(those)i -(that)f(precede)g(the)150 2386 y(command)g(name.)275 -2525 y(When)f(Bash)h(in)m(v)m(ok)m(es)i(an)e(external)g(command,)g(the) +(that)f(precede)g(the)150 1327 y(command)g(name.)275 +1458 y(When)f(Bash)h(in)m(v)m(ok)m(es)i(an)e(external)g(command,)g(the) g(v)-5 b(ariable)31 b(`)p Fs($_)p Ft(')f(is)g(set)g(to)h(the)f(full)f -(path)h(name)150 2634 y(of)h(the)f(command)g(and)g(passed)g(to)h(that)g -(command)f(in)g(its)h(en)m(vironmen)m(t.)150 2866 y Fk(3.7.5)63 -b(Exit)40 b(Status)275 3114 y Ft(The)24 b(exit)i(status)f(of)g(an)g +(path)h(name)150 1568 y(of)h(the)f(command)g(and)g(passed)g(to)h(that)g +(command)f(in)g(its)h(en)m(vironmen)m(t.)150 1780 y Fk(3.7.5)63 +b(Exit)40 b(Status)275 2021 y Ft(The)24 b(exit)i(status)f(of)g(an)g (executed)h(command)e(is)h(the)h(v)-5 b(alue)25 b(returned)f(b)m(y)h -(the)g Fq(w)m(aitpid)k Ft(system)c(call)150 3224 y(or)e(equiv)-5 +(the)g Fq(w)m(aitpid)k Ft(system)c(call)150 2130 y(or)e(equiv)-5 b(alen)m(t)25 b(function.)38 b(Exit)24 b(statuses)g(fall)f(b)s(et)m(w)m (een)h(0)g(and)f(255,)j(though,)f(as)e(explained)h(b)s(elo)m(w,)h(the) -150 3333 y(shell)35 b(ma)m(y)g(use)f(v)-5 b(alues)35 +150 2240 y(shell)35 b(ma)m(y)g(use)f(v)-5 b(alues)35 b(ab)s(o)m(v)m(e)g(125)h(sp)s(ecially)-8 b(.)54 b(Exit)35 b(statuses)g(from)f(shell)h(builtins)f(and)f(comp)s(ound)150 -3443 y(commands)j(are)g(also)h(limited)g(to)g(this)f(range.)58 +2349 y(commands)j(are)g(also)h(limited)g(to)g(this)f(range.)58 b(Under)36 b(certain)h(circumstances,)h(the)e(shell)h(will)f(use)150 -3552 y(sp)s(ecial)31 b(v)-5 b(alues)31 b(to)g(indicate)g(sp)s(eci\014c) -f(failure)h(mo)s(des.)275 3691 y(F)-8 b(or)32 b(the)g(shell's)g(purp)s +2459 y(sp)s(ecial)31 b(v)-5 b(alues)31 b(to)g(indicate)g(sp)s(eci\014c) +f(failure)h(mo)s(des.)275 2590 y(F)-8 b(or)32 b(the)g(shell's)g(purp)s (oses,)e(a)j(command)e(whic)m(h)h(exits)g(with)g(a)g(zero)g(exit)h -(status)f(has)f(succeeded.)150 3800 y(A)e(non-zero)h(exit)g(status)g +(status)f(has)f(succeeded.)150 2699 y(A)e(non-zero)h(exit)g(status)g (indicates)g(failure.)40 b(This)28 b(seemingly)i(coun)m(ter-in)m -(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 3910 y(there)34 +(tuitiv)m(e)i(sc)m(heme)e(is)f(used)g(so)150 2809 y(there)34 b(is)g(one)g(w)m(ell-de\014ned)g(w)m(a)m(y)g(to)h(indicate)g(success)f (and)f(a)h(v)-5 b(ariet)m(y)35 b(of)f(w)m(a)m(ys)h(to)f(indicate)h(v)-5 -b(arious)150 4020 y(failure)38 b(mo)s(des.)62 b(When)38 +b(arious)150 2918 y(failure)38 b(mo)s(des.)62 b(When)38 b(a)g(command)f(terminates)i(on)e(a)i(fatal)g(signal)f(whose)g(n)m(um)m -(b)s(er)e(is)i Fq(N)p Ft(,)g(Bash)150 4129 y(uses)30 +(b)s(er)e(is)i Fq(N)p Ft(,)g(Bash)150 3028 y(uses)30 b(the)g(v)-5 b(alue)31 b(128)p Fs(+)p Fq(N)42 b Ft(as)30 -b(the)h(exit)g(status.)275 4267 y(If)k(a)h(command)g(is)g(not)g(found,) +b(the)h(exit)g(status.)275 3159 y(If)k(a)h(command)g(is)g(not)g(found,) g(the)g(c)m(hild)h(pro)s(cess)e(created)i(to)g(execute)g(it)g(returns)d -(a)j(status)f(of)150 4377 y(127.)42 b(If)30 b(a)h(command)f(is)g(found) +(a)j(status)f(of)150 3268 y(127.)42 b(If)30 b(a)h(command)f(is)g(found) f(but)h(is)g(not)h(executable,)h(the)f(return)e(status)i(is)f(126.)275 -4515 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f +3399 y(If)i(a)i(command)f(fails)g(b)s(ecause)g(of)h(an)f(error)f (during)g(expansion)h(or)g(redirection,)i(the)f(exit)g(status)150 -4625 y(is)c(greater)i(than)e(zero.)275 4763 y(The)38 +3509 y(is)c(greater)i(than)e(zero.)275 3639 y(The)38 b(exit)h(status)g(is)g(used)f(b)m(y)g(the)h(Bash)g(conditional)h -(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 4873 +(commands)e(\(see)h(Section)h(3.2.4.2)h([Con-)150 3749 y(ditional)i(Constructs],)h(page)f(10\))g(and)e(some)i(of)f(the)g(list) g(constructs)g(\(see)h(Section)f(3.2.3)i([Lists],)150 -4982 y(page)31 b(9\).)275 5121 y(All)40 b(of)g(the)h(Bash)f(builtins)f +3858 y(page)31 b(9\).)275 3989 y(All)40 b(of)g(the)h(Bash)f(builtins)f (return)g(an)h(exit)h(status)g(of)f(zero)h(if)f(they)g(succeed)g(and)g -(a)g(non-zero)150 5230 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m +(a)g(non-zero)150 4099 y(status)34 b(on)f(failure,)i(so)f(they)g(ma)m (y)g(b)s(e)f(used)g(b)m(y)g(the)h(conditional)h(and)e(list)h -(constructs.)50 b(All)35 b(builtins)150 5340 y(return)29 -b(an)i(exit)g(status)g(of)f(2)h(to)g(indicate)g(incorrect)h(usage.)p -eop end -%%Page: 32 38 -TeXDict begin 32 37 bop 150 -116 a Ft(32)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fk(3.7.6)63 b(Signals)275 -555 y Ft(When)27 b(Bash)h(is)h(in)m(teractiv)m(e,)i(in)d(the)g(absence) -h(of)f(an)m(y)g(traps,)h(it)f(ignores)h Fs(SIGTERM)d -Ft(\(so)i(that)h(`)p Fs(kill)150 665 y(0)p Ft(')k(do)s(es)g(not)g(kill) -g(an)g(in)m(teractiv)m(e)j(shell\),)f(and)d Fs(SIGINT)f -Ft(is)i(caugh)m(t)h(and)f(handled)f(\(so)h(that)h(the)f -Fs(wait)150 774 y Ft(builtin)24 b(is)h(in)m(terruptible\).)39 -b(When)24 b(Bash)g(receiv)m(es)j(a)d Fs(SIGINT)p Ft(,)h(it)g(breaks)f -(out)h(of)f(an)m(y)h(executing)h(lo)s(ops.)150 884 y(In)31 -b(all)h(cases,)h(Bash)f(ignores)g Fs(SIGQUIT)p Ft(.)42 -b(If)32 b(job)f(con)m(trol)i(is)e(in)h(e\013ect)h(\(see)f(Chapter)f(7)h -([Job)g(Con)m(trol],)150 993 y(page)f(87\),)h(Bash)e(ignores)h -Fs(SIGTTIN)p Ft(,)e Fs(SIGTTOU)p Ft(,)g(and)g Fs(SIGTSTP)p -Ft(.)275 1140 y(Non-builtin)i(commands)g(started)g(b)m(y)g(Bash)h(ha)m -(v)m(e)g(signal)g(handlers)e(set)i(to)g(the)g(v)-5 b(alues)31 -b(inherited)150 1250 y(b)m(y)37 b(the)h(shell)g(from)f(its)h(paren)m -(t.)62 b(When)38 b(job)f(con)m(trol)i(is)e(not)h(in)f(e\013ect,)k -(async)m(hronous)c(commands)150 1359 y(ignore)f Fs(SIGINT)e -Ft(and)h Fs(SIGQUIT)e Ft(in)j(addition)f(to)i(these)f(inherited)f -(handlers.)55 b(Commands)35 b(run)f(as)i(a)150 1469 y(result)27 -b(of)h(command)f(substitution)h(ignore)g(the)g(k)m(eyb)s -(oard-generated)g(job)g(con)m(trol)h(signals)f Fs(SIGTTIN)p -Ft(,)150 1578 y Fs(SIGTTOU)p Ft(,)h(and)g Fs(SIGTSTP)p -Ft(.)275 1725 y(The)h(shell)i(exits)g(b)m(y)f(default)g(up)s(on)f +(constructs.)50 b(All)35 b(builtins)150 4208 y(return)29 +b(an)i(exit)g(status)g(of)f(2)h(to)g(indicate)g(incorrect)h(usage.)150 +4421 y Fk(3.7.6)63 b(Signals)275 4661 y Ft(When)27 b(Bash)h(is)h(in)m +(teractiv)m(e,)i(in)d(the)g(absence)h(of)f(an)m(y)g(traps,)h(it)f +(ignores)h Fs(SIGTERM)d Ft(\(so)i(that)h(`)p Fs(kill)150 +4771 y(0)p Ft(')k(do)s(es)g(not)g(kill)g(an)g(in)m(teractiv)m(e)j +(shell\),)f(and)d Fs(SIGINT)f Ft(is)i(caugh)m(t)h(and)f(handled)f(\(so) +h(that)h(the)f Fs(wait)150 4881 y Ft(builtin)24 b(is)h(in)m +(terruptible\).)39 b(When)24 b(Bash)g(receiv)m(es)j(a)d +Fs(SIGINT)p Ft(,)h(it)g(breaks)f(out)h(of)f(an)m(y)h(executing)h(lo)s +(ops.)150 4990 y(In)31 b(all)h(cases,)h(Bash)f(ignores)g +Fs(SIGQUIT)p Ft(.)42 b(If)32 b(job)f(con)m(trol)i(is)e(in)h(e\013ect)h +(\(see)f(Chapter)f(7)h([Job)g(Con)m(trol],)150 5100 y(page)f(87\),)h +(Bash)e(ignores)h Fs(SIGTTIN)p Ft(,)e Fs(SIGTTOU)p Ft(,)g(and)g +Fs(SIGTSTP)p Ft(.)275 5230 y(Non-builtin)i(commands)g(started)g(b)m(y)g +(Bash)h(ha)m(v)m(e)g(signal)g(handlers)e(set)i(to)g(the)g(v)-5 +b(alues)31 b(inherited)150 5340 y(b)m(y)37 b(the)h(shell)g(from)f(its)h +(paren)m(t.)62 b(When)38 b(job)f(con)m(trol)i(is)e(not)h(in)f +(e\013ect,)k(async)m(hronous)c(commands)p eop end +%%Page: 33 39 +TeXDict begin 33 38 bop 150 -116 a Ft(Chapter)30 b(3:)41 +b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(33)150 299 +y(ignore)36 b Fs(SIGINT)e Ft(and)h Fs(SIGQUIT)e Ft(in)j(addition)f(to)i +(these)f(inherited)f(handlers.)55 b(Commands)35 b(run)f(as)i(a)150 +408 y(result)27 b(of)h(command)f(substitution)h(ignore)g(the)g(k)m(eyb) +s(oard-generated)g(job)g(con)m(trol)h(signals)f Fs(SIGTTIN)p +Ft(,)150 518 y Fs(SIGTTOU)p Ft(,)h(and)g Fs(SIGTSTP)p +Ft(.)275 662 y(The)h(shell)i(exits)g(b)m(y)f(default)g(up)s(on)f (receipt)i(of)f(a)h Fs(SIGHUP)p Ft(.)42 b(Before)32 b(exiting,)h(an)e -(in)m(teractiv)m(e)j(shell)150 1835 y(resends)41 b(the)i +(in)m(teractiv)m(e)j(shell)150 771 y(resends)41 b(the)i Fs(SIGHUP)e Ft(to)i(all)g(jobs,)i(running)c(or)h(stopp)s(ed.)76 b(Stopp)s(ed)41 b(jobs)h(are)h(sen)m(t)g Fs(SIGCONT)d -Ft(to)150 1944 y(ensure)32 b(that)h(they)g(receiv)m(e)i(the)e +Ft(to)150 881 y(ensure)32 b(that)h(they)g(receiv)m(e)i(the)e Fs(SIGHUP)p Ft(.)47 b(T)-8 b(o)33 b(prev)m(en)m(t)g(the)g(shell)g(from) -g(sending)f(the)h Fs(SIGHUP)e Ft(signal)150 2054 y(to)i(a)g(particular) -g(job,)g(it)g(should)f(b)s(e)g(remo)m(v)m(ed)h(from)g(the)f(jobs)g +g(sending)f(the)h Fs(SIGHUP)e Ft(signal)150 991 y(to)i(a)g(particular)g +(job,)g(it)g(should)f(b)s(e)g(remo)m(v)m(ed)h(from)g(the)f(jobs)g (table)i(with)e(the)h Fs(disown)e Ft(builtin)h(\(see)150 -2163 y(Section)f(7.2)g([Job)f(Con)m(trol)h(Builtins],)g(page)g(88\))h +1100 y(Section)f(7.2)g([Job)f(Con)m(trol)h(Builtins],)g(page)g(88\))h (or)e(mark)m(ed)g(to)h(not)f(receiv)m(e)i Fs(SIGHUP)d -Ft(using)h Fs(disown)150 2273 y(-h)p Ft(.)275 2419 y(If)38 +Ft(using)h Fs(disown)150 1210 y(-h)p Ft(.)275 1354 y(If)38 b(the)h Fs(huponexit)e Ft(shell)i(option)g(has)g(b)s(een)f(set)i(with)f Fs(shopt)e Ft(\(see)j(Section)g(4.3.2)h([The)e(Shopt)150 -2529 y(Builtin],)31 b(page)g(53\),)h(Bash)f(sends)e(a)i +1463 y(Builtin],)31 b(page)g(54\),)h(Bash)f(sends)e(a)i Fs(SIGHUP)e Ft(to)i(all)g(jobs)f(when)f(an)i(in)m(teractiv)m(e)i(login) -e(shell)g(exits.)275 2676 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g +e(shell)g(exits.)275 1607 y(If)38 b(Bash)h(is)g(w)m(aiting)h(for)f(a)g (command)f(to)i(complete)g(and)e(receiv)m(es)j(a)e(signal)h(for)e(whic) -m(h)h(a)g(trap)150 2785 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g +m(h)h(a)g(trap)150 1717 y(has)c(b)s(een)f(set,)i(the)f(trap)g(will)g (not)g(b)s(e)f(executed)i(un)m(til)f(the)g(command)f(completes.)55 -b(When)35 b(Bash)g(is)150 2895 y(w)m(aiting)j(for)f(an)g(async)m +b(When)35 b(Bash)g(is)150 1826 y(w)m(aiting)j(for)f(an)g(async)m (hronous)g(command)g(via)h(the)f Fs(wait)f Ft(builtin,)i(the)g -(reception)g(of)f(a)g(signal)h(for)150 3004 y(whic)m(h)d(a)g(trap)g +(reception)g(of)f(a)g(signal)h(for)150 1936 y(whic)m(h)d(a)g(trap)g (has)g(b)s(een)f(set)h(will)h(cause)f(the)g Fs(wait)f Ft(builtin)h(to)g(return)f(immediately)i(with)f(an)g(exit)150 -3114 y(status)c(greater)g(than)f(128,)i(immediately)g(after)f(whic)m(h) -f(the)h(trap)f(is)g(executed.)150 3402 y Fr(3.8)68 b(Shell)45 -b(Scripts)275 3658 y Ft(A)c(shell)h(script)g(is)g(a)g(text)h(\014le)f +2045 y(status)c(greater)g(than)f(128,)i(immediately)g(after)f(whic)m(h) +f(the)h(trap)f(is)g(executed.)150 2326 y Fr(3.8)68 b(Shell)45 +b(Scripts)275 2580 y Ft(A)c(shell)h(script)g(is)g(a)g(text)h(\014le)f (con)m(taining)h(shell)f(commands.)75 b(When)41 b(suc)m(h)h(a)g(\014le) -g(is)g(used)f(as)150 3767 y(the)33 b(\014rst)f(non-option)h(argumen)m +g(is)g(used)f(as)150 2689 y(the)33 b(\014rst)f(non-option)h(argumen)m (t)h(when)e(in)m(v)m(oking)i(Bash,)g(and)e(neither)h(the)g(`)p Fs(-c)p Ft(')g(nor)g(`)p Fs(-s)p Ft(')f(option)i(is)150 -3877 y(supplied)j(\(see)j(Section)g(6.1)f([In)m(v)m(oking)h(Bash],)h +2799 y(supplied)j(\(see)j(Section)g(6.1)f([In)m(v)m(oking)h(Bash],)h (page)f(69\),)i(Bash)d(reads)f(and)g(executes)i(commands)150 -3987 y(from)31 b(the)h(\014le,)h(then)e(exits.)46 b(This)31 +2908 y(from)31 b(the)h(\014le,)h(then)e(exits.)46 b(This)31 b(mo)s(de)g(of)h(op)s(eration)h(creates)g(a)f(non-in)m(teractiv)m(e)i -(shell.)45 b(The)32 b(shell)150 4096 y(\014rst)26 b(searc)m(hes)h(for)f +(shell.)45 b(The)32 b(shell)150 3018 y(\014rst)26 b(searc)m(hes)h(for)f (the)g(\014le)h(in)f(the)g(curren)m(t)h(directory)-8 b(,)28 b(and)e(lo)s(oks)g(in)h(the)f(directories)h(in)f -Fs($PATH)f Ft(if)i(not)150 4206 y(found)i(there.)275 -4352 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f(the)f +Fs($PATH)f Ft(if)i(not)150 3128 y(found)i(there.)275 +3271 y(When)34 b(Bash)h(runs)e(a)i(shell)g(script,)g(it)h(sets)f(the)f (sp)s(ecial)i(parameter)f Fs(0)f Ft(to)h(the)g(name)g(of)g(the)g -(\014le,)150 4462 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j +(\014le,)150 3381 y(rather)k(than)g(the)h(name)f(of)h(the)f(shell,)j (and)d(the)h(p)s(ositional)g(parameters)f(are)h(set)g(to)g(the)g -(remain-)150 4571 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m +(remain-)150 3491 y(ing)f(argumen)m(ts,)j(if)d(an)m(y)g(are)g(giv)m (en.)67 b(If)39 b(no)g(additional)g(argumen)m(ts)h(are)f(supplied,)h -(the)f(p)s(ositional)150 4681 y(parameters)31 b(are)f(unset.)275 -4828 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m +(the)f(p)s(ositional)150 3600 y(parameters)31 b(are)f(unset.)275 +3744 y(A)39 b(shell)h(script)f(ma)m(y)h(b)s(e)f(made)h(executable)h(b)m (y)e(using)g(the)h Fs(chmod)e Ft(command)h(to)h(turn)e(on)i(the)150 -4937 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h +3854 y(execute)j(bit.)73 b(When)41 b(Bash)g(\014nds)e(suc)m(h)i(a)h (\014le)f(while)g(searc)m(hing)h(the)f Fs($PATH)f Ft(for)h(a)h -(command,)h(it)150 5047 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h -(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 5193 -y Fs(filename)46 b Fj(arguments)150 5340 y Ft(is)30 b(equiv)-5 -b(alen)m(t)32 b(to)f(executing)p eop end -%%Page: 33 39 -TeXDict begin 33 38 bop 150 -116 a Ft(Chapter)30 b(3:)41 -b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(33)390 299 -y Fs(bash)47 b(filename)e Fj(arguments)150 433 y Ft(if)30 -b Fs(filename)d Ft(is)j(an)f(executable)j(shell)e(script.)40 -b(This)29 b(subshell)g(reinitializes)i(itself,)g(so)f(that)h(the)e -(e\013ect)150 543 y(is)36 b(as)h(if)g(a)f(new)g(shell)h(had)f(b)s(een)g -(in)m(v)m(ok)m(ed)h(to)h(in)m(terpret)e(the)h(script,)h(with)e(the)h -(exception)h(that)f(the)150 653 y(lo)s(cations)25 b(of)g(commands)e -(remem)m(b)s(ered)h(b)m(y)g(the)g(paren)m(t)g(\(see)h(the)f -(description)g(of)g Fs(hash)f Ft(in)h(Section)h(4.1)150 -762 y([Bourne)30 b(Shell)h(Builtins],)g(page)g(35\))h(are)e(retained)h -(b)m(y)f(the)h(c)m(hild.)275 897 y(Most)36 b(v)m(ersions)g(of)g(Unix)f -(mak)m(e)h(this)g(a)g(part)f(of)h(the)g(op)s(erating)g(system's)f -(command)h(execution)150 1006 y(mec)m(hanism.)50 b(If)33 -b(the)g(\014rst)g(line)h(of)f(a)h(script)f(b)s(egins)g(with)g(the)g(t)m -(w)m(o)i(c)m(haracters)g(`)p Fs(#!)p Ft(',)f(the)g(remainder)150 -1116 y(of)d(the)g(line)h(sp)s(eci\014es)e(an)h(in)m(terpreter)g(for)g -(the)g(program.)43 b(Th)m(us,)30 b(y)m(ou)h(can)h(sp)s(ecify)e(Bash,)i -Fs(awk)p Ft(,)e(P)m(erl,)150 1225 y(or)g(some)h(other)g(in)m(terpreter) -g(and)e(write)i(the)f(rest)h(of)g(the)f(script)g(\014le)h(in)f(that)h -(language.)275 1360 y(The)40 b(argumen)m(ts)h(to)g(the)g(in)m -(terpreter)g(consist)g(of)g(a)g(single)h(optional)f(argumen)m(t)h -(follo)m(wing)g(the)150 1469 y(in)m(terpreter)33 b(name)h(on)f(the)g +(command,)h(it)150 3963 y(spa)m(wns)30 b(a)g(subshell)g(to)h(execute)h +(it.)41 b(In)30 b(other)g(w)m(ords,)g(executing)390 4107 +y Fs(filename)46 b Fj(arguments)150 4251 y Ft(is)30 b(equiv)-5 +b(alen)m(t)32 b(to)f(executing)390 4395 y Fs(bash)47 +b(filename)e Fj(arguments)150 4539 y Ft(if)30 b Fs(filename)d +Ft(is)j(an)f(executable)j(shell)e(script.)40 b(This)29 +b(subshell)g(reinitializes)i(itself,)g(so)f(that)h(the)e(e\013ect)150 +4648 y(is)36 b(as)h(if)g(a)f(new)g(shell)h(had)f(b)s(een)g(in)m(v)m(ok) +m(ed)h(to)h(in)m(terpret)e(the)h(script,)h(with)e(the)h(exception)h +(that)f(the)150 4758 y(lo)s(cations)25 b(of)g(commands)e(remem)m(b)s +(ered)h(b)m(y)g(the)g(paren)m(t)g(\(see)h(the)f(description)g(of)g +Fs(hash)f Ft(in)h(Section)h(4.1)150 4867 y([Bourne)30 +b(Shell)h(Builtins],)g(page)g(35\))h(are)e(retained)h(b)m(y)f(the)h(c)m +(hild.)275 5011 y(Most)36 b(v)m(ersions)g(of)g(Unix)f(mak)m(e)h(this)g +(a)g(part)f(of)h(the)g(op)s(erating)g(system's)f(command)h(execution) +150 5121 y(mec)m(hanism.)50 b(If)33 b(the)g(\014rst)g(line)h(of)f(a)h +(script)f(b)s(egins)g(with)g(the)g(t)m(w)m(o)i(c)m(haracters)g(`)p +Fs(#!)p Ft(',)f(the)g(remainder)150 5230 y(of)d(the)g(line)h(sp)s +(eci\014es)e(an)h(in)m(terpreter)g(for)g(the)g(program.)43 +b(Th)m(us,)30 b(y)m(ou)h(can)h(sp)s(ecify)e(Bash,)i Fs(awk)p +Ft(,)e(P)m(erl,)150 5340 y(or)g(some)h(other)g(in)m(terpreter)g(and)e +(write)i(the)f(rest)h(of)g(the)f(script)g(\014le)h(in)f(that)h +(language.)p eop end +%%Page: 34 40 +TeXDict begin 34 39 bop 150 -116 a Ft(34)2572 b(Bash)31 +b(Reference)g(Man)m(ual)275 299 y(The)40 b(argumen)m(ts)h(to)g(the)g +(in)m(terpreter)g(consist)g(of)g(a)g(single)h(optional)f(argumen)m(t)h +(follo)m(wing)g(the)150 408 y(in)m(terpreter)33 b(name)h(on)f(the)g (\014rst)f(line)i(of)f(the)g(script)g(\014le,)h(follo)m(w)m(ed)h(b)m(y) -e(the)g(name)g(of)g(the)h(script)f(\014le,)150 1579 y(follo)m(w)m(ed)g +e(the)g(name)g(of)g(the)h(script)f(\014le,)150 518 y(follo)m(w)m(ed)g (b)m(y)f(the)f(rest)h(of)g(the)f(argumen)m(ts.)45 b(Bash)31 b(will)h(p)s(erform)e(this)i(action)h(on)e(op)s(erating)h(systems)150 -1689 y(that)24 b(do)g(not)f(handle)g(it)h(themselv)m(es.)40 +628 y(that)24 b(do)g(not)f(handle)g(it)h(themselv)m(es.)40 b(Note)25 b(that)f(some)g(older)g(v)m(ersions)f(of)h(Unix)f(limit)i -(the)f(in)m(terpreter)150 1798 y(name)30 b(and)g(argumen)m(t)h(to)g(a)g -(maxim)m(um)f(of)h(32)g(c)m(haracters.)275 1933 y(Bash)h(scripts)g +(the)f(in)m(terpreter)150 737 y(name)30 b(and)g(argumen)m(t)h(to)g(a)g +(maxim)m(um)f(of)h(32)g(c)m(haracters.)275 872 y(Bash)h(scripts)g (often)g(b)s(egin)g(with)g Fs(#!)e(/bin/bash)g Ft(\(assuming)i(that)h -(Bash)f(has)g(b)s(een)f(installed)i(in)150 2042 y(`)p +(Bash)f(has)g(b)s(een)f(installed)i(in)150 981 y(`)p Fs(/bin)p Ft('\),)25 b(since)e(this)g(ensures)f(that)i(Bash)f(will)h(b) s(e)e(used)h(to)h(in)m(terpret)f(the)g(script,)i(ev)m(en)f(if)f(it)h -(is)f(executed)150 2152 y(under)29 b(another)h(shell.)p +(is)f(executed)150 1091 y(under)29 b(another)h(shell.)p eop end -%%Page: 34 40 -TeXDict begin 34 39 bop 150 -116 a Ft(34)2572 b(Bash)31 -b(Reference)g(Man)m(ual)p eop end %%Page: 35 41 TeXDict begin 35 40 bop 150 -116 a Ft(Chapter)30 b(4:)41 b(Shell)30 b(Builtin)h(Commands)2069 b(35)150 299 y Fo(4)80 @@ -7348,9 +7410,9 @@ b(Builtin)150 864 y(commands)f(are)h(necessary)g(to)g(implemen)m(t)g (Builtins],)150 1573 y(page)40 b(88\),)j(the)c(directory)h(stac)m(k)g (\(see)g(Section)g(6.8.1)h([Directory)g(Stac)m(k)f(Builtins],)i(page)e (79\),)j(the)150 1682 y(command)23 b(history)h(\(see)g(Section)g(9.2)h -([Bash)f(History)g(Builtins],)h(page)g(117\),)h(and)d(the)h +([Bash)f(History)g(Builtins],)h(page)g(119\),)h(and)d(the)h (programmable)150 1792 y(completion)32 b(facilities)g(\(see)g(Section)f -(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(113\).)275 +(8.7)g([Programmable)g(Completion)g(Builtins],)g(page)h(114\).)275 1927 y(Man)m(y)f(of)f(the)h(builtins)e(ha)m(v)m(e)j(b)s(een)e(extended) g(b)m(y)g Fl(posix)g Ft(or)g(Bash.)275 2062 y(Unless)20 b(otherwise)h(noted,)h(eac)m(h)g(builtin)e(command)g(do)s(cumen)m(ted)g @@ -7772,7 +7834,7 @@ b(If)27 b(a)i Fq(sigsp)s(ec)k Ft(is)28 b Fs(DEBUG)p Ft(,)630 44 b(Refer)31 b(to)h(the)g(description)f(of)h(the)630 3712 y Fs(extglob)40 b Ft(option)i(to)g(the)g Fs(shopt)e Ft(builtin)h(\(see)i(Section)f(4.3.2)i([The)d(Shopt)g(Builtin],)630 -3821 y(page)g(53\))g(for)e(details)i(of)f(its)h(e\013ect)g(on)f(the)g +3821 y(page)g(54\))g(for)e(details)i(of)f(its)h(e\013ect)g(on)f(the)g Fs(DEBUG)f Ft(trap.)69 b(If)39 b(a)i Fq(sigsp)s(ec)k Ft(is)40 b Fs(ERR)p Ft(,)i(the)630 3931 y(command)h Fq(arg)52 b Ft(is)44 b(executed)g(whenev)m(er)g(a)g(simple)f(command)h(has)f(a)h @@ -7804,1109 +7866,1165 @@ b(not)h(sp)s(ecify)f(a)g(v)-5 b(alid)31 b(signal.)150 %%Page: 41 47 TeXDict begin 41 46 bop 150 -116 a Ft(Chapter)30 b(4:)41 b(Shell)30 b(Builtin)h(Commands)2069 b(41)870 299 y Fs(umask)46 -b([-p])h([-S])g([)p Fj(mode)11 b Fs(])630 435 y Ft(Set)30 +b([-p])h([-S])g([)p Fj(mode)11 b Fs(])630 429 y Ft(Set)30 b(the)f(shell)h(pro)s(cess's)f(\014le)h(creation)g(mask)g(to)g Fq(mo)s(de)p Ft(.)40 b(If)29 b Fq(mo)s(de)34 b Ft(b)s(egins)29 -b(with)g(a)h(digit,)630 544 y(it)e(is)f(in)m(terpreted)g(as)g(an)g(o)s +b(with)g(a)h(digit,)630 538 y(it)e(is)f(in)m(terpreted)g(as)g(an)g(o)s (ctal)i(n)m(um)m(b)s(er;)e(if)g(not,)h(it)g(is)f(in)m(terpreted)g(as)g -(a)h(sym)m(b)s(olic)f(mo)s(de)630 654 y(mask)i(similar)g(to)g(that)h +(a)h(sym)m(b)s(olic)f(mo)s(de)630 648 y(mask)i(similar)g(to)g(that)h (accepted)g(b)m(y)f(the)g Fs(chmod)e Ft(command.)40 b(If)28 -b Fq(mo)s(de)34 b Ft(is)28 b(omitted,)j(the)630 763 y(curren)m(t)36 +b Fq(mo)s(de)34 b Ft(is)28 b(omitted,)j(the)630 758 y(curren)m(t)36 b(v)-5 b(alue)36 b(of)g(the)h(mask)f(is)g(prin)m(ted.)57 b(If)35 b(the)h(`)p Fs(-S)p Ft(')g(option)h(is)f(supplied)f(without)h -(a)630 873 y Fq(mo)s(de)k Ft(argumen)m(t,)d(the)e(mask)g(is)g(prin)m +(a)630 867 y Fq(mo)s(de)k Ft(argumen)m(t,)d(the)e(mask)g(is)g(prin)m (ted)g(in)g(a)h(sym)m(b)s(olic)f(format.)55 b(If)35 b(the)g(`)p -Fs(-p)p Ft(')g(option)630 983 y(is)f(supplied,)f(and)g +Fs(-p)p Ft(')g(option)630 977 y(is)f(supplied,)f(and)g Fq(mo)s(de)38 b Ft(is)33 b(omitted,)j(the)e(output)f(is)g(in)h(a)g -(form)f(that)h(ma)m(y)g(b)s(e)f(reused)630 1092 y(as)e(input.)41 +(form)f(that)h(ma)m(y)g(b)s(e)f(reused)630 1086 y(as)e(input.)41 b(The)31 b(return)f(status)h(is)g(zero)h(if)e(the)h(mo)s(de)g(is)g -(successfully)g(c)m(hanged)g(or)g(if)g(no)630 1202 y +(successfully)g(c)m(hanged)g(or)g(if)g(no)630 1196 y Fq(mo)s(de)k Ft(argumen)m(t)c(is)f(supplied,)g(and)f(non-zero)i -(otherwise.)630 1337 y(Note)38 b(that)e(when)g(the)g(mo)s(de)g(is)g(in) +(otherwise.)630 1326 y(Note)38 b(that)e(when)g(the)g(mo)s(de)g(is)g(in) m(terpreted)h(as)f(an)g(o)s(ctal)i(n)m(um)m(b)s(er,)e(eac)m(h)i(n)m(um) -m(b)s(er)d(of)630 1447 y(the)f(umask)g(is)h(subtracted)f(from)f +m(b)s(er)d(of)630 1435 y(the)f(umask)g(is)h(subtracted)f(from)f Fs(7)p Ft(.)53 b(Th)m(us,)34 b(a)h(umask)e(of)i Fs(022)e -Ft(results)h(in)g(p)s(ermissions)630 1557 y(of)d Fs(755)p -Ft(.)150 1718 y Fs(unset)870 1854 y(unset)46 b([-fv])h([)p -Fj(name)11 b Fs(])630 1990 y Ft(Eac)m(h)34 b(v)-5 b(ariable)33 +Ft(results)h(in)g(p)s(ermissions)630 1545 y(of)d Fs(755)p +Ft(.)150 1695 y Fs(unset)870 1825 y(unset)46 b([-fv])h([)p +Fj(name)11 b Fs(])630 1955 y Ft(Eac)m(h)34 b(v)-5 b(ariable)33 b(or)g(function)g Fq(name)38 b Ft(is)33 b(remo)m(v)m(ed.)50 b(If)32 b(no)h(options)h(are)f(supplied,)g(or)g(the)630 -2099 y(`)p Fs(-v)p Ft(')h(option)h(is)g(giv)m(en,)h(eac)m(h)g +2064 y(`)p Fs(-v)p Ft(')h(option)h(is)g(giv)m(en,)h(eac)m(h)g Fq(name)k Ft(refers)34 b(to)h(a)g(shell)f(v)-5 b(ariable.)54 -b(If)34 b(the)h(`)p Fs(-f)p Ft(')f(option)h(is)630 2209 +b(If)34 b(the)h(`)p Fs(-f)p Ft(')f(option)h(is)630 2174 y(giv)m(en,)27 b(the)d Fq(name)5 b Ft(s)25 b(refer)f(to)h(shell)g (functions,)g(and)f(the)g(function)g(de\014nition)g(is)h(remo)m(v)m -(ed.)630 2319 y(Readonly)32 b(v)-5 b(ariables)33 b(and)f(functions)f +(ed.)630 2284 y(Readonly)32 b(v)-5 b(ariables)33 b(and)f(functions)f (ma)m(y)i(not)f(b)s(e)g(unset.)45 b(The)32 b(return)f(status)h(is)g -(zero)630 2428 y(unless)e(a)g Fq(name)36 b Ft(is)30 b(readonly)-8 -b(.)150 2692 y Fr(4.2)68 b(Bash)45 b(Builtin)g(Commands)275 -2938 y Ft(This)30 b(section)j(describ)s(es)e(builtin)h(commands)f(whic) +(zero)630 2393 y(unless)e(a)g Fq(name)36 b Ft(is)30 b(readonly)-8 +b(.)150 2637 y Fr(4.2)68 b(Bash)45 b(Builtin)g(Commands)275 +2876 y Ft(This)30 b(section)j(describ)s(es)e(builtin)h(commands)f(whic) m(h)g(are)i(unique)d(to)j(or)f(ha)m(v)m(e)h(b)s(een)e(extended)g(in)150 -3048 y(Bash.)41 b(Some)30 b(of)h(these)g(commands)f(are)g(sp)s -(eci\014ed)g(in)g(the)h Fl(posix)e Ft(standard.)150 3211 -y Fs(alias)870 3346 y(alias)46 b([-p])h([)p Fj(name)11 -b Fs([=)p Fj(value)g Fs(])43 b(...)o(])630 3482 y Ft(Without)h(argumen) +2986 y(Bash.)41 b(Some)30 b(of)h(these)g(commands)f(are)g(sp)s +(eci\014ed)g(in)g(the)h Fl(posix)e Ft(standard.)150 3136 +y Fs(alias)870 3266 y(alias)46 b([-p])h([)p Fj(name)11 +b Fs([=)p Fj(value)g Fs(])43 b(...)o(])630 3396 y Ft(Without)h(argumen) m(ts)f(or)g(with)g(the)h(`)p Fs(-p)p Ft(')f(option,)k Fs(alias)41 b Ft(prin)m(ts)i(the)g(list)h(of)f(aliases)630 -3592 y(on)36 b(the)g(standard)f(output)h(in)f(a)i(form)e(that)i(allo)m +3505 y(on)36 b(the)g(standard)f(output)h(in)f(a)i(form)e(that)i(allo)m (ws)g(them)f(to)g(b)s(e)g(reused)f(as)h(input.)56 b(If)630 -3701 y(argumen)m(ts)29 b(are)g(supplied,)f(an)h(alias)h(is)f(de\014ned) +3615 y(argumen)m(ts)29 b(are)g(supplied,)f(an)h(alias)h(is)f(de\014ned) e(for)i(eac)m(h)h Fq(name)k Ft(whose)28 b Fq(v)-5 b(alue)35 -b Ft(is)29 b(giv)m(en.)630 3811 y(If)39 b(no)h Fq(v)-5 +b Ft(is)29 b(giv)m(en.)630 3725 y(If)39 b(no)h Fq(v)-5 b(alue)45 b Ft(is)40 b(giv)m(en,)j(the)d(name)f(and)g(v)-5 b(alue)40 b(of)g(the)g(alias)h(is)f(prin)m(ted.)68 b(Aliases)41 -b(are)630 3920 y(describ)s(ed)29 b(in)h(Section)i(6.6)f([Aliases],)h -(page)f(77.)150 4082 y Fs(bind)870 4218 y(bind)47 b([-m)g -Fj(keymap)11 b Fs(])45 b([-lpsvPSV])870 4328 y(bind)i([-m)g +b(are)630 3834 y(describ)s(ed)29 b(in)h(Section)i(6.6)f([Aliases],)h +(page)f(77.)150 3984 y Fs(bind)870 4114 y(bind)47 b([-m)g +Fj(keymap)11 b Fs(])45 b([-lpsvPSV])870 4224 y(bind)i([-m)g Fj(keymap)11 b Fs(])45 b([-q)i Fj(function)11 b Fs(])45 b([-u)h Fj(function)11 b Fs(])45 b([-r)i Fj(keyseq)11 -b Fs(])870 4437 y(bind)47 b([-m)g Fj(keymap)11 b Fs(])45 -b(-f)i Fj(filename)870 4547 y Fs(bind)g([-m)g Fj(keymap)11 -b Fs(])45 b(-x)i Fj(keyseq:shell-command)870 4656 y Fs(bind)g([-m)g +b Fs(])870 4333 y(bind)47 b([-m)g Fj(keymap)11 b Fs(])45 +b(-f)i Fj(filename)870 4443 y Fs(bind)g([-m)g Fj(keymap)11 +b Fs(])45 b(-x)i Fj(keyseq:shell-command)870 4553 y Fs(bind)g([-m)g Fj(keymap)11 b Fs(])45 b Fj(keyseq:function-name)870 -4766 y Fs(bind)i Fj(readline-command)630 4902 y Ft(Displa)m(y)26 +4662 y Fs(bind)i Fj(readline-command)630 4792 y Ft(Displa)m(y)26 b(curren)m(t)f(Readline)h(\(see)g(Chapter)f(8)g([Command)g(Line)g -(Editing],)i(page)f(91\))g(k)m(ey)630 5011 y(and)36 b(function)g +(Editing],)i(page)f(91\))g(k)m(ey)630 4902 y(and)36 b(function)g (bindings,)i(bind)d(a)i(k)m(ey)g(sequence)g(to)h(a)f(Readline)g -(function)f(or)h(macro,)630 5121 y(or)44 b(set)h(a)g(Readline)f(v)-5 +(function)f(or)h(macro,)630 5011 y(or)44 b(set)h(a)g(Readline)f(v)-5 b(ariable.)83 b(Eac)m(h)45 b(non-option)g(argumen)m(t)f(is)g(a)h -(command)f(as)g(it)630 5230 y(w)m(ould)e(app)s(ear)f(in)h(a)h(Readline) +(command)f(as)g(it)630 5121 y(w)m(ould)e(app)s(ear)f(in)h(a)h(Readline) g(initialization)i(\014le)d(\(see)h(Section)g(8.3)g([Readline)g(Init) -630 5340 y(File],)g(page)c(94\),)k(but)38 b(eac)m(h)i(binding)e(or)h -(command)g(m)m(ust)g(b)s(e)f(passed)g(as)i(a)f(separate)p -eop end +630 5230 y(File],)g(page)c(94\),)k(but)38 b(eac)m(h)i(binding)e(or)h +(command)g(m)m(ust)g(b)s(e)f(passed)g(as)i(a)f(separate)630 +5340 y(argumen)m(t;)31 b(e.g.,)h(`)p Fs("\\C-x\\C-r":re-read-init-f)o +(ile)p Ft('.)p eop end %%Page: 42 48 TeXDict begin 42 47 bop 150 -116 a Ft(42)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(argumen)m(t;)36 b(e.g.,)f(`)p -Fs("\\C-x\\C-r":re-read-init-fi)o(le)p Ft('.)43 b(Options,)34 -b(if)g(supplied,)f(ha)m(v)m(e)630 408 y(the)e(follo)m(wing)g(meanings:) -630 576 y Fs(-m)f Fj(keymap)1110 686 y Ft(Use)54 b Fq(k)m(eymap)j -Ft(as)d(the)g(k)m(eymap)g(to)h(b)s(e)e(a\013ected)i(b)m(y)f(the)g -(subsequen)m(t)1110 795 y(bindings.)46 b(Acceptable)34 -b Fq(k)m(eymap)i Ft(names)c(are)h Fs(emacs)p Ft(,)f Fs(emacs-standard)p -Ft(,)1110 905 y Fs(emacs-meta)p Ft(,)99 b Fs(emacs-ctlx)p -Ft(,)f Fs(vi)p Ft(,)j Fs(vi-move)p Ft(,)f Fs(vi-command)p -Ft(,)f(and)1110 1014 y Fs(vi-insert)p Ft(.)64 b Fs(vi)38 -b Ft(is)h(equiv)-5 b(alen)m(t)41 b(to)e Fs(vi-command)p -Ft(;)i Fs(emacs)c Ft(is)i(equiv)-5 b(alen)m(t)1110 1124 -y(to)31 b Fs(emacs-standard)p Ft(.)630 1292 y Fs(-l)384 -b Ft(List)31 b(the)f(names)g(of)h(all)g(Readline)g(functions.)630 -1459 y Fs(-p)384 b Ft(Displa)m(y)34 b(Readline)f(function)g(names)g -(and)f(bindings)f(in)i(suc)m(h)f(a)i(w)m(a)m(y)f(that)1110 -1569 y(they)e(can)f(b)s(e)g(used)g(as)g(input)g(or)g(in)g(a)h(Readline) -g(initialization)i(\014le.)630 1736 y Fs(-P)384 b Ft(List)31 -b(curren)m(t)f(Readline)h(function)f(names)g(and)g(bindings.)630 -1904 y Fs(-v)384 b Ft(Displa)m(y)25 b(Readline)f(v)-5 -b(ariable)25 b(names)f(and)f(v)-5 b(alues)24 b(in)g(suc)m(h)f(a)i(w)m -(a)m(y)f(that)h(they)1110 2014 y(can)31 b(b)s(e)e(used)h(as)h(input)e -(or)h(in)g(a)h(Readline)g(initialization)j(\014le.)630 -2181 y Fs(-V)384 b Ft(List)31 b(curren)m(t)f(Readline)h(v)-5 -b(ariable)31 b(names)f(and)g(v)-5 b(alues.)630 2349 y -Fs(-s)384 b Ft(Displa)m(y)39 b(Readline)f(k)m(ey)g(sequences)f(b)s -(ound)f(to)i(macros)g(and)f(the)g(strings)1110 2458 y(they)d(output)f -(in)h(suc)m(h)f(a)h(w)m(a)m(y)h(that)f(they)g(can)g(b)s(e)f(used)g(as)h -(input)e(or)i(in)g(a)1110 2568 y(Readline)d(initialization)i(\014le.) -630 2736 y Fs(-S)384 b Ft(Displa)m(y)39 b(Readline)f(k)m(ey)g +b(Reference)g(Man)m(ual)630 299 y(Options,)f(if)h(supplied,)e(ha)m(v)m +(e)i(the)g(follo)m(wing)h(meanings:)630 456 y Fs(-m)e +Fj(keymap)1110 566 y Ft(Use)54 b Fq(k)m(eymap)j Ft(as)d(the)g(k)m +(eymap)g(to)h(b)s(e)e(a\013ected)i(b)m(y)f(the)g(subsequen)m(t)1110 +676 y(bindings.)46 b(Acceptable)34 b Fq(k)m(eymap)i Ft(names)c(are)h +Fs(emacs)p Ft(,)f Fs(emacs-standard)p Ft(,)1110 785 y +Fs(emacs-meta)p Ft(,)99 b Fs(emacs-ctlx)p Ft(,)f Fs(vi)p +Ft(,)j Fs(vi-move)p Ft(,)f Fs(vi-command)p Ft(,)f(and)1110 +895 y Fs(vi-insert)p Ft(.)64 b Fs(vi)38 b Ft(is)h(equiv)-5 +b(alen)m(t)41 b(to)e Fs(vi-command)p Ft(;)i Fs(emacs)c +Ft(is)i(equiv)-5 b(alen)m(t)1110 1004 y(to)31 b Fs(emacs-standard)p +Ft(.)630 1162 y Fs(-l)384 b Ft(List)31 b(the)f(names)g(of)h(all)g +(Readline)g(functions.)630 1319 y Fs(-p)384 b Ft(Displa)m(y)34 +b(Readline)f(function)g(names)g(and)f(bindings)f(in)i(suc)m(h)f(a)i(w)m +(a)m(y)f(that)1110 1429 y(they)e(can)f(b)s(e)g(used)g(as)g(input)g(or)g +(in)g(a)h(Readline)g(initialization)i(\014le.)630 1587 +y Fs(-P)384 b Ft(List)31 b(curren)m(t)f(Readline)h(function)f(names)g +(and)g(bindings.)630 1744 y Fs(-v)384 b Ft(Displa)m(y)25 +b(Readline)f(v)-5 b(ariable)25 b(names)f(and)f(v)-5 b(alues)24 +b(in)g(suc)m(h)f(a)i(w)m(a)m(y)f(that)h(they)1110 1854 +y(can)31 b(b)s(e)e(used)h(as)h(input)e(or)h(in)g(a)h(Readline)g +(initialization)j(\014le.)630 2011 y Fs(-V)384 b Ft(List)31 +b(curren)m(t)f(Readline)h(v)-5 b(ariable)31 b(names)f(and)g(v)-5 +b(alues.)630 2169 y Fs(-s)384 b Ft(Displa)m(y)39 b(Readline)f(k)m(ey)g (sequences)f(b)s(ound)f(to)i(macros)g(and)f(the)g(strings)1110 -2845 y(they)31 b(output.)630 3013 y Fs(-f)f Fj(filename)1110 -3122 y Ft(Read)h(k)m(ey)g(bindings)e(from)h Fq(\014lename)p -Ft(.)630 3290 y Fs(-q)g Fj(function)1110 3400 y Ft(Query)g(ab)s(out)g -(whic)m(h)g(k)m(eys)h(in)m(v)m(ok)m(e)h(the)f(named)f -Fq(function)p Ft(.)630 3567 y Fs(-u)g Fj(function)1110 -3677 y Ft(Un)m(bind)f(all)i(k)m(eys)g(b)s(ound)e(to)i(the)f(named)g -Fq(function)p Ft(.)630 3844 y Fs(-r)g Fj(keyseq)1110 -3954 y Ft(Remo)m(v)m(e)i(an)m(y)f(curren)m(t)f(binding)f(for)h -Fq(k)m(eyseq)p Ft(.)630 4122 y Fs(-x)g Fj(keyseq:shell-command)1110 -4231 y Ft(Cause)g Fq(shell-command)k Ft(to)e(b)s(e)d(executed)j(whenev) -m(er)e Fq(k)m(eyseq)j Ft(is)e(en)m(tered.)630 4399 y(The)26 -b(return)f(status)i(is)f(zero)i(unless)d(an)i(in)m(v)-5 -b(alid)27 b(option)g(is)f(supplied)f(or)i(an)f(error)g(o)s(ccurs.)150 -4566 y Fs(builtin)870 4705 y(builtin)46 b([)p Fj(shell-builtin)54 -b Fs([)p Fj(args)11 b Fs(]])630 4844 y Ft(Run)35 b(a)i(shell)f +2278 y(they)d(output)f(in)h(suc)m(h)f(a)h(w)m(a)m(y)h(that)f(they)g +(can)g(b)s(e)f(used)g(as)h(input)e(or)i(in)g(a)1110 2388 +y(Readline)d(initialization)i(\014le.)630 2545 y Fs(-S)384 +b Ft(Displa)m(y)39 b(Readline)f(k)m(ey)g(sequences)f(b)s(ound)f(to)i +(macros)g(and)f(the)g(strings)1110 2655 y(they)31 b(output.)630 +2813 y Fs(-f)f Fj(filename)1110 2922 y Ft(Read)h(k)m(ey)g(bindings)e +(from)h Fq(\014lename)p Ft(.)630 3080 y Fs(-q)g Fj(function)1110 +3189 y Ft(Query)g(ab)s(out)g(whic)m(h)g(k)m(eys)h(in)m(v)m(ok)m(e)h +(the)f(named)f Fq(function)p Ft(.)630 3347 y Fs(-u)g +Fj(function)1110 3456 y Ft(Un)m(bind)f(all)i(k)m(eys)g(b)s(ound)e(to)i +(the)f(named)g Fq(function)p Ft(.)630 3614 y Fs(-r)g +Fj(keyseq)1110 3724 y Ft(Remo)m(v)m(e)i(an)m(y)f(curren)m(t)f(binding)f +(for)h Fq(k)m(eyseq)p Ft(.)630 3881 y Fs(-x)g Fj(keyseq:shell-command) +1110 3991 y Ft(Cause)35 b Fq(shell-command)k Ft(to)d(b)s(e)f(executed)h +(whenev)m(er)f Fq(k)m(eyseq)j Ft(is)d(en)m(tered.)1110 +4100 y(When)46 b Fq(shell-command)k Ft(is)c(executed,)51 +b(the)46 b(shell)g(sets)g(the)g Fs(READLINE_)1110 4210 +y(LINE)37 b Ft(v)-5 b(ariable)38 b(to)g(the)g(con)m(ten)m(ts)i(of)e +(the)g(Readline)g(line)g(bu\013er)f(and)g(the)1110 4319 +y Fs(READLINE_POINT)e Ft(v)-5 b(ariable)39 b(to)h(the)e(curren)m(t)h +(lo)s(cation)h(of)f(the)g(insertion)1110 4429 y(p)s(oin)m(t.)59 +b(If)37 b(the)f(executed)i(command)e(c)m(hanges)i(the)f(v)-5 +b(alue)37 b(of)f Fs(READLINE_)1110 4539 y(LINE)29 b Ft(or)h +Fs(READLINE_POINT)p Ft(,)c(those)31 b(new)e(v)-5 b(alues)31 +b(will)f(b)s(e)f(re\015ected)i(in)f(the)1110 4648 y(editing)h(state.) +630 4806 y(The)26 b(return)f(status)i(is)f(zero)i(unless)d(an)i(in)m(v) +-5 b(alid)27 b(option)g(is)f(supplied)f(or)i(an)f(error)g(o)s(ccurs.) +150 4963 y Fs(builtin)870 5097 y(builtin)46 b([)p Fj(shell-builtin)54 +b Fs([)p Fj(args)11 b Fs(]])630 5230 y Ft(Run)35 b(a)i(shell)f (builtin,)i(passing)e(it)h Fq(args)p Ft(,)h(and)e(return)f(its)i(exit)g -(status.)59 b(This)35 b(is)i(useful)630 4953 y(when)29 +(status.)59 b(This)35 b(is)i(useful)630 5340 y(when)29 b(de\014ning)h(a)g(shell)h(function)f(with)g(the)g(same)h(name)f(as)h -(a)g(shell)f(builtin,)g(retaining)630 5063 y(the)k(functionalit)m(y)h -(of)f(the)f(builtin)g(within)g(the)h(function.)50 b(The)33 -b(return)g(status)h(is)f(non-)630 5172 y(zero)e(if)g -Fq(shell-builtin)f Ft(is)g(not)h(a)g(shell)f(builtin)g(command.)150 -5340 y Fs(caller)p eop end +(a)g(shell)f(builtin,)g(retaining)p eop end %%Page: 43 49 TeXDict begin 43 48 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(43)870 299 y Fs(caller)46 -b([)p Fj(expr)11 b Fs(])630 434 y Ft(Returns)34 b(the)g(con)m(text)j -(of)e(an)m(y)g(activ)m(e)i(subroutine)c(call)j(\(a)f(shell)g(function)f -(or)h(a)g(script)630 544 y(executed)c(with)f(the)h Fs(.)f -Ft(or)g Fs(source)f Ft(builtins\).)630 679 y(Without)45 -b Fq(expr)p Ft(,)j Fs(caller)43 b Ft(displa)m(ys)i(the)f(line)h(n)m(um) -m(b)s(er)f(and)g(source)g(\014lename)h(of)g(the)630 789 -y(curren)m(t)35 b(subroutine)g(call.)58 b(If)35 b(a)h(non-negativ)m(e)i -(in)m(teger)f(is)f(supplied)e(as)i Fq(expr)p Ft(,)h Fs(caller)630 -898 y Ft(displa)m(ys)k(the)f(line)h(n)m(um)m(b)s(er,)h(subroutine)d +b(Shell)30 b(Builtin)h(Commands)2069 b(43)630 299 y(the)34 +b(functionalit)m(y)h(of)f(the)f(builtin)g(within)g(the)h(function.)50 +b(The)33 b(return)g(status)h(is)f(non-)630 408 y(zero)e(if)g +Fq(shell-builtin)f Ft(is)g(not)h(a)g(shell)f(builtin)g(command.)150 +567 y Fs(caller)870 701 y(caller)46 b([)p Fj(expr)11 +b Fs(])630 835 y Ft(Returns)34 b(the)g(con)m(text)j(of)e(an)m(y)g +(activ)m(e)i(subroutine)c(call)j(\(a)f(shell)g(function)f(or)h(a)g +(script)630 944 y(executed)c(with)f(the)h Fs(.)f Ft(or)g +Fs(source)f Ft(builtins\).)630 1078 y(Without)45 b Fq(expr)p +Ft(,)j Fs(caller)43 b Ft(displa)m(ys)i(the)f(line)h(n)m(um)m(b)s(er)f +(and)g(source)g(\014lename)h(of)g(the)630 1188 y(curren)m(t)35 +b(subroutine)g(call.)58 b(If)35 b(a)h(non-negativ)m(e)i(in)m(teger)f +(is)f(supplied)e(as)i Fq(expr)p Ft(,)h Fs(caller)630 +1297 y Ft(displa)m(ys)k(the)f(line)h(n)m(um)m(b)s(er,)h(subroutine)d (name,)44 b(and)c(source)g(\014le)h(corresp)s(onding)e(to)630 -1008 y(that)c(p)s(osition)g(in)f(the)h(curren)m(t)f(execution)i(call)g +1407 y(that)c(p)s(osition)g(in)f(the)h(curren)m(t)f(execution)i(call)g (stac)m(k.)54 b(This)34 b(extra)h(information)g(ma)m(y)630 -1118 y(b)s(e)30 b(used,)g(for)g(example,)h(to)g(prin)m(t)f(a)h(stac)m +1517 y(b)s(e)30 b(used,)g(for)g(example,)h(to)g(prin)m(t)f(a)h(stac)m (k)h(trace.)42 b(The)29 b(curren)m(t)i(frame)f(is)g(frame)h(0.)630 -1253 y(The)e(return)f(v)-5 b(alue)29 b(is)h(0)f(unless)g(the)g(shell)g +1650 y(The)e(return)f(v)-5 b(alue)29 b(is)h(0)f(unless)g(the)g(shell)g (is)h(not)f(executing)h(a)g(subroutine)e(call)i(or)g -Fq(expr)630 1363 y Ft(do)s(es)g(not)h(corresp)s(ond)e(to)i(a)g(v)-5 +Fq(expr)630 1760 y Ft(do)s(es)g(not)h(corresp)s(ond)e(to)i(a)g(v)-5 b(alid)30 b(p)s(osition)h(in)f(the)g(call)i(stac)m(k.)150 -1524 y Fs(command)870 1659 y(command)46 b([-pVv])g Fj(command)56 -b Fs([)p Fj(arguments)g Fs(...)o(])630 1794 y Ft(Runs)32 +1918 y Fs(command)870 2052 y(command)46 b([-pVv])g Fj(command)56 +b Fs([)p Fj(arguments)g Fs(...)o(])630 2186 y Ft(Runs)32 b Fq(command)k Ft(with)d Fq(argumen)m(ts)k Ft(ignoring)c(an)m(y)g -(shell)h(function)e(named)h Fq(command)p Ft(.)630 1904 +(shell)h(function)e(named)h Fq(command)p Ft(.)630 2296 y(Only)39 b(shell)i(builtin)e(commands)h(or)g(commands)f(found)g(b)m(y) -h(searc)m(hing)h(the)f Fs(PATH)f Ft(are)630 2014 y(executed.)g(If)23 +h(searc)m(hing)h(the)f Fs(PATH)f Ft(are)630 2405 y(executed.)g(If)23 b(there)h(is)f(a)h(shell)f(function)g(named)g Fs(ls)p Ft(,)i(running)c(`)p Fs(command)29 b(ls)p Ft(')23 b(within)g(the)630 -2123 y(function)33 b(will)g(execute)i(the)f(external)g(command)f +2515 y(function)33 b(will)g(execute)i(the)f(external)g(command)f Fs(ls)f Ft(instead)i(of)f(calling)i(the)e(function)630 -2233 y(recursiv)m(ely)-8 b(.)84 b(The)44 b(`)p Fs(-p)p +2625 y(recursiv)m(ely)-8 b(.)84 b(The)44 b(`)p Fs(-p)p Ft(')h(option)g(means)f(to)h(use)g(a)f(default)h(v)-5 -b(alue)45 b(for)f Fs(PATH)g Ft(that)h(is)630 2342 y(guaran)m(teed)35 +b(alue)45 b(for)f Fs(PATH)g Ft(that)h(is)630 2734 y(guaran)m(teed)35 b(to)f(\014nd)e(all)j(of)f(the)g(standard)f(utilities.)52 -b(The)33 b(return)g(status)h(in)f(this)h(case)630 2452 +b(The)33 b(return)g(status)h(in)f(this)h(case)630 2844 y(is)29 b(127)g(if)g Fq(command)j Ft(cannot)d(b)s(e)e(found)h(or)g(an)g (error)h(o)s(ccurred,)f(and)g(the)h(exit)g(status)g(of)630 -2562 y Fq(command)34 b Ft(otherwise.)630 2697 y(If)25 +2953 y Fq(command)34 b Ft(otherwise.)630 3087 y(If)25 b(either)g(the)h(`)p Fs(-V)p Ft(')f(or)g(`)p Fs(-v)p Ft(')g(option)g(is)g(supplied,)h(a)f(description)g(of)h -Fq(command)i Ft(is)d(prin)m(ted.)630 2807 y(The)i(`)p +Fq(command)i Ft(is)d(prin)m(ted.)630 3197 y(The)i(`)p Fs(-v)p Ft(')h(option)h(causes)f(a)h(single)f(w)m(ord)g(indicating)h -(the)f(command)g(or)g(\014le)g(name)g(used)630 2916 y(to)36 +(the)f(command)g(or)g(\014le)g(name)g(used)630 3306 y(to)36 b(in)m(v)m(ok)m(e)g Fq(command)j Ft(to)c(b)s(e)g(displa)m(y)m(ed;)j (the)d(`)p Fs(-V)p Ft(')g(option)g(pro)s(duces)e(a)j(more)f(v)m(erb)s -(ose)630 3026 y(description.)61 b(In)36 b(this)h(case,)j(the)e(return)e +(ose)630 3416 y(description.)61 b(In)36 b(this)h(case,)j(the)e(return)e (status)h(is)g(zero)h(if)f Fq(command)k Ft(is)c(found,)h(and)630 -3135 y(non-zero)31 b(if)f(not.)150 3296 y Fs(declare)870 -3432 y(declare)46 b([-afFirtx])f([-p])h([)p Fj(name)11 -b Fs([=)p Fj(value)g Fs(])44 b(...)o(])630 3567 y Ft(Declare)29 +3526 y(non-zero)31 b(if)f(not.)150 3684 y Fs(declare)870 +3818 y(declare)46 b([-afFirtx])f([-p])h([)p Fj(name)11 +b Fs([=)p Fj(value)g Fs(])44 b(...)o(])630 3952 y Ft(Declare)29 b(v)-5 b(ariables)28 b(and)e(giv)m(e)j(them)e(attributes.)40 b(If)27 b(no)g Fq(name)5 b Ft(s)27 b(are)h(giv)m(en,)h(then)e(displa)m -(y)630 3677 y(the)k(v)-5 b(alues)30 b(of)h(v)-5 b(ariables)31 -b(instead.)630 3812 y(The)d(`)p Fs(-p)p Ft(')g(option)g(will)h(displa)m +(y)630 4061 y(the)k(v)-5 b(alues)30 b(of)h(v)-5 b(ariables)31 +b(instead.)630 4195 y(The)d(`)p Fs(-p)p Ft(')g(option)g(will)h(displa)m (y)f(the)h(attributes)f(and)g(v)-5 b(alues)28 b(of)h(eac)m(h)g -Fq(name)p Ft(.)40 b(When)28 b(`)p Fs(-p)p Ft(')630 3922 +Fq(name)p Ft(.)40 b(When)28 b(`)p Fs(-p)p Ft(')630 4305 y(is)i(used)g(with)g Fq(name)36 b Ft(argumen)m(ts,)31 -b(additional)g(options)f(are)h(ignored.)630 4057 y(When)36 +b(additional)g(options)f(are)h(ignored.)630 4439 y(When)36 b(`)p Fs(-p)p Ft(')f(is)h(supplied)f(without)h Fq(name)41 b Ft(argumen)m(ts,)d Fs(declare)c Ft(will)i(displa)m(y)g(the)g(at-)630 -4167 y(tributes)31 b(and)f(v)-5 b(alues)31 b(of)g(all)h(v)-5 +4548 y(tributes)31 b(and)f(v)-5 b(alues)31 b(of)g(all)h(v)-5 b(ariables)31 b(ha)m(ving)h(the)f(attributes)g(sp)s(eci\014ed)f(b)m(y)h -(the)g(addi-)630 4276 y(tional)h(options.)41 b(If)30 +(the)g(addi-)630 4658 y(tional)h(options.)41 b(If)30 b(no)g(other)h(options)g(are)g(supplied)e(with)h(`)p Fs(-p)p Ft(',)g Fs(declare)f Ft(will)i(displa)m(y)630 -4386 y(the)f(attributes)g(and)e(v)-5 b(alues)30 b(of)g(all)g(shell)g(v) +4768 y(the)f(attributes)g(and)e(v)-5 b(alues)30 b(of)g(all)g(shell)g(v) -5 b(ariables.)41 b(The)29 b(`)p Fs(-f)p Ft(')g(option)h(will)g -(restrict)g(the)630 4495 y(displa)m(y)h(to)g(shell)f(functions.)630 -4631 y(The)36 b(`)p Fs(-F)p Ft(')h(option)g(inhibits)f(the)h(displa)m +(restrict)g(the)630 4877 y(displa)m(y)h(to)g(shell)f(functions.)630 +5011 y(The)36 b(`)p Fs(-F)p Ft(')h(option)g(inhibits)f(the)h(displa)m (y)g(of)g(function)g(de\014nitions;)i(only)e(the)g(function)630 -4740 y(name)30 b(and)f(attributes)i(are)f(prin)m(ted.)40 +5121 y(name)30 b(and)f(attributes)i(are)f(prin)m(ted.)40 b(If)30 b(the)g Fs(extdebug)e Ft(shell)i(option)g(is)g(enabled)g(using) -630 4850 y Fs(shopt)24 b Ft(\(see)i(Section)g(4.3.2)i([The)d(Shopt)f -(Builtin],)k(page)e(53\),)i(the)d(source)h(\014le)f(name)h(and)630 -4960 y(line)38 b(n)m(um)m(b)s(er)e(where)i(the)g(function)f(is)h +630 5230 y Fs(shopt)24 b Ft(\(see)i(Section)g(4.3.2)i([The)d(Shopt)f +(Builtin],)k(page)e(54\),)i(the)d(source)h(\014le)f(name)h(and)630 +5340 y(line)38 b(n)m(um)m(b)s(er)e(where)i(the)g(function)f(is)h (de\014ned)e(are)i(displa)m(y)m(ed)h(as)e(w)m(ell.)64 -b(`)p Fs(-F)p Ft(')38 b(implies)630 5069 y(`)p Fs(-f)p -Ft('.)i(The)28 b(follo)m(wing)i(options)f(can)f(b)s(e)g(used)g(to)h -(restrict)g(output)f(to)h(v)-5 b(ariables)30 b(with)e(the)630 -5179 y(sp)s(eci\014ed)i(attributes)h(or)f(to)h(giv)m(e)h(v)-5 -b(ariables)31 b(attributes:)630 5340 y Fs(-a)384 b Ft(Eac)m(h)30 -b Fq(name)k Ft(is)29 b(an)g(arra)m(y)h(v)-5 b(ariable)30 -b(\(see)g(Section)g(6.7)g([Arra)m(ys],)h(page)e(78\).)p -eop end +b(`)p Fs(-F)p Ft(')38 b(implies)p eop end %%Page: 44 50 TeXDict begin 44 49 bop 150 -116 a Ft(44)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(-f)384 b Ft(Use)31 -b(function)f(names)g(only)-8 b(.)630 455 y Fs(-i)384 -b Ft(The)36 b(v)-5 b(ariable)37 b(is)f(to)h(b)s(e)f(treated)h(as)g(an)f -(in)m(teger;)41 b(arithmetic)c(ev)-5 b(aluation)1110 -565 y(\(see)29 b(Section)f(6.5)h([Shell)f(Arithmetic],)i(page)e(76\))h -(is)f(p)s(erformed)e(when)h(the)1110 675 y(v)-5 b(ariable)31 -b(is)g(assigned)f(a)h(v)-5 b(alue.)630 831 y Fs(-r)384 -b Ft(Mak)m(e)25 b Fq(name)5 b Ft(s)23 b(readonly)-8 b(.)39 -b(These)24 b(names)f(cannot)h(then)f(b)s(e)g(assigned)h(v)-5 -b(alues)1110 941 y(b)m(y)30 b(subsequen)m(t)g(assignmen)m(t)h(statemen) -m(ts)h(or)f(unset.)630 1097 y Fs(-t)384 b Ft(Giv)m(e)33 -b(eac)m(h)h Fq(name)j Ft(the)32 b Fs(trace)f Ft(attribute.)46 -b(T)-8 b(raced)32 b(functions)g(inherit)g(the)1110 1207 -y Fs(DEBUG)26 b Ft(and)h Fs(RETURN)f Ft(traps)h(from)g(the)h(calling)h -(shell.)40 b(The)27 b(trace)i(attribute)1110 1316 y(has)h(no)g(sp)s -(ecial)h(meaning)g(for)f(v)-5 b(ariables.)630 1473 y -Fs(-x)384 b Ft(Mark)30 b(eac)m(h)h Fq(name)k Ft(for)29 +b(Reference)g(Man)m(ual)630 299 y(`)p Fs(-f)p Ft('.)40 +b(The)28 b(follo)m(wing)i(options)f(can)f(b)s(e)g(used)g(to)h(restrict) +g(output)f(to)h(v)-5 b(ariables)30 b(with)e(the)630 408 +y(sp)s(eci\014ed)i(attributes)h(or)f(to)h(giv)m(e)h(v)-5 +b(ariables)31 b(attributes:)630 569 y Fs(-a)384 b Ft(Eac)m(h)30 +b Fq(name)k Ft(is)29 b(an)g(arra)m(y)h(v)-5 b(ariable)30 +b(\(see)g(Section)g(6.7)g([Arra)m(ys],)h(page)e(78\).)630 +729 y Fs(-f)384 b Ft(Use)31 b(function)f(names)g(only)-8 +b(.)630 889 y Fs(-i)384 b Ft(The)36 b(v)-5 b(ariable)37 +b(is)f(to)h(b)s(e)f(treated)h(as)g(an)f(in)m(teger;)41 +b(arithmetic)c(ev)-5 b(aluation)1110 999 y(\(see)29 b(Section)f(6.5)h +([Shell)f(Arithmetic],)i(page)e(76\))h(is)f(p)s(erformed)e(when)h(the) +1110 1108 y(v)-5 b(ariable)31 b(is)g(assigned)f(a)h(v)-5 +b(alue.)630 1268 y Fs(-r)384 b Ft(Mak)m(e)25 b Fq(name)5 +b Ft(s)23 b(readonly)-8 b(.)39 b(These)24 b(names)f(cannot)h(then)f(b)s +(e)g(assigned)h(v)-5 b(alues)1110 1378 y(b)m(y)30 b(subsequen)m(t)g +(assignmen)m(t)h(statemen)m(ts)h(or)f(unset.)630 1538 +y Fs(-t)384 b Ft(Giv)m(e)33 b(eac)m(h)h Fq(name)j Ft(the)32 +b Fs(trace)f Ft(attribute.)46 b(T)-8 b(raced)32 b(functions)g(inherit)g +(the)1110 1648 y Fs(DEBUG)26 b Ft(and)h Fs(RETURN)f Ft(traps)h(from)g +(the)h(calling)h(shell.)40 b(The)27 b(trace)i(attribute)1110 +1757 y(has)h(no)g(sp)s(ecial)h(meaning)g(for)f(v)-5 b(ariables.)630 +1917 y Fs(-x)384 b Ft(Mark)30 b(eac)m(h)h Fq(name)k Ft(for)29 b(exp)s(ort)h(to)g(subsequen)m(t)f(commands)h(via)g(the)g(en)m(vi-)1110 -1583 y(ronmen)m(t.)630 1739 y(Using)e(`)p Fs(+)p Ft(')h(instead)f(of)g +2027 y(ronmen)m(t.)630 2187 y(Using)e(`)p Fs(+)p Ft(')h(instead)f(of)g (`)p Fs(-)p Ft(')g(turns)f(o\013)i(the)f(attribute)h(instead,)g(with)f -(the)g(exceptions)h(that)630 1849 y(`)p Fs(+a)p Ft(')h(ma)m(y)h(not)f +(the)g(exceptions)h(that)630 2297 y(`)p Fs(+a)p Ft(')h(ma)m(y)h(not)f (b)s(e)f(used)g(to)i(destro)m(y)g(an)f(arra)m(y)g(v)-5 b(ariable)31 b(and)f(`)p Fs(+r)p Ft(')g(will)g(not)g(remo)m(v)m(e)i -(the)630 1958 y(readonly)e(attribute.)41 b(When)30 b(used)f(in)g(a)h +(the)630 2406 y(readonly)e(attribute.)41 b(When)30 b(used)f(in)g(a)h (function,)g Fs(declare)e Ft(mak)m(es)j(eac)m(h)f Fq(name)35 -b Ft(lo)s(cal,)630 2068 y(as)24 b(with)g(the)g Fs(local)e +b Ft(lo)s(cal,)630 2516 y(as)24 b(with)g(the)g Fs(local)e Ft(command.)39 b(If)23 b(a)i(v)-5 b(ariable)24 b(name)g(is)g(follo)m(w) m(ed)i(b)m(y)e(=)p Fq(v)-5 b(alue)p Ft(,)25 b(the)f(v)-5 -b(alue)630 2178 y(of)31 b(the)f(v)-5 b(ariable)31 b(is)g(set)g(to)g -Fq(v)-5 b(alue)p Ft(.)630 2311 y(The)35 b(return)f(status)i(is)g(zero)g +b(alue)630 2626 y(of)31 b(the)f(v)-5 b(ariable)31 b(is)g(set)g(to)g +Fq(v)-5 b(alue)p Ft(.)630 2760 y(The)35 b(return)f(status)i(is)g(zero)g (unless)f(an)g(in)m(v)-5 b(alid)36 b(option)g(is)g(encoun)m(tered,)h -(an)f(attempt)630 2420 y(is)c(made)g(to)g(de\014ne)f(a)h(function)g +(an)f(attempt)630 2870 y(is)c(made)g(to)g(de\014ne)f(a)h(function)g (using)f(`)p Fs(-f)f(foo=bar)p Ft(',)h(an)h(attempt)g(is)g(made)g(to)h -(assign)630 2530 y(a)42 b(v)-5 b(alue)43 b(to)g(a)f(readonly)g(v)-5 +(assign)630 2980 y(a)42 b(v)-5 b(alue)43 b(to)g(a)f(readonly)g(v)-5 b(ariable,)47 b(an)42 b(attempt)h(is)f(made)g(to)h(assign)f(a)h(v)-5 -b(alue)42 b(to)h(an)630 2639 y(arra)m(y)30 b(v)-5 b(ariable)30 +b(alue)42 b(to)h(an)630 3089 y(arra)m(y)30 b(v)-5 b(ariable)30 b(without)g(using)e(the)i(comp)s(ound)e(assignmen)m(t)i(syn)m(tax)g -(\(see)h(Section)f(6.7)630 2749 y([Arra)m(ys],)47 b(page)c(78\),)48 +(\(see)h(Section)f(6.7)630 3199 y([Arra)m(ys],)47 b(page)c(78\),)48 b(one)43 b(of)g(the)g Fq(names)k Ft(is)c(not)g(a)g(v)-5 b(alid)43 b(shell)g(v)-5 b(ariable)44 b(name,)i(an)630 -2859 y(attempt)28 b(is)f(made)h(to)f(turn)f(o\013)i(readonly)f(status)g +3308 y(attempt)28 b(is)f(made)h(to)f(turn)f(o\013)i(readonly)f(status)g (for)g(a)h(readonly)f(v)-5 b(ariable,)29 b(an)e(attempt)630 -2968 y(is)h(made)h(to)g(turn)e(o\013)i(arra)m(y)f(status)h(for)f(an)g +3418 y(is)h(made)h(to)g(turn)e(o\013)i(arra)m(y)f(status)h(for)f(an)g (arra)m(y)h(v)-5 b(ariable,)30 b(or)e(an)g(attempt)i(is)e(made)g(to)630 -3078 y(displa)m(y)j(a)f(non-existen)m(t)i(function)e(with)g(`)p -Fs(-f)p Ft('.)150 3234 y Fs(echo)870 3367 y(echo)47 b([-neE])f([)p -Fj(arg)57 b Fs(...)o(])630 3500 y Ft(Output)31 b(the)i +3528 y(displa)m(y)j(a)f(non-existen)m(t)i(function)e(with)g(`)p +Fs(-f)p Ft('.)150 3688 y Fs(echo)870 3823 y(echo)47 b([-neE])f([)p +Fj(arg)57 b Fs(...)o(])630 3957 y Ft(Output)31 b(the)i Fq(arg)8 b Ft(s,)33 b(separated)g(b)m(y)g(spaces,)g(terminated)g(with)f -(a)h(newline.)47 b(The)32 b(return)630 3610 y(status)40 +(a)h(newline.)47 b(The)32 b(return)630 4067 y(status)40 b(is)g(alw)m(a)m(ys)h(0.)69 b(If)39 b(`)p Fs(-n)p Ft(')h(is)f(sp)s (eci\014ed,)j(the)e(trailing)h(newline)e(is)h(suppressed.)66 -b(If)630 3720 y(the)29 b(`)p Fs(-e)p Ft(')g(option)g(is)h(giv)m(en,)g +b(If)630 4177 y(the)29 b(`)p Fs(-e)p Ft(')g(option)g(is)h(giv)m(en,)g (in)m(terpretation)g(of)g(the)f(follo)m(wing)h(bac)m(kslash-escap)s(ed) -g(c)m(har-)630 3829 y(acters)38 b(is)f(enabled.)60 b(The)36 +g(c)m(har-)630 4286 y(acters)38 b(is)f(enabled.)60 b(The)36 b(`)p Fs(-E)p Ft(')h(option)g(disables)g(the)g(in)m(terpretation)h(of)f -(these)g(escap)s(e)630 3939 y(c)m(haracters,)h(ev)m(en)d(on)g(systems)g +(these)g(escap)s(e)630 4396 y(c)m(haracters,)h(ev)m(en)d(on)g(systems)g (where)f(they)h(are)g(in)m(terpreted)h(b)m(y)e(default.)55 -b(The)34 b Fs(xpg_)630 4048 y(echo)d Ft(shell)h(option)h(ma)m(y)g(b)s +b(The)34 b Fs(xpg_)630 4505 y(echo)d Ft(shell)h(option)h(ma)m(y)g(b)s (e)e(used)h(to)h(dynamically)g(determine)f(whether)f(or)i(not)f -Fs(echo)630 4158 y Ft(expands)39 b(these)i(escap)s(e)g(c)m(haracters)g +Fs(echo)630 4615 y Ft(expands)39 b(these)i(escap)s(e)g(c)m(haracters)g (b)m(y)g(default.)70 b Fs(echo)39 b Ft(do)s(es)h(not)g(in)m(terpret)h -(`)p Fs(--)p Ft(')f(to)630 4268 y(mean)30 b(the)h(end)f(of)g(options.) -630 4401 y Fs(echo)f Ft(in)m(terprets)i(the)f(follo)m(wing)i(escap)s(e) -f(sequences:)630 4557 y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630 -4714 y Fs(\\b)384 b Ft(bac)m(kspace)630 4870 y Fs(\\c)g -Ft(suppress)28 b(trailing)k(newline)630 5027 y Fs(\\e)384 -b Ft(escap)s(e)630 5183 y Fs(\\f)g Ft(form)30 b(feed)630 -5340 y Fs(\\n)384 b Ft(new)30 b(line)p eop end +(`)p Fs(--)p Ft(')f(to)630 4725 y(mean)30 b(the)h(end)f(of)g(options.) +630 4859 y Fs(echo)f Ft(in)m(terprets)i(the)f(follo)m(wing)i(escap)s(e) +f(sequences:)630 5020 y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630 +5180 y Fs(\\b)384 b Ft(bac)m(kspace)630 5340 y Fs(\\c)g +Ft(suppress)28 b(trailing)k(newline)p eop end %%Page: 45 51 TeXDict begin 45 50 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(45)630 299 y Fs(\\r)384 -b Ft(carriage)32 b(return)630 459 y Fs(\\t)384 b Ft(horizon)m(tal)32 -b(tab)630 619 y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630 -779 y Fs(\\\\)384 b Ft(bac)m(kslash)630 940 y Fs(\\0)p +b(Shell)30 b(Builtin)h(Commands)2069 b(45)630 299 y Fs(\\e)384 +b Ft(escap)s(e)630 462 y Fs(\\f)g Ft(form)30 b(feed)630 +624 y Fs(\\n)384 b Ft(new)30 b(line)630 787 y Fs(\\r)384 +b Ft(carriage)32 b(return)630 950 y Fs(\\t)384 b Ft(horizon)m(tal)32 +b(tab)630 1112 y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630 +1275 y Fs(\\\\)384 b Ft(bac)m(kslash)630 1438 y Fs(\\0)p Fj(nnn)240 b Ft(the)32 b(eigh)m(t-bit)i(c)m(haracter)g(whose)e(v)-5 b(alue)33 b(is)f(the)g(o)s(ctal)i(v)-5 b(alue)32 b Fq(nnn)f -Ft(\(zero)i(to)1110 1049 y(three)e(o)s(ctal)g(digits\))630 -1209 y Fs(\\x)p Fj(HH)288 b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g +Ft(\(zero)i(to)1110 1548 y(three)e(o)s(ctal)g(digits\))630 +1710 y Fs(\\x)p Fj(HH)288 b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g (whose)e(v)-5 b(alue)39 b(is)h(the)f(hexadecimal)i(v)-5 -b(alue)40 b Fq(HH)1110 1319 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e -(digits\))150 1479 y Fs(enable)870 1614 y(enable)46 b([-a])h([-dnps])f +b(alue)40 b Fq(HH)1110 1820 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e +(digits\))150 1983 y Fs(enable)870 2119 y(enable)46 b([-a])h([-dnps])f ([-f)g Fj(filename)11 b Fs(])45 b([)p Fj(name)57 b Fs(...)o(])630 -1749 y Ft(Enable)36 b(and)f(disable)h(builtin)g(shell)g(commands.)56 +2255 y Ft(Enable)36 b(and)f(disable)h(builtin)g(shell)g(commands.)56 b(Disabling)37 b(a)g(builtin)e(allo)m(ws)i(a)f(disk)630 -1858 y(command)e(whic)m(h)g(has)g(the)g(same)h(name)f(as)h(a)f(shell)h -(builtin)e(to)i(b)s(e)f(executed)h(without)630 1968 y(sp)s(ecifying)27 +2364 y(command)e(whic)m(h)g(has)g(the)g(same)h(name)f(as)h(a)f(shell)h +(builtin)e(to)i(b)s(e)f(executed)h(without)630 2474 y(sp)s(ecifying)27 b(a)g(full)g(pathname,)g(ev)m(en)h(though)f(the)g(shell)g(normally)g -(searc)m(hes)h(for)f(builtins)630 2078 y(b)s(efore)32 +(searc)m(hes)h(for)f(builtins)630 2584 y(b)s(efore)32 b(disk)f(commands.)46 b(If)31 b(`)p Fs(-n)p Ft(')h(is)g(used,)g(the)g Fq(name)5 b Ft(s)32 b(b)s(ecome)h(disabled.)45 b(Otherwise)630 -2187 y Fq(name)5 b Ft(s)44 b(are)h(enabled.)82 b(F)-8 +2693 y Fq(name)5 b Ft(s)44 b(are)h(enabled.)82 b(F)-8 b(or)45 b(example,)k(to)c(use)f(the)g Fs(test)f Ft(binary)h(found)f -(via)h Fs($PATH)630 2297 y Ft(instead)31 b(of)f(the)h(shell)f(builtin)g +(via)h Fs($PATH)630 2803 y Ft(instead)31 b(of)f(the)h(shell)f(builtin)g (v)m(ersion,)h(t)m(yp)s(e)g(`)p Fs(enable)e(-n)h(test)p -Ft('.)630 2432 y(If)42 b(the)h(`)p Fs(-p)p Ft(')f(option)h(is)f +Ft('.)630 2939 y(If)42 b(the)h(`)p Fs(-p)p Ft(')f(option)h(is)f (supplied,)j(or)d(no)h Fq(name)k Ft(argumen)m(ts)c(app)s(ear,)i(a)e -(list)g(of)g(shell)630 2541 y(builtins)37 b(is)h(prin)m(ted.)63 +(list)g(of)g(shell)630 3049 y(builtins)37 b(is)h(prin)m(ted.)63 b(With)38 b(no)f(other)h(argumen)m(ts,)j(the)d(list)g(consists)g(of)g -(all)h(enabled)630 2651 y(shell)33 b(builtins.)46 b(The)32 +(all)h(enabled)630 3158 y(shell)33 b(builtins.)46 b(The)32 b(`)p Fs(-a)p Ft(')h(option)g(means)f(to)i(list)f(eac)m(h)h(builtin)e -(with)g(an)g(indication)i(of)630 2760 y(whether)c(or)g(not)h(it)g(is)f -(enabled.)630 2895 y(The)40 b(`)p Fs(-f)p Ft(')g(option)g(means)g(to)h +(with)g(an)g(indication)i(of)630 3268 y(whether)c(or)g(not)h(it)g(is)f +(enabled.)630 3404 y(The)40 b(`)p Fs(-f)p Ft(')g(option)g(means)g(to)h (load)g(the)f(new)f(builtin)h(command)g Fq(name)45 b -Ft(from)40 b(shared)630 3005 y(ob)5 b(ject)27 b Fq(\014lename)p +Ft(from)40 b(shared)630 3513 y(ob)5 b(ject)27 b Fq(\014lename)p Ft(,)g(on)f(systems)g(that)h(supp)s(ort)d(dynamic)i(loading.)40 -b(The)26 b(`)p Fs(-d)p Ft(')g(option)h(will)630 3114 +b(The)26 b(`)p Fs(-d)p Ft(')g(option)h(will)630 3623 y(delete)32 b(a)e(builtin)g(loaded)h(with)f(`)p Fs(-f)p -Ft('.)630 3249 y(If)h(there)g(are)g(no)g(options,)h(a)f(list)h(of)f +Ft('.)630 3759 y(If)h(there)g(are)g(no)g(options,)h(a)f(list)h(of)f (the)g(shell)g(builtins)g(is)g(displa)m(y)m(ed.)43 b(The)31 -b(`)p Fs(-s)p Ft(')f(option)630 3359 y(restricts)f Fs(enable)e +b(`)p Fs(-s)p Ft(')f(option)630 3869 y(restricts)f Fs(enable)e Ft(to)i(the)f Fl(posix)g Ft(sp)s(ecial)h(builtins.)40 b(If)27 b(`)p Fs(-s)p Ft(')i(is)f(used)g(with)g(`)p Fs(-f)p -Ft(',)h(the)f(new)630 3469 y(builtin)i(b)s(ecomes)h(a)f(sp)s(ecial)h +Ft(',)h(the)f(new)630 3978 y(builtin)i(b)s(ecomes)h(a)f(sp)s(ecial)h (builtin)f(\(see)i(Section)f(4.4)g([Sp)s(ecial)g(Builtins],)g(page)g -(57\).)630 3603 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i +(58\).)630 4115 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i Fq(name)k Ft(is)26 b(not)g(a)h(shell)f(builtin)g(or)g(there)g(is)g(an)g -(error)630 3713 y(loading)31 b(a)g(new)f(builtin)g(from)g(a)g(shared)g -(ob)5 b(ject.)150 3873 y Fs(help)870 4008 y(help)47 b([-s])f([)p -Fj(pattern)11 b Fs(])630 4143 y Ft(Displa)m(y)40 b(helpful)e +(error)630 4224 y(loading)31 b(a)g(new)f(builtin)g(from)g(a)g(shared)g +(ob)5 b(ject.)150 4387 y Fs(help)870 4523 y(help)47 b([-dms])f([)p +Fj(pattern)11 b Fs(])630 4659 y Ft(Displa)m(y)40 b(helpful)e (information)h(ab)s(out)g(builtin)f(commands.)66 b(If)38 -b Fq(pattern)h Ft(is)g(sp)s(eci\014ed,)630 4253 y Fs(help)28 +b Fq(pattern)h Ft(is)g(sp)s(eci\014ed,)630 4769 y Fs(help)28 b Ft(giv)m(es)i(detailed)g(help)e(on)h(all)h(commands)e(matc)m(hing)i -Fq(pattern)p Ft(,)g(otherwise)f(a)g(list)h(of)630 4362 -y(the)36 b(builtins)f(is)h(prin)m(ted.)56 b(The)35 b(`)p -Fs(-s)p Ft(')h(option)g(restricts)g(the)g(information)g(displa)m(y)m -(ed)g(to)630 4472 y(a)c(short)g(usage)h(synopsis.)44 -b(The)32 b(return)f(status)h(is)g(zero)h(unless)e(no)h(command)g(matc)m -(hes)630 4581 y Fq(pattern)p Ft(.)150 4741 y Fs(let)870 -4876 y(let)47 b Fj(expression)55 b Fs([)p Fj(expression)11 -b Fs(])630 5011 y Ft(The)41 b Fs(let)g Ft(builtin)g(allo)m(ws)i -(arithmetic)f(to)h(b)s(e)d(p)s(erformed)g(on)i(shell)g(v)-5 -b(ariables.)74 b(Eac)m(h)630 5121 y Fq(expression)31 +Fq(pattern)p Ft(,)g(otherwise)f(a)g(list)h(of)630 4878 +y(the)h(builtins)e(is)i(prin)m(ted.)630 5015 y(Options,)f(if)h +(supplied,)e(ha)m(v)m(e)i(the)g(follo)m(wing)h(meanings:)630 +5177 y Fs(-d)384 b Ft(Displa)m(y)32 b(a)e(short)g(description)h(of)f +(eac)m(h)i Fq(pattern)630 5340 y Fs(-m)384 b Ft(Displa)m(y)32 +b(the)e(description)g(of)h(eac)m(h)h Fq(pattern)e Ft(in)g(a)h +(manpage-lik)m(e)h(format)p eop end +%%Page: 46 52 +TeXDict begin 46 51 bop 150 -116 a Ft(46)2572 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y Fs(-s)384 b Ft(Displa)m(y)32 +b(only)e(a)h(short)f(usage)h(synopsis)e(for)i(eac)m(h)g +Fq(pattern)630 455 y Ft(The)f(return)f(status)i(is)f(zero)h(unless)f +(no)g(command)h(matc)m(hes)g Fq(pattern)p Ft(.)150 610 +y Fs(let)870 743 y(let)47 b Fj(expression)55 b Fs([)p +Fj(expression)11 b Fs(])630 876 y Ft(The)41 b Fs(let)g +Ft(builtin)g(allo)m(ws)i(arithmetic)f(to)h(b)s(e)d(p)s(erformed)g(on)i +(shell)g(v)-5 b(ariables.)74 b(Eac)m(h)630 985 y Fq(expression)31 b Ft(is)g(ev)-5 b(aluated)32 b(according)f(to)h(the)f(rules)g(giv)m(en) -h(b)s(elo)m(w)f(in)f(Section)i(6.5)g([Shell)630 5230 +h(b)s(elo)m(w)f(in)f(Section)i(6.5)g([Shell)630 1095 y(Arithmetic],)51 b(page)46 b(76.)87 b(If)45 b(the)g(last)h Fq(expression)g Ft(ev)-5 b(aluates)47 b(to)f(0,)k Fs(let)44 -b Ft(returns)g(1;)630 5340 y(otherwise)31 b(0)g(is)f(returned.)p -eop end -%%Page: 46 52 -TeXDict begin 46 51 bop 150 -116 a Ft(46)2572 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fs(local)870 436 y(local)46 -b([)p Fj(option)11 b Fs(])45 b Fj(name)11 b Fs([=)p Fj(value)g -Fs(])44 b(...)630 573 y Ft(F)-8 b(or)27 b(eac)m(h)g(argumen)m(t,)g(a)f -(lo)s(cal)h(v)-5 b(ariable)27 b(named)e Fq(name)31 b -Ft(is)26 b(created,)i(and)d(assigned)h Fq(v)-5 b(alue)p -Ft(.)630 682 y(The)37 b Fq(option)h Ft(can)f(b)s(e)g(an)m(y)h(of)f(the) -h(options)g(accepted)g(b)m(y)g Fs(declare)p Ft(.)59 b -Fs(local)36 b Ft(can)i(only)630 792 y(b)s(e)j(used)h(within)f(a)i -(function;)48 b(it)42 b(mak)m(es)h(the)f(v)-5 b(ariable)43 -b Fq(name)48 b Ft(ha)m(v)m(e)43 b(a)f(visible)h(scop)s(e)630 -902 y(restricted)c(to)g(that)g(function)f(and)f(its)i(c)m(hildren.)64 -b(The)38 b(return)f(status)h(is)h(zero)g(unless)630 1011 -y Fs(local)g Ft(is)h(used)g(outside)g(a)h(function,)h(an)e(in)m(v)-5 -b(alid)41 b Fq(name)46 b Ft(is)40 b(supplied,)i(or)e -Fq(name)45 b Ft(is)c(a)630 1121 y(readonly)30 b(v)-5 -b(ariable.)150 1285 y Fs(logout)870 1422 y(logout)46 -b([)p Fj(n)11 b Fs(])630 1559 y Ft(Exit)31 b(a)g(login)g(shell,)g +b Ft(returns)g(1;)630 1204 y(otherwise)31 b(0)g(is)f(returned.)150 +1360 y Fs(local)870 1493 y(local)46 b([)p Fj(option)11 +b Fs(])45 b Fj(name)11 b Fs([=)p Fj(value)g Fs(])44 b(...)630 +1625 y Ft(F)-8 b(or)27 b(eac)m(h)g(argumen)m(t,)g(a)f(lo)s(cal)h(v)-5 +b(ariable)27 b(named)e Fq(name)31 b Ft(is)26 b(created,)i(and)d +(assigned)h Fq(v)-5 b(alue)p Ft(.)630 1735 y(The)37 b +Fq(option)h Ft(can)f(b)s(e)g(an)m(y)h(of)f(the)h(options)g(accepted)g +(b)m(y)g Fs(declare)p Ft(.)59 b Fs(local)36 b Ft(can)i(only)630 +1845 y(b)s(e)j(used)h(within)f(a)i(function;)48 b(it)42 +b(mak)m(es)h(the)f(v)-5 b(ariable)43 b Fq(name)48 b Ft(ha)m(v)m(e)43 +b(a)f(visible)h(scop)s(e)630 1954 y(restricted)c(to)g(that)g(function)f +(and)f(its)i(c)m(hildren.)64 b(The)38 b(return)f(status)h(is)h(zero)g +(unless)630 2064 y Fs(local)g Ft(is)h(used)g(outside)g(a)h(function,)h +(an)e(in)m(v)-5 b(alid)41 b Fq(name)46 b Ft(is)40 b(supplied,)i(or)e +Fq(name)45 b Ft(is)c(a)630 2173 y(readonly)30 b(v)-5 +b(ariable.)150 2329 y Fs(logout)870 2462 y(logout)46 +b([)p Fj(n)11 b Fs(])630 2594 y Ft(Exit)31 b(a)g(login)g(shell,)g (returning)e(a)i(status)g(of)f Fq(n)g Ft(to)h(the)g(shell's)f(paren)m -(t.)150 1724 y Fs(printf)870 1861 y(printf)46 b([-v)h -Fj(var)11 b Fs(])46 b Fj(format)57 b Fs([)p Fj(arguments)11 -b Fs(])630 1998 y Ft(W)-8 b(rite)27 b(the)g(formatted)f +(t.)150 2750 y Fs(mapfile)870 2883 y(mapfile)46 b([-n)h +Fj(count)11 b Fs(])45 b([-O)i Fj(origin)11 b Fs(])46 +b([-s)g Fj(count)11 b Fs(])46 b([-t])h([-u)g Fj(fd)11 +b Fs(])46 b([)870 2992 y(-C)h Fj(callback)11 b Fs(])45 +b([-c)i Fj(quantum)11 b Fs(])45 b([)p Fj(array)11 b Fs(])630 +3125 y Ft(Read)35 b(lines)h(from)f(the)g(standard)g(input)f(in)m(to)i +(arra)m(y)g(v)-5 b(ariable)36 b Fq(arra)m(y)p Ft(,)h(or)f(from)e +(\014le)i(de-)630 3235 y(scriptor)f Fq(fd)j Ft(if)d(the)h(`)p +Fs(-u)p Ft(')f(option)h(is)f(supplied.)54 b(The)35 b(v)-5 +b(ariable)36 b Fs(MAPFILE)d Ft(is)i(the)h(default)630 +3344 y Fq(arra)m(y)p Ft(.)41 b(Options,)30 b(if)h(supplied,)e(ha)m(v)m +(e)j(the)e(follo)m(wing)i(meanings:)630 3500 y Fs(-n)384 +b Ft(Cop)m(y)30 b(at)h(most)g Fq(coun)m(t)i Ft(lines.)41 +b(If)30 b Fq(coun)m(t)j Ft(is)d(0,)h(all)h(lines)e(are)h(copied.)630 +3656 y Fs(-O)384 b Ft(Begin)31 b(assigning)g(to)g Fq(arra)m(y)39 +b Ft(at)31 b(index)f Fq(origin)p Ft(.)41 b(The)30 b(default)h(index)f +(is)g(0.)630 3811 y Fs(-s)384 b Ft(Discard)31 b(the)f(\014rst)g +Fq(coun)m(t)j Ft(lines)e(read.)630 3967 y Fs(-t)384 b +Ft(Remo)m(v)m(e)32 b(a)f(trailing)g(line)g(from)f(eac)m(h)i(line)e +(read.)630 4123 y Fs(-u)384 b Ft(Read)31 b(lines)f(from)g(\014le)h +(descriptor)f Fq(fd)j Ft(instead)e(of)f(the)h(standard)e(input.)630 +4279 y Fs(-C)384 b Ft(Ev)-5 b(aluate)43 b Fq(callbac)m(k)49 +b Ft(eac)m(h)42 b(time)g Fq(quan)m(tum)p Ft(P)f(lines)h(are)f(read.)74 +b(The)41 b(`)p Fs(-c)p Ft(')1110 4388 y(option)31 b(sp)s(eci\014es)f +Fq(quan)m(tum)p Ft(.)630 4544 y Fs(-c)384 b Ft(Sp)s(ecify)30 +b(the)g(n)m(um)m(b)s(er)f(of)i(lines)f(read)h(b)s(et)m(w)m(een)g(eac)m +(h)g(call)h(to)f Fq(callbac)m(k)p Ft(.)630 4700 y(If)f(`)p +Fs(-C)p Ft(')g(is)h(sp)s(eci\014ed)e(without)i(`)p Fs(-c)p +Ft(',)f(the)h(default)f(quan)m(tum)g(is)h(5000.)630 4832 +y(If)25 b(not)g(supplied)f(with)h(an)g(explicit)i(origin,)g +Fs(mapfile)c Ft(will)j(clear)g Fq(arra)m(y)34 b Ft(b)s(efore)24 +b(assigning)630 4942 y(to)31 b(it.)630 5075 y Fs(mapfile)41 +b Ft(returns)g(successfully)i(unless)e(an)i(in)m(v)-5 +b(alid)43 b(option)g(or)g(option)g(argumen)m(t)g(is)630 +5184 y(supplied,)29 b(or)i Fq(arra)m(y)38 b Ft(is)31 +b(in)m(v)-5 b(alid)31 b(or)f(unassignable.)150 5340 y +Fs(printf)p eop end +%%Page: 47 53 +TeXDict begin 47 52 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(47)870 299 y Fs(printf)46 +b([-v)h Fj(var)11 b Fs(])46 b Fj(format)57 b Fs([)p Fj(arguments)11 +b Fs(])630 445 y Ft(W)-8 b(rite)27 b(the)g(formatted)f Fq(argumen)m(ts)k Ft(to)d(the)f(standard)f(output)h(under)e(the)i(con)m -(trol)i(of)e(the)630 2107 y Fq(format)p Ft(.)41 b(The)28 +(trol)i(of)e(the)630 555 y Fq(format)p Ft(.)41 b(The)28 b Fq(format)j Ft(is)e(a)g(c)m(haracter)i(string)d(whic)m(h)h(con)m (tains)h(three)f(t)m(yp)s(es)g(of)g(ob)5 b(jects:)630 -2217 y(plain)28 b(c)m(haracters,)j(whic)m(h)d(are)h(simply)f(copied)h +664 y(plain)28 b(c)m(haracters,)j(whic)m(h)d(are)h(simply)f(copied)h (to)h(standard)d(output,)i(c)m(haracter)h(escap)s(e)630 -2326 y(sequences,)g(whic)m(h)f(are)g(con)m(v)m(erted)i(and)d(copied)i -(to)f(the)h(standard)e(output,)h(and)g(format)630 2436 +774 y(sequences,)g(whic)m(h)f(are)g(con)m(v)m(erted)i(and)d(copied)i +(to)f(the)h(standard)e(output,)h(and)g(format)630 883 y(sp)s(eci\014cations,)39 b(eac)m(h)e(of)g(whic)m(h)f(causes)g(prin)m (ting)g(of)h(the)f(next)h(successiv)m(e)g Fq(argumen)m(t)p -Ft(.)630 2545 y(In)31 b(addition)h(to)h(the)e(standard)g +Ft(.)630 993 y(In)31 b(addition)h(to)h(the)e(standard)g Fs(printf\(1\))f Ft(formats,)i(`)p Fs(\045b)p Ft(')g(causes)g -Fs(printf)e Ft(to)j(expand)630 2655 y(bac)m(kslash)39 +Fs(printf)e Ft(to)j(expand)630 1103 y(bac)m(kslash)39 b(escap)s(e)g(sequences)f(in)h(the)f(corresp)s(onding)f Fq(argumen)m(t)p Ft(,)k(\(except)f(that)f(`)p Fs(\\c)p -Ft(')630 2765 y(terminates)44 b(output,)j(bac)m(kslashes)d(in)f(`)p +Ft(')630 1212 y(terminates)44 b(output,)j(bac)m(kslashes)d(in)f(`)p Fs(\\')p Ft(',)k(`)p Fs(\\")p Ft(',)g(and)c(`)p Fs(\\?)p -Ft(')g(are)h(not)g(remo)m(v)m(ed,)k(and)630 2874 y(o)s(ctal)25 +Ft(')g(are)h(not)g(remo)m(v)m(ed,)k(and)630 1322 y(o)s(ctal)25 b(escap)s(es)f(b)s(eginning)f(with)g(`)p Fs(\\0)p Ft(')h(ma)m(y)g(con)m (tain)h(up)e(to)h(four)f(digits\),)j(and)d(`)p Fs(\045q)p -Ft(')h(causes)630 2984 y Fs(printf)31 b Ft(to)i(output)f(the)h(corresp) +Ft(')h(causes)630 1431 y Fs(printf)31 b Ft(to)i(output)f(the)h(corresp) s(onding)f Fq(argumen)m(t)j Ft(in)d(a)h(format)g(that)g(can)g(b)s(e)f -(reused)630 3093 y(as)f(shell)f(input.)630 3230 y(The)24 +(reused)630 1541 y(as)f(shell)f(input.)630 1687 y(The)24 b(`)p Fs(-v)p Ft(')h(option)g(causes)g(the)g(output)g(to)g(b)s(e)f (assigned)h(to)h(the)f(v)-5 b(ariable)25 b Fq(v)-5 b(ar)32 -b Ft(rather)24 b(than)630 3340 y(b)s(eing)30 b(prin)m(ted)g(to)h(the)g -(standard)e(output.)630 3477 y(The)i Fq(format)i Ft(is)f(reused)e(as)i +b Ft(rather)24 b(than)630 1797 y(b)s(eing)30 b(prin)m(ted)g(to)h(the)g +(standard)e(output.)630 1943 y(The)i Fq(format)i Ft(is)f(reused)e(as)i (necessary)f(to)i(consume)e(all)h(of)f(the)h Fq(argumen)m(ts)p -Ft(.)44 b(If)30 b(the)i Fq(for-)630 3587 y(mat)c Ft(requires)e(more)g +Ft(.)44 b(If)30 b(the)i Fq(for-)630 2052 y(mat)c Ft(requires)e(more)g Fq(argumen)m(ts)k Ft(than)25 b(are)i(supplied,)e(the)h(extra)h(format)f -(sp)s(eci\014cations)630 3696 y(b)s(eha)m(v)m(e)j(as)g(if)f(a)h(zero)g +(sp)s(eci\014cations)630 2162 y(b)s(eha)m(v)m(e)j(as)g(if)f(a)h(zero)g (v)-5 b(alue)29 b(or)g(n)m(ull)f(string,)h(as)g(appropriate,)g(had)f(b) -s(een)g(supplied.)38 b(The)630 3806 y(return)29 b(v)-5 +s(een)g(supplied.)38 b(The)630 2271 y(return)29 b(v)-5 b(alue)31 b(is)g(zero)g(on)f(success,)h(non-zero)g(on)f(failure.)150 -3970 y Fs(read)870 4107 y(read)47 b([-ers])f([-a)h Fj(aname)11 +2454 y Fs(read)870 2600 y(read)47 b([-ers])f([-a)h Fj(aname)11 b Fs(])45 b([-d)i Fj(delim)11 b Fs(])46 b([-i)h Fj(text)11 b Fs(])46 b([-n)g Fj(nchars)11 b Fs(])46 b([-p)h Fj(prompt)11 -b Fs(])45 b([-t)i Fj(time-)870 4217 y(out)11 b Fs(])46 +b Fs(])45 b([-t)i Fj(time-)870 2710 y(out)11 b Fs(])46 b([-u)h Fj(fd)11 b Fs(])46 b([)p Fj(name)57 b Fs(...])630 -4354 y Ft(One)26 b(line)h(is)g(read)f(from)h(the)f(standard)g(input,)h +2856 y Ft(One)26 b(line)h(is)g(read)f(from)h(the)f(standard)g(input,)h (or)g(from)f(the)h(\014le)f(descriptor)h Fq(fd)i Ft(supplied)630 -4463 y(as)37 b(an)g(argumen)m(t)h(to)f(the)h(`)p Fs(-u)p +2966 y(as)37 b(an)g(argumen)m(t)h(to)f(the)h(`)p Fs(-u)p Ft(')e(option,)k(and)c(the)i(\014rst)e(w)m(ord)g(is)h(assigned)h(to)f -(the)h(\014rst)630 4573 y Fq(name)p Ft(,)29 b(the)f(second)h(w)m(ord)e +(the)h(\014rst)630 3075 y Fq(name)p Ft(,)29 b(the)f(second)h(w)m(ord)e (to)i(the)g(second)f Fq(name)p Ft(,)h(and)e(so)i(on,)g(with)f(lefto)m -(v)m(er)i(w)m(ords)e(and)630 4682 y(their)g(in)m(terv)m(ening)h +(v)m(er)i(w)m(ords)e(and)630 3185 y(their)g(in)m(terv)m(ening)h (separators)g(assigned)f(to)h(the)f(last)h Fq(name)p Ft(.)40 b(If)27 b(there)i(are)f(few)m(er)g(w)m(ords)630 -4792 y(read)44 b(from)f(the)g(input)g(stream)h(than)g(names,)j(the)c -(remaining)h(names)g(are)g(assigned)630 4902 y(empt)m(y)31 +3294 y(read)44 b(from)f(the)g(input)g(stream)h(than)g(names,)j(the)c +(remaining)h(names)g(are)g(assigned)630 3404 y(empt)m(y)31 b(v)-5 b(alues.)41 b(The)30 b(c)m(haracters)i(in)e(the)h(v)-5 b(alue)31 b(of)g(the)f Fs(IFS)g Ft(v)-5 b(ariable)31 -b(are)g(used)f(to)h(split)630 5011 y(the)37 b(line)h(in)m(to)g(w)m +b(are)g(used)f(to)h(split)630 3513 y(the)37 b(line)h(in)m(to)g(w)m (ords.)61 b(The)36 b(bac)m(kslash)i(c)m(haracter)h(`)p Fs(\\)p Ft(')e(ma)m(y)h(b)s(e)f(used)f(to)i(remo)m(v)m(e)h(an)m(y)630 -5121 y(sp)s(ecial)h(meaning)g(for)f(the)g(next)h(c)m(haracter)h(read)e +3623 y(sp)s(ecial)h(meaning)g(for)f(the)g(next)h(c)m(haracter)h(read)e (and)g(for)g(line)h(con)m(tin)m(uation.)69 b(If)39 b(no)630 -5230 y(names)28 b(are)h(supplied,)f(the)g(line)h(read)g(is)f(assigned)h +3733 y(names)28 b(are)h(supplied,)f(the)g(line)h(read)g(is)f(assigned)h (to)g(the)f(v)-5 b(ariable)29 b Fs(REPLY)p Ft(.)39 b(The)28 -b(return)630 5340 y(co)s(de)i(is)f(zero,)i(unless)e(end-of-\014le)h(is) +b(return)630 3842 y(co)s(de)i(is)f(zero,)i(unless)e(end-of-\014le)h(is) f(encoun)m(tered,)h Fs(read)f Ft(times)h(out,)g(or)f(an)h(in)m(v)-5 -b(alid)30 b(\014le)p eop end -%%Page: 47 53 -TeXDict begin 47 52 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(47)630 299 y(descriptor)35 -b(is)h(supplied)e(as)i(the)f(argumen)m(t)h(to)g(`)p Fs(-u)p -Ft('.)56 b(Options,)37 b(if)e(supplied,)h(ha)m(v)m(e)h(the)630 -408 y(follo)m(wing)32 b(meanings:)630 562 y Fs(-a)e Fj(aname)114 -b Ft(The)34 b(w)m(ords)f(are)i(assigned)f(to)h(sequen)m(tial)h(indices) -e(of)g(the)g(arra)m(y)h(v)-5 b(ariable)1110 671 y Fq(aname)p -Ft(,)29 b(starting)h(at)f(0.)40 b(All)29 b(elemen)m(ts)h(are)e(remo)m -(v)m(ed)i(from)d Fq(aname)34 b Ft(b)s(efore)1110 781 -y(the)d(assignmen)m(t.)41 b(Other)30 b Fq(name)36 b Ft(argumen)m(ts)30 -b(are)h(ignored.)630 934 y Fs(-d)f Fj(delim)114 b Ft(The)41 -b(\014rst)h(c)m(haracter)h(of)f Fq(delim)g Ft(is)g(used)g(to)g -(terminate)h(the)f(input)f(line,)1110 1044 y(rather)30 -b(than)g(newline.)630 1198 y Fs(-e)384 b Ft(Readline)28 -b(\(see)h(Chapter)e(8)h([Command)f(Line)g(Editing],)i(page)f(91\))h(is) -f(used)1110 1307 y(to)j(obtain)g(the)g(line.)630 1461 -y Fs(-i)f Fj(text)162 b Ft(If)36 b(Readline)i(is)f(b)s(eing)g(used)f -(to)h(read)g(the)g(line,)j Fq(text)f Ft(is)e(placed)h(in)m(to)g(the) -1110 1570 y(editing)31 b(bu\013er)e(b)s(efore)h(editing)h(b)s(egins.) -630 1724 y Fs(-n)f Fj(nchars)1110 1833 y Fs(read)38 b -Ft(returns)f(after)j(reading)f Fq(nc)m(hars)j Ft(c)m(haracters)e -(rather)f(than)g(w)m(aiting)1110 1943 y(for)30 b(a)h(complete)h(line)e -(of)h(input.)630 2096 y Fs(-p)f Fj(prompt)1110 2206 y -Ft(Displa)m(y)38 b Fq(prompt)p Ft(,)g(without)e(a)h(trailing)h -(newline,)h(b)s(efore)d(attempting)i(to)1110 2315 y(read)f(an)m(y)h -(input.)60 b(The)37 b(prompt)g(is)g(displa)m(y)m(ed)h(only)f(if)g -(input)g(is)g(coming)1110 2425 y(from)30 b(a)h(terminal.)630 -2578 y Fs(-r)384 b Ft(If)21 b(this)h(option)g(is)f(giv)m(en,)k(bac)m -(kslash)d(do)s(es)f(not)h(act)h(as)f(an)f(escap)s(e)h(c)m(haracter.) -1110 2688 y(The)30 b(bac)m(kslash)i(is)f(considered)g(to)h(b)s(e)e -(part)h(of)g(the)g(line.)43 b(In)30 b(particular,)i(a)1110 -2798 y(bac)m(kslash-newline)f(pair)f(ma)m(y)h(not)g(b)s(e)f(used)f(as)i -(a)g(line)f(con)m(tin)m(uation.)630 2951 y Fs(-s)384 +b(alid)30 b(\014le)630 3952 y(descriptor)35 b(is)h(supplied)e(as)i(the) +f(argumen)m(t)h(to)g(`)p Fs(-u)p Ft('.)56 b(Options,)37 +b(if)e(supplied,)h(ha)m(v)m(e)h(the)630 4061 y(follo)m(wing)32 +b(meanings:)630 4244 y Fs(-a)e Fj(aname)114 b Ft(The)34 +b(w)m(ords)f(are)i(assigned)f(to)h(sequen)m(tial)h(indices)e(of)g(the)g +(arra)m(y)h(v)-5 b(ariable)1110 4354 y Fq(aname)p Ft(,)29 +b(starting)h(at)f(0.)40 b(All)29 b(elemen)m(ts)h(are)e(remo)m(v)m(ed)i +(from)d Fq(aname)34 b Ft(b)s(efore)1110 4463 y(the)d(assignmen)m(t.)41 +b(Other)30 b Fq(name)36 b Ft(argumen)m(ts)30 b(are)h(ignored.)630 +4646 y Fs(-d)f Fj(delim)114 b Ft(The)41 b(\014rst)h(c)m(haracter)h(of)f +Fq(delim)g Ft(is)g(used)g(to)g(terminate)h(the)f(input)f(line,)1110 +4755 y(rather)30 b(than)g(newline.)630 4938 y Fs(-e)384 +b Ft(Readline)28 b(\(see)h(Chapter)e(8)h([Command)f(Line)g(Editing],)i +(page)f(91\))h(is)f(used)1110 5048 y(to)j(obtain)g(the)g(line.)630 +5230 y Fs(-i)f Fj(text)162 b Ft(If)36 b(Readline)i(is)f(b)s(eing)g +(used)f(to)h(read)g(the)g(line,)j Fq(text)f Ft(is)e(placed)h(in)m(to)g +(the)1110 5340 y(editing)31 b(bu\013er)e(b)s(efore)h(editing)h(b)s +(egins.)p eop end +%%Page: 48 54 +TeXDict begin 48 53 bop 150 -116 a Ft(48)2572 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y Fs(-n)f Fj(nchars)1110 +408 y Fs(read)38 b Ft(returns)f(after)j(reading)f Fq(nc)m(hars)j +Ft(c)m(haracters)e(rather)f(than)g(w)m(aiting)1110 518 +y(for)30 b(a)h(complete)h(line)e(of)h(input.)630 682 +y Fs(-p)f Fj(prompt)1110 792 y Ft(Displa)m(y)38 b Fq(prompt)p +Ft(,)g(without)e(a)h(trailing)h(newline,)h(b)s(efore)d(attempting)i(to) +1110 902 y(read)f(an)m(y)h(input.)60 b(The)37 b(prompt)g(is)g(displa)m +(y)m(ed)h(only)f(if)g(input)g(is)g(coming)1110 1011 y(from)30 +b(a)h(terminal.)630 1176 y Fs(-r)384 b Ft(If)21 b(this)h(option)g(is)f +(giv)m(en,)k(bac)m(kslash)d(do)s(es)f(not)h(act)h(as)f(an)f(escap)s(e)h +(c)m(haracter.)1110 1285 y(The)30 b(bac)m(kslash)i(is)f(considered)g +(to)h(b)s(e)e(part)h(of)g(the)g(line.)43 b(In)30 b(particular,)i(a)1110 +1395 y(bac)m(kslash-newline)f(pair)f(ma)m(y)h(not)g(b)s(e)f(used)f(as)i +(a)g(line)f(con)m(tin)m(uation.)630 1559 y Fs(-s)384 b Ft(Silen)m(t)28 b(mo)s(de.)40 b(If)27 b(input)f(is)i(coming)g(from)f -(a)h(terminal,)h(c)m(haracters)g(are)f(not)1110 3061 -y(ec)m(ho)s(ed.)630 3214 y Fs(-t)i Fj(timeout)1110 3324 -y Ft(Cause)42 b Fs(read)g Ft(to)h(time)h(out)f(and)f(return)f(failure)i -(if)g(a)g(complete)h(line)f(of)1110 3433 y(input)26 b(is)h(not)h(read)f -(within)f Fq(timeout)k Ft(seconds.)40 b(This)26 b(option)i(has)e(no)h -(e\013ect)1110 3543 y(if)j Fs(read)g Ft(is)g(not)h(reading)f(input)f -(from)h(the)h(terminal)g(or)f(a)h(pip)s(e.)630 3696 y -Fs(-u)f Fj(fd)258 b Ft(Read)31 b(input)e(from)h(\014le)g(descriptor)h -Fq(fd)p Ft(.)150 3850 y Fs(source)870 3981 y(source)46 -b Fj(filename)630 4113 y Ft(A)30 b(synon)m(ym)g(for)g -Fs(.)g Ft(\(see)i(Section)f(4.1)g([Bourne)g(Shell)f(Builtins],)h(page)g -(35\).)150 4266 y Fs(type)870 4398 y(type)47 b([-afptP])e([)p -Fj(name)57 b Fs(...)o(])630 4529 y Ft(F)-8 b(or)42 b(eac)m(h)g -Fq(name)p Ft(,)i(indicate)e(ho)m(w)g(it)f(w)m(ould)g(b)s(e)g(in)m -(terpreted)g(if)g(used)f(as)i(a)f(command)630 4639 y(name.)630 -4770 y(If)d(the)g(`)p Fs(-t)p Ft(')g(option)g(is)g(used,)i -Fs(type)d Ft(prin)m(ts)g(a)i(single)f(w)m(ord)g(whic)m(h)g(is)g(one)g -(of)h(`)p Fs(alias)p Ft(',)630 4880 y(`)p Fs(function)p -Ft(',)32 b(`)p Fs(builtin)p Ft(',)g(`)p Fs(file)p Ft(')g(or)h(`)p -Fs(keyword)p Ft(',)f(if)h Fq(name)38 b Ft(is)33 b(an)f(alias,)j(shell)e -(function,)630 4989 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h -(reserv)m(ed)g(w)m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55 -b(If)34 b(the)h Fq(name)40 b Ft(is)35 b(not)630 5099 -y(found,)29 b(then)h(nothing)h(is)f(prin)m(ted,)g(and)g -Fs(type)f Ft(returns)g(a)i(failure)g(status.)630 5230 -y(If)39 b(the)g(`)p Fs(-p)p Ft(')g(option)h(is)f(used,)i +(a)h(terminal,)h(c)m(haracters)g(are)f(not)1110 1669 +y(ec)m(ho)s(ed.)630 1833 y Fs(-t)i Fj(timeout)1110 1943 +y Ft(Cause)23 b Fs(read)f Ft(to)i(time)f(out)h(and)e(return)g(failure)h +(if)g(a)h(complete)g(line)g(of)f(input)1110 2052 y(is)44 +b(not)f(read)h(within)e Fq(timeout)47 b Ft(seconds.)80 +b Fq(timeout)46 b Ft(ma)m(y)e(b)s(e)f(a)h(decimal)1110 +2162 y(n)m(um)m(b)s(er)26 b(with)h(a)h(fractional)h(p)s(ortion)d(follo) +m(wing)j(the)f(decimal)g(p)s(oin)m(t.)40 b(This)1110 +2271 y(option)31 b(has)f(no)g(e\013ect)i(if)f Fs(read)e +Ft(is)h(not)h(reading)f(input)g(from)g(the)g(terminal)1110 +2381 y(or)g(a)h(pip)s(e.)630 2545 y Fs(-u)f Fj(fd)258 +b Ft(Read)31 b(input)e(from)h(\014le)g(descriptor)h Fq(fd)p +Ft(.)150 2710 y Fs(source)870 2847 y(source)46 b Fj(filename)630 +2984 y Ft(A)30 b(synon)m(ym)g(for)g Fs(.)g Ft(\(see)i(Section)f(4.1)g +([Bourne)g(Shell)f(Builtins],)h(page)g(35\).)150 3148 +y Fs(type)870 3285 y(type)47 b([-afptP])e([)p Fj(name)57 +b Fs(...)o(])630 3422 y Ft(F)-8 b(or)42 b(eac)m(h)g Fq(name)p +Ft(,)i(indicate)e(ho)m(w)g(it)f(w)m(ould)g(b)s(e)g(in)m(terpreted)g(if) +g(used)f(as)i(a)f(command)630 3532 y(name.)630 3669 y(If)d(the)g(`)p +Fs(-t)p Ft(')g(option)g(is)g(used,)i Fs(type)d Ft(prin)m(ts)g(a)i +(single)f(w)m(ord)g(whic)m(h)g(is)g(one)g(of)h(`)p Fs(alias)p +Ft(',)630 3778 y(`)p Fs(function)p Ft(',)32 b(`)p Fs(builtin)p +Ft(',)g(`)p Fs(file)p Ft(')g(or)h(`)p Fs(keyword)p Ft(',)f(if)h +Fq(name)38 b Ft(is)33 b(an)f(alias,)j(shell)e(function,)630 +3888 y(shell)i(builtin,)g(disk)g(\014le,)h(or)e(shell)h(reserv)m(ed)g +(w)m(ord,)h(resp)s(ectiv)m(ely)-8 b(.)55 b(If)34 b(the)h +Fq(name)40 b Ft(is)35 b(not)630 3998 y(found,)29 b(then)h(nothing)h(is) +f(prin)m(ted,)g(and)g Fs(type)f Ft(returns)g(a)i(failure)g(status.)630 +4134 y(If)39 b(the)g(`)p Fs(-p)p Ft(')g(option)h(is)f(used,)i Fs(type)d Ft(either)h(returns)f(the)i(name)f(of)g(the)g(disk)g(\014le)g -(that)630 5340 y(w)m(ould)30 b(b)s(e)g(executed,)h(or)g(nothing)f(if)g +(that)630 4244 y(w)m(ould)30 b(b)s(e)g(executed,)h(or)g(nothing)f(if)g (`)p Fs(-t)p Ft(')h(w)m(ould)f(not)g(return)g(`)p Fs(file)p -Ft('.)p eop end -%%Page: 48 54 -TeXDict begin 48 53 bop 150 -116 a Ft(48)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(The)23 b(`)p Fs(-P)p -Ft(')h(option)g(forces)g(a)g(path)g(searc)m(h)g(for)g(eac)m(h)g -Fq(name)p Ft(,)i(ev)m(en)e(if)g(`)p Fs(-t)p Ft(')g(w)m(ould)f(not)h -(return)630 408 y(`)p Fs(file)p Ft('.)630 542 y(If)34 -b(a)i(command)e(is)h(hashed,)g(`)p Fs(-p)p Ft(')g(and)f(`)p -Fs(-P)p Ft(')h(prin)m(t)f(the)h(hashed)f(v)-5 b(alue,)37 -b(not)e(necessarily)630 651 y(the)c(\014le)f(that)h(app)s(ears)f -(\014rst)f(in)h Fs($PATH)p Ft(.)630 785 y(If)36 b(the)h(`)p -Fs(-a)p Ft(')g(option)g(is)g(used,)g Fs(type)f Ft(returns)f(all)j(of)f -(the)g(places)g(that)g(con)m(tain)h(an)f(exe-)630 894 -y(cutable)d(named)f Fq(\014le)p Ft(.)50 b(This)33 b(includes)g(aliases) -i(and)e(functions,)h(if)f(and)g(only)h(if)f(the)h(`)p -Fs(-p)p Ft(')630 1004 y(option)d(is)f(not)h(also)g(used.)630 -1137 y(If)26 b(the)h(`)p Fs(-f)p Ft(')g(option)g(is)g(used,)g +Ft('.)630 4381 y(The)23 b(`)p Fs(-P)p Ft(')h(option)g(forces)g(a)g +(path)g(searc)m(h)g(for)g(eac)m(h)g Fq(name)p Ft(,)i(ev)m(en)e(if)g(`)p +Fs(-t)p Ft(')g(w)m(ould)f(not)h(return)630 4491 y(`)p +Fs(file)p Ft('.)630 4628 y(If)34 b(a)i(command)e(is)h(hashed,)g(`)p +Fs(-p)p Ft(')g(and)f(`)p Fs(-P)p Ft(')h(prin)m(t)f(the)h(hashed)f(v)-5 +b(alue,)37 b(not)e(necessarily)630 4737 y(the)c(\014le)f(that)h(app)s +(ears)f(\014rst)f(in)h Fs($PATH)p Ft(.)630 4874 y(If)36 +b(the)h(`)p Fs(-a)p Ft(')g(option)g(is)g(used,)g Fs(type)f +Ft(returns)f(all)j(of)f(the)g(places)g(that)g(con)m(tain)h(an)f(exe-) +630 4984 y(cutable)d(named)f Fq(\014le)p Ft(.)50 b(This)33 +b(includes)g(aliases)i(and)e(functions,)h(if)f(and)g(only)h(if)f(the)h +(`)p Fs(-p)p Ft(')630 5093 y(option)d(is)f(not)h(also)g(used.)630 +5230 y(If)26 b(the)h(`)p Fs(-f)p Ft(')g(option)g(is)g(used,)g Fs(type)e Ft(do)s(es)i(not)g(attempt)g(to)h(\014nd)d(shell)i -(functions,)g(as)g(with)630 1247 y(the)k Fs(command)d -Ft(builtin.)630 1380 y(The)35 b(return)g(status)h(is)g(zero)g(if)g(an)m -(y)g(of)g(the)g Fq(names)k Ft(are)c(found,)g(non-zero)g(if)g(none)g -(are)630 1490 y(found.)150 1647 y Fs(typeset)870 1781 -y(typeset)46 b([-afFrxi])f([-p])i([)p Fj(name)11 b Fs([=)p -Fj(value)g Fs(])43 b(...)o(])630 1914 y Ft(The)29 b Fs(typeset)f +(functions,)g(as)g(with)630 5340 y(the)k Fs(command)d +Ft(builtin.)p eop end +%%Page: 49 55 +TeXDict begin 49 54 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y(The)31 +b(return)f(status)h(is)g(zero)h(if)f(all)h(of)f(the)h +Fq(names)i Ft(are)e(found,)e(non-zero)i(if)f(an)m(y)g(are)h(not)630 +408 y(found.)150 569 y Fs(typeset)870 704 y(typeset)46 +b([-afFrxi])f([-p])i([)p Fj(name)11 b Fs([=)p Fj(value)g +Fs(])43 b(...)o(])630 838 y Ft(The)29 b Fs(typeset)f Ft(command)h(is)g(supplied)g(for)g(compatibilit)m(y)j(with)d(the)h -(Korn)e(shell;)j(ho)m(w-)630 2024 y(ev)m(er,)g(it)g(has)f(b)s(een)g +(Korn)e(shell;)j(ho)m(w-)630 948 y(ev)m(er,)g(it)g(has)f(b)s(een)g (deprecated)h(in)f(fa)m(v)m(or)i(of)e(the)h Fs(declare)d -Ft(builtin)i(command.)150 2181 y Fs(ulimit)870 2314 y(ulimit)46 +Ft(builtin)i(command.)150 1108 y Fs(ulimit)870 1243 y(ulimit)46 b([-abcdefilmnpqrstuvxHST])41 b([)p Fj(limit)11 b Fs(])630 -2448 y(ulimit)25 b Ft(pro)m(vides)h(con)m(trol)i(o)m(v)m(er)g(the)f +1378 y(ulimit)25 b Ft(pro)m(vides)h(con)m(trol)i(o)m(v)m(er)g(the)f (resources)f(a)m(v)-5 b(ailable)29 b(to)e(pro)s(cesses)f(started)h(b)m -(y)g(the)630 2557 y(shell,)i(on)f(systems)g(that)h(allo)m(w)h(suc)m(h)e +(y)g(the)630 1487 y(shell,)i(on)f(systems)g(that)h(allo)m(w)h(suc)m(h)e (con)m(trol.)41 b(If)28 b(an)g(option)h(is)f(giv)m(en,)i(it)e(is)h(in)m -(terpreted)630 2667 y(as)i(follo)m(ws:)630 2824 y Fs(-S)384 +(terpreted)630 1597 y(as)i(follo)m(ws:)630 1757 y Fs(-S)384 b Ft(Change)30 b(and)g(rep)s(ort)g(the)g(soft)h(limit)g(asso)s(ciated)h -(with)e(a)h(resource.)630 2981 y Fs(-H)384 b Ft(Change)30 +(with)e(a)h(resource.)630 1917 y Fs(-H)384 b Ft(Change)30 b(and)g(rep)s(ort)g(the)g(hard)g(limit)h(asso)s(ciated)h(with)e(a)h -(resource.)630 3139 y Fs(-a)384 b Ft(All)31 b(curren)m(t)f(limits)h -(are)g(rep)s(orted.)630 3296 y Fs(-b)384 b Ft(The)30 +(resource.)630 2078 y Fs(-a)384 b Ft(All)31 b(curren)m(t)f(limits)h +(are)g(rep)s(orted.)630 2238 y Fs(-b)384 b Ft(The)30 b(maxim)m(um)g(so)s(c)m(k)m(et)i(bu\013er)e(size.)630 -3453 y Fs(-c)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g(core)g(\014les) -f(created.)630 3610 y Fs(-d)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g -(a)g(pro)s(cess's)f(data)h(segmen)m(t.)630 3768 y Fs(-e)384 +2398 y Fs(-c)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g(core)g(\014les) +f(created.)630 2558 y Fs(-d)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g +(a)g(pro)s(cess's)f(data)h(segmen)m(t.)630 2718 y Fs(-e)384 b Ft(The)30 b(maxim)m(um)g(sc)m(heduling)h(priorit)m(y)f(\()p -Fs(")p Ft(nice)p Fs(")p Ft(\).)630 3925 y Fs(-f)384 b +Fs(")p Ft(nice)p Fs(")p Ft(\).)630 2878 y Fs(-f)384 b Ft(The)30 b(maxim)m(um)g(size)h(of)g(\014les)f(written)h(b)m(y)f(the)g -(shell)h(and)f(its)h(c)m(hildren.)630 4082 y Fs(-i)384 +(shell)h(and)f(its)h(c)m(hildren.)630 3039 y Fs(-i)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(p)s(ending)e -(signals.)630 4239 y Fs(-l)384 b Ft(The)30 b(maxim)m(um)g(size)h(that)g +(signals.)630 3199 y Fs(-l)384 b Ft(The)30 b(maxim)m(um)g(size)h(that)g (ma)m(y)g(b)s(e)f(lo)s(c)m(k)m(ed)i(in)m(to)f(memory)-8 -b(.)630 4397 y Fs(-m)384 b Ft(The)30 b(maxim)m(um)g(residen)m(t)h(set)g -(size.)630 4554 y Fs(-n)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er) -f(of)i(op)s(en)e(\014le)i(descriptors.)630 4711 y Fs(-p)384 -b Ft(The)30 b(pip)s(e)f(bu\013er)h(size.)630 4868 y Fs(-q)384 +b(.)630 3359 y Fs(-m)384 b Ft(The)30 b(maxim)m(um)g(residen)m(t)h(set)g +(size.)630 3519 y Fs(-n)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er) +f(of)i(op)s(en)e(\014le)i(descriptors.)630 3679 y Fs(-p)384 +b Ft(The)30 b(pip)s(e)f(bu\013er)h(size.)630 3839 y Fs(-q)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(b)m(ytes)g(in)f -(POSIX)f(message)j(queues.)630 5026 y Fs(-r)384 b Ft(The)30 +(POSIX)f(message)j(queues.)630 4000 y Fs(-r)384 b Ft(The)30 b(maxim)m(um)g(real-time)i(sc)m(heduling)f(priorit)m(y)-8 -b(.)630 5183 y Fs(-s)384 b Ft(The)30 b(maxim)m(um)g(stac)m(k)i(size.) -630 5340 y Fs(-t)384 b Ft(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f(cpu)g -(time)h(in)f(seconds.)p eop end -%%Page: 49 55 -TeXDict begin 49 54 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(49)630 299 y Fs(-u)384 -b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pro)s(cesses)f(a)m(v) --5 b(ailable)33 b(to)e(a)f(single)i(user.)630 464 y Fs(-v)384 +b(.)630 4160 y Fs(-s)384 b Ft(The)30 b(maxim)m(um)g(stac)m(k)i(size.) +630 4320 y Fs(-t)384 b Ft(The)30 b(maxim)m(um)g(amoun)m(t)h(of)f(cpu)g +(time)h(in)f(seconds.)630 4480 y Fs(-u)384 b Ft(The)30 +b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pro)s(cesses)f(a)m(v)-5 +b(ailable)33 b(to)e(a)f(single)i(user.)630 4640 y Fs(-v)384 b Ft(The)29 b(maxim)m(um)h(amoun)m(t)g(of)g(virtual)g(memory)g(a)m(v)-5 -b(ailable)32 b(to)e(the)g(pro)s(cess.)630 629 y Fs(-x)384 +b(ailable)32 b(to)e(the)g(pro)s(cess.)630 4800 y Fs(-x)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(\014le)f(lo)s(c)m -(ks.)630 794 y Fs(-T)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f -(of)i(threads.)630 959 y(If)i Fq(limit)j Ft(is)e(giv)m(en,)h(it)f(is)g +(ks.)630 4961 y Fs(-T)384 b Ft(The)30 b(maxim)m(um)g(n)m(um)m(b)s(er)f +(of)i(threads.)630 5121 y(If)i Fq(limit)j Ft(is)e(giv)m(en,)h(it)f(is)g (the)g(new)f(v)-5 b(alue)34 b(of)f(the)h(sp)s(eci\014ed)f(resource;)i -(the)f(sp)s(ecial)g Fq(limit)630 1069 y Ft(v)-5 b(alues)27 +(the)f(sp)s(ecial)g Fq(limit)630 5230 y Ft(v)-5 b(alues)27 b Fs(hard)p Ft(,)g Fs(soft)p Ft(,)g(and)g Fs(unlimited)d Ft(stand)j(for)g(the)g(curren)m(t)g(hard)f(limit,)j(the)e(curren)m(t) -630 1178 y(soft)38 b(limit,)j(and)d(no)f(limit,)k(resp)s(ectiv)m(ely)-8 -b(.)66 b(A)38 b(hard)f(limit)h(cannot)h(b)s(e)e(increased)i(b)m(y)f(a) -630 1288 y(non-ro)s(ot)f(user)f(once)i(it)g(is)f(set;)k(a)c(soft)g -(limit)h(ma)m(y)g(b)s(e)e(increased)h(up)f(to)i(the)f(v)-5 -b(alue)38 b(of)630 1398 y(the)c(hard)f(limit.)51 b(Otherwise,)35 -b(the)f(curren)m(t)f(v)-5 b(alue)35 b(of)f(the)f(soft)i(limit)f(for)g -(the)g(sp)s(eci\014ed)630 1507 y(resource)27 b(is)h(prin)m(ted,)f -(unless)g(the)g(`)p Fs(-H)p Ft(')g(option)h(is)f(supplied.)38 -b(When)27 b(setting)h(new)f(limits,)630 1617 y(if)40 -b(neither)f(`)p Fs(-H)p Ft(')h(nor)f(`)p Fs(-S)p Ft(')h(is)f(supplied,) -i(b)s(oth)e(the)h(hard)f(and)g(soft)h(limits)g(are)g(set.)69 -b(If)630 1726 y(no)35 b(option)h(is)f(giv)m(en,)j(then)d(`)p -Fs(-f)p Ft(')g(is)g(assumed.)55 b(V)-8 b(alues)36 b(are)f(in)g(1024-b)m -(yte)j(incremen)m(ts,)630 1836 y(except)d(for)f(`)p Fs(-t)p -Ft(',)g(whic)m(h)g(is)g(in)g(seconds,)h(`)p Fs(-p)p Ft(',)g(whic)m(h)e -(is)h(in)g(units)f(of)h(512-b)m(yte)i(blo)s(c)m(ks,)630 -1946 y(and)30 b(`)p Fs(-n)p Ft(')g(and)g(`)p Fs(-u)p +630 5340 y(soft)38 b(limit,)j(and)d(no)f(limit,)k(resp)s(ectiv)m(ely)-8 +b(.)66 b(A)38 b(hard)f(limit)h(cannot)h(b)s(e)e(increased)i(b)m(y)f(a)p +eop end +%%Page: 50 56 +TeXDict begin 50 55 bop 150 -116 a Ft(50)2572 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y(non-ro)s(ot)37 b(user)f(once)i(it)g +(is)f(set;)k(a)c(soft)g(limit)h(ma)m(y)g(b)s(e)e(increased)h(up)f(to)i +(the)f(v)-5 b(alue)38 b(of)630 408 y(the)c(hard)f(limit.)51 +b(Otherwise,)35 b(the)f(curren)m(t)f(v)-5 b(alue)35 b(of)f(the)f(soft)i +(limit)f(for)g(the)g(sp)s(eci\014ed)630 518 y(resource)27 +b(is)h(prin)m(ted,)f(unless)g(the)g(`)p Fs(-H)p Ft(')g(option)h(is)f +(supplied.)38 b(When)27 b(setting)h(new)f(limits,)630 +628 y(if)40 b(neither)f(`)p Fs(-H)p Ft(')h(nor)f(`)p +Fs(-S)p Ft(')h(is)f(supplied,)i(b)s(oth)e(the)h(hard)f(and)g(soft)h +(limits)g(are)g(set.)69 b(If)630 737 y(no)35 b(option)h(is)f(giv)m(en,) +j(then)d(`)p Fs(-f)p Ft(')g(is)g(assumed.)55 b(V)-8 b(alues)36 +b(are)f(in)g(1024-b)m(yte)j(incremen)m(ts,)630 847 y(except)d(for)f(`)p +Fs(-t)p Ft(',)g(whic)m(h)g(is)g(in)g(seconds,)h(`)p Fs(-p)p +Ft(',)g(whic)m(h)e(is)h(in)g(units)f(of)h(512-b)m(yte)i(blo)s(c)m(ks,) +630 956 y(and)30 b(`)p Fs(-n)p Ft(')g(and)g(`)p Fs(-u)p Ft(',)g(whic)m(h)g(are)h(unscaled)f(v)-5 b(alues.)630 -2083 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e(an)g(in)m(v)-5 +1090 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e(an)g(in)m(v)-5 b(alid)36 b(option)f(or)f(argumen)m(t)i(is)e(supplied,)h(or)630 -2193 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f(limit.) -150 2358 y Fs(unalias)870 2495 y(unalias)46 b([-a])g([)p -Fj(name)57 b Fs(...)47 b(])630 2632 y Ft(Remo)m(v)m(e)39 +1199 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f(limit.) +150 1356 y Fs(unalias)870 1489 y(unalias)46 b([-a])g([)p +Fj(name)57 b Fs(...)47 b(])630 1623 y Ft(Remo)m(v)m(e)39 b(eac)m(h)f Fq(name)k Ft(from)36 b(the)h(list)h(of)f(aliases.)61 b(If)36 b(`)p Fs(-a)p Ft(')h(is)g(supplied,)h(all)f(aliases)i(are)630 -2742 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section) -i(6.6)f([Aliases],)h(page)f(77.)150 3014 y Fr(4.3)68 -b(Mo)t(difying)45 b(Shell)g(Beha)l(vior)150 3359 y Fk(4.3.1)63 -b(The)41 b(Set)g(Builtin)275 3609 y Ft(This)27 b(builtin)h(is)h(so)f +1732 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section) +i(6.6)f([Aliases],)h(page)f(77.)150 1986 y Fr(4.3)68 +b(Mo)t(difying)45 b(Shell)g(Beha)l(vior)150 2316 y Fk(4.3.1)63 +b(The)41 b(Set)g(Builtin)275 2559 y Ft(This)27 b(builtin)h(is)h(so)f (complicated)i(that)f(it)g(deserv)m(es)g(its)g(o)m(wn)f(section.)42 b Fs(set)27 b Ft(allo)m(ws)j(y)m(ou)f(to)g(c)m(hange)150 -3718 y(the)k(v)-5 b(alues)34 b(of)f(shell)g(options)h(and)e(set)i(the)f +2669 y(the)k(v)-5 b(alues)34 b(of)f(shell)g(options)h(and)e(set)i(the)f (p)s(ositional)h(parameters,)h(or)e(to)h(displa)m(y)f(the)g(names)h -(and)150 3828 y(v)-5 b(alues)31 b(of)f(shell)h(v)-5 b(ariables.)150 -3996 y Fs(set)870 4133 y(set)47 b([--abefhkmnptuvxBCEHPT])41 +(and)150 2778 y(v)-5 b(alues)31 b(of)f(shell)h(v)-5 b(ariables.)150 +2935 y Fs(set)870 3068 y(set)47 b([--abefhkmnptuvxBCEHPT])41 b([-o)47 b Fj(option)11 b Fs(])46 b([)p Fj(argument)55 -b Fs(...])870 4243 y(set)47 b([+abefhkmnptuvxBCEHPT])42 +b Fs(...])870 3178 y(set)47 b([+abefhkmnptuvxBCEHPT])42 b([+o)47 b Fj(option)11 b Fs(])45 b([)p Fj(argument)56 -b Fs(...)o(])630 4380 y Ft(If)22 b(no)h(options)g(or)g(argumen)m(ts)g +b Fs(...)o(])630 3311 y Ft(If)22 b(no)h(options)g(or)g(argumen)m(ts)g (are)g(supplied,)g Fs(set)f Ft(displa)m(ys)g(the)h(names)g(and)f(v)-5 -b(alues)23 b(of)g(all)630 4490 y(shell)j(v)-5 b(ariables)27 +b(alues)23 b(of)g(all)630 3421 y(shell)j(v)-5 b(ariables)27 b(and)e(functions,)h(sorted)g(according)h(to)g(the)f(curren)m(t)f(lo)s -(cale,)k(in)c(a)i(format)630 4599 y(that)i(ma)m(y)h(b)s(e)e(reused)g +(cale,)k(in)c(a)i(format)630 3530 y(that)i(ma)m(y)h(b)s(e)e(reused)g (as)h(input)f(for)h(setting)h(or)e(resetting)i(the)f(curren)m(tly-set)h -(v)-5 b(ariables.)630 4709 y(Read-only)37 b(v)-5 b(ariables)37 +(v)-5 b(ariables.)630 3640 y(Read-only)37 b(v)-5 b(ariables)37 b(cannot)h(b)s(e)e(reset.)59 b(In)36 b Fl(posix)g Ft(mo)s(de,)i(only)f -(shell)f(v)-5 b(ariables)38 b(are)630 4818 y(listed.)630 -4956 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f +(shell)f(v)-5 b(ariables)38 b(are)630 3750 y(listed.)630 +3883 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f (shell)h(attributes.)41 b(Options,)29 b(if)g(sp)s(ec-)630 -5065 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630 -5230 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h +3992 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630 +4149 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h (whic)m(h)g(are)g(mo)s(di\014ed)f(or)h(created)h(for)f(ex-)1110 -5340 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f -(commands.)p eop end -%%Page: 50 56 -TeXDict begin 50 55 bop 150 -116 a Ft(50)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(-b)384 b Ft(Cause)44 -b(the)h(status)g(of)f(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f -(rep)s(orted)1110 408 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s -(efore)h(prin)m(ting)g(the)g(next)g(primary)g(prompt.)630 -566 y Fs(-e)384 b Ft(Exit)37 b(immediately)h(if)e(a)h(simple)f(command) -g(\(see)i(Section)f(3.2.1)h([Simple)1110 676 y(Commands],)31 +4259 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f +(commands.)630 4416 y Fs(-b)384 b Ft(Cause)44 b(the)h(status)g(of)f +(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f(rep)s(orted)1110 +4525 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s(efore)h(prin)m(ting) +g(the)g(next)g(primary)g(prompt.)630 4682 y Fs(-e)384 +b Ft(Exit)37 b(immediately)h(if)e(a)h(simple)f(command)g(\(see)i +(Section)f(3.2.1)h([Simple)1110 4792 y(Commands],)31 b(page)i(8\))f(exits)g(with)g(a)g(non-zero)g(status,)g(unless)f(the)h -(com-)1110 785 y(mand)f(that)h(fails)h(is)f(part)f(of)h(the)g(command)g -(list)g(immediately)h(follo)m(wing)1110 895 y(a)41 b -Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d(of)g(the)h -(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110 1004 +(com-)1110 4902 y(mand)f(that)h(fails)h(is)f(part)f(of)h(the)g(command) +g(list)g(immediately)h(follo)m(wing)1110 5011 y(a)41 +b Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d(of)g(the)h +(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110 5121 y(part)33 b(of)h(a)g(command)f(executed)i(in)e(a)h Fs(&&)f Ft(or)g Fs(||b)g Ft(list,)i(an)m(y)f(command)f(in)1110 -1114 y(a)g(pip)s(eline)e(but)h(the)g(last,)i(or)f(if)f(the)g(command's) -g(return)f(status)i(is)f(b)s(eing)1110 1224 y(in)m(v)m(erted)38 +5230 y(a)g(pip)s(eline)e(but)h(the)g(last,)i(or)f(if)f(the)g(command's) +g(return)f(status)i(is)f(b)s(eing)1110 5340 y(in)m(v)m(erted)38 b(using)e Fs(!)p Ft(.)60 b(F)-8 b(ailing)39 b(simple)e(commands)f(that) -i(are)f(part)g(of)g(shell)1110 1333 y(functions)e(or)g(command)g(lists) -h(enclosed)g(in)f(braces)g(or)h(paren)m(theses)f(sat-)1110 -1443 y(isfying)d(the)f(ab)s(o)m(v)m(e)i(conditions)f(do)g(not)f(cause)h -(the)g(shell)g(to)g(exit.)45 b(A)32 b(trap)1110 1552 -y(on)e Fs(ERR)p Ft(,)g(if)g(set,)i(is)e(executed)h(b)s(efore)f(the)h -(shell)f(exits.)630 1710 y Fs(-f)384 b Ft(Disable)31 -b(\014le)g(name)f(generation)i(\(globbing\).)630 1867 +i(are)f(part)g(of)g(shell)p eop end +%%Page: 51 57 +TeXDict begin 51 56 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(51)1110 299 y(functions)35 +b(or)g(command)g(lists)h(enclosed)g(in)f(braces)g(or)h(paren)m(theses)f +(sat-)1110 408 y(isfying)d(the)f(ab)s(o)m(v)m(e)i(conditions)f(do)g +(not)f(cause)h(the)g(shell)g(to)g(exit.)45 b(A)32 b(trap)1110 +518 y(on)e Fs(ERR)p Ft(,)g(if)g(set,)i(is)e(executed)h(b)s(efore)f(the) +h(shell)f(exits.)630 677 y Fs(-f)384 b Ft(Disable)31 +b(\014le)g(name)f(generation)i(\(globbing\).)630 836 y Fs(-h)384 b Ft(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g (commands)f(as)h(they)g(are)g(lo)s(ok)m(ed)h(up)e(for)1110 -1977 y(execution.)42 b(This)29 b(option)i(is)g(enabled)f(b)m(y)g -(default.)630 2134 y Fs(-k)384 b Ft(All)34 b(argumen)m(ts)g(in)f(the)h +945 y(execution.)42 b(This)29 b(option)i(is)g(enabled)f(b)m(y)g +(default.)630 1104 y Fs(-k)384 b Ft(All)34 b(argumen)m(ts)g(in)f(the)h (form)f(of)g(assignmen)m(t)h(statemen)m(ts)i(are)d(placed)h(in)1110 -2244 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f -(those)i(that)f(precede)g(the)1110 2354 y(command)30 -b(name.)630 2511 y Fs(-m)384 b Ft(Job)30 b(con)m(trol)i(is)e(enabled)h +1214 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f +(those)i(that)f(precede)g(the)1110 1324 y(command)30 +b(name.)630 1482 y Fs(-m)384 b Ft(Job)30 b(con)m(trol)i(is)e(enabled)h (\(see)g(Chapter)f(7)g([Job)h(Con)m(trol],)g(page)g(87\).)630 -2669 y Fs(-n)384 b Ft(Read)21 b(commands)f(but)g(do)h(not)g(execute)h +1641 y Fs(-n)384 b Ft(Read)21 b(commands)f(but)g(do)h(not)g(execute)h (them;)i(this)d(ma)m(y)g(b)s(e)f(used)g(to)h(c)m(hec)m(k)1110 -2778 y(a)42 b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41 +1751 y(a)42 b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41 b(option)h(is)g(ignored)g(b)m(y)g(in)m(teractiv)m(e)1110 -2888 y(shells.)630 3045 y Fs(-o)30 b Fj(option-name)1110 -3155 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i -Fq(option-name)5 b Ft(:)1110 3313 y Fs(allexport)1590 -3422 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 3580 y Fs(braceexpand)1590 -3689 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 3847 y Fs(emacs)240 +1861 y(shells.)630 2019 y Fs(-o)30 b Fj(option-name)1110 +2129 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i +Fq(option-name)5 b Ft(:)1110 2288 y Fs(allexport)1590 +2398 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 2556 y Fs(braceexpand)1590 +2666 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 2825 y Fs(emacs)240 b Ft(Use)25 b(an)f Fs(emacs)p Ft(-st)m(yle)h(line)f(editing)h(in)m -(terface)h(\(see)g(Chapter)e(8)1590 3956 y([Command)30 -b(Line)g(Editing],)h(page)g(91\).)1110 4114 y Fs(errexit)144 -b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 4271 y Fs(errtrace)96 -b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 4429 y Fs(functrace)1590 -4539 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 4696 y Fs(hashall)144 -b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 4854 y Fs(histexpand)1590 -4963 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 5121 y Fs(history)144 +(terface)h(\(see)g(Chapter)e(8)1590 2934 y([Command)30 +b(Line)g(Editing],)h(page)g(91\).)1110 3093 y Fs(errexit)144 +b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 3252 y Fs(errtrace)96 +b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 3411 y Fs(functrace)1590 +3521 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 3680 y Fs(hashall)144 +b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 3839 y Fs(histexpand)1590 +3948 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 4107 y Fs(history)144 b Ft(Enable)39 b(command)g(history)-8 b(,)42 b(as)d(describ)s(ed)f(in)h -(Section)h(9.1)1590 5230 y([Bash)d(History)g(F)-8 b(acilities],)41 -b(page)c(117.)60 b(This)36 b(option)h(is)f(on)1590 5340 -y(b)m(y)30 b(default)h(in)f(in)m(teractiv)m(e)j(shells.)p -eop end -%%Page: 51 57 -TeXDict begin 51 56 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(51)1110 299 y -Fs(ignoreeof)1590 408 y Ft(An)30 b(in)m(teractiv)m(e)j(shell)e(will)g -(not)f(exit)h(up)s(on)e(reading)i(EOF.)1110 558 y Fs(keyword)144 -b Ft(Same)30 b(as)h Fs(-k)p Ft(.)1110 708 y Fs(monitor)144 -b Ft(Same)30 b(as)h Fs(-m)p Ft(.)1110 858 y Fs(noclobber)1590 -968 y Ft(Same)f(as)h Fs(-C)p Ft(.)1110 1118 y Fs(noexec)192 -b Ft(Same)30 b(as)h Fs(-n)p Ft(.)1110 1268 y Fs(noglob)192 -b Ft(Same)30 b(as)h Fs(-f)p Ft(.)1110 1418 y Fs(nolog)240 -b Ft(Curren)m(tly)30 b(ignored.)1110 1568 y Fs(notify)192 -b Ft(Same)30 b(as)h Fs(-b)p Ft(.)1110 1718 y Fs(nounset)144 -b Ft(Same)30 b(as)h Fs(-u)p Ft(.)1110 1868 y Fs(onecmd)192 -b Ft(Same)30 b(as)h Fs(-t)p Ft(.)1110 2018 y Fs(physical)96 -b Ft(Same)30 b(as)h Fs(-P)p Ft(.)1110 2168 y Fs(pipefail)96 -b Ft(If)44 b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s -(eline)e(is)i(the)f(v)-5 b(alue)45 b(of)1590 2277 y(the)33 -b(last)h(\(righ)m(tmost\))h(command)e(to)h(exit)g(with)f(a)g(non-zero) -1590 2387 y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h -(pip)s(eline)f(exit)i(suc-)1590 2496 y(cessfully)-8 b(.)41 +(Section)h(9.1)1590 4217 y([Bash)d(History)g(F)-8 b(acilities],)41 +b(page)c(119.)60 b(This)36 b(option)h(is)f(on)1590 4326 +y(b)m(y)30 b(default)h(in)f(in)m(teractiv)m(e)j(shells.)1110 +4485 y Fs(ignoreeof)1590 4595 y Ft(An)d(in)m(teractiv)m(e)j(shell)e +(will)g(not)f(exit)h(up)s(on)e(reading)i(EOF.)1110 4754 +y Fs(keyword)144 b Ft(Same)30 b(as)h Fs(-k)p Ft(.)1110 +4913 y Fs(monitor)144 b Ft(Same)30 b(as)h Fs(-m)p Ft(.)1110 +5071 y Fs(noclobber)1590 5181 y Ft(Same)f(as)h Fs(-C)p +Ft(.)1110 5340 y Fs(noexec)192 b Ft(Same)30 b(as)h Fs(-n)p +Ft(.)p eop end +%%Page: 52 58 +TeXDict begin 52 57 bop 150 -116 a Ft(52)2572 b(Bash)31 +b(Reference)g(Man)m(ual)1110 299 y Fs(noglob)192 b Ft(Same)30 +b(as)h Fs(-f)p Ft(.)1110 456 y Fs(nolog)240 b Ft(Curren)m(tly)30 +b(ignored.)1110 614 y Fs(notify)192 b Ft(Same)30 b(as)h +Fs(-b)p Ft(.)1110 771 y Fs(nounset)144 b Ft(Same)30 b(as)h +Fs(-u)p Ft(.)1110 929 y Fs(onecmd)192 b Ft(Same)30 b(as)h +Fs(-t)p Ft(.)1110 1087 y Fs(physical)96 b Ft(Same)30 +b(as)h Fs(-P)p Ft(.)1110 1244 y Fs(pipefail)96 b Ft(If)44 +b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s(eline)e(is)i +(the)f(v)-5 b(alue)45 b(of)1590 1354 y(the)33 b(last)h(\(righ)m +(tmost\))h(command)e(to)h(exit)g(with)f(a)g(non-zero)1590 +1463 y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h(pip)s +(eline)f(exit)i(suc-)1590 1573 y(cessfully)-8 b(.)41 b(This)30 b(option)h(is)f(disabled)g(b)m(y)h(default.)1110 -2646 y Fs(posix)240 b Ft(Change)30 b(the)g(b)s(eha)m(vior)h(of)f(Bash)g -(where)g(the)g(default)h(op)s(era-)1590 2756 y(tion)25 +1730 y Fs(posix)240 b Ft(Change)30 b(the)g(b)s(eha)m(vior)h(of)f(Bash)g +(where)g(the)g(default)h(op)s(era-)1590 1840 y(tion)25 b(di\013ers)f(from)g(the)h Fl(posix)f Ft(standard)f(to)i(matc)m(h)h -(the)f(stan-)1590 2866 y(dard)32 b(\(see)i(Section)g(6.11)h([Bash)e -(POSIX)f(Mo)s(de],)j(page)e(82\).)1590 2975 y(This)k(is)g(in)m(tended)g +(the)f(stan-)1590 1950 y(dard)32 b(\(see)i(Section)g(6.11)h([Bash)e +(POSIX)f(Mo)s(de],)j(page)e(82\).)1590 2059 y(This)k(is)g(in)m(tended)g (to)h(mak)m(e)g(Bash)g(b)s(eha)m(v)m(e)g(as)g(a)f(strict)h(su-)1590 -3085 y(p)s(erset)30 b(of)h(that)f(standard.)1110 3235 -y Fs(privileged)1590 3344 y Ft(Same)g(as)h Fs(-p)p Ft(.)1110 -3494 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p Ft(.)1110 -3644 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p Ft(-st)m(yle)g(line)g -(editing)g(in)m(terface.)1110 3794 y Fs(xtrace)192 b -Ft(Same)30 b(as)h Fs(-x)p Ft(.)630 3944 y Fs(-p)384 b +2169 y(p)s(erset)30 b(of)h(that)f(standard.)1110 2326 +y Fs(privileged)1590 2436 y Ft(Same)g(as)h Fs(-p)p Ft(.)1110 +2593 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p Ft(.)1110 +2751 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p Ft(-st)m(yle)g(line)g +(editing)g(in)m(terface.)1110 2908 y Fs(xtrace)192 b +Ft(Same)30 b(as)h Fs(-x)p Ft(.)630 3066 y Fs(-p)384 b Ft(T)-8 b(urn)33 b(on)h(privileged)h(mo)s(de.)51 b(In)34 b(this)g(mo)s(de,)h(the)f Fs($BASH_ENV)e Ft(and)h Fs($ENV)1110 -4054 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f(functions)f -(are)h(not)f(inherited)h(from)f(the)1110 4163 y(en)m(vironmen)m(t,)f +3176 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f(functions)f +(are)h(not)f(inherited)h(from)f(the)1110 3285 y(en)m(vironmen)m(t,)f (and)d(the)h Fs(SHELLOPTS)e Ft(v)-5 b(ariable,)35 b(if)f(it)h(app)s -(ears)e(in)h(the)g(en-)1110 4273 y(vironmen)m(t,)d(is)f(ignored.)41 +(ears)e(in)h(the)g(en-)1110 3395 y(vironmen)m(t,)d(is)f(ignored.)41 b(If)29 b(the)i(shell)f(is)g(started)h(with)f(the)g(e\013ectiv)m(e)j -(user)1110 4383 y(\(group\))d(id)g(not)g(equal)h(to)f(the)g(real)h +(user)1110 3504 y(\(group\))d(id)g(not)g(equal)h(to)f(the)g(real)h (user)e(\(group\))i(id,)f(and)f(the)h Fs(-p)f Ft(option)1110 -4492 y(is)40 b(not)g(supplied,)i(these)e(actions)i(are)e(tak)m(en)h -(and)f(the)g(e\013ectiv)m(e)j(user)c(id)1110 4602 y(is)d(set)h(to)h +3614 y(is)40 b(not)g(supplied,)i(these)e(actions)i(are)e(tak)m(en)h +(and)f(the)g(e\013ectiv)m(e)j(user)c(id)1110 3724 y(is)d(set)h(to)h (the)e(real)h(user)f(id.)58 b(If)36 b(the)h Fs(-p)f Ft(option)g(is)h -(supplied)e(at)i(startup,)1110 4711 y(the)29 b(e\013ectiv)m(e)j(user)d +(supplied)e(at)i(startup,)1110 3833 y(the)29 b(e\013ectiv)m(e)j(user)d (id)g(is)g(not)h(reset.)40 b(T)-8 b(urning)29 b(this)g(option)g(o\013)h -(causes)g(the)1110 4821 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h +(causes)g(the)1110 3943 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h (to)g(b)s(e)f(set)h(to)h(the)f(real)g(user)f(and)g(group)g(ids.)630 -4971 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h -(one)g(command.)630 5121 y Fs(-u)384 b Ft(T)-8 b(reat)38 +4100 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h +(one)g(command.)630 4258 y Fs(-u)384 b Ft(T)-8 b(reat)38 b(unset)e(v)-5 b(ariables)37 b(as)h(an)e(error)h(when)e(p)s(erforming)h -(parameter)h(ex-)1110 5230 y(pansion.)58 b(An)36 b(error)f(message)j +(parameter)h(ex-)1110 4367 y(pansion.)58 b(An)36 b(error)f(message)j (will)e(b)s(e)g(written)g(to)h(the)g(standard)e(error,)1110 -5340 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)p +4477 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)630 +4634 y Fs(-v)384 b Ft(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they)f +(are)h(read.)630 4792 y Fs(-x)384 b Ft(Prin)m(t)21 b(a)h(trace)h(of)f +(simple)f(commands,)i Fs(for)e Ft(commands,)i Fs(case)d +Ft(commands,)1110 4902 y Fs(select)29 b Ft(commands,)j(and)e +(arithmetic)j Fs(for)d Ft(commands)h(and)f(their)i(argu-)1110 +5011 y(men)m(ts)h(or)f(asso)s(ciated)i(w)m(ord)e(lists)h(after)g(they)f +(are)h(expanded)f(and)f(b)s(efore)1110 5121 y(they)i(are)g(executed.)49 +b(The)32 b(v)-5 b(alue)33 b(of)g(the)g Fs(PS4)f Ft(v)-5 +b(ariable)34 b(is)f(expanded)f(and)1110 5230 y(the)24 +b(resultan)m(t)h(v)-5 b(alue)24 b(is)g(prin)m(ted)g(b)s(efore)f(the)h +(command)g(and)f(its)i(expanded)1110 5340 y(argumen)m(ts.)p eop end -%%Page: 52 58 -TeXDict begin 52 57 bop 150 -116 a Ft(52)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(-v)384 b Ft(Prin)m(t)30 -b(shell)h(input)e(lines)i(as)g(they)f(are)h(read.)630 -458 y Fs(-x)384 b Ft(Prin)m(t)21 b(a)h(trace)h(of)f(simple)f(commands,) -i Fs(for)e Ft(commands,)i Fs(case)d Ft(commands,)1110 -568 y Fs(select)29 b Ft(commands,)j(and)e(arithmetic)j -Fs(for)d Ft(commands)h(and)f(their)i(argu-)1110 677 y(men)m(ts)h(or)f -(asso)s(ciated)i(w)m(ord)e(lists)h(after)g(they)f(are)h(expanded)f(and) -f(b)s(efore)1110 787 y(they)i(are)g(executed.)49 b(The)32 -b(v)-5 b(alue)33 b(of)g(the)g Fs(PS4)f Ft(v)-5 b(ariable)34 -b(is)f(expanded)f(and)1110 897 y(the)24 b(resultan)m(t)h(v)-5 -b(alue)24 b(is)g(prin)m(ted)g(b)s(efore)f(the)h(command)g(and)f(its)i -(expanded)1110 1006 y(argumen)m(ts.)630 1166 y Fs(-B)384 +%%Page: 53 59 +TeXDict begin 53 58 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y Fs(-B)384 b Ft(The)41 b(shell)g(will)g(p)s(erform)f(brace)h(expansion)g(\(see)h -(Section)g(3.5.1)g([Brace)1110 1275 y(Expansion],)30 -b(page)h(17\).)42 b(This)30 b(option)h(is)f(on)g(b)m(y)h(default.)630 -1435 y Fs(-C)384 b Ft(Prev)m(en)m(t)25 b(output)e(redirection)h(using)f -(`)p Fs(>)p Ft(',)i(`)p Fs(>&)p Ft(',)g(and)e(`)p Fs(<>)p -Ft(')g(from)h(o)m(v)m(erwriting)1110 1544 y(existing)31 -b(\014les.)630 1704 y Fs(-E)384 b Ft(If)39 b(set,)j(an)m(y)e(trap)f(on) -g Fs(ERR)g Ft(is)g(inherited)g(b)m(y)g(shell)h(functions,)h(command) -1110 1813 y(substitutions,)35 b(and)e(commands)g(executed)i(in)f(a)g -(subshell)f(en)m(vironmen)m(t.)1110 1923 y(The)d Fs(ERR)f +(Section)g(3.5.1)g([Brace)1110 408 y(Expansion],)30 b(page)h(18\).)42 +b(This)30 b(option)h(is)f(on)g(b)m(y)h(default.)630 556 +y Fs(-C)384 b Ft(Prev)m(en)m(t)25 b(output)e(redirection)h(using)f(`)p +Fs(>)p Ft(',)i(`)p Fs(>&)p Ft(',)g(and)e(`)p Fs(<>)p +Ft(')g(from)h(o)m(v)m(erwriting)1110 666 y(existing)31 +b(\014les.)630 814 y Fs(-E)384 b Ft(If)39 b(set,)j(an)m(y)e(trap)f(on)g +Fs(ERR)g Ft(is)g(inherited)g(b)m(y)g(shell)h(functions,)h(command)1110 +923 y(substitutions,)35 b(and)e(commands)g(executed)i(in)f(a)g +(subshell)f(en)m(vironmen)m(t.)1110 1033 y(The)d Fs(ERR)f Ft(trap)i(is)f(normally)h(not)f(inherited)g(in)g(suc)m(h)g(cases.)630 -2082 y Fs(-H)384 b Ft(Enable)38 b(`)p Fs(!)p Ft(')h(st)m(yle)h(history) +1181 y Fs(-H)384 b Ft(Enable)38 b(`)p Fs(!)p Ft(')h(st)m(yle)h(history) e(substitution)g(\(see)h(Section)h(9.3)f([History)g(In-)1110 -2192 y(teraction],)g(page)d(119\).)57 b(This)34 b(option)i(is)f(on)g(b) -m(y)h(default)f(for)g(in)m(teractiv)m(e)1110 2301 y(shells.)630 -2461 y Fs(-P)384 b Ft(If)43 b(set,)k(do)c(not)g(follo)m(w)h(sym)m(b)s +1290 y(teraction],)g(page)d(121\).)57 b(This)34 b(option)i(is)f(on)g(b) +m(y)h(default)f(for)g(in)m(teractiv)m(e)1110 1400 y(shells.)630 +1548 y Fs(-P)384 b Ft(If)43 b(set,)k(do)c(not)g(follo)m(w)h(sym)m(b)s (olic)g(links)e(when)g(p)s(erforming)g(commands)1110 -2570 y(suc)m(h)29 b(as)h Fs(cd)f Ft(whic)m(h)g(c)m(hange)h(the)g +1657 y(suc)m(h)29 b(as)h Fs(cd)f Ft(whic)m(h)g(c)m(hange)h(the)g (curren)m(t)f(directory)-8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 -2680 y(tory)j(is)g(used)f(instead.)52 b(By)34 b(default,)h(Bash)f -(follo)m(ws)h(the)f(logical)i(c)m(hain)f(of)1110 2790 +1767 y(tory)j(is)g(used)f(instead.)52 b(By)34 b(default,)h(Bash)f +(follo)m(ws)h(the)f(logical)i(c)m(hain)f(of)1110 1877 y(directories)j(when)d(p)s(erforming)h(commands)g(whic)m(h)g(c)m(hange) -i(the)f(curren)m(t)1110 2899 y(directory)-8 b(.)1110 -3034 y(F)g(or)31 b(example,)g(if)f(`)p Fs(/usr/sys)p +i(the)f(curren)m(t)1110 1986 y(directory)-8 b(.)1110 +2115 y(F)g(or)31 b(example,)g(if)f(`)p Fs(/usr/sys)p Ft(')e(is)i(a)g(sym)m(b)s(olic)h(link)f(to)g(`)p Fs(/usr/local/sys)p -Ft(')1110 3143 y(then:)1350 3278 y Fs($)47 b(cd)h(/usr/sys;)d(echo)i -($PWD)1350 3387 y(/usr/sys)1350 3497 y($)g(cd)h(..;)f(pwd)1350 -3606 y(/usr)1110 3741 y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:) -1350 3875 y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 -3985 y(/usr/local/sys)1350 4095 y($)g(cd)h(..;)f(pwd)1350 -4204 y(/usr/local)630 4364 y(-T)384 b Ft(If)34 b(set,)j(an)m(y)e(trap)g +Ft(')1110 2224 y(then:)1350 2353 y Fs($)47 b(cd)h(/usr/sys;)d(echo)i +($PWD)1350 2463 y(/usr/sys)1350 2572 y($)g(cd)h(..;)f(pwd)1350 +2682 y(/usr)1110 2811 y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:) +1350 2939 y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 +3049 y(/usr/local/sys)1350 3158 y($)g(cd)h(..;)f(pwd)1350 +3268 y(/usr/local)630 3416 y(-T)384 b Ft(If)34 b(set,)j(an)m(y)e(trap)g (on)g Fs(DEBUG)e Ft(and)i Fs(RETURN)e Ft(are)i(inherited)g(b)m(y)f -(shell)i(func-)1110 4473 y(tions,)k(command)d(substitutions,)h(and)f -(commands)g(executed)h(in)f(a)h(sub-)1110 4583 y(shell)33 +(shell)i(func-)1110 3525 y(tions,)k(command)d(substitutions,)h(and)f +(commands)g(executed)h(in)f(a)h(sub-)1110 3635 y(shell)33 b(en)m(vironmen)m(t.)49 b(The)32 b Fs(DEBUG)g Ft(and)g -Fs(RETURN)f Ft(traps)h(are)i(normally)f(not)1110 4692 -y(inherited)d(in)g(suc)m(h)g(cases.)630 4852 y Fs(--)384 +Fs(RETURN)f Ft(traps)h(are)i(normally)f(not)1110 3745 +y(inherited)d(in)g(suc)m(h)g(cases.)630 3892 y Fs(--)384 b Ft(If)31 b(no)h(argumen)m(ts)f(follo)m(w)i(this)f(option,)g(then)f -(the)h(p)s(ositional)h(parameters)1110 4961 y(are)h(unset.)49 +(the)h(p)s(ositional)h(parameters)1110 4002 y(are)h(unset.)49 b(Otherwise,)34 b(the)g(p)s(ositional)g(parameters)g(are)g(set)g(to)g -(the)g Fq(ar-)1110 5071 y(gumen)m(ts)p Ft(,)d(ev)m(en)g(if)f(some)h(of) -g(them)f(b)s(egin)g(with)g(a)h(`)p Fs(-)p Ft('.)630 5230 +(the)g Fq(ar-)1110 4112 y(gumen)m(ts)p Ft(,)d(ev)m(en)g(if)f(some)h(of) +g(them)f(b)s(egin)g(with)g(a)h(`)p Fs(-)p Ft('.)630 4260 y Fs(-)432 b Ft(Signal)45 b(the)g(end)f(of)h(options,)k(cause)c(all)h (remaining)e Fq(argumen)m(ts)49 b Ft(to)d(b)s(e)1110 -5340 y(assigned)38 b(to)h(the)f(p)s(ositional)h(parameters.)65 -b(The)37 b(`)p Fs(-x)p Ft(')h(and)g(`)p Fs(-v)p Ft(')g(options)p -eop end -%%Page: 53 59 -TeXDict begin 53 58 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(53)1110 299 y(are)25 -b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f(argumen)m(ts,)i(the)f -(p)s(ositional)h(parameters)1110 408 y(remain)k(unc)m(hanged.)630 -568 y(Using)d(`)p Fs(+)p Ft(')h(rather)f(than)g(`)p Fs(-)p -Ft(')g(causes)h(these)f(options)h(to)g(b)s(e)e(turned)g(o\013.)40 -b(The)27 b(options)h(can)630 678 y(also)36 b(b)s(e)f(used)f(up)s(on)g -(in)m(v)m(o)s(cation)j(of)e(the)g(shell.)56 b(The)34 -b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g(b)s(e)630 -787 y(found)29 b(in)h Fs($-)p Ft(.)630 922 y(The)43 b(remaining)h(N)f -Fq(argumen)m(ts)48 b Ft(are)c(p)s(ositional)g(parameters)g(and)f(are)h -(assigned,)j(in)630 1032 y(order,)30 b(to)h Fs($1)p Ft(,)f -Fs($2)p Ft(,)36 b(.)22 b(.)g(.)42 b Fs($N)p Ft(.)e(The)30 -b(sp)s(ecial)h(parameter)g Fs(#)f Ft(is)g(set)h(to)g(N.)630 -1166 y(The)f(return)f(status)i(is)f(alw)m(a)m(ys)i(zero)f(unless)f(an)g -(in)m(v)-5 b(alid)31 b(option)g(is)f(supplied.)150 1391 -y Fk(4.3.2)63 b(The)41 b(Shopt)h(Builtin)275 1635 y Ft(This)29 -b(builtin)h(allo)m(ws)i(y)m(ou)e(to)i(c)m(hange)f(additional)g(shell)g -(optional)g(b)s(eha)m(vior.)150 1795 y Fs(shopt)870 1930 -y(shopt)46 b([-pqsu])g([-o])h([)p Fj(optname)56 b Fs(...)o(])630 -2065 y Ft(T)-8 b(oggle)47 b(the)d(v)-5 b(alues)45 b(of)g(v)-5 -b(ariables)45 b(con)m(trolling)i(optional)f(shell)e(b)s(eha)m(vior.)84 -b(With)45 b(no)630 2174 y(options,)32 b(or)f(with)g(the)g(`)p -Fs(-p)p Ft(')g(option,)h(a)g(list)f(of)h(all)g(settable)g(options)g(is) -f(displa)m(y)m(ed,)h(with)630 2284 y(an)i(indication)i(of)f(whether)f -(or)g(not)h(eac)m(h)h(is)e(set.)54 b(The)34 b(`)p Fs(-p)p -Ft(')h(option)g(causes)g(output)f(to)630 2393 y(b)s(e)i(displa)m(y)m -(ed)h(in)e(a)i(form)f(that)h(ma)m(y)g(b)s(e)e(reused)h(as)g(input.)58 -b(Other)36 b(options)g(ha)m(v)m(e)i(the)630 2503 y(follo)m(wing)32 -b(meanings:)630 2663 y Fs(-s)384 b Ft(Enable)30 b(\(set\))i(eac)m(h)f -Fq(optname)p Ft(.)630 2822 y Fs(-u)384 b Ft(Disable)31 -b(\(unset\))g(eac)m(h)h Fq(optname)p Ft(.)630 2982 y -Fs(-q)384 b Ft(Suppresses)28 b(normal)h(output;)h(the)g(return)e -(status)i(indicates)h(whether)e(the)1110 3092 y Fq(optname)37 -b Ft(is)31 b(set)h(or)f(unset.)43 b(If)31 b(m)m(ultiple)h -Fq(optname)37 b Ft(argumen)m(ts)31 b(are)h(giv)m(en)1110 -3201 y(with)43 b(`)p Fs(-q)p Ft(',)j(the)d(return)f(status)h(is)g(zero) -h(if)f(all)g Fq(optnames)k Ft(are)d(enabled;)1110 3311 -y(non-zero)31 b(otherwise.)630 3471 y Fs(-o)384 b Ft(Restricts)28 -b(the)g(v)-5 b(alues)28 b(of)f Fq(optname)33 b Ft(to)c(b)s(e)d(those)i -(de\014ned)f(for)g(the)g(`)p Fs(-o)p Ft(')h(op-)1110 -3580 y(tion)23 b(to)h(the)f Fs(set)f Ft(builtin)h(\(see)g(Section)h -(4.3.1)h([The)d(Set)i(Builtin],)h(page)e(49\).)630 3740 -y(If)29 b(either)i(`)p Fs(-s)p Ft(')f(or)g(`)p Fs(-u)p -Ft(')f(is)h(used)g(with)f(no)h Fq(optname)35 b Ft(argumen)m(ts,)c(the)f -(displa)m(y)g(is)g(limited)630 3849 y(to)h(those)g(options)g(whic)m(h)f -(are)h(set)f(or)h(unset,)f(resp)s(ectiv)m(ely)-8 b(.)630 -3984 y(Unless)30 b(otherwise)h(noted,)g(the)g Fs(shopt)d -Ft(options)j(are)g(disabled)f(\(o\013)7 b(\))32 b(b)m(y)e(default.)630 -4119 y(The)d(return)f(status)i(when)f(listing)h(options)g(is)f(zero)i -(if)e(all)i Fq(optnames)i Ft(are)d(enabled,)g(non-)630 -4228 y(zero)40 b(otherwise.)66 b(When)39 b(setting)h(or)f(unsetting)g -(options,)i(the)e(return)f(status)h(is)g(zero)630 4338 -y(unless)30 b(an)g Fq(optname)36 b Ft(is)30 b(not)h(a)g(v)-5 -b(alid)30 b(shell)h(option.)630 4473 y(The)f(list)h(of)f -Fs(shopt)f Ft(options)i(is:)630 4632 y Fs(autocd)192 -b Ft(If)27 b(set,)h(a)g(command)f(name)g(that)h(is)f(the)g(name)g(of)h -(a)f(directory)h(is)f(executed)1110 4742 y(as)j(if)f(it)h(w)m(ere)f -(the)h(argumen)m(t)g(to)g(the)f Fs(cd)g Ft(command.)40 -b(This)29 b(option)g(is)h(only)1110 4851 y(used)g(b)m(y)g(in)m -(teractiv)m(e)j(shells.)630 5011 y Fs(cdable_vars)1110 -5121 y Ft(If)h(this)h(is)g(set,)i(an)e(argumen)m(t)g(to)h(the)f -Fs(cd)f Ft(builtin)h(command)f(that)i(is)f(not)1110 5230 -y(a)c(directory)g(is)g(assumed)f(to)h(b)s(e)f(the)h(name)f(of)h(a)g(v) --5 b(ariable)31 b(whose)g(v)-5 b(alue)31 b(is)1110 5340 -y(the)g(directory)f(to)i(c)m(hange)f(to.)p eop end +4369 y(assigned)38 b(to)h(the)f(p)s(ositional)h(parameters.)65 +b(The)37 b(`)p Fs(-x)p Ft(')h(and)g(`)p Fs(-v)p Ft(')g(options)1110 +4479 y(are)25 b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f +(argumen)m(ts,)i(the)f(p)s(ositional)h(parameters)1110 +4588 y(remain)k(unc)m(hanged.)630 4736 y(Using)d(`)p +Fs(+)p Ft(')h(rather)f(than)g(`)p Fs(-)p Ft(')g(causes)h(these)f +(options)h(to)g(b)s(e)e(turned)g(o\013.)40 b(The)27 b(options)h(can)630 +4846 y(also)36 b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e +(the)g(shell.)56 b(The)34 b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g +(b)s(e)630 4955 y(found)29 b(in)h Fs($-)p Ft(.)630 5084 +y(The)43 b(remaining)h(N)f Fq(argumen)m(ts)48 b Ft(are)c(p)s(ositional) +g(parameters)g(and)f(are)h(assigned,)j(in)630 5194 y(order,)30 +b(to)h Fs($1)p Ft(,)f Fs($2)p Ft(,)36 b(.)22 b(.)g(.)42 +b Fs($N)p Ft(.)e(The)30 b(sp)s(ecial)h(parameter)g Fs(#)f +Ft(is)g(set)h(to)g(N.)630 5322 y(The)f(return)f(status)i(is)f(alw)m(a)m +(ys)i(zero)f(unless)f(an)g(in)m(v)-5 b(alid)31 b(option)g(is)f +(supplied.)p eop end %%Page: 54 60 TeXDict begin 54 59 bop 150 -116 a Ft(54)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(cdspell)144 b Ft(If)27 -b(set,)h(minor)f(errors)f(in)h(the)g(sp)s(elling)h(of)f(a)g(directory)h -(comp)s(onen)m(t)f(in)g(a)h Fs(cd)1110 408 y Ft(command)i(will)h(b)s(e) -f(corrected.)43 b(The)30 b(errors)g(c)m(hec)m(k)m(ed)j(for)d(are)h -(transp)s(osed)1110 518 y(c)m(haracters,)46 b(a)c(missing)f(c)m -(haracter,)47 b(and)40 b(a)i(c)m(haracter)h(to)s(o)g(man)m(y)-8 -b(.)74 b(If)42 b(a)1110 628 y(correction)25 b(is)e(found,)g(the)h -(corrected)g(path)f(is)g(prin)m(ted,)h(and)f(the)g(command)1110 -737 y(pro)s(ceeds.)40 b(This)30 b(option)h(is)f(only)h(used)e(b)m(y)h -(in)m(teractiv)m(e)k(shells.)630 889 y Fs(checkhash)1110 -998 y Ft(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f -(command)f(found)g(in)g(the)h(hash)f(table)1110 1108 +b(Reference)g(Man)m(ual)150 299 y Fk(4.3.2)63 b(The)41 +b(Shopt)h(Builtin)275 544 y Ft(This)29 b(builtin)h(allo)m(ws)i(y)m(ou)e +(to)i(c)m(hange)f(additional)g(shell)g(optional)g(b)s(eha)m(vior.)150 +704 y Fs(shopt)870 839 y(shopt)46 b([-pqsu])g([-o])h([)p +Fj(optname)56 b Fs(...)o(])630 974 y Ft(T)-8 b(oggle)47 +b(the)d(v)-5 b(alues)45 b(of)g(v)-5 b(ariables)45 b(con)m(trolling)i +(optional)f(shell)e(b)s(eha)m(vior.)84 b(With)45 b(no)630 +1083 y(options,)32 b(or)f(with)g(the)g(`)p Fs(-p)p Ft(')g(option,)h(a)g +(list)f(of)h(all)g(settable)g(options)g(is)f(displa)m(y)m(ed,)h(with) +630 1193 y(an)i(indication)i(of)f(whether)f(or)g(not)h(eac)m(h)h(is)e +(set.)54 b(The)34 b(`)p Fs(-p)p Ft(')h(option)g(causes)g(output)f(to) +630 1303 y(b)s(e)i(displa)m(y)m(ed)h(in)e(a)i(form)f(that)h(ma)m(y)g(b) +s(e)e(reused)h(as)g(input.)58 b(Other)36 b(options)g(ha)m(v)m(e)i(the) +630 1412 y(follo)m(wing)32 b(meanings:)630 1572 y Fs(-s)384 +b Ft(Enable)30 b(\(set\))i(eac)m(h)f Fq(optname)p Ft(.)630 +1732 y Fs(-u)384 b Ft(Disable)31 b(\(unset\))g(eac)m(h)h +Fq(optname)p Ft(.)630 1893 y Fs(-q)384 b Ft(Suppresses)28 +b(normal)h(output;)h(the)g(return)e(status)i(indicates)h(whether)e(the) +1110 2002 y Fq(optname)37 b Ft(is)31 b(set)h(or)f(unset.)43 +b(If)31 b(m)m(ultiple)h Fq(optname)37 b Ft(argumen)m(ts)31 +b(are)h(giv)m(en)1110 2112 y(with)43 b(`)p Fs(-q)p Ft(',)j(the)d +(return)f(status)h(is)g(zero)h(if)f(all)g Fq(optnames)k +Ft(are)d(enabled;)1110 2221 y(non-zero)31 b(otherwise.)630 +2381 y Fs(-o)384 b Ft(Restricts)28 b(the)g(v)-5 b(alues)28 +b(of)f Fq(optname)33 b Ft(to)c(b)s(e)d(those)i(de\014ned)f(for)g(the)g +(`)p Fs(-o)p Ft(')h(op-)1110 2491 y(tion)23 b(to)h(the)f +Fs(set)f Ft(builtin)h(\(see)g(Section)h(4.3.1)h([The)d(Set)i(Builtin],) +h(page)e(50\).)630 2651 y(If)29 b(either)i(`)p Fs(-s)p +Ft(')f(or)g(`)p Fs(-u)p Ft(')f(is)h(used)g(with)f(no)h +Fq(optname)35 b Ft(argumen)m(ts,)c(the)f(displa)m(y)g(is)g(limited)630 +2761 y(to)h(those)g(options)g(whic)m(h)f(are)h(set)f(or)h(unset,)f +(resp)s(ectiv)m(ely)-8 b(.)630 2896 y(Unless)30 b(otherwise)h(noted,)g +(the)g Fs(shopt)d Ft(options)j(are)g(disabled)f(\(o\013)7 +b(\))32 b(b)m(y)e(default.)630 3030 y(The)d(return)f(status)i(when)f +(listing)h(options)g(is)f(zero)i(if)e(all)i Fq(optnames)i +Ft(are)d(enabled,)g(non-)630 3140 y(zero)40 b(otherwise.)66 +b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e(return)f +(status)h(is)g(zero)630 3250 y(unless)30 b(an)g Fq(optname)36 +b Ft(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.)630 +3384 y(The)f(list)h(of)f Fs(shopt)f Ft(options)i(is:)630 +3545 y Fs(autocd)192 b Ft(If)27 b(set,)h(a)g(command)f(name)g(that)h +(is)f(the)g(name)g(of)h(a)f(directory)h(is)f(executed)1110 +3654 y(as)j(if)f(it)h(w)m(ere)f(the)h(argumen)m(t)g(to)g(the)f +Fs(cd)g Ft(command.)40 b(This)29 b(option)g(is)h(only)1110 +3764 y(used)g(b)m(y)g(in)m(teractiv)m(e)j(shells.)630 +3924 y Fs(cdable_vars)1110 4033 y Ft(If)h(this)h(is)g(set,)i(an)e +(argumen)m(t)g(to)h(the)f Fs(cd)f Ft(builtin)h(command)f(that)i(is)f +(not)1110 4143 y(a)c(directory)g(is)g(assumed)f(to)h(b)s(e)f(the)h +(name)f(of)h(a)g(v)-5 b(ariable)31 b(whose)g(v)-5 b(alue)31 +b(is)1110 4253 y(the)g(directory)f(to)i(c)m(hange)f(to.)630 +4413 y Fs(cdspell)144 b Ft(If)27 b(set,)h(minor)f(errors)f(in)h(the)g +(sp)s(elling)h(of)f(a)g(directory)h(comp)s(onen)m(t)f(in)g(a)h +Fs(cd)1110 4522 y Ft(command)i(will)h(b)s(e)f(corrected.)43 +b(The)30 b(errors)g(c)m(hec)m(k)m(ed)j(for)d(are)h(transp)s(osed)1110 +4632 y(c)m(haracters,)46 b(a)c(missing)f(c)m(haracter,)47 +b(and)40 b(a)i(c)m(haracter)h(to)s(o)g(man)m(y)-8 b(.)74 +b(If)42 b(a)1110 4742 y(correction)25 b(is)e(found,)g(the)h(corrected)g +(path)f(is)g(prin)m(ted,)h(and)f(the)g(command)1110 4851 +y(pro)s(ceeds.)40 b(This)30 b(option)h(is)f(only)h(used)e(b)m(y)h(in)m +(teractiv)m(e)k(shells.)630 5011 y Fs(checkhash)1110 +5121 y Ft(If)29 b(this)h(is)g(set,)g(Bash)g(c)m(hec)m(ks)h(that)g(a)f +(command)f(found)g(in)g(the)h(hash)f(table)1110 5230 y(exists)k(b)s(efore)f(trying)h(to)h(execute)g(it.)48 -b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 1217 -y(exists,)f(a)g(normal)f(path)g(searc)m(h)h(is)g(p)s(erformed.)630 -1369 y Fs(checkjobs)1110 1478 y Ft(If)d(set,)i(Bash)e(lists)h(the)g -(status)g(of)f(an)m(y)h(stopp)s(ed)f(and)g(running)e(jobs)i(b)s(efore) -1110 1588 y(exiting)42 b(an)f(in)m(teractiv)m(e)j(shell.)72 -b(If)41 b(an)m(y)g(jobs)f(are)i(running,)g(this)f(causes)1110 -1697 y(the)30 b(exit)g(to)g(b)s(e)f(deferred)g(un)m(til)h(a)f(second)h -(exit)g(is)g(attempted)h(without)e(an)1110 1807 y(in)m(terv)m(ening)j +b(If)32 b(a)h(hashed)e(command)i(no)f(longer)1110 5340 +y(exists,)f(a)g(normal)f(path)g(searc)m(h)h(is)g(p)s(erformed.)p +eop end +%%Page: 55 61 +TeXDict begin 55 60 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(55)630 299 y Fs(checkjobs)1110 +408 y Ft(If)28 b(set,)i(Bash)e(lists)h(the)g(status)g(of)f(an)m(y)h +(stopp)s(ed)f(and)g(running)e(jobs)i(b)s(efore)1110 518 +y(exiting)42 b(an)f(in)m(teractiv)m(e)j(shell.)72 b(If)41 +b(an)m(y)g(jobs)f(are)i(running,)g(this)f(causes)1110 +628 y(the)30 b(exit)g(to)g(b)s(e)f(deferred)g(un)m(til)h(a)f(second)h +(exit)g(is)g(attempted)h(without)e(an)1110 737 y(in)m(terv)m(ening)j (command)e(\(see)h(Chapter)f(7)h([Job)f(Con)m(trol],)i(page)f(87\).)42 -b(The)1110 1917 y(shell)31 b(alw)m(a)m(ys)g(p)s(ostp)s(ones)f(exiting)h -(if)g(an)m(y)f(jobs)g(are)h(stopp)s(ed.)630 2068 y Fs(checkwinsize)1110 -2178 y Ft(If)41 b(set,)k(Bash)c(c)m(hec)m(ks)i(the)f(windo)m(w)e(size)j -(after)f(eac)m(h)g(command)f(and,)j(if)1110 2287 y(necessary)-8 +b(The)1110 847 y(shell)31 b(alw)m(a)m(ys)g(p)s(ostp)s(ones)f(exiting)h +(if)g(an)m(y)f(jobs)g(are)h(stopp)s(ed.)630 1009 y Fs(checkwinsize)1110 +1118 y Ft(If)41 b(set,)k(Bash)c(c)m(hec)m(ks)i(the)f(windo)m(w)e(size)j +(after)f(eac)m(h)g(command)f(and,)j(if)1110 1228 y(necessary)-8 b(,)31 b(up)s(dates)f(the)g(v)-5 b(alues)31 b(of)g Fs(LINES)e -Ft(and)g Fs(COLUMNS)p Ft(.)630 2438 y Fs(cmdhist)144 +Ft(and)g Fs(COLUMNS)p Ft(.)630 1390 y Fs(cmdhist)144 b Ft(If)33 b(set,)j(Bash)e(attempts)h(to)g(sa)m(v)m(e)g(all)g(lines)f -(of)g(a)h(m)m(ultiple-line)g(command)1110 2548 y(in)c(the)g(same)g +(of)g(a)h(m)m(ultiple-line)g(command)1110 1499 y(in)c(the)g(same)g (history)g(en)m(try)-8 b(.)42 b(This)30 b(allo)m(ws)i(easy)g -(re-editing)g(of)f(m)m(ulti-line)1110 2658 y(commands.)630 -2809 y Fs(compat31)96 b Ft(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s +(re-editing)g(of)f(m)m(ulti-line)1110 1609 y(commands.)630 +1771 y Fs(compat31)96 b Ft(If)27 b(set,)i(Bash)e(c)m(hanges)i(its)f(b)s (eha)m(vior)f(to)i(that)f(of)f(v)m(ersion)h(3.1)h(with)e(resp)s(ect) -1110 2919 y(to)k(quoted)g(argumen)m(ts)f(to)h(the)g(conditional)h -(command's)e(=)p Fs(~)g Ft(op)s(erator.)630 3070 y Fs(dotglob)144 -b Ft(If)27 b(set,)i(Bash)f(includes)g(\014lenames)g(b)s(eginning)f -(with)g(a)h(`.')41 b(in)27 b(the)h(results)g(of)1110 -3180 y(\014lename)j(expansion.)630 3331 y Fs(execfail)96 -b Ft(If)24 b(this)h(is)f(set,)j(a)e(non-in)m(teractiv)m(e)i(shell)e -(will)f(not)h(exit)h(if)e(it)h(cannot)h(execute)1110 -3440 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to)h -(the)f Fs(exec)f Ft(builtin)h(command.)39 b(An)1110 3550 -y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e -Fs(exec)f Ft(fails.)630 3701 y Fs(expand_aliases)1110 -3811 y Ft(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b) -s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 3921 y(tion)38 +1110 1880 y(to)k(quoted)g(argumen)m(ts)f(to)h(the)g(conditional)h +(command's)e(=)p Fs(~)g Ft(op)s(erator.)630 2042 y Fs(dirspell)96 +b Ft(If)26 b(set,)i(Bash)f(attempts)g(sp)s(elling)g(correction)g(on)g +(directory)g(names)f(during)1110 2151 y(w)m(ord)36 b(completion)h(if)f +(the)g(directory)g(name)g(initially)h(supplied)e(do)s(es)h(not)1110 +2261 y(exist.)630 2423 y Fs(dotglob)144 b Ft(If)27 b(set,)i(Bash)f +(includes)g(\014lenames)g(b)s(eginning)f(with)g(a)h(`.')41 +b(in)27 b(the)h(results)g(of)1110 2532 y(\014lename)j(expansion.)630 +2694 y Fs(execfail)96 b Ft(If)24 b(this)h(is)f(set,)j(a)e(non-in)m +(teractiv)m(e)i(shell)e(will)f(not)h(exit)h(if)e(it)h(cannot)h(execute) +1110 2804 y(the)i(\014le)g(sp)s(eci\014ed)g(as)g(an)g(argumen)m(t)g(to) +h(the)f Fs(exec)f Ft(builtin)h(command.)39 b(An)1110 +2913 y(in)m(teractiv)m(e)33 b(shell)e(do)s(es)f(not)g(exit)i(if)e +Fs(exec)f Ft(fails.)630 3075 y Fs(expand_aliases)1110 +3185 y Ft(If)j(set,)h(aliases)g(are)g(expanded)e(as)h(describ)s(ed)f(b) +s(elo)m(w)h(under)f(Aliases,)i(Sec-)1110 3294 y(tion)38 b(6.6)h([Aliases],)j(page)d(77.)64 b(This)37 b(option)h(is)g(enabled)g -(b)m(y)g(default)g(for)1110 4030 y(in)m(teractiv)m(e)33 -b(shells.)630 4181 y Fs(extdebug)96 b Ft(If)30 b(set,)h(b)s(eha)m(vior) +(b)m(y)g(default)g(for)1110 3404 y(in)m(teractiv)m(e)33 +b(shells.)630 3566 y Fs(extdebug)96 b Ft(If)30 b(set,)h(b)s(eha)m(vior) g(in)m(tended)f(for)g(use)g(b)m(y)g(debuggers)g(is)h(enabled:)1159 -4312 y(1.)61 b(The)32 b(`)p Fs(-F)p Ft(')g(option)h(to)g(the)g +3701 y(1.)61 b(The)32 b(`)p Fs(-F)p Ft(')g(option)h(to)g(the)g Fs(declare)d Ft(builtin)i(\(see)i(Section)f(4.2)h([Bash)1290 -4422 y(Builtins],)29 b(page)g(41\))g(displa)m(ys)f(the)g(source)h -(\014le)f(name)g(and)f(line)h(n)m(um-)1290 4531 y(b)s(er)h(corresp)s +3811 y(Builtins],)29 b(page)g(41\))g(displa)m(ys)f(the)g(source)h +(\014le)f(name)g(and)f(line)h(n)m(um-)1290 3921 y(b)s(er)h(corresp)s (onding)g(to)i(eac)m(h)g(function)f(name)g(supplied)f(as)i(an)f(argu-) -1290 4641 y(men)m(t.)1159 4771 y(2.)61 b(If)20 b(the)h(command)g(run)e +1290 4030 y(men)m(t.)1159 4166 y(2.)61 b(If)20 b(the)h(command)g(run)e (b)m(y)i(the)f Fs(DEBUG)g Ft(trap)g(returns)g(a)h(non-zero)g(v)-5 -b(alue,)1290 4881 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g -(not)i(executed.)1159 5011 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m +b(alue,)1290 4275 y(the)31 b(next)f(command)g(is)h(skipp)s(ed)e(and)g +(not)i(executed.)1159 4411 y(3.)61 b(If)37 b(the)g(command)g(run)f(b)m (y)i(the)f Fs(DEBUG)f Ft(trap)h(returns)f(a)i(v)-5 b(alue)38 -b(of)f(2,)1290 5121 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h -(subroutine)e(\(a)i(shell)g(function)f(or)1290 5230 y(a)h(shell)h +b(of)f(2,)1290 4521 y(and)c(the)g(shell)h(is)f(executing)i(in)e(a)h +(subroutine)e(\(a)i(shell)g(function)f(or)1290 4630 y(a)h(shell)h (script)f(executed)h(b)m(y)f(the)g Fs(.)g Ft(or)g Fs(source)e -Ft(builtins\),)j(a)g(call)g(to)1290 5340 y Fs(return)29 -b Ft(is)h(sim)m(ulated.)p eop end -%%Page: 55 61 -TeXDict begin 55 60 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(55)1159 299 y(4.)61 -b Fs(BASH_ARGC)34 b Ft(and)i Fs(BASH_ARGV)e Ft(are)j(up)s(dated)e(as)h -(describ)s(ed)g(in)g(their)1290 408 y(descriptions)30 -b(\(see)i(Section)f(5.2)g([Bash)g(V)-8 b(ariables],)32 -b(page)f(59\).)1159 551 y(5.)61 b(F)-8 b(unction)57 b(tracing)g(is)g -(enabled:)93 b(command)56 b(substitution,)63 b(shell)1290 -661 y(functions,)30 b(and)f(subshells)g(in)m(v)m(ok)m(ed)j(with)d -Fs(\()h Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 -770 y Fs(DEBUG)f Ft(and)h Fs(RETURN)e Ft(traps.)1159 -913 y(6.)61 b(Error)74 b(tracing)i(is)f(enabled:)131 -b(command)74 b(substitution,)87 b(shell)1290 1022 y(functions,)30 +Ft(builtins\),)j(a)g(call)g(to)1290 4740 y Fs(return)29 +b Ft(is)h(sim)m(ulated.)1159 4876 y(4.)61 b Fs(BASH_ARGC)34 +b Ft(and)i Fs(BASH_ARGV)e Ft(are)j(up)s(dated)e(as)h(describ)s(ed)g(in) +g(their)1290 4985 y(descriptions)30 b(\(see)i(Section)f(5.2)g([Bash)g +(V)-8 b(ariables],)32 b(page)f(59\).)1159 5121 y(5.)61 +b(F)-8 b(unction)57 b(tracing)g(is)g(enabled:)93 b(command)56 +b(substitution,)63 b(shell)1290 5230 y(functions,)30 b(and)f(subshells)g(in)m(v)m(ok)m(ed)j(with)d Fs(\()h -Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 1132 -y Fs(ERROR)f Ft(trap.)630 1307 y Fs(extglob)144 b Ft(If)26 -b(set,)i(the)f(extended)f(pattern)h(matc)m(hing)g(features)g(describ)s -(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 1417 y(Section)j(3.5.8.1)i([P)m -(attern)f(Matc)m(hing],)g(page)f(24\))h(are)f(enabled.)630 -1592 y Fs(extquote)96 b Ft(If)49 b(set,)54 b Fs($')p -Fj(string)11 b Fs(')46 b Ft(and)j Fs($")p Fj(string)11 -b Fs(")46 b Ft(quoting)k(is)f(p)s(erformed)e(within)1110 -1702 y Fs(${)p Fj(parameter)11 b Fs(})30 b Ft(expansions)j(enclosed)h -(in)g(double)f(quotes.)51 b(This)32 b(option)1110 1811 -y(is)e(enabled)h(b)m(y)f(default.)630 1987 y Fs(failglob)96 -b Ft(If)30 b(set,)g(patterns)g(whic)m(h)g(fail)h(to)g(matc)m(h)g -(\014lenames)f(during)e(pathname)i(ex-)1110 2096 y(pansion)g(result)g -(in)g(an)g(expansion)h(error.)630 2271 y Fs(force_fignore)1110 -2381 y Ft(If)43 b(set,)k(the)d(su\016xes)f(sp)s(eci\014ed)f(b)m(y)i -(the)f Fs(FIGNORE)f Ft(shell)h(v)-5 b(ariable)44 b(cause)1110 -2491 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h(when)f(p)s(erforming)f(w)m -(ord)h(completion)i(ev)m(en)f(if)g(the)1110 2600 y(ignored)37 -b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g(completions.)62 -b(See)37 b(Section)h(5.2)1110 2710 y([Bash)24 b(V)-8 -b(ariables],)27 b(page)e(59,)h(for)d(a)h(description)g(of)g -Fs(FIGNORE)p Ft(.)37 b(This)22 b(option)1110 2819 y(is)30 -b(enabled)h(b)m(y)f(default.)630 2995 y Fs(gnu_errfmt)1110 -3104 y Ft(If)35 b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in) -h(the)g(standard)f Fl(gnu)g Ft(error)1110 3214 y(message)c(format.)630 -3389 y Fs(histappend)1110 3499 y Ft(If)c(set,)j(the)e(history)g(list)g +Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 5340 +y Fs(DEBUG)f Ft(and)h Fs(RETURN)e Ft(traps.)p eop end +%%Page: 56 62 +TeXDict begin 56 61 bop 150 -116 a Ft(56)2572 b(Bash)31 +b(Reference)g(Man)m(ual)1159 299 y(6.)61 b(Error)74 b(tracing)i(is)f +(enabled:)131 b(command)74 b(substitution,)87 b(shell)1290 +408 y(functions,)30 b(and)f(subshells)g(in)m(v)m(ok)m(ed)j(with)d +Fs(\()h Fj(command)39 b Fs(\))30 b Ft(inherit)g(the)1290 +518 y Fs(ERROR)f Ft(trap.)630 667 y Fs(extglob)144 b +Ft(If)26 b(set,)i(the)f(extended)f(pattern)h(matc)m(hing)g(features)g +(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)1110 777 y(Section)j(3.5.8.1)i +([P)m(attern)f(Matc)m(hing],)g(page)f(24\))h(are)f(enabled.)630 +927 y Fs(extquote)96 b Ft(If)49 b(set,)54 b Fs($')p Fj(string)11 +b Fs(')46 b Ft(and)j Fs($")p Fj(string)11 b Fs(")46 b +Ft(quoting)k(is)f(p)s(erformed)e(within)1110 1036 y Fs(${)p +Fj(parameter)11 b Fs(})30 b Ft(expansions)j(enclosed)h(in)g(double)f +(quotes.)51 b(This)32 b(option)1110 1146 y(is)e(enabled)h(b)m(y)f +(default.)630 1295 y Fs(failglob)96 b Ft(If)30 b(set,)g(patterns)g +(whic)m(h)g(fail)h(to)g(matc)m(h)g(\014lenames)f(during)e(pathname)i +(ex-)1110 1405 y(pansion)g(result)g(in)g(an)g(expansion)h(error.)630 +1554 y Fs(force_fignore)1110 1664 y Ft(If)43 b(set,)k(the)d(su\016xes)f +(sp)s(eci\014ed)f(b)m(y)i(the)f Fs(FIGNORE)f Ft(shell)h(v)-5 +b(ariable)44 b(cause)1110 1773 y(w)m(ords)31 b(to)h(b)s(e)f(ignored)h +(when)f(p)s(erforming)f(w)m(ord)h(completion)i(ev)m(en)f(if)g(the)1110 +1883 y(ignored)37 b(w)m(ords)g(are)g(the)h(only)f(p)s(ossible)g +(completions.)62 b(See)37 b(Section)h(5.2)1110 1993 y([Bash)24 +b(V)-8 b(ariables],)27 b(page)e(59,)h(for)d(a)h(description)g(of)g +Fs(FIGNORE)p Ft(.)37 b(This)22 b(option)1110 2102 y(is)30 +b(enabled)h(b)m(y)f(default.)630 2252 y Fs(globstar)96 +b Ft(If)38 b(set,)j(the)e(pattern)f(`)p Fs(**)p Ft(')h(used)e(in)i(a)f +(\014lename)h(expansion)f(con)m(text)j(will)1110 2361 +y(matc)m(h)f(a)g(\014les)f(and)f(zero)i(or)g(more)f(directories)h(and)f +(sub)s(directories.)66 b(If)1110 2471 y(the)30 b(pattern)g(is)g(follo)m +(w)m(ed)i(b)m(y)d(a)i(`)p Fs(/)p Ft(',)f(only)g(directories)h(and)f +(sub)s(directories)1110 2580 y(matc)m(h.)630 2730 y Fs(gnu_errfmt)1110 +2839 y Ft(If)35 b(set,)j(shell)e(error)g(messages)g(are)h(written)e(in) +h(the)g(standard)f Fl(gnu)g Ft(error)1110 2949 y(message)c(format.)630 +3098 y Fs(histappend)1110 3208 y Ft(If)c(set,)j(the)e(history)g(list)g (is)g(app)s(ended)e(to)j(the)f(\014le)g(named)f(b)m(y)h(the)g(v)-5 -b(alue)29 b(of)1110 3608 y(the)d Fs(HISTFILE)d Ft(v)-5 +b(alue)29 b(of)1110 3318 y(the)d Fs(HISTFILE)d Ft(v)-5 b(ariable)26 b(when)e(the)h(shell)h(exits,)h(rather)e(than)h(o)m(v)m -(erwriting)1110 3718 y(the)31 b(\014le.)630 3893 y Fs(histreedit)1110 -4003 y Ft(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g +(erwriting)1110 3427 y(the)31 b(\014le.)630 3577 y Fs(histreedit)1110 +3686 y Ft(If)i(set,)h(and)f(Readline)h(is)f(b)s(eing)g(used,)g(a)g (user)g(is)g(giv)m(en)h(the)g(opp)s(ortunit)m(y)1110 -4113 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630 -4288 y Fs(histverify)1110 4398 y Ft(If)35 b(set,)i(and)e(Readline)h(is) +3796 y(to)d(re-edit)g(a)g(failed)g(history)f(substitution.)630 +3945 y Fs(histverify)1110 4055 y Ft(If)35 b(set,)i(and)e(Readline)h(is) f(b)s(eing)g(used,)h(the)f(results)g(of)g(history)h(substitu-)1110 -4507 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g -(parser.)59 b(Instead,)38 b(the)1110 4617 y(resulting)i(line)f(is)h +4164 y(tion)h(are)g(not)g(immediately)h(passed)e(to)h(the)g(shell)g +(parser.)59 b(Instead,)38 b(the)1110 4274 y(resulting)i(line)f(is)h (loaded)g(in)m(to)g(the)g(Readline)g(editing)g(bu\013er,)h(allo)m(wing) -1110 4726 y(further)29 b(mo)s(di\014cation.)630 4902 -y Fs(hostcomplete)1110 5011 y Ft(If)38 b(set,)j(and)c(Readline)i(is)f +1110 4384 y(further)29 b(mo)s(di\014cation.)630 4533 +y Fs(hostcomplete)1110 4643 y Ft(If)38 b(set,)j(and)c(Readline)i(is)f (b)s(eing)g(used,)h(Bash)g(will)f(attempt)h(to)g(p)s(erform)1110 -5121 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f -(`)p Fs(@)p Ft(')g(is)g(b)s(eing)f(com-)1110 5230 y(pleted)g(\(see)h +4752 y(hostname)d(completion)h(when)e(a)h(w)m(ord)f(con)m(taining)i(a)f +(`)p Fs(@)p Ft(')g(is)g(b)s(eing)f(com-)1110 4862 y(pleted)g(\(see)h (Section)f(8.4.6)i([Commands)d(F)-8 b(or)36 b(Completion],)g(page)g -(107\).)1110 5340 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.) -p eop end -%%Page: 56 62 -TeXDict begin 56 61 bop 150 -116 a Ft(56)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(huponexit)1110 408 -y Ft(If)h(set,)i(Bash)f(will)h(send)d Fs(SIGHUP)h Ft(to)h(all)h(jobs)e -(when)g(an)g(in)m(teractiv)m(e)k(login)1110 518 y(shell)31 -b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g(page)f(32\).)630 -667 y Fs(interactive_comments)1110 777 y Ft(Allo)m(w)c(a)g(w)m(ord)e(b) -s(eginning)g(with)h(`)p Fs(#)p Ft(')g(to)h(cause)f(that)h(w)m(ord)f -(and)f(all)i(remain-)1110 887 y(ing)41 b(c)m(haracters)i(on)e(that)h -(line)g(to)g(b)s(e)f(ignored)g(in)g(an)g(in)m(teractiv)m(e)j(shell.) -1110 996 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)630 -1146 y Fs(lithist)144 b Ft(If)22 b(enabled,)i(and)d(the)h +(108\).)1110 4971 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.) +630 5121 y Fs(huponexit)1110 5230 y Ft(If)i(set,)i(Bash)f(will)h(send)d +Fs(SIGHUP)h Ft(to)h(all)h(jobs)e(when)g(an)g(in)m(teractiv)m(e)k(login) +1110 5340 y(shell)31 b(exits)g(\(see)g(Section)g(3.7.6)h([Signals],)g +(page)f(32\).)p eop end +%%Page: 57 63 +TeXDict begin 57 62 bop 150 -116 a Ft(Chapter)30 b(4:)41 +b(Shell)30 b(Builtin)h(Commands)2069 b(57)630 299 y Fs +(interactive_comments)1110 408 y Ft(Allo)m(w)27 b(a)g(w)m(ord)e(b)s +(eginning)g(with)h(`)p Fs(#)p Ft(')g(to)h(cause)f(that)h(w)m(ord)f(and) +f(all)i(remain-)1110 518 y(ing)41 b(c)m(haracters)i(on)e(that)h(line)g +(to)g(b)s(e)f(ignored)g(in)g(an)g(in)m(teractiv)m(e)j(shell.)1110 +628 y(This)30 b(option)g(is)h(enabled)f(b)m(y)g(default.)630 +777 y Fs(lithist)144 b Ft(If)22 b(enabled,)i(and)d(the)h Fs(cmdhist)e Ft(option)j(is)f(enabled,)i(m)m(ulti-line)f(commands)1110 -1255 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s -(edded)g(newlines)h(rather)g(than)f(using)1110 1365 y(semicolon)32 -b(separators)f(where)e(p)s(ossible.)630 1514 y Fs(login_shell)1110 -1624 y Ft(The)35 b(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f +887 y(are)28 b(sa)m(v)m(ed)h(to)g(the)f(history)g(with)f(em)m(b)s +(edded)g(newlines)h(rather)g(than)f(using)1110 996 y(semicolon)32 +b(separators)f(where)e(p)s(ossible.)630 1146 y Fs(login_shell)1110 +1255 y Ft(The)35 b(shell)h(sets)g(this)f(option)h(if)g(it)g(is)f (started)h(as)g(a)g(login)g(shell)g(\(see)g(Sec-)1110 -1733 y(tion)29 b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(69\).)41 +1365 y(tion)29 b(6.1)g([In)m(v)m(oking)h(Bash],)f(page)g(69\).)41 b(The)28 b(v)-5 b(alue)29 b(ma)m(y)g(not)f(b)s(e)g(c)m(hanged.)630 -1883 y Fs(mailwarn)96 b Ft(If)34 b(set,)i(and)e(a)h(\014le)g(that)g +1514 y Fs(mailwarn)96 b Ft(If)34 b(set,)i(and)e(a)h(\014le)g(that)g (Bash)f(is)h(c)m(hec)m(king)h(for)f(mail)g(has)f(b)s(een)g(accessed) -1110 1993 y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m +1110 1624 y(since)24 b(the)h(last)g(time)f(it)h(w)m(as)f(c)m(hec)m(k)m (ed,)k(the)c(message)h Fs("The)k(mail)h(in)f Fj(mail-)1110 -2102 y(file)40 b Fs(has)29 b(been)g(read")g Ft(is)i(displa)m(y)m(ed.) -630 2252 y Fs(no_empty_cmd_completion)1110 2361 y Ft(If)f(set,)g(and)g +1733 y(file)40 b Fs(has)29 b(been)g(read")g Ft(is)i(displa)m(y)m(ed.) +630 1883 y Fs(no_empty_cmd_completion)1110 1993 y Ft(If)f(set,)g(and)g (Readline)g(is)h(b)s(eing)e(used,)h(Bash)g(will)g(not)g(attempt)i(to)e -(searc)m(h)1110 2471 y(the)25 b Fs(PATH)f Ft(for)h(p)s(ossible)f +(searc)m(h)1110 2102 y(the)25 b Fs(PATH)f Ft(for)h(p)s(ossible)f (completions)j(when)d(completion)i(is)f(attempted)h(on)1110 -2580 y(an)k(empt)m(y)h(line.)630 2730 y Fs(nocaseglob)1110 -2839 y Ft(If)38 b(set,)k(Bash)d(matc)m(hes)g(\014lenames)g(in)f(a)h -(case-insensitiv)m(e)j(fashion)c(when)1110 2949 y(p)s(erforming)29 -b(\014lename)i(expansion.)630 3098 y Fs(nocasematch)1110 -3208 y Ft(If)42 b(set,)k(Bash)d(matc)m(hes)g(patterns)g(in)f(a)h -(case-insensitiv)m(e)i(fashion)d(when)1110 3318 y(p)s(erforming)31 +2212 y(an)k(empt)m(y)h(line.)630 2361 y Fs(nocaseglob)1110 +2471 y Ft(If)38 b(set,)k(Bash)d(matc)m(hes)g(\014lenames)g(in)f(a)h +(case-insensitiv)m(e)j(fashion)c(when)1110 2580 y(p)s(erforming)29 +b(\014lename)i(expansion.)630 2730 y Fs(nocasematch)1110 +2839 y Ft(If)42 b(set,)k(Bash)d(matc)m(hes)g(patterns)g(in)f(a)h +(case-insensitiv)m(e)i(fashion)d(when)1110 2949 y(p)s(erforming)31 b(matc)m(hing)i(while)f(executing)i Fs(case)d Ft(or)h -Fs([[)g Ft(conditional)h(com-)1110 3427 y(mands.)630 -3577 y Fs(nullglob)96 b Ft(If)23 b(set,)j(Bash)e(allo)m(ws)g +Fs([[)g Ft(conditional)h(com-)1110 3059 y(mands.)630 +3208 y Fs(nullglob)96 b Ft(If)23 b(set,)j(Bash)e(allo)m(ws)g (\014lename)g(patterns)g(whic)m(h)f(matc)m(h)h(no)g(\014les)f(to)i -(expand)1110 3686 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g -(themselv)m(es.)630 3836 y Fs(progcomp)96 b Ft(If)25 +(expand)1110 3318 y(to)31 b(a)g(n)m(ull)f(string,)h(rather)f(than)g +(themselv)m(es.)630 3467 y Fs(progcomp)96 b Ft(If)25 b(set,)i(the)f(programmable)g(completion)g(facilities)i(\(see)f -(Section)f(8.6)h([Pro-)1110 3945 y(grammable)45 b(Completion],)k(page)c -(111\))h(are)f(enabled.)82 b(This)44 b(option)h(is)1110 -4055 y(enabled)30 b(b)m(y)h(default.)630 4204 y Fs(promptvars)1110 -4314 y Ft(If)24 b(set,)i(prompt)d(strings)h(undergo)f(parameter)i -(expansion,)g(command)f(sub-)1110 4423 y(stitution,)34 +(Section)f(8.6)h([Pro-)1110 3577 y(grammable)45 b(Completion],)k(page)c +(112\))h(are)f(enabled.)82 b(This)44 b(option)h(is)1110 +3686 y(enabled)30 b(b)m(y)h(default.)630 3836 y Fs(promptvars)1110 +3945 y Ft(If)24 b(set,)i(prompt)d(strings)h(undergo)f(parameter)i +(expansion,)g(command)f(sub-)1110 4055 y(stitution,)34 b(arithmetic)f(expansion,)g(and)e(quote)i(remo)m(v)-5 -b(al)33 b(after)g(b)s(eing)e(ex-)1110 4533 y(panded)39 +b(al)33 b(after)g(b)s(eing)e(ex-)1110 4164 y(panded)39 b(as)i(describ)s(ed)e(b)s(elo)m(w)i(\(see)g(Section)g(6.9)g([Prin)m -(ting)g(a)g(Prompt],)1110 4643 y(page)31 b(81\).)42 b(This)30 -b(option)g(is)h(enabled)f(b)m(y)g(default.)630 4792 y -Fs(restricted_shell)1110 4902 y Ft(The)40 b(shell)h(sets)g(this)g +(ting)g(a)g(Prompt],)1110 4274 y(page)31 b(81\).)42 b(This)30 +b(option)g(is)h(enabled)f(b)m(y)g(default.)630 4423 y +Fs(restricted_shell)1110 4533 y Ft(The)40 b(shell)h(sets)g(this)g (option)g(if)g(it)h(is)e(started)i(in)e(restricted)i(mo)s(de)e(\(see) -1110 5011 y(Section)c(6.10)g([The)f(Restricted)g(Shell],)i(page)e +1110 4643 y(Section)c(6.10)g([The)f(Restricted)g(Shell],)i(page)e (82\).)56 b(The)34 b(v)-5 b(alue)35 b(ma)m(y)h(not)1110 -5121 y(b)s(e)c(c)m(hanged.)49 b(This)32 b(is)h(not)h(reset)f(when)f -(the)h(startup)g(\014les)f(are)i(executed,)1110 5230 +4752 y(b)s(e)c(c)m(hanged.)49 b(This)32 b(is)h(not)h(reset)f(when)f +(the)h(startup)g(\014les)f(are)i(executed,)1110 4862 y(allo)m(wing)k(the)e(startup)f(\014les)h(to)g(disco)m(v)m(er)h -(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 5340 -y(stricted.)p eop end -%%Page: 57 63 -TeXDict begin 57 62 bop 150 -116 a Ft(Chapter)30 b(4:)41 -b(Shell)30 b(Builtin)h(Commands)2069 b(57)630 299 y Fs(shift_verbose) -1110 408 y Ft(If)36 b(this)g(is)g(set,)j(the)d Fs(shift)f -Ft(builtin)h(prin)m(ts)f(an)h(error)g(message)i(when)d(the)1110 -518 y(shift)30 b(coun)m(t)h(exceeds)g(the)g(n)m(um)m(b)s(er)e(of)h(p)s -(ositional)i(parameters.)630 677 y Fs(sourcepath)1110 -787 y Ft(If)22 b(set,)j(the)e Fs(source)e Ft(builtin)h(uses)g(the)h(v) +(whether)f(or)f(not)i(a)f(shell)g(is)g(re-)1110 4971 +y(stricted.)630 5121 y Fs(shift_verbose)1110 5230 y Ft(If)g(this)g(is)g +(set,)j(the)d Fs(shift)f Ft(builtin)h(prin)m(ts)f(an)h(error)g(message) +i(when)d(the)1110 5340 y(shift)30 b(coun)m(t)h(exceeds)g(the)g(n)m(um)m +(b)s(er)e(of)h(p)s(ositional)i(parameters.)p eop end +%%Page: 58 64 +TeXDict begin 58 63 bop 150 -116 a Ft(58)2572 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y Fs(sourcepath)1110 +408 y Ft(If)22 b(set,)j(the)e Fs(source)e Ft(builtin)h(uses)g(the)h(v) -5 b(alue)23 b(of)g Fs(PATH)e Ft(to)j(\014nd)d(the)h(directory)1110 -897 y(con)m(taining)29 b(the)e(\014le)h(supplied)e(as)h(an)g(argumen)m -(t.)40 b(This)27 b(option)h(is)f(enabled)1110 1006 y(b)m(y)j(default.) -630 1166 y Fs(xpg_echo)96 b Ft(If)31 b(set,)h(the)g Fs(echo)e +518 y(con)m(taining)29 b(the)e(\014le)h(supplied)e(as)h(an)g(argumen)m +(t.)40 b(This)27 b(option)h(is)f(enabled)1110 628 y(b)m(y)j(default.) +630 787 y Fs(xpg_echo)96 b Ft(If)31 b(set,)h(the)g Fs(echo)e Ft(builtin)h(expands)f(bac)m(kslash-escap)s(e)j(sequences)f(b)m(y)f -(de-)1110 1275 y(fault.)630 1435 y(The)c(return)f(status)i(when)f +(de-)1110 897 y(fault.)630 1056 y(The)c(return)f(status)i(when)f (listing)h(options)g(is)f(zero)i(if)e(all)i Fq(optnames)i -Ft(are)d(enabled,)g(non-)630 1544 y(zero)40 b(otherwise.)66 +Ft(are)d(enabled,)g(non-)630 1166 y(zero)40 b(otherwise.)66 b(When)39 b(setting)h(or)f(unsetting)g(options,)i(the)e(return)f -(status)h(is)g(zero)630 1654 y(unless)30 b(an)g Fq(optname)36 +(status)h(is)g(zero)630 1275 y(unless)30 b(an)g Fq(optname)36 b Ft(is)30 b(not)h(a)g(v)-5 b(alid)30 b(shell)h(option.)150 -1911 y Fr(4.4)68 b(Sp)t(ecial)45 b(Builtins)275 2155 +1533 y Fr(4.4)68 b(Sp)t(ecial)45 b(Builtins)275 1777 y Ft(F)-8 b(or)40 b(historical)i(reasons,)g(the)f Fl(posix)e Ft(standard)g(has)h(classi\014ed)g(sev)m(eral)i(builtin)d(commands)h -(as)150 2265 y Fm(sp)-5 b(e)g(cial)p Ft(.)84 b(When)44 +(as)150 1886 y Fm(sp)-5 b(e)g(cial)p Ft(.)84 b(When)44 b(Bash)g(is)g(executing)i(in)d Fl(posix)h Ft(mo)s(de,)j(the)e(sp)s -(ecial)f(builtins)g(di\013er)g(from)g(other)150 2374 +(ecial)f(builtins)g(di\013er)g(from)g(other)150 1996 y(builtin)30 b(commands)g(in)g(three)h(resp)s(ects:)199 -2509 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h +2130 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h (shell)h(functions)f(during)f(command)h(lo)s(okup.)199 -2643 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error) +2265 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error) g(status,)h(a)g(non-in)m(teractiv)m(e)i(shell)d(exits.)199 -2778 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f +2399 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f (command)g(sta)m(y)i(in)e(e\013ect)i(in)e(the)h(shell)f(en)m(vironmen)m -(t)330 2888 y(after)i(the)f(command)h(completes.)275 -3047 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fl(posix)f +(t)330 2509 y(after)i(the)f(command)h(completes.)275 +2668 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fl(posix)f Ft(mo)s(de,)j(these)f(builtins)f(b)s(eha)m(v)m(e)h(no)f(di\013eren)m -(tly)h(than)150 3156 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e +(tly)h(than)150 2778 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e (commands.)41 b(The)30 b(Bash)g Fl(posix)g Ft(mo)s(de)g(is)g(describ)s -(ed)f(in)h(Section)h(6.11)150 3266 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g -(82.)275 3401 y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h -(builtins:)390 3535 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h -(exit)g(export)f(readonly)f(return)h(set)390 3645 y(shift)g(trap)h +(ed)f(in)h(Section)h(6.11)150 2888 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g +(82.)275 3022 y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h +(builtins:)390 3156 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h +(exit)g(export)f(readonly)f(return)h(set)390 3266 y(shift)g(trap)h (unset)p eop end -%%Page: 58 64 -TeXDict begin 58 63 bop 150 -116 a Ft(58)2572 b(Bash)31 -b(Reference)g(Man)m(ual)p eop end %%Page: 59 65 TeXDict begin 59 64 bop 150 -116 a Ft(Chapter)30 b(5:)41 b(Shell)30 b(V)-8 b(ariables)2459 b(59)150 299 y Fo(5)80 @@ -8992,7 +9110,7 @@ b(The)25 b(n)m(um)m(b)s(er)g(of)h(parameters)g(to)g(the)g(curren)m(t) 1217 y(is)g(pushed)f(on)m(to)i Fs(BASH_ARGC)p Ft(.)59 b(The)37 b(shell)g(sets)h Fs(BASH_ARGC)c Ft(only)k(when)e(in)h (extended)630 1326 y(debugging)23 b(mo)s(de)f(\(see)h(Section)g(4.3.2)i -([The)d(Shopt)g(Builtin],)j(page)e(53)h(for)e(a)h(description)630 +([The)d(Shopt)g(Builtin],)j(page)e(54)h(for)e(a)h(description)630 1436 y(of)31 b(the)f Fs(extdebug)e Ft(option)j(to)g(the)g Fs(shopt)e Ft(builtin\).)150 1587 y Fs(BASH_ARGV)630 1696 y Ft(An)24 b(arra)m(y)g(v)-5 b(ariable)25 b(con)m(taining)h(all)f @@ -9005,7 +9123,7 @@ Fs(shopt)e Ft(builtin\).)150 1587 y Fs(BASH_ARGV)630 (on)m(to)i Fs(BASH_ARGV)p Ft(.)66 b(The)40 b(shell)630 2134 y(sets)28 b Fs(BASH_ARGV)e Ft(only)i(when)f(in)h(extended)g (debugging)g(mo)s(de)g(\(see)h(Section)f(4.3.2)i([The)630 -2244 y(Shopt)i(Builtin],)h(page)g(53)g(for)f(a)h(description)f(of)h +2244 y(Shopt)i(Builtin],)h(page)g(54)g(for)f(a)h(description)f(of)h (the)f Fs(extdebug)e Ft(option)j(to)g(the)f Fs(shopt)630 2354 y Ft(builtin\).)150 2504 y Fs(BASH_COMMAND)630 2614 y Ft(The)39 b(command)h(curren)m(tly)g(b)s(eing)f(executed)i(or)e(ab)s @@ -9081,13 +9199,13 @@ Fs(${COMP_WORDS})c Ft(of)k(the)g(w)m(ord)f(con)m(taining)i(the)e b(v)-5 b(ariable)41 b(is)f(a)m(v)-5 b(ailable)43 b(only)e(in)f(shell)h (functions)f(in)m(v)m(ok)m(ed)i(b)m(y)e(the)h(pro-)630 3654 y(grammable)36 b(completion)g(facilities)i(\(see)e(Section)g(8.6)g -([Programmable)g(Completion],)630 3764 y(page)31 b(111\).)150 +([Programmable)g(Completion],)630 3764 y(page)31 b(112\).)150 3924 y Fs(COMP_LINE)630 4033 y Ft(The)38 b(curren)m(t)h(command)f (line.)66 b(This)37 b(v)-5 b(ariable)40 b(is)f(a)m(v)-5 b(ailable)41 b(only)d(in)h(shell)f(functions)630 4143 y(and)25 b(external)h(commands)f(in)m(v)m(ok)m(ed)h(b)m(y)f(the)h (programmable)f(completion)i(facilities)g(\(see)630 4253 -y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(111\).)150 +y(Section)k(8.6)h([Programmable)f(Completion],)g(page)g(112\).)150 4413 y Fs(COMP_POINT)630 4522 y Ft(The)25 b(index)g(of)h(the)g(curren)m (t)f(cursor)g(p)s(osition)h(relativ)m(e)i(to)e(the)g(b)s(eginning)f(of) g(the)h(curren)m(t)630 4632 y(command.)40 b(If)27 b(the)h(curren)m(t)g @@ -9098,7 +9216,7 @@ b(This)29 b(v)-5 b(ariable)31 b(is)f(a)m(v)-5 b(ailable)630 4851 y(only)36 b(in)f(shell)h(functions)f(and)g(external)h(commands)g (in)m(v)m(ok)m(ed)h(b)m(y)e(the)h(programmable)630 4961 y(completion)c(facilities)g(\(see)g(Section)f(8.6)g([Programmable)g -(Completion],)h(page)f(111\).)150 5121 y Fs(COMP_TYPE)630 +(Completion],)h(page)f(112\).)150 5121 y Fs(COMP_TYPE)630 5230 y Ft(Set)c(to)h(an)f(in)m(teger)h(v)-5 b(alue)28 b(corresp)s(onding)e(to)h(the)h(t)m(yp)s(e)f(of)g(completion)h (attempted)g(that)630 5340 y(caused)e(a)h(completion)h(function)e(to)h @@ -9115,7 +9233,7 @@ g(unmo)s(di\014ed,)f(or)h(`)p Fs(\045)p Ft(',)h(for)630 b(is)g(a)m(v)-5 b(ailable)28 b(only)f(in)f(shell)g(functions)g(and)g (external)630 628 y(commands)32 b(in)m(v)m(ok)m(ed)i(b)m(y)e(the)g (programmable)h(completion)g(facilities)i(\(see)e(Section)g(8.6)630 -737 y([Programmable)e(Completion],)h(page)f(111\).)150 +737 y([Programmable)e(Completion],)h(page)f(112\).)150 902 y Fs(COMP_KEY)96 b Ft(The)29 b(k)m(ey)i(\(or)g(\014nal)e(k)m(ey)i (of)f(a)g(k)m(ey)h(sequence\))g(used)e(to)i(in)m(v)m(ok)m(e)h(the)e (curren)m(t)g(completion)630 1011 y(function.)150 1176 @@ -9133,12 +9251,12 @@ m(haracters)h(as)e(the)h(shell)f(parser)f(w)m(ould)630 b(is)g(a)m(v)-5 b(ailable)32 b(only)d(in)g(shell)h(functions)f(in)m(v)m (ok)m(ed)i(b)m(y)f(the)630 2107 y(programmable)42 b(completion)h (facilities)h(\(see)e(Section)h(8.6)f([Programmable)h(Comple-)630 -2217 y(tion],)31 b(page)g(111\).)150 2381 y Fs(COMPREPLY)630 +2217 y(tion],)31 b(page)g(112\).)150 2381 y Fs(COMPREPLY)630 2491 y Ft(An)37 b(arra)m(y)h(v)-5 b(ariable)38 b(from)f(whic)m(h)g (Bash)g(reads)g(the)h(p)s(ossible)e(completions)j(generated)630 2600 y(b)m(y)33 b(a)g(shell)h(function)f(in)m(v)m(ok)m(ed)h(b)m(y)f (the)g(programmable)h(completion)g(facilit)m(y)h(\(see)f(Sec-)630 -2710 y(tion)d(8.6)g([Programmable)g(Completion],)h(page)f(111\).)150 +2710 y(tion)d(8.6)g([Programmable)g(Completion],)h(page)f(112\).)150 2874 y Fs(DIRSTACK)96 b Ft(An)26 b(arra)m(y)h(v)-5 b(ariable)28 b(con)m(taining)g(the)f(curren)m(t)f(con)m(ten)m(ts)j(of)e(the)f (directory)i(stac)m(k.)41 b(Direc-)630 2984 y(tories)33 @@ -9202,7 +9320,7 @@ b(If)630 1150 y Fs(GROUPS)29 b Ft(is)h(unset,)g(it)h(loses)g(its)g(sp)s (reset.)150 1344 y Fs(histchars)630 1454 y Ft(Up)c(to)g(three)g(c)m (haracters)i(whic)m(h)d(con)m(trol)j(history)d(expansion,)i(quic)m(k)g (substitution,)g(and)630 1563 y(tok)m(enization)k(\(see)f(Section)f -(9.3)h([History)f(In)m(teraction],)i(page)f(119\).)41 +(9.3)h([History)f(In)m(teraction],)i(page)f(121\).)41 b(The)29 b(\014rst)e(c)m(harac-)630 1673 y(ter)j(is)f(the)g Fq(history)g(expansion)g Ft(c)m(haracter,)j(that)e(is,)f(the)h(c)m (haracter)h(whic)m(h)d(signi\014es)i(the)630 1783 y(start)25 @@ -9432,7 +9550,7 @@ Ft(')150 1121 y Fs(PS4)336 b Ft(The)20 b(v)-5 b(alue)22 b(is)e(the)h(prompt)f(prin)m(ted)h(b)s(efore)f(the)h(command)g(line)g (is)g(ec)m(ho)s(ed)g(when)f(the)h(`)p Fs(-x)p Ft(')630 1230 y(option)32 b(is)f(set)h(\(see)g(Section)h(4.3.1)g([The)e(Set)g -(Builtin],)i(page)f(49\).)45 b(The)31 b(\014rst)f(c)m(haracter)630 +(Builtin],)i(page)f(50\).)45 b(The)31 b(\014rst)f(c)m(haracter)630 1340 y(of)k Fs(PS4)g Ft(is)g(replicated)i(m)m(ultiple)f(times,)h(as)e (necessary)-8 b(,)37 b(to)e(indicate)g(m)m(ultiple)g(lev)m(els)h(of)630 1450 y(indirection.)41 b(The)30 b(default)h(is)f(`)p @@ -9462,7 +9580,7 @@ b(it)i(is)f(not)630 2929 y(set)36 b(when)f(the)h(shell)g(starts,)i 41 b(Eac)m(h)31 b(w)m(ord)f(in)g(the)h(list)g(is)g(a)g(v)-5 b(alid)630 3422 y(argumen)m(t)24 b(for)f(the)h(`)p Fs(-o)p Ft(')f(option)h(to)g(the)g Fs(set)f Ft(builtin)g(command)g(\(see)i -(Section)f(4.3.1)h([The)630 3532 y(Set)k(Builtin],)h(page)f(49\).)42 +(Section)f(4.3.1)h([The)630 3532 y(Set)k(Builtin],)h(page)f(50\).)42 b(The)28 b(options)h(app)s(earing)f(in)g Fs(SHELLOPTS)e Ft(are)j(those)h(rep)s(orted)630 3641 y(as)g(`)p Fs(on)p Ft(')f(b)m(y)h(`)p Fs(set)g(-o)p Ft('.)40 b(If)29 b(this)h(v)-5 @@ -9558,7 +9676,7 @@ b([-o)k Fj(option)11 b Fs(])46 b([-O)h Fj(shopt_option)11 b Fs(])43 b([)p Fj(ar-)390 1565 y(gument)57 b Fs(...)o(])275 1701 y Ft(In)22 b(addition)i(to)g(the)g(single-c)m(haracter)i(shell)e (command-line)g(options)f(\(see)i(Section)f(4.3.1)i([The)d(Set)150 -1810 y(Builtin],)k(page)e(49\),)i(there)e(are)g(sev)m(eral)h(m)m +1810 y(Builtin],)k(page)e(50\),)i(there)e(are)g(sev)m(eral)h(m)m (ulti-c)m(haracter)h(options)e(that)g(y)m(ou)g(can)g(use.)38 b(These)25 b(options)150 1920 y(m)m(ust)30 b(app)s(ear)g(on)g(the)h (command)f(line)h(b)s(efore)f(the)g(single-c)m(haracter)j(options)e(to) @@ -9566,11 +9684,11 @@ g(b)s(e)f(recognized.)150 2081 y Fs(--debugger)630 2191 y Ft(Arrange)j(for)g(the)g(debugger)g(pro\014le)g(to)h(b)s(e)e (executed)i(b)s(efore)f(the)g(shell)g(starts.)49 b(T)-8 b(urns)630 2301 y(on)25 b(extended)g(debugging)g(mo)s(de)f(\(see)i -(Section)g(4.3.2)h([The)d(Shopt)h(Builtin],)i(page)e(53)h(for)630 +(Section)g(4.3.2)h([The)d(Shopt)h(Builtin],)i(page)e(54)h(for)630 2410 y(a)35 b(description)f(of)h(the)g Fs(extdebug)d Ft(option)j(to)g(the)f Fs(shopt)f Ft(builtin\))i(and)f(shell)g (function)630 2520 y(tracing)d(\(see)g(Section)h(4.3.1)g([The)e(Set)g -(Builtin],)h(page)g(49)h(for)e(a)g(description)h(of)f(the)h +(Builtin],)h(page)g(50)h(for)e(a)g(description)h(of)f(the)h Fs(-o)630 2629 y(functrace)d Ft(option\).)150 2790 y Fs(--dump-po-strings)630 2900 y Ft(A)37 b(list)g(of)f(all)i (double-quoted)e(strings)g(preceded)g(b)m(y)h(`)p Fs($)p @@ -9665,7 +9783,7 @@ b(implies)i(the)f(`)p Fs(-n)p Ft(')h(option;)g(no)f(commands)g(will)h b Fs(])630 4792 y Fq(shopt)p 854 4792 28 4 v 40 w(option)44 b Ft(is)g(one)h(of)f(the)g(shell)h(options)f(accepted)h(b)m(y)f(the)h Fs(shopt)d Ft(builtin)i(\(see)630 4902 y(Section)28 b(4.3.2)g([The)f -(Shopt)f(Builtin],)i(page)f(53\).)41 b(If)26 b Fq(shopt)p +(Shopt)f(Builtin],)i(page)f(54\).)41 b(If)26 b Fq(shopt)p 2690 4902 V 40 w(option)h Ft(is)g(presen)m(t,)h(`)p Fs(-O)p Ft(')f(sets)630 5011 y(the)40 b(v)-5 b(alue)40 b(of)f(that)h(option;)45 b(`)p Fs(+O)p Ft(')40 b(unsets)e(it.)69 b(If)39 b Fq(shopt)p @@ -9701,7 +9819,7 @@ Fs(-c)p Ft(')f(nor)h(the)g(`)p Fs(-s)p Ft(')f(option)150 1403 y(has)33 b(b)s(een)g(supplied,)h(the)g(\014rst)e(argumen)m(t)j(is) e(assumed)g(to)h(b)s(e)f(the)h(name)g(of)g(a)g(\014le)g(con)m(taining)h (shell)150 1512 y(commands)30 b(\(see)g(Section)h(3.8)g([Shell)f -(Scripts],)g(page)h(32\).)41 b(When)30 b(Bash)g(is)g(in)m(v)m(ok)m(ed)i +(Scripts],)g(page)h(33\).)41 b(When)30 b(Bash)g(is)g(in)m(v)m(ok)m(ed)i (in)d(this)h(fashion,)150 1622 y Fs($0)37 b Ft(is)g(set)h(to)h(the)e (name)h(of)f(the)h(\014le,)i(and)c(the)i(p)s(ositional)g(parameters)g (are)g(set)g(to)g(the)g(remaining)150 1731 y(argumen)m(ts.)h(Bash)26 @@ -9902,10 +10020,10 @@ Fs(ignoreeof)e Ft(option)j(to)g Fs(set)29 b(-o)36 b Ft(instead)h(of)f (exiting)i(imme-)330 1300 y(diately)f(when)e(it)i(receiv)m(es)h(an)e Fs(EOF)f Ft(on)h(its)g(standard)f(input)g(when)h(reading)g(a)g(command) g(\(see)330 1409 y(Section)31 b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g -(49\).)199 1560 y(7.)61 b(Command)43 b(history)h(\(see)h(Section)g(9.1) -g([Bash)f(History)h(F)-8 b(acilities],)51 b(page)45 b(117\))h(and)d +(50\).)199 1560 y(7.)61 b(Command)43 b(history)h(\(see)h(Section)g(9.1) +g([Bash)f(History)h(F)-8 b(acilities],)51 b(page)45 b(119\))h(and)d (history)330 1670 y(expansion)23 b(\(see)i(Section)f(9.3)h([History)f -(In)m(teraction],)j(page)d(119\))h(are)f(enabled)g(b)m(y)f(default.)39 +(In)m(teraction],)j(page)d(121\))h(are)f(enabled)g(b)m(y)f(default.)39 b(Bash)330 1779 y(will)23 b(sa)m(v)m(e)i(the)e(command)f(history)h(to)h (the)f(\014le)g(named)f(b)m(y)h Fs($HISTFILE)d Ft(when)i(an)h(in)m (teractiv)m(e)j(shell)330 1889 y(exits.)199 2040 y(8.)61 @@ -9924,7 +10042,7 @@ g(\(see)h(Section)g(3.7.6)i([Signals],)e(page)g(32\).)154 2863 y(12.)61 b(The)26 b(`)p Fs(-n)p Ft(')f(in)m(v)m(o)s(cation)k (option)d(is)g(ignored,)h(and)f(`)p Fs(set)k(-n)p Ft(')25 b(has)h(no)g(e\013ect)i(\(see)e(Section)h(4.3.1)h([The)330 -2972 y(Set)j(Builtin],)g(page)g(49\).)154 3123 y(13.)61 +2972 y(Set)j(Builtin],)g(page)g(50\).)154 3123 y(13.)61 b(Bash)32 b(will)g(c)m(hec)m(k)i(for)e(mail)g(p)s(erio)s(dically)-8 b(,)34 b(dep)s(ending)c(on)i(the)g(v)-5 b(alues)32 b(of)g(the)h Fs(MAIL)p Ft(,)e Fs(MAILPATH)p Ft(,)330 3233 y(and)f @@ -9934,7 +10052,7 @@ y(14.)61 b(Expansion)32 b(errors)h(due)f(to)i(references)f(to)h(un)m(b) s(ound)c(shell)j(v)-5 b(ariables)34 b(after)g(`)p Fs(set)29 b(-u)p Ft(')k(has)g(b)s(een)330 3494 y(enabled)d(will)h(not)g(cause)g (the)f(shell)h(to)g(exit)g(\(see)g(Section)h(4.3.1)g([The)e(Set)h -(Builtin],)g(page)g(49\).)154 3644 y(15.)61 b(The)48 +(Builtin],)g(page)g(50\).)154 3644 y(15.)61 b(The)48 b(shell)h(will)f(not)h(exit)g(on)g(expansion)f(errors)g(caused)g(b)m(y) h Fq(v)-5 b(ar)54 b Ft(b)s(eing)48 b(unset)g(or)h(n)m(ull)f(in)330 3754 y Fs(${)p Fj(var)11 b Fs(:?)p Fj(word)g Fs(})26 @@ -9955,7 +10073,7 @@ b(syn)m(tax)f(errors)g(will)h(not)g(cause)g(the)f(shell)h(to)g(exit.) (enabled)f(b)m(y)h(default)330 4838 y(\(see)35 b(the)g(description)f (of)h(the)f Fs(cdspell)f Ft(option)h(to)i(the)e Fs(shopt)f Ft(builtin)h(in)g(Section)h(4.3.2)h([The)330 4947 y(Shopt)30 -b(Builtin],)h(page)g(53\).)154 5098 y(21.)61 b(The)42 +b(Builtin],)h(page)g(54\).)154 5098 y(21.)61 b(The)42 b(shell)h(will)g(c)m(hec)m(k)h(the)f(v)-5 b(alue)43 b(of)f(the)h Fs(TMOUT)e Ft(v)-5 b(ariable)44 b(and)e(exit)h(if)g(a)g(command)f(is)h (not)330 5208 y(read)30 b(within)g(the)g(sp)s(eci\014ed)f(n)m(um)m(b)s @@ -10051,7 +10169,7 @@ Fq(optname)47 b Ft(is)41 b(enabled.)73 b(The)41 b(list)h(of)f(options)g (app)s(ears)g(in)g(the)630 789 y(description)h(of)f(the)h(`)p Fs(-o)p Ft(')f(option)h(to)h(the)e Fs(set)g Ft(builtin)g(\(see)i (Section)f(4.3.1)h([The)f(Set)630 898 y(Builtin],)31 -b(page)g(49\).)150 1060 y Fs(-z)f Fj(string)630 1169 +b(page)g(50\).)150 1060 y Fs(-z)f Fj(string)630 1169 y Ft(T)-8 b(rue)30 b(if)g(the)h(length)g(of)f Fq(string)38 b Ft(is)31 b(zero.)150 1330 y Fs(-n)f Fj(string)150 1440 y(string)192 b Ft(T)-8 b(rue)30 b(if)g(the)h(length)g(of)f @@ -10196,7 +10314,7 @@ b(unctions],)150 1802 y(page)31 b(14\).)275 1951 y(Aliases)i(are)h(not) e(expanded)g(when)g(the)h(shell)g(is)g(not)g(in)m(teractiv)m(e,)j (unless)c(the)h Fs(expand_aliases)150 2061 y Ft(shell)e(option)f(is)h (set)g(using)f Fs(shopt)f Ft(\(see)i(Section)g(4.3.2)h([The)e(Shopt)g -(Builtin],)h(page)g(53\).)275 2210 y(The)38 b(rules)h(concerning)h(the) +(Builtin],)h(page)g(54\).)275 2210 y(The)38 b(rules)h(concerning)h(the) f(de\014nition)g(and)g(use)g(of)g(aliases)i(are)e(somewhat)h (confusing.)67 b(Bash)150 2320 y(alw)m(a)m(ys)42 b(reads)f(at)h(least)g (one)f(complete)i(line)e(of)g(input)f(b)s(efore)h(executing)h(an)m(y)f @@ -10473,7 +10591,7 @@ b(the)26 b(history)g(n)m(um)m(b)s(er)150 823 y(of)h(a)f(command)h(is)f (its)h(p)s(osition)f(in)g(the)h(history)f(list,)i(whic)m(h)f(ma)m(y)g (include)f(commands)g(restored)g(from)150 932 y(the)39 b(history)h(\014le)f(\(see)h(Section)g(9.1)h([Bash)e(History)h(F)-8 -b(acilities],)45 b(page)40 b(117\),)j(while)d(the)f(command)150 +b(acilities],)45 b(page)40 b(119\),)j(while)d(the)f(command)150 1042 y(n)m(um)m(b)s(er)j(is)h(the)h(p)s(osition)f(in)g(the)g(sequence)h (of)f(commands)g(executed)h(during)e(the)i(curren)m(t)f(shell)150 1152 y(session.)275 1283 y(After)35 b(the)g(string)g(is)g(deco)s(ded,)h @@ -10527,7 +10645,7 @@ Ft('.)275 4393 y(These)g(restrictions)h(are)g(enforced)f(after)h(an)m (y)g(startup)f(\014les)g(are)h(read.)275 4524 y(When)j(a)i(command)e (that)i(is)f(found)f(to)h(b)s(e)g(a)g(shell)g(script)g(is)g(executed)h (\(see)g(Section)g(3.8)g([Shell)150 4633 y(Scripts],)25 -b(page)e(32\),)j Fs(rbash)c Ft(turns)g(o\013)i(an)m(y)f(restrictions)h +b(page)e(33\),)j Fs(rbash)c Ft(turns)g(o\013)i(an)m(y)f(restrictions)h (in)f(the)g(shell)h(spa)m(wned)e(to)i(execute)g(the)g(script.)150 4880 y Fr(6.11)68 b(Bash)45 b(POSIX)f(Mo)t(de)275 5121 y Ft(Starting)21 b(Bash)g(with)f(the)h(`)p Fs(--posix)p @@ -10737,7 +10855,7 @@ Fl(posix)p Ft(-conforman)m(t)h(b)m(y)f(default,)77 b(b)m(y)66 b(sp)s(ecifying)h(the)150 1544 y(`)p Fs(--enable-strict-posix-def)o (ault)o Ft(')i(to)76 b Fs(configure)c Ft(when)i(building)g(\(see)i (Section)f(10.8)150 1654 y([Optional)31 b(F)-8 b(eatures],)32 -b(page)f(125\).)p eop end +b(page)f(127\).)p eop end %%Page: 86 92 TeXDict begin 86 91 bop 150 -116 a Ft(86)2572 b(Bash)31 b(Reference)g(Man)m(ual)p eop end @@ -10855,13 +10973,13 @@ g(to)g(not)g(in)m(terrupt)150 1113 y(an)m(y)g(other)g(output.)39 b(If)24 b(the)i(`)p Fs(-b)p Ft(')e(option)i(to)f(the)g Fs(set)f Ft(builtin)h(is)g(enabled,)h(Bash)f(rep)s(orts)f(suc)m(h)h(c)m (hanges)150 1222 y(immediately)g(\(see)g(Section)g(4.3.1)g([The)f(Set)g -(Builtin],)i(page)f(49\).)40 b(An)m(y)24 b(trap)f(on)h +(Builtin],)i(page)f(50\).)40 b(An)m(y)24 b(trap)f(on)h Fs(SIGCHLD)e Ft(is)i(executed)150 1332 y(for)30 b(eac)m(h)i(c)m(hild)e (pro)s(cess)g(that)h(exits.)275 1465 y(If)25 b(an)h(attempt)h(to)g (exit)g(Bash)f(is)h(made)f(while)g(jobs)f(are)i(stopp)s(ed,)f(\(or)h (running,)e(if)h(the)g Fs(checkjobs)150 1574 y Ft(option)e(is)f (enabled)h({)g(see)g(Section)g(4.3.2)h([The)e(Shopt)g(Builtin],)j(page) -e(53\),)i(the)e(shell)f(prin)m(ts)g(a)h(w)m(arning)150 +e(54\),)i(the)e(shell)f(prin)m(ts)g(a)h(w)m(arning)150 1684 y(message,)k(and)c(if)i(the)f Fs(checkjobs)e Ft(option)j(is)f (enabled,)i(lists)e(the)h(jobs)f(and)f(their)i(statuses.)39 b(The)25 b Fs(jobs)150 1794 y Ft(command)36 b(ma)m(y)h(then)f(b)s(e)f @@ -11280,7 +11398,7 @@ b(Reference)g(Man)m(ual)150 299 y Fk(8.2.5)63 b(Searc)m(hing)40 b(for)i(Commands)g(in)f(the)g(History)275 540 y Ft(Readline)23 b(pro)m(vides)g(commands)f(for)h(searc)m(hing)h(through)e(the)h (command)g(history)f(\(see)i(Section)g(9.1)150 649 y([Bash)37 -b(History)h(F)-8 b(acilities],)42 b(page)37 b(117\))i(for)d(lines)h +b(History)h(F)-8 b(acilities],)42 b(page)37 b(119\))i(for)d(lines)h (con)m(taining)i(a)e(sp)s(eci\014ed)f(string.)60 b(There)36 b(are)i(t)m(w)m(o)150 759 y(searc)m(h)31 b(mo)s(des:)40 b Fq(incremen)m(tal)35 b Ft(and)30 b Fq(non-incremen)m(tal)p @@ -11368,411 +11486,427 @@ b(Command)29 b(Line)i(Editing)2107 b(95)150 299 y(conditional)39 b(constructs)f(\(see)g(Section)h(8.3.2)g([Conditional)g(Init)e (Constructs],)j(page)e(100\).)64 b(Other)150 408 y(lines)31 b(denote)g(v)-5 b(ariable)31 b(settings)g(and)f(k)m(ey)h(bindings.)150 -579 y(V)-8 b(ariable)32 b(Settings)630 689 y(Y)-8 b(ou)41 +571 y(V)-8 b(ariable)32 b(Settings)630 681 y(Y)-8 b(ou)41 b(can)g(mo)s(dify)e(the)i(run-time)f(b)s(eha)m(vior)g(of)h(Readline)g -(b)m(y)f(altering)h(the)g(v)-5 b(alues)41 b(of)630 798 +(b)m(y)f(altering)h(the)g(v)-5 b(alues)41 b(of)630 790 y(v)-5 b(ariables)34 b(in)f(Readline)i(using)e(the)g Fs(set)g Ft(command)g(within)g(the)h(init)g(\014le.)50 -b(The)33 b(syn)m(tax)630 908 y(is)d(simple:)870 1046 -y Fs(set)47 b Fj(variable)56 b(value)630 1184 y Ft(Here,)29 +b(The)33 b(syn)m(tax)630 900 y(is)d(simple:)870 1036 +y Fs(set)47 b Fj(variable)56 b(value)630 1171 y Ft(Here,)29 b(for)e(example,)h(is)g(ho)m(w)f(to)h(c)m(hange)g(from)f(the)g(default) -h(Emacs-lik)m(e)h(k)m(ey)f(binding)e(to)630 1294 y(use)k -Fs(vi)g Ft(line)h(editing)g(commands:)870 1432 y Fs(set)47 -b(editing-mode)d(vi)630 1570 y Ft(V)-8 b(ariable)36 b(names)f(and)g(v) +h(Emacs-lik)m(e)h(k)m(ey)f(binding)e(to)630 1281 y(use)k +Fs(vi)g Ft(line)h(editing)g(commands:)870 1417 y Fs(set)47 +b(editing-mode)d(vi)630 1552 y Ft(V)-8 b(ariable)36 b(names)f(and)g(v) -5 b(alues,)36 b(where)f(appropriate,)h(are)g(recognized)g(without)f -(regard)630 1680 y(to)c(case.)42 b(Unrecognized)31 b(v)-5 -b(ariable)31 b(names)g(are)f(ignored.)630 1818 y(Bo)s(olean)c(v)-5 +(regard)630 1662 y(to)c(case.)42 b(Unrecognized)31 b(v)-5 +b(ariable)31 b(names)g(are)f(ignored.)630 1797 y(Bo)s(olean)c(v)-5 b(ariables)26 b(\(those)g(that)g(can)f(b)s(e)f(set)i(to)g(on)f(or)g (o\013)7 b(\))25 b(are)h(set)f(to)h(on)f(if)g(the)g(v)-5 -b(alue)26 b(is)630 1928 y(n)m(ull)e(or)g(empt)m(y)-8 +b(alue)26 b(is)630 1907 y(n)m(ull)e(or)g(empt)m(y)-8 b(,)27 b Fq(on)d Ft(\(case-insensitiv)m(e\),)29 b(or)24 b(1.)39 b(An)m(y)25 b(other)f(v)-5 b(alue)25 b(results)f(in)g(the)g(v) --5 b(ariable)630 2037 y(b)s(eing)30 b(set)h(to)g(o\013.)630 -2176 y(The)37 b Fs(bind)30 b(-V)37 b Ft(command)g(lists)i(the)f(curren) +-5 b(ariable)630 2017 y(b)s(eing)30 b(set)h(to)g(o\013.)630 +2152 y(The)37 b Fs(bind)30 b(-V)37 b Ft(command)g(lists)i(the)f(curren) m(t)f(Readline)i(v)-5 b(ariable)38 b(names)g(and)f(v)-5 -b(alues.)630 2285 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page) -g(41.)630 2423 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g +b(alues.)630 2262 y(See)31 b(Section)g(4.2)g([Bash)g(Builtins],)g(page) +g(41.)630 2397 y(A)f(great)i(deal)f(of)g(run-time)f(b)s(eha)m(vior)g (is)g(c)m(hangeable)j(with)d(the)g(follo)m(wing)i(v)-5 -b(ariables.)630 2590 y Fs(bell-style)1110 2700 y Ft(Con)m(trols)44 +b(ariables.)630 2559 y Fs(bell-style)1110 2669 y Ft(Con)m(trols)44 b(what)g(happ)s(ens)e(when)h(Readline)i(w)m(an)m(ts)f(to)h(ring)e(the)h -(termi-)1110 2809 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p +(termi-)1110 2778 y(nal)37 b(b)s(ell.)61 b(If)37 b(set)h(to)g(`)p Fs(none)p Ft(',)g(Readline)g(nev)m(er)g(rings)e(the)i(b)s(ell.)61 -b(If)36 b(set)i(to)1110 2919 y(`)p Fs(visible)p Ft(',)32 +b(If)36 b(set)i(to)1110 2888 y(`)p Fs(visible)p Ft(',)32 b(Readline)i(uses)f(a)g(visible)g(b)s(ell)g(if)g(one)g(is)g(a)m(v)-5 -b(ailable.)51 b(If)33 b(set)g(to)1110 3029 y(`)p Fs(audible)p +b(ailable.)51 b(If)33 b(set)g(to)1110 2997 y(`)p Fs(audible)p Ft(')j(\(the)i(default\),)i(Readline)e(attempts)g(to)h(ring)e(the)g -(terminal's)1110 3138 y(b)s(ell.)630 3305 y Fs(bind-tty-special-chars) -1110 3415 y Ft(If)45 b(set)h(to)f(`)p Fs(on)p Ft(',)50 +(terminal's)1110 3107 y(b)s(ell.)630 3269 y Fs(bind-tty-special-chars) +1110 3378 y Ft(If)45 b(set)h(to)f(`)p Fs(on)p Ft(',)50 b(Readline)45 b(attempts)i(to)f(bind)d(the)j(con)m(trol)g(c)m -(haracters)1110 3524 y(treated)36 b(sp)s(ecially)h(b)m(y)e(the)h(k)m +(haracters)1110 3488 y(treated)36 b(sp)s(ecially)h(b)m(y)e(the)h(k)m (ernel's)g(terminal)g(driv)m(er)f(to)h(their)f(Readline)1110 -3634 y(equiv)-5 b(alen)m(ts.)630 3801 y Fs(comment-begin)1110 -3910 y Ft(The)29 b(string)g(to)h(insert)f(at)h(the)f(b)s(eginning)g(of) -g(the)h(line)f(when)f(the)i Fs(insert-)1110 4020 y(comment)e +3597 y(equiv)-5 b(alen)m(ts.)630 3759 y Fs(comment-begin)1110 +3869 y Ft(The)29 b(string)g(to)h(insert)f(at)h(the)f(b)s(eginning)g(of) +g(the)h(line)f(when)f(the)i Fs(insert-)1110 3978 y(comment)e Ft(command)j(is)f(executed.)42 b(The)29 b(default)i(v)-5 -b(alue)31 b(is)f Fs("#")p Ft(.)630 4187 y Fs(completion-ignore-case) -1110 4296 y Ft(If)d(set)h(to)g(`)p Fs(on)p Ft(',)g(Readline)g(p)s +b(alue)31 b(is)f Fs("#")p Ft(.)630 4140 y Fs(completion-ignore-case) +1110 4250 y Ft(If)d(set)h(to)g(`)p Fs(on)p Ft(',)g(Readline)g(p)s (erforms)e(\014lename)h(matc)m(hing)i(and)e(completion)1110 -4406 y(in)j(a)h(case-insensitiv)m(e)i(fashion.)40 b(The)30 +4359 y(in)j(a)h(case-insensitiv)m(e)i(fashion.)40 b(The)30 b(default)h(v)-5 b(alue)30 b(is)h(`)p Fs(off)p Ft('.)630 -4573 y Fs(completion-query-items)1110 4682 y Ft(The)26 -b(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h(that)g(determines) -f(when)f(the)i(user)1110 4792 y(is)i(ask)m(ed)h(whether)f(the)h(list)g -(of)f(p)s(ossibilities)h(should)e(b)s(e)h(displa)m(y)m(ed.)41 -b(If)29 b(the)1110 4902 y(n)m(um)m(b)s(er)d(of)h(p)s(ossible)f -(completions)i(is)f(greater)h(than)e(this)h(v)-5 b(alue,)28 -b(Readline)1110 5011 y(will)f(ask)g(the)f(user)g(whether)g(or)g(not)h -(he)f(wishes)g(to)i(view)e(them;)i(otherwise,)1110 5121 -y(they)d(are)f(simply)g(listed.)40 b(This)23 b(v)-5 b(ariable)25 -b(m)m(ust)g(b)s(e)e(set)i(to)g(an)g(in)m(teger)g(v)-5 -b(alue)1110 5230 y(greater)26 b(than)f(or)f(equal)i(to)f(0.)40 -b(A)24 b(negativ)m(e)j(v)-5 b(alue)26 b(means)e(Readline)i(should)1110 -5340 y(nev)m(er)31 b(ask.)41 b(The)29 b(default)i(limit)g(is)g -Fs(100)p Ft(.)p eop end +4521 y Fs(completion-prefix-displa)o(y-le)o(ngth)1110 +4630 y Ft(The)g(length)g(in)g(c)m(haracters)i(of)f(the)f(common)h +(pre\014x)e(of)h(a)h(list)g(of)f(p)s(ossible)1110 4740 +y(completions)g(that)f(is)g(displa)m(y)m(ed)g(without)g(mo)s +(di\014cation.)41 b(When)29 b(set)h(to)h(a)1110 4850 +y(v)-5 b(alue)26 b(greater)h(than)e(zero,)j(common)e(pre\014xes)e +(longer)j(than)e(this)g(v)-5 b(alue)27 b(are)1110 4959 +y(replaced)k(with)f(an)g(ellipsis)h(when)e(displa)m(ying)i(p)s(ossible) +f(completions.)630 5121 y Fs(completion-query-items)1110 +5230 y Ft(The)c(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g(completions)h +(that)g(determines)f(when)f(the)i(user)1110 5340 y(is)i(ask)m(ed)h +(whether)f(the)h(list)g(of)f(p)s(ossibilities)h(should)e(b)s(e)h +(displa)m(y)m(ed.)41 b(If)29 b(the)p eop end %%Page: 96 102 TeXDict begin 96 101 bop 150 -116 a Ft(96)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(convert-meta)1110 -408 y Ft(If)22 b(set)g(to)h(`)p Fs(on)p Ft(',)h(Readline)f(will)f(con)m -(v)m(ert)i(c)m(haracters)f(with)f(the)g(eigh)m(th)h(bit)f(set)1110 -518 y(to)g(an)f Fl(asci)r(i)g Ft(k)m(ey)h(sequence)g(b)m(y)f(stripping) -f(the)i(eigh)m(th)g(bit)f(and)g(pre\014xing)f(an)1110 -625 y Fg(h)p 1134 572 139 4 v 1134 628 a Ff(ESC)p 1134 -643 V 1268 625 a Fg(i)1332 628 y Ft(c)m(haracter,)36 +b(Reference)g(Man)m(ual)1110 299 y(n)m(um)m(b)s(er)26 +b(of)h(p)s(ossible)f(completions)i(is)f(greater)h(than)e(this)h(v)-5 +b(alue,)28 b(Readline)1110 408 y(will)f(ask)g(the)f(user)g(whether)g +(or)g(not)h(he)f(wishes)g(to)i(view)e(them;)i(otherwise,)1110 +518 y(they)d(are)f(simply)g(listed.)40 b(This)23 b(v)-5 +b(ariable)25 b(m)m(ust)g(b)s(e)e(set)i(to)g(an)g(in)m(teger)g(v)-5 +b(alue)1110 628 y(greater)26 b(than)f(or)f(equal)i(to)f(0.)40 +b(A)24 b(negativ)m(e)j(v)-5 b(alue)26 b(means)e(Readline)i(should)1110 +737 y(nev)m(er)31 b(ask.)41 b(The)29 b(default)i(limit)g(is)g +Fs(100)p Ft(.)630 883 y Fs(convert-meta)1110 993 y Ft(If)22 +b(set)g(to)h(`)p Fs(on)p Ft(',)h(Readline)f(will)f(con)m(v)m(ert)i(c)m +(haracters)f(with)f(the)g(eigh)m(th)h(bit)f(set)1110 +1103 y(to)g(an)f Fl(asci)r(i)g Ft(k)m(ey)h(sequence)g(b)m(y)f +(stripping)f(the)i(eigh)m(th)g(bit)f(and)g(pre\014xing)f(an)1110 +1209 y Fg(h)p 1134 1156 139 4 v 1134 1212 a Ff(ESC)p +1134 1227 V 1268 1209 a Fg(i)1332 1212 y Ft(c)m(haracter,)36 b(con)m(v)m(erting)g(them)e(to)g(a)h(meta-pre\014xed)f(k)m(ey)g -(sequence.)1110 737 y(The)c(default)g(v)-5 b(alue)31 -b(is)g(`)p Fs(on)p Ft('.)630 883 y Fs(disable-completion)1110 -993 y Ft(If)36 b(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g +(sequence.)1110 1322 y(The)c(default)g(v)-5 b(alue)31 +b(is)g(`)p Fs(on)p Ft('.)630 1468 y Fs(disable-completion)1110 +1577 y Ft(If)36 b(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g (inhibit)f(w)m(ord)h(completion.)60 b(Completion)1110 -1103 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h(in)m(to)h(the)g +1687 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h(in)m(to)h(the)g (line)f(as)g(if)g(they)h(had)e(b)s(een)g(mapp)s(ed)1110 -1212 y(to)31 b Fs(self-insert)p Ft(.)38 b(The)30 b(default)g(is)h(`)p -Fs(off)p Ft('.)630 1358 y Fs(editing-mode)1110 1468 y +1797 y(to)31 b Fs(self-insert)p Ft(.)38 b(The)30 b(default)g(is)h(`)p +Fs(off)p Ft('.)630 1943 y Fs(editing-mode)1110 2052 y Ft(The)d Fs(editing-mode)e Ft(v)-5 b(ariable)29 b(con)m(trols)h(whic)m -(h)e(default)h(set)h(of)e(k)m(ey)i(bind-)1110 1577 y(ings)25 +(h)e(default)h(set)h(of)e(k)m(ey)i(bind-)1110 2162 y(ings)25 b(is)g(used.)38 b(By)26 b(default,)g(Readline)g(starts)f(up)f(in)h -(Emacs)g(editing)h(mo)s(de,)1110 1687 y(where)j(the)g(k)m(eystrok)m(es) +(Emacs)g(editing)h(mo)s(de,)1110 2271 y(where)j(the)g(k)m(eystrok)m(es) i(are)e(most)h(similar)f(to)h(Emacs.)40 b(This)29 b(v)-5 -b(ariable)30 b(can)1110 1797 y(b)s(e)g(set)h(to)g(either)g(`)p -Fs(emacs)p Ft(')e(or)h(`)p Fs(vi)p Ft('.)630 1943 y Fs(enable-keypad) -1110 2052 y Ft(When)23 b(set)h(to)g(`)p Fs(on)p Ft(',)h(Readline)f +b(ariable)30 b(can)1110 2381 y(b)s(e)g(set)h(to)g(either)g(`)p +Fs(emacs)p Ft(')e(or)h(`)p Fs(vi)p Ft('.)630 2527 y Fs(enable-keypad) +1110 2637 y Ft(When)23 b(set)h(to)g(`)p Fs(on)p Ft(',)h(Readline)f (will)g(try)f(to)h(enable)g(the)f(application)i(k)m(eypad)1110 -2162 y(when)h(it)h(is)f(called.)41 b(Some)27 b(systems)f(need)h(this)f -(to)h(enable)g(the)g(arro)m(w)g(k)m(eys.)1110 2271 y(The)j(default)g -(is)h(`)p Fs(off)p Ft('.)630 2418 y Fs(expand-tilde)1110 -2527 y Ft(If)c(set)h(to)h(`)p Fs(on)p Ft(',)f(tilde)g(expansion)g(is)f -(p)s(erformed)f(when)h(Readline)h(attempts)1110 2637 +2746 y(when)h(it)h(is)f(called.)41 b(Some)27 b(systems)f(need)h(this)f +(to)h(enable)g(the)g(arro)m(w)g(k)m(eys.)1110 2856 y(The)j(default)g +(is)h(`)p Fs(off)p Ft('.)630 3002 y Fs(expand-tilde)1110 +3112 y Ft(If)c(set)h(to)h(`)p Fs(on)p Ft(',)f(tilde)g(expansion)g(is)f +(p)s(erformed)f(when)h(Readline)h(attempts)1110 3221 y(w)m(ord)i(completion.)42 b(The)30 b(default)g(is)h(`)p -Fs(off)p Ft('.)630 2783 y Fs(history-preserve-point)1110 -2892 y Ft(If)41 b(set)h(to)h(`)p Fs(on)p Ft(',)i(the)c(history)h(co)s +Fs(off)p Ft('.)630 3367 y Fs(history-preserve-point)1110 +3477 y Ft(If)41 b(set)h(to)h(`)p Fs(on)p Ft(',)i(the)c(history)h(co)s (de)g(attempts)h(to)f(place)h(the)f(p)s(oin)m(t)f(\(the)1110 -3002 y(curren)m(t)35 b(cursor)g(p)s(osition\))g(at)h(the)g(same)f(lo)s -(cation)i(on)e(eac)m(h)h(history)g(line)1110 3112 y(retriev)m(ed)h +3587 y(curren)m(t)35 b(cursor)g(p)s(osition\))g(at)h(the)g(same)f(lo)s +(cation)i(on)e(eac)m(h)h(history)g(line)1110 3696 y(retriev)m(ed)h (with)f Fs(previous-history)c Ft(or)37 b Fs(next-history)p -Ft(.)55 b(The)36 b(default)1110 3221 y(is)30 b(`)p Fs(off)p -Ft('.)630 3367 y Fs(history-size)1110 3477 y Ft(Set)39 +Ft(.)55 b(The)36 b(default)1110 3806 y(is)30 b(`)p Fs(off)p +Ft('.)630 3952 y Fs(history-size)1110 4061 y Ft(Set)39 b(the)g(maxim)m(um)g(n)m(um)m(b)s(er)f(of)h(history)g(en)m(tries)h(sa)m -(v)m(ed)g(in)f(the)g(history)1110 3587 y(list.)53 b(If)34 +(v)m(ed)g(in)f(the)g(history)1110 4171 y(list.)53 b(If)34 b(set)h(to)g(zero,)i(the)d(n)m(um)m(b)s(er)g(of)g(en)m(tries)h(in)f -(the)h(history)f(list)h(is)g(not)1110 3696 y(limited.)630 -3842 y Fs(horizontal-scroll-mode)1110 3952 y Ft(This)g(v)-5 +(the)h(history)f(list)h(is)g(not)1110 4281 y(limited.)630 +4427 y Fs(horizontal-scroll-mode)1110 4536 y Ft(This)g(v)-5 b(ariable)37 b(can)f(b)s(e)f(set)h(to)h(either)f(`)p Fs(on)p Ft(')g(or)g(`)p Fs(off)p Ft('.)57 b(Setting)36 -b(it)g(to)h(`)p Fs(on)p Ft(')1110 4061 y(means)26 b(that)h(the)f(text)h +b(it)g(to)h(`)p Fs(on)p Ft(')1110 4646 y(means)26 b(that)h(the)f(text)h (of)g(the)f(lines)g(b)s(eing)g(edited)h(will)f(scroll)h(horizon)m -(tally)1110 4171 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i -(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 4281 +(tally)1110 4755 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i +(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 4865 y(screen,)27 b(instead)g(of)f(wrapping)f(on)m(to)i(a)f(new)g(screen)g -(line.)39 b(By)27 b(default,)g(this)1110 4390 y(v)-5 +(line.)39 b(By)27 b(default,)g(this)1110 4975 y(v)-5 b(ariable)31 b(is)g(set)f(to)i(`)p Fs(off)p Ft('.)630 -4536 y Fs(input-meta)1110 4646 y Ft(If)f(set)g(to)h(`)p +5121 y Fs(input-meta)1110 5230 y Ft(If)f(set)g(to)h(`)p Fs(on)p Ft(',)g(Readline)g(will)f(enable)h(eigh)m(t-bit)h(input)d(\(it) -i(will)f(not)h(clear)1110 4755 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h -(c)m(haracters)h(it)f(reads\),)j(regardless)c(of)h(what)g(the)1110 -4865 y(terminal)g(claims)h(it)g(can)f(supp)s(ort.)68 -b(The)39 b(default)h(v)-5 b(alue)40 b(is)g(`)p Fs(off)p -Ft('.)69 b(The)1110 4975 y(name)30 b Fs(meta-flag)e Ft(is)j(a)f(synon)m -(ym)g(for)g(this)h(v)-5 b(ariable.)630 5121 y Fs(isearch-terminators) -1110 5230 y Ft(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e -(terminate)j(an)f(incremen)m(tal)1110 5340 y(searc)m(h)25 -b(without)g(subsequen)m(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g -(command)p eop end +i(will)f(not)h(clear)1110 5340 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h +(c)m(haracters)h(it)f(reads\),)j(regardless)c(of)h(what)g(the)p +eop end %%Page: 97 103 TeXDict begin 97 102 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2107 b(97)1110 299 y(\(see)42 -b(Section)f(8.2.5)i([Searc)m(hing],)i(page)c(94\).)73 -b(If)41 b(this)g(v)-5 b(ariable)41 b(has)g(not)1110 408 +b(Command)29 b(Line)i(Editing)2107 b(97)1110 299 y(terminal)40 +b(claims)h(it)g(can)f(supp)s(ort.)68 b(The)39 b(default)h(v)-5 +b(alue)40 b(is)g(`)p Fs(off)p Ft('.)69 b(The)1110 408 +y(name)30 b Fs(meta-flag)e Ft(is)j(a)f(synon)m(ym)g(for)g(this)h(v)-5 +b(ariable.)630 579 y Fs(isearch-terminators)1110 689 +y Ft(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e(terminate)j +(an)f(incremen)m(tal)1110 798 y(searc)m(h)25 b(without)g(subsequen)m +(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g(command)1110 +908 y(\(see)42 b(Section)f(8.2.5)i([Searc)m(hing],)i(page)c(94\).)73 +b(If)41 b(this)g(v)-5 b(ariable)41 b(has)g(not)1110 1017 y(b)s(een)31 b(giv)m(en)h(a)g(v)-5 b(alue,)32 b(the)g(c)m(haracters) -2494 405 y Fg(h)p 2518 352 139 4 v 2518 408 a Ff(ESC)p -2518 424 V 2652 405 a Fg(i)2713 408 y Ft(and)f Fj(C-J)g -Ft(will)h(terminate)g(an)1110 518 y(incremen)m(tal)g(searc)m(h.)630 -689 y Fs(keymap)192 b Ft(Sets)39 b(Readline's)g(idea)h(of)f(the)g +2494 1014 y Fg(h)p 2518 961 139 4 v 2518 1017 a Ff(ESC)p +2518 1033 V 2652 1014 a Fg(i)2713 1017 y Ft(and)f Fj(C-J)g +Ft(will)h(terminate)g(an)1110 1127 y(incremen)m(tal)g(searc)m(h.)630 +1297 y Fs(keymap)192 b Ft(Sets)39 b(Readline's)g(idea)h(of)f(the)g (curren)m(t)f(k)m(eymap)h(for)g(k)m(ey)g(binding)f(com-)1110 -798 y(mands.)81 b(Acceptable)47 b Fs(keymap)42 b Ft(names)i(are)h -Fs(emacs)p Ft(,)i Fs(emacs-standard)p Ft(,)1110 908 y -Fs(emacs-meta)p Ft(,)99 b Fs(emacs-ctlx)p Ft(,)f Fs(vi)p +1407 y(mands.)81 b(Acceptable)47 b Fs(keymap)42 b Ft(names)i(are)h +Fs(emacs)p Ft(,)i Fs(emacs-standard)p Ft(,)1110 1517 +y Fs(emacs-meta)p Ft(,)99 b Fs(emacs-ctlx)p Ft(,)f Fs(vi)p Ft(,)j Fs(vi-move)p Ft(,)f Fs(vi-command)p Ft(,)f(and)1110 -1017 y Fs(vi-insert)p Ft(.)64 b Fs(vi)38 b Ft(is)h(equiv)-5 +1626 y Fs(vi-insert)p Ft(.)64 b Fs(vi)38 b Ft(is)h(equiv)-5 b(alen)m(t)41 b(to)e Fs(vi-command)p Ft(;)i Fs(emacs)c -Ft(is)i(equiv)-5 b(alen)m(t)1110 1127 y(to)33 b Fs(emacs-standard)p +Ft(is)i(equiv)-5 b(alen)m(t)1110 1736 y(to)33 b Fs(emacs-standard)p Ft(.)41 b(The)31 b(default)h(v)-5 b(alue)32 b(is)g Fs(emacs)p -Ft(.)44 b(The)31 b(v)-5 b(alue)33 b(of)f(the)1110 1236 +Ft(.)44 b(The)31 b(v)-5 b(alue)33 b(of)f(the)1110 1845 y Fs(editing-mode)27 b Ft(v)-5 b(ariable)31 b(also)h(a\013ects)f(the)g -(default)f(k)m(eymap.)630 1407 y Fs(mark-directories)1110 -1517 y Ft(If)38 b(set)g(to)h(`)p Fs(on)p Ft(',)i(completed)e(directory) +(default)f(k)m(eymap.)630 2016 y Fs(mark-directories)1110 +2125 y Ft(If)38 b(set)g(to)h(`)p Fs(on)p Ft(',)i(completed)e(directory) f(names)g(ha)m(v)m(e)i(a)e(slash)g(app)s(ended.)1110 -1626 y(The)30 b(default)g(is)h(`)p Fs(on)p Ft('.)630 -1797 y Fs(mark-modified-lines)1110 1906 y Ft(This)k(v)-5 +2235 y(The)30 b(default)g(is)h(`)p Fs(on)p Ft('.)630 +2405 y Fs(mark-modified-lines)1110 2515 y Ft(This)k(v)-5 b(ariable,)38 b(when)d(set)h(to)h(`)p Fs(on)p Ft(',)g(causes)g -(Readline)f(to)h(displa)m(y)f(an)f(as-)1110 2016 y(terisk)f(\(`)p +(Readline)f(to)h(displa)m(y)f(an)f(as-)1110 2625 y(terisk)f(\(`)p Fs(*)p Ft('\))h(at)f(the)g(start)g(of)g(history)g(lines)g(whic)m(h)f -(ha)m(v)m(e)i(b)s(een)e(mo)s(di\014ed.)1110 2125 y(This)d(v)-5 +(ha)m(v)m(e)i(b)s(een)e(mo)s(di\014ed.)1110 2734 y(This)d(v)-5 b(ariable)31 b(is)f(`)p Fs(off)p Ft(')g(b)m(y)g(default.)630 -2296 y Fs(mark-symlinked-directori)o(es)1110 2405 y Ft(If)44 +2905 y Fs(mark-symlinked-directori)o(es)1110 3014 y Ft(If)44 b(set)h(to)h(`)p Fs(on)p Ft(',)i(completed)e(names)f(whic)m(h)f(are)h -(sym)m(b)s(olic)g(links)g(to)g(di-)1110 2515 y(rectories)j(ha)m(v)m(e)f +(sym)m(b)s(olic)g(links)g(to)g(di-)1110 3124 y(rectories)j(ha)m(v)m(e)f (a)g(slash)f(app)s(ended)e(\(sub)5 b(ject)47 b(to)g(the)f(v)-5 -b(alue)47 b(of)f Fs(mark-)1110 2625 y(directories)p Ft(\).)38 -b(The)30 b(default)g(is)h(`)p Fs(off)p Ft('.)630 2795 -y Fs(match-hidden-files)1110 2905 y Ft(This)21 b(v)-5 +b(alue)47 b(of)f Fs(mark-)1110 3233 y(directories)p Ft(\).)38 +b(The)30 b(default)g(is)h(`)p Fs(off)p Ft('.)630 3404 +y Fs(match-hidden-files)1110 3513 y Ft(This)21 b(v)-5 b(ariable,)25 b(when)d(set)g(to)h(`)p Fs(on)p Ft(',)h(causes)f -(Readline)g(to)g(matc)m(h)g(\014les)f(whose)1110 3014 +(Readline)g(to)g(matc)m(h)g(\014les)f(whose)1110 3623 y(names)44 b(b)s(egin)g(with)g(a)g(`)p Fs(.)p Ft(')g(\(hidden)f -(\014les\))i(when)e(p)s(erforming)g(\014lename)1110 3124 +(\014les\))i(when)e(p)s(erforming)g(\014lename)1110 3733 y(completion,)j(unless)41 b(the)g(leading)h(`)p Fs(.)p Ft(')g(is)g(supplied)e(b)m(y)h(the)h(user)f(in)g(the)1110 -3233 y(\014lename)31 b(to)g(b)s(e)e(completed.)42 b(This)30 +3842 y(\014lename)31 b(to)g(b)s(e)e(completed.)42 b(This)30 b(v)-5 b(ariable)31 b(is)f(`)p Fs(on)p Ft(')h(b)m(y)f(default.)630 -3404 y Fs(output-meta)1110 3513 y Ft(If)35 b(set)h(to)g(`)p +4013 y Fs(output-meta)1110 4122 y Ft(If)35 b(set)h(to)g(`)p Fs(on)p Ft(',)h(Readline)f(will)g(displa)m(y)f(c)m(haracters)i(with)e -(the)h(eigh)m(th)g(bit)1110 3623 y(set)h(directly)g(rather)f(than)g(as) +(the)h(eigh)m(th)g(bit)1110 4232 y(set)h(directly)g(rather)f(than)g(as) h(a)g(meta-pre\014xed)f(escap)s(e)h(sequence.)59 b(The)1110 -3733 y(default)31 b(is)f(`)p Fs(off)p Ft('.)630 3903 -y Fs(page-completions)1110 4013 y Ft(If)j(set)i(to)f(`)p +4341 y(default)31 b(is)f(`)p Fs(off)p Ft('.)630 4512 +y Fs(page-completions)1110 4622 y Ft(If)j(set)i(to)f(`)p Fs(on)p Ft(',)h(Readline)g(uses)e(an)h(in)m(ternal)h Fs(more)p Ft(-lik)m(e)f(pager)g(to)h(displa)m(y)1110 -4122 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.) +4731 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.) 47 b(This)31 b(v)-5 b(ariable)34 b(is)e(`)p Fs(on)p Ft(')1110 -4232 y(b)m(y)e(default.)630 4402 y Fs(print-completions-horizo)o(ntal)o -(ly)1110 4512 y Ft(If)23 b(set)i(to)g(`)p Fs(on)p Ft(',)g(Readline)g +4841 y(b)m(y)e(default.)630 5011 y Fs(print-completions-horizo)o(ntal)o +(ly)1110 5121 y Ft(If)23 b(set)i(to)g(`)p Fs(on)p Ft(',)g(Readline)g (will)f(displa)m(y)g(completions)h(with)f(matc)m(hes)h(sorted)1110 -4622 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c -(than)g(do)m(wn)g(the)h(screen.)1110 4731 y(The)30 b(default)g(is)h(`)p -Fs(off)p Ft('.)630 4902 y Fs(show-all-if-ambiguous)1110 -5011 y Ft(This)e(alters)i(the)f(default)g(b)s(eha)m(vior)g(of)g(the)h -(completion)g(functions.)40 b(If)29 b(set)1110 5121 y(to)f(`)p -Fs(on)p Ft(',)g(w)m(ords)f(whic)m(h)g(ha)m(v)m(e)i(more)f(than)f(one)h -(p)s(ossible)f(completion)h(cause)1110 5230 y(the)39 -b(matc)m(hes)h(to)g(b)s(e)e(listed)h(immediately)i(instead)e(of)g -(ringing)g(the)g(b)s(ell.)1110 5340 y(The)30 b(default)g(v)-5 -b(alue)31 b(is)g(`)p Fs(off)p Ft('.)p eop end +5230 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c +(than)g(do)m(wn)g(the)h(screen.)1110 5340 y(The)30 b(default)g(is)h(`)p +Fs(off)p Ft('.)p eop end %%Page: 98 104 TeXDict begin 98 103 bop 150 -116 a Ft(98)2572 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(show-all-if-unmodified)1110 -408 y Ft(This)38 b(alters)h(the)g(default)g(b)s(eha)m(vior)g(of)f(the)h -(completion)h(functions)e(in)h(a)1110 518 y(fashion)25 -b(similar)h(to)g Fq(sho)m(w-all-if-am)m(biguous)p Ft(.)41 -b(If)25 b(set)h(to)h(`)p Fs(on)p Ft(',)f(w)m(ords)f(whic)m(h)1110 -628 y(ha)m(v)m(e)32 b(more)f(than)f(one)i(p)s(ossible)e(completion)i -(without)f(an)m(y)g(p)s(ossible)f(par-)1110 737 y(tial)43 -b(completion)h(\(the)f(p)s(ossible)f(completions)h(don't)f(share)g(a)h -(common)1110 847 y(pre\014x\))30 b(cause)g(the)h(matc)m(hes)g(to)g(b)s -(e)f(listed)g(immediately)i(instead)e(of)h(ring-)1110 -956 y(ing)g(the)f(b)s(ell.)41 b(The)30 b(default)g(v)-5 -b(alue)31 b(is)f(`)p Fs(off)p Ft('.)630 1113 y Fs(visible-stats)1110 -1223 y Ft(If)h(set)i(to)f(`)p Fs(on)p Ft(',)h(a)f(c)m(haracter)i -(denoting)e(a)g(\014le's)g(t)m(yp)s(e)g(is)g(app)s(ended)e(to)j(the) -1110 1332 y(\014lename)e(when)e(listing)i(p)s(ossible)f(completions.)42 -b(The)30 b(default)g(is)h(`)p Fs(off)p Ft('.)150 1489 -y(Key)f(Bindings)630 1598 y(The)41 b(syn)m(tax)i(for)f(con)m(trolling)h -(k)m(ey)g(bindings)e(in)h(the)g(init)g(\014le)g(is)g(simple.)75 -b(First)43 b(y)m(ou)630 1708 y(need)27 b(to)i(\014nd)d(the)i(name)f(of) -h(the)g(command)f(that)i(y)m(ou)f(w)m(an)m(t)g(to)g(c)m(hange.)41 -b(The)27 b(follo)m(wing)630 1817 y(sections)37 b(con)m(tain)g(tables)g -(of)f(the)g(command)f(name,)j(the)e(default)g(k)m(eybinding,)h(if)f(an) -m(y)-8 b(,)630 1927 y(and)30 b(a)h(short)f(description)g(of)h(what)f -(the)g(command)h(do)s(es.)630 2060 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g -(name)g(of)g(the)g(command,)h(simply)f(place)h(on)e(a)i(line)f(in)g -(the)g(init)630 2170 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m -(ou)g(wish)f(to)h(bind)f(the)h(command)f(to,)i(a)f(colon,)i(and)d(then) -630 2279 y(the)f(name)h(of)f(the)g(command.)46 b(There)32 +b(Reference)g(Man)m(ual)630 299 y Fs(revert-all-at-newline)1110 +408 y Ft(If)e(set)h(to)g(`)p Fs(on)p Ft(',)g(Readline)g(will)g(undo)f +(all)h(c)m(hanges)h(to)f(history)g(lines)f(b)s(efore)1110 +518 y(returning)f(when)f Fs(accept-line)f Ft(is)j(executed.)41 +b(By)29 b(default,)g(history)g(lines)1110 628 y(ma)m(y)42 +b(b)s(e)g(mo)s(di\014ed)e(and)h(retain)i(individual)e(undo)g(lists)h +(across)g(calls)h(to)1110 737 y Fs(readline)p Ft(.)38 +b(The)30 b(default)h(is)f(`)p Fs(off)p Ft('.)630 905 +y Fs(show-all-if-ambiguous)1110 1015 y Ft(This)f(alters)i(the)f +(default)g(b)s(eha)m(vior)g(of)g(the)h(completion)g(functions.)40 +b(If)29 b(set)1110 1124 y(to)f(`)p Fs(on)p Ft(',)g(w)m(ords)f(whic)m(h) +g(ha)m(v)m(e)i(more)f(than)f(one)h(p)s(ossible)f(completion)h(cause) +1110 1234 y(the)39 b(matc)m(hes)h(to)g(b)s(e)e(listed)h(immediately)i +(instead)e(of)g(ringing)g(the)g(b)s(ell.)1110 1344 y(The)30 +b(default)g(v)-5 b(alue)31 b(is)g(`)p Fs(off)p Ft('.)630 +1512 y Fs(show-all-if-unmodified)1110 1621 y Ft(This)38 +b(alters)h(the)g(default)g(b)s(eha)m(vior)g(of)f(the)h(completion)h +(functions)e(in)h(a)1110 1731 y(fashion)25 b(similar)h(to)g +Fq(sho)m(w-all-if-am)m(biguous)p Ft(.)41 b(If)25 b(set)h(to)h(`)p +Fs(on)p Ft(',)f(w)m(ords)f(whic)m(h)1110 1840 y(ha)m(v)m(e)32 +b(more)f(than)f(one)i(p)s(ossible)e(completion)i(without)f(an)m(y)g(p)s +(ossible)f(par-)1110 1950 y(tial)43 b(completion)h(\(the)f(p)s(ossible) +f(completions)h(don't)f(share)g(a)h(common)1110 2060 +y(pre\014x\))30 b(cause)g(the)h(matc)m(hes)g(to)g(b)s(e)f(listed)g +(immediately)i(instead)e(of)h(ring-)1110 2169 y(ing)g(the)f(b)s(ell.)41 +b(The)30 b(default)g(v)-5 b(alue)31 b(is)f(`)p Fs(off)p +Ft('.)630 2337 y Fs(visible-stats)1110 2447 y Ft(If)h(set)i(to)f(`)p +Fs(on)p Ft(',)h(a)f(c)m(haracter)i(denoting)e(a)g(\014le's)g(t)m(yp)s +(e)g(is)g(app)s(ended)e(to)j(the)1110 2556 y(\014lename)e(when)e +(listing)i(p)s(ossible)f(completions.)42 b(The)30 b(default)g(is)h(`)p +Fs(off)p Ft('.)150 2724 y(Key)f(Bindings)630 2834 y(The)41 +b(syn)m(tax)i(for)f(con)m(trolling)h(k)m(ey)g(bindings)e(in)h(the)g +(init)g(\014le)g(is)g(simple.)75 b(First)43 b(y)m(ou)630 +2944 y(need)27 b(to)i(\014nd)d(the)i(name)f(of)h(the)g(command)f(that)i +(y)m(ou)f(w)m(an)m(t)g(to)g(c)m(hange.)41 b(The)27 b(follo)m(wing)630 +3053 y(sections)37 b(con)m(tain)g(tables)g(of)f(the)g(command)f(name,)j +(the)e(default)g(k)m(eybinding,)h(if)f(an)m(y)-8 b(,)630 +3163 y(and)30 b(a)h(short)f(description)g(of)h(what)f(the)g(command)h +(do)s(es.)630 3302 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g(name)g(of)g +(the)g(command,)h(simply)f(place)h(on)e(a)i(line)f(in)g(the)g(init)630 +3411 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m(ou)g(wish)f(to)h +(bind)f(the)h(command)f(to,)i(a)f(colon,)i(and)d(then)630 +3521 y(the)f(name)h(of)f(the)g(command.)46 b(There)32 b(can)g(b)s(e)g(no)g(space)g(b)s(et)m(w)m(een)h(the)f(k)m(ey)h(name)g -(and)630 2389 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m +(and)630 3630 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m (terpreted)g(as)g(part)f(of)h(the)g(k)m(ey)h(name.)72 -b(The)40 b(name)h(of)630 2498 y(the)35 b(k)m(ey)g(can)g(b)s(e)f +b(The)40 b(name)h(of)630 3740 y(the)35 b(k)m(ey)g(can)g(b)s(e)f (expressed)f(in)i(di\013eren)m(t)g(w)m(a)m(ys,)h(dep)s(ending)d(on)h -(what)h(y)m(ou)g(\014nd)e(most)630 2608 y(comfortable.)630 -2741 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h +(what)h(y)m(ou)g(\014nd)e(most)630 3850 y(comfortable.)630 +3988 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h (k)m(eys)g(to)g(b)s(e)e(b)s(ound)f(to)j(a)f(string)630 -2851 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g -(\(a)h Fq(macro)5 b Ft(\).)630 2984 y(The)42 b Fs(bind)30 +4098 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g +(\(a)h Fq(macro)5 b Ft(\).)630 4237 y(The)42 b Fs(bind)30 b(-p)42 b Ft(command)h(displa)m(ys)g(Readline)g(function)g(names)g(and) -f(bindings)g(in)h(a)630 3093 y(format)37 b(that)h(can)f(put)f(directly) +f(bindings)g(in)h(a)630 4346 y(format)37 b(that)h(can)f(put)f(directly) i(in)m(to)g(an)f(initialization)j(\014le.)60 b(See)38 -b(Section)f(4.2)i([Bash)630 3203 y(Builtins],)31 b(page)g(41.)630 -3360 y Fq(k)m(eyname)5 b Ft(:)42 b Fq(function-name)35 -b Ft(or)c Fq(macro)1110 3469 y(k)m(eyname)k Ft(is)29 +b(Section)f(4.2)i([Bash)630 4456 y(Builtins],)31 b(page)g(41.)630 +4624 y Fq(k)m(eyname)5 b Ft(:)42 b Fq(function-name)35 +b Ft(or)c Fq(macro)1110 4734 y(k)m(eyname)k Ft(is)29 b(the)f(name)h(of)g(a)g(k)m(ey)h(sp)s(elled)e(out)h(in)g(English.)39 -b(F)-8 b(or)30 b(example:)1350 3602 y Fs(Control-u:)45 -b(universal-argument)1350 3712 y(Meta-Rubout:)f(backward-kill-word)1350 -3821 y(Control-o:)h(">)i(output")1110 3954 y Ft(In)38 +b(F)-8 b(or)30 b(example:)1350 4872 y Fs(Control-u:)45 +b(universal-argument)1350 4982 y(Meta-Rubout:)f(backward-kill-word)1350 +5092 y(Control-o:)h(">)i(output")1110 5230 y Ft(In)38 b(the)h(ab)s(o)m(v)m(e)h(example,)h Fj(C-u)d Ft(is)h(b)s(ound)d(to)k -(the)e(function)h Fs(universal-)1110 4064 y(argument)p +(the)e(function)h Fs(universal-)1110 5340 y(argument)p Ft(,)f Fj(M-DEL)e Ft(is)i(b)s(ound)e(to)i(the)g(function)g -Fs(backward-kill-word)p Ft(,)1110 4174 y(and)g Fj(C-o)g -Ft(is)h(b)s(ound)e(to)j(run)d(the)j(macro)f(expressed)g(on)f(the)i -(righ)m(t)f(hand)1110 4283 y(side)30 b(\(that)i(is,)e(to)h(insert)g -(the)f(text)i(`)p Fs(>)e(output)p Ft(')f(in)m(to)i(the)g(line\).)1110 -4416 y(A)37 b(n)m(um)m(b)s(er)f(of)h(sym)m(b)s(olic)g(c)m(haracter)i -(names)e(are)g(recognized)h(while)f(pro-)1110 4526 y(cessing)24 -b(this)g(k)m(ey)g(binding)f(syn)m(tax:)37 b Fq(DEL)p -Ft(,)24 b Fq(ESC)p Ft(,)f Fq(ESCAPE)p Ft(,)g Fq(LFD)p -Ft(,)h Fq(NEW-)1110 4635 y(LINE)p Ft(,)30 b Fq(RET)p -Ft(,)g Fq(RETURN)p Ft(,)h Fq(R)m(UBOUT)p Ft(,)g Fq(SP)-8 -b(A)m(CE)p Ft(,)30 b Fq(SPC)p Ft(,)g(and)f Fq(T)-8 b(AB)p -Ft(.)630 4792 y Fs(")p Fq(k)m(eyseq)r Fs(")p Ft(:)41 -b Fq(function-name)36 b Ft(or)30 b Fq(macro)1110 4902 -y(k)m(eyseq)k Ft(di\013ers)d(from)f Fq(k)m(eyname)37 -b Ft(ab)s(o)m(v)m(e)32 b(in)f(that)h(strings)f(denoting)g(an)g(en-)1110 -5011 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s(e)f(sp)s(eci\014ed,)h(b)m -(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in)1110 5121 -y(double)29 b(quotes.)41 b(Some)29 b Fl(gnu)h Ft(Emacs)f(st)m(yle)i(k)m -(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as)1110 5230 -y(in)k(the)h(follo)m(wing)i(example,)f(but)e(the)h(sp)s(ecial)h(c)m -(haracter)g(names)f(are)g(not)1110 5340 y(recognized.)p -eop end +Fs(backward-kill-word)p Ft(,)p eop end %%Page: 99 105 TeXDict begin 99 104 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2107 b(99)1350 299 y Fs("\\C-u":)46 -b(universal-argument)1350 408 y("\\C-x\\C-r":)f(re-read-init-file)1350 -518 y("\\e[11~":)g("Function)h(Key)g(1")1110 660 y Ft(In)64 -b(the)g(ab)s(o)m(v)m(e)i(example,)74 b Fj(C-u)64 b Ft(is)g(again)i(b)s -(ound)c(to)k(the)e(function)1110 770 y Fs(universal-argument)39 -b Ft(\(just)k(as)h(it)g(w)m(as)g(in)g(the)f(\014rst)g(example\),)49 -b(`)p Fj(C-x)1110 880 y(C-r)p Ft(')41 b(is)g(b)s(ound)e(to)j(the)f -(function)g Fs(re-read-init-file)p Ft(,)e(and)i(`)3462 -877 y Fg(h)p 3486 823 139 4 v 3486 880 a Ff(ESC)p 3486 -895 V 3620 877 a Fg(i)31 b(h)p 3705 823 20 4 v 3705 880 -a Ff([)p 3705 896 V 3720 877 a Fg(i)1110 986 y(h)p 1134 -933 36 4 v 1134 989 a Ff(1)p 1134 1004 V 1165 986 a Fg(i)f(h)p -1250 933 V 1250 989 a Ff(1)p 1250 1004 V 1281 986 a Fg(i)g(h)p -1365 933 48 4 v 1365 989 a Fs(~)p 1365 1004 V 1409 986 -a Fg(i)1438 989 y Ft(')h(is)f(b)s(ound)f(to)i(insert)f(the)h(text)g(`)p -Fs(Function)d(Key)i(1)p Ft('.)630 1164 y(The)f(follo)m(wing)i -Fl(gnu)f Ft(Emacs)g(st)m(yle)h(escap)s(e)f(sequences)g(are)g(a)m(v)-5 -b(ailable)32 b(when)d(sp)s(ecifying)630 1274 y(k)m(ey)i(sequences:)630 -1449 y Fj(\\C-)336 b Ft(con)m(trol)32 b(pre\014x)630 -1624 y Fj(\\M-)336 b Ft(meta)31 b(pre\014x)630 1799 y -Fj(\\e)384 b Ft(an)30 b(escap)s(e)h(c)m(haracter)630 -1974 y Fj(\\\\)384 b Ft(bac)m(kslash)630 2148 y Fj(\\)p -Fs(")1110 2145 y Fg(h)p 1134 2092 V 1134 2148 a Fs(")p -1134 2164 V 1178 2145 a Fg(i)1208 2148 y Ft(,)30 b(a)h(double)f -(quotation)h(mark)630 2323 y Fj(\\')1110 2320 y Fg(h)p -1134 2267 20 4 v 1134 2323 a Ff(')p 1134 2339 V 1150 -2320 a Fg(i)1179 2323 y Ft(,)g(a)g(single)g(quote)g(or)f(ap)s(ostrophe) -630 2498 y(In)d(addition)h(to)g(the)g Fl(gnu)f Ft(Emacs)h(st)m(yle)h +b(Command)29 b(Line)i(Editing)2107 b(99)1110 299 y(and)38 +b Fj(C-o)g Ft(is)h(b)s(ound)e(to)j(run)d(the)j(macro)f(expressed)g(on)f +(the)i(righ)m(t)f(hand)1110 408 y(side)30 b(\(that)i(is,)e(to)h(insert) +g(the)f(text)i(`)p Fs(>)e(output)p Ft(')f(in)m(to)i(the)g(line\).)1110 +543 y(A)37 b(n)m(um)m(b)s(er)f(of)h(sym)m(b)s(olic)g(c)m(haracter)i +(names)e(are)g(recognized)h(while)f(pro-)1110 653 y(cessing)24 +b(this)g(k)m(ey)g(binding)f(syn)m(tax:)37 b Fq(DEL)p +Ft(,)24 b Fq(ESC)p Ft(,)f Fq(ESCAPE)p Ft(,)g Fq(LFD)p +Ft(,)h Fq(NEW-)1110 763 y(LINE)p Ft(,)30 b Fq(RET)p Ft(,)g +Fq(RETURN)p Ft(,)h Fq(R)m(UBOUT)p Ft(,)g Fq(SP)-8 b(A)m(CE)p +Ft(,)30 b Fq(SPC)p Ft(,)g(and)f Fq(T)-8 b(AB)p Ft(.)630 +923 y Fs(")p Fq(k)m(eyseq)r Fs(")p Ft(:)41 b Fq(function-name)36 +b Ft(or)30 b Fq(macro)1110 1032 y(k)m(eyseq)k Ft(di\013ers)d(from)f +Fq(k)m(eyname)37 b Ft(ab)s(o)m(v)m(e)32 b(in)f(that)h(strings)f +(denoting)g(an)g(en-)1110 1142 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s +(e)f(sp)s(eci\014ed,)h(b)m(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in) +1110 1251 y(double)29 b(quotes.)41 b(Some)29 b Fl(gnu)h +Ft(Emacs)f(st)m(yle)i(k)m(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as) +1110 1361 y(in)k(the)h(follo)m(wing)i(example,)f(but)e(the)h(sp)s +(ecial)h(c)m(haracter)g(names)f(are)g(not)1110 1471 y(recognized.)1350 +1606 y Fs("\\C-u":)46 b(universal-argument)1350 1715 +y("\\C-x\\C-r":)f(re-read-init-file)1350 1825 y("\\e[11~":)g("Function) +h(Key)g(1")1110 1960 y Ft(In)64 b(the)g(ab)s(o)m(v)m(e)i(example,)74 +b Fj(C-u)64 b Ft(is)g(again)i(b)s(ound)c(to)k(the)e(function)1110 +2069 y Fs(universal-argument)39 b Ft(\(just)k(as)h(it)g(w)m(as)g(in)g +(the)f(\014rst)g(example\),)49 b(`)p Fj(C-x)1110 2179 +y(C-r)p Ft(')41 b(is)g(b)s(ound)e(to)j(the)f(function)g +Fs(re-read-init-file)p Ft(,)e(and)i(`)3462 2176 y Fg(h)p +3486 2123 139 4 v 3486 2179 a Ff(ESC)p 3486 2194 V 3620 +2176 a Fg(i)31 b(h)p 3705 2123 20 4 v 3705 2179 a Ff([)p +3705 2195 V 3720 2176 a Fg(i)1110 2285 y(h)p 1134 2232 +36 4 v 1134 2288 a Ff(1)p 1134 2304 V 1165 2285 a Fg(i)f(h)p +1250 2232 V 1250 2288 a Ff(1)p 1250 2304 V 1281 2285 +a Fg(i)g(h)p 1365 2232 48 4 v 1365 2288 a Fs(~)p 1365 +2304 V 1409 2285 a Fg(i)1438 2288 y Ft(')h(is)f(b)s(ound)f(to)i(insert) +f(the)h(text)g(`)p Fs(Function)d(Key)i(1)p Ft('.)630 +2449 y(The)f(follo)m(wing)i Fl(gnu)f Ft(Emacs)g(st)m(yle)h(escap)s(e)f +(sequences)g(are)g(a)m(v)-5 b(ailable)32 b(when)d(sp)s(ecifying)630 +2558 y(k)m(ey)i(sequences:)630 2718 y Fj(\\C-)336 b Ft(con)m(trol)32 +b(pre\014x)630 2878 y Fj(\\M-)336 b Ft(meta)31 b(pre\014x)630 +3039 y Fj(\\e)384 b Ft(an)30 b(escap)s(e)h(c)m(haracter)630 +3199 y Fj(\\\\)384 b Ft(bac)m(kslash)630 3359 y Fj(\\)p +Fs(")1110 3356 y Fg(h)p 1134 3303 V 1134 3359 a Fs(")p +1134 3374 V 1178 3356 a Fg(i)1208 3359 y Ft(,)30 b(a)h(double)f +(quotation)h(mark)630 3519 y Fj(\\')1110 3516 y Fg(h)p +1134 3463 20 4 v 1134 3519 a Ff(')p 1134 3534 V 1150 +3516 a Fg(i)1179 3519 y Ft(,)g(a)g(single)g(quote)g(or)f(ap)s(ostrophe) +630 3679 y(In)d(addition)h(to)g(the)g Fl(gnu)f Ft(Emacs)h(st)m(yle)h (escap)s(e)f(sequences,)h(a)f(second)f(set)h(of)g(bac)m(kslash)630 -2608 y(escap)s(es)j(is)f(a)m(v)-5 b(ailable:)630 2783 -y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630 2958 y Fs(\\b)384 -b Ft(bac)m(kspace)630 3133 y Fs(\\d)g Ft(delete)630 3308 -y Fs(\\f)g Ft(form)30 b(feed)630 3483 y Fs(\\n)384 b -Ft(newline)630 3658 y Fs(\\r)g Ft(carriage)32 b(return)630 -3833 y Fs(\\t)384 b Ft(horizon)m(tal)32 b(tab)630 4008 -y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630 4183 y Fs(\\)p +3789 y(escap)s(es)j(is)f(a)m(v)-5 b(ailable:)630 3949 +y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630 4109 y Fs(\\b)384 +b Ft(bac)m(kspace)630 4269 y Fs(\\d)g Ft(delete)630 4430 +y Fs(\\f)g Ft(form)30 b(feed)630 4590 y Fs(\\n)384 b +Ft(newline)630 4750 y Fs(\\r)g Ft(carriage)32 b(return)630 +4910 y Fs(\\t)384 b Ft(horizon)m(tal)32 b(tab)630 5070 +y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630 5230 y Fs(\\)p Fj(nnn)288 b Ft(the)35 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e(v)-5 b(alue)35 b(is)g(the)f(o)s(ctal)i(v)-5 b(alue)35 b Fq(nnn)e -Ft(\(one)i(to)1110 4292 y(three)c(digits\))630 4467 y -Fs(\\x)p Fj(HH)288 b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e -(v)-5 b(alue)39 b(is)h(the)f(hexadecimal)i(v)-5 b(alue)40 -b Fq(HH)1110 4577 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e(digits\))630 -4752 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g(macro,)i(single)e +Ft(\(one)i(to)1110 5340 y(three)c(digits\))p eop end +%%Page: 100 106 +TeXDict begin 100 105 bop 150 -116 a Ft(100)2527 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y Fs(\\x)p Fj(HH)288 +b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e(v)-5 +b(alue)39 b(is)h(the)f(hexadecimal)i(v)-5 b(alue)40 b +Fq(HH)1110 408 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e(digits\))630 +554 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g(macro,)i(single)e (or)f(double)g(quotes)h(m)m(ust)f(b)s(e)g(used)f(to)630 -4861 y(indicate)23 b(a)e(macro)h(de\014nition.)38 b(Unquoted)21 +664 y(indicate)23 b(a)e(macro)h(de\014nition.)38 b(Unquoted)21 b(text)i(is)e(assumed)g(to)h(b)s(e)f(a)h(function)f(name.)38 -b(In)630 4971 y(the)22 b(macro)f(b)s(o)s(dy)-8 b(,)23 +b(In)630 773 y(the)22 b(macro)f(b)s(o)s(dy)-8 b(,)23 b(the)e(bac)m(kslash)h(escap)s(es)g(describ)s(ed)e(ab)s(o)m(v)m(e)j -(are)e(expanded.)37 b(Bac)m(kslash)630 5081 y(will)j(quote)h(an)m(y)f +(are)e(expanded.)37 b(Bac)m(kslash)630 883 y(will)j(quote)h(an)m(y)f (other)g(c)m(haracter)i(in)d(the)i(macro)f(text,)k(including)39 b(`)p Fs(")p Ft(')h(and)g(`)p Fs(')p Ft('.)69 b(F)-8 -b(or)630 5190 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i -(mak)m(e)h(`)p Fj(C-x)j Fs(\\)p Ft(')c(insert)f(a)h(single)h(`)p -Fs(\\)p Ft(')f(in)m(to)g(the)g(line:)870 5332 y Fs("\\C-x\\\\":)45 -b("\\\\")p eop end -%%Page: 100 106 -TeXDict begin 100 105 bop 150 -116 a Ft(100)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fk(8.3.2)63 b(Conditional)41 -b(Init)g(Constructs)275 541 y Ft(Readline)36 b(implemen)m(ts)f(a)h -(facilit)m(y)i(similar)d(in)g(spirit)g(to)h(the)g(conditional)h -(compilation)g(features)150 651 y(of)e(the)f(C)g(prepro)s(cessor)g -(whic)m(h)g(allo)m(ws)i(k)m(ey)f(bindings)e(and)h(v)-5 -b(ariable)35 b(settings)h(to)f(b)s(e)f(p)s(erformed)f(as)150 -760 y(the)e(result)f(of)g(tests.)42 b(There)30 b(are)h(four)e(parser)h -(directiv)m(es)i(used.)150 916 y Fs($if)336 b Ft(The)31 -b Fs($if)f Ft(construct)i(allo)m(ws)h(bindings)d(to)i(b)s(e)e(made)i -(based)f(on)g(the)g(editing)h(mo)s(de,)g(the)630 1026 -y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g(application)h(using)f -(Readline.)64 b(The)38 b(text)h(of)f(the)g(test)630 1135 -y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m(haracters)i -(are)f(required)e(to)i(isolate)i(it.)630 1291 y Fs(mode)288 -b Ft(The)20 b Fs(mode=)g Ft(form)g(of)h(the)g Fs($if)f -Ft(directiv)m(e)j(is)e(used)f(to)h(test)h(whether)e(Readline)1110 -1401 y(is)29 b(in)h Fs(emacs)e Ft(or)h Fs(vi)g Ft(mo)s(de.)40 +b(or)630 993 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i(mak) +m(e)h(`)p Fj(C-x)j Fs(\\)p Ft(')c(insert)f(a)h(single)h(`)p +Fs(\\)p Ft(')f(in)m(to)g(the)g(line:)870 1120 y Fs("\\C-x\\\\":)45 +b("\\\\")150 1324 y Fk(8.3.2)63 b(Conditional)41 b(Init)g(Constructs) +275 1561 y Ft(Readline)36 b(implemen)m(ts)f(a)h(facilit)m(y)i(similar)d +(in)g(spirit)g(to)h(the)g(conditional)h(compilation)g(features)150 +1671 y(of)e(the)f(C)g(prepro)s(cessor)g(whic)m(h)g(allo)m(ws)i(k)m(ey)f +(bindings)e(and)h(v)-5 b(ariable)35 b(settings)h(to)f(b)s(e)f(p)s +(erformed)f(as)150 1781 y(the)e(result)f(of)g(tests.)42 +b(There)30 b(are)h(four)e(parser)h(directiv)m(es)i(used.)150 +1926 y Fs($if)336 b Ft(The)31 b Fs($if)f Ft(construct)i(allo)m(ws)h +(bindings)d(to)i(b)s(e)e(made)i(based)f(on)g(the)g(editing)h(mo)s(de,)g +(the)630 2036 y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g +(application)h(using)f(Readline.)64 b(The)38 b(text)h(of)f(the)g(test) +630 2146 y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m +(haracters)i(are)f(required)e(to)i(isolate)i(it.)630 +2291 y Fs(mode)288 b Ft(The)20 b Fs(mode=)g Ft(form)g(of)h(the)g +Fs($if)f Ft(directiv)m(e)j(is)e(used)f(to)h(test)h(whether)e(Readline) +1110 2401 y(is)29 b(in)h Fs(emacs)e Ft(or)h Fs(vi)g Ft(mo)s(de.)40 b(This)29 b(ma)m(y)h(b)s(e)e(used)h(in)g(conjunction)h(with)f(the)1110 -1510 y(`)p Fs(set)h(keymap)p Ft(')c(command,)i(for)f(instance,)i(to)f -(set)g(bindings)f(in)g(the)h Fs(emacs-)1110 1620 y(standard)23 +2511 y(`)p Fs(set)h(keymap)p Ft(')c(command,)i(for)f(instance,)i(to)f +(set)g(bindings)f(in)g(the)h Fs(emacs-)1110 2620 y(standard)23 b Ft(and)h Fs(emacs-ctlx)f Ft(k)m(eymaps)i(only)g(if)g(Readline)h(is)f -(starting)h(out)1110 1729 y(in)k Fs(emacs)f Ft(mo)s(de.)630 -1885 y Fs(term)288 b Ft(The)26 b Fs(term=)g Ft(form)g(ma)m(y)i(b)s(e)e +(starting)h(out)1110 2730 y(in)k Fs(emacs)f Ft(mo)s(de.)630 +2876 y Fs(term)288 b Ft(The)26 b Fs(term=)g Ft(form)g(ma)m(y)i(b)s(e)e (used)g(to)i(include)f(terminal-sp)s(eci\014c)g(k)m(ey)h(bind-)1110 -1995 y(ings,)38 b(p)s(erhaps)c(to)j(bind)e(the)h(k)m(ey)h(sequences)f -(output)g(b)m(y)g(the)g(terminal's)1110 2104 y(function)24 +2985 y(ings,)38 b(p)s(erhaps)c(to)j(bind)e(the)h(k)m(ey)h(sequences)f +(output)g(b)m(y)g(the)g(terminal's)1110 3095 y(function)24 b(k)m(eys.)39 b(The)23 b(w)m(ord)h(on)f(the)i(righ)m(t)f(side)g(of)g -(the)g(`)p Fs(=)p Ft(')g(is)g(tested)h(against)1110 2214 +(the)g(`)p Fs(=)p Ft(')g(is)g(tested)h(against)1110 3204 y(b)s(oth)k(the)h(full)g(name)g(of)g(the)g(terminal)h(and)e(the)i(p)s -(ortion)e(of)h(the)g(terminal)1110 2324 y(name)k(b)s(efore)f(the)g +(ortion)e(of)h(the)g(terminal)1110 3314 y(name)k(b)s(efore)f(the)g (\014rst)g(`)p Fs(-)p Ft('.)50 b(This)33 b(allo)m(ws)i Fs(sun)e Ft(to)h(matc)m(h)g(b)s(oth)f Fs(sun)g Ft(and)1110 -2433 y Fs(sun-cmd)p Ft(,)c(for)h(instance.)630 2589 y -Fs(application)1110 2699 y Ft(The)21 b Fq(application)j +3424 y Fs(sun-cmd)p Ft(,)c(for)h(instance.)630 3569 y +Fs(application)1110 3679 y Ft(The)21 b Fq(application)j Ft(construct)e(is)g(used)f(to)i(include)f(application-sp)s(eci\014c)h -(set-)1110 2808 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h +(set-)1110 3789 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h (Readline)g(library)g(sets)g(the)g Fq(application)1110 -2918 y(name)p Ft(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h +3898 y(name)p Ft(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h (v)-5 b(alue.)39 b(This)22 b(could)h(b)s(e)g(used)f(to)1110 -3027 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h -(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 3137 +4008 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h +(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 4117 y(instance,)35 b(the)e(follo)m(wing)h(command)f(adds)f(a)i(k)m(ey)f -(sequence)h(that)f(quotes)1110 3246 y(the)e(curren)m(t)f(or)g(previous) -g(w)m(ord)g(in)g(Bash:)1350 3379 y Fs($if)47 b(Bash)1350 -3489 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350 -3598 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 3708 y($endif)150 -3864 y($endif)192 b Ft(This)29 b(command,)i(as)f(seen)h(in)f(the)g +(sequence)h(that)f(quotes)1110 4227 y(the)e(curren)m(t)f(or)g(previous) +g(w)m(ord)g(in)g(Bash:)1350 4355 y Fs($if)47 b(Bash)1350 +4464 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350 +4574 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 4683 y($endif)150 +4829 y($endif)192 b Ft(This)29 b(command,)i(as)f(seen)h(in)f(the)g (previous)g(example,)h(terminates)g(an)g Fs($if)e Ft(command.)150 -4019 y Fs($else)240 b Ft(Commands)29 b(in)h(this)h(branc)m(h)e(of)i +4975 y Fs($else)240 b Ft(Commands)29 b(in)h(this)h(branc)m(h)e(of)i (the)f Fs($if)g Ft(directiv)m(e)i(are)f(executed)g(if)f(the)h(test)g -(fails.)150 4175 y Fs($include)96 b Ft(This)43 b(directiv)m(e)i(tak)m +(fails.)150 5121 y Fs($include)96 b Ft(This)43 b(directiv)m(e)i(tak)m (es)g(a)e(single)i(\014lename)e(as)h(an)f(argumen)m(t)h(and)f(reads)g -(commands)630 4285 y(and)38 b(bindings)f(from)h(that)i(\014le.)65 +(commands)630 5230 y(and)38 b(bindings)f(from)h(that)i(\014le.)65 b(F)-8 b(or)39 b(example,)j(the)d(follo)m(wing)h(directiv)m(e)g(reads)e -(from)630 4394 y(`)p Fs(/etc/inputrc)p Ft(':)870 4527 -y Fs($include)46 b(/etc/inputrc)150 4746 y Fk(8.3.3)63 -b(Sample)41 b(Init)g(File)275 4988 y Ft(Here)31 b(is)f(an)g(example)i -(of)e(an)g Fq(inputrc)35 b Ft(\014le.)42 b(This)29 b(illustrates)j(k)m -(ey)f(binding,)f(v)-5 b(ariable)31 b(assignmen)m(t,)150 -5098 y(and)f(conditional)h(syn)m(tax.)p eop end +(from)630 5340 y(`)p Fs(/etc/inputrc)p Ft(':)p eop end %%Page: 101 107 TeXDict begin 101 106 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(101)390 408 y Fs(#)47 -b(This)g(file)g(controls)e(the)i(behaviour)e(of)j(line)e(input)h -(editing)e(for)390 518 y(#)i(programs)f(that)h(use)g(the)f(GNU)h -(Readline)f(library.)93 b(Existing)390 628 y(#)47 b(programs)f(include) -g(FTP,)g(Bash,)h(and)g(GDB.)390 737 y(#)390 847 y(#)g(You)g(can)g -(re-read)f(the)h(inputrc)f(file)g(with)h(C-x)g(C-r.)390 -956 y(#)g(Lines)g(beginning)e(with)i('#')g(are)g(comments.)390 -1066 y(#)390 1176 y(#)g(First,)g(include)e(any)i(systemwide)e(bindings) -h(and)h(variable)390 1285 y(#)g(assignments)e(from)i(/etc/Inputrc)390 -1395 y($include)f(/etc/Inputrc)390 1614 y(#)390 1724 -y(#)h(Set)g(various)f(bindings)g(for)h(emacs)f(mode.)390 -1943 y(set)h(editing-mode)d(emacs)390 2162 y($if)j(mode=emacs)390 +b(Command)29 b(Line)i(Editing)2062 b(101)870 299 y Fs($include)46 +b(/etc/inputrc)150 523 y Fk(8.3.3)63 b(Sample)41 b(Init)g(File)275 +767 y Ft(Here)31 b(is)f(an)g(example)i(of)e(an)g Fq(inputrc)35 +b Ft(\014le.)42 b(This)29 b(illustrates)j(k)m(ey)f(binding,)f(v)-5 +b(ariable)31 b(assignmen)m(t,)150 877 y(and)f(conditional)h(syn)m(tax.) +p eop end +%%Page: 102 108 +TeXDict begin 102 107 bop 150 -116 a Ft(102)2527 b(Bash)31 +b(Reference)g(Man)m(ual)390 408 y Fs(#)47 b(This)g(file)g(controls)e +(the)i(behaviour)e(of)j(line)e(input)h(editing)e(for)390 +518 y(#)i(programs)f(that)h(use)g(the)f(GNU)h(Readline)f(library.)93 +b(Existing)390 628 y(#)47 b(programs)f(include)g(FTP,)g(Bash,)h(and)g +(GDB.)390 737 y(#)390 847 y(#)g(You)g(can)g(re-read)f(the)h(inputrc)f +(file)g(with)h(C-x)g(C-r.)390 956 y(#)g(Lines)g(beginning)e(with)i('#') +g(are)g(comments.)390 1066 y(#)390 1176 y(#)g(First,)g(include)e(any)i +(systemwide)e(bindings)h(and)h(variable)390 1285 y(#)g(assignments)e +(from)i(/etc/Inputrc)390 1395 y($include)f(/etc/Inputrc)390 +1614 y(#)390 1724 y(#)h(Set)g(various)f(bindings)g(for)h(emacs)f(mode.) +390 1943 y(set)h(editing-mode)d(emacs)390 2162 y($if)j(mode=emacs)390 2381 y(Meta-Control-h:)91 b(backward-kill-word)43 b(Text)k(after)f(the) h(function)f(name)g(is)h(ignored)390 2600 y(#)390 2710 y(#)g(Arrow)g(keys)f(in)i(keypad)e(mode)390 2819 y(#)390 @@ -11790,10 +11924,10 @@ y(#)47 b(Arrow)g(keys)f(in)i(8)f(bit)g(keypad)f(mode)390 4902 y(#)390 5011 y(#)47 b(Arrow)g(keys)f(in)i(8)f(bit)g(ANSI)g(mode) 390 5121 y(#)390 5230 y(#"\\M-\\C-[D":)331 b(backward-char)390 5340 y(#"\\M-\\C-[C":)g(forward-char)p eop end -%%Page: 102 108 -TeXDict begin 102 107 bop 150 -116 a Ft(102)2527 b(Bash)31 -b(Reference)g(Man)m(ual)390 299 y Fs(#"\\M-\\C-[A":)331 -b(previous-history)390 408 y(#"\\M-\\C-[B":)g(next-history)390 +%%Page: 103 109 +TeXDict begin 103 108 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(103)390 299 y Fs(#"\\M-\\C-[A":) +331 b(previous-history)390 408 y(#"\\M-\\C-[B":)g(next-history)390 628 y(C-q:)47 b(quoted-insert)390 847 y($endif)390 1066 y(#)g(An)h(old-style)d(binding.)93 b(This)47 b(happens)f(to)h(be)g(the) g(default.)390 1176 y(TAB:)g(complete)390 1395 y(#)g(Macros)g(that)f @@ -11825,10 +11959,10 @@ y($endif)390 3477 y(#)i(use)g(a)h(visible)e(bell)g(if)h(one)g(is)h (completions)e(for)390 5121 y(#)j(a)h(word,)e(ask)h(the)g(user)g(if)g (he)g(wants)f(to)i(see)f(all)f(of)i(them)390 5230 y(set)f (completion-query-items)42 b(150)p eop end -%%Page: 103 109 -TeXDict begin 103 108 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(103)390 299 y Fs(#)47 -b(For)g(FTP)390 408 y($if)g(Ftp)390 518 y("\\C-xg":)f("get)g(\\M-?")390 +%%Page: 104 110 +TeXDict begin 104 109 bop 150 -116 a Ft(104)2527 b(Bash)31 +b(Reference)g(Man)m(ual)390 299 y Fs(#)47 b(For)g(FTP)390 +408 y($if)g(Ftp)390 518 y("\\C-xg":)f("get)g(\\M-?")390 628 y("\\C-xt":)g("put)g(\\M-?")390 737 y("\\M-.":)g(yank-last-arg)390 847 y($endif)150 1086 y Fr(8.4)68 b(Bindable)45 b(Readline)i(Commands) 275 1323 y Ft(This)34 b(section)j(describ)s(es)e(Readline)h(commands)g @@ -11873,31 +12007,31 @@ b(this)g(line)h(is)f(non-empt)m(y)-8 b(,)26 b(add)c(it)630 5340 y(to)27 b(the)f(history)g(list)h(according)g(to)g(the)f(setting)i (of)e(the)g Fs(HISTCONTROL)d Ft(and)j Fs(HISTIGNORE)p eop end -%%Page: 104 110 -TeXDict begin 104 109 bop 150 -116 a Ft(104)2527 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(v)-5 b(ariables.)42 -b(If)30 b(this)h(line)g(is)g(a)g(mo)s(di\014ed)e(history)i(line,)g -(then)f(restore)i(the)f(history)f(line)h(to)630 408 y(its)g(original)g -(state.)150 555 y Fs(previous-history)26 b(\(C-p\))630 -664 y Ft(Mo)m(v)m(e)32 b(`bac)m(k')g(through)e(the)g(history)h(list,)g -(fetc)m(hing)g(the)g(previous)f(command.)150 810 y Fs(next-history)d -(\(C-n\))630 920 y Ft(Mo)m(v)m(e)32 b(`forw)m(ard')f(through)e(the)i -(history)f(list,)i(fetc)m(hing)f(the)g(next)f(command.)150 -1066 y Fs(beginning-of-history)25 b(\(M-<\))630 1176 -y Ft(Mo)m(v)m(e)32 b(to)g(the)e(\014rst)g(line)g(in)h(the)f(history)-8 -b(.)150 1322 y Fs(end-of-history)26 b(\(M->\))630 1431 -y Ft(Mo)m(v)m(e)32 b(to)g(the)e(end)g(of)g(the)h(input)e(history)-8 -b(,)31 b(i.e.,)h(the)f(line)f(curren)m(tly)h(b)s(eing)f(en)m(tered.)150 -1577 y Fs(reverse-search-history)24 b(\(C-r\))630 1687 -y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g(the)f(curren)m(t)g -(line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g(his-)630 -1797 y(tory)g(as)f(necessary)-8 b(.)42 b(This)29 b(is)i(an)f(incremen)m -(tal)i(searc)m(h.)150 1943 y Fs(forward-search-history)24 -b(\(C-s\))630 2052 y Ft(Searc)m(h)30 b(forw)m(ard)f(starting)h(at)g -(the)g(curren)m(t)f(line)h(and)f(mo)m(ving)h(`do)m(wn')f(through)g(the) -h(the)630 2162 y(history)g(as)h(necessary)-8 b(.)41 b(This)30 -b(is)g(an)h(incremen)m(tal)g(searc)m(h.)150 2308 y Fs -(non-incremental-reverse-)o(sear)o(ch-h)o(ist)o(ory)24 +%%Page: 105 111 +TeXDict begin 105 110 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(105)630 299 y(v)-5 +b(ariables.)42 b(If)30 b(this)h(line)g(is)g(a)g(mo)s(di\014ed)e +(history)i(line,)g(then)f(restore)i(the)f(history)f(line)h(to)630 +408 y(its)g(original)g(state.)150 555 y Fs(previous-history)26 +b(\(C-p\))630 664 y Ft(Mo)m(v)m(e)32 b(`bac)m(k')g(through)e(the)g +(history)h(list,)g(fetc)m(hing)g(the)g(previous)f(command.)150 +810 y Fs(next-history)d(\(C-n\))630 920 y Ft(Mo)m(v)m(e)32 +b(`forw)m(ard')f(through)e(the)i(history)f(list,)i(fetc)m(hing)f(the)g +(next)f(command.)150 1066 y Fs(beginning-of-history)25 +b(\(M-<\))630 1176 y Ft(Mo)m(v)m(e)32 b(to)g(the)e(\014rst)g(line)g(in) +h(the)f(history)-8 b(.)150 1322 y Fs(end-of-history)26 +b(\(M->\))630 1431 y Ft(Mo)m(v)m(e)32 b(to)g(the)e(end)g(of)g(the)h +(input)e(history)-8 b(,)31 b(i.e.,)h(the)f(line)f(curren)m(tly)h(b)s +(eing)f(en)m(tered.)150 1577 y Fs(reverse-search-history)24 +b(\(C-r\))630 1687 y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g +(the)f(curren)m(t)g(line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g +(his-)630 1797 y(tory)g(as)f(necessary)-8 b(.)42 b(This)29 +b(is)i(an)f(incremen)m(tal)i(searc)m(h.)150 1943 y Fs +(forward-search-history)24 b(\(C-s\))630 2052 y Ft(Searc)m(h)30 +b(forw)m(ard)f(starting)h(at)g(the)g(curren)m(t)f(line)h(and)f(mo)m +(ving)h(`do)m(wn')f(through)g(the)h(the)630 2162 y(history)g(as)h +(necessary)-8 b(.)41 b(This)30 b(is)g(an)h(incremen)m(tal)g(searc)m(h.) +150 2308 y Fs(non-incremental-reverse-)o(sear)o(ch-h)o(ist)o(ory)24 b(\(M-p\))630 2418 y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g (the)f(curren)m(t)g(line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g (his-)630 2527 y(tory)36 b(as)g(necessary)h(using)e(a)i(non-incremen)m @@ -11939,18 +12073,17 @@ f(command)h(\(the)h(last)f(w)m(ord)g(of)g(the)g(previous)630 Ft(.)38 b(Succes-)630 5340 y(siv)m(e)d(calls)h(to)f Fs(yank-last-arg)c Ft(mo)m(v)m(e)36 b(bac)m(k)g(through)d(the)i(history)g(list,)h (inserting)f(the)p eop end -%%Page: 105 111 -TeXDict begin 105 110 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(105)630 299 y(last)32 -b(argumen)m(t)f(of)g(eac)m(h)h(line)f(in)f(turn.)41 b(The)30 -b(history)h(expansion)f(facilities)j(are)e(used)f(to)630 -408 y(extract)i(the)e(last)i(argumen)m(t,)f(as)f(if)h(the)f(`)p -Fs(!$)p Ft(')g(history)h(expansion)f(had)g(b)s(een)f(sp)s(eci\014ed.) -150 636 y Fk(8.4.3)63 b(Commands)42 b(F)-10 b(or)41 b(Changing)g(T)-10 -b(ext)150 881 y Fs(delete-char)27 b(\(C-d\))630 990 y -Ft(Delete)41 b(the)e(c)m(haracter)i(at)e(p)s(oin)m(t.)66 -b(If)39 b(p)s(oin)m(t)f(is)h(at)h(the)f(b)s(eginning)f(of)h(the)g -(line,)j(there)630 1100 y(are)37 b(no)g(c)m(haracters)i(in)d(the)i +%%Page: 106 112 +TeXDict begin 106 111 bop 150 -116 a Ft(106)2527 b(Bash)31 +b(Reference)g(Man)m(ual)630 299 y(last)h(argumen)m(t)f(of)g(eac)m(h)h +(line)f(in)f(turn.)41 b(The)30 b(history)h(expansion)f(facilities)j +(are)e(used)f(to)630 408 y(extract)i(the)e(last)i(argumen)m(t,)f(as)f +(if)h(the)f(`)p Fs(!$)p Ft(')g(history)h(expansion)f(had)g(b)s(een)f +(sp)s(eci\014ed.)150 636 y Fk(8.4.3)63 b(Commands)42 +b(F)-10 b(or)41 b(Changing)g(T)-10 b(ext)150 881 y Fs(delete-char)27 +b(\(C-d\))630 990 y Ft(Delete)41 b(the)e(c)m(haracter)i(at)e(p)s(oin)m +(t.)66 b(If)39 b(p)s(oin)m(t)f(is)h(at)h(the)f(b)s(eginning)f(of)h(the) +g(line,)j(there)630 1100 y(are)37 b(no)g(c)m(haracters)i(in)d(the)i (line,)h(and)d(the)h(last)h(c)m(haracter)h(t)m(yp)s(ed)e(w)m(as)g(not)g (b)s(ound)e(to)630 1209 y Fs(delete-char)p Ft(,)28 b(then)i(return)f Fl(eof)p Ft(.)150 1370 y Fs(backward-delete-char)c(\(Rubout\))630 @@ -12000,13 +12133,13 @@ b(With)33 b(an)g(explicit)h(p)s(ositiv)m(e)g(n)m(umeric)f(argumen)m(t,) h(switc)m(hes)630 5340 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37 b(With)22 b(an)g(explicit)h(non-p)s(ositiv)m(e)f(n)m(umeric)g(argumen)m (t,)i(switc)m(hes)e(to)p eop end -%%Page: 106 112 -TeXDict begin 106 111 bop 150 -116 a Ft(106)2527 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(insert)f(mo)s(de.)41 -b(This)30 b(command)h(a\013ects)h(only)e Fs(emacs)f Ft(mo)s(de;)i -Fs(vi)f Ft(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 408 -y(di\013eren)m(tly)-8 b(.)42 b(Eac)m(h)31 b(call)h(to)f -Fs(readline\(\))c Ft(starts)k(in)f(insert)g(mo)s(de.)630 +%%Page: 107 113 +TeXDict begin 107 112 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(107)630 299 y(insert)30 +b(mo)s(de.)41 b(This)30 b(command)h(a\013ects)h(only)e +Fs(emacs)f Ft(mo)s(de;)i Fs(vi)f Ft(mo)s(de)g(do)s(es)g(o)m(v)m +(erwrite)630 408 y(di\013eren)m(tly)-8 b(.)42 b(Eac)m(h)31 +b(call)h(to)f Fs(readline\(\))c Ft(starts)k(in)f(insert)g(mo)s(de.)630 539 y(In)e(o)m(v)m(erwrite)j(mo)s(de,)e(c)m(haracters)i(b)s(ound)c(to)j Fs(self-insert)c Ft(replace)k(the)g(text)g(at)g(p)s(oin)m(t)630 648 y(rather)41 b(than)h(pushing)e(the)i(text)g(to)g(the)g(righ)m(t.)75 @@ -12063,20 +12196,19 @@ b(the)g(w)m(ord)g(follo)m(wing)h(p)s(oin)m(t)f(to)h(the)f(kill)h 5340 y(same)f(as)f Fs(forward-word)p Ft(.)38 b(By)30 b(default,)h(this)g(command)f(is)g(un)m(b)s(ound.)p eop end -%%Page: 107 113 -TeXDict begin 107 112 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(107)150 299 y Fs(yank)29 -b(\(C-y\))630 408 y Ft(Y)-8 b(ank)31 b(the)f(top)h(of)g(the)f(kill)h -(ring)f(in)m(to)i(the)e(bu\013er)g(at)h(p)s(oin)m(t.)150 -558 y Fs(yank-pop)d(\(M-y\))630 667 y Ft(Rotate)36 b(the)f(kill-ring,)i -(and)d(y)m(ank)h(the)f(new)g(top.)54 b(Y)-8 b(ou)35 b(can)g(only)f(do)h -(this)f(if)h(the)g(prior)630 777 y(command)30 b(is)h -Fs(yank)e Ft(or)h Fs(yank-pop)p Ft(.)150 986 y Fk(8.4.5)63 -b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m(ts)150 1225 -y Fs(digit-argument)26 b(\()p Fj(M-0)p Fs(,)j Fj(M-1)p -Fs(,)h(...)f Fj(M--)p Fs(\))630 1335 y Ft(Add)d(this)h(digit)g(to)h -(the)f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f(new) -f(argumen)m(t.)630 1445 y Fj(M--)j Ft(starts)i(a)g(negativ)m(e)i +%%Page: 108 114 +TeXDict begin 108 113 bop 150 -116 a Ft(108)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fs(yank)e(\(C-y\))630 +408 y Ft(Y)-8 b(ank)31 b(the)f(top)h(of)g(the)f(kill)h(ring)f(in)m(to)i +(the)e(bu\013er)g(at)h(p)s(oin)m(t.)150 558 y Fs(yank-pop)d(\(M-y\))630 +667 y Ft(Rotate)36 b(the)f(kill-ring,)i(and)d(y)m(ank)h(the)f(new)g +(top.)54 b(Y)-8 b(ou)35 b(can)g(only)f(do)h(this)f(if)h(the)g(prior)630 +777 y(command)30 b(is)h Fs(yank)e Ft(or)h Fs(yank-pop)p +Ft(.)150 986 y Fk(8.4.5)63 b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m(ts) +150 1225 y Fs(digit-argument)26 b(\()p Fj(M-0)p Fs(,)j +Fj(M-1)p Fs(,)h(...)f Fj(M--)p Fs(\))630 1335 y Ft(Add)d(this)h(digit)g +(to)h(the)f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f +(new)f(argumen)m(t.)630 1445 y Fj(M--)j Ft(starts)i(a)g(negativ)m(e)i (argumen)m(t.)150 1594 y Fs(universal-argument)25 b(\(\))630 1704 y Ft(This)g(is)g(another)h(w)m(a)m(y)g(to)h(sp)s(ecify)e(an)g (argumen)m(t.)40 b(If)25 b(this)g(command)h(is)f(follo)m(w)m(ed)i(b)m @@ -12134,607 +12266,618 @@ Fq(n)630 5121 y Ft(p)s(ositions)e(forw)m(ard)f(in)g(the)h(list)h(of)e (ound)e(to)630 5337 y Fg(h)p 654 5284 V 654 5340 a Ff(T)-6 b(AB)p 654 5355 V 798 5337 a Fg(i)828 5340 y Ft(,)30 b(but)g(is)g(un)m(b)s(ound)e(b)m(y)i(default.)p eop end -%%Page: 108 114 -TeXDict begin 108 113 bop 150 -116 a Ft(108)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fs(delete-char-or-list)25 -b(\(\))630 408 y Ft(Deletes)k(the)e(c)m(haracter)h(under)e(the)h -(cursor)f(if)h(not)g(at)g(the)g(b)s(eginning)g(or)f(end)h(of)g(the)g -(line)630 518 y(\(lik)m(e)k Fs(delete-char)p Ft(\).)37 -b(If)29 b(at)h(the)f(end)f(of)i(the)f(line,)h(b)s(eha)m(v)m(es)g(iden)m -(tically)h(to)e Fs(possible-)630 628 y(completions)p +%%Page: 109 115 +TeXDict begin 109 114 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(109)150 299 y Fs +(delete-char-or-list)25 b(\(\))630 408 y Ft(Deletes)k(the)e(c)m +(haracter)h(under)e(the)h(cursor)f(if)h(not)g(at)g(the)g(b)s(eginning)g +(or)f(end)h(of)g(the)g(line)630 518 y(\(lik)m(e)k Fs(delete-char)p +Ft(\).)37 b(If)29 b(at)h(the)f(end)f(of)i(the)f(line,)h(b)s(eha)m(v)m +(es)g(iden)m(tically)h(to)e Fs(possible-)630 628 y(completions)p Ft(.)38 b(This)29 b(command)h(is)h(un)m(b)s(ound)d(b)m(y)i(default.)150 -789 y Fs(complete-filename)c(\(M-/\))630 899 y Ft(A)m(ttempt)32 +803 y Fs(complete-filename)c(\(M-/\))630 913 y Ft(A)m(ttempt)32 b(\014lename)e(completion)i(on)e(the)h(text)g(b)s(efore)f(p)s(oin)m(t.) -150 1060 y Fs(possible-filename-comple)o(tion)o(s)24 -b(\(C-x)30 b(/\))630 1170 y Ft(List)f(the)g(p)s(ossible)f(completions)h +150 1088 y Fs(possible-filename-comple)o(tion)o(s)24 +b(\(C-x)30 b(/\))630 1197 y Ft(List)f(the)g(p)s(ossible)f(completions)h (of)g(the)g(text)g(b)s(efore)g(p)s(oin)m(t,)g(treating)h(it)f(as)g(a)f -(\014lename.)150 1331 y Fs(complete-username)e(\(M-~\))630 -1441 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p) -s(oin)m(t,)g(treating)i(it)f(as)f(a)h(username.)150 1602 +(\014lename.)150 1373 y Fs(complete-username)e(\(M-~\))630 +1482 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p) +s(oin)m(t,)g(treating)i(it)f(as)f(a)h(username.)150 1658 y Fs(possible-username-comple)o(tion)o(s)24 b(\(C-x)30 -b(~\))630 1712 y Ft(List)25 b(the)g(p)s(ossible)g(completions)h(of)f +b(~\))630 1767 y Ft(List)25 b(the)g(p)s(ossible)g(completions)h(of)f (the)g(text)h(b)s(efore)f(p)s(oin)m(t,)h(treating)g(it)g(as)f(a)g -(username.)150 1873 y Fs(complete-variable)h(\(M-$\))630 -1983 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p) +(username.)150 1942 y Fs(complete-variable)h(\(M-$\))630 +2052 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i(b)s(efore)e(p) s(oin)m(t,)g(treating)i(it)f(as)f(a)h(shell)g(v)-5 b(ariable.)150 -2144 y Fs(possible-variable-comple)o(tion)o(s)24 b(\(C-x)30 -b($\))630 2254 y Ft(List)42 b(the)g(p)s(ossible)g(completions)h(of)f +2227 y Fs(possible-variable-comple)o(tion)o(s)24 b(\(C-x)30 +b($\))630 2337 y Ft(List)42 b(the)g(p)s(ossible)g(completions)h(of)f (the)g(text)h(b)s(efore)e(p)s(oin)m(t,)46 b(treating)d(it)f(as)g(a)h -(shell)630 2364 y(v)-5 b(ariable.)150 2525 y Fs(complete-hostname)26 -b(\(M-@\))630 2635 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i +(shell)630 2446 y(v)-5 b(ariable.)150 2622 y Fs(complete-hostname)26 +b(\(M-@\))630 2731 y Ft(A)m(ttempt)32 b(completion)f(on)g(the)f(text)i (b)s(efore)e(p)s(oin)m(t,)g(treating)i(it)f(as)f(a)h(hostname.)150 -2796 y Fs(possible-hostname-comple)o(tion)o(s)24 b(\(C-x)30 -b(@\))630 2906 y Ft(List)25 b(the)g(p)s(ossible)f(completions)h(of)g +2907 y Fs(possible-hostname-comple)o(tion)o(s)24 b(\(C-x)30 +b(@\))630 3016 y Ft(List)25 b(the)g(p)s(ossible)f(completions)h(of)g (the)g(text)g(b)s(efore)g(p)s(oin)m(t,)h(treating)g(it)f(as)f(a)h -(hostname.)150 3067 y Fs(complete-command)h(\(M-!\))630 -3177 y Ft(A)m(ttempt)32 b(completion)g(on)f(the)g(text)h(b)s(efore)e(p) +(hostname.)150 3191 y Fs(complete-command)h(\(M-!\))630 +3301 y Ft(A)m(ttempt)32 b(completion)g(on)f(the)g(text)h(b)s(efore)e(p) s(oin)m(t,)h(treating)h(it)g(as)f(a)g(command)g(name.)630 -3286 y(Command)46 b(completion)i(attempts)g(to)f(matc)m(h)h(the)f(text) -h(against)g(aliases,)53 b(reserv)m(ed)630 3396 y(w)m(ords,)36 +3411 y(Command)46 b(completion)i(attempts)g(to)f(matc)m(h)h(the)f(text) +h(against)g(aliases,)53 b(reserv)m(ed)630 3520 y(w)m(ords,)36 b(shell)g(functions,)h(shell)e(builtins,)i(and)e(\014nally)g -(executable)i(\014lenames,)g(in)e(that)630 3505 y(order.)150 -3667 y Fs(possible-command-complet)o(ions)24 b(\(C-x)29 -b(!\))630 3777 y Ft(List)d(the)h(p)s(ossible)f(completions)h(of)f(the)h +(executable)i(\014lenames,)g(in)e(that)630 3630 y(order.)150 +3805 y Fs(possible-command-complet)o(ions)24 b(\(C-x)29 +b(!\))630 3915 y Ft(List)d(the)h(p)s(ossible)f(completions)h(of)f(the)h (text)g(b)s(efore)f(p)s(oin)m(t,)h(treating)g(it)g(as)g(a)f(command)630 -3886 y(name.)150 4048 y Fs(dynamic-complete-history)e(\(M-)1470 -4045 y Fg(h)p 1493 3992 148 4 v 1493 4048 a Ff(T)-6 b(AB)p -1493 4063 V 1637 4045 a Fg(i)1667 4048 y Fs(\))630 4157 +4024 y(name.)150 4200 y Fs(dynamic-complete-history)e(\(M-)1470 +4197 y Fg(h)p 1493 4144 148 4 v 1493 4200 a Ff(T)-6 b(AB)p +1493 4215 V 1637 4197 a Fg(i)1667 4200 y Fs(\))630 4309 y Ft(A)m(ttempt)31 b(completion)h(on)e(the)g(text)h(b)s(efore)f(p)s (oin)m(t,)g(comparing)h(the)f(text)h(against)h(lines)630 -4267 y(from)e(the)g(history)h(list)g(for)f(p)s(ossible)g(completion)i -(matc)m(hes.)150 4428 y Fs(complete-into-braces)25 b(\(M-{\))630 -4538 y Ft(P)m(erform)f(\014lename)f(completion)i(and)f(insert)f(the)h -(list)g(of)g(p)s(ossible)f(completions)i(enclosed)630 -4647 y(within)34 b(braces)h(so)f(the)h(list)g(is)g(a)m(v)-5 +4419 y(from)e(the)g(history)h(list)g(for)f(p)s(ossible)g(completion)i +(matc)m(hes.)150 4594 y Fs(dabbrev-expand)26 b(\(\))630 +4704 y Ft(A)m(ttempt)i(men)m(u)e(completion)i(on)f(the)g(text)g(b)s +(efore)f(p)s(oin)m(t,)i(comparing)f(the)g(text)h(against)630 +4813 y(lines)j(from)e(the)i(history)f(list)h(for)g(p)s(ossible)e +(completion)j(matc)m(hes.)150 4988 y Fs(complete-into-braces)25 +b(\(M-{\))630 5098 y Ft(P)m(erform)f(\014lename)f(completion)i(and)f +(insert)f(the)h(list)g(of)g(p)s(ossible)f(completions)i(enclosed)630 +5208 y(within)34 b(braces)h(so)f(the)h(list)g(is)g(a)m(v)-5 b(ailable)37 b(to)e(the)g(shell)g(\(see)g(Section)h(3.5.1)g([Brace)g -(Ex-)630 4757 y(pansion],)30 b(page)h(17\).)150 4985 -y Fk(8.4.7)63 b(Keyb)s(oard)41 b(Macros)150 5230 y Fs(start-kbd-macro) -26 b(\(C-x)j(\(\))630 5340 y Ft(Begin)i(sa)m(ving)h(the)e(c)m -(haracters)i(t)m(yp)s(ed)e(in)m(to)h(the)g(curren)m(t)f(k)m(eyb)s(oard) -g(macro.)p eop end -%%Page: 109 115 -TeXDict begin 109 114 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(109)150 299 y Fs(end-kbd-macro)27 -b(\(C-x)i(\)\))630 408 y Ft(Stop)e(sa)m(ving)h(the)g(c)m(haracters)g(t) -m(yp)s(ed)f(in)m(to)i(the)e(curren)m(t)g(k)m(eyb)s(oard)g(macro)h(and)f -(sa)m(v)m(e)i(the)630 518 y(de\014nition.)150 691 y Fs -(call-last-kbd-macro)c(\(C-x)k(e\))630 801 y Ft(Re-execute)37 -b(the)e(last)h(k)m(eyb)s(oard)f(macro)h(de\014ned,)f(b)m(y)h(making)f -(the)g(c)m(haracters)i(in)e(the)630 911 y(macro)c(app)s(ear)f(as)g(if)h -(t)m(yp)s(ed)f(at)h(the)f(k)m(eyb)s(oard.)150 1163 y -Fk(8.4.8)63 b(Some)41 b(Miscellaneous)i(Commands)150 -1414 y Fs(re-read-init-file)26 b(\(C-x)j(C-r\))630 1524 +(Ex-)630 5317 y(pansion],)30 b(page)h(18\).)p eop end +%%Page: 110 116 +TeXDict begin 110 115 bop 150 -116 a Ft(110)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fk(8.4.7)63 b(Keyb)s(oard)41 +b(Macros)150 545 y Fs(start-kbd-macro)26 b(\(C-x)j(\(\))630 +655 y Ft(Begin)i(sa)m(ving)h(the)e(c)m(haracters)i(t)m(yp)s(ed)e(in)m +(to)h(the)g(curren)m(t)f(k)m(eyb)s(oard)g(macro.)150 +818 y Fs(end-kbd-macro)d(\(C-x)i(\)\))630 927 y Ft(Stop)e(sa)m(ving)h +(the)g(c)m(haracters)g(t)m(yp)s(ed)f(in)m(to)i(the)e(curren)m(t)g(k)m +(eyb)s(oard)g(macro)h(and)f(sa)m(v)m(e)i(the)630 1037 +y(de\014nition.)150 1200 y Fs(call-last-kbd-macro)c(\(C-x)k(e\))630 +1310 y Ft(Re-execute)37 b(the)e(last)h(k)m(eyb)s(oard)f(macro)h +(de\014ned,)f(b)m(y)h(making)f(the)g(c)m(haracters)i(in)e(the)630 +1419 y(macro)c(app)s(ear)f(as)g(if)h(t)m(yp)s(ed)f(at)h(the)f(k)m(eyb)s +(oard.)150 1651 y Fk(8.4.8)63 b(Some)41 b(Miscellaneous)i(Commands)150 +1898 y Fs(re-read-init-file)26 b(\(C-x)j(C-r\))630 2007 y Ft(Read)22 b(in)g(the)g(con)m(ten)m(ts)h(of)f(the)g Fq(inputrc)27 b Ft(\014le,)d(and)d(incorp)s(orate)h(an)m(y)h(bindings)d -(or)i(v)-5 b(ariable)630 1633 y(assignmen)m(ts)31 b(found)e(there.)150 -1807 y Fs(abort)g(\(C-g\))630 1916 y Ft(Ab)s(ort)d(the)h(curren)m(t)f +(or)i(v)-5 b(ariable)630 2117 y(assignmen)m(ts)31 b(found)e(there.)150 +2280 y Fs(abort)g(\(C-g\))630 2390 y Ft(Ab)s(ort)d(the)h(curren)m(t)f (editing)h(command)f(and)g(ring)h(the)f(terminal's)h(b)s(ell)g(\(sub)5 -b(ject)26 b(to)i(the)630 2026 y(setting)j(of)g Fs(bell-style)p -Ft(\).)150 2199 y Fs(do-uppercase-version)25 b(\(M-a,)k(M-b,)g(M-)p -Fj(x)p Fs(,)g(...)o(\))630 2309 y Ft(If)e(the)h(meta\014ed)g(c)m +b(ject)26 b(to)i(the)630 2499 y(setting)j(of)g Fs(bell-style)p +Ft(\).)150 2663 y Fs(do-uppercase-version)25 b(\(M-a,)k(M-b,)g(M-)p +Fj(x)p Fs(,)g(...)o(\))630 2772 y Ft(If)e(the)h(meta\014ed)g(c)m (haracter)h Fq(x)34 b Ft(is)28 b(lo)m(w)m(ercase,)i(run)d(the)g -(command)h(that)g(is)g(b)s(ound)d(to)k(the)630 2418 y(corresp)s(onding) -g(upp)s(ercase)h(c)m(haracter.)150 2592 y Fs(prefix-meta)d(\()753 -2589 y Fg(h)p 777 2536 139 4 v 777 2592 a Ff(ESC)p 777 -2607 V 911 2589 a Fg(i)941 2592 y Fs(\))630 2701 y Ft(Metafy)39 +(command)h(that)g(is)g(b)s(ound)d(to)k(the)630 2882 y(corresp)s(onding) +g(upp)s(ercase)h(c)m(haracter.)150 3045 y Fs(prefix-meta)d(\()753 +3042 y Fg(h)p 777 2989 139 4 v 777 3045 a Ff(ESC)p 777 +3060 V 911 3042 a Fg(i)941 3045 y Fs(\))630 3155 y Ft(Metafy)39 b(the)e(next)h(c)m(haracter)h(t)m(yp)s(ed.)62 b(This)37 b(is)g(for)h(k)m(eyb)s(oards)f(without)g(a)h(meta)g(k)m(ey)-8 -b(.)630 2811 y(T)m(yping)30 b(`)968 2808 y Fg(h)p 993 -2755 V 993 2811 a Ff(ESC)p 993 2826 V 1127 2808 a Fg(i)1187 -2811 y Fs(f)p Ft(')g(is)g(equiv)-5 b(alen)m(t)32 b(to)f(t)m(yping)g -Fj(M-f)p Ft(.)150 2984 y Fs(undo)e(\(C-_)g(or)h(C-x)g(C-u\))630 -3094 y Ft(Incremen)m(tal)h(undo,)f(separately)h(remem)m(b)s(ered)f(for) -g(eac)m(h)i(line.)150 3267 y Fs(revert-line)27 b(\(M-r\))630 -3377 y Ft(Undo)33 b(all)h(c)m(hanges)g(made)f(to)h(this)f(line.)49 +b(.)630 3264 y(T)m(yping)30 b(`)968 3261 y Fg(h)p 993 +3208 V 993 3264 a Ff(ESC)p 993 3280 V 1127 3261 a Fg(i)1187 +3264 y Fs(f)p Ft(')g(is)g(equiv)-5 b(alen)m(t)32 b(to)f(t)m(yping)g +Fj(M-f)p Ft(.)150 3428 y Fs(undo)e(\(C-_)g(or)h(C-x)g(C-u\))630 +3537 y Ft(Incremen)m(tal)h(undo,)f(separately)h(remem)m(b)s(ered)f(for) +g(eac)m(h)i(line.)150 3700 y Fs(revert-line)27 b(\(M-r\))630 +3810 y Ft(Undo)33 b(all)h(c)m(hanges)g(made)f(to)h(this)f(line.)49 b(This)32 b(is)h(lik)m(e)i(executing)f(the)f Fs(undo)f -Ft(command)630 3487 y(enough)e(times)h(to)g(get)h(bac)m(k)f(to)g(the)f -(b)s(eginning.)150 3660 y Fs(tilde-expand)d(\(M-&\))630 -3770 y Ft(P)m(erform)j(tilde)h(expansion)g(on)f(the)g(curren)m(t)h(w)m -(ord.)150 3943 y Fs(set-mark)d(\(C-@\))630 4053 y Ft(Set)33 +Ft(command)630 3920 y(enough)e(times)h(to)g(get)h(bac)m(k)f(to)g(the)f +(b)s(eginning.)150 4083 y Fs(tilde-expand)d(\(M-&\))630 +4192 y Ft(P)m(erform)j(tilde)h(expansion)g(on)f(the)g(curren)m(t)h(w)m +(ord.)150 4356 y Fs(set-mark)d(\(C-@\))630 4465 y Ft(Set)33 b(the)g(mark)f(to)i(the)f(p)s(oin)m(t.)48 b(If)32 b(a)h(n)m(umeric)g (argumen)m(t)g(is)g(supplied,)f(the)h(mark)g(is)f(set)630 -4162 y(to)f(that)g(p)s(osition.)150 4336 y Fs(exchange-point-and-mark) -24 b(\(C-x)29 b(C-x\))630 4445 y Ft(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with) +4575 y(to)f(that)g(p)s(osition.)150 4738 y Fs(exchange-point-and-mark) +24 b(\(C-x)29 b(C-x\))630 4848 y Ft(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with) g(the)g(mark.)43 b(The)31 b(curren)m(t)g(cursor)f(p)s(osition)i(is)f -(set)h(to)f(the)h(sa)m(v)m(ed)630 4555 y(p)s(osition,)f(and)e(the)i +(set)h(to)f(the)h(sa)m(v)m(ed)630 4957 y(p)s(osition,)f(and)e(the)i (old)g(cursor)e(p)s(osition)i(is)f(sa)m(v)m(ed)i(as)e(the)h(mark.)150 -4728 y Fs(character-search)26 b(\(C-]\))630 4838 y Ft(A)f(c)m(haracter) +5121 y Fs(character-search)26 b(\(C-]\))630 5230 y Ft(A)f(c)m(haracter) h(is)f(read)g(and)f(p)s(oin)m(t)h(is)g(mo)m(v)m(ed)h(to)g(the)f(next)g -(o)s(ccurrence)g(of)g(that)g(c)m(haracter.)630 4947 y(A)30 +(o)s(ccurrence)g(of)g(that)g(c)m(haracter.)630 5340 y(A)30 b(negativ)m(e)j(coun)m(t)e(searc)m(hes)g(for)f(previous)g(o)s -(ccurrences.)150 5121 y Fs(character-search-backwar)o(d)24 -b(\(M-C-]\))630 5230 y Ft(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s -(oin)m(t)h(is)g(mo)m(v)m(ed)h(to)f(the)g(previous)f(o)s(ccurrence)h(of) -g(that)630 5340 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f -(searc)m(hes)h(for)e(subsequen)m(t)f(o)s(ccurrences.)p -eop end -%%Page: 110 116 -TeXDict begin 110 115 bop 150 -116 a Ft(110)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fs(insert-comment)26 -b(\(M-#\))630 408 y Ft(Without)36 b(a)g(n)m(umeric)g(argumen)m(t,)h -(the)f(v)-5 b(alue)36 b(of)g(the)g Fs(comment-begin)c -Ft(v)-5 b(ariable)36 b(is)g(in-)630 518 y(serted)c(at)g(the)g(b)s -(eginning)f(of)h(the)f(curren)m(t)h(line.)45 b(If)31 -b(a)h(n)m(umeric)f(argumen)m(t)h(is)g(supplied,)630 628 -y(this)k(command)h(acts)g(as)g(a)g(toggle:)55 b(if)37 -b(the)f(c)m(haracters)i(at)g(the)e(b)s(eginning)g(of)h(the)g(line)630 -737 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 b(alue)31 b(of)f -Fs(comment-begin)p Ft(,)e(the)i(v)-5 b(alue)31 b(is)g(inserted,)g -(otherwise)g(the)630 847 y(c)m(haracters)42 b(in)d Fs(comment-begin)e -Ft(are)j(deleted)h(from)f(the)g(b)s(eginning)g(of)g(the)g(line.)71 -b(In)630 956 y(either)37 b(case,)j(the)e(line)f(is)g(accepted)i(as)e -(if)g(a)g(newline)g(had)g(b)s(een)f(t)m(yp)s(ed.)60 b(The)37 -b(default)630 1066 y(v)-5 b(alue)32 b(of)g Fs(comment-begin)c -Ft(causes)k(this)f(command)h(to)g(mak)m(e)h(the)e(curren)m(t)h(line)g -(a)g(shell)630 1176 y(commen)m(t.)40 b(If)26 b(a)h(n)m(umeric)f -(argumen)m(t)h(causes)g(the)f(commen)m(t)i(c)m(haracter)g(to)f(b)s(e)f -(remo)m(v)m(ed,)630 1285 y(the)31 b(line)f(will)h(b)s(e)f(executed)h(b) -m(y)f(the)h(shell.)150 1443 y Fs(dump-functions)26 b(\(\))630 -1553 y Ft(Prin)m(t)g(all)i(of)e(the)h(functions)f(and)g(their)g(k)m(ey) -h(bindings)e(to)j(the)e(Readline)h(output)f(stream.)630 -1663 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h +(ccurrences.)p eop end +%%Page: 111 117 +TeXDict begin 111 116 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(111)150 299 y Fs +(character-search-backwar)o(d)24 b(\(M-C-]\))630 408 +y Ft(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s(oin)m(t)h(is)g(mo)m(v) +m(ed)h(to)f(the)g(previous)f(o)s(ccurrence)h(of)g(that)630 +518 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f(searc)m(hes)h +(for)e(subsequen)m(t)f(o)s(ccurrences.)150 664 y Fs(insert-comment)d +(\(M-#\))630 774 y Ft(Without)36 b(a)g(n)m(umeric)g(argumen)m(t,)h(the) +f(v)-5 b(alue)36 b(of)g(the)g Fs(comment-begin)c Ft(v)-5 +b(ariable)36 b(is)g(in-)630 883 y(serted)c(at)g(the)g(b)s(eginning)f +(of)h(the)f(curren)m(t)h(line.)45 b(If)31 b(a)h(n)m(umeric)f(argumen)m +(t)h(is)g(supplied,)630 993 y(this)k(command)h(acts)g(as)g(a)g(toggle:) +55 b(if)37 b(the)f(c)m(haracters)i(at)g(the)e(b)s(eginning)g(of)h(the)g +(line)630 1103 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 +b(alue)31 b(of)f Fs(comment-begin)p Ft(,)e(the)i(v)-5 +b(alue)31 b(is)g(inserted,)g(otherwise)g(the)630 1212 +y(c)m(haracters)42 b(in)d Fs(comment-begin)e Ft(are)j(deleted)h(from)f +(the)g(b)s(eginning)g(of)g(the)g(line.)71 b(In)630 1322 +y(either)37 b(case,)j(the)e(line)f(is)g(accepted)i(as)e(if)g(a)g +(newline)g(had)g(b)s(een)f(t)m(yp)s(ed.)60 b(The)37 b(default)630 +1431 y(v)-5 b(alue)32 b(of)g Fs(comment-begin)c Ft(causes)k(this)f +(command)h(to)g(mak)m(e)h(the)e(curren)m(t)h(line)g(a)g(shell)630 +1541 y(commen)m(t.)40 b(If)26 b(a)h(n)m(umeric)f(argumen)m(t)h(causes)g +(the)f(commen)m(t)i(c)m(haracter)g(to)f(b)s(e)f(remo)m(v)m(ed,)630 +1650 y(the)31 b(line)f(will)h(b)s(e)f(executed)h(b)m(y)f(the)h(shell.) +150 1797 y Fs(dump-functions)26 b(\(\))630 1906 y Ft(Prin)m(t)g(all)i +(of)e(the)h(functions)f(and)g(their)g(k)m(ey)h(bindings)e(to)j(the)e +(Readline)h(output)f(stream.)630 2016 y(If)31 b(a)h(n)m(umeric)g +(argumen)m(t)g(is)g(supplied,)f(the)h(output)f(is)h(formatted)g(in)f +(suc)m(h)h(a)g(w)m(a)m(y)g(that)630 2125 y(it)f(can)g(b)s(e)e(made)i +(part)f(of)g(an)h Fq(inputrc)k Ft(\014le.)41 b(This)29 +b(command)h(is)h(un)m(b)s(ound)c(b)m(y)k(default.)150 +2271 y Fs(dump-variables)26 b(\(\))630 2381 y Ft(Prin)m(t)21 +b(all)h(of)g(the)f(settable)i(v)-5 b(ariables)22 b(and)f(their)g(v)-5 +b(alues)22 b(to)g(the)f(Readline)h(output)f(stream.)630 +2491 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h (output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a)m(y)g(that)630 -1772 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fq(inputrc)k +2600 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fq(inputrc)k Ft(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c(b)m(y)k -(default.)150 1931 y Fs(dump-variables)26 b(\(\))630 -2040 y Ft(Prin)m(t)21 b(all)h(of)g(the)f(settable)i(v)-5 -b(ariables)22 b(and)f(their)g(v)-5 b(alues)22 b(to)g(the)f(Readline)h -(output)f(stream.)630 2150 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is) -g(supplied,)f(the)h(output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a) -m(y)g(that)630 2259 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h -Fq(inputrc)k Ft(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c -(b)m(y)k(default.)150 2418 y Fs(dump-macros)c(\(\))630 -2527 y Ft(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h(sequences) -f(b)s(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 -2637 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e +(default.)150 2746 y Fs(dump-macros)c(\(\))630 2856 y +Ft(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h(sequences)f(b)s +(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 +2966 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e (supplied,)h(the)g(output)g(is)f(formatted)i(in)e(suc)m(h)h(a)630 -2746 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e +3075 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e Fq(inputrc)35 b Ft(\014le.)41 b(This)29 b(command)h(is)g(un)m(b)s(ound) -d(b)m(y)630 2856 y(default.)150 3014 y Fs(glob-complete-word)e(\(M-g\)) -630 3124 y Ft(The)i(w)m(ord)h(b)s(efore)f(p)s(oin)m(t)h(is)g(treated)h +d(b)m(y)630 3185 y(default.)150 3331 y Fs(glob-complete-word)e(\(M-g\)) +630 3440 y Ft(The)i(w)m(ord)h(b)s(efore)f(p)s(oin)m(t)h(is)g(treated)h (as)f(a)h(pattern)f(for)f(pathname)h(expansion,)g(with)g(an)630 -3233 y(asterisk)d(implicitly)h(app)s(ended.)37 b(This)23 +3550 y(asterisk)d(implicitly)h(app)s(ended.)37 b(This)23 b(pattern)i(is)f(used)g(to)h(generate)h(a)e(list)h(of)g(matc)m(hing)630 -3343 y(\014le)30 b(names)h(for)f(p)s(ossible)g(completions.)150 -3501 y Fs(glob-expand-word)c(\(C-x)j(*\))630 3611 y Ft(The)40 +3660 y(\014le)30 b(names)h(for)f(p)s(ossible)g(completions.)150 +3806 y Fs(glob-expand-word)c(\(C-x)j(*\))630 3915 y Ft(The)40 b(w)m(ord)g(b)s(efore)g(p)s(oin)m(t)h(is)g(treated)g(as)g(a)g(pattern)g -(for)f(pathname)g(expansion,)k(and)630 3720 y(the)c(list)g(of)f(matc)m +(for)f(pathname)g(expansion,)k(and)630 4025 y(the)c(list)g(of)f(matc)m (hing)i(\014le)e(names)g(is)h(inserted,)h(replacing)g(the)e(w)m(ord.)67 -b(If)39 b(a)h(n)m(umeric)630 3830 y(argumen)m(t)31 b(is)f(supplied,)g +b(If)39 b(a)h(n)m(umeric)630 4134 y(argumen)m(t)31 b(is)f(supplied,)g (a)g(`)p Fs(*)p Ft(')h(is)f(app)s(ended)f(b)s(efore)h(pathname)g -(expansion.)150 3988 y Fs(glob-list-expansions)25 b(\(C-x)k(g\))630 -4098 y Ft(The)k(list)h(of)f(expansions)g(that)h(w)m(ould)f(ha)m(v)m(e)h +(expansion.)150 4281 y Fs(glob-list-expansions)25 b(\(C-x)k(g\))630 +4390 y Ft(The)k(list)h(of)f(expansions)g(that)h(w)m(ould)f(ha)m(v)m(e)h (b)s(een)f(generated)h(b)m(y)f Fs(glob-expand-word)630 -4208 y Ft(is)h(displa)m(y)m(ed,)h(and)e(the)h(line)g(is)f(redra)m(wn.) +4500 y Ft(is)h(displa)m(y)m(ed,)h(and)e(the)h(line)g(is)f(redra)m(wn.) 50 b(If)33 b(a)h(n)m(umeric)g(argumen)m(t)g(is)f(supplied,)h(a)g(`)p -Fs(*)p Ft(')630 4317 y(is)c(app)s(ended)f(b)s(efore)h(pathname)g -(expansion.)150 4475 y Fs(display-shell-version)25 b(\(C-x)k(C-v\))630 -4585 y Ft(Displa)m(y)j(v)m(ersion)e(information)h(ab)s(out)f(the)h -(curren)m(t)f(instance)h(of)f(Bash.)150 4743 y Fs(shell-expand-line)c -(\(M-C-e\))630 4853 y Ft(Expand)34 b(the)h(line)h(as)g(the)f(shell)h +Fs(*)p Ft(')630 4609 y(is)c(app)s(ended)f(b)s(efore)h(pathname)g +(expansion.)150 4755 y Fs(display-shell-version)25 b(\(C-x)k(C-v\))630 +4865 y Ft(Displa)m(y)j(v)m(ersion)e(information)h(ab)s(out)f(the)h +(curren)m(t)f(instance)h(of)f(Bash.)150 5011 y Fs(shell-expand-line)c +(\(M-C-e\))630 5121 y Ft(Expand)34 b(the)h(line)h(as)g(the)f(shell)h (do)s(es.)55 b(This)34 b(p)s(erforms)g(alias)i(and)f(history)g -(expansion)630 4963 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m +(expansion)630 5230 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m (ord)f(expansions)g(\(see)i(Section)f(3.5)h([Shell)e(Expansions],)630 -5072 y(page)e(17\).)150 5230 y Fs(history-expand-line)25 -b(\(M-^\))630 5340 y Ft(P)m(erform)30 b(history)h(expansion)f(on)g(the) -h(curren)m(t)f(line.)p eop end -%%Page: 111 117 -TeXDict begin 111 116 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(111)150 299 y Fs(magic-space)27 -b(\(\))630 408 y Ft(P)m(erform)c(history)g(expansion)g(on)g(the)g -(curren)m(t)g(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3) -630 518 y([History)31 b(In)m(teraction],)i(page)e(119\).)150 -664 y Fs(alias-expand-line)26 b(\(\))630 774 y Ft(P)m(erform)i(alias)i +5340 y(page)e(17\).)p eop end +%%Page: 112 118 +TeXDict begin 112 117 bop 150 -116 a Ft(112)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fs(history-expand-line)25 +b(\(M-^\))630 408 y Ft(P)m(erform)30 b(history)h(expansion)f(on)g(the)h +(curren)m(t)f(line.)150 563 y Fs(magic-space)d(\(\))630 +672 y Ft(P)m(erform)c(history)g(expansion)g(on)g(the)g(curren)m(t)g +(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3)630 +782 y([History)31 b(In)m(teraction],)i(page)e(121\).)150 +936 y Fs(alias-expand-line)26 b(\(\))630 1045 y Ft(P)m(erform)i(alias)i (expansion)e(on)g(the)h(curren)m(t)f(line)h(\(see)g(Section)g(6.6)h -([Aliases],)g(page)f(77\).)150 920 y Fs(history-and-alias-expand)o -(-lin)o(e)24 b(\(\))630 1029 y Ft(P)m(erform)30 b(history)h(and)e +([Aliases],)g(page)f(77\).)150 1199 y Fs(history-and-alias-expand)o +(-lin)o(e)24 b(\(\))630 1309 y Ft(P)m(erform)30 b(history)h(and)e (alias)j(expansion)e(on)g(the)h(curren)m(t)f(line.)150 -1176 y Fs(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630 -1285 y Ft(A)g(synon)m(ym)g(for)g Fs(yank-last-arg)p Ft(.)150 -1431 y Fs(operate-and-get-next)25 b(\(C-o\))630 1541 +1463 y Fs(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630 +1573 y Ft(A)g(synon)m(ym)g(for)g Fs(yank-last-arg)p Ft(.)150 +1727 y Fs(operate-and-get-next)25 b(\(C-o\))630 1836 y Ft(Accept)42 b(the)e(curren)m(t)h(line)f(for)h(execution)g(and)f (fetc)m(h)i(the)e(next)h(line)g(relativ)m(e)i(to)e(the)630 -1650 y(curren)m(t)30 b(line)h(from)f(the)g(history)h(for)f(editing.)41 -b(An)m(y)31 b(argumen)m(t)f(is)h(ignored.)150 1797 y -Fs(edit-and-execute-command)24 b(\(C-xC-e\))630 1906 +1946 y(curren)m(t)30 b(line)h(from)f(the)g(history)h(for)f(editing.)41 +b(An)m(y)31 b(argumen)m(t)f(is)h(ignored.)150 2100 y +Fs(edit-and-execute-command)24 b(\(C-xC-e\))630 2210 y Ft(In)m(v)m(ok)m(e)34 b(an)f(editor)g(on)g(the)g(curren)m(t)f (command)h(line,)h(and)e(execute)i(the)f(result)g(as)g(shell)630 -2016 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h +2319 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h Fs($VISUAL)p Ft(,)f Fs($EDITOR)p Ft(,)h(and)d Fs(emacs)g -Ft(as)h(the)630 2125 y(editor,)31 b(in)f(that)h(order.)150 -2363 y Fr(8.5)68 b(Readline)47 b(vi)e(Mo)t(de)275 2600 +Ft(as)h(the)630 2429 y(editor,)31 b(in)f(that)h(order.)150 +2678 y Fr(8.5)68 b(Readline)47 b(vi)e(Mo)t(de)275 2919 y Ft(While)24 b(the)g(Readline)g(library)f(do)s(es)h(not)g(ha)m(v)m(e)g (a)h(full)e(set)h(of)g Fs(vi)f Ft(editing)h(functions,)h(it)f(do)s(es)g -(con)m(tain)150 2710 y(enough)34 b(to)h(allo)m(w)g(simple)f(editing)h +(con)m(tain)150 3029 y(enough)34 b(to)h(allo)m(w)g(simple)f(editing)h (of)f(the)g(line.)52 b(The)34 b(Readline)g Fs(vi)g Ft(mo)s(de)f(b)s -(eha)m(v)m(es)i(as)f(sp)s(eci\014ed)f(in)150 2819 y(the)e -Fl(posix)e Ft(1003.2)k(standard.)275 2947 y(In)i(order)g(to)i(switc)m +(eha)m(v)m(es)i(as)f(sp)s(eci\014ed)f(in)150 3139 y(the)e +Fl(posix)e Ft(1003.2)k(standard.)275 3270 y(In)i(order)g(to)i(switc)m (h)f(in)m(teractiv)m(ely)j(b)s(et)m(w)m(een)d Fs(emacs)f Ft(and)g Fs(vi)g Ft(editing)h(mo)s(des,)h(use)f(the)g(`)p -Fs(set)30 b(-o)150 3057 y(emacs)p Ft(')43 b(and)h(`)p +Fs(set)30 b(-o)150 3380 y(emacs)p Ft(')43 b(and)h(`)p Fs(set)30 b(-o)f(vi)p Ft(')44 b(commands)g(\(see)i(Section)f(4.3.1)h -([The)e(Set)h(Builtin],)j(page)e(49\).)83 b(The)150 3166 +([The)e(Set)h(Builtin],)j(page)e(50\).)83 b(The)150 3490 y(Readline)31 b(default)g(is)f Fs(emacs)f Ft(mo)s(de.)275 -3294 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f(in)g Fs(vi)f +3621 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f(in)g Fs(vi)f Ft(mo)s(de,)h(y)m(ou)h(are)f(already)h(placed)f(in)g(`insertion')g(mo)s -(de,)g(as)h(if)f(y)m(ou)150 3404 y(had)c(t)m(yp)s(ed)g(an)g(`)p -Fs(i)p Ft('.)39 b(Pressing)1215 3401 y Fg(h)p 1239 3348 -139 4 v 1239 3404 a Ff(ESC)p 1239 3419 V 1373 3401 a -Fg(i)1429 3404 y Ft(switc)m(hes)27 b(y)m(ou)g(in)m(to)g(`command')f(mo) -s(de,)h(where)f(y)m(ou)h(can)f(edit)h(the)150 3513 y(text)35 +(de,)g(as)h(if)f(y)m(ou)150 3731 y(had)c(t)m(yp)s(ed)g(an)g(`)p +Fs(i)p Ft('.)39 b(Pressing)1215 3728 y Fg(h)p 1239 3675 +139 4 v 1239 3731 a Ff(ESC)p 1239 3746 V 1373 3728 a +Fg(i)1429 3731 y Ft(switc)m(hes)27 b(y)m(ou)g(in)m(to)g(`command')f(mo) +s(de,)h(where)f(y)m(ou)h(can)f(edit)h(the)150 3841 y(text)35 b(of)f(the)g(line)g(with)f(the)h(standard)f Fs(vi)g Ft(mo)m(v)m(emen)m (t)j(k)m(eys,)g(mo)m(v)m(e)f(to)f(previous)g(history)f(lines)h(with)150 -3623 y(`)p Fs(k)p Ft(')d(and)e(subsequen)m(t)h(lines)h(with)f(`)p -Fs(j)p Ft(',)g(and)g(so)h(forth.)150 3861 y Fr(8.6)68 -b(Programmable)47 b(Completion)275 4098 y Ft(When)25 +3950 y(`)p Fs(k)p Ft(')d(and)e(subsequen)m(t)h(lines)h(with)f(`)p +Fs(j)p Ft(',)g(and)g(so)h(forth.)150 4200 y Fr(8.6)68 +b(Programmable)47 b(Completion)275 4441 y Ft(When)25 b(w)m(ord)g(completion)i(is)f(attempted)g(for)g(an)f(argumen)m(t)h(to)h -(a)f(command)f(for)h(whic)m(h)f(a)h(comple-)150 4208 +(a)f(command)f(for)h(whic)m(h)f(a)h(comple-)150 4551 y(tion)f(sp)s(eci\014cation)g(\(a)h Fq(compsp)s(ec)6 b Ft(\))24 b(has)g(b)s(een)g(de\014ned)g(using)g(the)g Fs(complete)f Ft(builtin)h(\(see)h(Section)h(8.7)150 -4317 y([Programmable)e(Completion)g(Builtins],)h(page)f(113\),)j(the)c -(programmable)h(completion)g(facilities)i(are)150 4427 -y(in)m(v)m(ok)m(ed.)275 4555 y(First,)d(the)e(command)g(name)g(is)h +4660 y([Programmable)e(Completion)g(Builtins],)h(page)f(114\),)j(the)c +(programmable)h(completion)g(facilities)i(are)150 4770 +y(in)m(v)m(ok)m(ed.)275 4902 y(First,)d(the)e(command)g(name)g(is)h (iden)m(ti\014ed.)37 b(If)21 b(a)g(compsp)s(ec)g(has)g(b)s(een)f -(de\014ned)g(for)h(that)h(command,)150 4664 y(the)44 +(de\014ned)g(for)h(that)h(command,)150 5011 y(the)44 b(compsp)s(ec)g(is)g(used)f(to)h(generate)i(the)e(list)g(of)g(p)s (ossible)g(completions)h(for)e(the)h(w)m(ord.)81 b(If)44 -b(the)150 4774 y(command)33 b(w)m(ord)f(is)h(a)g(full)g(pathname,)h(a)f +b(the)150 5121 y(command)33 b(w)m(ord)f(is)h(a)g(full)g(pathname,)h(a)f (compsp)s(ec)f(for)h(the)g(full)g(pathname)f(is)h(searc)m(hed)h(for)e -(\014rst.)150 4883 y(If)f(no)h(compsp)s(ec)f(is)h(found)e(for)h(the)h +(\014rst.)150 5230 y(If)f(no)h(compsp)s(ec)f(is)h(found)e(for)h(the)h (full)g(pathname,)g(an)f(attempt)i(is)f(made)f(to)i(\014nd)d(a)i -(compsp)s(ec)f(for)150 4993 y(the)g(p)s(ortion)f(follo)m(wing)h(the)g -(\014nal)f(slash.)275 5121 y(Once)k(a)g(compsp)s(ec)g(has)g(b)s(een)f -(found,)h(it)h(is)f(used)f(to)i(generate)h(the)e(list)h(of)f(matc)m -(hing)h(w)m(ords.)51 b(If)150 5230 y(a)37 b(compsp)s(ec)f(is)g(not)h -(found,)f(the)h(default)f(Bash)h(completion)g(describ)s(ed)e(ab)s(o)m -(v)m(e)j(\(see)f(Section)g(8.4.6)150 5340 y([Commands)30 -b(F)-8 b(or)31 b(Completion],)g(page)g(107\))h(is)f(p)s(erformed.)p -eop end -%%Page: 112 118 -TeXDict begin 112 117 bop 150 -116 a Ft(112)2527 b(Bash)31 -b(Reference)g(Man)m(ual)275 299 y(First,)g(the)g(actions)g(sp)s +(compsp)s(ec)f(for)150 5340 y(the)g(p)s(ortion)f(follo)m(wing)h(the)g +(\014nal)f(slash.)p eop end +%%Page: 113 119 +TeXDict begin 113 118 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(113)275 299 y(Once)34 +b(a)g(compsp)s(ec)g(has)g(b)s(een)f(found,)h(it)h(is)f(used)f(to)i +(generate)h(the)e(list)h(of)f(matc)m(hing)h(w)m(ords.)51 +b(If)150 408 y(a)37 b(compsp)s(ec)f(is)g(not)h(found,)f(the)h(default)f +(Bash)h(completion)g(describ)s(ed)e(ab)s(o)m(v)m(e)j(\(see)f(Section)g +(8.4.6)150 518 y([Commands)30 b(F)-8 b(or)31 b(Completion],)g(page)g +(108\))h(is)f(p)s(erformed.)275 655 y(First,)g(the)g(actions)g(sp)s (eci\014ed)f(b)m(y)h(the)f(compsp)s(ec)h(are)g(used.)40 b(Only)30 b(matc)m(hes)i(whic)m(h)e(are)h(pre\014xed)150 -408 y(b)m(y)25 b(the)h(w)m(ord)f(b)s(eing)f(completed)j(are)e +765 y(b)m(y)25 b(the)h(w)m(ord)f(b)s(eing)f(completed)j(are)e (returned.)38 b(When)25 b(the)h(`)p Fs(-f)p Ft(')f(or)g(`)p Fs(-d)p Ft(')g(option)h(is)f(used)g(for)g(\014lename)150 -518 y(or)30 b(directory)h(name)f(completion,)i(the)e(shell)h(v)-5 +874 y(or)30 b(directory)h(name)f(completion,)i(the)e(shell)h(v)-5 b(ariable)31 b Fs(FIGNORE)d Ft(is)i(used)f(to)i(\014lter)g(the)f(matc)m -(hes.)42 b(See)150 628 y(Section)31 b(5.2)h([Bash)e(V)-8 +(hes.)42 b(See)150 984 y(Section)31 b(5.2)h([Bash)e(V)-8 b(ariables],)33 b(page)e(59,)g(for)f(a)h(description)g(of)f -Fs(FIGNORE)p Ft(.)275 765 y(An)m(y)f(completions)h(sp)s(eci\014ed)f(b)m -(y)g(a)h(\014lename)f(expansion)h(pattern)f(to)h(the)g(`)p -Fs(-G)p Ft(')f(option)h(are)f(gener-)150 874 y(ated)h(next.)40 +Fs(FIGNORE)p Ft(.)275 1121 y(An)m(y)f(completions)h(sp)s(eci\014ed)f(b) +m(y)g(a)h(\014lename)f(expansion)h(pattern)f(to)h(the)g(`)p +Fs(-G)p Ft(')f(option)h(are)f(gener-)150 1230 y(ated)h(next.)40 b(The)29 b(w)m(ords)g(generated)h(b)m(y)f(the)h(pattern)f(need)g(not)g (matc)m(h)i(the)e(w)m(ord)g(b)s(eing)g(completed.)150 -984 y(The)42 b Fs(GLOBIGNORE)d Ft(shell)k(v)-5 b(ariable)43 +1340 y(The)42 b Fs(GLOBIGNORE)d Ft(shell)k(v)-5 b(ariable)43 b(is)f(not)h(used)e(to)i(\014lter)f(the)h(matc)m(hes,)j(but)c(the)g -Fs(FIGNORE)f Ft(shell)150 1093 y(v)-5 b(ariable)31 b(is)g(used.)275 -1230 y(Next,)k(the)g(string)e(sp)s(eci\014ed)h(as)g(the)g(argumen)m(t)g +Fs(FIGNORE)f Ft(shell)150 1450 y(v)-5 b(ariable)31 b(is)g(used.)275 +1587 y(Next,)k(the)g(string)e(sp)s(eci\014ed)h(as)g(the)g(argumen)m(t)g (to)h(the)f(`)p Fs(-W)p Ft(')g(option)g(is)g(considered.)52 -b(The)33 b(string)150 1340 y(is)g(\014rst)e(split)i(using)f(the)h(c)m +b(The)33 b(string)150 1696 y(is)g(\014rst)e(split)i(using)f(the)h(c)m (haracters)h(in)e(the)h Fs(IFS)e Ft(sp)s(ecial)j(v)-5 b(ariable)33 b(as)g(delimiters.)48 b(Shell)32 b(quoting)h(is)150 -1450 y(honored.)56 b(Eac)m(h)37 b(w)m(ord)e(is)h(then)f(expanded)g +1806 y(honored.)56 b(Eac)m(h)37 b(w)m(ord)e(is)h(then)f(expanded)g (using)h(brace)g(expansion,)h(tilde)f(expansion,)h(parameter)150 -1559 y(and)44 b(v)-5 b(ariable)46 b(expansion,)j(command)44 +1915 y(and)44 b(v)-5 b(ariable)46 b(expansion,)j(command)44 b(substitution,)49 b(and)44 b(arithmetic)i(expansion,)j(as)c(describ)s -(ed)150 1669 y(ab)s(o)m(v)m(e)38 b(\(see)f(Section)h(3.5)g([Shell)e +(ed)150 2025 y(ab)s(o)m(v)m(e)38 b(\(see)f(Section)h(3.5)g([Shell)e (Expansions],)i(page)f(17\).)61 b(The)36 b(results)h(are)g(split)f -(using)h(the)f(rules)150 1778 y(describ)s(ed)29 b(ab)s(o)m(v)m(e)i +(using)h(the)f(rules)150 2134 y(describ)s(ed)29 b(ab)s(o)m(v)m(e)i (\(see)f(Section)h(3.5.7)h([W)-8 b(ord)30 b(Splitting],)h(page)f(23\).) -42 b(The)30 b(results)f(of)h(the)g(expansion)150 1888 +42 b(The)30 b(results)f(of)h(the)g(expansion)150 2244 y(are)f(pre\014x-matc)m(hed)h(against)g(the)f(w)m(ord)g(b)s(eing)f (completed,)j(and)d(the)i(matc)m(hing)g(w)m(ords)e(b)s(ecome)i(the)150 -1998 y(p)s(ossible)g(completions.)275 2134 y(After)f(these)g(matc)m +2354 y(p)s(ossible)g(completions.)275 2491 y(After)f(these)g(matc)m (hes)i(ha)m(v)m(e)f(b)s(een)f(generated,)h(an)m(y)g(shell)f(function)g -(or)g(command)g(sp)s(eci\014ed)f(with)150 2244 y(the)i(`)p +(or)g(command)g(sp)s(eci\014ed)f(with)150 2600 y(the)i(`)p Fs(-F)p Ft(')g(and)f(`)p Fs(-C)p Ft(')h(options)g(is)g(in)m(v)m(ok)m (ed.)41 b(When)30 b(the)g(command)g(or)f(function)h(is)g(in)m(v)m(ok)m -(ed,)h(the)f Fs(COMP_)150 2354 y(LINE)p Ft(,)42 b Fs(COMP_POINT)p +(ed,)h(the)f Fs(COMP_)150 2710 y(LINE)p Ft(,)42 b Fs(COMP_POINT)p Ft(,)d Fs(COMP_KEY)p Ft(,)i(and)e Fs(COMP_TYPE)f Ft(v)-5 b(ariables)41 b(are)f(assigned)g(v)-5 b(alues)41 b(as)f(describ)s(ed) -150 2463 y(ab)s(o)m(v)m(e)k(\(see)g(Section)f(5.2)h([Bash)f(V)-8 +150 2819 y(ab)s(o)m(v)m(e)k(\(see)g(Section)f(5.2)h([Bash)f(V)-8 b(ariables],)48 b(page)c(59\).)79 b(If)42 b(a)i(shell)f(function)f(is)h -(b)s(eing)f(in)m(v)m(ok)m(ed,)150 2573 y(the)37 b Fs(COMP_WORDS)d +(b)s(eing)f(in)m(v)m(ok)m(ed,)150 2929 y(the)37 b Fs(COMP_WORDS)d Ft(and)i Fs(COMP_CWORD)e Ft(v)-5 b(ariables)38 b(are)f(also)h(set.)60 -b(When)37 b(the)g(function)f(or)h(command)150 2682 y(is)42 +b(When)37 b(the)g(function)f(or)h(command)150 3039 y(is)42 b(in)m(v)m(ok)m(ed,)k(the)41 b(\014rst)g(argumen)m(t)h(is)g(the)g(name) f(of)h(the)g(command)f(whose)h(argumen)m(ts)f(are)h(b)s(eing)150 -2792 y(completed,)d(the)d(second)g(argumen)m(t)h(is)f(the)g(w)m(ord)g +3148 y(completed,)d(the)d(second)g(argumen)m(t)h(is)f(the)g(w)m(ord)g (b)s(eing)g(completed,)i(and)e(the)g(third)f(argumen)m(t)i(is)150 -2902 y(the)28 b(w)m(ord)g(preceding)h(the)f(w)m(ord)g(b)s(eing)g +3258 y(the)28 b(w)m(ord)g(preceding)h(the)f(w)m(ord)g(b)s(eing)g (completed)h(on)f(the)h(curren)m(t)f(command)g(line.)40 -b(No)29 b(\014ltering)g(of)150 3011 y(the)i(generated)h(completions)h +b(No)29 b(\014ltering)g(of)150 3367 y(the)i(generated)h(completions)h (against)f(the)f(w)m(ord)g(b)s(eing)g(completed)h(is)f(p)s(erformed;)f -(the)h(function)g(or)150 3121 y(command)f(has)g(complete)i(freedom)e -(in)g(generating)i(the)f(matc)m(hes.)275 3258 y(An)m(y)g(function)h(sp) +(the)h(function)g(or)150 3477 y(command)f(has)g(complete)i(freedom)e +(in)g(generating)i(the)f(matc)m(hes.)275 3614 y(An)m(y)g(function)h(sp) s(eci\014ed)f(with)g(`)p Fs(-F)p Ft(')h(is)g(in)m(v)m(ok)m(ed)h (\014rst.)44 b(The)31 b(function)h(ma)m(y)g(use)g(an)m(y)g(of)g(the)g -(shell)150 3367 y(facilities,)50 b(including)44 b(the)h +(shell)150 3724 y(facilities,)50 b(including)44 b(the)h Fs(compgen)d Ft(and)i Fs(compopt)e Ft(builtins)i(describ)s(ed)f(b)s -(elo)m(w)h(\(see)i(Section)f(8.7)150 3477 y([Programmable)31 -b(Completion)h(Builtins],)f(page)h(113\),)g(to)g(generate)g(the)f(matc) -m(hes.)42 b(It)31 b(m)m(ust)g(put)f(the)150 3587 y(p)s(ossible)g +(elo)m(w)h(\(see)i(Section)f(8.7)150 3833 y([Programmable)31 +b(Completion)h(Builtins],)f(page)h(114\),)g(to)g(generate)g(the)f(matc) +m(hes.)42 b(It)31 b(m)m(ust)g(put)f(the)150 3943 y(p)s(ossible)g (completions)h(in)f(the)h Fs(COMPREPLY)d Ft(arra)m(y)j(v)-5 -b(ariable.)275 3724 y(Next,)23 b(an)m(y)e(command)f(sp)s(eci\014ed)g +b(ariable.)275 4080 y(Next,)23 b(an)m(y)e(command)f(sp)s(eci\014ed)g (with)g(the)h(`)p Fs(-C)p Ft(')f(option)h(is)g(in)m(v)m(ok)m(ed)h(in)e -(an)g(en)m(vironmen)m(t)h(equiv)-5 b(alen)m(t)150 3833 +(an)g(en)m(vironmen)m(t)h(equiv)-5 b(alen)m(t)150 4189 y(to)26 b(command)e(substitution.)39 b(It)25 b(should)f(prin)m(t)h(a)g (list)h(of)f(completions,)i(one)e(p)s(er)f(line,)j(to)f(the)f(standard) -150 3943 y(output.)40 b(Bac)m(kslash)32 b(ma)m(y)f(b)s(e)f(used)g(to)h +150 4299 y(output.)40 b(Bac)m(kslash)32 b(ma)m(y)f(b)s(e)f(used)g(to)h (escap)s(e)g(a)f(newline,)h(if)f(necessary)-8 b(.)275 -4080 y(After)42 b(all)g(of)g(the)g(p)s(ossible)g(completions)h(are)f +4436 y(After)42 b(all)g(of)g(the)g(p)s(ossible)g(completions)h(are)f (generated,)k(an)m(y)c(\014lter)g(sp)s(eci\014ed)f(with)h(the)g(`)p -Fs(-X)p Ft(')150 4189 y(option)34 b(is)f(applied)g(to)h(the)f(list.)49 +Fs(-X)p Ft(')150 4545 y(option)34 b(is)f(applied)g(to)h(the)f(list.)49 b(The)33 b(\014lter)g(is)g(a)h(pattern)f(as)g(used)g(for)g(pathname)g -(expansion;)h(a)g(`)p Fs(&)p Ft(')150 4299 y(in)39 b(the)g(pattern)g +(expansion;)h(a)g(`)p Fs(&)p Ft(')150 4655 y(in)39 b(the)g(pattern)g (is)g(replaced)g(with)g(the)g(text)h(of)f(the)g(w)m(ord)g(b)s(eing)f (completed.)68 b(A)39 b(literal)h(`)p Fs(&)p Ft(')f(ma)m(y)150 -4408 y(b)s(e)e(escap)s(ed)h(with)g(a)h(bac)m(kslash;)k(the)38 +4765 y(b)s(e)e(escap)s(ed)h(with)g(a)h(bac)m(kslash;)k(the)38 b(bac)m(kslash)h(is)f(remo)m(v)m(ed)h(b)s(efore)e(attempting)j(a)e -(matc)m(h.)65 b(An)m(y)150 4518 y(completion)35 b(that)g(matc)m(hes)g +(matc)m(h.)65 b(An)m(y)150 4874 y(completion)35 b(that)g(matc)m(hes)g (the)f(pattern)g(will)g(b)s(e)g(remo)m(v)m(ed)h(from)e(the)h(list.)53 -b(A)34 b(leading)g(`)p Fs(!)p Ft(')h(negates)150 4628 +b(A)34 b(leading)g(`)p Fs(!)p Ft(')h(negates)150 4984 y(the)c(pattern;)f(in)g(this)h(case)g(an)m(y)g(completion)g(not)g(matc) m(hing)h(the)e(pattern)h(will)f(b)s(e)g(remo)m(v)m(ed.)275 -4765 y(Finally)-8 b(,)33 b(an)m(y)f(pre\014x)f(and)g(su\016x)g(sp)s +5121 y(Finally)-8 b(,)33 b(an)m(y)f(pre\014x)f(and)g(su\016x)g(sp)s (eci\014ed)g(with)h(the)g(`)p Fs(-P)p Ft(')f(and)g(`)p Fs(-S)p Ft(')h(options)g(are)g(added)f(to)i(eac)m(h)150 -4874 y(mem)m(b)s(er)e(of)g(the)h(completion)h(list,)f(and)f(the)h +5230 y(mem)m(b)s(er)e(of)g(the)h(completion)h(list,)f(and)f(the)h (result)f(is)h(returned)e(to)i(the)g(Readline)g(completion)h(co)s(de) -150 4984 y(as)e(the)f(list)h(of)g(p)s(ossible)f(completions.)275 -5121 y(If)22 b(the)i(previously-applied)f(actions)i(do)e(not)h -(generate)h(an)m(y)f(matc)m(hes,)i(and)d(the)g(`)p Fs(-o)30 -b(dirnames)p Ft(')22 b(op-)150 5230 y(tion)29 b(w)m(as)f(supplied)f(to) -i Fs(complete)d Ft(when)h(the)h(compsp)s(ec)g(w)m(as)g(de\014ned,)g -(directory)g(name)h(completion)150 5340 y(is)h(attempted.)p +150 5340 y(as)e(the)f(list)h(of)g(p)s(ossible)f(completions.)p eop end -%%Page: 113 119 -TeXDict begin 113 118 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(113)275 299 y(If)30 -b(the)i(`)p Fs(-o)e(plusdirs)p Ft(')f(option)j(w)m(as)f(supplied)f(to)i -Fs(complete)e Ft(when)g(the)h(compsp)s(ec)g(w)m(as)h(de\014ned,)150 -408 y(directory)k(name)f(completion)i(is)e(attempted)h(and)f(an)m(y)h +%%Page: 114 120 +TeXDict begin 114 119 bop 150 -116 a Ft(114)2527 b(Bash)31 +b(Reference)g(Man)m(ual)275 299 y(If)22 b(the)i(previously-applied)f +(actions)i(do)e(not)h(generate)h(an)m(y)f(matc)m(hes,)i(and)d(the)g(`)p +Fs(-o)30 b(dirnames)p Ft(')22 b(op-)150 408 y(tion)29 +b(w)m(as)f(supplied)f(to)i Fs(complete)d Ft(when)h(the)h(compsp)s(ec)g +(w)m(as)g(de\014ned,)g(directory)g(name)h(completion)150 +518 y(is)h(attempted.)275 657 y(If)g(the)i(`)p Fs(-o)e(plusdirs)p +Ft(')f(option)j(w)m(as)f(supplied)f(to)i Fs(complete)e +Ft(when)g(the)h(compsp)s(ec)g(w)m(as)h(de\014ned,)150 +766 y(directory)k(name)f(completion)i(is)e(attempted)h(and)f(an)m(y)h (matc)m(hes)g(are)g(added)f(to)h(the)f(results)g(of)h(the)150 -518 y(other)31 b(actions.)275 659 y(By)g(default,)i(if)e(a)h(compsp)s +876 y(other)31 b(actions.)275 1015 y(By)g(default,)i(if)e(a)h(compsp)s (ec)f(is)h(found,)f(whatev)m(er)h(it)g(generates)h(is)e(returned)g(to)h -(the)g(completion)150 769 y(co)s(de)21 b(as)g(the)g(full)g(set)g(of)g +(the)g(completion)150 1124 y(co)s(de)21 b(as)g(the)g(full)g(set)g(of)g (p)s(ossible)f(completions.)39 b(The)20 b(default)h(Bash)g(completions) -h(are)g(not)f(attempted,)150 879 y(and)k(the)h(Readline)g(default)g(of) -g(\014lename)g(completion)h(is)f(disabled.)38 b(If)26 +h(are)g(not)f(attempted,)150 1234 y(and)k(the)h(Readline)g(default)g +(of)g(\014lename)g(completion)h(is)f(disabled.)38 b(If)26 b(the)g(`)p Fs(-o)k(bashdefault)p Ft(')22 b(option)150 -988 y(w)m(as)i(supplied)e(to)j Fs(complete)c Ft(when)i(the)g(compsp)s +1344 y(w)m(as)i(supplied)e(to)j Fs(complete)c Ft(when)i(the)g(compsp)s (ec)h(w)m(as)g(de\014ned,)g(the)f(default)h(Bash)g(completions)h(are) -150 1098 y(attempted)f(if)f(the)g(compsp)s(ec)g(generates)i(no)e(matc)m +150 1453 y(attempted)f(if)f(the)g(compsp)s(ec)g(generates)i(no)e(matc)m (hes.)39 b(If)23 b(the)g(`)p Fs(-o)30 b(default)p Ft(')21 -b(option)j(w)m(as)f(supplied)f(to)150 1207 y Fs(complete)j +b(option)j(w)m(as)f(supplied)f(to)150 1563 y Fs(complete)j Ft(when)h(the)h(compsp)s(ec)f(w)m(as)i(de\014ned,)e(Readline's)i (default)f(completion)h(will)f(b)s(e)f(p)s(erformed)150 -1317 y(if)k(the)h(compsp)s(ec)f(\(and,)g(if)h(attempted,)g(the)g +1672 y(if)k(the)h(compsp)s(ec)f(\(and,)g(if)h(attempted,)g(the)g (default)f(Bash)h(completions\))h(generate)g(no)e(matc)m(hes.)275 -1458 y(When)20 b(a)i(compsp)s(ec)e(indicates)i(that)g(directory)g(name) +1811 y(When)20 b(a)i(compsp)s(ec)e(indicates)i(that)g(directory)g(name) f(completion)h(is)f(desired,)i(the)e(programmable)150 -1568 y(completion)31 b(functions)e(force)i(Readline)f(to)h(app)s(end)d +1921 y(completion)31 b(functions)e(force)i(Readline)f(to)h(app)s(end)d (a)i(slash)g(to)g(completed)h(names)e(whic)m(h)h(are)g(sym-)150 -1678 y(b)s(olic)40 b(links)g(to)h(directories,)j(sub)5 +2030 y(b)s(olic)40 b(links)g(to)h(directories,)j(sub)5 b(ject)40 b(to)h(the)f(v)-5 b(alue)41 b(of)f(the)g Fq(mark-directories) -45 b Ft(Readline)c(v)-5 b(ariable,)150 1787 y(regardless)31 +45 b Ft(Readline)c(v)-5 b(ariable,)150 2140 y(regardless)31 b(of)f(the)h(setting)g(of)g(the)f Fq(mark-symlink)m(ed-directories)36 -b Ft(Readline)31 b(v)-5 b(ariable.)150 2062 y Fr(8.7)68 -b(Programmable)47 b(Completion)f(Builtins)275 2313 y +b Ft(Readline)31 b(v)-5 b(ariable.)150 2408 y Fr(8.7)68 +b(Programmable)47 b(Completion)f(Builtins)275 2656 y Ft(Tw)m(o)30 b(builtin)g(commands)g(are)h(a)m(v)-5 b(ailable)32 b(to)f(manipulate)g(the)g(programmable)f(completion)i(facil-)150 -2423 y(ities.)150 2592 y Fs(compgen)870 2730 y(compgen)46 +2766 y(ities.)150 2932 y Fs(compgen)870 3068 y(compgen)46 b([)p Fj(option)11 b Fs(])45 b([)p Fj(word)11 b Fs(])630 -2868 y Ft(Generate)27 b(p)s(ossible)e(completion)i(matc)m(hes)g(for)e +3205 y Ft(Generate)27 b(p)s(ossible)e(completion)i(matc)m(hes)g(for)e Fq(w)m(ord)k Ft(according)e(to)f(the)g Fq(option)p Ft(s,)h(whic)m(h)630 -2978 y(ma)m(y)h(b)s(e)f(an)m(y)h(option)g(accepted)h(b)m(y)e(the)h +3315 y(ma)m(y)h(b)s(e)f(an)m(y)h(option)g(accepted)h(b)m(y)e(the)h Fs(complete)d Ft(builtin)j(with)f(the)h(exception)g(of)g(`)p -Fs(-p)p Ft(')630 3088 y(and)k(`)p Fs(-r)p Ft(',)i(and)e(write)h(the)g +Fs(-p)p Ft(')630 3424 y(and)k(`)p Fs(-r)p Ft(',)i(and)e(write)h(the)g (matc)m(hes)h(to)g(the)f(standard)f(output.)48 b(When)33 -b(using)f(the)h(`)p Fs(-F)p Ft(')630 3197 y(or)28 b(`)p +b(using)f(the)h(`)p Fs(-F)p Ft(')630 3534 y(or)28 b(`)p Fs(-C)p Ft(')g(options,)h(the)f(v)-5 b(arious)29 b(shell)f(v)-5 b(ariables)29 b(set)f(b)m(y)g(the)g(programmable)h(completion)630 -3307 y(facilities,)k(while)d(a)m(v)-5 b(ailable,)33 b(will)e(not)g(ha)m -(v)m(e)g(useful)f(v)-5 b(alues.)630 3445 y(The)34 b(matc)m(hes)h(will)g +3643 y(facilities,)k(while)d(a)m(v)-5 b(ailable,)33 b(will)e(not)g(ha)m +(v)m(e)g(useful)f(v)-5 b(alues.)630 3780 y(The)34 b(matc)m(hes)h(will)g (b)s(e)f(generated)h(in)f(the)h(same)g(w)m(a)m(y)g(as)g(if)f(the)h -(programmable)f(com-)630 3554 y(pletion)d(co)s(de)g(had)f(generated)i +(programmable)f(com-)630 3890 y(pletion)d(co)s(de)g(had)f(generated)i (them)e(directly)i(from)e(a)h(completion)h(sp)s(eci\014cation)f(with) -630 3664 y(the)e(same)h(\015ags.)40 b(If)29 b Fq(w)m(ord)j +630 3999 y(the)e(same)h(\015ags.)40 b(If)29 b Fq(w)m(ord)j Ft(is)d(sp)s(eci\014ed,)g(only)g(those)h(completions)g(matc)m(hing)g -Fq(w)m(ord)j Ft(will)630 3773 y(b)s(e)d(displa)m(y)m(ed.)630 -3911 y(The)24 b(return)g(v)-5 b(alue)25 b(is)g(true)f(unless)g(an)h(in) +Fq(w)m(ord)j Ft(will)630 4109 y(b)s(e)d(displa)m(y)m(ed.)630 +4245 y(The)24 b(return)g(v)-5 b(alue)25 b(is)g(true)f(unless)g(an)h(in) m(v)-5 b(alid)25 b(option)g(is)g(supplied,)f(or)h(no)g(matc)m(hes)g(w)m -(ere)630 4021 y(generated.)150 4187 y Fs(complete)870 -4325 y(complete)46 b([-abcdefgjksuv])d([-o)k Fj(comp-option)11 -b Fs(])44 b([-A)j Fj(action)11 b Fs(])45 b([-G)i Fj(glob-)870 -4435 y(pat)11 b Fs(])46 b([-W)h Fj(wordlist)11 b Fs(])870 -4544 y([-F)47 b Fj(function)11 b Fs(])45 b([-C)i Fj(command)11 -b Fs(])45 b([-X)i Fj(filterpat)11 b Fs(])870 4654 y([-P)47 -b Fj(prefix)11 b Fs(])45 b([-S)i Fj(suffix)11 b Fs(])45 -b Fj(name)58 b Fs([)p Fj(name)f Fs(...)o(])870 4764 y(complete)46 -b(-pr)g([)p Fj(name)57 b Fs(...])630 4902 y Ft(Sp)s(ecify)33 -b(ho)m(w)h(argumen)m(ts)h(to)f(eac)m(h)i Fq(name)j Ft(should)33 -b(b)s(e)g(completed.)53 b(If)33 b(the)i(`)p Fs(-p)p Ft(')e(option)630 -5011 y(is)d(supplied,)e(or)i(if)g(no)f(options)h(are)g(supplied,)f -(existing)h(completion)h(sp)s(eci\014cations)g(are)630 -5121 y(prin)m(ted)43 b(in)h(a)g(w)m(a)m(y)h(that)f(allo)m(ws)h(them)f -(to)g(b)s(e)g(reused)f(as)h(input.)80 b(The)43 b(`)p -Fs(-r)p Ft(')g(option)630 5230 y(remo)m(v)m(es)29 b(a)f(completion)h -(sp)s(eci\014cation)f(for)g(eac)m(h)g Fq(name)p Ft(,)h(or,)f(if)g(no)f -Fq(name)5 b Ft(s)28 b(are)g(supplied,)630 5340 y(all)j(completion)h(sp) -s(eci\014cations.)p eop end -%%Page: 114 120 -TeXDict begin 114 119 bop 150 -116 a Ft(114)2527 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y(The)e(pro)s(cess)g(of)h(applying)g -(these)g(completion)g(sp)s(eci\014cations)h(when)d(w)m(ord)i -(completion)630 408 y(is)35 b(attempted)h(is)f(describ)s(ed)f(ab)s(o)m -(v)m(e)j(\(see)f(Section)g(8.6)g([Programmable)g(Completion],)630 -518 y(page)31 b(111\).)630 650 y(Other)41 b(options,)46 +(ere)630 4355 y(generated.)150 4519 y Fs(complete)870 +4655 y(complete)46 b([-abcdefgjksuv])d([-o)k Fj(comp-option)11 +b Fs(])44 b([-E])j([-A)g Fj(action)11 b Fs(])45 b([-)870 +4765 y(G)i Fj(globpat)11 b Fs(])46 b([-W)g Fj(wordlist)11 +b Fs(])870 4875 y([-F)47 b Fj(function)11 b Fs(])45 b([-C)i +Fj(command)11 b Fs(])45 b([-X)i Fj(filterpat)11 b Fs(])870 +4984 y([-P)47 b Fj(prefix)11 b Fs(])45 b([-S)i Fj(suffix)11 +b Fs(])45 b Fj(name)58 b Fs([)p Fj(name)f Fs(...)o(])870 +5094 y(complete)46 b(-pr)g([-E])h([)p Fj(name)57 b Fs(...)o(])630 +5230 y Ft(Sp)s(ecify)33 b(ho)m(w)h(argumen)m(ts)h(to)f(eac)m(h)i +Fq(name)j Ft(should)33 b(b)s(e)g(completed.)53 b(If)33 +b(the)i(`)p Fs(-p)p Ft(')e(option)630 5340 y(is)d(supplied,)e(or)i(if)g +(no)f(options)h(are)g(supplied,)f(existing)h(completion)h(sp)s +(eci\014cations)g(are)p eop end +%%Page: 115 121 +TeXDict begin 115 120 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(115)630 299 y(prin)m(ted)21 +b(in)g(a)g(w)m(a)m(y)h(that)g(allo)m(ws)g(them)f(to)h(b)s(e)f(reused)f +(as)i(input.)36 b(The)21 b(`)p Fs(-r)p Ft(')g(option)h(remo)m(v)m(es) +630 408 y(a)46 b(completion)g(sp)s(eci\014cation)g(for)f(eac)m(h)h +Fq(name)p Ft(,)j(or,)g(if)c(no)h Fq(name)5 b Ft(s)45 +b(are)g(supplied,)j(all)630 518 y(completion)29 b(sp)s(eci\014cations.) +40 b(The)27 b(`)p Fs(-E)p Ft(')g(option)h(indicates)g(that)g(the)f +(remaining)h(options)630 628 y(and)e(actions)i(should)d(apply)i(to)g +(\\empt)m(y")h(command)e(completion;)k(that)d(is,)h(completion)630 +737 y(attempted)j(on)g(a)f(blank)g(line.)630 874 y(The)f(pro)s(cess)g +(of)h(applying)g(these)g(completion)g(sp)s(eci\014cations)h(when)d(w)m +(ord)i(completion)630 984 y(is)35 b(attempted)h(is)f(describ)s(ed)f(ab) +s(o)m(v)m(e)j(\(see)f(Section)g(8.6)g([Programmable)g(Completion],)630 +1093 y(page)31 b(112\).)630 1230 y(Other)41 b(options,)46 b(if)41 b(sp)s(eci\014ed,)j(ha)m(v)m(e)f(the)f(follo)m(wing)i -(meanings.)75 b(The)41 b(argumen)m(ts)h(to)630 760 y(the)e(`)p +(meanings.)75 b(The)41 b(argumen)m(ts)h(to)630 1340 y(the)e(`)p Fs(-G)p Ft(',)j(`)p Fs(-W)p Ft(',)g(and)d(`)p Fs(-X)p Ft(')g(options)g(\(and,)j(if)d(necessary)-8 b(,)44 b(the)c(`)p Fs(-P)p Ft(')h(and)e(`)p Fs(-S)p Ft(')h(options\))630 -869 y(should)30 b(b)s(e)h(quoted)g(to)h(protect)g(them)f(from)g +1450 y(should)30 b(b)s(e)h(quoted)g(to)h(protect)g(them)f(from)g (expansion)g(b)s(efore)g(the)g Fs(complete)e Ft(builtin)630 -979 y(is)h(in)m(v)m(ok)m(ed.)630 1134 y Fs(-o)g Fj(comp-option)1110 -1244 y Ft(The)c Fq(comp-option)i Ft(con)m(trols)g(sev)m(eral)h(asp)s +1559 y(is)h(in)m(v)m(ok)m(ed.)630 1724 y Fs(-o)g Fj(comp-option)1110 +1833 y Ft(The)c Fq(comp-option)i Ft(con)m(trols)g(sev)m(eral)h(asp)s (ects)e(of)g(the)g(compsp)s(ec's)g(b)s(eha)m(v-)1110 -1353 y(ior)g(b)s(ey)m(ond)f(the)g(simple)h(generation)h(of)e +1943 y(ior)g(b)s(ey)m(ond)f(the)g(simple)h(generation)h(of)e (completions.)41 b Fq(comp-option)27 b Ft(ma)m(y)1110 -1463 y(b)s(e)j(one)g(of:)1110 1618 y Fs(bashdefault)1590 -1727 y Ft(P)m(erform)d(the)h(rest)f(of)h(the)g(default)f(Bash)h -(completions)g(if)g(the)1590 1837 y(compsp)s(ec)i(generates)i(no)e -(matc)m(hes.)1110 1992 y Fs(default)144 b Ft(Use)22 b(Readline's)g +2052 y(b)s(e)j(one)g(of:)1110 2217 y Fs(bashdefault)1590 +2326 y Ft(P)m(erform)d(the)h(rest)f(of)h(the)g(default)f(Bash)h +(completions)g(if)g(the)1590 2436 y(compsp)s(ec)i(generates)i(no)e +(matc)m(hes.)1110 2600 y Fs(default)144 b Ft(Use)22 b(Readline's)g (default)g(\014lename)g(completion)g(if)g(the)g(comp-)1590 -2101 y(sp)s(ec)30 b(generates)i(no)e(matc)m(hes.)1110 -2256 y Fs(dirnames)96 b Ft(P)m(erform)46 b(directory)g(name)h -(completion)g(if)f(the)g(compsp)s(ec)1590 2366 y(generates)32 -b(no)e(matc)m(hes.)1110 2521 y Fs(filenames)1590 2630 +2710 y(sp)s(ec)30 b(generates)i(no)e(matc)m(hes.)1110 +2874 y Fs(dirnames)96 b Ft(P)m(erform)46 b(directory)g(name)h +(completion)g(if)f(the)g(compsp)s(ec)1590 2984 y(generates)32 +b(no)e(matc)m(hes.)1110 3148 y Fs(filenames)1590 3258 y Ft(T)-8 b(ell)40 b(Readline)f(that)h(the)f(compsp)s(ec)f(generates)j -(\014lenames,)1590 2740 y(so)29 b(it)h(can)f(p)s(erform)f(an)m(y)h +(\014lenames,)1590 3367 y(so)29 b(it)h(can)f(p)s(erform)f(an)m(y)h (\014lename-sp)s(eci\014c)h(pro)s(cessing)e(\(lik)m(e)1590 -2850 y(adding)h(a)h(slash)f(to)h(directory)g(names)f(or)g(suppressing)f -(trail-)1590 2959 y(ing)38 b(spaces\).)66 b(This)37 b(option)i(is)f(in) -m(tended)g(to)h(b)s(e)f(used)f(with)1590 3069 y(shell)31 +3477 y(adding)h(a)h(slash)f(to)h(directory)g(names)f(or)g(suppressing)f +(trail-)1590 3587 y(ing)38 b(spaces\).)66 b(This)37 b(option)i(is)f(in) +m(tended)g(to)h(b)s(e)f(used)f(with)1590 3696 y(shell)31 b(functions)f(sp)s(eci\014ed)f(with)h(`)p Fs(-F)p Ft('.)1110 -3224 y Fs(nospace)144 b Ft(T)-8 b(ell)40 b(Readline)g(not)g(to)g(app)s -(end)d(a)j(space)g(\(the)f(default\))h(to)1590 3333 y(w)m(ords)30 +3861 y Fs(nospace)144 b Ft(T)-8 b(ell)40 b(Readline)g(not)g(to)g(app)s +(end)d(a)j(space)g(\(the)f(default\))h(to)1590 3970 y(w)m(ords)30 b(completed)h(at)g(the)g(end)f(of)g(the)h(line.)1110 -3488 y Fs(plusdirs)96 b Ft(After)30 b(an)m(y)h(matc)m(hes)g(de\014ned)d -(b)m(y)i(the)g(compsp)s(ec)g(are)g(gener-)1590 3598 y(ated,)g +4134 y Fs(plusdirs)96 b Ft(After)30 b(an)m(y)h(matc)m(hes)g(de\014ned)d +(b)m(y)i(the)g(compsp)s(ec)g(are)g(gener-)1590 4244 y(ated,)g (directory)f(name)g(completion)i(is)d(attempted)i(and)f(an)m(y)1590 -3707 y(matc)m(hes)j(are)e(added)g(to)h(the)g(results)f(of)g(the)h -(other)g(actions.)630 3862 y Fs(-A)f Fj(action)1110 3972 +4354 y(matc)m(hes)j(are)e(added)g(to)h(the)g(results)f(of)g(the)h +(other)g(actions.)630 4518 y Fs(-A)f Fj(action)1110 4628 y Ft(The)25 b Fq(action)h Ft(ma)m(y)g(b)s(e)e(one)h(of)h(the)f(follo)m (wing)i(to)e(generate)i(a)e(list)h(of)f(p)s(ossible)1110 -4082 y(completions:)1110 4237 y Fs(alias)240 b Ft(Alias)31 +4737 y(completions:)1110 4902 y Fs(alias)240 b Ft(Alias)31 b(names.)41 b(Ma)m(y)31 b(also)h(b)s(e)e(sp)s(eci\014ed)f(as)i(`)p -Fs(-a)p Ft('.)1110 4391 y Fs(arrayvar)96 b Ft(Arra)m(y)31 -b(v)-5 b(ariable)31 b(names.)1110 4546 y Fs(binding)144 +Fs(-a)p Ft('.)1110 5066 y Fs(arrayvar)96 b Ft(Arra)m(y)31 +b(v)-5 b(ariable)31 b(names.)1110 5230 y Fs(binding)144 b Ft(Readline)30 b(k)m(ey)f(binding)f(names)h(\(see)h(Section)f(8.4)h -([Bindable)1590 4656 y(Readline)h(Commands],)f(page)h(103\).)1110 -4811 y Fs(builtin)144 b Ft(Names)21 b(of)g(shell)f(builtin)h(commands.) -37 b(Ma)m(y)21 b(also)h(b)s(e)e(sp)s(eci\014ed)1590 4921 -y(as)31 b(`)p Fs(-b)p Ft('.)1110 5075 y Fs(command)144 -b Ft(Command)29 b(names.)41 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s -(eci\014ed)f(as)i(`)p Fs(-c)p Ft('.)1110 5230 y Fs(directory)1590 -5340 y Ft(Directory)h(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s -(eci\014ed)g(as)g(`)p Fs(-d)p Ft('.)p eop end -%%Page: 115 121 -TeXDict begin 115 120 bop 150 -116 a Ft(Chapter)30 b(8:)41 -b(Command)29 b(Line)i(Editing)2062 b(115)1110 299 y Fs(disabled)96 -b Ft(Names)31 b(of)g(disabled)f(shell)g(builtins.)1110 -458 y Fs(enabled)144 b Ft(Names)31 b(of)g(enabled)f(shell)g(builtins.) -1110 617 y Fs(export)192 b Ft(Names)34 b(of)f(exp)s(orted)f(shell)h(v) --5 b(ariables.)49 b(Ma)m(y)35 b(also)e(b)s(e)g(sp)s(eci-)1590 -726 y(\014ed)d(as)g(`)p Fs(-e)p Ft('.)1110 885 y Fs(file)288 +([Bindable)1590 5340 y(Readline)h(Commands],)f(page)h(104\).)p +eop end +%%Page: 116 122 +TeXDict begin 116 121 bop 150 -116 a Ft(116)2527 b(Bash)31 +b(Reference)g(Man)m(ual)1110 299 y Fs(builtin)144 b Ft(Names)21 +b(of)g(shell)f(builtin)h(commands.)37 b(Ma)m(y)21 b(also)h(b)s(e)e(sp)s +(eci\014ed)1590 408 y(as)31 b(`)p Fs(-b)p Ft('.)1110 +581 y Fs(command)144 b Ft(Command)29 b(names.)41 b(Ma)m(y)32 +b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i(`)p Fs(-c)p Ft('.)1110 +753 y Fs(directory)1590 862 y Ft(Directory)h(names.)40 +b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)g(`)p +Fs(-d)p Ft('.)1110 1035 y Fs(disabled)96 b Ft(Names)31 +b(of)g(disabled)f(shell)g(builtins.)1110 1207 y Fs(enabled)144 +b Ft(Names)31 b(of)g(enabled)f(shell)g(builtins.)1110 +1379 y Fs(export)192 b Ft(Names)34 b(of)f(exp)s(orted)f(shell)h(v)-5 +b(ariables.)49 b(Ma)m(y)35 b(also)e(b)s(e)g(sp)s(eci-)1590 +1489 y(\014ed)d(as)g(`)p Fs(-e)p Ft('.)1110 1661 y Fs(file)288 b Ft(File)32 b(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f -(as)i(`)p Fs(-f)p Ft('.)1110 1044 y Fs(function)96 b -Ft(Names)31 b(of)g(shell)f(functions.)1110 1203 y Fs(group)240 +(as)i(`)p Fs(-f)p Ft('.)1110 1833 y Fs(function)96 b +Ft(Names)31 b(of)g(shell)f(functions.)1110 2005 y Fs(group)240 b Ft(Group)30 b(names.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)g -(as)g(`)p Fs(-g)p Ft('.)1110 1362 y Fs(helptopic)1590 -1471 y Ft(Help)37 b(topics)g(as)g(accepted)h(b)m(y)e(the)h -Fs(help)f Ft(builtin)g(\(see)h(Sec-)1590 1581 y(tion)31 -b(4.2)g([Bash)g(Builtins],)g(page)g(41\).)1110 1740 y +(as)g(`)p Fs(-g)p Ft('.)1110 2178 y Fs(helptopic)1590 +2287 y Ft(Help)37 b(topics)g(as)g(accepted)h(b)m(y)e(the)h +Fs(help)f Ft(builtin)g(\(see)h(Sec-)1590 2397 y(tion)31 +b(4.2)g([Bash)g(Builtins],)g(page)g(41\).)1110 2569 y Fs(hostname)96 b Ft(Hostnames,)89 b(as)76 b(tak)m(en)h(from)f(the)g -(\014le)h(sp)s(eci\014ed)e(b)m(y)1590 1850 y(the)55 b +(\014le)h(sp)s(eci\014ed)e(b)m(y)1590 2679 y(the)55 b Fs(HOSTFILE)e Ft(shell)j(v)-5 b(ariable)56 b(\(see)g(Section)g(5.2)h -([Bash)1590 1959 y(V)-8 b(ariables],)32 b(page)f(59\).)1110 -2118 y Fs(job)336 b Ft(Job)31 b(names,)h(if)g(job)f(con)m(trol)i(is)f +([Bash)1590 2788 y(V)-8 b(ariables],)32 b(page)f(59\).)1110 +2960 y Fs(job)336 b Ft(Job)31 b(names,)h(if)g(job)f(con)m(trol)i(is)f (activ)m(e.)46 b(Ma)m(y)33 b(also)g(b)s(e)e(sp)s(eci-)1590 -2228 y(\014ed)f(as)g(`)p Fs(-j)p Ft('.)1110 2387 y Fs(keyword)144 +3070 y(\014ed)f(as)g(`)p Fs(-j)p Ft('.)1110 3242 y Fs(keyword)144 b Ft(Shell)30 b(reserv)m(ed)h(w)m(ords.)40 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f(as)i(`)p Fs(-k)p Ft('.)1110 -2545 y Fs(running)144 b Ft(Names)31 b(of)g(running)d(jobs,)i(if)h(job)f -(con)m(trol)h(is)g(activ)m(e.)1110 2704 y Fs(service)144 +3414 y Fs(running)144 b Ft(Names)31 b(of)g(running)d(jobs,)i(if)h(job)f +(con)m(trol)h(is)g(activ)m(e.)1110 3587 y Fs(service)144 b Ft(Service)31 b(names.)41 b(Ma)m(y)31 b(also)g(b)s(e)f(sp)s -(eci\014ed)g(as)g(`)p Fs(-s)p Ft('.)1110 2863 y Fs(setopt)192 +(eci\014ed)g(as)g(`)p Fs(-s)p Ft('.)1110 3759 y Fs(setopt)192 b Ft(V)-8 b(alid)34 b(argumen)m(ts)f(for)f(the)h(`)p Fs(-o)p Ft(')g(option)g(to)h(the)f Fs(set)e Ft(builtin)1590 -2973 y(\(see)g(Section)h(4.3.1)g([The)e(Set)g(Builtin],)i(page)f(49\).) -1110 3132 y Fs(shopt)240 b Ft(Shell)40 b(option)g(names)g(as)g +3868 y(\(see)g(Section)h(4.3.1)g([The)e(Set)g(Builtin],)i(page)f(50\).) +1110 4041 y Fs(shopt)240 b Ft(Shell)40 b(option)g(names)g(as)g (accepted)i(b)m(y)e(the)g Fs(shopt)e Ft(builtin)1590 -3241 y(\(see)31 b(Section)h(4.2)f([Bash)g(Builtins],)g(page)g(41\).) -1110 3400 y Fs(signal)192 b Ft(Signal)31 b(names.)1110 -3559 y Fs(stopped)144 b Ft(Names)31 b(of)g(stopp)s(ed)e(jobs,)h(if)g -(job)g(con)m(trol)i(is)f(activ)m(e.)1110 3718 y Fs(user)288 +4150 y(\(see)31 b(Section)h(4.2)f([Bash)g(Builtins],)g(page)g(41\).) +1110 4322 y Fs(signal)192 b Ft(Signal)31 b(names.)1110 +4495 y Fs(stopped)144 b Ft(Names)31 b(of)g(stopp)s(ed)e(jobs,)h(if)g +(job)g(con)m(trol)i(is)f(activ)m(e.)1110 4667 y Fs(user)288 b Ft(User)30 b(names.)41 b(Ma)m(y)32 b(also)f(b)s(e)f(sp)s(eci\014ed)f -(as)i(`)p Fs(-u)p Ft('.)1110 3877 y Fs(variable)96 b +(as)i(`)p Fs(-u)p Ft('.)1110 4839 y Fs(variable)96 b Ft(Names)36 b(of)g(all)g(shell)g(v)-5 b(ariables.)56 b(Ma)m(y)37 b(also)f(b)s(e)f(sp)s(eci\014ed)g(as)1590 -3987 y(`)p Fs(-v)p Ft('.)630 4145 y Fs(-G)30 b Fj(globpat)1110 -4255 y Ft(The)39 b(\014lename)h(expansion)g(pattern)g -Fq(globpat)j Ft(is)d(expanded)f(to)h(generate)1110 4365 -y(the)31 b(p)s(ossible)e(completions.)630 4524 y Fs(-W)h -Fj(wordlist)1110 4633 y Ft(The)24 b Fq(w)m(ordlist)k +4949 y(`)p Fs(-v)p Ft('.)630 5121 y Fs(-G)30 b Fj(globpat)1110 +5230 y Ft(The)39 b(\014lename)h(expansion)g(pattern)g +Fq(globpat)j Ft(is)d(expanded)f(to)h(generate)1110 5340 +y(the)31 b(p)s(ossible)e(completions.)p eop end +%%Page: 117 123 +TeXDict begin 117 122 bop 150 -116 a Ft(Chapter)30 b(8:)41 +b(Command)29 b(Line)i(Editing)2062 b(117)630 299 y Fs(-W)30 +b Fj(wordlist)1110 408 y Ft(The)24 b Fq(w)m(ordlist)k Ft(is)d(split)g(using)f(the)h(c)m(haracters)i(in)d(the)i -Fs(IFS)e Ft(sp)s(ecial)h(v)-5 b(ariable)1110 4743 y(as)36 +Fs(IFS)e Ft(sp)s(ecial)h(v)-5 b(ariable)1110 518 y(as)36 b(delimiters,)i(and)e(eac)m(h)h(resultan)m(t)g(w)m(ord)e(is)h -(expanded.)57 b(The)35 b(p)s(ossible)1110 4852 y(completions)c(are)e +(expanded.)57 b(The)35 b(p)s(ossible)1110 628 y(completions)c(are)e (the)h(mem)m(b)s(ers)f(of)g(the)h(resultan)m(t)g(list)g(whic)m(h)f -(matc)m(h)i(the)1110 4962 y(w)m(ord)f(b)s(eing)g(completed.)630 -5121 y Fs(-C)g Fj(command)1110 5230 y Fq(command)35 b +(matc)m(h)i(the)1110 737 y(w)m(ord)f(b)s(eing)g(completed.)630 +897 y Fs(-C)g Fj(command)1110 1006 y Fq(command)35 b Ft(is)e(executed)g(in)e(a)i(subshell)e(en)m(vironmen)m(t,)i(and)f(its)g -(output)g(is)1110 5340 y(used)e(as)g(the)h(p)s(ossible)f(completions.)p -eop end -%%Page: 116 122 -TeXDict begin 116 121 bop 150 -116 a Ft(116)2527 b(Bash)31 -b(Reference)g(Man)m(ual)630 299 y Fs(-F)f Fj(function)1110 -408 y Ft(The)25 b(shell)i(function)e Fq(function)h Ft(is)g(executed)h -(in)e(the)i(curren)m(t)e(shell)i(en)m(viron-)1110 518 -y(men)m(t.)40 b(When)25 b(it)h(\014nishes,)f(the)h(p)s(ossible)f -(completions)h(are)g(retriev)m(ed)g(from)1110 628 y(the)31 -b(v)-5 b(alue)30 b(of)h(the)g Fs(COMPREPLY)c Ft(arra)m(y)k(v)-5 -b(ariable.)630 787 y Fs(-X)30 b Fj(filterpat)1110 897 -y Fq(\014lterpat)d Ft(is)e(a)g(pattern)g(as)f(used)g(for)h(\014lename)g -(expansion.)38 b(It)25 b(is)g(applied)f(to)1110 1006 -y(the)30 b(list)f(of)h(p)s(ossible)f(completions)h(generated)h(b)m(y)e -(the)g(preceding)h(options)1110 1116 y(and)d(argumen)m(ts,)i(and)e(eac) -m(h)i(completion)g(matc)m(hing)g Fq(\014lterpat)h Ft(is)e(remo)m(v)m -(ed)1110 1225 y(from)i(the)h(list.)42 b(A)30 b(leading)i(`)p -Fs(!)p Ft(')e(in)g Fq(\014lterpat)j Ft(negates)f(the)f(pattern;)g(in)f -(this)1110 1335 y(case,)i(an)m(y)e(completion)i(not)f(matc)m(hing)g -Fq(\014lterpat)i Ft(is)d(remo)m(v)m(ed.)630 1494 y Fs(-P)g -Fj(prefix)1110 1604 y Fq(pre\014x)39 b Ft(is)34 b(added)f(at)i(the)f(b) +(output)g(is)1110 1116 y(used)e(as)g(the)h(p)s(ossible)f(completions.) +630 1275 y Fs(-F)g Fj(function)1110 1385 y Ft(The)25 +b(shell)i(function)e Fq(function)h Ft(is)g(executed)h(in)e(the)i +(curren)m(t)e(shell)i(en)m(viron-)1110 1494 y(men)m(t.)40 +b(When)25 b(it)h(\014nishes,)f(the)h(p)s(ossible)f(completions)h(are)g +(retriev)m(ed)g(from)1110 1604 y(the)31 b(v)-5 b(alue)30 +b(of)h(the)g Fs(COMPREPLY)c Ft(arra)m(y)k(v)-5 b(ariable.)630 +1763 y Fs(-X)30 b Fj(filterpat)1110 1873 y Fq(\014lterpat)d +Ft(is)e(a)g(pattern)g(as)f(used)g(for)h(\014lename)g(expansion.)38 +b(It)25 b(is)g(applied)f(to)1110 1983 y(the)30 b(list)f(of)h(p)s +(ossible)f(completions)h(generated)h(b)m(y)e(the)g(preceding)h(options) +1110 2092 y(and)d(argumen)m(ts,)i(and)e(eac)m(h)i(completion)g(matc)m +(hing)g Fq(\014lterpat)h Ft(is)e(remo)m(v)m(ed)1110 2202 +y(from)i(the)h(list.)42 b(A)30 b(leading)i(`)p Fs(!)p +Ft(')e(in)g Fq(\014lterpat)j Ft(negates)f(the)f(pattern;)g(in)f(this) +1110 2311 y(case,)i(an)m(y)e(completion)i(not)f(matc)m(hing)g +Fq(\014lterpat)i Ft(is)d(remo)m(v)m(ed.)630 2471 y Fs(-P)g +Fj(prefix)1110 2580 y Fq(pre\014x)39 b Ft(is)34 b(added)f(at)i(the)f(b) s(eginning)f(of)i(eac)m(h)g(p)s(ossible)e(completion)i(after)1110 -1714 y(all)c(other)g(options)g(ha)m(v)m(e)g(b)s(een)f(applied.)630 -1873 y Fs(-S)g Fj(suffix)1110 1983 y Fq(su\016x)c Ft(is)20 +2690 y(all)c(other)g(options)g(ha)m(v)m(e)g(b)s(een)f(applied.)630 +2849 y Fs(-S)g Fj(suffix)1110 2959 y Fq(su\016x)c Ft(is)20 b(app)s(ended)f(to)i(eac)m(h)h(p)s(ossible)e(completion)i(after)f(all)g -(other)g(options)1110 2092 y(ha)m(v)m(e)32 b(b)s(een)d(applied.)630 -2252 y(The)35 b(return)g(v)-5 b(alue)37 b(is)f(true)f(unless)h(an)f(in) +(other)g(options)1110 3068 y(ha)m(v)m(e)32 b(b)s(een)d(applied.)630 +3228 y(The)35 b(return)g(v)-5 b(alue)37 b(is)f(true)f(unless)h(an)f(in) m(v)-5 b(alid)37 b(option)f(is)g(supplied,)g(an)g(option)h(other)630 -2361 y(than)31 b(`)p Fs(-p)p Ft(')g(or)g(`)p Fs(-r)p +3337 y(than)31 b(`)p Fs(-p)p Ft(')g(or)g(`)p Fs(-r)p Ft(')g(is)g(supplied)f(without)h(a)g Fq(name)37 b Ft(argumen)m(t,)32 -b(an)f(attempt)h(is)f(made)g(to)630 2471 y(remo)m(v)m(e)h(a)e +b(an)f(attempt)h(is)f(made)g(to)630 3447 y(remo)m(v)m(e)h(a)e (completion)i(sp)s(eci\014cation)f(for)f(a)h Fq(name)k Ft(for)30 b(whic)m(h)g(no)g(sp)s(eci\014cation)h(exists,)630 -2580 y(or)f(an)h(error)f(o)s(ccurs)g(adding)g(a)g(completion)i(sp)s -(eci\014cation.)150 2740 y Fs(compopt)870 2874 y(compopt)46 +3557 y(or)f(an)h(error)f(o)s(ccurs)g(adding)g(a)g(completion)i(sp)s +(eci\014cation.)150 3716 y Fs(compopt)870 3851 y(compopt)46 b([-o)h Fj(option)11 b Fs(])45 b([+o)i Fj(option)11 b -Fs(])45 b([)p Fj(name)11 b Fs(])630 3009 y Ft(Mo)s(dify)33 +Fs(])45 b([)p Fj(name)11 b Fs(])630 3985 y Ft(Mo)s(dify)33 b(completion)h(options)g(for)f(eac)m(h)h Fq(name)39 b Ft(according)34 b(to)g(the)f Fq(option)p Ft(s,)i(or)e(for)g(the)630 -3118 y(curren)m(tly-execution)46 b(completion)f(if)f(no)f +4095 y(curren)m(tly-execution)46 b(completion)f(if)f(no)f Fq(name)5 b Ft(s)44 b(are)h(supplied.)80 b(If)43 b(no)h -Fq(option)p Ft(s)h(are)630 3228 y(giv)m(en,)30 b(displa)m(y)e(the)g +Fq(option)p Ft(s)h(are)630 4204 y(giv)m(en,)30 b(displa)m(y)e(the)g (completion)h(options)g(for)e(eac)m(h)i Fq(name)34 b -Ft(or)27 b(the)i(curren)m(t)e(completion.)630 3337 y(The)f(p)s(ossible) +Ft(or)27 b(the)i(curren)m(t)e(completion.)630 4314 y(The)f(p)s(ossible) g(v)-5 b(alues)27 b(of)f Fq(option)h Ft(are)g(those)g(v)-5 b(alid)26 b(for)g(the)h Fs(complete)d Ft(builtin)i(describ)s(ed)630 -3447 y(ab)s(o)m(v)m(e.)630 3582 y(The)d(return)g(v)-5 +4423 y(ab)s(o)m(v)m(e.)630 4558 y(The)d(return)g(v)-5 b(alue)25 b(is)f(true)g(unless)f(an)h(in)m(v)-5 b(alid)24 b(option)h(is)f(supplied,)g(an)g(attempt)h(is)f(made)630 -3691 y(to)32 b(mo)s(dify)f(the)g(options)h(for)f(a)h +4667 y(to)32 b(mo)s(dify)f(the)g(options)h(for)f(a)h Fq(name)k Ft(for)31 b(whic)m(h)g(no)g(completion)i(sp)s(eci\014cation)f -(exists,)630 3801 y(or)e(an)h(output)f(error)g(o)s(ccurs.)p +(exists,)630 4777 y(or)e(an)h(output)f(error)g(o)s(ccurs.)p eop end -%%Page: 117 123 -TeXDict begin 117 122 bop 150 -116 a Ft(Chapter)47 b(9:)i(Using)f -(History)g(In)m(teractiv)m(ely)1865 b(117)150 299 y Fo(9)80 +%%Page: 118 124 +TeXDict begin 118 123 bop 150 -116 a Ft(118)2527 b(Bash)31 +b(Reference)g(Man)m(ual)p eop end +%%Page: 119 125 +TeXDict begin 119 124 bop 150 -116 a Ft(Chapter)47 b(9:)i(Using)f +(History)g(In)m(teractiv)m(ely)1865 b(119)150 299 y Fo(9)80 b(Using)53 b(History)g(In)l(teractiv)l(ely)275 552 y Ft(This)32 b(c)m(hapter)i(describ)s(es)e(ho)m(w)h(to)h(use)f(the)g Fl(gnu)g Ft(History)h(Library)e(in)m(teractiv)m(ely)-8 @@ -12746,7 +12889,7 @@ Fl(gnu)f Ft(Readline)h(Library)f(Man)m(ual.)150 1044 y Fr(9.1)68 b(Bash)45 b(History)h(F)-11 b(acilities)275 1294 y Ft(When)31 b(the)g(`)p Fs(-o)f(history)p Ft(')g(option)i(to)g (the)g Fs(set)f Ft(builtin)g(is)g(enabled)h(\(see)g(Section)g(4.3.1)i -([The)d(Set)150 1404 y(Builtin],)h(page)g(49\),)h(the)e(shell)h(pro)m +([The)d(Set)150 1404 y(Builtin],)h(page)g(50\),)h(the)e(shell)h(pro)m (vides)f(access)h(to)g(the)f Fq(command)g(history)p Ft(,)h(the)f(list)h (of)f(commands)150 1514 y(previously)h(t)m(yp)s(ed.)47 b(The)33 b(v)-5 b(alue)33 b(of)f(the)h Fs(HISTSIZE)e @@ -12800,7 +12943,7 @@ b(using)f(command-line)h(editing,)h(searc)m(h)f(commands)g(are)g(a)m(v) -5 b(ailable)33 b(in)e(eac)m(h)150 3909 y(editing)45 b(mo)s(de)g(that)g(pro)m(vide)g(access)h(to)f(the)g(history)f(list)i (\(see)f(Section)h(8.4.2)g([Commands)e(F)-8 b(or)150 -4018 y(History],)31 b(page)h(103\).)275 4159 y(The)47 +4018 y(History],)31 b(page)h(104\).)275 4159 y(The)47 b(shell)i(allo)m(ws)h(con)m(trol)f(o)m(v)m(er)h(whic)m(h)e(commands)g (are)h(sa)m(v)m(ed)g(on)f(the)h(history)f(list.)95 b(The)150 4269 y Fs(HISTCONTROL)25 b Ft(and)j Fs(HISTIGNORE)e Ft(v)-5 @@ -12821,8 +12964,8 @@ Fs(shopt)p Ft(.)150 5090 y Fr(9.2)68 b(Bash)45 b(History)h(Builtins)275 5340 y Ft(Bash)30 b(pro)m(vides)g(t)m(w)m(o)i(builtin)e(commands)g (whic)m(h)g(manipulate)h(the)f(history)h(list)g(and)f(history)g (\014le.)p eop end -%%Page: 118 124 -TeXDict begin 118 123 bop 150 -116 a Ft(118)2527 b(Bash)31 +%%Page: 120 126 +TeXDict begin 120 125 bop 150 -116 a Ft(120)2527 b(Bash)31 b(Reference)g(Man)m(ual)150 299 y Fs(fc)870 445 y(fc)47 b([-e)g Fj(ename)11 b Fs(])46 b([-lnr])g([)p Fj(first)11 b Fs(])45 b([)p Fj(last)11 b Fs(])870 555 y(fc)47 b(-s)g([)p @@ -12897,9 +13040,9 @@ b Ft(App)s(end)35 b(the)i(new)g(history)g(lines)g(\(history)g(lines)g (en)m(tered)h(since)f(the)g(b)s(e-)1110 5340 y(ginning)30 b(of)h(the)f(curren)m(t)g(Bash)h(session\))g(to)g(the)g(history)f (\014le.)p eop end -%%Page: 119 125 -TeXDict begin 119 124 bop 150 -116 a Ft(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(119)630 +%%Page: 121 127 +TeXDict begin 121 126 bop 150 -116 a Ft(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(121)630 299 y Fs(-n)384 b Ft(App)s(end)32 b(the)i(history)f(lines)h(not)g (already)g(read)g(from)f(the)h(history)f(\014le)h(to)1110 408 y(the)26 b(curren)m(t)f(history)g(list.)40 b(These)25 @@ -12982,8 +13125,8 @@ i(\(see)f(Section)f(5.2)i([Bash)e(V)-8 b(ariables],)150 5230 y(page)32 b(59\).)44 b(The)31 b(shell)g(uses)g(the)g(history)g (commen)m(t)i(c)m(haracter)f(to)g(mark)f(history)g(timestamps)h(when) 150 5340 y(writing)e(the)h(history)f(\014le.)p eop end -%%Page: 120 126 -TeXDict begin 120 125 bop 150 -116 a Ft(120)2527 b(Bash)31 +%%Page: 122 128 +TeXDict begin 122 127 bop 150 -116 a Ft(122)2527 b(Bash)31 b(Reference)g(Man)m(ual)150 299 y Fk(9.3.1)63 b(Ev)m(en)m(t)39 b(Designators)275 545 y Ft(An)30 b(ev)m(en)m(t)h(designator)h(is)e(a)h (reference)g(to)g(a)f(command)h(line)f(en)m(try)h(in)f(the)h(history)f @@ -13042,9 +13185,9 @@ b(F)-8 b(or)31 b(man)m(y)g(applications,)h(this)e(is)g(the)h(command)f 5340 y Fs(\045)432 b Ft(The)30 b(w)m(ord)g(matc)m(hed)h(b)m(y)f(the)h (most)g(recen)m(t)g(`)p Fs(?)p Fj(string)11 b Fs(?)p Ft(')28 b(searc)m(h.)p eop end -%%Page: 121 127 -TeXDict begin 121 126 bop 150 -116 a Ft(Chapter)30 b(9:)41 -b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(121)150 +%%Page: 123 129 +TeXDict begin 123 128 bop 150 -116 a Ft(Chapter)30 b(9:)41 +b(Using)30 b(History)h(In)m(teractiv)m(ely)1925 b(123)150 299 y Fj(x)p Fs(-)p Fj(y)336 b Ft(A)30 b(range)h(of)g(w)m(ords;)f(`)p Fs(-)p Fj(y)11 b Ft(')30 b(abbreviates)h(`)p Fs(0-)p Fj(y)11 b Ft('.)150 458 y Fs(*)432 b Ft(All)28 b(of)g(the)g(w)m(ords,)g @@ -13098,12 +13241,12 @@ Fj(new)g Fs(/)p Ft(,)26 b(or)k(with)h(`)p Fs(&)p Ft('.)150 4473 y Fs(G)432 b Ft(Apply)30 b(the)g(follo)m(wing)i(`)p Fs(s)p Ft(')f(mo)s(di\014er)e(once)i(to)g(eac)m(h)h(w)m(ord)e(in)g(the) g(ev)m(en)m(t.)p eop end -%%Page: 122 128 -TeXDict begin 122 127 bop 150 -116 a Ft(122)2527 b(Bash)31 +%%Page: 124 130 +TeXDict begin 124 129 bop 150 -116 a Ft(124)2527 b(Bash)31 b(Reference)g(Man)m(ual)p eop end -%%Page: 123 129 -TeXDict begin 123 128 bop 150 -116 a Ft(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(123)150 299 y Fo(10)80 +%%Page: 125 131 +TeXDict begin 125 130 bop 150 -116 a Ft(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(125)150 299 y Fo(10)80 b(Installing)52 b(Bash)275 535 y Ft(This)39 b(c)m(hapter)i(pro)m(vides) f(basic)g(instructions)g(for)g(installing)h(Bash)f(on)g(the)h(v)-5 b(arious)40 b(supp)s(orted)150 645 y(platforms.)58 b(The)36 @@ -13183,8 +13326,8 @@ b(T)-8 b(o)32 b(also)g(remo)m(v)m(e)g(the)g(\014les)f(that)g Fs(configure)e Ft(created)j(\(so)g(y)m(ou)g(can)f(compile)150 5340 y(Bash)g(for)f(a)g(di\013eren)m(t)h(kind)f(of)g(computer\),)h(t)m (yp)s(e)g(`)p Fs(make)e(distclean)p Ft('.)p eop end -%%Page: 124 130 -TeXDict begin 124 129 bop 150 -116 a Ft(124)2527 b(Bash)31 +%%Page: 126 132 +TeXDict begin 126 131 bop 150 -116 a Ft(126)2527 b(Bash)31 b(Reference)g(Man)m(ual)150 299 y Fr(10.2)68 b(Compilers)46 b(and)f(Options)275 560 y Ft(Some)40 b(systems)g(require)f(un)m(usual)g (options)h(for)g(compilation)i(or)e(linking)g(that)g(the)g @@ -13261,9 +13404,9 @@ b(will)h(use)f Fq(P)-8 b(A)g(TH)75 b Ft(as)64 b(the)g(pre\014x)e(for)i (installing)h(programs)e(and)h(libraries.)150 5340 y(Do)s(cumen)m (tation)32 b(and)e(other)h(data)g(\014les)f(will)h(still)g(use)f(the)h (regular)f(pre\014x.)p eop end -%%Page: 125 131 -TeXDict begin 125 130 bop 150 -116 a Ft(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(125)150 299 y Fr(10.5)68 +%%Page: 127 133 +TeXDict begin 127 132 bop 150 -116 a Ft(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(127)150 299 y Fr(10.5)68 b(Sp)t(ecifying)45 b(the)g(System)h(T)l(yp)t(e)275 539 y Ft(There)35 b(ma)m(y)h(b)s(e)f(some)h(features)g Fs(configure)d Ft(can)j(not)g(\014gure)f(out)g(automatically)-8 b(,)41 @@ -13331,8 +13474,8 @@ b(T)-8 b(o)29 b(turn)e(o\013)h(the)h(default)f(use)g(of)g(a)h(pac)m(k-) b Ft('.)63 b(T)-8 b(o)40 b(con\014gure)g(Bash)f(without)h(a)g(feature)g (that)g(is)g(enabled)f(b)m(y)150 5340 y(default,)31 b(use)f(`)p Fs(--disable-)p Fj(feature)11 b Ft('.)p eop end -%%Page: 126 132 -TeXDict begin 126 131 bop 150 -116 a Ft(126)2527 b(Bash)31 +%%Page: 128 134 +TeXDict begin 128 133 bop 150 -116 a Ft(128)2527 b(Bash)31 b(Reference)g(Man)m(ual)275 299 y(Here)21 b(is)g(a)g(complete)h(list)g (of)f(the)g(`)p Fs(--enable-)p Ft(')e(and)h(`)p Fs(--with-)p Ft(')g(options)h(that)g(the)g(Bash)g Fs(configure)150 @@ -13400,9 +13543,9 @@ y Ft(This)h(builds)f(a)i(Bash)g(binary)f(that)h(pro)s(duces)e (pro\014ling)h(information)h(to)h(b)s(e)d(pro)s(cessed)630 5340 y(b)m(y)g Fs(gprof)f Ft(eac)m(h)j(time)f(it)g(is)f(executed.)p eop end -%%Page: 127 133 -TeXDict begin 127 132 bop 150 -116 a Ft(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(127)150 299 y Fs(--enable-static-link)630 +%%Page: 129 135 +TeXDict begin 129 134 bop 150 -116 a Ft(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(129)150 299 y Fs(--enable-static-link)630 408 y Ft(This)37 b(causes)h(Bash)f(to)h(b)s(e)f(link)m(ed)h(statically) -8 b(,)43 b(if)37 b Fs(gcc)g Ft(is)g(b)s(eing)g(used.)61 b(This)37 b(could)h(b)s(e)630 518 y(used)30 b(to)h(build)e(a)i(v)m @@ -13423,18 +13566,18 @@ Fs(alias)f Ft(and)g Fs(unalias)e Ft(builtins)j(\(see)g(Sec-)630 b(supp)s(ort)g(for)g(the)i(alternate)g(form)f(of)g(the)g Fs(for)f Ft(command)h(that)h(b)s(eha)m(v)m(es)f(lik)m(e)i(the)630 1767 y(C)30 b(language)i Fs(for)d Ft(statemen)m(t)j(\(see)g(Section)f -(3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(9\).)150 +(3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(10\).)150 1921 y Fs(--enable-array-variables)630 2030 y Ft(Include)h(supp)s(ort)g (for)h(one-dimensional)h(arra)m(y)f(shell)h(v)-5 b(ariables)33 b(\(see)h(Section)g(6.7)h([Ar-)630 2140 y(ra)m(ys],)c(page)g(78\).)150 2293 y Fs(--enable-bang-history)630 2403 y Ft(Include)36 b(supp)s(ort)f(for)h Fs(csh)p Ft(-lik)m(e)h(history)g(substitution)f (\(see)h(Section)g(9.3)h([History)f(In-)630 2513 y(teraction],)c(page)e -(119\).)150 2666 y Fs(--enable-brace-expansion)630 2776 +(121\).)150 2666 y Fs(--enable-brace-expansion)630 2776 y Ft(Include)40 b Fs(csh)p Ft(-lik)m(e)h(brace)f(expansion)g(\()h Fs(b{a,b}c)2445 2772 y Fp(7!)2576 2776 y Fs(bac)30 b(bbc)39 b Ft(\).)71 b(See)40 b(Section)h(3.5.1)630 2885 y([Brace)32 -b(Expansion],)e(page)h(17,)h(for)e(a)g(complete)i(description.)150 +b(Expansion],)e(page)h(18,)h(for)e(a)g(complete)i(description.)150 3039 y Fs(--enable-command-timing)630 3148 y Ft(Include)43 b(supp)s(ort)f(for)h(recognizing)i Fs(time)e Ft(as)g(a)h(reserv)m(ed)g (w)m(ord)f(and)g(for)h(displa)m(ying)630 3258 y(timing)37 @@ -13465,8 +13608,8 @@ Fs(enable)d(-n)i(xxx)p Ft('.)43 b(See)32 b(Section)g(4.2)h([Bash)e (Builtins],)i(page)f(41,)630 5340 y(for)e(details)i(of)e(the)h Fs(builtin)d Ft(and)i Fs(enable)e Ft(builtin)i(commands.)p eop end -%%Page: 128 134 -TeXDict begin 128 133 bop 150 -116 a Ft(128)2527 b(Bash)31 +%%Page: 130 136 +TeXDict begin 130 135 bop 150 -116 a Ft(130)2527 b(Bash)31 b(Reference)g(Man)m(ual)150 299 y Fs(--enable-dparen-arithmet)o(ic)630 408 y Ft(Include)42 b(supp)s(ort)f(for)h(the)h Fs(\(\(...)o(\)\))f Ft(command)g(\(see)i(Section)f(3.2.4.2)i([Conditional)630 @@ -13481,7 +13624,7 @@ b(\(see)630 1267 y(Section)31 b(4.2)h([Bash)e(Builtins],)i(page)f (41\).)150 1422 y Fs(--enable-history)630 1532 y Ft(Include)e(command)g (history)h(and)f(the)h Fs(fc)f Ft(and)g Fs(history)e Ft(builtin)j(commands)f(\(see)h(Sec-)630 1641 y(tion)h(9.1)g([Bash)g -(History)g(F)-8 b(acilities],)34 b(page)d(117\).)150 +(History)g(F)-8 b(acilities],)34 b(page)d(119\).)150 1797 y Fs(--enable-job-control)630 1906 y Ft(This)e(enables)i(the)f (job)g(con)m(trol)h(features)g(\(see)g(Chapter)f(7)g([Job)g(Con)m (trol],)h(page)g(87\),)h(if)630 2016 y(the)f(op)s(erating)f(system)h @@ -13501,7 +13644,7 @@ s(cess)e(Substitution],)630 3249 y(page)31 b(22\))h(if)e(the)h(op)s (erating)f(system)h(pro)m(vides)f(the)h(necessary)g(supp)s(ort.)150 3404 y Fs(--enable-progcomp)630 3513 y Ft(Enable)d(the)g(programmable)g (completion)i(facilities)g(\(see)f(Section)g(8.6)g([Programmable)630 -3623 y(Completion],)i(page)h(111\).)42 b(If)30 b(Readline)h(is)f(not)h +3623 y(Completion],)i(page)h(112\).)42 b(If)30 b(Readline)h(is)f(not)h (enabled,)f(this)h(option)g(has)f(no)g(e\013ect.)150 3778 y Fs(--enable-prompt-string-d)o(ecod)o(ing)630 3888 y Ft(T)-8 b(urn)46 b(on)h(the)h(in)m(terpretation)g(of)g(a)g(n)m(um)m @@ -13524,9 +13667,9 @@ b(See)40 b(Section)h(6.10)g([The)f(Restricted)h(Shell],)630 Fs(select)f Ft(builtin,)i(whic)m(h)f(allo)m(ws)i(the)f(generation)g(of) g(simple)f(men)m(us)g(\(see)630 5340 y(Section)c(3.2.4.2)i ([Conditional)e(Constructs],)g(page)g(10\).)p eop end -%%Page: 129 135 -TeXDict begin 129 134 bop 150 -116 a Ft(Chapter)30 b(10:)41 -b(Installing)31 b(Bash)2356 b(129)150 299 y Fs +%%Page: 131 137 +TeXDict begin 131 136 bop 150 -116 a Ft(Chapter)30 b(10:)41 +b(Installing)31 b(Bash)2356 b(131)150 299 y Fs (--enable-separate-helpfi)o(les)630 408 y Ft(Use)32 b(external)h (\014les)f(for)g(the)g(do)s(cumen)m(tation)h(displa)m(y)m(ed)f(b)m(y)g (the)g Fs(help)f Ft(builtin)h(instead)630 518 y(of)f(storing)f(the)h @@ -13563,12 +13706,12 @@ y(the)h(consequences)g(if)f(y)m(ou)h(do.)55 b(Read)36 b(the)g(commen)m(ts)g(asso)s(ciated)h(with)e(eac)m(h)i(de\014nition)e (for)g(more)150 2849 y(information)c(ab)s(out)f(its)h(e\013ect.)p eop end -%%Page: 130 136 -TeXDict begin 130 135 bop 150 -116 a Ft(130)2527 b(Bash)31 +%%Page: 132 138 +TeXDict begin 132 137 bop 150 -116 a Ft(132)2527 b(Bash)31 b(Reference)g(Man)m(ual)p eop end -%%Page: 131 137 -TeXDict begin 131 136 bop 150 -116 a Ft(App)s(endix)29 -b(A:)h(Rep)s(orting)h(Bugs)2299 b(131)150 299 y Fo(App)t(endix)52 +%%Page: 133 139 +TeXDict begin 133 138 bop 150 -116 a Ft(App)s(endix)29 +b(A:)h(Rep)s(orting)h(Bugs)2299 b(133)150 299 y Fo(App)t(endix)52 b(A)121 b(Rep)t(orting)52 b(Bugs)275 533 y Ft(Please)35 b(rep)s(ort)e(all)i(bugs)f(y)m(ou)g(\014nd)f(in)h(Bash.)52 b(But)34 b(\014rst,)h(y)m(ou)f(should)f(mak)m(e)i(sure)f(that)g(it)h @@ -13597,13 +13740,13 @@ s(duce)e(it.)150 2182 y Fs(bashbug)d Ft(inserts)i(the)h(\014rst)f (vides)f(for)g(\014ling)h(a)150 2291 y(bug)h(rep)s(ort.)275 2426 y(Please)h(send)f(all)h(rep)s(orts)f(concerning)g(this)h(man)m (ual)f(to)h Fs(chet@po.CWRU.Edu)p Ft(.)p eop end -%%Page: 132 138 -TeXDict begin 132 137 bop 150 -116 a Ft(132)2527 b(Bash)31 +%%Page: 134 140 +TeXDict begin 134 139 bop 150 -116 a Ft(134)2527 b(Bash)31 b(Reference)g(Man)m(ual)p eop end -%%Page: 133 139 -TeXDict begin 133 138 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 135 141 +TeXDict begin 135 140 bop 150 -116 a Ft(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(133)150 141 y Fo(App)t(endix)52 +b(The)f(Bourne)g(Shell)1258 b(135)150 141 y Fo(App)t(endix)52 b(B)128 b(Ma)9 b(jor)54 b(Di\013erences)d(F)-13 b(rom)54 b(The)f(Bourne)1135 299 y(Shell)275 530 y Ft(Bash)25 b(implemen)m(ts)g(essen)m(tially)i(the)f(same)f(grammar,)i(parameter)e @@ -13632,12 +13775,12 @@ b Ft(Bash)26 b(has)g(m)m(ulti-c)m(haracter)i(in)m(v)m(o)s(cation)g (91\))i(and)330 1809 y(the)h Fs(bind)e Ft(builtin.)225 1943 y Fp(\017)60 b Ft(Bash)46 b(pro)m(vides)g(a)g(programmable)g(w)m (ord)f(completion)i(mec)m(hanism)f(\(see)h(Section)g(8.6)g([Pro-)330 -2052 y(grammable)39 b(Completion],)i(page)e(111\),)i(and)d(builtin)g +2052 y(grammable)39 b(Completion],)i(page)e(112\),)i(and)d(builtin)g (commands)f Fs(complete)p Ft(,)h Fs(compgen)p Ft(,)h(and)330 2162 y Fs(compopt)p Ft(,)29 b(to)i(manipulate)g(it.)225 2296 y Fp(\017)60 b Ft(Bash)26 b(has)f(command)h(history)f(\(see)i (Section)f(9.1)h([Bash)f(History)h(F)-8 b(acilities],)30 -b(page)c(117\))i(and)d(the)330 2405 y Fs(history)k Ft(and)h +b(page)c(119\))i(and)d(the)330 2405 y Fs(history)k Ft(and)h Fs(fc)g Ft(builtins)g(to)h(manipulate)g(it.)42 b(The)30 b(Bash)h(history)g(list)g(main)m(tains)g(timestamp)330 2515 y(information)g(and)e(uses)h(the)h(v)-5 b(alue)31 @@ -13645,7 +13788,7 @@ b(of)f(the)h Fs(HISTTIMEFORMAT)26 b Ft(v)-5 b(ariable)32 b(to)f(displa)m(y)f(it.)225 2649 y Fp(\017)60 b Ft(Bash)48 b(implemen)m(ts)h Fs(csh)p Ft(-lik)m(e)g(history)f(expansion)g(\(see)h (Section)g(9.3)h([History)f(In)m(teraction],)330 2759 -y(page)31 b(119\).)225 2892 y Fp(\017)60 b Ft(Bash)33 +y(page)31 b(121\).)225 2892 y Fp(\017)60 b Ft(Bash)33 b(has)g(one-dimensional)h(arra)m(y)f(v)-5 b(ariables)34 b(\(see)g(Section)g(6.7)g([Arra)m(ys],)g(page)g(78\),)h(and)e(the)330 3002 y(appropriate)39 b(v)-5 b(ariable)40 b(expansions)f(and)g @@ -13684,13 +13827,13 @@ b(ariable.)225 4987 y Fp(\017)60 b Ft(Bash)23 b(implemen)m(ts)g(the)h Fs(for)29 b(\(\()h Fj(expr1)39 b Fs(;)30 b Fj(expr2)40 b Fs(;)30 b Fj(expr3)39 b Fs(\)\))23 b Ft(arithmetic)h(for)e(command,)j (sim-)330 5096 y(ilar)31 b(to)g(the)g(C)f(language)h(\(see)h(Section)f -(3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(9\).)225 +(3.2.4.1)i([Lo)s(oping)d(Constructs],)h(page)g(10\).)225 5230 y Fp(\017)60 b Ft(Bash)31 b(includes)f(the)g Fs(select)f Ft(comp)s(ound)g(command,)i(whic)m(h)f(allo)m(ws)i(the)f(generation)g (of)g(simple)330 5340 y(men)m(us)f(\(see)h(Section)g(3.2.4.2)i ([Conditional)e(Constructs],)g(page)g(10\).)p eop end -%%Page: 134 140 -TeXDict begin 134 139 bop 150 -116 a Ft(134)2527 b(Bash)31 +%%Page: 136 142 +TeXDict begin 136 141 bop 150 -116 a Ft(136)2527 b(Bash)31 b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(Bash)40 b(includes)g(the)g Fs([[)g Ft(comp)s(ound)e(command,)43 b(whic)m(h)c(mak)m(es)i(conditional)h(testing)f(part)f(of)330 @@ -13700,7 +13843,7 @@ b(regular)e(expression)g(matc)m(hing.)225 653 y Fp(\017)60 b Ft(Bash)31 b(pro)m(vides)f(optional)h(case-insensitiv)m(e)i(matc)m (hing)f(for)e(the)g Fs(case)g Ft(and)f Fs([[)h Ft(constructs.)225 789 y Fp(\017)60 b Ft(Bash)27 b(includes)g(brace)h(expansion)f(\(see)h -(Section)g(3.5.1)i([Brace)e(Expansion],)g(page)g(17\))h(and)d(tilde)330 +(Section)g(3.5.1)i([Brace)e(Expansion],)g(page)g(18\))h(and)d(tilde)330 898 y(expansion)k(\(see)i(Section)f(3.5.2)h([Tilde)f(Expansion],)f (page)h(18\).)225 1034 y Fp(\017)60 b Ft(Bash)24 b(implemen)m(ts)h (command)e(aliases)j(and)d(the)i Fs(alias)d Ft(and)i @@ -13758,7 +13901,7 @@ b(expansion)g(using)f Fs(${!word})e Ft(\(see)k(Section)f(3.5.3)i Fj(num)11 b Fs(})p Ft(.)225 4276 y Fp(\017)60 b Ft(The)27 b Fl(posix)g Fs($\(\))g Ft(form)g(of)h(command)g(substitution)f(is)h (implemen)m(ted)g(\(see)h(Section)f(3.5.4)i([Com-)330 -4386 y(mand)38 b(Substitution],)k(page)e(21\),)j(and)38 +4386 y(mand)38 b(Substitution],)k(page)e(22\),)j(and)38 b(preferred)g(to)i(the)g(Bourne)f(shell's)h Fs(``)e Ft(\(whic)m(h)i(is) f(also)330 4495 y(implemen)m(ted)31 b(for)f(bac)m(kw)m(ards)h (compatibilit)m(y\).)225 4631 y Fp(\017)60 b Ft(Bash)31 @@ -13779,10 +13922,10 @@ Ft(v)-5 b(ariable)45 b(is)f(used)f(to)i(split)f(only)g(the)g(results)g y(Section)29 b(3.5.7)h([W)-8 b(ord)29 b(Splitting],)h(page)f(23\).)41 b(This)28 b(closes)h(a)g(longstanding)g(shell)f(securit)m(y)h(hole.)p eop end -%%Page: 135 141 -TeXDict begin 135 140 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 137 143 +TeXDict begin 137 142 bop 150 -116 a Ft(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(135)225 299 y Fp(\017)60 +b(The)f(Bourne)g(Shell)1258 b(137)225 299 y Fp(\017)60 b Ft(Bash)38 b(implemen)m(ts)g(the)g(full)g(set)g(of)g Fl(posix)f Ft(\014lename)h(expansion)g(op)s(erators,)i(including)d Fq(c)m(har-)330 408 y(acter)i(classes)p Ft(,)j Fq(equiv)-5 @@ -13836,7 +13979,7 @@ b Ft(Bash)33 b(can)f(op)s(en)g(net)m(w)m(ork)i(connections)f(to)h b Ft(The)29 b Fs(noclobber)e Ft(option)j(is)g(a)m(v)-5 b(ailable)32 b(to)e(a)m(v)m(oid)h(o)m(v)m(erwriting)g(existing)g (\014les)e(with)h(output)f(redi-)330 3503 y(rection)39 -b(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)i(page)e(49\).)66 +b(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)i(page)e(50\).)66 b(The)38 b(`)p Fs(>|)p Ft(')h(redirection)g(op)s(erator)330 3612 y(ma)m(y)31 b(b)s(e)f(used)f(to)i(o)m(v)m(erride)h Fs(noclobber)p Ft(.)225 3754 y Fp(\017)60 b Ft(The)34 @@ -13868,8 +14011,8 @@ y Fp(\017)60 b Ft(Shell)29 b(functions)g(ma)m(y)h(b)s(e)f(exp)s(orted)g (to)h(c)m(hildren)f(via)h(the)g(en)m(vironmen)m(t)g(using)f Fs(export)f(-f)h Ft(\(see)330 5340 y(Section)i(3.3)h([Shell)e(F)-8 b(unctions],)32 b(page)f(14\).)p eop end -%%Page: 136 142 -TeXDict begin 136 141 bop 150 -116 a Ft(136)2527 b(Bash)31 +%%Page: 138 144 +TeXDict begin 138 143 bop 150 -116 a Ft(138)2527 b(Bash)31 b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(The)37 b(Bash)g Fs(export)p Ft(,)h Fs(readonly)p Ft(,)f(and)f Fs(declare)g Ft(builtins)h(can)g(tak)m(e)i(a)f(`)p Fs(-f)p @@ -13921,17 +14064,17 @@ f(the)g Fs(.)g Ft(or)330 2737 y Fs(source)c Ft(builtins)g(\(see)j 2874 y Fp(\017)60 b Ft(Bash)43 b(includes)g(the)g Fs(shopt)f Ft(builtin,)k(for)d(\014ner)f(con)m(trol)j(of)e(shell)h(optional)g (capabilities)h(\(see)330 2984 y(Section)c(4.3.2)g([The)f(Shopt)f -(Builtin],)k(page)d(53\),)k(and)39 b(allo)m(ws)i(these)f(options)h(to)f +(Builtin],)k(page)d(54\),)k(and)39 b(allo)m(ws)i(these)f(options)h(to)f (b)s(e)f(set)i(and)330 3093 y(unset)30 b(at)h(shell)g(in)m(v)m(o)s (cation)h(\(see)f(Section)h(6.1)f([In)m(v)m(oking)g(Bash],)g(page)h (69\).)225 3230 y Fp(\017)60 b Ft(Bash)45 b(has)f(m)m(uc)m(h)g(more)h (optional)h(b)s(eha)m(vior)e(con)m(trollable)j(with)e(the)f Fs(set)g Ft(builtin)g(\(see)h(Sec-)330 3340 y(tion)31 -b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(49\).)225 3477 +b(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(50\).)225 3477 y Fp(\017)60 b Ft(The)31 b(`)p Fs(-x)p Ft(')g(\()p Fs(xtrace)p Ft(\))g(option)h(displa)m(ys)f(commands)h(other)f(than)h(simple)f (commands)g(when)g(p)s(er-)330 3587 y(forming)f(an)g(execution)i(trace) -f(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(49\).)225 +f(\(see)h(Section)f(4.3.1)h([The)e(Set)h(Builtin],)g(page)g(50\).)225 3724 y Fp(\017)60 b Ft(The)28 b Fs(test)g Ft(builtin)h(\(see)h(Section) f(4.1)h([Bourne)f(Shell)g(Builtins],)h(page)g(35\))g(is)f(sligh)m(tly)h (di\013eren)m(t,)330 3833 y(as)23 b(it)g(implemen)m(ts)f(the)h @@ -13964,10 +14107,10 @@ Ft(builtin)i(\(see)h(Section)g(4.1)g([Bourne)f(Shell)g(Builtins],)j 5340 y(signal)30 b(sp)s(eci\014cation,)h(similar)f(to)g Fs(EXIT)f Ft(and)g Fs(DEBUG)p Ft(.)39 b(Commands)28 b(sp)s(eci\014ed)h (with)g(an)g Fs(ERR)g Ft(trap)p eop end -%%Page: 137 143 -TeXDict begin 137 142 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 139 145 +TeXDict begin 139 144 bop 150 -116 a Ft(App)s(endix)29 b(B:)i(Ma)5 b(jor)31 b(Di\013erences)g(F)-8 b(rom)31 -b(The)f(Bourne)g(Shell)1258 b(137)330 299 y(are)40 b(executed)g(after)g +b(The)f(Bourne)g(Shell)1258 b(139)330 299 y(are)40 b(executed)g(after)g (a)f(simple)h(command)f(fails,)j(with)d(a)h(few)f(exceptions.)68 b(The)39 b Fs(ERR)g Ft(trap)g(is)330 408 y(not)g(inherited)f(b)m(y)h (shell)g(functions)f(unless)g(the)h Fs(-o)29 b(errtrace)37 @@ -14049,8 +14192,8 @@ Ft(.)57 b(If)35 b(the)i(shell)f(is)h(started)g(from)e(a)i(pro)s(cess)f (with)g Fs(SIGSEGV)e Ft(blo)s(c)m(k)m(ed)k(\(e.g.,)h(b)m(y)d(using)330 5340 y(the)31 b Fs(system\(\))d Ft(C)i(library)g(function)g(call\),)i (it)f(misb)s(eha)m(v)m(es)g(badly)-8 b(.)p eop end -%%Page: 138 144 -TeXDict begin 138 143 bop 150 -116 a Ft(138)2527 b(Bash)31 +%%Page: 140 146 +TeXDict begin 140 145 bop 150 -116 a Ft(140)2527 b(Bash)31 b(Reference)g(Man)m(ual)225 299 y Fp(\017)60 b Ft(In)26 b(a)i(questionable)g(attempt)h(at)f(securit)m(y)-8 b(,)29 b(the)e(SVR4.2)h(shell,)g(when)f(in)m(v)m(ok)m(ed)h(without)g(the)f(`)p @@ -14082,10 +14225,10 @@ Fl(posix)330 1738 y Ft(standard.)225 1873 y Fp(\017)60 b Ft(The)30 b(SVR4.2)h(shell)g(b)s(eha)m(v)m(es)f(di\013eren)m(tly)h (when)f(in)m(v)m(ok)m(ed)i(as)e Fs(jsh)g Ft(\(it)h(turns)e(on)h(job)g (con)m(trol\).)p eop end -%%Page: 139 145 -TeXDict begin 139 144 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 141 147 +TeXDict begin 141 146 bop 150 -116 a Ft(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(139)150 299 y Fo(App)t(endix)52 b(C)126 b(GNU)53 b(F)-13 +b(141)150 299 y Fo(App)t(endix)52 b(C)126 b(GNU)53 b(F)-13 b(ree)53 b(Do)t(cumen)l(tation)f(License)1396 502 y Ft(V)-8 b(ersion)31 b(1.2,)h(No)m(v)m(em)m(b)s(er)g(2002)390 635 y(Cop)m(yrigh)m(t)842 632 y(c)817 635 y Fp(\015)e @@ -14167,8 +14310,8 @@ b(\\In)m(v)-5 b(arian)m(t)27 b(Sections")g(are)f(certain)g(Secondary)g 5340 y(b)s(eing)e(those)h(of)g(In)m(v)-5 b(arian)m(t)27 b(Sections,)i(in)d(the)h(notice)h(that)f(sa)m(ys)g(that)g(the)g(Do)s (cumen)m(t)g(is)g(released)p eop end -%%Page: 140 146 -TeXDict begin 140 145 bop 150 -116 a Ft(140)2527 b(Bash)31 +%%Page: 142 148 +TeXDict begin 142 147 bop 150 -116 a Ft(142)2527 b(Bash)31 b(Reference)g(Man)m(ual)330 299 y(under)26 b(this)i(License.)40 b(If)27 b(a)h(section)h(do)s(es)f(not)f(\014t)h(the)g(ab)s(o)m(v)m(e)h (de\014nition)e(of)h(Secondary)f(then)h(it)g(is)330 408 @@ -14264,10 +14407,10 @@ b(cop)m(yrigh)m(t)i(notices,)j(and)42 b(the)h(license)330 5340 y(notice)37 b(sa)m(ying)g(this)e(License)i(applies)e(to)i(the)f (Do)s(cumen)m(t)g(are)g(repro)s(duced)e(in)i(all)g(copies,)j(and)p eop end -%%Page: 141 147 -TeXDict begin 141 146 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 143 149 +TeXDict begin 143 148 bop 150 -116 a Ft(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(141)330 299 y(that)27 b(y)m(ou)g(add)f(no)h(other)f(conditions)h +b(143)330 299 y(that)27 b(y)m(ou)g(add)f(no)h(other)f(conditions)h (whatso)s(ev)m(er)h(to)f(those)g(of)g(this)f(License.)40 b(Y)-8 b(ou)27 b(ma)m(y)g(not)g(use)330 408 y(tec)m(hnical)35 b(measures)d(to)i(obstruct)f(or)g(con)m(trol)h(the)f(reading)g(or)g @@ -14355,8 +14498,8 @@ b(,)510 5230 y(b)s(e)31 b(listed)h(in)f(the)g(History)h(section)g(of)g h(title)h(as)510 5340 y(a)e(previous)f(v)m(ersion)g(if)h(the)f (original)i(publisher)d(of)h(that)h(v)m(ersion)g(giv)m(es)h(p)s (ermission.)p eop end -%%Page: 142 148 -TeXDict begin 142 147 bop 150 -116 a Ft(142)2527 b(Bash)31 +%%Page: 144 150 +TeXDict begin 144 149 bop 150 -116 a Ft(144)2527 b(Bash)31 b(Reference)g(Man)m(ual)360 299 y(B.)61 b(List)31 b(on)f(the)h(Title)g (P)m(age,)i(as)d(authors,)h(one)g(or)f(more)h(p)s(ersons)e(or)h(en)m (tities)j(resp)s(onsible)c(for)510 408 y(authorship)c(of)h(the)h(mo)s @@ -14437,10 +14580,10 @@ b(Sections)g(in)f(the)h(Mo)s(di\014ed)f(V)-8 b(ersion's)36 b(license)g(notice.)57 b(These)330 5340 y(titles)32 b(m)m(ust)e(b)s(e)g (distinct)h(from)e(an)m(y)i(other)g(section)g(titles.)p eop end -%%Page: 143 149 -TeXDict begin 143 148 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 145 151 +TeXDict begin 145 150 bop 150 -116 a Ft(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(143)330 299 y(Y)-8 b(ou)43 b(ma)m(y)g(add)f(a)g(section)i(En)m +b(145)330 299 y(Y)-8 b(ou)43 b(ma)m(y)g(add)f(a)g(section)i(En)m (titled)f(\\Endorsemen)m(ts",)j(pro)m(vided)c(it)h(con)m(tains)g (nothing)g(but)330 408 y(endorsemen)m(ts)30 b(of)g(y)m(our)f(Mo)s (di\014ed)g(V)-8 b(ersion)31 b(b)m(y)e(v)-5 b(arious)30 @@ -14527,8 +14670,8 @@ b(with)d(other)i(separate)g(and)e(indep)s(enden)m(t)330 5340 y(do)s(cumen)m(ts)33 b(or)g(w)m(orks,)h(in)f(or)h(on)f(a)g(v)m (olume)h(of)g(a)f(storage)i(or)e(distribution)g(medium,)g(is)h(called)p eop end -%%Page: 144 150 -TeXDict begin 144 149 bop 150 -116 a Ft(144)2527 b(Bash)31 +%%Page: 146 152 +TeXDict begin 146 151 bop 150 -116 a Ft(146)2527 b(Bash)31 b(Reference)g(Man)m(ual)330 299 y(an)f(\\aggregate")k(if)c(the)g(cop)m (yrigh)m(t)i(resulting)e(from)f(the)i(compilation)g(is)f(not)h(used)e (to)i(limit)g(the)330 408 y(legal)d(righ)m(ts)f(of)g(the)g @@ -14611,10 +14754,10 @@ y(this)i(License,)j(y)m(ou)d(ma)m(y)i(c)m(ho)s(ose)f(an)m(y)g(v)m (ersion)g(ev)m(er)g(published)e(\(not)i(as)g(a)f(draft\))h(b)m(y)f(the) h(F)-8 b(ree)330 5016 y(Soft)m(w)m(are)31 b(F)-8 b(oundation.)p eop end -%%Page: 145 151 -TeXDict begin 145 150 bop 150 -116 a Ft(App)s(endix)29 +%%Page: 147 153 +TeXDict begin 147 152 bop 150 -116 a Ft(App)s(endix)29 b(C:)h(GNU)h(F)-8 b(ree)31 b(Do)s(cumen)m(tation)i(License)1560 -b(145)150 299 y Fr(ADDENDUM:)45 b(Ho)l(w)h(to)f(use)g(this)h(License)f +b(147)150 299 y Fr(ADDENDUM:)45 b(Ho)l(w)h(to)f(use)g(this)h(License)f (for)g(y)l(our)g(do)t(cumen)l(ts)275 543 y Ft(T)-8 b(o)27 b(use)g(this)g(License)h(in)f(a)h(do)s(cumen)m(t)f(y)m(ou)h(ha)m(v)m(e) g(written,)g(include)f(a)h(cop)m(y)g(of)f(the)h(License)g(in)f(the)150 @@ -14649,1139 +14792,1149 @@ y(If)23 b(y)m(our)h(do)s(cumen)m(t)f(con)m(tains)i(non)m(trivial)g b(as)g(the)g(GNU)150 2392 y(General)31 b(Public)f(License,)i(to)f(p)s (ermit)e(their)i(use)f(in)g(free)g(soft)m(w)m(are.)p eop end -%%Page: 146 152 -TeXDict begin 146 151 bop 150 -116 a Ft(146)2527 b(Bash)31 -b(Reference)g(Man)m(ual)p eop end -%%Page: 147 153 -TeXDict begin 147 152 bop 150 -116 a Ft(App)s(endix)29 -b(D:)i(Indexes)2623 b(147)150 299 y Fo(App)t(endix)52 -b(D)119 b(Indexes)p eop end %%Page: 148 154 TeXDict begin 148 153 bop 150 -116 a Ft(148)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fr(D.1)68 b(Index)45 -b(of)g(Shell)g(Builtin)g(Commands)150 604 y(.)150 727 -y Fe(.)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b -Fb(35)150 980 y Fr(:)150 1104 y Fe(:)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)42 b Fb(35)150 1367 y Fr([)150 1490 y Fe([)17 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +b(Reference)g(Man)m(ual)p eop end +%%Page: 149 155 +TeXDict begin 149 154 bop 150 -116 a Ft(App)s(endix)29 +b(D:)i(Indexes)2623 b(149)150 299 y Fo(App)t(endix)52 +b(D)119 b(Indexes)150 656 y Fr(D.1)68 b(Index)45 b(of)g(Shell)g +(Builtin)g(Commands)150 977 y(.)150 1105 y Fe(.)17 b +Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(39)150 1752 -y Fr(A)150 1875 y Fe(alias)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(35)150 1367 +y Fr(:)150 1495 y Fe(:)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(35)150 1767 y Fr([)150 1895 y Fe([)17 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(39)150 2166 y Fr(A)150 +2293 y Fe(alias)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 b -Fb(41)150 2128 y Fr(B)150 2252 y Fe(bg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)41 b Fb(88)150 2343 y Fe(bind)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(41)150 2434 y Fe(break)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 b Fb(41)150 2556 +y Fr(B)150 2684 y Fe(bg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)41 +b Fb(88)150 2777 y Fe(bind)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(41)150 2869 y Fe(break)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 b -Fb(35)150 2525 y Fe(builtin)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g +Fb(35)150 2962 y Fe(builtin)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(42)150 -2778 y Fr(C)150 2902 y Fe(caller)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.) +3225 y Fr(C)150 3352 y Fe(caller)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 -b Fb(42)150 2993 y Fe(cd)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +b Fb(43)150 3445 y Fe(cd)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)41 -b Fb(36)150 3084 y Fe(command)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g +b Fb(36)150 3538 y Fe(command)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(43)150 -3175 y Fe(compgen)7 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +3631 y Fe(compgen)7 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(113)150 3266 y Fe(complete)26 +f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(114)150 3724 y Fe(complete)26 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -50 b Fb(113)150 3357 y Fe(compopt)7 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f +50 b Fb(114)150 3817 y Fe(compopt)7 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(116)150 -3448 y Fe(continue)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(117)150 +3910 y Fe(continue)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(36)150 3700 y -Fr(D)150 3824 y Fe(declare)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.) +(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(36)150 4172 y +Fr(D)150 4300 y Fe(declare)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(43)150 -3915 y Fe(dirs)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +4393 y Fe(dirs)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(79)150 -4006 y Fe(disown)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +4485 y Fe(disown)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(89)150 4259 -y Fr(E)150 4383 y Fe(echo)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(89)150 4748 +y Fr(E)150 4876 y Fe(echo)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(44)150 4474 y Fe(enable)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) +b Fb(44)150 4969 y Fe(enable)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(45)150 -4565 y Fe(eval)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +5061 y Fe(eval)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(36)150 -4656 y Fe(exec)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +5154 y Fe(exec)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(36)150 -4747 y Fe(exit)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +5247 y Fe(exit)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(36)150 -4838 y Fe(export)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +5340 y Fe(export)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(36)150 5109 -y Fr(F)150 5233 y Fe(fc)14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 -b Fb(118)150 5324 y Fe(fg)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)41 -b Fb(88)150 5596 y Fr(G)150 5720 y Fe(getopts)8 b Fc(.)14 -b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(36)2025 977 +y Fr(F)2025 1106 y Fe(fc)14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)41 +b Fb(120)2025 1200 y Fe(fg)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)34 b Fb(37)2025 604 y Fr(H)2025 720 y Fe(hash)13 +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)41 +b Fb(88)2025 1485 y Fr(G)2025 1614 y Fe(getopts)8 b Fc(.)14 +b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)34 b Fb(37)2025 1900 y Fr(H)2025 2029 y Fe(hash)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(37)2025 807 y Fe(help)13 +(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(37)2025 2123 y Fe(help)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(45)2025 894 y Fe(history)7 +(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(45)2025 2216 y Fe(history)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)h(.)33 b Fb(118)2025 1146 y Fr(J)2025 1262 y Fe(jobs)13 +g(.)h(.)33 b Fb(120)2025 2502 y Fr(J)2025 2631 y Fe(jobs)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(88)2025 1514 y Fr(K)2025 -1630 y Fe(kill)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(88)2025 2916 y Fr(K)2025 +3045 y Fe(kill)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(89)2025 -1863 y Fr(L)2025 1979 y Fe(let)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f +3312 y Fr(L)2025 3441 y Fe(let)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(45)2025 2066 y Fe(local)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) +b Fb(46)2025 3535 y Fe(local)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 -b Fb(46)2025 2154 y Fe(logout)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g +b Fb(46)2025 3628 y Fe(logout)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b -Fb(46)2025 2405 y Fr(P)2025 2522 y Fe(popd)13 b Fc(.)g(.)f(.)g(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(80)2025 2609 y Fe(printf)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g +Fb(46)2025 3914 y Fr(M)2025 4043 y Fe(mapfile)8 b Fc(.)14 +b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b -Fb(46)2025 2696 y Fe(pushd)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b -Fb(80)2025 2783 y Fe(pwd)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(38)2025 3035 y Fr(R)2025 3151 y Fe(read)13 b Fc(.)g(.)f(.)g(.)g(.) +f(.)34 b Fb(46)2025 4328 y Fr(P)2025 4457 y Fe(popd)13 +b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(80)2025 4551 y Fe(printf)10 +b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)35 b Fb(46)2025 4645 y Fe(pushd)11 b Fc(.)i(.)g(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(80)2025 4738 y Fe(pwd)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 +b Fb(38)2025 5024 y Fr(R)2025 5153 y Fe(read)13 b Fc(.)g(.)f(.)g(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -38 b Fb(46)2025 3238 y Fe(readonly)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.) +38 b Fb(47)2025 5246 y Fe(readonly)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(38)2025 -3326 y Fe(return)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +5340 y Fe(return)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(38)2025 3559 -y Fr(S)2025 3675 y Fe(set)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(49)2025 3762 y Fe(shift)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 -b Fb(38)2025 3849 y Fe(shopt)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 -b Fb(53)2025 3937 y Fe(source)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(38)p eop end +%%Page: 150 156 +TeXDict begin 150 155 bop 150 -116 a Ft(150)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fr(S)150 423 y Fe(set)14 +b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(50)150 514 y Fe(shift)11 +b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)37 b Fb(38)150 606 y Fe(shopt)11 b +Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +g(.)h(.)f(.)g(.)37 b Fb(54)150 697 y Fe(source)10 b Fc(.)j(.)g(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 +b Fb(48)150 788 y Fe(suspend)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b -Fb(47)2025 4024 y Fe(suspend)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(89)150 +1061 y Fr(T)150 1185 y Fe(test)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(39)150 1276 y Fe(times)11 b Fc(.)j(.)e(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(89)2025 -4276 y Fr(T)2025 4392 y Fe(test)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(39)2025 4479 y Fe(times)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 -b Fb(40)2025 4566 y Fe(trap)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 b +Fb(40)150 1368 y Fe(trap)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(40)2025 299 y Fe(type)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(40)2025 4653 y Fe(type)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +b Fb(48)2025 386 y Fe(typeset)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(47)2025 4741 y Fe(typeset)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(48)2025 -4993 y Fr(U)2025 5109 y Fe(ulimit)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 -b Fb(48)2025 5196 y Fe(umask)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 -b Fb(40)2025 5283 y Fe(unalias)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(49)2025 -5370 y Fe(unset)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(49)2025 +639 y Fr(U)2025 755 y Fe(ulimit)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b +Fb(49)2025 843 y Fe(umask)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b +Fb(40)2025 930 y Fe(unalias)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(50)2025 +1017 y Fe(unset)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(41)2025 5603 -y Fr(W)2025 5720 y Fe(wait)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(41)2025 1251 +y Fr(W)2025 1368 y Fe(wait)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(89)p eop end -%%Page: 149 155 -TeXDict begin 149 154 bop 150 -116 a Ft(App)s(endix)29 -b(D:)i(Indexes)2623 b(149)150 299 y Fr(D.2)68 b(Index)45 -b(of)g(Shell)g(Reserv)l(ed)h(W)-11 b(ords)150 620 y(!)150 -753 y Fe(!)18 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44 -b Fb(8)150 1039 y Fr([)150 1172 y Fe([[)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)41 b Fb(12)150 1464 y Fr(])150 1597 y Fe(]])15 b Fc(.)e(.)g(.)f(.)g +b Fb(89)150 1642 y Fr(D.2)68 b(Index)45 b(of)g(Shell)g(Reserv)l(ed)h(W) +-11 b(ords)150 1963 y(!)150 2096 y Fe(!)18 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44 b Fb(8)150 2382 y +Fr([)150 2515 y Fe([[)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)41 b Fb(12)150 1883 y Fa({)150 2016 y Fe({)17 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(13)150 2302 -y Fa(})150 2435 y Fe(})17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 -b Fb(13)150 2719 y Fr(C)150 2852 y Fe(case)13 b Fc(.)g(.)f(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)41 +b Fb(12)150 2807 y Fr(])150 2940 y Fe(]])15 b Fc(.)e(.)g(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)41 b Fb(12)150 3226 y Fa({)150 3359 y Fe({)17 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(14)150 3645 y Fa(})150 +3777 y Fe(})17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(14)150 4062 y Fr(C)150 4195 y Fe(case)13 b Fc(.)g(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(11)150 3129 y Fr(D)150 3262 y Fe(do)16 b Fc(.)d(.)g(.)f(.)g(.)h(.) -f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)43 b Fb(9)150 3357 y Fe(done)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.) +b Fb(11)150 4471 y Fr(D)150 4604 y Fe(do)15 b Fc(.)e(.)g(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)41 b Fb(10)150 4700 y Fe(done)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(10)2025 1963 y Fr(E)2025 2079 y Fe(elif)13 b Fc(.)g(.)f(.)g(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(9)2025 620 y Fr(E)2025 736 y Fe(elif)13 b Fc(.)g(.)f(.)g(.)g(.)h +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +38 b Fb(10)2025 2166 y Fe(else)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(10)2025 824 y Fe(else)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(10)2025 911 y Fe(esac)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 +b Fb(10)2025 2254 y Fe(esac)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(11)2025 1144 y Fr(F)2025 1260 y Fe(fi)15 b Fc(.)e(.)f(.)h(.)f(.)g +b Fb(11)2025 2487 y Fr(F)2025 2603 y Fe(fi)15 b Fc(.)e(.)f(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)41 b Fb(10)2025 1348 y Fe(for)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.) +(.)f(.)41 b Fb(10)2025 2690 y Fe(for)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(10)2025 1435 y Fe(function)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h +b Fb(10)2025 2778 y Fe(function)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(14)2025 -1668 y Fr(I)2025 1784 y Fe(if)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g +3011 y Fr(I)2025 3127 y Fe(if)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)41 -b Fb(10)2025 1872 y Fe(in)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h +b Fb(10)2025 3215 y Fe(in)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)41 -b Fb(11)2025 2105 y Fr(S)2025 2221 y Fe(select)10 b Fc(.)j(.)f(.)h(.)f +b Fb(11)2025 3448 y Fr(S)2025 3564 y Fe(select)10 b Fc(.)j(.)f(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 -b Fb(11)2025 2455 y Fr(T)2025 2571 y Fe(then)13 b Fc(.)g(.)f(.)g(.)g(.) +b Fb(12)2025 3797 y Fr(T)2025 3914 y Fe(then)13 b Fc(.)g(.)f(.)g(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -38 b Fb(10)2025 2658 y Fe(time)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)g(.)h +38 b Fb(10)2025 4001 y Fe(time)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)40 -b Fb(8)2025 2891 y Fr(U)2025 3008 y Fe(until)12 b Fc(.)h(.)g(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -38 b Fb(9)2025 3241 y Fr(W)2025 3357 y Fe(while)11 b -Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)37 b Fb(10)150 3614 y Fr(D.3)68 b(P)l(arameter)47 -b(and)d(V)-11 b(ariable)46 b(Index)150 3936 y(!)150 4070 -y Fe(!)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b -Fb(16)150 4350 y Fr(#)150 4485 y Fe(#)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)42 b Fb(16)150 4775 y Fr($)150 4909 y Fe($)17 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +b Fb(8)2025 4234 y Fr(U)2025 4350 y Fe(until)11 b Fc(.)i(.)g(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(10)2025 4584 y Fr(W)2025 4700 y Fe(while)11 b Fc(.)i(.)g(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 5206 -y Fr(*)150 5340 y Fe(*)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 -b Fb(16)2025 3936 y Fr(-)2025 4072 y Fe(-)17 b Fc(.)12 -b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(16)2025 4358 y Fr(?)2025 -4495 y Fe(?)17 b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 -b Fb(16)2025 4781 y Fr(@)2025 4917 y Fe(@)17 b Fc(.)12 +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(10)150 4957 y Fr(D.3)68 b(P)l(arameter)47 b(and)d(V)-11 +b(ariable)46 b(Index)150 5279 y(!)1834 b Fe(!)17 b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(16)p 2034 5203 41 -6 v 2025 5340 a Fe(_)17 b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 -b Fb(16)p eop end -%%Page: 150 156 -TeXDict begin 150 155 bop 150 -116 a Ft(150)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fr(0)150 428 y Fe(0)17 +g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(17)p eop end +%%Page: 151 157 +TeXDict begin 151 156 bop 150 -116 a Ft(App)s(endix)29 +b(D:)i(Indexes)2623 b(151)150 299 y Fr(#)150 428 y Fe(#)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 693 -y Fr(A)150 822 y Fe(auto_resume)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 b Fb(90)150 1096 y Fr(B)150 -1225 y Fe(BASH)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(59)150 -1319 y Fe(BASH_ARGC)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(60)150 1412 y Fe(BASH_ARGV)25 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) -49 b Fb(60)150 1505 y Fe(BASH_COMMAND)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 b Fb(60)150 1599 y -Fe(BASH_ENV)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(60)150 1692 y Fe(BASH_EXECUTION_STRING) -d Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)50 b Fb(60)150 1785 y Fe(BASH_LINENO)23 +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 705 +y Fr($)150 834 y Fe($)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(17)150 1117 y Fr(*)150 1246 y Fe(*)17 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 1513 y Fr(-)150 +1642 y Fe(-)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(16)150 1909 y Fr(?)150 2038 y Fe(?)17 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(16)150 2305 y Fr(@)150 +2435 y Fe(@)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(16)p 159 2701 41 6 v 150 2831 a Fe(_)17 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(17)150 3098 y Fr(0)150 +3227 y Fe(0)17 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(17)150 3494 y Fr(A)150 3623 y Fe(auto_resume)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 -b Fb(60)150 1879 y Fe(BASH_REMATCH)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h +b Fb(90)150 3899 y Fr(B)150 4029 y Fe(BASH)13 b Fc(.)g(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(59)150 4122 y Fe(BASH_ARGC)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 b Fb(60)150 1972 y Fe(BASH_SOURCE)23 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 -b Fb(60)150 2066 y Fe(BASH_SUBSHELL)18 b Fc(.)d(.)d(.)h(.)f(.)g(.)g(.)h +h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(60)150 4216 +y Fe(BASH_ARGV)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)49 b Fb(60)150 4310 y Fe(BASH_COMMAND)22 +b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 +b Fb(60)150 4403 y Fe(BASH_ENV)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(60)150 +4497 y Fe(BASH_EXECUTION_STRING)d Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)50 +b Fb(60)150 4591 y Fe(BASH_LINENO)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 b Fb(60)150 4684 y +Fe(BASH_REMATCH)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)45 b Fb(60)150 4778 y Fe(BASH_SOURCE)23 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 +b Fb(60)150 4872 y Fe(BASH_SUBSHELL)18 b Fc(.)d(.)d(.)h(.)f(.)g(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)43 b Fb(61)150 2159 y Fe(BASH_VERSINFO)18 +h(.)f(.)g(.)h(.)f(.)43 b Fb(61)150 4965 y Fe(BASH_VERSINFO)18 b Fc(.)d(.)d(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 -b Fb(61)150 2252 y Fe(BASH_VERSION)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h +b Fb(61)150 5059 y Fe(BASH_VERSION)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 b Fb(61)150 2346 y Fe(BASHPID)8 +h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 b Fb(61)150 5153 y Fe(BASHPID)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)34 b Fb(60)150 2439 y Fe(bell-style)24 b +h(.)f(.)g(.)34 b Fb(60)150 5246 y Fe(bell-style)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 -b Fb(95)150 2533 y Fe(bind-tty-special-chars)28 b Fc(.)12 +b Fb(95)150 5340 y Fe(bind-tty-special-chars)28 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)48 b Fb(95)150 2817 y Fr(C)150 2945 y Fe(CDPATH)10 -b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)35 b Fb(59)150 3039 y Fe(COLUMNS)8 b Fc(.)14 -b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)34 b Fb(61)150 3132 y Fe(comment-begin)18 b Fc(.)d(.)d(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 b Fb(95)150 3226 y Fe(COMP_CWORD)24 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 -b Fb(61)150 3319 y Fe(COMP_KEY)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(62)150 -3412 y Fe(COMP_LINE)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(61)150 3506 y Fe(COMP_POINT)24 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 -b Fb(61)150 3599 y Fe(COMP_TYPE)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(61)150 3693 -y Fe(COMP_WORDBREAKS)15 b Fc(.)g(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)40 -b Fb(62)150 3786 y Fe(COMP_WORDS)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(62)150 3879 y -Fe(completion-query-items)28 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(95)150 -3973 y Fe(COMPREPLY)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(62)150 4066 y Fe(convert-meta)22 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 -b Fb(96)150 4332 y Fr(D)150 4460 y Fe(DIRSTACK)7 b Fc(.)14 +(.)f(.)48 b Fb(95)2025 299 y Fr(C)2025 417 y Fe(CDPATH)10 +b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)35 b Fb(59)2025 506 y Fe(COLUMNS)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -32 b Fb(62)150 4554 y Fe(disable-completion)10 b Fc(.)17 -b(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 b Fb(96)150 4838 y Fr(E)150 -4966 y Fe(editing-mode)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)45 b Fb(96)150 5060 y Fe(EMACS)11 b Fc(.)j(.)e(.)g(.)g +f(.)34 b Fb(61)2025 594 y Fe(comment-begin)18 b Fc(.)d(.)d(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(95)2025 683 y Fe(COMP_CWORD)24 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 +b Fb(61)2025 771 y Fe(COMP_KEY)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(62)2025 +860 y Fe(COMP_LINE)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 -b Fb(62)150 5153 y Fe(enable-keypad)18 b Fc(.)d(.)d(.)h(.)f(.)g(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)43 b Fb(96)150 5247 y Fe(EUID)13 -b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(62)150 5340 y Fe(expand-tilde)22 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)45 -b Fb(96)2025 299 y Fr(F)2025 437 y Fe(FCEDIT)10 b Fc(.)j(.)f(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 -b Fb(62)2025 535 y Fe(FIGNORE)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f +g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(61)2025 948 y Fe(COMP_POINT)24 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 +b Fb(61)2025 1036 y Fe(COMP_TYPE)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(61)2025 1125 +y Fe(COMP_WORDBREAKS)15 b Fc(.)g(.)e(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 +b Fb(62)2025 1213 y Fe(COMP_WORDS)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(62)2025 1302 +y Fe(completion-prefix-display-leng)q(th)9 b Fc(.)18 +b(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(95)2025 +1390 y Fe(completion-query-items)27 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)48 +b Fb(95)2025 1479 y Fe(COMPREPLY)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(62)2025 1567 +y Fe(convert-meta)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)45 b Fb(96)2025 1807 y Fr(D)2025 1925 y Fe(DIRSTACK)7 +b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)32 b Fb(62)2025 2014 y Fe(disable-completion)10 +b Fc(.)17 b(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)36 b Fb(96)2025 +2272 y Fr(E)2025 2390 y Fe(editing-mode)22 b Fc(.)12 +b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 +b Fb(96)2025 2479 y Fe(EMACS)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(62)2025 2567 y Fe(enable-keypad)18 b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(96)2025 2656 y Fe(EUID)13 +b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(62)2025 2744 y Fe(expand-tilde)22 +b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 +b Fb(96)2025 3002 y Fr(F)2025 3121 y Fe(FCEDIT)10 b Fc(.)j(.)f(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(62)2025 -633 y Fe(FUNCNAME)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(62)2025 923 y Fr(G)2025 -1061 y Fe(GLOBIGNORE)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)48 b Fb(63)2025 1159 y Fe(GROUPS)10 -b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)35 b Fb(63)2025 1449 y Fr(H)2025 1587 -y Fe(histchars)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)49 b Fb(63)2025 1685 y Fe(HISTCMD)8 +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 +b Fb(62)2025 3209 y Fe(FIGNORE)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(62)2025 +3297 y Fe(FUNCNAME)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(62)2025 3537 y +Fr(G)2025 3655 y Fe(GLOBIGNORE)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(63)2025 3744 +y Fe(GROUPS)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(63)2025 3983 y Fr(H)2025 +4102 y Fe(histchars)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(63)2025 4190 y Fe(HISTCMD)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)34 b Fb(63)2025 1783 y Fe(HISTCONTROL)23 +g(.)h(.)f(.)34 b Fb(63)2025 4279 y Fe(HISTCONTROL)23 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)46 -b Fb(63)2025 1881 y Fe(HISTFILE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h +b Fb(63)2025 4367 y Fe(HISTFILE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(63)2025 -1979 y Fe(HISTFILESIZE)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +4456 y Fe(HISTFILESIZE)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)45 b Fb(63)2025 2077 y Fe(HISTIGNORE)24 +g(.)h(.)f(.)g(.)45 b Fb(63)2025 4544 y Fe(HISTIGNORE)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 -b Fb(63)2025 2175 y Fe(history-preserve-point)27 b Fc(.)13 +b Fb(63)2025 4632 y Fe(history-preserve-point)27 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)48 b Fb(96)2025 2273 y Fe(history-size)22 b Fc(.)12 +(.)h(.)48 b Fb(96)2025 4721 y Fe(history-size)22 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 -b Fb(96)2025 2371 y Fe(HISTSIZE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h +b Fb(96)2025 4809 y Fe(HISTSIZE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(64)2025 -2469 y Fe(HISTTIMEFORMAT)16 b Fc(.)f(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +4898 y Fe(HISTTIMEFORMAT)16 b Fc(.)f(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h -(.)f(.)42 b Fb(64)2025 2567 y Fe(HOME)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f +(.)f(.)42 b Fb(64)2025 4986 y Fe(HOME)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(59)2025 2665 y Fe(horizontal-scroll-mode)27 b Fc(.)13 +b Fb(59)2025 5075 y Fe(horizontal-scroll-mode)27 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)48 b Fb(96)2025 2763 y Fe(HOSTFILE)7 b Fc(.)14 +(.)h(.)48 b Fb(96)2025 5163 y Fe(HOSTFILE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -32 b Fb(64)2025 2861 y Fe(HOSTNAME)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.) +32 b Fb(64)2025 5252 y Fe(HOSTNAME)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(64)2025 -2959 y Fe(HOSTTYPE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +5340 y Fe(HOSTTYPE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(64)2025 3249 y -Fr(I)2025 3387 y Fe(IFS)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 -b Fb(59)2025 3485 y Fe(IGNOREEOF)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(64)2025 3583 -y Fe(input-meta)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)48 b Fb(96)2025 3681 y Fe(INPUTRC)8 b -Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)34 b Fb(64)2025 3779 y Fe(isearch-terminators)9 -b Fc(.)16 b(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(96)2025 4069 y -Fr(K)2025 4207 y Fe(keymap)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(97)2025 -4516 y Fr(L)2025 4654 y Fe(LANG)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(64)2025 4752 y Fe(LC_ALL)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b -Fb(64)2025 4850 y Fe(LC_COLLATE)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(65)2025 4948 -y Fe(LC_CTYPE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(64)p eop end +%%Page: 152 158 +TeXDict begin 152 157 bop 150 -116 a Ft(152)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fr(I)150 421 y Fe(IFS)14 +b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(59)150 510 y Fe(IGNOREEOF)25 +b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) +49 b Fb(64)150 600 y Fe(input-meta)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(65)2025 5046 y Fe(LC_MESSAGES)14 -b Fc(.)h(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)40 -b Fb(7,)26 b(65)2025 5144 y Fe(LC_NUMERIC)e Fc(.)12 b(.)h(.)f(.)g(.)h +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(96)150 690 +y Fe(INPUTRC)8 b Fc(.)14 b(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(65)2025 -5242 y Fe(LINENO)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(65)2025 5340 -y Fe(LINES)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(64)150 780 y Fe +(isearch-terminators)9 b Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 +b Fb(97)150 1028 y Fr(K)150 1149 y Fe(keymap)10 b Fc(.)j(.)g(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 +b Fb(97)150 1415 y Fr(L)150 1537 y Fe(LANG)13 b Fc(.)g(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(65)p eop end -%%Page: 151 157 -TeXDict begin 151 156 bop 150 -116 a Ft(App)s(endix)29 -b(D:)i(Indexes)2623 b(151)150 299 y Fr(M)150 415 y Fe(MACHTYPE)7 +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(64)150 1627 y Fe(LC_ALL)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(64)150 +1717 y Fe(LC_COLLATE)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)47 b Fb(65)150 1807 y Fe(LC_CTYPE)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)32 b Fb(65)150 502 y Fe(MAIL)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.) +g(.)h(.)32 b Fb(65)150 1897 y Fe(LC_MESSAGES)14 b Fc(.)h(.)d(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)40 b Fb(7,)26 b(65)150 +1987 y Fe(LC_NUMERIC)e Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(59)150 589 y Fe(MAILCHECK)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h +(.)h(.)f(.)g(.)h(.)47 b Fb(65)150 2077 y Fe(LINENO)10 +b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)35 b Fb(65)150 2167 y Fe(LINES)11 b Fc(.)j(.)e(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)37 +b Fb(65)150 2414 y Fr(M)150 2536 y Fe(MACHTYPE)7 b Fc(.)14 +b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +32 b Fb(65)150 2625 y Fe(MAIL)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 +b Fb(59)150 2715 y Fe(MAILCHECK)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(65)150 676 +h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(65)150 2805 y Fe(MAILPATH)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(59)150 764 y Fe(mark-modified-lines)9 +g(.)h(.)f(.)g(.)g(.)h(.)32 b Fb(59)150 2895 y Fe(mark-modified-lines)9 b Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(97)150 851 +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(97)150 2985 y Fe(mark-symlinked-directories)17 b Fc(.)h(.)12 b(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(97)150 938 +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(97)150 3075 y Fe(match-hidden-files)10 b Fc(.)17 b(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 -b Fb(97)150 1025 y Fe(meta-flag)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h +b Fb(97)150 3165 y Fe(meta-flag)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(96)150 1277 -y Fr(O)150 1392 y Fe(OLDPWD)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f +h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(96)150 3431 +y Fr(O)150 3553 y Fe(OLDPWD)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(65)150 -1480 y Fe(OPTARG)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +3643 y Fe(OPTARG)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(59)150 1567 +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(59)150 3733 y Fe(OPTERR)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(65)150 1654 y Fe(OPTIND)10 +f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(65)150 3823 y Fe(OPTIND)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)35 b Fb(59)150 1741 y Fe(OSTYPE)10 b Fc(.)j(.)g(.)f(.)g +(.)g(.)h(.)f(.)35 b Fb(59)150 3913 y Fe(OSTYPE)10 b Fc(.)j(.)g(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)35 -b Fb(65)150 1828 y Fe(output-meta)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.) +b Fb(65)150 4003 y Fe(output-meta)23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 b Fb(97)150 2080 y -Fr(P)150 2196 y Fe(page-completions)13 b Fc(.)j(.)d(.)f(.)g(.)h(.)f(.)g +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)46 b Fb(97)2025 299 y +Fr(P)2025 415 y Fe(page-completions)13 b Fc(.)j(.)c(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)39 b Fb(97)2025 503 y Fe(PATH)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)39 b Fb(97)150 2283 y Fe(PATH)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(59)150 2370 y Fe(PIPESTATUS)24 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(65)150 2457 y -Fe(POSIXLY_CORRECT)15 b Fc(.)g(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)40 -b Fb(65)150 2545 y Fe(PPID)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 -b Fb(66)150 2632 y Fe(PROMPT_COMMAND)16 b Fc(.)g(.)c(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)42 b Fb(66)150 2719 y Fe(PS1)14 b -Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 +b Fb(59)2025 590 y Fe(PIPESTATUS)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(65)2025 678 y +Fe(POSIXLY_CORRECT)15 b Fc(.)g(.)e(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 +b Fb(65)2025 765 y Fe(PPID)13 b Fc(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(59)150 2806 y Fe(PS2)14 -b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(59)150 2893 y Fe(PS3)14 -b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(66)150 2980 y Fe(PS4)14 -b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(66)2025 299 y Fe(PWD)14 +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 +b Fb(66)2025 852 y Fe(PROMPT_COMMAND)16 b Fc(.)f(.)e(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)g(.)h(.)f(.)42 b Fb(66)2025 940 y Fe(PS1)14 b +Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(59)2025 1027 y Fe(PS2)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(66)2025 539 y Fr(R)2025 -658 y Fe(RANDOM)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(66)2025 747 y -Fe(REPLY)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(66)2025 987 y -Fr(S)2025 1106 y Fe(SECONDS)8 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f +(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(59)2025 1115 y Fe(PS3)14 +b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(66)2025 1202 y Fe(PS4)14 +b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(66)2025 1289 y Fe(PWD)14 +b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(66)2025 1523 y Fr(R)2025 +1640 y Fe(RANDOM)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(66)2025 1727 +y Fe(REPLY)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(66)2025 -1194 y Fe(SHELL)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(66)2025 1283 -y Fe(SHELLOPTS)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)49 b Fb(66)2025 1371 y Fe(SHLVL)11 -b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)37 b Fb(66)2025 1460 y Fe(show-all-if-ambiguous)29 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)50 b Fb(97)2025 1549 y Fe(show-all-if-unmodified)27 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)48 b Fb(98)2025 1789 y Fr(T)2025 1908 -y Fe(TEXTDOMAIN)25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)49 b Fb(7)2025 1996 y Fe(TEXTDOMAINDIR)21 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 -b Fb(7)2025 2085 y Fe(TIMEFORMAT)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(66)2025 1814 +y Fe(revert-all-at-newline)29 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)50 +b Fb(98)2025 2048 y Fr(S)2025 2165 y Fe(SECONDS)8 b Fc(.)14 +b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)34 b Fb(66)2025 2252 y Fe(SHELL)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(66)2025 2340 y Fe(SHELLOPTS)25 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(66)2025 2427 +y Fe(SHLVL)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(66)2025 2514 +y Fe(show-all-if-ambiguous)29 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)50 +b Fb(98)2025 2602 y Fe(show-all-if-unmodified)27 b Fc(.)13 +b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)48 b Fb(98)2025 2836 y Fr(T)2025 2952 y Fe(TEXTDOMAIN)25 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +49 b Fb(7)2025 3040 y Fe(TEXTDOMAINDIR)21 b Fc(.)13 b(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(7)2025 3127 y +Fe(TIMEFORMAT)24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)48 b Fb(66)2025 3214 y Fe(TMOUT)11 b Fc(.)i(.)g(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(66)2025 2174 -y Fe(TMOUT)11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(67)2025 3302 y Fe(TMPDIR)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b +Fb(67)2025 3536 y Fr(U)2025 3652 y Fe(UID)14 b Fc(.)f(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(67)2025 2262 -y Fe(TMPDIR)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 b Fb(67)2025 2502 y Fr(U)2025 -2621 y Fe(UID)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(67)2025 -2862 y Fr(V)2025 2980 y Fe(visible-stats)18 b Fc(.)d(.)d(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(98)150 3238 y Fr(D.4)68 -b(F)-11 b(unction)44 b(Index)150 3559 y(A)150 3679 y -Fe(abort)27 b(\(C-g\))8 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)34 b Fb(109)150 3769 y Fe(accept-line)28 -b(\(Newline)g(or)e(Return\))11 b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)37 b Fb(103)150 3858 y Fe(alias-expand-line)29 -b(\(\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(111)150 4121 y -Fr(B)150 4242 y Fe(backward-char)29 b(\(C-b\))15 b Fc(.)e(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) -g(.)41 b Fb(103)150 4331 y Fe(backward-delete-char)30 -b(\(Rubout\))18 b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)44 -b Fb(105)150 4420 y Fe(backward-kill-line)30 b(\(C-x)c(Rubout\))e -Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(106)150 -4510 y Fe(backward-kill-word)30 b(\(M-)999 4507 y Fg(h)p -1024 4454 146 4 v 1024 4510 a Ff(DEL)p 1024 4525 V 1165 -4507 a Fg(i)1195 4510 y Fe(\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)46 b Fb(106)150 4599 y Fe(backward-word)29 -b(\(M-b\))15 b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)41 b Fb(103)150 -4688 y Fe(beginning-of-history)30 b(\(M-<\))24 b Fc(.)12 -b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49 -b Fb(104)150 4778 y Fe(beginning-of-line)29 b(\(C-a\))9 -b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)35 b Fb(103)150 5041 y Fr(C)150 5161 y Fe -(call-last-kbd-macro)30 b(\(C-x)c(e\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 b Fb(109)150 5251 -y Fe(capitalize-word)29 b(\(M-c\))12 b Fc(.)h(.)g(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 -b Fb(105)150 5340 y Fe(character-search)29 b(\(C-]\))10 +f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)40 b Fb(67)2025 3886 y Fr(V)2025 4003 y Fe(visible-stats)18 +b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 +b Fb(98)150 4277 y Fr(D.4)68 b(F)-11 b(unction)44 b(Index)150 +4598 y(A)150 4729 y Fe(abort)27 b(\(C-g\))8 b Fc(.)13 +b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34 +b Fb(110)150 4824 y Fe(accept-line)28 b(\(Newline)g(or)e(Return\))11 +b Fc(.)i(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(104)150 +4918 y Fe(alias-expand-line)29 b(\(\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 +b Fb(112)150 5209 y Fr(B)150 5340 y Fe(backward-char)29 +b(\(C-b\))15 b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)41 b Fb(104)2025 +4598 y Fe(backward-delete-char)30 b(\(Rubout\))18 b Fc(.)c(.)f(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(106)2025 4690 +y Fe(backward-kill-line)29 b(\(C-x)e(Rubout\))d Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(107)2025 +4783 y Fe(backward-kill-word)29 b(\(M-)2873 4780 y Fg(h)p +2898 4727 146 4 v 2898 4783 a Ff(DEL)p 2898 4798 V 3040 +4780 a Fg(i)3070 4783 y Fe(\))20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)46 b Fb(107)2025 4875 y Fe(backward-word)28 +b(\(M-b\))15 b Fc(.)e(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)41 b Fb(104)2025 +4968 y Fe(beginning-of-history)30 b(\(M-<\))24 b Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)49 +b Fb(105)2025 5060 y Fe(beginning-of-line)29 b(\(C-a\))9 +b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)35 b Fb(104)2025 5340 y Fr(C)p eop end +%%Page: 153 159 +TeXDict begin 153 158 bop 150 -116 a Ft(App)s(endix)29 +b(D:)i(Indexes)2623 b(153)150 299 y Fe(call-last-kbd-macro)30 +b(\(C-x)c(e\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)36 b Fb(110)150 394 y Fe(capitalize-word)29 +b(\(M-c\))12 b Fc(.)h(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(106)150 490 y +Fe(character-search)29 b(\(C-]\))10 b Fc(.)k(.)e(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)36 b +Fb(110)150 586 y Fe(character-search-backward)31 b(\(M-C-]\))12 +b Fc(.)j(.)d(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(111)150 681 +y Fe(clear-screen)28 b(\(C-l\))16 b Fc(.)e(.)e(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 +b Fb(104)150 777 y Fe(complete)27 b(\()528 774 y Fg(h)p +553 721 148 4 v 553 777 a Ff(T)-6 b(AB)p 553 792 V 697 +774 a Fg(i)726 777 y Fe(\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +44 b Fb(108)150 872 y Fe(complete-command)29 b(\(M-!\))10 b Fc(.)k(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)36 b Fb(109)2025 3559 y Fe(character-search-backward)31 -b(\(M-C-]\))12 b Fc(.)i(.)f(.)f(.)g(.)h(.)f(.)g(.)39 -b Fb(109)2025 3651 y Fe(clear-screen)28 b(\(C-l\))16 -b Fc(.)e(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(103)2025 3743 y Fe(complete)27 -b(\()2403 3740 y Fg(h)p 2428 3687 148 4 v 2428 3743 a -Ff(T)-6 b(AB)p 2428 3758 V 2571 3740 a Fg(i)2601 3743 -y Fe(\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 -b Fb(107)2025 3835 y Fe(complete-command)29 b(\(M-!\))10 -b Fc(.)k(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)36 b Fb(108)2025 3927 y Fe(complete-filename)29 -b(\(M-/\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(108)2025 4019 y Fe(complete-hostname)29 -b(\(M-@\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(108)2025 4111 y Fe(complete-into-braces) -30 b(\(M-{\))24 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)49 b Fb(108)2025 4203 y Fe(complete-username)29 -b(\(M-~\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(108)2025 4294 y Fe(complete-variable)29 -b(\(M-$\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(108)2025 4386 y Fe(copy-backward-word)29 -b(\(\))12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)g(.)h(.)f(.)38 b Fb(106)2025 4478 y Fe -(copy-forward-word)29 b(\(\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 -b Fb(106)2025 4570 y Fe(copy-region-as-kill)30 b(\(\))10 -b Fc(.)j(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)36 b Fb(106)2025 4847 y Fr(D)2025 4972 y -Fe(delete-char)28 b(\(C-d\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 -b Fb(105)2025 5064 y Fe(delete-char-or-list)30 b(\(\))10 -b Fc(.)j(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)36 b Fb(108)2025 5156 y Fe(delete-horizontal-space)31 -b(\(\))23 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)49 b Fb(106)2025 5248 y Fe(digit-argument)29 b(\()p -Fd(M-0)p Fe(,)d Fd(M-1)p Fe(,)h(...)f Fd(M--)p Fe(\))13 -b Fc(.)h(.)e(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(107)2025 5340 -y Fe(display-shell-version)30 b(\(C-x)d(C-v\))c Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(110)p eop -end -%%Page: 152 158 -TeXDict begin 152 157 bop 150 -116 a Ft(152)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fe(do-uppercase-version)f(\(M-a,)d -(M-b,)f(M-)p Fd(x)p Fe(,)h(...)q(\))317 386 y Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)39 b Fb(109)150 473 y Fe(downcase-word)29 -b(\(M-l\))15 b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)41 b Fb(105)150 -561 y Fe(dump-functions)29 b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)43 b Fb(110)150 648 y Fe(dump-macros)28 b(\(\))22 -b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(110)150 -735 y Fe(dump-variables)29 b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)43 b Fb(110)150 822 y Fe(dynamic-complete-history)31 -b(\(M-)1234 819 y Fg(h)p 1259 766 148 4 v 1259 822 a -Ff(T)-6 b(AB)p 1259 838 V 1403 819 a Fg(i)1432 822 y -Fe(\))10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)36 b Fb(108)150 -1074 y Fr(E)150 1191 y Fe(edit-and-execute-command)31 -b(\(C-xC-e\))12 b Fc(.)j(.)d(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(111)150 1278 y Fe(end-kbd-macro)29 b(\(C-x)d(\)\))19 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)44 b Fb(109)150 1365 y Fe(end-of-history)29 -b(\(M->\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(104)150 1452 -y Fe(end-of-line)28 b(\(C-e\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 -b Fb(103)150 1540 y Fe(exchange-point-and-mark)31 b(\(C-x)26 -b(C-x\))21 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)45 b -Fb(109)150 1792 y Fr(F)150 1908 y Fe(forward-backward-delete-char)32 +g(.)g(.)h(.)36 b Fb(109)150 968 y Fe(complete-filename)29 +b(\(M-/\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(109)150 1063 y Fe(complete-hostname)29 +b(\(M-@\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(109)150 1159 y Fe(complete-into-braces) +30 b(\(M-{\))24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)49 b Fb(109)150 1255 y Fe(complete-username)29 +b(\(M-~\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(109)150 1350 y Fe(complete-variable)29 +b(\(M-$\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(109)150 1446 y Fe(copy-backward-word)30 +b(\(\))12 b Fc(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(107)150 1541 y Fe(copy-forward-word) +29 b(\(\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(107)150 1637 +y Fe(copy-region-as-kill)30 b(\(\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)36 +b Fb(107)150 1932 y Fr(D)150 2066 y Fe(dabbrev-expand)29 +b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(109)150 +2161 y Fe(delete-char)28 b(\(C-d\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)43 b Fb(106)150 2257 y Fe(delete-char-or-list)30 +b(\(\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)g(.)h(.)36 b Fb(109)150 2352 y Fe +(delete-horizontal-space)31 b(\(\))23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)49 b Fb(107)150 2448 +y Fe(digit-argument)29 b(\()p Fd(M-0)p Fe(,)e Fd(M-1)p +Fe(,)f(...)g Fd(M--)p Fe(\))13 b Fc(.)h(.)e(.)h(.)f(.)g(.)g(.)h(.)39 +b Fb(108)150 2543 y Fe(display-shell-version)30 b(\(C-x)d(C-v\))c +Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(111)150 +2639 y Fe(do-uppercase-version)30 b(\(M-a,)d(M-b,)f(M-)p +Fd(x)p Fe(,)h(...)q(\))317 2726 y Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 +b Fb(110)150 2822 y Fe(downcase-word)29 b(\(M-l\))15 +b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)g(.)h(.)f(.)g(.)41 b Fb(106)150 2917 y Fe(dump-functions)29 +b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(111)150 +3013 y Fe(dump-macros)28 b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)48 b Fb(111)150 3108 y Fe(dump-variables)29 +b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(111)150 +3204 y Fe(dynamic-complete-history)31 b(\(M-)1234 3201 +y Fg(h)p 1259 3148 V 1259 3204 a Ff(T)-6 b(AB)p 1259 +3219 V 1403 3201 a Fg(i)1432 3204 y Fe(\))10 b Fc(.)j(.)g(.)f(.)g(.)h +(.)f(.)36 b Fb(109)150 3500 y Fr(E)150 3633 y Fe +(edit-and-execute-command)31 b(\(C-xC-e\))12 b Fc(.)j(.)d(.)g(.)h(.)f +(.)g(.)h(.)38 b Fb(112)150 3728 y Fe(end-kbd-macro)29 +b(\(C-x)d(\)\))19 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(110)150 +3824 y Fe(end-of-history)29 b(\(M->\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 +b Fb(105)150 3919 y Fe(end-of-line)28 b(\(C-e\))18 b +Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(104)150 4015 +y Fe(exchange-point-and-mark)31 b(\(C-x)26 b(C-x\))21 +b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)45 b Fb(110)150 +4311 y Fr(F)150 4444 y Fe(forward-backward-delete-char)32 b(\(\))15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)41 -b Fb(105)150 1995 y Fe(forward-char)28 b(\(C-f\))16 b +b Fb(106)150 4539 y Fe(forward-char)28 b(\(C-f\))16 b Fc(.)e(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(103)150 2082 y Fe +(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(104)150 4635 y Fe (forward-search-history)31 b(\(C-s\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)46 b Fb(104)150 2170 y Fe(forward-word)28 +(.)h(.)f(.)g(.)h(.)f(.)g(.)46 b Fb(105)150 4730 y Fe(forward-word)28 b(\(M-f\))16 b Fc(.)e(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(103)150 -2411 y Fr(G)150 2527 y Fe(glob-complete-word)30 b(\(M-g\))7 +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(104)150 +5016 y Fr(G)150 5149 y Fe(glob-complete-word)30 b(\(M-g\))7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)33 b Fb(110)150 2615 y Fe(glob-expand-word)c(\(C-x)e(*\))14 +(.)h(.)33 b Fb(111)150 5244 y Fe(glob-expand-word)c(\(C-x)e(*\))14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)40 b Fb(110)150 2702 y Fe(glob-list-expansions)30 +f(.)40 b Fb(111)150 5340 y Fe(glob-list-expansions)30 b(\(C-x)d(g\))8 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)34 b Fb(110)150 2954 y Fr(H)150 3070 y Fe -(history-and-alias-expand-line)e(\(\))14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h -(.)f(.)g(.)40 b Fb(111)150 3157 y Fe(history-expand-line)30 -b(\(M-^\))25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)50 b Fb(110)150 3245 y Fe(history-search-backward)31 -b(\(\))23 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)49 b Fb(104)150 3332 y Fe(history-search-forward)31 -b(\(\))24 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)50 b Fb(104)150 3584 y Fr(I)150 3700 y Fe(insert-comment)29 -b(\(M-#\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(110)150 3787 -y Fe(insert-completions)30 b(\(M-*\))7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)33 b Fb(107)150 -3875 y Fe(insert-last-argument)d(\(M-.)d(or)f(M-_\))8 -b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)34 b Fb(111)150 -4127 y Fr(K)150 4243 y Fe(kill-line)28 b(\(C-k\))21 b -Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(106)150 -4330 y Fe(kill-region)28 b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)48 b Fb(106)150 4417 y Fe(kill-whole-line)29 -b(\(\))16 b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(106)150 -4504 y Fe(kill-word)28 b(\(M-d\))21 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h +(.)h(.)34 b Fb(111)2025 299 y Fr(H)2025 431 y Fe +(history-and-alias-expand-line)e(\(\))14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)40 b Fb(112)2025 526 y Fe(history-expand-line)30 +b(\(M-^\))25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)50 b Fb(112)2025 621 y Fe(history-search-backward)31 +b(\(\))23 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)49 b Fb(105)2025 716 y Fe(history-search-forward)30 +b(\(\))25 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f +(.)g(.)h(.)50 b Fb(105)2025 1008 y Fr(I)2025 1140 y Fe(insert-comment) +29 b(\(M-#\))13 b Fc(.)g(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(111)2025 +1235 y Fe(insert-completions)29 b(\(M-*\))7 b Fc(.)14 +b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)34 +b Fb(108)2025 1330 y Fe(insert-last-argument)c(\(M-.)c(or)g(M-_\))8 +b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)34 b Fb(112)2025 +1622 y Fr(K)2025 1754 y Fe(kill-line)27 b(\(C-k\))22 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(107)2025 +1849 y Fe(kill-region)28 b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)46 b Fb(106)150 4746 y Fr(M)150 4862 y Fe(magic-space)28 -b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 -b Fb(111)150 4950 y Fe(menu-complete)29 b(\(\))19 b Fc(.)12 -b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(107)150 5202 y -Fr(N)150 5318 y Fe(next-history)28 b(\(C-n\))16 b Fc(.)e(.)e(.)h(.)f(.) -g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)42 b Fb(104)150 5405 y Fe(non-incremental-forward-searc)q(h-hi)q -(story)32 b(\(M-n\))317 5492 y Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 -b Fb(104)150 5579 y Fe(non-incremental-reverse-searc)q(h-hi)q(story)32 -b(\(M-p\))317 5667 y Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +g(.)h(.)f(.)48 b Fb(107)2025 1944 y Fe(kill-whole-line)29 +b(\(\))16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(107)2025 +2039 y Fe(kill-word)27 b(\(M-d\))22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(104)2025 -299 y Fr(O)2025 431 y Fe(operate-and-get-next)30 b(\(C-o\))24 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)49 -b Fb(111)2025 526 y Fe(overwrite-mode)29 b(\(\))18 b +f(.)g(.)47 b Fb(107)2025 2321 y Fr(M)2025 2453 y Fe(magic-space)28 +b(\(\))22 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 +b Fb(112)2025 2548 y Fe(menu-complete)28 b(\(\))20 b +Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(108)2025 +2840 y Fr(N)2025 2972 y Fe(next-history)28 b(\(C-n\))16 +b Fc(.)e(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(105)2025 3067 y Fe +(non-incremental-forward-search)q(-hist)q(ory)32 b(\(M-n\))2191 +3154 y Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(105)2025 3249 y Fe +(non-incremental-reverse-search)q(-hist)q(ory)32 b(\(M-p\))2191 +3337 y Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(105)2025 3610 y Fr(O)2025 +3742 y Fe(operate-and-get-next)30 b(\(C-o\))24 b Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)49 +b Fb(112)2025 3837 y Fe(overwrite-mode)29 b(\(\))18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 b Fb(105)2025 810 -y Fr(P)2025 942 y Fe(possible-command-completions)32 -b(\(C-x)26 b(!\))15 b Fc(.)e(.)f(.)h(.)f(.)41 b Fb(108)2025 -1037 y Fe(possible-completions)30 b(\(M-?\))24 b Fc(.)12 +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 b Fb(106)2025 4119 +y Fr(P)2025 4251 y Fe(possible-command-completions)32 +b(\(C-x)26 b(!\))15 b Fc(.)e(.)f(.)h(.)f(.)41 b Fb(109)2025 +4346 y Fe(possible-completions)30 b(\(M-?\))24 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)49 -b Fb(107)2025 1132 y Fe(possible-filename-completions)32 -b(\(C-x)26 b(/\))14 b Fc(.)f(.)f(.)g(.)40 b Fb(108)2025 -1228 y Fe(possible-hostname-completions)32 b(\(C-x)26 -b(@\))14 b Fc(.)f(.)f(.)g(.)40 b Fb(108)2025 1323 y Fe +b Fb(108)2025 4441 y Fe(possible-filename-completions)32 +b(\(C-x)26 b(/\))14 b Fc(.)f(.)f(.)g(.)40 b Fb(109)2025 +4536 y Fe(possible-hostname-completions)32 b(\(C-x)26 +b(@\))14 b Fc(.)f(.)f(.)g(.)40 b Fb(109)2025 4631 y Fe (possible-username-completions)32 b(\(C-x)26 b(~\))14 -b Fc(.)f(.)f(.)g(.)40 b Fb(108)2025 1418 y Fe +b Fc(.)f(.)f(.)g(.)40 b Fb(109)2025 4726 y Fe (possible-variable-completions)32 b(\(C-x)26 b($\))14 -b Fc(.)f(.)f(.)g(.)40 b Fb(108)2025 1513 y Fe(prefix-meta)28 -b(\()2521 1510 y Fg(h)p 2545 1457 139 4 v 2545 1513 a -Ff(ESC)p 2545 1529 V 2679 1510 a Fg(i)2709 1513 y Fe(\))19 +b Fc(.)f(.)f(.)g(.)40 b Fb(109)2025 4821 y Fe(prefix-meta)28 +b(\()2521 4818 y Fg(h)p 2545 4765 139 4 v 2545 4821 a +Ff(ESC)p 2545 4836 V 2679 4818 a Fg(i)2709 4821 y Fe(\))19 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(109)2025 1608 y Fe(previous-history) +(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(110)2025 4916 y Fe(previous-history) 29 b(\(C-p\))10 b Fc(.)k(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(104)2025 1902 y Fr(Q)2025 -2034 y Fe(quoted-insert)28 b(\(C-q)f(or)f(C-v\))18 b +h(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(105)2025 5208 y Fr(Q)2025 +5340 y Fe(quoted-insert)28 b(\(C-q)f(or)f(C-v\))18 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 -b Fb(105)2025 2328 y Fr(R)2025 2460 y Fe(re-read-init-file)29 -b(\(C-x)e(C-r\))10 b Fc(.)j(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)36 b Fb(109)2025 2556 y Fe(redraw-current-line)30 -b(\(\))10 b Fc(.)j(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(103)2025 2651 y Fe -(reverse-search-history)30 b(\(C-r\))21 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)g(.)h(.)f(.)46 b Fb(104)2025 2746 y Fe(revert-line)28 -b(\(M-r\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 b -Fb(109)2025 3029 y Fr(S)2025 3162 y Fe(self-insert)28 -b(\(a,)e(b,)g(A,)g(1,)g(!,)g(...)q(\))12 b Fc(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)38 b Fb(105)2025 3257 y Fe(set-mark)27 -b(\(C-@\))c Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 -b Fb(109)2025 3352 y Fe(shell-expand-line)29 b(\(M-C-e\))d -Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)50 -b Fb(110)2025 3447 y Fe(start-kbd-macro)29 b(\(C-x)d(\(\))16 -b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)42 b Fb(108)2025 3730 y Fr(T)2025 3863 y Fe(tilde-expand)28 -b(\(M-&\))16 b Fc(.)e(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(109)2025 -3958 y Fe(transpose-chars)29 b(\(C-t\))12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)38 -b Fb(105)2025 4053 y Fe(transpose-words)29 b(\(M-t\))12 +b Fb(106)p eop end +%%Page: 154 160 +TeXDict begin 154 159 bop 150 -116 a Ft(154)2527 b(Bash)31 +b(Reference)g(Man)m(ual)150 299 y Fr(R)150 415 y Fe(re-read-init-file)e +(\(C-x)e(C-r\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)36 b Fb(110)150 503 y Fe(redraw-current-line)30 +b(\(\))10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)g(.)h(.)36 b Fb(104)150 590 y Fe(reverse-search-history) +31 b(\(C-r\))20 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)46 b Fb(105)150 677 y Fe(revert-line)28 b(\(M-r\))18 +b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(110)150 919 +y Fr(S)150 1036 y Fe(self-insert)28 b(\(a,)e(b,)g(A,)g(1,)h(!,)f(...\)) +12 b Fc(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 +b Fb(106)150 1123 y Fe(set-mark)27 b(\(C-@\))c Fc(.)13 +b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(110)150 +1210 y Fe(shell-expand-line)29 b(\(M-C-e\))d Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)50 +b Fb(111)150 1298 y Fe(start-kbd-macro)29 b(\(C-x)e(\(\))16 +b Fc(.)c(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)42 b Fb(110)150 1540 y Fr(T)150 1656 y Fe(tilde-expand)28 +b(\(M-&\))16 b Fc(.)e(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(110)150 +1743 y Fe(transpose-chars)29 b(\(C-t\))12 b Fc(.)h(.)g(.)f(.)g(.)h(.)f +(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 +b Fb(106)2025 299 y Fe(transpose-words)29 b(\(M-t\))12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)f(.)38 b Fb(105)2025 4347 y Fr(U)2025 4479 +g(.)g(.)h(.)f(.)38 b Fb(106)2025 553 y Fr(U)2025 670 y Fe(undo)26 b(\(C-_)h(or)f(C-x)g(C-u\))14 b Fc(.)f(.)g(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)40 -b Fb(109)2025 4574 y Fe(universal-argument)29 b(\(\))12 +b Fb(110)2025 758 y Fe(universal-argument)29 b(\(\))12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)f(.)38 b Fb(107)2025 4669 y Fe(unix-filename-rubout)30 +g(.)g(.)h(.)f(.)38 b Fb(108)2025 846 y Fe(unix-filename-rubout)30 b(\(\))9 b Fc(.)k(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)35 b Fb(106)2025 4765 y Fe(unix-line-discard)29 +(.)f(.)g(.)h(.)f(.)35 b Fb(107)2025 933 y Fe(unix-line-discard)29 b(\(C-u\))9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(106)2025 4860 y Fe(unix-word-rubout)29 +(.)h(.)f(.)g(.)h(.)f(.)35 b Fb(107)2025 1021 y Fe(unix-word-rubout)29 b(\(C-w\))10 b Fc(.)k(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(106)2025 4955 y Fe(upcase-word)28 +(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(107)2025 1109 y Fe(upcase-word)28 b(\(M-u\))18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 b -Fb(105)2025 5249 y Fr(Y)2025 5381 y Fe(yank)26 b(\(C-y\))10 +Fb(106)2025 1363 y Fr(Y)2025 1480 y Fe(yank)26 b(\(C-y\))10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 -b Fb(107)2025 5476 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))18 +b Fb(108)2025 1568 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))18 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -44 b Fb(104)2025 5571 y Fe(yank-nth-arg)28 b(\(M-C-y\))13 +44 b Fb(105)2025 1656 y Fe(yank-nth-arg)28 b(\(M-C-y\))13 b Fc(.)h(.)f(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)39 b Fb(104)2025 5667 y Fe(yank-pop)27 +g(.)h(.)f(.)g(.)h(.)39 b Fb(105)2025 1743 y Fe(yank-pop)27 b(\(M-y\))c Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)48 -b Fb(107)p eop end -%%Page: 153 159 -TeXDict begin 153 158 bop 150 -116 a Ft(App)s(endix)29 -b(D:)i(Indexes)2623 b(153)150 299 y Fr(D.5)68 b(Concept)45 -b(Index)150 643 y(A)150 762 y Fb(alias)27 b(expansion)20 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 -b Fb(77)150 850 y(arithmetic)26 b(ev)l(aluation)f Fc(.)12 -b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)50 b Fb(76)150 939 y(arithmetic)26 -b(expansion)12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(22)150 -1027 y(arithmetic,)27 b(shell)20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)45 b Fb(76)150 1116 y(arra)n(ys)6 b Fc(.)13 -b(.)g(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)32 b Fb(78)150 1372 y Fr(B)150 1490 y Fb(bac)n(kground)23 +b Fb(108)150 2001 y Fr(D.5)68 b(Concept)45 b(Index)150 +2345 y(A)150 2465 y Fb(alias)27 b(expansion)20 b Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(77)150 +2554 y(arithmetic)26 b(ev)l(aluation)f Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)50 +b Fb(76)150 2643 y(arithmetic)26 b(expansion)12 b Fc(.)h(.)f(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)38 b Fb(22)150 2732 y(arithmetic,)27 b(shell)20 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 +b Fb(76)150 2821 y(arra)n(ys)6 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)32 +b Fb(78)150 3080 y Fr(B)150 3199 y Fb(bac)n(kground)23 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)49 -b Fb(87)150 1579 y(Bash)26 b(con\014guration)11 b Fc(.)i(.)f(.)g(.)h(.) +b Fb(87)150 3288 y(Bash)26 b(con\014guration)11 b Fc(.)i(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)36 b Fb(123)150 1667 y(Bash)26 b(installation)6 +(.)f(.)g(.)h(.)36 b Fb(125)150 3377 y(Bash)26 b(installation)6 b Fc(.)15 b(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)32 b Fb(123)150 -1756 y(Bourne)26 b(shell)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)32 b Fb(125)150 +3466 y(Bourne)26 b(shell)10 b Fc(.)j(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(5)150 1844 y(brace)26 +(.)f(.)g(.)h(.)f(.)g(.)h(.)36 b Fb(5)150 3555 y(brace)26 b(expansion)d Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)48 -b Fb(17)150 1933 y(builtin)17 b Fc(.)c(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +b Fb(18)150 3644 y(builtin)17 b Fc(.)c(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b -Fb(3)150 2172 y Fr(C)150 2291 y Fb(command)26 b(editing)19 +Fb(3)150 3886 y Fr(C)150 4006 y Fb(command)26 b(editing)19 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(91)150 -2379 y(command)26 b(execution)11 b Fc(.)h(.)h(.)f(.)g(.)h(.)f(.)g(.)h +4095 y(command)26 b(execution)11 b Fc(.)h(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -37 b Fb(29)150 2468 y(command)26 b(expansion)d Fc(.)12 +37 b Fb(30)150 4184 y(command)26 b(expansion)d Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(28)150 2556 y(command)26 +(.)f(.)g(.)h(.)f(.)g(.)h(.)48 b Fb(29)150 4272 y(command)26 b(history)16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 -b Fb(117)150 2645 y(command)26 b(searc)n(h)12 b Fc(.)h(.)f(.)g(.)h(.)f +b Fb(119)150 4361 y(command)26 b(searc)n(h)12 b Fc(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)g(.)38 b Fb(29)150 2733 y(command)26 +f(.)g(.)h(.)f(.)g(.)g(.)38 b Fb(30)150 4450 y(command)26 b(substitution)e Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)49 b Fb(21)150 -2822 y(command)26 b(timing)8 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)49 b Fb(22)150 +4539 y(command)26 b(timing)8 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)34 b Fb(8)150 2910 y(commands,)26 b(comp)r(ound)8 +(.)g(.)h(.)f(.)34 b Fb(8)150 4628 y(commands,)26 b(comp)r(ound)8 b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34 b Fb(9)150 2998 +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34 b Fb(9)150 4717 y(commands,)26 b(conditional)13 b Fc(.)h(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)39 -b Fb(10)150 3087 y(commands,)26 b(grouping)15 b Fc(.)f(.)e(.)g(.)h(.)f +b Fb(10)150 4806 y(commands,)26 b(grouping)15 b Fc(.)f(.)e(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.) -h(.)f(.)41 b Fb(13)150 3175 y(commands,)26 b(lists)6 +h(.)f(.)41 b Fb(13)150 4895 y(commands,)26 b(lists)6 b Fc(.)14 b(.)f(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 -b Fb(9)150 3264 y(commands,)26 b(lo)r(oping)f Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(9)150 3352 -y(commands,)26 b(pip)r(elines)17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -43 b Fb(8)150 3441 y(commands,)26 b(shell)16 b Fc(.)e(.)e(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(8)150 3529 y(commands,)26 +b Fb(9)150 4984 y(commands,)26 b(lo)r(oping)e Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(10)150 5073 y(commands,)26 +b(pip)r(elines)17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 +b Fb(8)150 5162 y(commands,)26 b(shell)16 b Fc(.)e(.)e(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)g(.)h(.)f(.)g(.)h(.)42 b Fb(8)150 5251 y(commands,)26 b(simple)c Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 -b Fb(8)150 3618 y(commen)n(ts,)26 b(shell)8 b Fc(.)13 +b Fb(8)150 5340 y(commen)n(ts,)26 b(shell)8 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 -b Fb(7)150 3706 y(completion)27 b(builtins)22 b Fc(.)12 -b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(113)150 3795 y(con\014guration)15 -b Fc(.)e(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)41 -b Fb(123)150 3883 y(con)n(trol)26 b(op)r(erator)c Fc(.)12 -b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(3)150 -4139 y Fr(D)150 4258 y Fb(directory)26 b(stac)n(k)e Fc(.)12 -b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(79)150 -4514 y Fr(E)150 4632 y Fb(editing)26 b(command)g(lines)d -Fc(.)12 b(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(91)150 4721 y(en)n(vironmen)n(t)10 -b Fc(.)i(.)g(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35 -b Fb(31)150 4809 y(ev)l(aluation,)26 b(arithmetic)13 -b Fc(.)h(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)39 b Fb(76)150 4898 y(ev)n(en)n(t)25 -b(designators)18 b Fc(.)c(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44 -b Fb(120)150 4986 y(execution)26 b(en)n(vironmen)n(t)19 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(30)150 5075 y(exit)25 -b(status)17 b Fc(.)c(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)43 b Fb(3,)26 b(31)150 5163 y(expansion)16 b Fc(.)d(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b -Fb(17)150 5252 y(expansion,)26 b(arithmetic)20 b Fc(.)13 -b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(22)150 5340 y(expansion,)26 -b(brace)12 b Fc(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)38 -b Fb(17)2025 643 y(expansion,)26 b(\014lename)18 b Fc(.)12 +b Fb(7)2025 2345 y(completion)26 b(builtins)c Fc(.)13 +b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(114)2025 2436 y(con\014guration)15 +b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)42 +b Fb(125)2025 2527 y(con)n(trol)26 b(op)r(erator)c Fc(.)12 +b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)47 b Fb(3)2025 +2796 y Fr(D)2025 2919 y Fb(directory)26 b(stac)n(k)d +Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)49 +b Fb(79)2025 3188 y Fr(E)2025 3312 y Fb(editing)26 b(command)g(lines)c +Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)48 b Fb(91)2025 3403 y(en)n(vironmen)n(t)10 +b Fc(.)h(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 +b Fb(31)2025 3494 y(ev)l(aluation,)26 b(arithmetic)13 +b Fc(.)h(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)39 b Fb(76)2025 3584 y(ev)n(en)n(t)24 +b(designators)18 b Fc(.)d(.)d(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 +b Fb(122)2025 3675 y(execution)25 b(en)n(vironmen)n(t)19 +b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)46 b Fb(30)2025 3766 y(exit)25 +b(status)17 b Fc(.)c(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h +(.)43 b Fb(3,)26 b(32)2025 3857 y(expansion)16 b Fc(.)c(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b +Fb(17)2025 3948 y(expansion,)26 b(arithmetic)20 b Fc(.)13 +b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(22)2025 4039 y(expansion,)26 +b(brace)12 b Fc(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 +b Fb(18)2025 4130 y(expansion,)26 b(\014lename)18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(23)2025 734 y(expansion,)26 +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)43 b Fb(23)2025 4221 y(expansion,)26 b(parameter)c Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)47 b Fb(19)2025 -824 y(expansion,)26 b(pathname)8 b Fc(.)k(.)g(.)h(.)f(.)g(.)h(.)f(.)g +4311 y(expansion,)26 b(pathname)8 b Fc(.)k(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)34 -b Fb(23)2025 915 y(expansion,)26 b(tilde)9 b Fc(.)j(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(18)2025 1005 y(expressions,)27 +b Fb(23)2025 4402 y(expansion,)26 b(tilde)9 b Fc(.)j(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(18)2025 4493 y(expressions,)27 b(arithmetic)16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b Fb(76)2025 -1096 y(expressions,)27 b(conditional)22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f +4584 y(expressions,)27 b(conditional)22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)47 -b Fb(75)2025 1362 y Fr(F)2025 1485 y Fb(\014eld)21 b +b Fb(75)2025 4853 y Fr(F)2025 4976 y Fb(\014eld)21 b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(3)2025 1575 y(\014lename)8 +g(.)g(.)h(.)f(.)g(.)h(.)f(.)48 b Fb(3)2025 5067 y(\014lename)8 b Fc(.)k(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)34 b Fb(3)2025 1666 y(\014lename)26 b(expansion)10 +(.)g(.)h(.)f(.)34 b Fb(3)2025 5158 y(\014lename)26 b(expansion)10 b Fc(.)i(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)36 b Fb(23)2025 -1756 y(foreground)20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +5249 y(foreground)20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(87)2025 1846 y(functions,)26 +(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(87)2025 5340 y(functions,)26 b(shell)c Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)47 -b Fb(14)2025 2113 y Fr(H)2025 2235 y Fb(history)25 b(builtins)16 -b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)42 b -Fb(117)2025 2326 y(history)25 b(ev)n(en)n(ts)20 b Fc(.)13 -b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(120)2025 -2416 y(history)25 b(expansion)13 b Fc(.)g(.)f(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)39 b Fb(119)2025 2507 y(history)25 b(list)18 b Fc(.)c(.)e(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(117)2025 -2597 y(History)-6 b(,)25 b(ho)n(w)h(to)g(use)20 b Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)g(.)h(.)f(.)g(.)46 b Fb(116)2025 2864 y Fr(I)2025 -2986 y Fb(iden)n(ti\014er)16 b Fc(.)c(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)43 b Fb(3)2025 -3077 y(initialization)28 b(\014le,)e(readline)7 b Fc(.)13 -b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)33 b Fb(94)2025 3167 y(installation)11 b Fc(.)j(.)e(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)37 b Fb(123)2025 -3258 y(in)n(teraction,)26 b(readline)9 b Fc(.)14 b(.)e(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)35 b Fb(91)2025 3348 y(in)n(teractiv)n(e)26 b(shell)20 -b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(71,)27 -b(73)2025 3438 y(in)n(ternationalization)21 b Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)45 b Fb(7)2025 3688 -y Fr(J)2025 3811 y Fb(job)22 b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +b Fb(14)p eop end +%%Page: 155 161 +TeXDict begin 155 160 bop 150 -116 a Ft(App)s(endix)29 +b(D:)i(Indexes)2623 b(155)150 299 y Fr(H)150 415 y Fb(history)26 +b(builtins)16 b Fc(.)c(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 +b Fb(119)150 503 y(history)26 b(ev)n(en)n(ts)19 b Fc(.)13 +b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)46 b Fb(122)150 +590 y(history)26 b(expansion)13 b Fc(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)48 -b Fb(3)2025 3901 y(job)26 b(con)n(trol)12 b Fc(.)h(.)f(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)38 b Fb(3,)26 b(87)2025 -4168 y Fr(K)2025 4290 y Fb(kill)g(ring)14 b Fc(.)f(.)f(.)g(.)h(.)f(.)g +(.)39 b Fb(121)150 678 y(history)26 b(list)18 b Fc(.)13 +b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44 +b Fb(119)150 765 y(History)-6 b(,)26 b(ho)n(w)g(to)f(use)20 +b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(117)150 1016 +y Fr(I)150 1132 y Fb(iden)n(ti\014er)16 b Fc(.)c(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)42 +b Fb(3)150 1219 y(initialization)28 b(\014le,)e(readline)7 +b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)33 b Fb(94)150 1307 y(installation)11 +b Fc(.)j(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 +b Fb(125)150 1394 y(in)n(teraction,)27 b(readline)9 b +Fc(.)k(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)35 b Fb(91)150 1482 +y(in)n(teractiv)n(e)26 b(shell)20 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)40 -b Fb(93)2025 4381 y(killing)26 b(text)16 b Fc(.)c(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)42 b Fb(93)2025 -4647 y Fr(L)2025 4770 y Fb(lo)r(calization)10 b Fc(.)15 -b(.)d(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)36 -b Fb(7)2025 4860 y(login)26 b(shell)13 b Fc(.)h(.)e(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)39 b Fb(71)2025 -5127 y Fr(M)2025 5250 y Fb(matc)n(hing,)26 b(pattern)7 -b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)33 b Fb(24)2025 -5340 y(metac)n(haracter)17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)44 b Fb(3)p eop end -%%Page: 154 160 -TeXDict begin 154 159 bop 150 -116 a Ft(154)2527 b(Bash)31 -b(Reference)g(Man)m(ual)150 299 y Fr(N)150 417 y Fb(name)21 +g(.)46 b Fb(71,)26 b(73)150 1569 y(in)n(ternationalization)21 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 b Fb(7)150 +1803 y Fr(J)150 1919 y Fb(job)22 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)48 +b Fb(3)150 2007 y(job)26 b(con)n(trol)12 b Fc(.)h(.)g(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(3)150 506 y(nativ)n(e)25 -b(languages)14 b Fc(.)h(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 -b Fb(7)150 594 y(notation,)27 b(readline)12 b Fc(.)h(.)f(.)h(.)f(.)g(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)38 b Fb(91)150 851 y Fr(O)150 969 -y Fb(op)r(erator,)27 b(shell)15 b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)38 b Fb(3,)26 b(87)150 +2257 y Fr(K)150 2374 y Fb(kill)g(ring)14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 +b Fb(93)150 2461 y(killing)27 b(text)16 b Fc(.)c(.)g(.)g(.)h(.)f(.)g(.) h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)41 b Fb(3)150 1225 y Fr(P)150 -1344 y Fb(parameter)26 b(expansion)14 b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -40 b Fb(19)150 1432 y(parameters)14 b Fc(.)f(.)g(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(15)150 1521 -y(parameters,)27 b(p)r(ositional)9 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34 -b Fb(15)150 1609 y(parameters,)27 b(sp)r(ecial)e Fc(.)12 -b(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 b Fb(16)150 1698 y(pathname)25 -b(expansion)19 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)44 -b Fb(23)150 1786 y(pattern)25 b(matc)n(hing)18 b Fc(.)13 -b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 b Fb(24)150 -1875 y(pip)r(eline)15 b Fc(.)e(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b Fb(93)150 +2712 y Fr(L)150 2828 y Fb(lo)r(calization)10 b Fc(.)15 +b(.)e(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)36 +b Fb(7)150 2916 y(login)27 b(shell)13 b Fc(.)g(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)39 b Fb(71)150 +3166 y Fr(M)150 3283 y Fb(matc)n(hing,)26 b(pattern)7 +b Fc(.)12 b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(24)150 +3370 y(metac)n(haracter)17 b Fc(.)d(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)43 b Fb(3)150 3604 y Fr(N)150 3721 y +Fb(name)21 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)47 b Fb(3)150 3808 +y(nativ)n(e)25 b(languages)14 b Fc(.)h(.)d(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)41 b Fb(8)150 1963 -y(POSIX)8 b Fc(.)k(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)h(.)34 b Fb(3)150 2052 y(POSIX)25 -b(Mo)r(de)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +f(.)g(.)h(.)40 b Fb(7)150 3895 y(notation,)27 b(readline)12 +b Fc(.)h(.)f(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(91)150 +4146 y Fr(O)150 4262 y Fb(op)r(erator,)27 b(shell)15 +b Fc(.)e(.)g(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)41 +b Fb(3)150 4513 y Fr(P)150 4629 y Fb(parameter)26 b(expansion)14 +b Fc(.)f(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)40 b Fb(19)150 4717 y(parameters)14 +b Fc(.)f(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 +b Fb(15)150 4804 y(parameters,)27 b(p)r(ositional)9 b +Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)34 b Fb(16)150 4892 y(parameters,)27 +b(sp)r(ecial)e Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)49 +b Fb(16)150 4979 y(pathname)25 b(expansion)19 b Fc(.)12 +b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)44 b Fb(23)150 5067 y(pattern)25 +b(matc)n(hing)18 b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 +b Fb(24)2025 299 y(pip)r(eline)15 b Fc(.)e(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)35 b Fb(82)150 2140 y(pro)r(cess)27 b(group)7 b Fc(.)13 -b(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)33 -b Fb(3)150 2229 y(pro)r(cess)27 b(group)e(ID)f Fc(.)12 -b(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)50 b Fb(3)150 -2317 y(pro)r(cess)27 b(substitution)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.) -f(.)36 b Fb(22)150 2406 y(programmable)27 b(completion)16 -b Fc(.)d(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)42 b Fb(111)150 2494 y(prompting)7 b Fc(.)12 -b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 -b Fb(81)150 2750 y Fr(Q)150 2869 y Fb(quoting)19 b Fc(.)13 -b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)46 b Fb(6)150 2957 y(quoting,)26 b(ANSI)12 b -Fc(.)f(.)h(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)38 -b Fb(6)150 3213 y Fr(R)150 3332 y Fb(Readline,)26 b(ho)n(w)g(to)g(use) -14 b Fc(.)e(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)39 b Fb(90)150 3421 -y(redirection)21 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)46 b Fb(25)2025 299 y(reserv)n(ed)25 +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)42 b +Fb(8)2025 387 y(POSIX)8 b Fc(.)j(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)35 b Fb(3)2025 +474 y(POSIX)24 b(Mo)r(de)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)35 b Fb(82)2025 562 y(pro)r(cess)26 +b(group)7 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)34 b Fb(3)2025 650 y(pro)r(cess)26 b(group)g(ID)e +Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)50 +b Fb(3)2025 738 y(pro)r(cess)26 b(substitution)10 b Fc(.)j(.)f(.)h(.)f +(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)36 b Fb(22)2025 826 y(programmable)27 +b(completion)16 b Fc(.)d(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)42 b Fb(112)2025 913 y(prompting)7 +b Fc(.)12 b(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h +(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)32 b Fb(81)2025 1166 y Fr(Q)2025 1283 y Fb(quoting)19 +b Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)46 b Fb(6)2025 1371 y(quoting,)26 b(ANSI)12 +b Fc(.)f(.)h(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)39 +b Fb(6)2025 1624 y Fr(R)2025 1741 y Fb(Readline,)26 b(ho)n(w)g(to)g +(use)14 b Fc(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)40 b Fb(90)2025 +1829 y(redirection)21 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.) +f(.)g(.)h(.)f(.)g(.)h(.)46 b Fb(25)2025 1917 y(reserv)n(ed)25 b(w)n(ord)f Fc(.)13 b(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)50 b Fb(3)2025 386 y(restricted)26 b(shell)8 b Fc(.)13 +g(.)50 b Fb(3)2025 2004 y(restricted)26 b(shell)8 b Fc(.)13 b(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)34 -b Fb(82)2025 473 y(return)25 b(status)19 b Fc(.)13 b(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(3)2025 -707 y Fr(S)2025 823 y Fb(shell)26 b(arithmetic)12 b Fc(.)h(.)g(.)f(.)g +b Fb(82)2025 2092 y(return)25 b(status)19 b Fc(.)13 b(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45 b Fb(3)2025 +2328 y Fr(S)2025 2446 y Fb(shell)26 b(arithmetic)12 b +Fc(.)h(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 +b Fb(76)2025 2533 y(shell)26 b(function)11 b Fc(.)i(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) -f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)38 b Fb(76)2025 910 y(shell)26 -b(function)11 b Fc(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)37 b Fb(14)2025 997 y(shell)26 b(script)18 b Fc(.)13 -b(.)f(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g -(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)44 -b Fb(32)2025 1084 y(shell)26 b(v)l(ariable)17 b Fc(.)c(.)g(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)43 b Fb(15)2025 1172 -y(shell,)26 b(in)n(teractiv)n(e)16 b Fc(.)d(.)g(.)f(.)g(.)h(.)f(.)g(.)h -(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)h(.)f(.)42 b Fb(73)2025 1259 y(signal)14 b Fc(.)f(.)g(.)f(.)g(.)h +f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)37 b Fb(14)2025 2621 +y(shell)26 b(script)18 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 -b Fb(4)2025 1346 y(signal)27 b(handling)18 b Fc(.)13 +h(.)f(.)g(.)h(.)f(.)g(.)44 b Fb(33)2025 2709 y(shell)26 +b(v)l(ariable)17 b Fc(.)c(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) +h(.)f(.)43 b Fb(15)2025 2797 y(shell,)26 b(in)n(teractiv)n(e)16 +b Fc(.)d(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)42 b +Fb(73)2025 2885 y(signal)14 b Fc(.)f(.)g(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) +g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f +(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)40 +b Fb(4)2025 2972 y(signal)27 b(handling)18 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(32)2025 -1433 y(sp)r(ecial)27 b(builtin)12 b Fc(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g +3060 y(sp)r(ecial)27 b(builtin)12 b Fc(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) -g(.)g(.)h(.)38 b Fb(4,)26 b(57)2025 1521 y(startup)f(\014les)20 +g(.)g(.)h(.)38 b Fb(4,)26 b(58)2025 3148 y(startup)f(\014les)20 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)45 -b Fb(71)2025 1608 y(susp)r(ending)25 b(jobs)7 b Fc(.)14 +b Fb(71)2025 3236 y(susp)r(ending)25 b(jobs)7 b Fc(.)14 b(.)e(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)33 b Fb(87)2025 -1858 y Fr(T)2025 1974 y Fb(tilde)26 b(expansion)19 b +3488 y Fr(T)2025 3606 y Fb(tilde)26 b(expansion)19 b Fc(.)13 b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)45 -b Fb(18)2025 2061 y(tok)n(en)18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g +b Fb(18)2025 3693 y(tok)n(en)18 b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)45 -b Fb(4)2025 2148 y(translation,)27 b(nativ)n(e)e(languages)9 +b Fb(4)2025 3781 y(translation,)27 b(nativ)n(e)e(languages)9 b Fc(.)14 b(.)f(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f -(.)g(.)h(.)35 b Fb(7)2025 2398 y Fr(V)2025 2514 y Fb(v)l(ariable,)26 +(.)g(.)h(.)35 b Fb(7)2025 4034 y Fr(V)2025 4151 y Fb(v)l(ariable,)26 b(shell)7 b Fc(.)13 b(.)f(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.) -h(.)32 b Fb(15)2025 2601 y(v)l(ariables,)27 b(readline)7 +h(.)32 b Fb(15)2025 4239 y(v)l(ariables,)27 b(readline)7 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)32 b Fb(95)2025 -2851 y Fr(W)2025 2967 y Fb(w)n(ord)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g +4492 y Fr(W)2025 4609 y Fb(w)n(ord)10 b Fc(.)i(.)h(.)f(.)g(.)h(.)f(.)g (.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.) f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)36 -b Fb(4)2025 3055 y(w)n(ord)26 b(splitting)21 b Fc(.)12 +b Fb(4)2025 4697 y(w)n(ord)26 b(splitting)21 b Fc(.)12 b(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f (.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)46 -b Fb(23)2025 3304 y Fr(Y)2025 3421 y Fb(y)n(anking)25 +b Fb(23)2025 4949 y Fr(Y)2025 5067 y Fb(y)n(anking)25 b(text)7 b Fc(.)k(.)i(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h (.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.) g(.)33 b Fb(93)p eop end +%%Page: 156 162 +TeXDict begin 156 161 bop 150 -116 a Ft(156)2527 b(Bash)31 +b(Reference)g(Man)m(ual)p eop end %%Trailer userdict /end-hook known{end-hook}if diff --git a/doc/bashref.rw b/doc/bashref.rw index 0544a458..63177705 100644 --- a/doc/bashref.rw +++ b/doc/bashref.rw @@ -1,8 +1,8 @@ \entry{time}{8}{\code {time}} \entry{!}{8}{\code {!}} -\entry{until}{9}{\code {until}} -\entry{do}{9}{\code {do}} -\entry{done}{9}{\code {done}} +\entry{until}{10}{\code {until}} +\entry{do}{10}{\code {do}} +\entry{done}{10}{\code {done}} \entry{while}{10}{\code {while}} \entry{for}{10}{\code {for}} \entry{if}{10}{\code {if}} @@ -13,9 +13,9 @@ \entry{case}{11}{\code {case}} \entry{in}{11}{\code {in}} \entry{esac}{11}{\code {esac}} -\entry{select}{11}{\code {select}} +\entry{select}{12}{\code {select}} \entry{[[}{12}{\code {[[}} \entry{]]}{12}{\code {]]}} -\entry{{\tt \char 123}}{13}{\code {{\tt \char 123}}} -\entry{{\tt \char 125}}{13}{\code {{\tt \char 125}}} +\entry{{\tt \char 123}}{14}{\code {{\tt \char 123}}} +\entry{{\tt \char 125}}{14}{\code {{\tt \char 125}}} \entry{function}{14}{\code {function}} diff --git a/doc/bashref.rws b/doc/bashref.rws index 0b93567a..1f5366d8 100644 --- a/doc/bashref.rws +++ b/doc/bashref.rws @@ -5,14 +5,14 @@ \initial {]} \entry {\code {]]}}{12} \initial {{\tt \char 123}} -\entry {\code {{\tt \char 123}}}{13} +\entry {\code {{\tt \char 123}}}{14} \initial {{\tt \char 125}} -\entry {\code {{\tt \char 125}}}{13} +\entry {\code {{\tt \char 125}}}{14} \initial {C} \entry {\code {case}}{11} \initial {D} -\entry {\code {do}}{9} -\entry {\code {done}}{9} +\entry {\code {do}}{10} +\entry {\code {done}}{10} \initial {E} \entry {\code {elif}}{10} \entry {\code {else}}{10} @@ -25,11 +25,11 @@ \entry {\code {if}}{10} \entry {\code {in}}{11} \initial {S} -\entry {\code {select}}{11} +\entry {\code {select}}{12} \initial {T} \entry {\code {then}}{10} \entry {\code {time}}{8} \initial {U} -\entry {\code {until}}{9} +\entry {\code {until}}{10} \initial {W} \entry {\code {while}}{10} diff --git a/doc/bashref.texi b/doc/bashref.texi index fdd47c17..38fec7fc 100644 --- a/doc/bashref.texi +++ b/doc/bashref.texi @@ -4928,6 +4928,12 @@ is readonly. If set, the value is interpreted as a command to execute before the printing of each primary prompt (@env{$PS1}). +@item PROMPT_DIRTRIM +If set to a number greater than zero, the value is used as the number of +trailing directory components to retain when expanding the @code{\w} and +@code{\W} prompt string escapes (@pxref{Printing a Prompt}). +Characters removed are replaced with an ellipsis. + @item PS3 The value of this variable is used as the prompt for the @code{select} command. If this variable is not set, the @@ -6050,7 +6056,8 @@ The version of Bash (e.g., 2.00) @item \V The release of Bash, version + patchlevel (e.g., 2.00.0) @item \w -The current working directory, with @env{$HOME} abbreviated with a tilde. +The current working directory, with @env{$HOME} abbreviated with a tilde +(uses the @env{$PROMPT_DIRTRIM} variable). @item \W The basename of @env{$PWD}, with @env{$HOME} abbreviated with a tilde. @item \! diff --git a/doc/bashref.texi~ b/doc/bashref.texi~ index 857b260e..0ccfa392 100644 --- a/doc/bashref.texi~ +++ b/doc/bashref.texi~ @@ -859,14 +859,17 @@ of alphabetic characters. The @samp{|} is used to separate multiple patterns, and the @samp{)} operator terminates a pattern list. A list of patterns and an associated command-list is known -as a @var{clause}. Each clause must be terminated with @samp{;;}. +as a @var{clause}. + +Each clause must be terminated with @samp{;;}, @samp{,&}, or @samp{;;&}. The @var{word} undergoes tilde expansion, parameter expansion, command substitution, arithmetic expansion, and quote removal before matching is attempted. Each @var{pattern} undergoes tilde expansion, parameter expansion, command substitution, and arithmetic expansion. There may be an arbitrary number of @code{case} clauses, each terminated -by a @samp{;;}. The first pattern that matches determines the +by a @samp{;;}, @samp{;&}, or @samp{;;&}. +The first pattern that matches determines the command-list that is executed. Here is an example using @code{case} in a script that could be used to @@ -885,6 +888,15 @@ echo " legs." @end example @noindent + +If the @samp{;;} operator is used, no subsequent matches are attempted after +the first pattern match. +Using @samp{;&} in place of @samp{;;} causes execution to continue with +the @var{command-list} associated with the next clause, if any. +Using @samp{;;&} in place of @samp{;;} causes the shell to test the patterns +in the next clause, if any, and execute any associated @var{command-list} +on a successful match. + The return status is zero if no @var{pattern} is matched. Otherwise, the return status is the exit status of the @var{command-list} executed. @@ -4916,6 +4928,12 @@ is readonly. If set, the value is interpreted as a command to execute before the printing of each primary prompt (@env{$PS1}). +@item PROMPT_DIRTRIM +If set to a number greater than zero, the value is used as the number of +trailing directory components to retain when expanding the @code{\w} and +@code{\W} prompt string escapes (@pxref{Printing a Prompt}). +Characters removed are replaced with an ellipsis. + @item PS3 The value of this variable is used as the prompt for the @code{select} command. If this variable is not set, the diff --git a/doc/bashref.toc b/doc/bashref.toc index 40037500..953fd099 100644 --- a/doc/bashref.toc +++ b/doc/bashref.toc @@ -15,51 +15,52 @@ \secentry{Shell Commands}{3}{2}{7} \subsecentry{Simple Commands}{3}{2}{1}{8} \subsecentry{Pipelines}{3}{2}{2}{8} -\subsecentry{Lists of Commands}{3}{2}{3}{8} +\subsecentry{Lists of Commands}{3}{2}{3}{9} \subsecentry{Compound Commands}{3}{2}{4}{9} \subsubsecentry{Looping Constructs}{3}{2}{4}{1}{9} \subsubsecentry{Conditional Constructs}{3}{2}{4}{2}{10} \subsubsecentry{Grouping Commands}{3}{2}{4}{3}{13} -\secentry{Shell Functions}{3}{3}{13} +\secentry{Shell Functions}{3}{3}{14} \secentry{Shell Parameters}{3}{4}{15} -\subsecentry{Positional Parameters}{3}{4}{1}{15} +\subsecentry{Positional Parameters}{3}{4}{1}{16} \subsecentry{Special Parameters}{3}{4}{2}{16} \secentry{Shell Expansions}{3}{5}{17} \subsecentry{Brace Expansion}{3}{5}{1}{17} \subsecentry{Tilde Expansion}{3}{5}{2}{18} \subsecentry{Shell Parameter Expansion}{3}{5}{3}{19} -\subsecentry{Command Substitution}{3}{5}{4}{21} +\subsecentry{Command Substitution}{3}{5}{4}{22} \subsecentry{Arithmetic Expansion}{3}{5}{5}{22} \subsecentry{Process Substitution}{3}{5}{6}{22} -\subsecentry{Word Splitting}{3}{5}{7}{22} +\subsecentry{Word Splitting}{3}{5}{7}{23} \subsecentry{Filename Expansion}{3}{5}{8}{23} -\subsubsecentry{Pattern Matching}{3}{5}{8}{1}{23} +\subsubsecentry{Pattern Matching}{3}{5}{8}{1}{24} \subsecentry{Quote Removal}{3}{5}{9}{25} \secentry{Redirections}{3}{6}{25} \subsecentry{Redirecting Input}{3}{6}{1}{26} \subsecentry{Redirecting Output}{3}{6}{2}{26} -\subsecentry{Appending Redirected Output}{3}{6}{3}{26} -\subsecentry{Redirecting Standard Output and Standard Error}{3}{6}{4}{26} -\subsecentry{Here Documents}{3}{6}{5}{27} -\subsecentry{Here Strings}{3}{6}{6}{27} -\subsecentry{Duplicating File Descriptors}{3}{6}{7}{27} -\subsecentry{Moving File Descriptors}{3}{6}{8}{28} -\subsecentry{Opening File Descriptors for Reading and Writing}{3}{6}{9}{28} -\secentry{Executing Commands}{3}{7}{28} -\subsecentry{Simple Command Expansion}{3}{7}{1}{28} -\subsecentry{Command Search and Execution}{3}{7}{2}{29} -\subsecentry{Command Execution Environment}{3}{7}{3}{29} -\subsecentry{Environment}{3}{7}{4}{30} -\subsecentry{Exit Status}{3}{7}{5}{31} -\subsecentry{Signals}{3}{7}{6}{31} -\secentry{Shell Scripts}{3}{8}{32} +\subsecentry{Appending Redirected Output}{3}{6}{3}{27} +\subsecentry{Redirecting Standard Output and Standard Error}{3}{6}{4}{27} +\subsecentry{Appending Standard Output and Standard Error}{3}{6}{5}{27} +\subsecentry{Here Documents}{3}{6}{6}{27} +\subsecentry{Here Strings}{3}{6}{7}{28} +\subsecentry{Duplicating File Descriptors}{3}{6}{8}{28} +\subsecentry{Moving File Descriptors}{3}{6}{9}{28} +\subsecentry{Opening File Descriptors for Reading and Writing}{3}{6}{10}{29} +\secentry{Executing Commands}{3}{7}{29} +\subsecentry{Simple Command Expansion}{3}{7}{1}{29} +\subsecentry{Command Search and Execution}{3}{7}{2}{30} +\subsecentry{Command Execution Environment}{3}{7}{3}{30} +\subsecentry{Environment}{3}{7}{4}{31} +\subsecentry{Exit Status}{3}{7}{5}{32} +\subsecentry{Signals}{3}{7}{6}{32} +\secentry{Shell Scripts}{3}{8}{33} \chapentry{Shell Builtin Commands}{4}{35} \secentry{Bourne Shell Builtins}{4}{1}{35} \secentry{Bash Builtin Commands}{4}{2}{41} -\secentry{Modifying Shell Behavior}{4}{3}{49} -\subsecentry{The Set Builtin}{4}{3}{1}{49} +\secentry{Modifying Shell Behavior}{4}{3}{50} +\subsecentry{The Set Builtin}{4}{3}{1}{50} \subsecentry{The Shopt Builtin}{4}{3}{2}{53} -\secentry{Special Builtins}{4}{4}{57} +\secentry{Special Builtins}{4}{4}{58} \chapentry{Shell Variables}{5}{59} \secentry{Bourne Shell Variables}{5}{1}{59} \secentry{Bash Variables}{5}{2}{59} @@ -93,43 +94,43 @@ \subsecentry{Searching for Commands in the History}{8}{2}{5}{93} \secentry{Readline Init File}{8}{3}{94} \subsecentry{Readline Init File Syntax}{8}{3}{1}{94} -\subsecentry{Conditional Init Constructs}{8}{3}{2}{99} -\subsecentry{Sample Init File}{8}{3}{3}{100} -\secentry{Bindable Readline Commands}{8}{4}{103} -\subsecentry{Commands For Moving}{8}{4}{1}{103} -\subsecentry{Commands For Manipulating The History}{8}{4}{2}{103} -\subsecentry{Commands For Changing Text}{8}{4}{3}{105} -\subsecentry{Killing And Yanking}{8}{4}{4}{106} -\subsecentry{Specifying Numeric Arguments}{8}{4}{5}{107} -\subsecentry{Letting Readline Type For You}{8}{4}{6}{107} -\subsecentry{Keyboard Macros}{8}{4}{7}{108} -\subsecentry{Some Miscellaneous Commands}{8}{4}{8}{109} -\secentry{Readline vi Mode}{8}{5}{111} -\secentry{Programmable Completion}{8}{6}{111} -\secentry{Programmable Completion Builtins}{8}{7}{113} -\chapentry{Using History Interactively}{9}{117} -\secentry{Bash History Facilities}{9}{1}{117} -\secentry{Bash History Builtins}{9}{2}{117} -\secentry{History Expansion}{9}{3}{119} -\subsecentry{Event Designators}{9}{3}{1}{119} -\subsecentry{Word Designators}{9}{3}{2}{120} -\subsecentry{Modifiers}{9}{3}{3}{121} -\chapentry{Installing Bash}{10}{123} -\secentry{Basic Installation}{10}{1}{123} -\secentry{Compilers and Options}{10}{2}{123} -\secentry{Compiling For Multiple Architectures}{10}{3}{124} -\secentry{Installation Names}{10}{4}{124} -\secentry{Specifying the System Type}{10}{5}{124} -\secentry{Sharing Defaults}{10}{6}{125} -\secentry{Operation Controls}{10}{7}{125} -\secentry{Optional Features}{10}{8}{125} -\appendixentry{Reporting Bugs}{A}{131} -\appendixentry{Major Differences From The Bourne Shell}{B}{133} -\secentry{Implementation Differences From The SVR4.2 Shell}{B}{1}{137} -\appendixentry{GNU Free Documentation License}{C}{139} -\appendixentry{Indexes}{D}{147} -\secentry{Index of Shell Builtin Commands}{D}{1}{147} -\secentry{Index of Shell Reserved Words}{D}{2}{149} -\secentry{Parameter and Variable Index}{D}{3}{149} -\secentry{Function Index}{D}{4}{151} -\secentry{Concept Index}{D}{5}{153} +\subsecentry{Conditional Init Constructs}{8}{3}{2}{100} +\subsecentry{Sample Init File}{8}{3}{3}{101} +\secentry{Bindable Readline Commands}{8}{4}{104} +\subsecentry{Commands For Moving}{8}{4}{1}{104} +\subsecentry{Commands For Manipulating The History}{8}{4}{2}{104} +\subsecentry{Commands For Changing Text}{8}{4}{3}{106} +\subsecentry{Killing And Yanking}{8}{4}{4}{107} +\subsecentry{Specifying Numeric Arguments}{8}{4}{5}{108} +\subsecentry{Letting Readline Type For You}{8}{4}{6}{108} +\subsecentry{Keyboard Macros}{8}{4}{7}{109} +\subsecentry{Some Miscellaneous Commands}{8}{4}{8}{110} +\secentry{Readline vi Mode}{8}{5}{112} +\secentry{Programmable Completion}{8}{6}{112} +\secentry{Programmable Completion Builtins}{8}{7}{114} +\chapentry{Using History Interactively}{9}{119} +\secentry{Bash History Facilities}{9}{1}{119} +\secentry{Bash History Builtins}{9}{2}{119} +\secentry{History Expansion}{9}{3}{121} +\subsecentry{Event Designators}{9}{3}{1}{121} +\subsecentry{Word Designators}{9}{3}{2}{122} +\subsecentry{Modifiers}{9}{3}{3}{123} +\chapentry{Installing Bash}{10}{125} +\secentry{Basic Installation}{10}{1}{125} +\secentry{Compilers and Options}{10}{2}{125} +\secentry{Compiling For Multiple Architectures}{10}{3}{126} +\secentry{Installation Names}{10}{4}{126} +\secentry{Specifying the System Type}{10}{5}{126} +\secentry{Sharing Defaults}{10}{6}{127} +\secentry{Operation Controls}{10}{7}{127} +\secentry{Optional Features}{10}{8}{127} +\appendixentry{Reporting Bugs}{A}{133} +\appendixentry{Major Differences From The Bourne Shell}{B}{135} +\secentry{Implementation Differences From The SVR4.2 Shell}{B}{1}{139} +\appendixentry{GNU Free Documentation License}{C}{141} +\appendixentry{Indexes}{D}{149} +\secentry{Index of Shell Builtin Commands}{D}{1}{149} +\secentry{Index of Shell Reserved Words}{D}{2}{150} +\secentry{Parameter and Variable Index}{D}{3}{150} +\secentry{Function Index}{D}{4}{152} +\secentry{Concept Index}{D}{5}{154} diff --git a/doc/bashref.vr b/doc/bashref.vr index e39dc0c6..056e0ad7 100644 --- a/doc/bashref.vr +++ b/doc/bashref.vr @@ -6,10 +6,10 @@ \entry{#}{16}{\code {#}} \entry{?}{16}{\code {?}} \entry{-}{16}{\code {-}} -\entry{$}{16}{\code {$}} -\entry{!}{16}{\code {!}} -\entry{0}{16}{\code {0}} -\entry{_}{16}{\code {_}} +\entry{$}{17}{\code {$}} +\entry{!}{17}{\code {!}} +\entry{0}{17}{\code {0}} +\entry{_}{17}{\code {_}} \entry{CDPATH}{59}{\code {CDPATH}} \entry{HOME}{59}{\code {HOME}} \entry{IFS}{59}{\code {IFS}} @@ -97,6 +97,7 @@ \entry{bell-style}{95}{\code {bell-style}} \entry{bind-tty-special-chars}{95}{\code {bind-tty-special-chars}} \entry{comment-begin}{95}{\code {comment-begin}} +\entry{completion-prefix-display-length}{95}{\code {completion-prefix-display-length}} \entry{completion-query-items}{95}{\code {completion-query-items}} \entry{convert-meta}{96}{\code {convert-meta}} \entry{disable-completion}{96}{\code {disable-completion}} @@ -108,13 +109,14 @@ \entry{horizontal-scroll-mode}{96}{\code {horizontal-scroll-mode}} \entry{input-meta}{96}{\code {input-meta}} \entry{meta-flag}{96}{\code {meta-flag}} -\entry{isearch-terminators}{96}{\code {isearch-terminators}} +\entry{isearch-terminators}{97}{\code {isearch-terminators}} \entry{keymap}{97}{\code {keymap}} \entry{mark-modified-lines}{97}{\code {mark-modified-lines}} \entry{mark-symlinked-directories}{97}{\code {mark-symlinked-directories}} \entry{match-hidden-files}{97}{\code {match-hidden-files}} \entry{output-meta}{97}{\code {output-meta}} \entry{page-completions}{97}{\code {page-completions}} -\entry{show-all-if-ambiguous}{97}{\code {show-all-if-ambiguous}} +\entry{revert-all-at-newline}{98}{\code {revert-all-at-newline}} +\entry{show-all-if-ambiguous}{98}{\code {show-all-if-ambiguous}} \entry{show-all-if-unmodified}{98}{\code {show-all-if-unmodified}} \entry{visible-stats}{98}{\code {visible-stats}} diff --git a/doc/bashref.vrs b/doc/bashref.vrs index 7b81de19..f0e57e79 100644 --- a/doc/bashref.vrs +++ b/doc/bashref.vrs @@ -1,9 +1,9 @@ \initial {!} -\entry {\code {!}}{16} +\entry {\code {!}}{17} \initial {#} \entry {\code {#}}{16} \initial {$} -\entry {\code {$}}{16} +\entry {\code {$}}{17} \initial {*} \entry {\code {*}}{16} \initial {-} @@ -13,9 +13,9 @@ \initial {@} \entry {\code {@}}{16} \initial {_} -\entry {\code {_}}{16} +\entry {\code {_}}{17} \initial {0} -\entry {\code {0}}{16} +\entry {\code {0}}{17} \initial {A} \entry {\code {auto_resume}}{90} \initial {B} @@ -45,6 +45,7 @@ \entry {\code {COMP_TYPE}}{61} \entry {\code {COMP_WORDBREAKS}}{62} \entry {\code {COMP_WORDS}}{62} +\entry {\code {completion-prefix-display-length}}{95} \entry {\code {completion-query-items}}{95} \entry {\code {COMPREPLY}}{62} \entry {\code {convert-meta}}{96} @@ -85,7 +86,7 @@ \entry {\code {IGNOREEOF}}{64} \entry {\code {input-meta}}{96} \entry {\code {INPUTRC}}{64} -\entry {\code {isearch-terminators}}{96} +\entry {\code {isearch-terminators}}{97} \initial {K} \entry {\code {keymap}}{97} \initial {L} @@ -128,12 +129,13 @@ \initial {R} \entry {\code {RANDOM}}{66} \entry {\code {REPLY}}{66} +\entry {\code {revert-all-at-newline}}{98} \initial {S} \entry {\code {SECONDS}}{66} \entry {\code {SHELL}}{66} \entry {\code {SHELLOPTS}}{66} \entry {\code {SHLVL}}{66} -\entry {\code {show-all-if-ambiguous}}{97} +\entry {\code {show-all-if-ambiguous}}{98} \entry {\code {show-all-if-unmodified}}{98} \initial {T} \entry {\code {TEXTDOMAIN}}{7} diff --git a/doc/builtins.0 b/doc/builtins.0 index afea1b2d..43811d08 100644 --- a/doc/builtins.0 +++ b/doc/builtins.0 @@ -97,7 +97,13 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS Remove any current binding for _k_e_y_s_e_q. --xx _k_e_y_s_e_q::_s_h_e_l_l_-_c_o_m_m_a_n_d Cause _s_h_e_l_l_-_c_o_m_m_a_n_d to be executed whenever _k_e_y_s_e_q is - entered. + entered. When _s_h_e_l_l_-_c_o_m_m_a_n_d is executed, the shell sets + the RREEAADDLLIINNEE__LLIINNEE variable to the contents of the rreeaadd-- + lliinnee line buffer and the RREEAADDLLIINNEE__PPOOIINNTT variable to the + current location of the insertion point. If the executed + command changes the value of RREEAADDLLIINNEE__LLIINNEE or RREEAADD-- + LLIINNEE__PPOOIINNTT, those new values will be reflected in the + editing state. The return value is 0 unless an unrecognized option is given or an error occurred. @@ -106,8 +112,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS Exit from within a ffoorr, wwhhiillee, uunnttiill, or sseelleecctt loop. If _n is specified, break _n levels. _n must be >= 1. If _n is greater than the number of enclosing loops, all enclosing loops are - exited. The return value is 0 unless the shell is not executing - a loop when bbrreeaakk is executed. + exited. The return value is 0 unless _n is not greater than or + equal to 1. bbuuiillttiinn _s_h_e_l_l_-_b_u_i_l_t_i_n [_a_r_g_u_m_e_n_t_s] Execute the specified shell builtin, passing it _a_r_g_u_m_e_n_t_s, and @@ -117,6 +123,19 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS commonly redefined this way. The return status is false if _s_h_e_l_l_-_b_u_i_l_t_i_n is not a shell builtin command. + ccaalllleerr [_e_x_p_r] + Returns the context of any active subroutine call (a shell func- + tion or a script executed with the .. or ssoouurrccee builtins. With- + out _e_x_p_r, ccaalllleerr displays the line number and source filename of + the current subroutine call. If a non-negative integer is sup- + plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, + and source file corresponding to that position in the current + execution call stack. This extra information may be used, for + example, to print a stack trace. The current frame is frame 0. + The return value is 0 unless the shell is not executing a sub- + routine call or _e_x_p_r does not correspond to a valid position in + the call stack. + ccdd [--LL||--PP] [_d_i_r] Change the current directory to _d_i_r. The variable HHOOMMEE is the default _d_i_r. The variable CCDDPPAATTHH defines the search path for @@ -134,19 +153,6 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS output. The return value is true if the directory was success- fully changed; false otherwise. - ccaalllleerr [_e_x_p_r] - Returns the context of any active subroutine call (a shell func- - tion or a script executed with the .. or ssoouurrccee builtins. With- - out _e_x_p_r, ccaalllleerr displays the line number and source filename of - the current subroutine call. If a non-negative integer is sup- - plied as _e_x_p_r, ccaalllleerr displays the line number, subroutine name, - and source file corresponding to that position in the current - execution call stack. This extra information may be used, for - example, to print a stack trace. The current frame is frame 0. - The return value is 0 unless the shell is not executing a sub- - routine call or _e_x_p_r does not correspond to a valid position in - the call stack. - ccoommmmaanndd [--ppVVvv] _c_o_m_m_a_n_d [_a_r_g ...] Run _c_o_m_m_a_n_d with _a_r_g_s suppressing the normal shell function lookup. Only builtin commands or commands found in the PPAATTHH are @@ -178,16 +184,18 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS The return value is true unless an invalid option is supplied, or no matches were generated. - ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_p_a_t] [--WW - _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] + ccoommpplleettee [--aabbccddeeffggjjkkssuuvv] [--oo _c_o_m_p_-_o_p_t_i_o_n] [--EE] [--AA _a_c_t_i_o_n] [--GG _g_l_o_b_p_a_t] + [--WW _w_o_r_d_l_i_s_t] [--FF _f_u_n_c_t_i_o_n] [--CC _c_o_m_m_a_n_d] [--XX _f_i_l_t_e_r_p_a_t] [--PP _p_r_e_f_i_x] [--SS _s_u_f_f_i_x] _n_a_m_e [_n_a_m_e _._._.] - ccoommpplleettee --pprr [_n_a_m_e ...] + ccoommpplleettee --pprr [--EE] [_n_a_m_e ...] Specify how arguments to each _n_a_m_e should be completed. If the --pp option is supplied, or if no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. The --rr option removes a completion spec- ification for each _n_a_m_e, or, if no _n_a_m_es are supplied, all com- - pletion specifications. + pletion specifications. The --EE option indicates that the + remaining options and actions should apply to ``empty'' command + completion; that is, completion attempted on a blank line. The process of applying these completion specifications when word completion is attempted is described above under PPrroo-- @@ -319,8 +327,8 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS sseelleecctt loop. If _n is specified, resume at the _nth enclosing loop. _n must be >= 1. If _n is greater than the number of enclosing loops, the last enclosing loop (the ``top-level'' - loop) is resumed. The return value is 0 unless the shell is not - executing a loop when ccoonnttiinnuuee is executed. + loop) is resumed. The return value is 0 unless _n is not greater + than or equal to 1. ddeeccllaarree [--aaffFFiirrttxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] ttyyppeesseett [--aaffFFiirrttxx] [--pp] [_n_a_m_e[=_v_a_l_u_e] ...] @@ -601,13 +609,16 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS printed. The return status is true unless a _n_a_m_e is not found or an invalid option is supplied. - hheellpp [--ss] [_p_a_t_t_e_r_n] + 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 - structures is printed. The --ss option restricts the information - displayed to a short usage synopsis. The return status is 0 - unless no command matches _p_a_t_t_e_r_n. + 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 + format + --ss Display only a short usage synopsis for each _p_a_t_t_e_r_n + The return status is 0 unless no command matches _p_a_t_t_e_r_n. hhiissttoorryy [[_n]] hhiissttoorryy --cc @@ -617,44 +628,44 @@ BBAASSHH 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. - --aa Append the ``new'' history lines (history lines entered - since the beginning of the current bbaasshh session) to the + --aa Append the ``new'' history lines (history lines entered + since the beginning of the current bbaasshh session) to the history file. - --nn Read the history lines not already read from the history - file into the current history list. These are lines - appended to the history file since the beginning of the + --nn Read the history lines not already read from the history + file into the current history list. These are lines + appended to the history file since the beginning of the current bbaasshh session. --rr Read the contents of the history file and use them as the current history. - --ww Write the current history to the history file, overwrit- + --ww Write the current history to the history file, overwrit- ing 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 is set, the time stamp information associ- - ated with each history entry is written to the history file, - marked with the history comment character. When the history + ated with each history entry is written to the history file, + marked with the history comment character. When the history file is read, lines beginning with the history comment character - followed immediately by a digit are interpreted as timestamps - for the previous history line. The return value is 0 unless an - invalid option is encountered, an error occurs while reading or - writing the history file, an invalid _o_f_f_s_e_t is supplied as an + followed immediately by a digit are interpreted as timestamps + for the previous history line. The return value is 0 unless an + invalid option is encountered, an error occurs while reading or + writing the history file, an invalid _o_f_f_s_e_t is supplied as an argument to --dd, or the history expansion supplied as an argument to --pp fails. @@ -663,54 +674,81 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS The first form lists the active jobs. The options have the fol- lowing meanings: --ll List process IDs in addition to the normal information. - --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. - --nn Display information only about jobs that have changed - status since the user was last notified of their status. + --nn Display information only about jobs that have changed + status since the user was last notified of their status. --rr Restrict output to running jobs. --ss Restrict output to 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 - _c_o_m_m_a_n_d or _a_r_g_s with the corresponding process group ID, and + _c_o_m_m_a_n_d or _a_r_g_s with the corresponding process group ID, and executes _c_o_m_m_a_n_d passing it _a_r_g_s, returning its exit status. kkiillll [--ss _s_i_g_s_p_e_c | --nn _s_i_g_n_u_m | --_s_i_g_s_p_e_c] [_p_i_d | _j_o_b_s_p_e_c] ... kkiillll --ll [_s_i_g_s_p_e_c | _e_x_i_t___s_t_a_t_u_s] - 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. kkiillll returns true - if at least one signal was successfully sent, or false if an + --ll is a number specifying either a signal number or the exit + status of a process terminated by a signal. kkiillll returns true + if at least one signal was successfully sent, or false if an error occurs or an invalid option is encountered. lleett _a_r_g [_a_r_g ...] Each _a_r_g is an arithmetic expression to be evaluated (see AARRIITTHH-- - MMEETTIICC EEVVAALLUUAATTIIOONN). If the last _a_r_g evaluates to 0, lleett returns + MMEETTIICC EEVVAALLUUAATTIIOONN). 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- + variable _n_a_m_e to have a visible scope restricted to that func- tion and its children. With no operands, llooccaall writes a list of - local variables to the standard output. It is an error to use + 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, + llooccaall is used outside a function, an invalid _n_a_m_e is supplied, or _n_a_m_e is a readonly variable. llooggoouutt Exit a login shell. + mmaappffiillee [--nn _c_o_u_n_t] [--OO _o_r_i_g_i_n] [--ss _c_o_u + nt_] _[--tt_] _[--uu _f_d_] _[--CC _c_a_l_l_b_a_c_k_] _[--cc _I_q_u_a_n_t_u_m]] [[_a_r_r_a_y]] RReeaadd lliinneess + ffrroomm tthhee ssttaannddaarrdd iinnppuutt iinnttoo aarrrraayy vvaarriiaabbllee _a_r_r_a_y, or from file + descriptor _f_d if the --uu option is supplied. The variable MMAAPP-- + FFIILLEE is the default _a_r_r_a_y. Options, if supplied, have the fol- + lowing meanings: + --nn Copy at most _c_o_u_n_t lines. If _c_o_u_n_t is 0, all lines are + copied. + --OO Begin assigning to _a_r_r_a_y at index _o_r_i_g_i_n. The default + index is 0. + --ss Discard the first _c_o_u_n_t lines read. + --tt Remove a trailing line from each line read. + --uu Read lines from file descriptor _f_d instead of the stan- + dard input. + --CC Evaluate _c_a_l_l_b_a_c_k each time _q_u_a_n_t_u_m lines are read. The + --cc option specifies _q_u_a_n_t_u_m. + --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 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, or _a_r_r_a_y is invalid or unassignable. + ppooppdd [-nn] [+_n] [-_n] Removes entries from the directory stack. With no arguments, removes the top directory from the stack, and performs a ccdd to @@ -833,9 +871,10 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS 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 is not read within _t_i_m_e_o_u_t seconds. This - option has no effect if rreeaadd is not reading input from - the terminal or a pipe. + line of input is not read within _t_i_m_e_o_u_t seconds. _t_i_m_e_- + _o_u_t may be a decimal number with a fractional portion + following the decimal point. This option has no effect + if rreeaadd is not reading input from the terminal or a pipe. --uu _f_d Read input from file descriptor _f_d. If no _n_a_m_e_s are supplied, the line read is assigned to the vari- @@ -1104,6 +1143,10 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS If set, bbaasshh changes its behavior to that of version 3.1 with respect to quoted arguments to the conditional com- mand's =~ operator. + ddiirrssppeellll + 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. eexxeeccffaaiill @@ -1153,62 +1196,67 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS ble completions. See SSHHEELLLL VVAARRIIAABBLLEESS above for a description of FFIIGGNNOORREE. This option is enabled by default. + gglloobbssttaarr + If set, the pattern **** used in a filename expansion con- + text will match a files and zero or more directories and + subdirectories. If the pattern is followed by a //, only + directories and subdirectories match. ggnnuu__eerrrrffmmtt If set, shell error messages are written in the standard GNU error message format. hhiissttaappppeenndd - If set, the history list is appended to the file named - by the value of the HHIISSTTFFIILLEE variable when the shell + If set, the history list is appended to the file named + by the value of the HHIISSTTFFIILLEE variable when the shell exits, rather than overwriting the file. hhiissttrreeeeddiitt - If set, and rreeaaddlliinnee is being used, a user is given the + If set, and rreeaaddlliinnee is being used, a user is given the opportunity to re-edit a failed history substitution. hhiissttvveerriiffyy - If set, and rreeaaddlliinnee is being used, the results of his- - tory substitution are not immediately passed to the - shell parser. Instead, the resulting line is loaded + If set, and rreeaaddlliinnee is being used, the results of his- + tory substitution are not immediately passed to the + shell parser. Instead, the resulting line is loaded into the rreeaaddlliinnee editing buffer, allowing further modi- fication. hhoossttccoommpplleettee If set, and rreeaaddlliinnee is being used, bbaasshh will attempt to - perform hostname completion when a word containing a @@ - is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE + perform hostname completion when a word containing a @@ + is being completed (see CCoommpplleettiinngg under RREEAADDLLIINNEE above). This is enabled by default. hhuuppoonneexxiitt If set, bbaasshh will send SSIIGGHHUUPP to all jobs when an inter- active login shell exits. 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 + and all remaining characters on that line to be ignored + in an interactive shell (see CCOOMMMMEENNTTSS above). This option is enabled by default. - 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. 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 + If set, and rreeaaddlliinnee is being used, bbaasshh will not attempt 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. 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. pprrooggccoommpp If set, the programmable completion facilities (see PPrroo-- @@ -1216,47 +1264,47 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS enabled by default. pprroommppttvvaarrss If set, prompt strings undergo parameter expansion, com- - mand substitution, arithmetic expansion, and quote - removal after being expanded as described in PPRROOMMPPTTIINNGG + mand substitution, arithmetic expansion, and quote + removal 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 + The shell sets this option if it is started in restricted 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- + 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. xxppgg__eecchhoo - If set, the eecchhoo builtin expands backslash-escape + If set, the eecchhoo builtin expands backslash-escape sequences by default. ssuussppeenndd [--ff] - Suspend the execution of this shell until it receives a SSIIGGCCOONNTT - signal. The --ff option says not to complain if this is a login - shell; just suspend anyway. The return status is 0 unless the + Suspend the execution of this shell until it receives a SSIIGGCCOONNTT + signal. The --ff option says not to complain if this is a login + shell; just suspend anyway. The return status is 0 unless the shell is a login shell and --ff is not supplied, or if job control is not enabled. tteesstt _e_x_p_r [[ _e_x_p_r ]] - Return a status of 0 or 1 depending on the evaluation of the - conditional expression _e_x_p_r. Each operator and operand must be - a separate argument. Expressions are composed of the primaries - described above under CCOONNDDIITTIIOONNAALL EEXXPPRREESSSSIIOONNSS. tteesstt does not + Return a status of 0 or 1 depending on the evaluation of the + conditional expression _e_x_p_r. Each operator and operand 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, + Expressions may be combined using the following operators, listed in decreasing order of precedence. The evaluation depends on the number of arguments; see below. !! _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. @@ -1273,108 +1321,108 @@ BBAASSHH 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 - 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 If the first argument is !!, the result is the negation of - the three-argument expression composed of the remaining + the three-argument expression composed of the remaining arguments. Otherwise, the expression is parsed and eval- - uated according to precedence using the rules listed + uated 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. - 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 - receives signal(s) _s_i_g_s_p_e_c. If _a_r_g is absent (and there is a - single _s_i_g_s_p_e_c) or --, each specified signal is reset to its - original 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 commands associated with each signal. The --ll option - causes the shell to print a list of signal names and their cor- - responding 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 SIG 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 executed before every + The command _a_r_g is to be read and executed when the shell + receives signal(s) _s_i_g_s_p_e_c. If _a_r_g is absent (and there is a + single _s_i_g_s_p_e_c) or --, each specified signal is reset to its + original 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 commands associated with each signal. The --ll option + causes the shell to print a list of signal names and their cor- + responding 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 SIG 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 executed 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 EERRRR, - the command _a_r_g is executed whenever a simple command has a - non-zero exit status, subject to 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, part of a command executed - in a &&&& or |||| list, or if the command's return value is being - inverted via !!. These are the same conditions obeyed by the + 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 EERRRR, + the command _a_r_g is executed whenever a simple command has a + non-zero exit status, subject to 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, part of a command executed + in a &&&& or |||| list, or if the command's return value is being + inverted via !!. These are the same conditions obeyed by the eerrrreexxiitt option. If a _s_i_g_s_p_e_c is RREETTUURRNN, the command _a_r_g is exe- cuted each time a shell function or a script executed with the .. - or ssoouurrccee builtins finishes executing. Signals ignored upon - entry to the shell cannot be trapped or reset. Trapped signals + or ssoouurrccee builtins finishes executing. Signals ignored upon + entry to the shell cannot be trapped or reset. Trapped signals that are not being ignored are reset to their original values in - a child process when it is created. The return status is false + a child process when it 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 - returned. If the --pp option is used, ttyyppee either returns the + 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 + returned. 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 speci- fied as a command name, or nothing if ``type -t name'' would not - return _f_i_l_e. The --PP option forces a PPAATTHH search for each _n_a_m_e, + return _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, not necessarily the + hashed, --pp and --PP print the hashed value, not necessarily 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 func- - tion lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if - any of the arguments are found, false if none are found. + 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 func- + tion lookup, as with the ccoommmmaanndd builtin. ttyyppee returns true if + all of the arguments are found, false if any are not found. uulliimmiitt [--HHSSTTaabbccddeeffiillmmnnppqqrrssttuuvvxx [_l_i_m_i_t]] - 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, - respectively. 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 + current hard limit, the current soft limit, and no limit, + respectively. 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 are printed before the value. Other options are inter- preted as follows: @@ -1383,7 +1431,7 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS --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 --ll The maximum size that may be locked into memory @@ -1395,58 +1443,58 @@ BBAASSHH 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 --xx The maximum number of file locks --TT The maximum number of threads If _l_i_m_i_t is given, it is the new value of the specified resource (the --aa option is display only). If no option is given, then --ff - is assumed. Values are in 1024-byte increments, except for --tt, - which is in seconds, --pp, which is in units of 512-byte blocks, - and --TT, --bb, --nn, and --uu, which are unscaled values. The return + is assumed. Values are in 1024-byte increments, except for --tt, + which is in seconds, --pp, which is in units of 512-byte blocks, + and --TT, --bb, --nn, and --uu, which are unscaled values. The return status is 0 unless an invalid option or argument is 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] [_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 no options are supplied, or the --vv option is given, each _n_a_m_e - refers to a shell variable. 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. Each unset vari- - able or function is removed from the environment passed to sub- - sequent commands. If any of RRAANNDDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, + refers to a shell variable. 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. Each unset vari- + able or function is removed from the environment passed to sub- + sequent commands. If any of RRAANNDDOOMM, SSEECCOONNDDSS, LLIINNEENNOO, HHIISSTTCCMMDD, FFUUNNCCNNAAMMEE, GGRROOUUPPSS, or DDIIRRSSTTAACCKK are unset, they lose their special - properties, even if they are subsequently reset. The exit sta- + properties, even if they are subsequently reset. The exit sta- tus is true unless a _n_a_m_e is readonly. wwaaiitt [_n _._._.] - Wait for each specified process and return its termination sta- - tus. Each _n may be a process ID or a job specification; if a - job spec is given, all processes in that job's pipeline are - waited for. If _n is not given, all currently active child pro- - cesses are waited for, and the return status is zero. If _n - specifies a non-existent process or job, the return status is - 127. Otherwise, the return status is the exit status of the + Wait for each specified process and return its termination sta- + tus. Each _n may be a process ID or a job specification; if a + job spec is given, all processes in that job's pipeline are + waited for. If _n is not given, all currently active child pro- + cesses are waited for, and the return status is zero. If _n + specifies a non-existent process or job, the return status is + 127. Otherwise, the return status is the exit status of the last process or job waited for. SSEEEE AALLSSOO diff --git a/doc/builtins.ps b/doc/builtins.ps index 68c90399..b3aa48cd 100644 --- a/doc/builtins.ps +++ b/doc/builtins.ps @@ -1,13 +1,13 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.19.2 -%%CreationDate: Tue Apr 8 09:14:15 2008 +%%CreationDate: Thu May 29 11:48:42 2008 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic %%+ font Symbol %%+ font Courier %%DocumentSuppliedResources: procset grops 1.19 2 -%%Pages: 19 +%%Pages: 20 %%PageOrder: Ascend %%DocumentMedia: Default 595 842 0 () () %%Orientation: Portrait @@ -387,103 +387,95 @@ H(he named).1 E F2(function)2.5 E F0(.)A F1<ad75>144 216 Q F2(function) -.1(ke)2.5 G(yseq)-.2 E F0(Remo)180 252 Q .3 -.15(ve a)-.15 H .3 -.15 (ny c).15 H(urrent binding for).15 E F2 -.1(ke)2.5 G(yseq)-.2 E F0(.)A F1<ad78>144 264 Q F2 -.1(ke)2.5 G(yseq)-.2 E F1(:)A F2(shell\255command) -A F0(Cause)180 276 Q F2(shell\255command)2.5 E F0(to be e)2.5 E -.15(xe) --.15 G(cuted whene).15 E -.15(ve)-.25 G(r).15 E F2 -.1(ke)2.5 G(yseq)-.2 -E F0(is entered.)2.5 E(The return v)144 292.8 Q -(alue is 0 unless an unrecognized option is gi)-.25 E -.15(ve)-.25 G 2.5 -(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 E F1(br)108 -309.6 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .054(Exit from within a)144 -321.6 R F1 -.25(fo)2.554 G(r).25 E F0(,)A F1(while)2.554 E F0(,)A F1 -(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1(select)2.555 E F0 2.555 -(loop. If)2.555 F F2(n)2.555 E F0 .055(is speci\214ed, break)2.555 F F2 -(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G(ls.).15 E F2(n)5.415 E F0 .055 -(must be)2.795 F/F3 10/Symbol SF<b3>2.555 E F0(1.)2.555 E(If)144 333.6 Q -F2(n)3.075 E F0 .215(is greater than the number of enclosing loops, all\ - enclosing loops are e)2.955 F 2.714(xited. The)-.15 F .214(return v) -2.714 F(alue)-.25 E(is 0 unless the shell is not e)144 345.6 Q -.15(xe) --.15 G(cuting a loop when).15 E F1(br)2.5 E(eak)-.18 E F0(is e)2.5 E --.15(xe)-.15 G(cuted.).15 E F1 -.2(bu)108 362.4 S(iltin).2 E F2 -(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A -(Ex)144 374.4 Q .792(ecute the speci\214ed shell b)-.15 F .792 -(uiltin, passing it)-.2 F F2(ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G -.793(nd return its e)-3.293 F .793(xit status.)-.15 F .793 -(This is useful)5.793 F .616 +A F0(Cause)180 276 Q F2(shell\255command)4.325 E F0 1.825(to be e)4.325 +F -.15(xe)-.15 G 1.825(cuted whene).15 F -.15(ve)-.25 G(r).15 E F2 -.1 +(ke)4.325 G(yseq)-.2 E F0 1.825(is entered.)4.325 F(When)6.825 E F2 +(shell\255com-)4.325 E(mand)180 288 Q F0 1.113(is e)3.614 F -.15(xe)-.15 +G 1.113(cuted, the shell sets the).15 F F1(READLINE_LINE)3.613 E F0 -.25 +(va)3.613 G 1.113(riable to the contents of the).25 F F1 -.18(re)180 300 +S(adline).18 E F0 .586(line b)3.086 F(uf)-.2 E .586(fer and the)-.25 F +F1(READLINE_POINT)3.087 E F0 -.25(va)3.087 G .587 +(riable to the current location of the).25 F 1.241(insertion point.)180 +312 R 1.241(If the e)6.241 F -.15(xe)-.15 G 1.241 +(cuted command changes the v).15 F 1.241(alue of)-.25 F F1 +(READLINE_LINE)3.741 E F0(or)3.74 E F1(READLINE_POINT)180 324 Q F0 2.5 +(,t)C(hose ne)-2.5 E 2.5(wv)-.25 G +(alues will be re\215ected in the editing state.)-2.75 E(The return v) +144 340.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15 +(ve)-.25 G 2.5(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5 +E F1(br)108 357.6 Q(eak)-.18 E F0([)2.5 E F2(n)A F0(])A .054 +(Exit from within a)144 369.6 R F1 -.25(fo)2.554 G(r).25 E F0(,)A F1 +(while)2.554 E F0(,)A F1(until)2.555 E F0 2.555(,o)C(r)-2.555 E F1 +(select)2.555 E F0 2.555(loop. If)2.555 F F2(n)2.555 E F0 .055 +(is speci\214ed, break)2.555 F F2(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G +(ls.).15 E F2(n)5.415 E F0 .055(must be)2.795 F/F3 10/Symbol SF<b3>2.555 +E F0(1.)2.555 E(If)144 381.6 Q F2(n)3.075 E F0 .215(is greater than the\ + number of enclosing loops, all enclosing loops are e)2.955 F 2.714 +(xited. The)-.15 F .214(return v)2.714 F(alue)-.25 E(is 0 unless)144 +393.6 Q F2(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F1 -.2 +(bu)108 410.4 S(iltin).2 E F2(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E +F2(ar)A(guments)-.37 E F0(])A(Ex)144 422.4 Q .792 +(ecute the speci\214ed shell b)-.15 F .792(uiltin, passing it)-.2 F F2 +(ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G .793(nd return its e)-3.293 +F .793(xit status.)-.15 F .793(This is useful)5.793 F .616 (when de\214ning a function whose name is the same as a shell b)144 -386.4 R .615(uiltin, retaining the functionality of)-.2 F .57(the b)144 -398.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 +434.4 R .615(uiltin, retaining the functionality of)-.2 F .57(the b)144 +446.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F1(cd)3.07 E F0 -.2(bu)3.07 G .57(iltin is commonly rede\214ned this w).2 F(ay)-.1 E -5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 410.4 Q(alse if)-.1 +5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 458.4 Q(alse if)-.1 E F2(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E -(uiltin command.)-.2 E F1(cd)108 427.2 Q F0([)2.5 E F1(\255L|-P)A F0 2.5 -(][)C F2(dir)-2.5 E F0(])A .21(Change the current directory to)144 439.2 -R F2(dir)2.71 E F0 5.21(.T)C .21(he v)-5.21 F(ariable)-.25 E/F4 9 -/Times-Bold@0 SF(HOME)2.71 E F0 .21(is the def)2.46 F(ault)-.1 E F2(dir) -2.71 E F0 5.21(.T).73 G .21(he v)-5.21 F(ariable)-.25 E F4(CDP)2.71 E --.855(AT)-.666 G(H).855 E F0 .776 -(de\214nes the search path for the directory containing)144 451.2 R F2 +(uiltin command.)-.2 E F1(caller)108 475.2 Q F0([)2.5 E F2 -.2(ex)C(pr) +.2 E F0(])A .254(Returns the conte)144 487.2 R .254(xt of an)-.15 F +2.754(ya)-.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254 +(ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G +.254(cuted with the).15 F F1(.)2.753 E F0(or)2.753 E F1(sour)144 499.2 Q +(ce)-.18 E F0 -.2(bu)3.062 G 3.062(iltins. W).2 F(ithout)-.4 E F2 -.2 +(ex)3.062 G(pr).2 E F0(,)A F1(caller)3.062 E F0 .562 +(displays the line number and source \214lename of the current)3.062 F +.254(subroutine call.)144 511.2 R .254(If a non-ne)5.254 F -.05(ga)-.15 +G(ti).05 E .554 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 +F F2 -.2(ex)2.753 G(pr).2 E F0(,)A F1(caller)2.753 E F0 .253 +(displays the line number)2.753 F 2.753(,s)-.4 G(ub-)-2.753 E 1.327(rou\ +tine name, and source \214le corresponding to that position in the curr\ +ent e)144 523.2 R -.15(xe)-.15 G 1.328(cution call stack.).15 F .001 +(This e)144 535.2 R .001(xtra information may be used, for e)-.15 F .001 +(xample, to print a stack trace.)-.15 F(The current frame is frame)5 E +3.019(0. The)144 547.2 R .519(return v)3.019 F .519 +(alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .52 +(cuting a subroutine call or).15 F F2 -.2(ex)3.02 G(pr).2 E F0 .52 +(does not corre-)3.02 F(spond to a v)144 559.2 Q +(alid position in the call stack.)-.25 E F1(cd)108 576 Q F0([)2.5 E F1 +(\255L|-P)A F0 2.5(][)C F2(dir)-2.5 E F0(])A .21 +(Change the current directory to)144 588 R F2(dir)2.71 E F0 5.21(.T)C +.21(he v)-5.21 F(ariable)-.25 E/F4 9/Times-Bold@0 SF(HOME)2.71 E F0 .21 +(is the def)2.46 F(ault)-.1 E F2(dir)2.71 E F0 5.21(.T).73 G .21(he v) +-5.21 F(ariable)-.25 E F4(CDP)2.71 E -.855(AT)-.666 G(H).855 E F0 .776 +(de\214nes the search path for the directory containing)144 600 R F2 (dir)3.276 E F0 5.777(.A).73 G(lternati)-5.777 E 1.077 -.15(ve d)-.25 H .777(irectory names in).15 F F4(CDP)3.277 E -.855(AT)-.666 G(H).855 E F0 -.764(are separated by a colon \(:\).)144 463.2 R 3.264(An)5.764 G .764 +.764(are separated by a colon \(:\).)144 612 R 3.264(An)5.764 G .764 (ull directory name in)-3.264 F F4(CDP)3.264 E -.855(AT)-.666 G(H).855 E -F0 .764(is the same as the current direc-)3.014 F(tory)144 475.2 Q 2.973 +F0 .764(is the same as the current direc-)3.014 F(tory)144 624 Q 2.973 (,i)-.65 G .473(.e., `)-2.973 F(`)-.74 E F1(.)A F0 -.74('')C 5.473(.I) .74 G(f)-5.473 E F2(dir)3.323 E F0(be)3.703 E .474 (gins with a slash \(/\), then)-.15 F F4(CDP)2.974 E -.855(AT)-.666 G(H) .855 E F0 .474(is not used. The)2.724 F F1<ad50>2.974 E F0 .474 -(option says to use)2.974 F .58(the ph)144 487.2 R .58 +(option says to use)2.974 F .58(the ph)144 636 R .58 (ysical directory structure instead of follo)-.05 F .579 (wing symbolic links \(see also the)-.25 F F1<ad50>3.079 E F0 .579 -(option to the)3.079 F F1(set)144 499.2 Q F0 -.2(bu)3.383 G .883 +(option to the)3.079 F F1(set)144 648 Q F0 -.2(bu)3.383 G .883 (iltin command\); the).2 F F1<ad4c>3.383 E F0 .884 (option forces symbolic links to be follo)3.384 F 3.384(wed. An)-.25 F (ar)3.384 E .884(gument of)-.18 F F1<ad>3.384 E F0(is)3.384 E(equi)144 -511.2 Q -.25(va)-.25 G .063(lent to).25 F F4($OLDPWD)2.563 E/F5 9 +660 Q -.25(va)-.25 G .063(lent to).25 F F4($OLDPWD)2.563 E/F5 9 /Times-Roman@0 SF(.)A F0 .063(If a non-empty directory name from)4.563 F F1(CDP)2.562 E -.95(AT)-.74 G(H).95 E F0 .062(is used, or if)2.562 F F1 -<ad>2.562 E F0 .062(is the \214rst)2.562 F(ar)144 523.2 Q .116(gument, \ -and the directory change is successful, the absolute pathname of the ne) +<ad>2.562 E F0 .062(is the \214rst)2.562 F(ar)144 672 Q .116(gument, an\ +d the directory change is successful, the absolute pathname of the ne) -.18 F 2.616(ww)-.25 G .116(orking direc-)-2.716 F 1.165 -(tory is written to the standard output.)144 535.2 R 1.164(The return v) +(tory is written to the standard output.)144 684 R 1.164(The return v) 6.164 F 1.164(alue is true if the directory w)-.25 F 1.164 -(as successfully)-.1 F(changed; f)144 547.2 Q(alse otherwise.)-.1 E F1 -(caller)108 564 Q F0([)2.5 E F2 -.2(ex)C(pr).2 E F0(])A .253 -(Returns the conte)144 576 R .254(xt of an)-.15 F 2.754(ya)-.15 G(cti) --2.754 E .554 -.15(ve s)-.25 H .254 -(ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G -.254(cuted with the).15 F F1(.)2.754 E F0(or)2.754 E F1(sour)144 588 Q -(ce)-.18 E F0 -.2(bu)3.063 G 3.063(iltins. W).2 F(ithout)-.4 E F2 -.2 -(ex)3.062 G(pr).2 E F0(,)A F1(caller)3.062 E F0 .562 -(displays the line number and source \214lename of the current)3.062 F -.253(subroutine call.)144 600 R .253(If a non-ne)5.253 F -.05(ga)-.15 G -(ti).05 E .553 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15 F -F2 -.2(ex)2.753 G(pr).2 E F0(,)A F1(caller)2.753 E F0 .254 -(displays the line number)2.754 F 2.754(,s)-.4 G(ub-)-2.754 E 1.327(rou\ -tine name, and source \214le corresponding to that position in the curr\ -ent e)144 612 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e)144 -624 Q(xtra information may be used, for e)-.15 E .001 -(xample, to print a stack trace.)-.15 F .001(The current frame is frame) -5.001 F 3.02(0. The)144 636 R .52(return v)3.02 F .52 -(alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .519 -(cuting a subroutine call or).15 F F2 -.2(ex)3.019 G(pr).2 E F0 .519 -(does not corre-)3.019 F(spond to a v)144 648 Q -(alid position in the call stack.)-.25 E F1(command)108 664.8 Q F0([)2.5 -E F1(\255pVv)A F0(])A F2(command)2.5 E F0([)2.5 E F2(ar)A(g)-.37 E F0 -(...])2.5 E(Run)144 676.8 Q F2(command)2.956 E F0(with)3.527 E F2(ar) -3.087 E(gs)-.37 E F0 .257 -(suppressing the normal shell function lookup. Only b)3.027 F .257 -(uiltin commands or)-.2 F .502(commands found in the)144 688.8 R F4 --.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G 3.002 -(cuted. If).15 F(the)3.002 E F1<ad70>3.002 E F0 .502(option is gi)3.002 -F -.15(ve)-.25 G .501(n, the search for).15 F F2(command)3.201 E F0(is) -3.771 E .231(performed using a def)144 700.8 R .231(ault v)-.1 F .231 -(alue for)-.25 F F1 -.74(PA)2.731 G(TH)-.21 E F0 .231 -(that is guaranteed to \214nd all of the standard utilities.)2.731 F(If) -5.232 E .175(either the)144 712.8 R F1<ad56>2.675 E F0(or)2.675 E F1 -<ad76>2.675 E F0 .175(option is supplied, a description of)2.675 F F2 -(command)2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F1<ad76>2.674 E -F0 .174(option causes)2.674 F 3.11(as)144 724.8 S .61(ingle w)-3.11 F -.61(ord indicating the command or \214le name used to in)-.1 F -.2(vo) --.4 G -.1(ke).2 G F2(command)3.41 E F0 .61(to be displayed; the)3.88 F +(as successfully)-.1 F(changed; f)144 696 Q(alse otherwise.)-.1 E (GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(2)203.725 E 0 Cg EP %%Page: 3 3 %%BeginPageSetup @@ -491,1966 +483,2038 @@ BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 (TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF<ad56>144 84 Q F0 .25(option produces a more v)2.75 F -.25(erbose description.)-.15 F .249(If the)5.25 F F1<ad56>2.749 E F0(or) +/Times-Bold@0 SF(command)108 84 Q F0([)2.5 E F1(\255pVv)A F0(])A/F2 10 +/Times-Italic@0 SF(command)2.5 E F0([)2.5 E F2(ar)A(g)-.37 E F0(...])2.5 +E(Run)144 96 Q F2(command)2.956 E F0(with)3.527 E F2(ar)3.087 E(gs)-.37 +E F0 .257(suppressing the normal shell function lookup. Only b)3.027 F +.257(uiltin commands or)-.2 F .502(commands found in the)144 108 R/F3 9 +/Times-Bold@0 SF -.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15 +(xe)-.15 G 3.002(cuted. If).15 F(the)3.002 E F1<ad70>3.002 E F0 .502 +(option is gi)3.002 F -.15(ve)-.25 G .501(n, the search for).15 F F2 +(command)3.201 E F0(is)3.771 E .231(performed using a def)144 120 R .231 +(ault v)-.1 F .231(alue for)-.25 F F1 -.74(PA)2.731 G(TH)-.21 E F0 .231 +(that is guaranteed to \214nd all of the standard utilities.)2.731 F(If) +5.232 E .175(either the)144 132 R F1<ad56>2.675 E F0(or)2.675 E F1<ad76> +2.675 E F0 .175(option is supplied, a description of)2.675 F F2(command) +2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F1<ad76>2.674 E F0 .174 +(option causes)2.674 F 3.11(as)144 144 S .61(ingle w)-3.11 F .61 +(ord indicating the command or \214le name used to in)-.1 F -.2(vo)-.4 G +-.1(ke).2 G F2(command)3.41 E F0 .61(to be displayed; the)3.88 F F1 +<ad56>144 156 Q F0 .25(option produces a more v)2.75 F .25 +(erbose description.)-.15 F .249(If the)5.25 F F1<ad56>2.749 E F0(or) 2.749 E F1<ad76>2.749 E F0 .249(option is supplied, the e)2.749 F .249 -(xit status)-.15 F 1.004(is 0 if)144 96 R/F2 10/Times-Italic@0 SF -(command)3.704 E F0 -.1(wa)4.274 G 3.504(sf).1 G 1.005 -(ound, and 1 if not.)-3.504 F 1.005 +(xit status)-.15 F 1.004(is 0 if)144 168 R F2(command)3.704 E F0 -.1(wa) +4.274 G 3.504(sf).1 G 1.005(ound, and 1 if not.)-3.504 F 1.005 (If neither option is supplied and an error occurred or)6.005 F F2 -(command)144.2 108 Q F0 1.599(cannot be found, the e)4.869 F 1.599 +(command)144.2 180 Q F0 1.599(cannot be found, the e)4.869 F 1.599 (xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.598 -(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 120 S +(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 192 S (iltin is the e).2 E(xit status of)-.15 E F2(command)2.5 E F0(.).77 E F1 -(compgen)108 136.8 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d) --.37 E F0(])A .012(Generate possible completion matches for)144 148.8 R +(compgen)108 208.8 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d) +-.37 E F0(])A .012(Generate possible completion matches for)144 220.8 R F2(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F2(option)2.513 E F0 .013(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982 -(accepted by the)144 160.8 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981 +(accepted by the)144 232.8 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981 (iltin with the e).2 F .981(xception of)-.15 F F1<ad70>3.481 E F0(and) 3.481 E F1<ad72>3.481 E F0 3.481(,a)C .981(nd write the matches to the) --3.481 F 1.415(standard output.)144 172.8 R 1.415(When using the)6.415 F +-3.481 F 1.415(standard output.)144 244.8 R 1.415(When using the)6.415 F F1<ad46>3.915 E F0(or)3.915 E F1<ad43>3.915 E F0 1.415(options, the v) 3.915 F 1.415(arious shell v)-.25 F 1.415(ariables set by the pro-)-.25 -F(grammable completion f)144 184.8 Q(acilities, while a)-.1 E -.25(va) +F(grammable completion f)144 256.8 Q(acilities, while a)-.1 E -.25(va) -.2 G(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.) --.25 E .352(The matches will be generated in the same w)144 208.8 R .352 +-.25 E .352(The matches will be generated in the same w)144 280.8 R .352 (ay as if the programmable completion code had gen-)-.1 F .02(erated th\ em directly from a completion speci\214cation with the same \215ags.)144 -220.8 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) -2.52 F(those completions matching)144 232.8 Q F2(wor)2.5 E(d)-.37 E F0 -(will be displayed.)2.5 E(The return v)144 256.8 Q +292.8 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only) +2.52 F(those completions matching)144 304.8 Q F2(wor)2.5 E(d)-.37 E F0 +(will be displayed.)2.5 E(The return v)144 328.8 Q (alue is true unless an in)-.25 E -.25(va)-.4 G (lid option is supplied, or no matches were generated.).25 E F1 -(complete)108 273.6 Q F0([)3.265 E F1(\255abcdefgjksuv)A F0 3.265(][)C -F1<ad6f>-3.265 E F2(comp-option)3.265 E F0 3.265(][)C F1<ad41>-3.265 E -F2(action)3.265 E F0 3.265(][)C F1<ad47>-3.265 E F2(globpat)3.265 E F0 -3.265(][)C F1<ad57>-3.265 E F2(wor)3.265 E(dlist)-.37 E F0 3.265(][)C F1 -<ad46>-3.265 E F2(function)3.265 E F0 3.265(][)C F1<ad43>-3.265 E F2 -(command)108 285.6 Q F0(])A([)144 297.6 Q F1<ad58>A F2(\214lterpat)2.5 E -F0 2.5(][)C F1<ad50>-2.5 E F2(pr)2.5 E(e\214x)-.37 E F0 2.5(][)C F1 -<ad53>-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(])A F2(name)2.5 E F0([)2.5 E F2 -(name ...)A F0(])A F1(complete \255pr)108 309.6 Q F0([)2.5 E F2(name)A -F0(...])2.5 E .634(Specify ho)144 321.6 R 3.134(wa)-.25 G -.18(rg)-3.134 -G .634(uments to each).18 F F2(name)3.134 E F0 .634 -(should be completed.)3.134 F .633(If the)5.634 F F1<ad70>3.133 E F0 -.633(option is supplied, or if no)3.133 F .139(options are supplied, e) -144 333.6 R .139(xisting completion speci\214cations are printed in a w) --.15 F .14(ay that allo)-.1 F .14(ws them to be)-.25 F .31 -(reused as input.)144 345.6 R(The)5.31 E F1<ad72>2.81 E F0 .31 -(option remo)2.81 F -.15(ve)-.15 G 2.81(sac).15 G .31 -(ompletion speci\214cation for each)-2.81 F F2(name)2.81 E F0 2.81(,o)C -1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E F2(name)2.81 E F0(s)A -(are supplied, all completion speci\214cations.)144 357.6 Q 1.437 +(complete)108 345.6 Q F0([)3.034 E F1(\255abcdefgjksuv)A F0 3.034(][)C +F1<ad6f>-3.034 E F2(comp-option)3.034 E F0 3.034(][)C F1<ad45>-3.034 E +F0 3.033(][)C F1<ad41>-3.033 E F2(action)3.033 E F0 3.033(][)C F1<ad47> +-3.033 E F2(globpat)3.033 E F0 3.033(][)C F1<ad57>-3.033 E F2(wor)3.033 +E(dlist)-.37 E F0 3.033(][)C F1<ad46>-3.033 E F2(function)3.033 E F0(])A +([)108 357.6 Q F1<ad43>A F2(command)2.5 E F0(])A([)144 369.6 Q F1<ad58>A +F2(\214lterpat)2.5 E F0 2.5(][)C F1<ad50>-2.5 E F2(pr)2.5 E(e\214x)-.37 +E F0 2.5(][)C F1<ad53>-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(])A F2(name)2.5 +E F0([)2.5 E F2(name ...)A F0(])A F1(complete \255pr)108 381.6 Q F0([) +2.5 E F1<ad45>A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .634 +(Specify ho)144 393.6 R 3.134(wa)-.25 G -.18(rg)-3.134 G .634 +(uments to each).18 F F2(name)3.134 E F0 .634(should be completed.)3.134 +F .633(If the)5.634 F F1<ad70>3.133 E F0 .633 +(option is supplied, or if no)3.133 F .139(options are supplied, e)144 +405.6 R .139(xisting completion speci\214cations are printed in a w)-.15 +F .14(ay that allo)-.1 F .14(ws them to be)-.25 F .31(reused as input.) +144 417.6 R(The)5.31 E F1<ad72>2.81 E F0 .31(option remo)2.81 F -.15(ve) +-.15 G 2.81(sac).15 G .31(ompletion speci\214cation for each)-2.81 F F2 +(name)2.81 E F0 2.81(,o)C 1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E +F2(name)2.81 E F0(s)A 1.392 +(are supplied, all completion speci\214cations.)144 429.6 R(The)6.392 E +F1<ad45>3.892 E F0 1.393(option indicates that the remaining options) +3.893 F 1.304(and actions should apply to `)144 441.6 R(`empty')-.74 E +3.804('c)-.74 G 1.304 +(ommand completion; that is, completion attempted on a)-3.804 F +(blank line.)144 453.6 Q 1.437 (The process of applying these completion speci\214cations when w)144 -381.6 R 1.438(ord completion is attempted is)-.1 F(described abo)144 -393.6 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E +477.6 R 1.438(ord completion is attempted is)-.1 F(described abo)144 +489.6 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E (ogrammable Completion)-.18 E F0(.)A .556 -(Other options, if speci\214ed, ha)144 417.6 R .856 -.15(ve t)-.2 H .555 +(Other options, if speci\214ed, ha)144 513.6 R .856 -.15(ve t)-.2 H .555 (he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F .555 (guments to the)-.18 F F1<ad47>3.055 E F0(,)A F1<ad57>3.055 E F0 3.055 (,a)C(nd)-3.055 E F1<ad58>3.055 E F0 .722(options \(and, if necessary) -144 429.6 R 3.222(,t)-.65 G(he)-3.222 E F1<ad50>3.222 E F0(and)3.222 E +144 525.6 R 3.222(,t)-.65 G(he)-3.222 E F1<ad50>3.222 E F0(and)3.222 E F1<ad53>3.222 E F0 .723 (options\) should be quoted to protect them from e)3.222 F(xpan-)-.15 E -(sion before the)144 441.6 Q F1(complete)2.5 E F0 -.2(bu)2.5 G -(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1<ad6f>144 453.6 Q -F2(comp-option)2.5 E F0(The)184 465.6 Q F2(comp-option)2.791 E F0 .291 +(sion before the)144 537.6 Q F1(complete)2.5 E F0 -.2(bu)2.5 G +(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1<ad6f>144 549.6 Q +F2(comp-option)2.5 E F0(The)184 561.6 Q F2(comp-option)2.791 E F0 .291 (controls se)2.791 F -.15(ve)-.25 G .291(ral aspects of the compspec') .15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291 -(yond the simple)-.15 F(generation of completions.)184 477.6 Q F2 -(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 489.6 Q F0 -.281(Perform the rest of the def)224 501.6 R(ault)-.1 E F1(bash)2.781 E +(yond the simple)-.15 F(generation of completions.)184 573.6 Q F2 +(comp-option)5 E F0(may be one of:)2.5 E F1(bashdefault)184 585.6 Q F0 +.281(Perform the rest of the def)224 597.6 R(ault)-.1 E F1(bash)2.781 E F0 .281(completions if the compspec generates no)2.781 F(matches.)224 -513.6 Q F1(default)184 525.6 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 +609.6 Q F1(default)184 621.6 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 G(ef)-5.376 E 2.875 (ault \214lename completion if the compspec generates no)-.1 F(matches.) -224 537.6 Q F1(dir)184 549.6 Q(names)-.15 E F0(Perform directory name c\ -ompletion if the compspec generates no matches.)224 561.6 Q F1 -(\214lenames)184 573.6 Q F0 -.7(Te)224 585.6 S .137(ll readline that th\ +224 633.6 Q F1(dir)184 645.6 Q(names)-.15 E F0(Perform directory name c\ +ompletion if the compspec generates no matches.)224 657.6 Q F1 +(\214lenames)184 669.6 Q F0 -.7(Te)224 681.6 S .137(ll readline that th\ e compspec generates \214lenames, so it can perform an).7 F 2.637<798c> --.15 G(le-)-2.637 E .496(name\255speci\214c processing \(lik)224 597.6 R +-.15 G(le-)-2.637 E .496(name\255speci\214c processing \(lik)224 693.6 R 2.996(ea)-.1 G .496(dding a slash to directory names or suppress-)-2.996 -F(ing trailing spaces\).)224 609.6 Q -(Intended to be used with shell functions.)5 E F1(nospace)184 621.6 Q F0 +F(ing trailing spaces\).)224 705.6 Q +(Intended to be used with shell functions.)5 E F1(nospace)184 717.6 Q F0 -.7(Te)6.11 G .22(ll readline not to append a space \(the def).7 F .22 (ault\) to w)-.1 F .22(ords completed at the end)-.1 F(of the line.)224 -633.6 Q F1(plusdirs)184 645.6 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G -1.985(atches de\214ned by the compspec are generated, directory name) --4.485 F .583(completion is attempted and an)224 657.6 R 3.084(ym)-.15 G -.584(atches are added to the results of the other)-3.084 F(actions.)224 -669.6 Q F1<ad41>144 681.6 Q F2(action)2.5 E F0(The)184 693.6 Q F2 -(action)2.5 E F0(may be one of the follo)2.5 E -(wing to generate a list of possible completions:)-.25 E F1(alias)184 -705.6 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F1<ad61> -2.5 E F0(.)A(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(3)203.725 E 0 -Cg EP +729.6 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(3)203.725 E 0 Cg EP %%Page: 4 4 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 (TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(arrayv)184 84 Q(ar)-.1 E F0(Array v)224 96 Q -(ariable names.)-.25 E F1 4.7(binding Readline)184 108 R F0 -.1(ke)2.5 G -2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 120 S(iltin).2 E F0 +/Times-Bold@0 SF(plusdirs)184 84 Q F0 1.985(After an)5.54 F 4.485(ym) +-.15 G 1.985 +(atches de\214ned by the compspec are generated, directory name)-4.485 F +.583(completion is attempted and an)224 96 R 3.084(ym)-.15 G .584 +(atches are added to the results of the other)-3.084 F(actions.)224 108 +Q F1<ad41>144 120 Q/F2 10/Times-Italic@0 SF(action)2.5 E F0(The)184 132 +Q F2(action)2.5 E F0(may be one of the follo)2.5 E +(wing to generate a list of possible completions:)-.25 E F1(alias)184 +144 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F1<ad61>2.5 +E F0(.)A F1(arrayv)184 156 Q(ar)-.1 E F0(Array v)224 168 Q +(ariable names.)-.25 E F1 4.7(binding Readline)184 180 R F0 -.1(ke)2.5 G +2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 192 S(iltin).2 E F0 (Names of shell b)11.85 E(uiltin commands.)-.2 E -(May also be speci\214ed as)5 E F1<ad62>2.5 E F0(.)A F1(command)184 132 -Q F0(Command names.)224 144 Q(May also be speci\214ed as)5 E F1<ad63>2.5 -E F0(.)A F1(dir)184 156 Q(ectory)-.18 E F0(Directory names.)224 168 Q -(May also be speci\214ed as)5 E F1<ad64>2.5 E F0(.)A F1(disabled)184 180 -Q F0(Names of disabled shell b)224 192 Q(uiltins.)-.2 E F1(enabled)184 -204 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 -216 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May) +(May also be speci\214ed as)5 E F1<ad62>2.5 E F0(.)A F1(command)184 204 +Q F0(Command names.)224 216 Q(May also be speci\214ed as)5 E F1<ad63>2.5 +E F0(.)A F1(dir)184 228 Q(ectory)-.18 E F0(Directory names.)224 240 Q +(May also be speci\214ed as)5 E F1<ad64>2.5 E F0(.)A F1(disabled)184 252 +Q F0(Names of disabled shell b)224 264 Q(uiltins.)-.2 E F1(enabled)184 +276 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184 +288 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May) -.25 F(also be speci\214ed as)2.5 E F1<ad65>2.5 E F0(.)A F1(\214le)184 -228 Q F0(File names.)27.22 E(May also be speci\214ed as)5 E F1<ad66>2.5 -E F0(.)A F1(function)184 240 Q F0(Names of shell functions.)224 252 Q F1 -(gr)184 264 Q(oup)-.18 E F0(Group names.)14.62 E +300 Q F0(File names.)27.22 E(May also be speci\214ed as)5 E F1<ad66>2.5 +E F0(.)A F1(function)184 312 Q F0(Names of shell functions.)224 324 Q F1 +(gr)184 336 Q(oup)-.18 E F0(Group names.)14.62 E (May also be speci\214ed as)5 E F1<ad67>2.5 E F0(.)A F1(helptopic)184 -276 Q F0(Help topics as accepted by the)224 288 Q F1(help)2.5 E F0 -.2 -(bu)2.5 G(iltin.).2 E F1(hostname)184 300 Q F0(Hostnames, as tak)224 312 -Q(en from the \214le speci\214ed by the)-.1 E/F2 9/Times-Bold@0 SF -(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 324 Q F0 +348 Q F0(Help topics as accepted by the)224 360 Q F1(help)2.5 E F0 -.2 +(bu)2.5 G(iltin.).2 E F1(hostname)184 372 Q F0(Hostnames, as tak)224 384 +Q(en from the \214le speci\214ed by the)-.1 E/F3 9/Times-Bold@0 SF +(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 396 Q F0 (Job names, if job control is acti)26.11 E -.15(ve)-.25 G 5(.M).15 G -(ay also be speci\214ed as)-5 E F1<ad6a>2.5 E F0(.)A F1 -.1(ke)184 336 S -(yw).1 E(ord)-.1 E F0(Shell reserv)224 348 Q(ed w)-.15 E 2.5(ords. May) +(ay also be speci\214ed as)-5 E F1<ad6a>2.5 E F0(.)A F1 -.1(ke)184 408 S +(yw).1 E(ord)-.1 E F0(Shell reserv)224 420 Q(ed w)-.15 E 2.5(ords. May) -.1 F(also be speci\214ed as)2.5 E F1<ad6b>2.5 E F0(.)A F1(running)184 -360 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve) --.25 G(.).15 E F1(ser)184 372 Q(vice)-.1 E F0(Service names.)10.67 E -(May also be speci\214ed as)5 E F1<ad73>2.5 E F0(.)A F1(setopt)184 384 Q +432 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve) +-.25 G(.).15 E F1(ser)184 444 Q(vice)-.1 E F0(Service names.)10.67 E +(May also be speci\214ed as)5 E F1<ad73>2.5 E F0(.)A F1(setopt)184 456 Q F0 -1.11(Va)14.45 G(lid ar)1.11 E(guments for the)-.18 E F1<ad6f>2.5 E F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1 -(shopt)184 396 Q F0(Shell option names as accepted by the)16.66 E F1 -(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 408 Q F0 -(Signal names.)14.99 E F1(stopped)184 420 Q F0 +(shopt)184 468 Q F0(Shell option names as accepted by the)16.66 E F1 +(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 480 Q F0 +(Signal names.)14.99 E F1(stopped)184 492 Q F0 (Names of stopped jobs, if job control is acti)6.66 E -.15(ve)-.25 G(.) -.15 E F1(user)184 432 Q F0(User names.)21.67 E -(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 444 S +.15 E F1(user)184 504 Q F0(User names.)21.67 E +(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 516 S (riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F -(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A F1<ad47>144 456 Q/F3 -10/Times-Italic@0 SF(globpat)2.5 E F0 1.411(The \214lename e)184 468 R -1.411(xpansion pattern)-.15 F F3(globpat)3.911 E F0 1.411(is e)3.911 F -1.411(xpanded to generate the possible comple-)-.15 F(tions.)184 480 Q -F1<ad57>144 492 Q F3(wor)2.5 E(dlist)-.37 E F0(The)184 504 Q F3(wor) -3.639 E(dlist)-.37 E F0 1.14(is split using the characters in the)3.639 -F F2(IFS)3.64 E F0 1.14(special v)3.39 F 1.14 -(ariable as delimiters, and)-.25 F 2.008(each resultant w)184 516 R -2.008(ord is e)-.1 F 4.508(xpanded. The)-.15 F 2.007 -(possible completions are the members of the)4.508 F -(resultant list which match the w)184 528 Q(ord being completed.)-.1 E -F1<ad43>144 540 Q F3(command)2.5 E(command)184 552 Q F0 1.055(is e)3.555 -F -.15(xe)-.15 G 1.055(cuted in a subshell en).15 F 1.056 +(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A F1<ad47>144 528 Q F2 +(globpat)2.5 E F0 1.411(The \214lename e)184 540 R 1.411 +(xpansion pattern)-.15 F F2(globpat)3.911 E F0 1.411(is e)3.911 F 1.411 +(xpanded to generate the possible comple-)-.15 F(tions.)184 552 Q F1 +<ad57>144 564 Q F2(wor)2.5 E(dlist)-.37 E F0(The)184 576 Q F2(wor)3.639 +E(dlist)-.37 E F0 1.14(is split using the characters in the)3.639 F F3 +(IFS)3.64 E F0 1.14(special v)3.39 F 1.14(ariable as delimiters, and) +-.25 F 2.008(each resultant w)184 588 R 2.008(ord is e)-.1 F 4.508 +(xpanded. The)-.15 F 2.007(possible completions are the members of the) +4.508 F(resultant list which match the w)184 600 Q(ord being completed.) +-.1 E F1<ad43>144 612 Q F2(command)2.5 E(command)184 624 Q F0 1.055 +(is e)3.555 F -.15(xe)-.15 G 1.055(cuted in a subshell en).15 F 1.056 (vironment, and its output is used as the possible)-.4 F(completions.) -184 564 Q F1<ad46>144 576 Q F3(function)2.5 E F0 1.181 -(The shell function)184 588 R F3(function)3.681 E F0 1.181(is e)3.681 F +184 636 Q F1<ad46>144 648 Q F2(function)2.5 E F0 1.181 +(The shell function)184 660 R F2(function)3.681 E F0 1.181(is e)3.681 F -.15(xe)-.15 G 1.181(cuted in the current shell en).15 F 3.68 (vironment. When)-.4 F 1.18(it \214n-)3.68 F .932 -(ishes, the possible completions are retrie)184 600 R -.15(ve)-.25 G -3.432(df).15 G .932(rom the v)-3.432 F .932(alue of the)-.25 F F2 -(COMPREPL)3.432 E(Y)-.828 E F0(array)3.182 E -.25(va)184 612 S(riable.) -.25 E F1<ad58>144 624 Q F3(\214lterpat)2.5 E(\214lterpat)184 636 Q F0 +(ishes, the possible completions are retrie)184 672 R -.15(ve)-.25 G +3.432(df).15 G .932(rom the v)-3.432 F .932(alue of the)-.25 F F3 +(COMPREPL)3.432 E(Y)-.828 E F0(array)3.182 E -.25(va)184 684 S(riable.) +.25 E F1<ad58>144 696 Q F2(\214lterpat)2.5 E(\214lterpat)184 708 Q F0 .733(is a pattern as used for \214lename e)3.234 F 3.233(xpansion. It) -.15 F .733(is applied to the list of possible)3.233 F 1.596 -(completions generated by the preceding options and ar)184 648 R 1.596 -(guments, and each completion)-.18 F(matching)184 660 Q F3(\214lterpat) -3.205 E F0 .705(is remo)3.205 F -.15(ve)-.15 G 3.205(df).15 G .704 -(rom the list.)-3.205 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0 -(in)3.204 E F3(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704 -(tes the pattern;).05 F(in this case, an)184 672 Q 2.5(yc)-.15 G -(ompletion not matching)-2.5 E F3(\214lterpat)2.5 E F0(is remo)2.5 E --.15(ve)-.15 G(d.).15 E F1<ad50>144 684 Q F3(pr)2.5 E(e\214x)-.37 E(pr) -184 696 Q(e\214x)-.37 E F0 .534(is added at the be)3.034 F .534 -(ginning of each possible completion after all other options ha)-.15 F --.15(ve)-.2 G(been applied.)184 708 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20) +(completions generated by the preceding options and ar)184 720 R 1.596 +(guments, and each completion)-.18 F(GNU Bash-3.0)72 768 Q(2004 Apr 20) 148.735 E(4)203.725 E 0 Cg EP %%Page: 5 5 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF<ad53>144 84 Q/F2 10/Times-Italic@0 SF(suf)2.5 E 2.81 -(\214x suf)-.18 F<8c78>-.18 E F0 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(matching)184 +84 Q/F1 10/Times-Italic@0 SF(\214lterpat)3.205 E F0 .705(is remo)3.205 F +-.15(ve)-.15 G 3.205(df).15 G .704(rom the list.)-3.205 F 3.204(Al)5.704 +G(eading)-3.204 E/F2 10/Times-Bold@0 SF(!)3.204 E F0(in)3.204 E F1 +(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704(tes the pattern;) +.05 F(in this case, an)184 96 Q 2.5(yc)-.15 G(ompletion not matching) +-2.5 E F1(\214lterpat)2.5 E F0(is remo)2.5 E -.15(ve)-.15 G(d.).15 E F2 +<ad50>144 108 Q F1(pr)2.5 E(e\214x)-.37 E(pr)184 120 Q(e\214x)-.37 E F0 +.534(is added at the be)3.034 F .534 +(ginning of each possible completion after all other options ha)-.15 F +-.15(ve)-.2 G(been applied.)184 132 Q F2<ad53>144 144 Q F1(suf)2.5 E +2.81(\214x suf)-.18 F<8c78>-.18 E F0 (is appended to each possible completion after all other options ha)2.5 -E .3 -.15(ve b)-.2 H(een applied.).15 E .467(The return v)144 100.8 R +E .3 -.15(ve b)-.2 H(een applied.).15 E .467(The return v)144 160.8 R .467(alue is true unless an in)-.25 F -.25(va)-.4 G .466 -(lid option is supplied, an option other than).25 F F1<ad70>2.966 E F0 -(or)2.966 E F1<ad72>2.966 E F0 .466(is sup-)2.966 F 1.361 -(plied without a)144 112.8 R F2(name)3.861 E F0(ar)3.861 E 1.361 +(lid option is supplied, an option other than).25 F F2<ad70>2.966 E F0 +(or)2.966 E F2<ad72>2.966 E F0 .466(is sup-)2.966 F 1.361 +(plied without a)144 172.8 R F1(name)3.861 E F0(ar)3.861 E 1.361 (gument, an attempt is made to remo)-.18 F 1.662 -.15(ve a c)-.15 H -1.362(ompletion speci\214cation for a).15 F F2(name)144 124.8 Q F0 +1.362(ompletion speci\214cation for a).15 F F1(name)144 184.8 Q F0 (for which no speci\214cation e)2.5 E (xists, or an error occurs adding a completion speci\214cation.)-.15 E -F1(compopt)108 141.6 Q F0([)2.5 E F1<ad6f>A F2(option)2.5 E F0 2.5(][)C -F1(+o)-2.5 E F2(option)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .447 -(Modify completion options for each)144 153.6 R F2(name)2.947 E F0 .447 -(according to the)2.947 F F2(option)2.947 E F0 .447 +F2(compopt)108 201.6 Q F0([)2.5 E F2<ad6f>A F1(option)2.5 E F0 2.5(][)C +F2(+o)-2.5 E F1(option)2.5 E F0 2.5(][)C F1(name)-2.5 E F0(])A .447 +(Modify completion options for each)144 213.6 R F1(name)2.947 E F0 .447 +(according to the)2.947 F F1(option)2.947 E F0 .447 (s, or for the currently-e)B -.15(xe)-.15 G(cution).15 E .725 -(completion if no)144 165.6 R F2(name)3.225 E F0 3.225(sa)C .725 -(re supplied.)-3.225 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa) +(completion if no)144 225.6 R F1(name)3.225 E F0 3.225(sa)C .725 +(re supplied.)-3.225 F .725(If no)5.725 F F1(option)3.225 E F0 3.225(sa) C .725(re gi)-3.225 F -.15(ve)-.25 G .726 -(n, display the completion options for).15 F(each)144 177.6 Q F2(name) +(n, display the completion options for).15 F(each)144 237.6 Q F1(name) 3.224 E F0 .724(or the current completion.)3.224 F .724(The possible v) -5.724 F .724(alues of)-.25 F F2(option)3.224 E F0 .724(are those v)3.224 -F .723(alid for the)-.25 F F1(com-)3.223 E(plete)144 189.6 Q F0 -.2(bu) +5.724 F .724(alues of)-.25 F F1(option)3.224 E F0 .724(are those v)3.224 +F .723(alid for the)-.25 F F2(com-)3.223 E(plete)144 249.6 Q F0 -.2(bu) 2.5 G(iltin described abo).2 E -.15(ve)-.15 G(.).15 E .327(The return v) -108 206.4 R .327(alue is true unless an in)-.25 F -.25(va)-.4 G .327 +108 266.4 R .327(alue is true unless an in)-.25 F -.25(va)-.4 G .327 (lid option is supplied, an attempt is made to modify the options for a) -.25 F F2(name)108 218.4 Q F0(for which no completion speci\214cation e) -2.5 E(xists, or an output error occurs.)-.15 E F1(continue)108 235.2 Q -F0([)2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 247.2 R 1.754 -(xt iteration of the enclosing)-.15 F F1 -.25(fo)4.254 G(r).25 E F0(,)A -F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1 -(select)4.254 E F0 4.253(loop. If)4.254 F F2(n)4.613 E F0 1.753 -(is speci\214ed,)4.493 F 1.208(resume at the)144 259.2 R F2(n)3.709 E F0 -1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F3 10 -/Symbol SF<b3>3.709 E F0 3.709(1. If)3.709 F F2(n)4.069 E F0 1.209 -(is greater than the number of enclosing)3.949 F .668 -(loops, the last enclosing loop \(the `)144 271.2 R(`top-le)-.74 E -.15 -(ve)-.25 G(l').15 E 3.168('l)-.74 G .668(oop\) is resumed.)-3.168 F .667 -(The return v)5.667 F .667(alue is 0 unless the)-.25 F(shell is not e) -144 283.2 Q -.15(xe)-.15 G(cuting a loop when).15 E F1(continue)2.5 E F0 -(is e)2.5 E -.15(xe)-.15 G(cuted.).15 E F1(declar)108 300 Q(e)-.18 E F0 -([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C F2 -(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1(typeset)108 -312 Q F0([)2.5 E F1(\255afFirtx)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C -F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E 1.264 -(Declare v)144 324 R 1.264(ariables and/or gi)-.25 F 1.564 -.15(ve t) --.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no)3.765 E F2(name) -3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 G 3.765(nt).15 G -1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F -.25(va)144 336 S -3.483(riables. The).25 F F1<ad70>3.483 E F0 .983 +.25 F F1(name)108 278.4 Q F0(for which no completion speci\214cation e) +2.5 E(xists, or an output error occurs.)-.15 E F2(continue)108 295.2 Q +F0([)2.5 E F1(n)A F0(])A 1.754(Resume the ne)144 307.2 R 1.754 +(xt iteration of the enclosing)-.15 F F2 -.25(fo)4.254 G(r).25 E F0(,)A +F2(while)4.254 E F0(,)A F2(until)4.254 E F0 4.254(,o)C(r)-4.254 E F2 +(select)4.254 E F0 4.253(loop. If)4.254 F F1(n)4.613 E F0 1.753 +(is speci\214ed,)4.493 F 1.208(resume at the)144 319.2 R F1(n)3.709 E F0 +1.209(th enclosing loop.)B F1(n)6.569 E F0 1.209(must be)3.949 F/F3 10 +/Symbol SF<b3>3.709 E F0 3.709(1. If)3.709 F F1(n)4.069 E F0 1.209 +(is greater than the number of enclosing)3.949 F .514 +(loops, the last enclosing loop \(the `)144 331.2 R(`top-le)-.74 E -.15 +(ve)-.25 G(l').15 E 3.014('l)-.74 G .514(oop\) is resumed.)-3.014 F .513 +(The return v)5.513 F .513(alue is 0 unless)-.25 F F1(n)3.013 E F0(is) +3.013 E(not greater than or equal to 1.)144 343.2 Q F2(declar)108 360 Q +(e)-.18 E F0([)2.5 E F2(\255afFirtx)A F0 2.5(][)C F2<ad70>-2.5 E F0 2.5 +(][)C F1(name)-2.5 E F0([=)A F1(value)A F0 2.5(].)C(..])-2.5 E F2 +(typeset)108 372 Q F0([)2.5 E F2(\255afFirtx)A F0 2.5(][)C F2<ad70>-2.5 +E F0 2.5(][)C F1(name)-2.5 E F0([=)A F1(value)A F0 2.5(].)C(..])-2.5 E +1.264(Declare v)144 384 R 1.264(ariables and/or gi)-.25 F 1.564 -.15 +(ve t)-.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no)3.765 E F1 +(name)3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25 G 3.765 +(nt).15 G 1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F -.25 +(va)144 396 S 3.483(riables. The).25 F F2<ad70>3.483 E F0 .983 (option will display the attrib)3.483 F .983(utes and v)-.2 F .982 -(alues of each)-.25 F F2(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F1 -<ad70>3.482 E F0 .982(is used)3.482 F(with)144 348 Q F2(name)3.579 E F0 +(alues of each)-.25 F F1(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F2 +<ad70>3.482 E F0 .982(is used)3.482 F(with)144 408 Q F1(name)3.579 E F0 (ar)3.579 E 1.079(guments, additional options are ignored.)-.18 F(When) -6.079 E F1<ad70>3.579 E F0 1.079(is supplied without)3.579 F F2(name) +6.079 E F2<ad70>3.579 E F0 1.079(is supplied without)3.579 F F1(name) 3.58 E F0(ar)3.58 E(gu-)-.18 E .151(ments, it will display the attrib) -144 360 R .151(utes and v)-.2 F .151(alues of all v)-.25 F .15 +144 420 R .151(utes and v)-.2 F .151(alues of all v)-.25 F .15 (ariables ha)-.25 F .15(ving the attrib)-.2 F .15 -(utes speci\214ed by the)-.2 F .046(additional options.)144 372 R .046 -(If no other options are supplied with)5.046 F F1<ad70>2.547 E F0(,)A F1 +(utes speci\214ed by the)-.2 F .046(additional options.)144 432 R .046 +(If no other options are supplied with)5.046 F F2<ad70>2.547 E F0(,)A F2 (declar)2.547 E(e)-.18 E F0 .047(will display the attrib)2.547 F .047 -(utes and)-.2 F -.25(va)144 384 S 1.363(lues of all shell v).25 F 3.863 -(ariables. The)-.25 F F1<ad66>3.863 E F0 1.362 +(utes and)-.2 F -.25(va)144 444 S 1.363(lues of all shell v).25 F 3.863 +(ariables. The)-.25 F F2<ad66>3.863 E F0 1.362 (option will restrict the display to shell functions.)3.863 F(The)6.362 -E F1<ad46>3.862 E F0 2.422(option inhibits the display of function de\ -\214nitions; only the function name and attrib)144 396 R 2.423(utes are) --.2 F 2.664(printed. If)144 408 R(the)2.664 E F1(extdeb)2.664 E(ug)-.2 E -F0 .164(shell option is enabled using)2.664 F F1(shopt)2.664 E F0 2.664 +E F2<ad46>3.862 E F0 2.422(option inhibits the display of function de\ +\214nitions; only the function name and attrib)144 456 R 2.423(utes are) +-.2 F 2.664(printed. If)144 468 R(the)2.664 E F2(extdeb)2.664 E(ug)-.2 E +F0 .164(shell option is enabled using)2.664 F F2(shopt)2.664 E F0 2.664 (,t)C .163(he source \214le name and line number)-2.664 F 1.382 -(where the function is de\214ned are displayed as well.)144 420 R(The) -6.382 E F1<ad46>3.882 E F0 1.382(option implies)3.882 F F1<ad66>3.882 E +(where the function is de\214ned are displayed as well.)144 480 R(The) +6.382 E F2<ad46>3.882 E F0 1.382(option implies)3.882 F F2<ad66>3.882 E F0 6.382(.T)C 1.382(he follo)-6.382 F(wing)-.25 E .794 -(options can be used to restrict output to v)144 432 R .794 +(options can be used to restrict output to v)144 492 R .794 (ariables with the speci\214ed attrib)-.25 F .793(ute or to gi)-.2 F -1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 444 Q(utes:)-.2 E F1 -<ad61>144 456 Q F0(Each)25.3 E F2(name)2.5 E F0(is an array v)2.5 E -(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).) -.15 E F1<ad66>144 468 Q F0(Use function names only)26.97 E(.)-.65 E F1 -<ad69>144 480 Q F0 .557(The v)27.52 F .558 +1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 504 Q(utes:)-.2 E F2 +<ad61>144 516 Q F0(Each)25.3 E F1(name)2.5 E F0(is an array v)2.5 E +(ariable \(see)-.25 E F2(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).) +.15 E F2<ad66>144 528 Q F0(Use function names only)26.97 E(.)-.65 E F2 +<ad69>144 540 Q F0 .557(The v)27.52 F .558 (ariable is treated as an inte)-.25 F .558(ger; arithmetic e)-.15 F -.25 (va)-.25 G .558(luation \(see).25 F/F4 9/Times-Bold@0 SF .558 -(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION \))180 492 Q F0 +(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION \))180 552 Q F0 (is performed when the v)2.25 E(ariable is assigned a v)-.25 E(alue.) --.25 E F1<ad72>144 504 Q F0(Mak)25.86 E(e)-.1 E F2(name)5.047 E F0 5.047 +-.25 E F2<ad72>144 564 Q F0(Mak)25.86 E(e)-.1 E F1(name)5.047 E F0 5.047 (sr)C(eadonly)-5.047 E 7.547(.T)-.65 G 2.546 (hese names cannot then be assigned v)-7.547 F 2.546 -(alues by subsequent)-.25 F(assignment statements or unset.)180 516 Q F1 -<ad74>144 528 Q F0(Gi)26.97 E .729 -.15(ve e)-.25 H(ach).15 E F2(name) -2.929 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929 -(ute. T)-.2 F .429(raced functions inherit the)-.35 F F1(DEB)2.929 E(UG) --.1 E F0(and)2.93 E F1(RETURN)2.93 E F0(traps from the calling shell.) -180 540 Q(The trace attrib)5 E(ute has no special meaning for v)-.2 E -(ariables.)-.25 E F1<ad78>144 552 Q F0(Mark)25.3 E F2(name)2.5 E F0 2.5 +(alues by subsequent)-.25 F(assignment statements or unset.)180 576 Q F2 +<ad74>144 588 Q F0(Gi)26.97 E .729 -.15(ve e)-.25 H(ach).15 E F1(name) +2.929 E F0(the)2.929 E F1(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E 2.929 +(ute. T)-.2 F .429(raced functions inherit the)-.35 F F2(DEB)2.929 E(UG) +-.1 E F0(and)2.93 E F2(RETURN)2.93 E F0(traps from the calling shell.) +180 600 Q(The trace attrib)5 E(ute has no special meaning for v)-.2 E +(ariables.)-.25 E F2<ad78>144 612 Q F0(Mark)25.3 E F1(name)2.5 E F0 2.5 (sf)C(or e)-2.5 E(xport to subsequent commands via the en)-.15 E -(vironment.)-.4 E .121(Using `+' instead of `\255' turns of)144 568.8 R +(vironment.)-.4 E .121(Using `+' instead of `\255' turns of)144 628.8 R 2.621(ft)-.25 G .121(he attrib)-2.621 F .121(ute instead, with the e)-.2 -F .12(xceptions that)-.15 F F1(+a)2.62 E F0 .12(may not be used)2.62 F -1.236(to destro)144 580.8 R 3.736(ya)-.1 G 3.737(na)-3.736 G 1.237 -(rray v)-3.737 F 1.237(ariable and)-.25 F F1 1.237(+r will not r)3.737 F +F .12(xceptions that)-.15 F F2(+a)2.62 E F0 .12(may not be used)2.62 F +1.236(to destro)144 640.8 R 3.736(ya)-.1 G 3.737(na)-3.736 G 1.237 +(rray v)-3.737 F 1.237(ariable and)-.25 F F2 1.237(+r will not r)3.737 F (emo)-.18 E 1.437 -.1(ve t)-.1 H 1.237(he r).1 F 1.237(eadonly attrib) -.18 F 3.737(ute. When)-.2 F 1.237(used in a)3.737 F .312(function, mak) -144 592.8 R .312(es each)-.1 F F2(name)2.812 E F1 .311 +144 652.8 R .312(es each)-.1 F F1(name)2.812 E F2 .311 (local, as with the local)2.812 F F0 2.811(command. If)2.811 F 2.811(av) 2.811 G .311(ariable name is follo)-3.061 F .311(wed by)-.25 F(=)144 -604.8 Q F2(value)A F0 3.238(,t)C .738(he v)-3.238 F .738(alue of the v) --.25 F .738(ariable is set to)-.25 F F2(value)3.238 E F0 5.738(.T)C .738 +664.8 Q F1(value)A F0 3.238(,t)C .738(he v)-3.238 F .738(alue of the v) +-.25 F .738(ariable is set to)-.25 F F1(value)3.238 E F0 5.738(.T)C .738 (he return v)-5.738 F .739(alue is 0 unless an in)-.25 F -.25(va)-.4 G .739(lid option is).25 F .603 -(encountered, an attempt is made to de\214ne a function using)144 616.8 +(encountered, an attempt is made to de\214ne a function using)144 676.8 R/F5 10/Courier@0 SF .603(\255f foo=bar)3.103 F F0 3.103(,a)C 3.103(na) --3.103 G .603(ttempt is made to)-3.103 F 1.242(assign a v)144 628.8 R +-3.103 G .603(ttempt is made to)-3.103 F 1.242(assign a v)144 688.8 R 1.242(alue to a readonly v)-.25 F 1.242 (ariable, an attempt is made to assign a v)-.25 F 1.243 (alue to an array v)-.25 F(ariable)-.25 E 1.386 -(without using the compound assignment syntax \(see)144 640.8 R F1 +(without using the compound assignment syntax \(see)144 700.8 R F2 (Arrays)3.886 E F0(abo)3.886 E -.15(ve)-.15 G 1.386(\), one of the).15 F -F2(names)3.886 E F0 1.386(is not a)3.886 F -.25(va)144 652.8 S .171 +F1(names)3.886 E F0 1.386(is not a)3.886 F -.25(va)144 712.8 S .171 (lid shell v).25 F .171(ariable name, an attempt is made to turn of)-.25 F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .172 -(ariable, an)-.25 F .96(attempt is made to turn of)144 664.8 R 3.46(fa) +(ariable, an)-.25 F .96(attempt is made to turn of)144 724.8 R 3.46(fa) -.25 G .96(rray status for an array v)-3.46 F .96 -(ariable, or an attempt is made to display a)-.25 F(non-e)144 676.8 Q -(xistent function with)-.15 E F1<ad66>2.5 E F0(.)A F1(dirs [+)108 693.6 -Q F2(n)A F1 2.5(][)C<ad>-2.5 E F2(n)A F1 2.5(][)C(\255cplv])-2.5 E F0 --.4(Wi)144 705.6 S .328 -(thout options, displays the list of currently remembered directories.) -.4 F .329(The def)5.329 F .329(ault display is on a)-.1 F 1.238 -(single line with directory names separated by spaces.)144 717.6 R 1.238 -(Directories are added to the list with the)6.238 F F1(pushd)144 729.6 Q -F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G -2.5(se).15 G(ntries from the list.)-2.5 E(GNU Bash-3.0)72 768 Q -(2004 Apr 20)148.735 E(5)203.725 E 0 Cg EP +(ariable, or an attempt is made to display a)-.25 F(GNU Bash-3.0)72 768 +Q(2004 Apr 20)148.735 E(5)203.725 E 0 Cg EP %%Page: 6 6 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(+)144 84 Q/F2 10/Times-Italic@0 SF(n)A F0 1.564 -(Displays the)25.3 F F2(n)4.064 E F0 1.565 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(non-e)144 84 +Q(xistent function with)-.15 E/F1 10/Times-Bold@0 SF<ad66>2.5 E F0(.)A +F1(dirs [+)108 100.8 Q/F2 10/Times-Italic@0 SF(n)A F1 2.5(][)C<ad>-2.5 E +F2(n)A F1 2.5(][)C(\255cplv])-2.5 E F0 -.4(Wi)144 112.8 S .328 +(thout options, displays the list of currently remembered directories.) +.4 F .329(The def)5.329 F .329(ault display is on a)-.1 F 1.238 +(single line with directory names separated by spaces.)144 124.8 R 1.238 +(Directories are added to the list with the)6.238 F F1(pushd)144 136.8 Q +F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G +2.5(se).15 G(ntries from the list.)-2.5 E F1(+)144 148.8 Q F2(n)A F0 +1.564(Displays the)25.3 F F2(n)4.064 E F0 1.565 (th entry counting from the left of the list sho)B 1.565(wn by)-.25 F F1 (dirs)4.065 E F0 1.565(when in)4.065 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 96 Q F1<ad>144 108 Q F2(n)A F0 -1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 +(without options, starting with zero.)180 160.8 Q F1<ad>144 172.8 Q F2 +(n)A F0 1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194 (th entry counting from the right of the list sho)B 1.194(wn by)-.25 F F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E -(without options, starting with zero.)180 120 Q F1<ad63>144 132 Q F0 +(without options, starting with zero.)180 184.8 Q F1<ad63>144 196.8 Q F0 (Clears the directory stack by deleting all of the entries.)25.86 E F1 -<ad6c>144 144 Q F0 .324(Produces a longer listing; the def)27.52 F .324 -(ault listing format uses a tilde to denote the home direc-)-.1 F(tory) -180 156 Q(.)-.65 E F1<ad70>144 168 Q F0 +<ad6c>144 208.8 Q F0 .324(Produces a longer listing; the def)27.52 F +.324(ault listing format uses a tilde to denote the home direc-)-.1 F +(tory)180 220.8 Q(.)-.65 E F1<ad70>144 232.8 Q F0 (Print the directory stack with one entry per line.)24.74 E F1<ad76>144 -180 Q F0 .273(Print the directory stack with one entry per line, pre\ +244.8 Q F0 .273(Print the directory stack with one entry per line, pre\ \214xing each entry with its inde)25.3 F 2.772(xi)-.15 G 2.772(nt)-2.772 -G(he)-2.772 E(stack.)180 192 Q .257(The return v)144 208.8 R .258 +G(he)-2.772 E(stack.)180 256.8 Q .257(The return v)144 273.6 R .258 (alue is 0 unless an in)-.25 F -.25(va)-.4 G .258 (lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe) -.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-) -.15 F(tory stack.)144 220.8 Q F1(diso)108 237.6 Q(wn)-.1 E F0([)2.5 E F1 +.15 F(tory stack.)144 285.6 Q F1(diso)108 302.4 Q(wn)-.1 E F0([)2.5 E F1 (\255ar)A F0 2.5(][)C F1<ad68>-2.5 E F0 2.5(][)C F2(jobspec)-2.5 E F0 -(...])2.5 E -.4(Wi)144 249.6 S .295(thout options, each).4 F F2(jobspec) +(...])2.5 E -.4(Wi)144 314.4 S .295(thout options, each).4 F F2(jobspec) 4.535 E F0 .295(is remo)3.105 F -.15(ve)-.15 G 2.795(df).15 G .295 (rom the table of acti)-2.795 F .595 -.15(ve j)-.25 H 2.795(obs. If).15 F F2(jobspec)4.535 E F0 .295(is not present,)3.105 F .243(and neither) -144 261.6 R F1 .243(\255a nor \255r is supplied, the shell')2.743 F +144 326.4 R F1 .243(\255a nor \255r is supplied, the shell')2.743 F 2.743(sn)-.37 G .243(otion of the)-2.743 F F2(curr)2.743 E .243(ent job) -.37 F F1 .243(is used.)2.743 F .244(If the \255h option)5.243 F .334 -(is gi)144 273.6 R -.1(ve)-.1 G .334(n, each).1 F F2(jobspec)4.574 E F0 +(is gi)144 338.4 R -.1(ve)-.1 G .334(n, each).1 F F2(jobspec)4.574 E F0 .334(is not remo)3.144 F -.15(ve)-.15 G 2.834(df).15 G .334 (rom the table, b)-2.834 F .334(ut is mark)-.2 F .334(ed so that)-.1 F /F3 9/Times-Bold@0 SF(SIGHUP)2.834 E F0 .333(is not sent to)2.584 F -1.189(the job if the shell recei)144 285.6 R -.15(ve)-.25 G 3.689(sa).15 +1.189(the job if the shell recei)144 350.4 R -.15(ve)-.25 G 3.689(sa).15 G F3(SIGHUP)A/F4 9/Times-Roman@0 SF(.)A F0 1.189(If no)5.689 F F2 (jobspec)5.429 E F0 1.189(is present, and neither the)3.999 F F1<ad61> 3.689 E F0 1.19(nor the)3.69 F F1<ad72>3.69 E F0 1.57 -(option is supplied, the)144 297.6 R F2(curr)4.07 E 1.57(ent job)-.37 F +(option is supplied, the)144 362.4 R F2(curr)4.07 E 1.57(ent job)-.37 F F0 1.57(is used.)4.07 F 1.569(If no)6.569 F F2(jobspec)5.809 E F0 1.569 (is supplied, the)4.379 F F1<ad61>4.069 E F0 1.569(option means to)4.069 -F(remo)144 309.6 Q .903 -.15(ve o)-.15 H 3.103(rm).15 G .603 +F(remo)144 374.4 Q .903 -.15(ve o)-.15 H 3.103(rm).15 G .603 (ark all jobs; the)-3.103 F F1<ad72>3.103 E F0 .603(option without a) 3.103 F F2(jobspec)4.843 E F0(ar)3.414 E .604 -(gument restricts operation to running)-.18 F 2.5(jobs. The)144 321.6 R +(gument restricts operation to running)-.18 F 2.5(jobs. The)144 386.4 R (return v)2.5 E(alue is 0 unless a)-.25 E F2(jobspec)4.24 E F0 -(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E F1(echo)108 338.4 Q +(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E F1(echo)108 403.2 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.395(Output the)144 350.4 R F2(ar)2.895 E(g)-.37 E F0 .395 +.395(Output the)144 415.2 R F2(ar)2.895 E(g)-.37 E F0 .395 (s, separated by spaces, follo)B .395(wed by a ne)-.25 F 2.895 (wline. The)-.25 F .394(return status is al)2.895 F -.1(wa)-.1 G .394 (ys 0.).1 F(If)5.394 E F1<ad6e>2.894 E F0 .548 -(is speci\214ed, the trailing ne)144 362.4 R .548(wline is suppressed.) +(is speci\214ed, the trailing ne)144 427.2 R .548(wline is suppressed.) -.25 F .548(If the)5.548 F F1<ad65>3.048 E F0 .548(option is gi)3.048 F --.15(ve)-.25 G .548(n, interpretation of the fol-).15 F(lo)144 374.4 Q +-.15(ve)-.25 G .548(n, interpretation of the fol-).15 F(lo)144 439.2 Q .053(wing backslash-escaped characters is enabled.)-.25 F(The)5.053 E F1 <ad45>2.553 E F0 .052(option disables the interpretation of these)2.552 -F 1.502(escape characters, e)144 386.4 R -.15(ve)-.25 G 4.002(no).15 G +F 1.502(escape characters, e)144 451.2 R -.15(ve)-.25 G 4.002(no).15 G 4.002(ns)-4.002 G 1.502(ystems where the)-4.002 F 4.002(ya)-.15 G 1.502 (re interpreted by def)-4.002 F 4.003(ault. The)-.1 F F1(xpg_echo)4.003 E F0(shell)4.003 E .009 -(option may be used to dynamically determine whether or not)144 398.4 R +(option may be used to dynamically determine whether or not)144 463.2 R F1(echo)2.509 E F0 -.15(ex)2.509 G .009(pands these escape characters) -.15 F .659(by def)144 410.4 R(ault.)-.1 E F1(echo)5.659 E F0 .659 +.15 F .659(by def)144 475.2 R(ault.)-.1 E F1(echo)5.659 E F0 .659 (does not interpret)3.159 F F1<adad>3.159 E F0 .659 (to mean the end of options.)3.159 F F1(echo)5.66 E F0 .66 -(interprets the follo)3.16 F(wing)-.25 E(escape sequences:)144 422.4 Q -F1(\\a)144 434.4 Q F0(alert \(bell\))28.22 E F1(\\b)144 446.4 Q F0 -(backspace)27.66 E F1(\\c)144 458.4 Q F0(suppress trailing ne)28.78 E -(wline)-.25 E F1(\\e)144 470.4 Q F0(an escape character)28.78 E F1(\\f) -144 482.4 Q F0(form feed)29.89 E F1(\\n)144 494.4 Q F0(ne)27.66 E 2.5 -(wl)-.25 G(ine)-2.5 E F1(\\r)144 506.4 Q F0(carriage return)28.78 E F1 -(\\t)144 518.4 Q F0(horizontal tab)29.89 E F1(\\v)144 530.4 Q F0 -.15 -(ve)28.22 G(rtical tab).15 E F1(\\\\)144 542.4 Q F0(backslash)30.44 E F1 -(\\0)144 554.4 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E +(interprets the follo)3.16 F(wing)-.25 E(escape sequences:)144 487.2 Q +F1(\\a)144 499.2 Q F0(alert \(bell\))28.22 E F1(\\b)144 511.2 Q F0 +(backspace)27.66 E F1(\\c)144 523.2 Q F0(suppress trailing ne)28.78 E +(wline)-.25 E F1(\\e)144 535.2 Q F0(an escape character)28.78 E F1(\\f) +144 547.2 Q F0(form feed)29.89 E F1(\\n)144 559.2 Q F0(ne)27.66 E 2.5 +(wl)-.25 G(ine)-2.5 E F1(\\r)144 571.2 Q F0(carriage return)28.78 E F1 +(\\t)144 583.2 Q F0(horizontal tab)29.89 E F1(\\v)144 595.2 Q F0 -.15 +(ve)28.22 G(rtical tab).15 E F1(\\\\)144 607.2 Q F0(backslash)30.44 E F1 +(\\0)144 619.2 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E (alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0 -(\(zero to three octal digits\))2.5 E F1(\\x)144 566.4 Q F2(HH)A F0 +(\(zero to three octal digits\))2.5 E F1(\\x)144 631.2 Q F2(HH)A F0 (the eight-bit character whose v)13.78 E(alue is the he)-.25 E (xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh) --.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(enable)108 583.2 Q F0([)2.5 E +-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(enable)108 648 Q F0([)2.5 E F1<ad61>A F0 2.5(][)C F1(\255dnps)-2.5 E F0 2.5(][)C F1<ad66>-2.5 E F2 (\214lename)2.5 E F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E .278 -(Enable and disable b)144 595.2 R .278(uiltin shell commands.)-.2 F .278 +(Enable and disable b)144 660 R .278(uiltin shell commands.)-.2 F .278 (Disabling a b)5.278 F .278(uiltin allo)-.2 F .278 (ws a disk command which has)-.25 F .833(the same name as a shell b)144 -607.2 R .834(uiltin to be e)-.2 F -.15(xe)-.15 G .834 +672 R .834(uiltin to be e)-.2 F -.15(xe)-.15 G .834 (cuted without specifying a full pathname, e).15 F -.15(ve)-.25 G 3.334 -(nt).15 G(hough)-3.334 E .99(the shell normally searches for b)144 619.2 -R .989(uiltins before disk commands.)-.2 F(If)5.989 E F1<ad6e>3.489 E F0 +(nt).15 G(hough)-3.334 E .99(the shell normally searches for b)144 684 R +.989(uiltins before disk commands.)-.2 F(If)5.989 E F1<ad6e>3.489 E F0 .989(is used, each)3.489 F F2(name)3.489 E F0 .989(is dis-)3.489 F 1.581 -(abled; otherwise,)144 631.2 R F2(names)4.082 E F0 1.582(are enabled.) +(abled; otherwise,)144 696 R F2(names)4.082 E F0 1.582(are enabled.) 4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582(xample, to use the)-4.232 F F1(test)4.082 E F0 1.582(binary found via the)4.082 F F3 -.666(PA)4.082 -G(TH)-.189 E F0 .081(instead of the shell b)144 643.2 R .081(uiltin v) --.2 F .081(ersion, run)-.15 F/F5 10/Courier@0 SF .081(enable -n test) -2.581 F F0 5.081(.T)C(he)-5.081 E F1<ad66>2.58 E F0 .08 -(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 655.2 S 1.524 +G(TH)-.189 E F0 .081(instead of the shell b)144 708 R .081(uiltin v)-.2 +F .081(ersion, run)-.15 F/F5 10/Courier@0 SF .081(enable -n test)2.581 F +F0 5.081(.T)C(he)-5.081 E F1<ad66>2.58 E F0 .08 +(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 720 S 1.524 (iltin command).2 F F2(name)4.384 E F0 1.524(from shared object)4.204 F F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524 -(ystems that support dynamic loading.)-4.024 F(The)144 667.2 Q F1<ad64> -2.867 E F0 .367(option will delete a b)2.867 F .367(uiltin pre)-.2 F -.367(viously loaded with)-.25 F F1<ad66>2.866 E F0 5.366(.I)C 2.866(fn) --5.366 G(o)-2.866 E F2(name)2.866 E F0(ar)2.866 E .366(guments are gi) --.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 679.2 R F1<ad70> -2.898 E F0 .399(option is supplied, a list of shell b)2.899 F .399 -(uiltins is printed.)-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 -F .399(guments, the)-.18 F .099(list consists of all enabled shell b)144 -691.2 R 2.598(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098 -(is supplied, only disabled b)2.598 F .098(uiltins are printed.)-.2 F -(If)5.098 E F1<ad61>2.598 E F0 1.916 -(is supplied, the list printed includes all b)144 703.2 R 1.916 -(uiltins, with an indication of whether or not each is)-.2 F 2.879 -(enabled. If)144 715.2 R F1<ad73>2.879 E F0 .379 -(is supplied, the output is restricted to the POSIX)2.879 F F2(special) -2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F -(alue)-.25 E .994(is 0 unless a)144 727.2 R F2(name)3.854 E F0 .994 -(is not a shell b)3.674 F .994(uiltin or there is an error loading a ne) --.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(GNU Bash-3.0)72 -768 Q(2004 Apr 20)148.735 E(6)203.725 E 0 Cg EP +(ystems that support dynamic loading.)-4.024 F(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(6)203.725 E 0 Cg EP %%Page: 7 7 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(object.)144 -84 Q/F1 10/Times-Bold@0 SF -2.3 -.15(ev a)108 100.8 T(l).15 E F0([)2.5 E -/F2 10/Times-Italic@0 SF(ar)A(g)-.37 E F0(...])2.5 E(The)144 112.8 Q F2 -(ar)3.171 E(g)-.37 E F0 3.171(sa)C .671 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(The)144 84 Q +/F1 10/Times-Bold@0 SF<ad64>2.867 E F0 .367(option will delete a b)2.867 +F .367(uiltin pre)-.2 F .367(viously loaded with)-.25 F F1<ad66>2.866 E +F0 5.366(.I)C 2.866(fn)-5.366 G(o)-2.866 E/F2 10/Times-Italic@0 SF(name) +2.866 E F0(ar)2.866 E .366(guments are gi)-.18 F -.15(ve)-.25 G .366 +(n, or).15 F .398(if the)144 96 R F1<ad70>2.898 E F0 .399 +(option is supplied, a list of shell b)2.899 F .399(uiltins is printed.) +-.2 F -.4(Wi)5.399 G .399(th no other option ar).4 F .399(guments, the) +-.18 F .099(list consists of all enabled shell b)144 108 R 2.598 +(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098(is supplied, only disabled b) +2.598 F .098(uiltins are printed.)-.2 F(If)5.098 E F1<ad61>2.598 E F0 +1.916(is supplied, the list printed includes all b)144 120 R 1.916 +(uiltins, with an indication of whether or not each is)-.2 F 2.879 +(enabled. If)144 132 R F1<ad73>2.879 E F0 .379 +(is supplied, the output is restricted to the POSIX)2.879 F F2(special) +2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F +(alue)-.25 E .994(is 0 unless a)144 144 R F2(name)3.854 E F0 .994 +(is not a shell b)3.674 F .994(uiltin or there is an error loading a ne) +-.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(object.)144 156 +Q F1 -2.3 -.15(ev a)108 172.8 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37 E F0 +(...])2.5 E(The)144 184.8 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa)C .671 (re read and concatenated together into a single command.)-3.171 F .67 -(This command is then read)5.67 F .495(and e)144 124.8 R -.15(xe)-.15 G +(This command is then read)5.67 F .495(and e)144 196.8 R -.15(xe)-.15 G .495(cuted by the shell, and its e).15 F .495 (xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15 (ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no) --2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 136.8 Q +-2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 208.8 Q (guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E F1 -(exec)108 153.6 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1<ad61>-2.5 E F2 +(exec)108 225.6 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1<ad61>-2.5 E F2 (name)2.5 E F0 2.5(][)C F2(command)-2.5 E F0([)2.5 E F2(ar)A(guments) --.37 E F0(]])A(If)144 165.6 Q F2(command)3.006 E F0 .306 +-.37 E F0(]])A(If)144 237.6 Q F2(command)3.006 E F0 .306 (is speci\214ed, it replaces the shell.)3.576 F .305(No ne)5.305 F 2.805 (wp)-.25 G .305(rocess is created.)-2.805 F(The)5.305 E F2(ar)3.135 E -(guments)-.37 E F0(become)3.075 E .176(the ar)144 177.6 R .176 +(guments)-.37 E F0(become)3.075 E .176(the ar)144 249.6 R .176 (guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft)-5.176 G (he)-2.676 E F1<ad6c>2.676 E F0 .176 (option is supplied, the shell places a dash at the be)2.676 F .177 -(ginning of)-.15 F .5(the zeroth ar)144 189.6 R .5(gument passed to)-.18 +(ginning of)-.15 F .5(the zeroth ar)144 261.6 R .5(gument passed to)-.18 F F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 E(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F1<ad63>2.999 E F0 -.499(option causes)2.999 F F2(com-)3.199 E(mand)144 201.6 Q F0 .638 +.499(option causes)2.999 F F2(com-)3.199 E(mand)144 273.6 Q F0 .638 (to be e)3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138 (vironment. If)-.4 F F1<ad61>3.138 E F0 .638 (is supplied, the shell passes)3.138 F F2(name)3.499 E F0 .639(as the) -3.319 F 1.078(zeroth ar)144 213.6 R 1.077(gument to the e)-.18 F -.15 +3.319 F 1.078(zeroth ar)144 285.6 R 1.077(gument to the e)-.18 F -.15 (xe)-.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 1.077(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a) -.15 F(non-interacti)144 225.6 Q .617 -.15(ve s)-.25 H .317(hell e).15 F +.15 F(non-interacti)144 297.6 Q .617 -.15(ve s)-.25 H .317(hell e).15 F .317(xits, unless the shell option)-.15 F F1(execfail)2.817 E F0 .318 (is enabled, in which case it returns f)2.817 F(ail-)-.1 E 2.505 -(ure. An)144 237.6 R(interacti)2.505 E .305 -.15(ve s)-.25 H .005 +(ure. An)144 309.6 R(interacti)2.505 E .305 -.15(ve s)-.25 H .005 (hell returns f).15 F .005(ailure if the \214le cannot be e)-.1 F -.15 (xe)-.15 G 2.505(cuted. If).15 F F2(command)2.705 E F0 .005 -(is not speci\214ed,)3.275 F(an)144 249.6 Q 3.036(yr)-.15 G .536 +(is not speci\214ed,)3.275 F(an)144 321.6 Q 3.036(yr)-.15 G .536 (edirections tak)-3.036 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536 (ect in the current shell, and the return status is 0.).25 F .536 -(If there is a redirection)5.536 F(error)144 261.6 Q 2.5(,t)-.4 G -(he return status is 1.)-2.5 E F1(exit)108 278.4 Q F0([)2.5 E F2(n)A F0 +(If there is a redirection)5.536 F(error)144 333.6 Q 2.5(,t)-.4 G +(he return status is 1.)-2.5 E F1(exit)108 350.4 Q F0([)2.5 E F2(n)A F0 6.29(]C)C .096(ause the shell to e)-6.29 F .096(xit with a status of) -.15 F F2(n)2.596 E F0 5.096(.I)C(f)-5.096 E F2(n)2.955 E F0 .095 (is omitted, the e)2.835 F .095(xit status is that of the last command) --.15 F -.15(exe)144 290.4 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9 +-.15 F -.15(exe)144 362.4 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9 /Times-Bold@0 SF(EXIT)2.5 E F0(is e)2.25 E -.15(xe)-.15 G -(cuted before the shell terminates.).15 E F1(export)108 307.2 Q F0([)2.5 +(cuted before the shell terminates.).15 E F1(export)108 379.2 Q F0([)2.5 E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 E F0([=)A F2(wor)A(d)-.37 E -F0(]] ...)A F1(export \255p)108 319.2 Q F0 .256(The supplied)144 331.2 R +F0(]] ...)A F1(export \255p)108 391.2 Q F0 .256(The supplied)144 403.2 R F2(names)3.117 E F0 .257(are mark)3.027 F .257(ed for automatic e)-.1 F .257(xport to the en)-.15 F .257(vironment of subsequently e)-.4 F -.15 -(xe)-.15 G(cuted).15 E 2.627(commands. If)144 343.2 R(the)2.627 E F1 +(xe)-.15 G(cuted).15 E 2.627(commands. If)144 415.2 R(the)2.627 E F1 <ad66>2.627 E F0 .127(option is gi)2.627 F -.15(ve)-.25 G .127(n, the) .15 F F2(names)2.987 E F0 .127(refer to functions.)2.897 F .127(If no) 5.127 F F2(names)2.987 E F0 .127(are gi)2.897 F -.15(ve)-.25 G .126 -(n, or if the).15 F F1<ad70>144 355.2 Q F0 .659 +(n, or if the).15 F F1<ad70>144 427.2 Q F0 .659 (option is supplied, a list of all names that are e)3.159 F .66 (xported in this shell is printed.)-.15 F(The)5.66 E F1<ad6e>3.16 E F0 -(option)3.16 E 1.587(causes the e)144 367.2 R 1.587 +(option)3.16 E 1.587(causes the e)144 439.2 R 1.587 (xport property to be remo)-.15 F -.15(ve)-.15 G 4.086(df).15 G 1.586 (rom each)-4.086 F F2(name)4.086 E F0 6.586(.I)C 4.086(fav)-6.586 G -1.586(ariable name is follo)-4.336 F 1.586(wed by)-.25 F(=)144 379.2 Q +1.586(ariable name is follo)-4.336 F 1.586(wed by)-.25 F(=)144 451.2 Q F2(wor)A(d)-.37 E F0 2.803(,t)C .303(he v)-2.803 F .303(alue of the v) -.25 F .304(ariable is set to)-.25 F F2(wor)2.804 E(d)-.37 E F0(.)A F1 (export)5.304 E F0 .304(returns an e)2.804 F .304 (xit status of 0 unless an in)-.15 F -.25(va)-.4 G(lid).25 E .294 -(option is encountered, one of the)144 391.2 R F2(names)2.793 E F0 .293 +(option is encountered, one of the)144 463.2 R F2(names)2.793 E F0 .293 (is not a v)2.793 F .293(alid shell v)-.25 F .293(ariable name, or)-.25 F F1<ad66>2.793 E F0 .293(is supplied with a)2.793 F F2(name)144.36 -403.2 Q F0(that is not a function.)2.68 E F1(fc)108 420 Q F0([)2.5 E F1 +475.2 Q F0(that is not a function.)2.68 E F1(fc)108 492 Q F0([)2.5 E F1 <ad65>A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2 <8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s)108 -432 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 -(cmd)-2.5 E F0(])A .477(Fix Command.)144 444 R .478 +504 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2 +(cmd)-2.5 E F0(])A .477(Fix Command.)144 516 R .478 (In the \214rst form, a range of commands from)5.477 F F2<8c72>4.888 E (st)-.1 E F0(to)3.658 E F2(last)3.068 E F0 .478 -(is selected from the his-)3.658 F .882(tory list.)144 456 R F2 -.45(Fi) +(is selected from the his-)3.658 F .882(tory list.)144 528 R F2 -.45(Fi) 5.882 G -.1(rs).45 G(t).1 E F0(and)4.062 E F2(last)3.472 E F0 .882 (may be speci\214ed as a string \(to locate the last command be)4.062 F .881(ginning with)-.15 F .797(that string\) or as a number \(an inde)144 -468 R 3.297(xi)-.15 G .797(nto the history list, where a ne)-3.297 F +540 R 3.297(xi)-.15 G .797(nto the history list, where a ne)-3.297 F -.05(ga)-.15 G(ti).05 E 1.097 -.15(ve n)-.25 H .797(umber is used as an) -.15 F(of)144 480 Q .277(fset from the current command number\).)-.25 F +.15 F(of)144 552 Q .277(fset from the current command number\).)-.25 F (If)5.277 E F2(last)2.867 E F0 .276 (is not speci\214ed it is set to the current command)3.457 F .092 -(for listing \(so that)144 492 R/F4 10/Courier@0 SF .092 +(for listing \(so that)144 564 R/F4 10/Courier@0 SF .092 (fc \255l \25510)2.592 F F0 .092(prints the last 10 commands\) and to) 2.592 F F2<8c72>4.502 E(st)-.1 E F0 2.592(otherwise. If)3.272 F F2<8c72> 4.502 E(st)-.1 E F0 .093(is not)3.273 F -(speci\214ed it is set to the pre)144 504 Q -(vious command for editing and \25516 for listing.)-.25 E(The)144 528 Q +(speci\214ed it is set to the pre)144 576 Q +(vious command for editing and \25516 for listing.)-.25 E(The)144 600 Q F1<ad6e>2.522 E F0 .022 (option suppresses the command numbers when listing.)2.522 F(The)5.022 E F1<ad72>2.522 E F0 .022(option re)2.522 F -.15(ve)-.25 G .022 -(rses the order of).15 F .438(the commands.)144 540 R .438(If the)5.438 +(rses the order of).15 F .438(the commands.)144 612 R .438(If the)5.438 F F1<ad6c>2.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438 (n, the commands are listed on standard output.).15 F(Otherwise,)5.438 E -.335(the editor gi)144 552 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E F2 +.335(the editor gi)144 624 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E F2 (ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835(do) .1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835 F (If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G -(n,).15 E .63(the v)144 564 R .63(alue of the)-.25 F F3(FCEDIT)3.13 E F0 +(n,).15 E .63(the v)144 636 R .63(alue of the)-.25 F F3(FCEDIT)3.13 E F0 -.25(va)2.88 G .631(riable is used, and the v).25 F .631(alue of)-.25 F F3(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F3(FCEDIT)3.131 E F0 .631 -(is not set.)2.881 F .631(If nei-)5.631 F 1.884(ther v)144 576 R 1.884 +(is not set.)2.881 F .631(If nei-)5.631 F 1.884(ther v)144 648 R 1.884 (ariable is set, is used.)-.25 F 1.884 (When editing is complete, the edited commands are echoed and)6.884 F --.15(exe)144 588 S(cuted.).15 E .039(In the second form,)144 612 R F2 +-.15(exe)144 660 S(cuted.).15 E .039(In the second form,)144 684 R F2 (command)2.539 E F0 .039(is re-e)2.539 F -.15(xe)-.15 G .039 (cuted after each instance of).15 F F2(pat)2.54 E F0 .04(is replaced by) 2.54 F F2 -.37(re)2.54 G(p).37 E F0 5.04(.A)C(useful)-2.5 E .406 -(alias to use with this is)144 624 R F4 .406(r='fc \255s')2.906 F F0 +(alias to use with this is)144 696 R F4 .406(r='fc \255s')2.906 F F0 2.906(,s)C 2.906(ot)-2.906 G .406(hat typing)-2.906 F F4 6.406(rc)2.906 G(c)-6.406 E F0 .406(runs the last command be)2.906 F .406(ginning with) --.15 F F4(cc)144 636 Q F0(and typing)2.5 E F4(r)2.5 E F0(re-e)2.5 E -.15 -(xe)-.15 G(cutes the last command.).15 E .142 -(If the \214rst form is used, the return v)144 660 R .142 -(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 -(lid option is encountered or).25 F F2<8c72>4.552 E(st)-.1 E F0(or)3.322 -E F2(last)2.732 E F0 .455(specify history lines out of range.)144 672 R -.454(If the)5.454 F F1<ad65>2.954 E F0 .454 -(option is supplied, the return v)2.954 F .454(alue is the v)-.25 F .454 -(alue of the)-.25 F .787(last command e)144 684 R -.15(xe)-.15 G .787 -(cuted or f).15 F .788 -(ailure if an error occurs with the temporary \214le of commands.)-.1 F -.788(If the)5.788 F 1.136 -(second form is used, the return status is that of the command re-e)144 -696 R -.15(xe)-.15 G 1.135(cuted, unless).15 F F2(cmd)3.835 E F0 1.135 -(does not)4.405 F(specify a v)144 708 Q -(alid history line, in which case)-.25 E F1(fc)2.5 E F0(returns f)2.5 E -(ailure.)-.1 E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(7)203.725 E 0 -Cg EP +-.15 F F4(cc)144 708 Q F0(and typing)2.5 E F4(r)2.5 E F0(re-e)2.5 E -.15 +(xe)-.15 G(cutes the last command.).15 E(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(7)203.725 E 0 Cg EP %%Page: 8 8 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(fg)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 SF(jobspec) -A F0(])A(Resume)144 96 Q F2(jobspec)5.653 E F0 1.413(in the fore)4.223 F -1.413(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413 -(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2(jobspec)5.653 E F0 -1.414(is not present, the)4.223 F(shell')144 108 Q 3.117(sn)-.55 G .617 -(otion of the)-3.117 F F2(curr)3.117 E .617(ent job)-.37 F F0 .617 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .142 +(If the \214rst form is used, the return v)144 84 R .142 +(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142 +(lid option is encountered or).25 F/F1 10/Times-Italic@0 SF<8c72>4.552 E +(st)-.1 E F0(or)3.322 E F1(last)2.732 E F0 .455 +(specify history lines out of range.)144 96 R .454(If the)5.454 F/F2 10 +/Times-Bold@0 SF<ad65>2.954 E F0 .454(option is supplied, the return v) +2.954 F .454(alue is the v)-.25 F .454(alue of the)-.25 F .787 +(last command e)144 108 R -.15(xe)-.15 G .787(cuted or f).15 F .788 +(ailure if an error occurs with the temporary \214le of commands.)-.1 F +.788(If the)5.788 F 1.136 +(second form is used, the return status is that of the command re-e)144 +120 R -.15(xe)-.15 G 1.135(cuted, unless).15 F F1(cmd)3.835 E F0 1.135 +(does not)4.405 F(specify a v)144 132 Q +(alid history line, in which case)-.25 E F2(fc)2.5 E F0(returns f)2.5 E +(ailure.)-.1 E F2(fg)108 148.8 Q F0([)2.5 E F1(jobspec)A F0(])A(Resume) +144 160.8 Q F1(jobspec)5.653 E F0 1.413(in the fore)4.223 F 1.413 +(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413 +(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F1(jobspec)5.653 E F0 +1.414(is not present, the)4.223 F(shell')144 172.8 Q 3.117(sn)-.55 G +.617(otion of the)-3.117 F F1(curr)3.117 E .617(ent job)-.37 F F0 .617 (is used.)3.117 F .617(The return v)5.617 F .616 -(alue is that of the command placed into the)-.25 F(fore)144 120 Q .362 -(ground, or f)-.15 F .362(ailure if run when job control is disabled or) --.1 F 2.862(,w)-.4 G .363(hen run with job control enabled, if)-2.862 F -F2(jobspec)145.74 132 Q F0 .004(does not specify a v)2.815 F .004 -(alid job or)-.25 F F2(jobspec)4.244 E F0 .004(speci\214es a job that w) -2.814 F .004(as started without job control.)-.1 F F1(getopts)108 148.8 -Q F2(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs)-.37 E F0(])A F1 -(getopts)144 160.8 Q F0 .793 -(is used by shell procedures to parse positional parameters.)3.293 F F2 +(alue is that of the command placed into the)-.25 F(fore)144 184.8 Q +.362(ground, or f)-.15 F .362 +(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .363 +(hen run with job control enabled, if)-2.862 F F1(jobspec)145.74 196.8 Q +F0 .004(does not specify a v)2.815 F .004(alid job or)-.25 F F1(jobspec) +4.244 E F0 .004(speci\214es a job that w)2.814 F .004 +(as started without job control.)-.1 F F2(getopts)108 213.6 Q F1 +(optstring name)2.5 E F0([)2.5 E F1(ar)A(gs)-.37 E F0(])A F2(getopts)144 +225.6 Q F0 .793 +(is used by shell procedures to parse positional parameters.)3.293 F F1 (optstring)6.023 E F0 .793(contains the option)3.513 F .15 -(characters to be recognized; if a character is follo)144 172.8 R .149 +(characters to be recognized; if a character is follo)144 237.6 R .149 (wed by a colon, the option is e)-.25 F .149(xpected to ha)-.15 F .449 --.15(ve a)-.2 H(n).15 E(ar)144 184.8 Q .578 +-.15(ve a)-.2 H(n).15 E(ar)144 249.6 Q .578 (gument, which should be separated from it by white space.)-.18 F .579 (The colon and question mark char)5.579 F(-)-.2 E 1.665 -(acters may not be used as option characters.)144 196.8 R 1.665 -(Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F1(getopts) +(acters may not be used as option characters.)144 261.6 R 1.665 +(Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F2(getopts) 4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .796 -(option in the shell v)144 208.8 R(ariable)-.25 E F2(name)3.296 E F0 -3.296(,i).18 G(nitializing)-3.296 E F2(name)3.657 E F0 .797 +(option in the shell v)144 273.6 R(ariable)-.25 E F1(name)3.296 E F0 +3.296(,i).18 G(nitializing)-3.296 E F1(name)3.657 E F0 .797 (if it does not e)3.477 F .797(xist, and the inde)-.15 F 3.297(xo)-.15 G -3.297(ft)-3.297 G .797(he ne)-3.297 F(xt)-.15 E(ar)144 220.8 Q .085 +3.297(ft)-3.297 G .797(he ne)-3.297 F(xt)-.15 E(ar)144 285.6 Q .085 (gument to be processed into the v)-.18 F(ariable)-.25 E/F3 9 /Times-Bold@0 SF(OPTIND)2.585 E/F4 9/Times-Roman@0 SF(.)A F3(OPTIND) 4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .845 -(or a shell script is in)144 232.8 R -.2(vo)-.4 G -.1(ke).2 G 3.345 -(d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F1 +(or a shell script is in)144 297.6 R -.2(vo)-.4 G -.1(ke).2 G 3.345 +(d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F2 (getopts)3.346 E F0 .846(places that ar)3.346 F(gument)-.18 E .804 -(into the v)144 244.8 R(ariable)-.25 E F3(OPT)3.304 E(ARG)-.81 E F4(.)A +(into the v)144 309.6 R(ariable)-.25 E F3(OPT)3.304 E(ARG)-.81 E F4(.)A F0 .803(The shell does not reset)5.304 F F3(OPTIND)3.303 E F0 .803 (automatically; it must be manually)3.053 F .293 -(reset between multiple calls to)144 256.8 R F1(getopts)2.793 E F0 .293 +(reset between multiple calls to)144 321.6 R F2(getopts)2.793 E F0 .293 (within the same shell in)2.793 F -.2(vo)-.4 G .293(cation if a ne).2 F -2.793(ws)-.25 G .294(et of parameters)-2.793 F(is to be used.)144 268.8 -Q 2.044(When the end of options is encountered,)144 292.8 R F1(getopts) +2.793(ws)-.25 G .294(et of parameters)-2.793 F(is to be used.)144 333.6 +Q 2.044(When the end of options is encountered,)144 357.6 R F2(getopts) 4.543 E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.043 -(alue greater than zero.)-.25 F F1(OPTIND)144 304.8 Q F0 +(alue greater than zero.)-.25 F F2(OPTIND)144 369.6 Q F0 (is set to the inde)2.5 E 2.5(xo)-.15 G 2.5(ft)-2.5 G -(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F1(name)2.5 E F0 -(is set to ?.)2.5 E F1(getopts)144 328.8 Q F0 2.392 +(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F2(name)2.5 E F0 +(is set to ?.)2.5 E F2(getopts)144 393.6 Q F0 2.392 (normally parses the positional parameters, b)4.892 F 2.392 (ut if more ar)-.2 F 2.393(guments are gi)-.18 F -.15(ve)-.25 G 4.893 -(ni).15 G(n)-4.893 E F2(ar)4.893 E(gs)-.37 E F0(,).27 E F1(getopts)144 -340.8 Q F0(parses those instead.)2.5 E F1(getopts)144 364.8 Q F0 1.166 +(ni).15 G(n)-4.893 E F1(ar)4.893 E(gs)-.37 E F0(,).27 E F2(getopts)144 +405.6 Q F0(parses those instead.)2.5 E F2(getopts)144 429.6 Q F0 1.166 (can report errors in tw)3.666 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F -1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.165 -(is a colon,)3.885 F F2(silent)4.005 E F0(error)4.345 E 1.263 -(reporting is used.)144 376.8 R 1.263 +1.165(the \214rst character of)3.665 F F1(optstring)3.895 E F0 1.165 +(is a colon,)3.885 F F1(silent)4.005 E F0(error)4.345 E 1.263 +(reporting is used.)144 441.6 R 1.263 (In normal operation diagnostic messages are printed when in)6.263 F -.25(va)-.4 G 1.263(lid options or).25 F .394(missing option ar)144 -388.8 R .394(guments are encountered.)-.18 F .394(If the v)5.394 F +453.6 R .394(guments are encountered.)-.18 F .394(If the v)5.394 F (ariable)-.25 E F3(OPTERR)2.894 E F0 .394 -(is set to 0, no error messages)2.644 F(will be displayed, e)144 400.8 Q +(is set to 0, no error messages)2.644 F(will be displayed, e)144 465.6 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he \214rst character of)-2.5 E -F2(optstring)2.73 E F0(is not a colon.)2.72 E .666(If an in)144 424.8 R --.25(va)-.4 G .666(lid option is seen,).25 F F1(getopts)3.166 E F0 .667 -(places ? into)3.167 F F2(name)3.527 E F0 .667 +F1(optstring)2.73 E F0(is not a colon.)2.72 E .666(If an in)144 489.6 R +-.25(va)-.4 G .666(lid option is seen,).25 F F2(getopts)3.166 E F0 .667 +(places ? into)3.167 F F1(name)3.527 E F0 .667 (and, if not silent, prints an error message)3.347 F .4(and unsets)144 -436.8 R F3(OPT)2.9 E(ARG)-.81 E F4(.)A F0(If)4.899 E F1(getopts)2.899 E +501.6 R F3(OPT)2.9 E(ARG)-.81 E F4(.)A F0(If)4.899 E F2(getopts)2.899 E F0 .399(is silent, the option character found is placed in)2.899 F F3 (OPT)2.899 E(ARG)-.81 E F0 .399(and no)2.649 F -(diagnostic message is printed.)144 448.8 Q 1.241(If a required ar)144 -472.8 R 1.241(gument is not found, and)-.18 F F1(getopts)3.741 E F0 -1.241(is not silent, a question mark \()3.741 F F1(?).833 E F0 3.742 -(\)i).833 G 3.742(sp)-3.742 G 1.242(laced in)-3.742 F F2(name)144 484.8 +(diagnostic message is printed.)144 513.6 Q 1.241(If a required ar)144 +537.6 R 1.241(gument is not found, and)-.18 F F2(getopts)3.741 E F0 +1.241(is not silent, a question mark \()3.741 F F2(?).833 E F0 3.742 +(\)i).833 G 3.742(sp)-3.742 G 1.242(laced in)-3.742 F F1(name)144 549.6 Q F0(,).18 E F3(OPT)2.735 E(ARG)-.81 E F0 .234 -(is unset, and a diagnostic message is printed.)2.485 F(If)5.234 E F1 -(getopts)2.734 E F0 .234(is silent, then a colon \()2.734 F F1(:).833 E -F0(\)).833 E(is placed in)144 496.8 Q F2(name)2.86 E F0(and)2.68 E F3 -(OPT)2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1 -(getopts)144 520.8 Q F0 .902 +(is unset, and a diagnostic message is printed.)2.485 F(If)5.234 E F2 +(getopts)2.734 E F0 .234(is silent, then a colon \()2.734 F F2(:).833 E +F0(\)).833 E(is placed in)144 561.6 Q F1(name)2.86 E F0(and)2.68 E F3 +(OPT)2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F2 +(getopts)144 585.6 Q F0 .902 (returns true if an option, speci\214ed or unspeci\214ed, is found.) 3.401 F .902(It returns f)5.902 F .902(alse if the end of)-.1 F -(options is encountered or an error occurs.)144 532.8 Q F1(hash)108 -549.6 Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1<ad70>-2.5 E F2(\214lename) -2.5 E F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A --.15(Fo)144 561.6 S 3.555(re).15 G(ach)-3.555 E F2(name)3.555 E F0 3.555 +(options is encountered or an error occurs.)144 597.6 Q F2(hash)108 +614.4 Q F0([)2.5 E F2(\255lr)A F0 2.5(][)C F2<ad70>-2.5 E F1(\214lename) +2.5 E F0 2.5(][)C F2(\255dt)-2.5 E F0 2.5(][)C F1(name)-2.5 E F0(])A +-.15(Fo)144 626.4 S 3.555(re).15 G(ach)-3.555 E F1(name)3.555 E F0 3.555 (,t).18 G 1.054(he full \214le name of the command is determined by sea\ -rching the directories in)-3.555 F F1($P)144 573.6 Q -.95(AT)-.74 G(H) -.95 E F0 .349(and remembered.)2.849 F .349(If the)5.349 F F1<ad70>2.849 +rching the directories in)-3.555 F F2($P)144 638.4 Q -.95(AT)-.74 G(H) +.95 E F0 .349(and remembered.)2.849 F .349(If the)5.349 F F2<ad70>2.849 E F0 .349(option is supplied, no path search is performed, and)2.849 F -F2(\214lename)4.76 E F0 .452 -(is used as the full \214le name of the command.)144 585.6 R(The)5.452 E -F1<ad72>2.952 E F0 .452(option causes the shell to for)2.952 F .452 -(get all remem-)-.18 F .592(bered locations.)144 597.6 R(The)5.592 E F1 +F1(\214lename)4.76 E F0 .452 +(is used as the full \214le name of the command.)144 650.4 R(The)5.452 E +F2<ad72>2.952 E F0 .452(option causes the shell to for)2.952 F .452 +(get all remem-)-.18 F .592(bered locations.)144 662.4 R(The)5.592 E F2 <ad64>3.092 E F0 .593(option causes the shell to for)3.092 F .593 -(get the remembered location of each)-.18 F F2(name)3.093 E F0(.)A .021 -(If the)144 609.6 R F1<ad74>2.521 E F0 .021 -(option is supplied, the full pathname to which each)2.521 F F2(name) +(get the remembered location of each)-.18 F F1(name)3.093 E F0(.)A .021 +(If the)144 674.4 R F2<ad74>2.521 E F0 .021 +(option is supplied, the full pathname to which each)2.521 F F1(name) 2.52 E F0 .02(corresponds is printed.)2.52 F .02(If multi-)5.02 F(ple) -144 621.6 Q F2(name)3.703 E F0(ar)3.703 E 1.203 -(guments are supplied with)-.18 F F1<ad74>3.703 E F0 3.703(,t)C(he) --3.703 E F2(name)3.703 E F0 1.204 -(is printed before the hashed full pathname.)3.703 F(The)144 633.6 Q F1 +144 686.4 Q F1(name)3.703 E F0(ar)3.703 E 1.203 +(guments are supplied with)-.18 F F2<ad74>3.703 E F0 3.703(,t)C(he) +-3.703 E F1(name)3.703 E F0 1.204 +(is printed before the hashed full pathname.)3.703 F(The)144 698.4 Q F2 <ad6c>3.216 E F0 .715(option causes output to be displayed in a format \ that may be reused as input.)3.216 F .715(If no ar)5.715 F(gu-)-.18 E -1.183(ments are gi)144 645.6 R -.15(ve)-.25 G 1.183(n, or if only).15 F -F1<ad6c>3.683 E F0 1.184 +1.183(ments are gi)144 710.4 R -.15(ve)-.25 G 1.183(n, or if only).15 F +F2<ad6c>3.683 E F0 1.184 (is supplied, information about remembered commands is printed.)3.684 F -(The return status is true unless a)144 657.6 Q F2(name)2.86 E F0 +(The return status is true unless a)144 722.4 Q F1(name)2.86 E F0 (is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.).25 -E F1(help)108 674.4 Q F0([)2.5 E F1<ad73>A F0 2.5(][)C F2(pattern)-2.5 E -F0(])A .867(Display helpful information about b)144 686.4 R .867 -(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0 .866 -(is speci\214ed,)3.607 F F1(help)3.366 E F0(gi)3.366 E -.15(ve)-.25 G -3.366(sd).15 G(etailed)-3.366 E .306(help on all commands matching)144 -698.4 R F2(pattern)2.806 E F0 2.807(;o).24 G .307 -(therwise help for all the b)-2.807 F .307 -(uiltins and shell control struc-)-.2 F .596(tures is printed.)144 710.4 -R(The)5.596 E F1<ad73>3.096 E F0 .596 -(option restricts the information displayed to a short usage synopsis.) -3.096 F(The)5.596 E(return status is 0 unless no command matches)144 -722.4 Q F2(pattern)2.5 E F0(.).24 E(GNU Bash-3.0)72 768 Q(2004 Apr 20) -148.735 E(8)203.725 E 0 Cg EP +E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(8)203.725 E 0 Cg EP %%Page: 9 9 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 (TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(history [)108 84 Q/F2 10/Times-Italic@0 SF(n)A F1(])A -(history \255c)108 96 Q(history \255d)108 108 Q F2(of)2.5 E(fset)-.18 E -F1(history \255anrw)108 120 Q F0([)2.5 E F2(\214lename)A F0(])A F1 -(history \255p)108 132 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5(g.) --.37 G(..)-2.5 E F0(])A F1(history \255s)108 144 Q F2(ar)2.5 E(g)-.37 E -F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 156 S .752 +/Times-Bold@0 SF(help)108 84 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C/F2 10 +/Times-Italic@0 SF(pattern)-2.5 E F0(])A .867 +(Display helpful information about b)144 96 R .867(uiltin commands.)-.2 +F(If)5.867 E F2(pattern)4.617 E F0 .866(is speci\214ed,)3.607 F F1(help) +3.366 E F0(gi)3.366 E -.15(ve)-.25 G 3.366(sd).15 G(etailed)-3.366 E +.306(help on all commands matching)144 108 R F2(pattern)2.806 E F0 2.807 +(;o).24 G .307(therwise help for all the b)-2.807 F .307 +(uiltins and shell control struc-)-.2 F(tures is printed.)144 120 Q F1 +<ad64>144 132 Q F0(Display a short description of each)24.74 E F2 +(pattern)2.5 E F1(-m)146.5 144 Q F0(Display the description of each) +21.84 E F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat) +-2.5 E F1<ad73>144 156 Q F0 +(Display only a short usage synopsis for each)26.41 E F2(pattern)2.5 E +F0(The return status is 0 unless no command matches)108 168 Q F2 +(pattern)2.5 E F0(.).24 E F1(history [)108 184.8 Q F2(n)A F1(])A +(history \255c)108 196.8 Q(history \255d)108 208.8 Q F2(of)2.5 E(fset) +-.18 E F1(history \255anrw)108 220.8 Q F0([)2.5 E F2(\214lename)A F0(])A +F1(history \255p)108 232.8 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5 +(g.)-.37 G(..)-2.5 E F0(])A F1(history \255s)108 244.8 Q F2(ar)2.5 E(g) +-.37 E F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 +256.8 S .752 (th no options, display the command history list with line numbers.).4 F -.752(Lines listed with a)5.752 F F1(*)3.252 E F0(ha)3.252 E -.15(ve)-.2 -G 1.231(been modi\214ed.)144 168 R 1.231(An ar)6.231 F 1.231(gument of) --.18 F F2(n)4.091 E F0 1.231(lists only the last)3.971 F F2(n)4.091 E F0 -3.73(lines. If)3.97 F 1.23(the shell v)3.73 F(ariable)-.25 E F1 -(HISTTIME-)3.73 E(FORMA)144 180 Q(T)-.95 E F0 .249 -(is set and not null, it is used as a format string for)2.749 F F2 -(strftime)2.75 E F0 .25(\(3\) to display the time stamp)B .379 -(associated with each displayed history entry)144 192 R 5.379(.N)-.65 G -2.878(oi)-5.379 G(nterv)-2.878 E .378 -(ening blank is printed between the format-)-.15 F .814 -(ted time stamp and the history line.)144 204 R(If)5.814 E F2 +.752(Lines listed with a)5.752 F F1(*)3.251 E F0(ha)3.251 E -.15(ve)-.2 +G 1.23(been modi\214ed.)144 268.8 R 1.23(An ar)6.23 F 1.23(gument of) +-.18 F F2(n)4.09 E F0 1.231(lists only the last)3.97 F F2(n)4.091 E F0 +3.731(lines. If)3.971 F 1.231(the shell v)3.731 F(ariable)-.25 E F1 +(HISTTIME-)3.731 E(FORMA)144 280.8 Q(T)-.95 E F0 .25 +(is set and not null, it is used as a format string for)2.75 F F2 +(strftime)2.749 E F0 .249(\(3\) to display the time stamp)B .378 +(associated with each displayed history entry)144 292.8 R 5.378(.N)-.65 +G 2.878(oi)-5.378 G(nterv)-2.878 E .379 +(ening blank is printed between the format-)-.15 F .815 +(ted time stamp and the history line.)144 304.8 R(If)5.814 E F2 (\214lename)3.314 E F0 .814 (is supplied, it is used as the name of the history)3.314 F -(\214le; if not, the v)144 216 Q(alue of)-.25 E/F3 9/Times-Bold@0 SF +(\214le; if not, the v)144 316.8 Q(alue of)-.25 E/F3 9/Times-Bold@0 SF (HISTFILE)2.5 E F0(is used.)2.25 E(Options, if supplied, ha)5 E .3 -.15 -(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad63>144 228 Q F0 +(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad63>144 328.8 Q F0 (Clear the history list by deleting all the entries.)25.86 E F1<ad64>144 -240 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) -180 252 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1<ad61>144 264 Q F0 .599 -(Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.099('h)-.74 G .598 -(istory lines \(history lines entered since the be)-3.099 F .598 -(ginning of the current)-.15 F F1(bash)180 276 Q F0 -(session\) to the history \214le.)2.5 E F1<ad6e>144 288 Q F0 .854(Read \ -the history lines not already read from the history \214le into the cur\ -rent history list.)24.74 F .773 -(These are lines appended to the history \214le since the be)180 300 R -.772(ginning of the current)-.15 F F1(bash)3.272 E F0(ses-)3.272 E -(sion.)180 312 Q F1<ad72>144 324 Q F0(Read the contents of the history \ -\214le and use them as the current history)25.86 E(.)-.65 E F1<ad77>144 -336 Q F0(Write the current history to the history \214le, o)23.08 E -.15 -(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G(ontents.) --2.5 E F1<ad70>144 348 Q F0 .625 +340.8 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position) +180 352.8 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1<ad61>144 364.8 Q F0 .598 +(Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.098('h)-.74 G .598 +(istory lines \(history lines entered since the be)-3.098 F .599 +(ginning of the current)-.15 F F1(bash)180 376.8 Q F0 +(session\) to the history \214le.)2.5 E F1<ad6e>144 388.8 Q F0 .854(Rea\ +d the history lines not already read from the history \214le into the c\ +urrent history list.)24.74 F .772 +(These are lines appended to the history \214le since the be)180 400.8 R +.773(ginning of the current)-.15 F F1(bash)3.273 E F0(ses-)3.273 E +(sion.)180 412.8 Q F1<ad72>144 424.8 Q F0(Read the contents of the hist\ +ory \214le and use them as the current history)25.86 E(.)-.65 E F1<ad77> +144 436.8 Q F0(Write the current history to the history \214le, o)23.08 +E -.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G +(ontents.)-2.5 E F1<ad70>144 448.8 Q F0 .626 (Perform history substitution on the follo)24.74 F(wing)-.25 E F2(ar) -3.125 E(gs)-.37 E F0 .626(and display the result on the standard)3.125 F -2.975(output. Does)180 360 R .475 +3.125 E(gs)-.37 E F0 .625(and display the result on the standard)3.125 F +2.975(output. Does)180 460.8 R .475 (not store the results in the history list.)2.975 F(Each)5.475 E F2(ar) 2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F -(normal history e)180 372 Q(xpansion.)-.15 E F1<ad73>144 384 Q F0 .362 -(Store the)26.41 F F2(ar)3.192 E(gs)-.37 E F0 .363 -(in the history list as a single entry)3.132 F 5.363(.T)-.65 G .363 -(he last command in the history list is)-5.363 F(remo)180 396 Q -.15(ve) --.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 -(are added.)2.77 E .28(If the)144 412.8 R F1(HISTTIMEFORMA)2.78 E(T)-.95 +(normal history e)180 472.8 Q(xpansion.)-.15 E F1<ad73>144 484.8 Q F0 +.363(Store the)26.41 F F2(ar)3.193 E(gs)-.37 E F0 .363 +(in the history list as a single entry)3.133 F 5.363(.T)-.65 G .362 +(he last command in the history list is)-5.363 F(remo)180 496.8 Q -.15 +(ve)-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0 +(are added.)2.77 E .28(If the)144 513.6 R F1(HISTTIMEFORMA)2.78 E(T)-.95 E F0 .28 (is set, the time stamp information associated with each history entry) -2.78 F .539(is written to the history \214le, mark)144 424.8 R .539 -(ed with the history comment character)-.1 F 5.54(.W)-.55 G .54 -(hen the history \214le is)-5.54 F 1.779(read, lines be)144 436.8 R -1.779(ginning with the history comment character follo)-.15 F 1.778 +2.78 F .54(is written to the history \214le, mark)144 525.6 R .539 +(ed with the history comment character)-.1 F 5.539(.W)-.55 G .539 +(hen the history \214le is)-5.539 F 1.778(read, lines be)144 537.6 R +1.778(ginning with the history comment character follo)-.15 F 1.779 (wed immediately by a digit are)-.25 F 1.424 -(interpreted as timestamps for the pre)144 448.8 R 1.424 +(interpreted as timestamps for the pre)144 549.6 R 1.424 (vious history line.)-.25 F 1.424(The return v)6.424 F 1.424 (alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .499(option is e\ ncountered, an error occurs while reading or writing the history \214le\ -, an in)144 460.8 R -.25(va)-.4 G(lid).25 E F2(of)2.999 E(fset)-.18 E F0 -(is)2.999 E(supplied as an ar)144 472.8 Q(gument to)-.18 E F1<ad64>2.5 E -F0 2.5(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E -(xpansion supplied as an ar)-.15 E(gument to)-.18 E F1<ad70>2.5 E F0 -.1 -(fa)2.5 G(ils.).1 E F1(jobs)108 489.6 Q F0([)2.5 E F1(\255lnprs)A F0 2.5 -(][)C F2(jobspec)A F0(... ])2.5 E F1(jobs \255x)108 501.6 Q F2(command) -2.5 E F0([)2.5 E F2(ar)2.5 E(gs)-.37 E F0(... ])2.5 E -(The \214rst form lists the acti)144 513.6 Q .3 -.15(ve j)-.25 H 2.5 -(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1<ad6c>144 525.6 Q F0 +, an in)144 561.6 R -.25(va)-.4 G(lid).25 E F2(of)3 E(fset)-.18 E F0(is) +3 E(supplied as an ar)144 573.6 Q(gument to)-.18 E F1<ad64>2.5 E F0 2.5 +(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E(xpansion supplied as an ar)-.15 +E(gument to)-.18 E F1<ad70>2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(jobs)108 +590.4 Q F0([)2.5 E F1(\255lnprs)A F0 2.5(][)C F2(jobspec)A F0(... ])2.5 +E F1(jobs \255x)108 602.4 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs) +-.37 E F0(... ])2.5 E(The \214rst form lists the acti)144 614.4 Q .3 +-.15(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H +(he follo).15 E(wing meanings:)-.25 E F1<ad6c>144 626.4 Q F0 (List process IDs in addition to the normal information.)27.52 E F1 -<ad70>144 537.6 Q F0(List only the process ID of the job')24.74 E 2.5 -(sp)-.55 G(rocess group leader)-2.5 E(.)-.55 E F1<ad6e>144 549.6 Q F0 -.193(Display information only about jobs that ha)24.74 F .494 -.15(ve c) --.2 H .194(hanged status since the user w).15 F .194(as last noti-)-.1 F -(\214ed of their status.)180 561.6 Q F1<ad72>144 573.6 Q F0 -(Restrict output to running jobs.)25.86 E F1<ad73>144 585.6 Q F0 -(Restrict output to stopped jobs.)26.41 E(If)144 602.4 Q F2(jobspec) -4.554 E F0 .314(is gi)3.124 F -.15(ve)-.25 G .314 -(n, output is restricted to information about that job).15 F 5.313(.T) --.4 G .313(he return status is 0 unless)-5.313 F(an in)144 614.4 Q -.25 +<ad70>144 638.4 Q F0(List only the process ID of the job')24.74 E 2.5 +(sp)-.55 G(rocess group leader)-2.5 E(.)-.55 E F1<ad6e>144 650.4 Q F0 +.194(Display information only about jobs that ha)24.74 F .494 -.15(ve c) +-.2 H .193(hanged status since the user w).15 F .193(as last noti-)-.1 F +(\214ed of their status.)180 662.4 Q F1<ad72>144 674.4 Q F0 +(Restrict output to running jobs.)25.86 E F1<ad73>144 686.4 Q F0 +(Restrict output to stopped jobs.)26.41 E(If)144 703.2 Q F2(jobspec) +4.553 E F0 .313(is gi)3.123 F -.15(ve)-.25 G .313 +(n, output is restricted to information about that job).15 F 5.314(.T) +-.4 G .314(he return status is 0 unless)-5.314 F(an in)144 715.2 Q -.25 (va)-.4 G(lid option is encountered or an in).25 E -.25(va)-.4 G(lid).25 -E F2(jobspec)4.24 E F0(is supplied.)2.81 E .394(If the)144 631.2 R F1 -<ad78>2.894 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0 -.394(replaces an)2.894 F(y)-.15 E F2(jobspec)4.634 E F0 .394(found in) -3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .395 -(with the corre-)3.164 F(sponding process group ID, and e)144 643.2 Q --.15(xe)-.15 G(cutes).15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar) -2.5 E(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E -F1(kill)108 660 Q F0([)2.5 E F1<ad73>A F2(sigspec)2.5 E F0(|)2.5 E F1 -<ad6e>2.5 E F2(signum)2.5 E F0(|)2.5 E F1<ad>2.5 E F2(sigspec)A F0 2.5 -(][)C F2(pid)-2.5 E F0(|)2.5 E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1 -(kill \255l)108 672 Q F0([)2.5 E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 G -(it_status).2 E F0(])A .12(Send the signal named by)144 684 R F2 -(sigspec)2.96 E F0(or)2.93 E F2(signum)2.96 E F0 .119 -(to the processes named by)2.939 F F2(pid)3.869 E F0(or)3.389 E F2 -(jobspec)2.619 E F0(.).31 E F2(sigspec)5.459 E F0(is)2.929 E .318 -(either a case-insensiti)144 696 R .618 -.15(ve s)-.25 H .318 -(ignal name such as).15 F F3(SIGKILL)2.818 E F0 .319 -(\(with or without the)2.569 F F3(SIG)2.819 E F0 .319 -(pre\214x\) or a signal)2.569 F(number;)144 708 Q F2(signum)4.189 E F0 -1.349(is a signal number)4.169 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) -4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0 -1.348(is assumed.)3.599 F(An)6.348 E(ar)144 720 Q .522(gument of)-.18 F -F1<ad6c>3.023 E F0 .523(lists the signal names.)3.023 F .523(If an)5.523 -F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when).18 F -F1<ad6c>3.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523(n, the names) -.15 F(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(9)203.725 E 0 Cg EP +E F2(jobspec)4.24 E F0(is supplied.)2.81 E(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(9)203.725 E 0 Cg EP %%Page: 10 10 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .28 -(of the signals corresponding to the ar)144 84 R .28 -(guments are listed, and the return status is 0.)-.18 F(The)5.28 E/F1 10 -/Times-Italic@0 SF -.2(ex)2.78 G(it_status).2 E F0(ar)144 96 Q .377 -(gument to)-.18 F/F2 10/Times-Bold@0 SF<ad6c>2.877 E F0 .378 -(is a number specifying either a signal number or the e)2.877 F .378 -(xit status of a process termi-)-.15 F .594(nated by a signal.)144 108 R -F2(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F -.593(as successfully sent, or f)-.1 F .593(alse if an error)-.1 F -(occurs or an in)144 120 Q -.25(va)-.4 G(lid option is encountered.).25 -E F2(let)108 136.8 Q F1(ar)2.5 E(g)-.37 E F0([)2.5 E F1(ar)A(g)-.37 E F0 -(...])2.5 E(Each)144 148.8 Q F1(ar)3.964 E(g)-.37 E F0 1.134 -(is an arithmetic e)3.854 F 1.134(xpression to be e)-.15 F -.25(va)-.25 -G 1.135(luated \(see).25 F/F3 9/Times-Bold@0 SF 1.135(ARITHMETIC EV) -3.635 F(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E/F4 9/Times-Roman@0 SF -(\).)A F0 1.135(If the)5.635 F(last)144 160.8 Q F1(ar)2.83 E(g)-.37 E F0 --.25(eva)2.72 G(luates to 0,).25 E F2(let)2.5 E F0 -(returns 1; 0 is returned otherwise.)2.5 E F2(local)108 177.6 Q F0([)2.5 -E F1(option)A F0 2.5(][)C F1(name)-2.5 E F0([=)A F1(value)A F0 2.5(].)C -(..])-2.5 E -.15(Fo)144 189.6 S 2.56(re).15 G .06(ach ar)-2.56 F .06 -(gument, a local v)-.18 F .06(ariable named)-.25 F F1(name)2.92 E F0 .06 -(is created, and assigned)2.74 F F1(value)2.56 E F0 5.06(.T).18 G(he) --5.06 E F1(option)2.56 E F0 .06(can be)2.56 F(an)144 201.6 Q 3.152(yo) --.15 G 3.152(ft)-3.152 G .652(he options accepted by)-3.152 F F2(declar) -3.152 E(e)-.18 E F0 5.652(.W)C(hen)-5.652 E F2(local)3.152 E F0 .653 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .395(If the) +144 84 R/F1 10/Times-Bold@0 SF<ad78>2.895 E F0 .394(option is supplied,) +2.894 F F1(jobs)2.894 E F0 .394(replaces an)2.894 F(y)-.15 E/F2 10 +/Times-Italic@0 SF(jobspec)4.634 E F0 .394(found in)3.204 F F2(command) +3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .394(with the corre-) +3.164 F(sponding process group ID, and e)144 96 Q -.15(xe)-.15 G(cutes) +.15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar)2.5 E(gs)-.37 E F0 2.5 +(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E F1(kill)108 112.8 Q +F0([)2.5 E F1<ad73>A F2(sigspec)2.5 E F0(|)2.5 E F1<ad6e>2.5 E F2 +(signum)2.5 E F0(|)2.5 E F1<ad>2.5 E F2(sigspec)A F0 2.5(][)C F2(pid) +-2.5 E F0(|)2.5 E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1(kill \255l) +108 124.8 Q F0([)2.5 E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 G +(it_status).2 E F0(])A .119(Send the signal named by)144 136.8 R F2 +(sigspec)2.959 E F0(or)2.929 E F2(signum)2.959 E F0 .119 +(to the processes named by)2.939 F F2(pid)3.87 E F0(or)3.39 E F2 +(jobspec)2.62 E F0(.).31 E F2(sigspec)5.46 E F0(is)2.93 E .319 +(either a case-insensiti)144 148.8 R .619 -.15(ve s)-.25 H .319 +(ignal name such as).15 F/F3 9/Times-Bold@0 SF(SIGKILL)2.819 E F0 .318 +(\(with or without the)2.569 F F3(SIG)2.818 E F0 .318 +(pre\214x\) or a signal)2.568 F(number;)144 160.8 Q F2(signum)4.188 E F0 +1.349(is a signal number)4.168 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec) +4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0 +1.349(is assumed.)3.599 F(An)6.349 E(ar)144 172.8 Q .523(gument of)-.18 +F F1<ad6c>3.023 E F0 .523(lists the signal names.)3.023 F .523(If an) +5.523 F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when) +.18 F F1<ad6c>3.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523 +(n, the names).15 F .28(of the signals corresponding to the ar)144 184.8 +R .28(guments are listed, and the return status is 0.)-.18 F(The)5.28 E +F2 -.2(ex)2.78 G(it_status).2 E F0(ar)144 196.8 Q .378(gument to)-.18 F +F1<ad6c>2.878 E F0 .378 +(is a number specifying either a signal number or the e)2.878 F .377 +(xit status of a process termi-)-.15 F .593(nated by a signal.)144 208.8 +R F1(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F +.593(as successfully sent, or f)-.1 F .594(alse if an error)-.1 F +(occurs or an in)144 220.8 Q -.25(va)-.4 G(lid option is encountered.) +.25 E F1(let)108 237.6 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A(g)-.37 +E F0(...])2.5 E(Each)144 249.6 Q F2(ar)3.965 E(g)-.37 E F0 1.135 +(is an arithmetic e)3.855 F 1.134(xpression to be e)-.15 F -.25(va)-.25 +G 1.134(luated \(see).25 F F3 1.134(ARITHMETIC EV)3.634 F(ALU)-1.215 E +-.855(AT)-.54 G(ION).855 E/F4 9/Times-Roman@0 SF(\).)A F0 1.134(If the) +5.634 F(last)144 261.6 Q F2(ar)2.83 E(g)-.37 E F0 -.25(eva)2.72 G +(luates to 0,).25 E F1(let)2.5 E F0(returns 1; 0 is returned otherwise.) +2.5 E F1(local)108 278.4 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(name) +-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E -.15(Fo)144 290.4 S +2.56(re).15 G .06(ach ar)-2.56 F .06(gument, a local v)-.18 F .06 +(ariable named)-.25 F F2(name)2.92 E F0 .06(is created, and assigned) +2.74 F F2(value)2.56 E F0 5.06(.T).18 G(he)-5.06 E F2(option)2.56 E F0 +.06(can be)2.56 F(an)144 302.4 Q 3.153(yo)-.15 G 3.153(ft)-3.153 G .653 +(he options accepted by)-3.153 F F1(declar)3.153 E(e)-.18 E F0 5.652(.W) +C(hen)-5.652 E F1(local)3.152 E F0 .652 (is used within a function, it causes the v)3.152 F(ari-)-.25 E(able)144 -213.6 Q F1(name)3.721 E F0 .861(to ha)3.541 F 1.161 -.15(ve a v)-.2 H -.861(isible scope restricted to that function and its children.).15 F --.4(Wi)5.86 G .86(th no operands,).4 F F2(local)144 225.6 Q F0 1.164 -(writes a list of local v)3.664 F 1.165 +314.4 Q F2(name)3.72 E F0 .86(to ha)3.54 F 1.16 -.15(ve a v)-.2 H .861 +(isible scope restricted to that function and its children.).15 F -.4 +(Wi)5.861 G .861(th no operands,).4 F F1(local)144 326.4 Q F0 1.165 +(writes a list of local v)3.665 F 1.165 (ariables to the standard output.)-.25 F 1.165(It is an error to use) -6.165 F F2(local)3.665 E F0 1.165(when not)3.665 F .233 -(within a function.)144 237.6 R .233(The return status is 0 unless)5.233 -F F2(local)2.733 E F0 .233(is used outside a function, an in)2.733 F --.25(va)-.4 G(lid).25 E F1(name)3.092 E F0(is)2.912 E(supplied, or)144 -249.6 Q F1(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F2 -(logout)108 266.4 Q F0(Exit a login shell.)9.33 E F2(popd)108 283.2 Q F0 -<5bad>2.5 E F2(n)A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C<ad>-2.5 E F1 -(n)A F0(])A(Remo)144 295.2 Q -.15(ve)-.15 G 2.799(se).15 G .299 +6.165 F F1(local)3.664 E F0 1.164(when not)3.664 F .232 +(within a function.)144 338.4 R .233(The return status is 0 unless)5.232 +F F1(local)2.733 E F0 .233(is used outside a function, an in)2.733 F +-.25(va)-.4 G(lid).25 E F2(name)3.093 E F0(is)2.913 E(supplied, or)144 +350.4 Q F2(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F1 +(logout)108 367.2 Q F0(Exit a login shell.)9.33 E F1(map\214le)108 384 Q +F0([)2.5 E F1<ad6e>A F2(count)2.5 E F0 2.5(][)C F1<ad4f>-2.5 E F2 +(origin)2.5 E F0 2.5(][)C F1<ad73>-2.5 E F2(cou)2.5 E F0(nt)144 396 Q F2 +3.212(][)C F1<ad74>-3.212 E F2 3.212(][)C F1<ad75>-3.212 E F2 .712 +(fd] [)3.212 F F1<ad43>A F2(callbac)3.212 E .712(k] [)-.2 F F1<ad63>A F2 +(Iquantum)3.212 E F1 3.212(][)C F2(arr)-3.212 E(ay)-.15 E F1 3.212(]R)C +.712(ead lines fr)-3.212 F .712(om the standard input into)-.18 F .605 +(array v)144 408 R(ariable)-.1 E F2(arr)3.105 E(ay)-.15 E F0 3.105(,o) +.32 G 3.105(rf)-3.105 G .605(rom \214le descriptor)-3.105 F F2(fd)3.106 +E F0 .606(if the)3.106 F F1<ad75>3.106 E F0 .606(option is supplied.) +3.106 F .606(The v)5.606 F(ariable)-.25 E F1(MAP-)3.106 E(FILE)144 420 Q +F0(is the def)2.5 E(ault)-.1 E F2(arr)2.5 E(ay)-.15 E F0 5(.O)C +(ptions, if supplied, ha)-5 E .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1<ad6e>144 432 Q F0(Cop)24.74 E 2.5(ya)-.1 G 2.5 +(tm)-2.5 G(ost)-2.5 E F2(count)2.7 E F0 2.5(lines. If)3.18 F F2(count) +2.5 E F0(is 0, all lines are copied.)2.5 E F1<ad4f>144 444 Q F0(Be)22.52 +E(gin assigning to)-.15 E F2(arr)2.83 E(ay)-.15 E F0(at inde)2.82 E(x) +-.15 E F2(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E 2.5(xi) +-.15 G 2.5(s0)-2.5 G(.)-2.5 E F1<ad73>144 456 Q F0(Discard the \214rst) +26.41 E F2(count)2.5 E F0(lines read.)2.5 E F1<ad74>144 468 Q F0(Remo) +26.97 E .3 -.15(ve a t)-.15 H(railing line from each line read.).15 E F1 +<ad75>144 480 Q F0(Read lines from \214le descriptor)24.74 E F2(fd)2.5 E +F0(instead of the standard input.)2.5 E F1<ad43>144 492 Q F0(Ev)23.08 E +(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2(quantum) +2.5 E F0(lines are read.)2.5 E(The)5 E F1<ad63>2.5 E F0 +(option speci\214es)2.5 E F2(quantum)2.5 E F0(.).32 E F1<ad63>144 504 Q +F0(Specify the number of lines read between each call to)25.86 E F2 +(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 520.8 Q F1<ad43>2.5 E F0 +(is speci\214ed without)2.5 E F1<ad63>2.5 E F0 2.5(,t)C(he def)-2.5 E +(ault quantum is 5000.)-.1 E(If not supplied with an e)144 537.6 Q +(xplicit origin,)-.15 E F1(map\214le)2.5 E F0(will clear)2.5 E F2(arr) +2.5 E(ay)-.15 E F0(before assigning to it.)2.5 E F1(map\214le)144 554.4 +Q F0 .996(returns successfully unless an in)3.496 F -.25(va)-.4 G .996 +(lid option or option ar).25 F .995(gument is supplied, or)-.18 F F2 +(arr)3.495 E(ay)-.15 E F0(is)3.495 E(in)144 566.4 Q -.25(va)-.4 G +(lid or unassignable.).25 E F1(popd)108 583.2 Q F0<5bad>2.5 E F1(n)A F0 +2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C<ad>-2.5 E F2(n)A F0(])A(Remo)144 +595.2 Q -.15(ve)-.15 G 2.799(se).15 G .299 (ntries from the directory stack.)-2.799 F -.4(Wi)5.299 G .299(th no ar) .4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G .3 (he top directory from the)-2.799 F 1.479(stack, and performs a)144 -307.2 R F2(cd)3.979 E F0 1.479(to the ne)3.979 F 3.979(wt)-.25 G 1.479 +607.2 R F1(cd)3.979 E F0 1.479(to the ne)3.979 F 3.979(wt)-.25 G 1.479 (op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.478 (uments, if supplied, ha).18 F 1.778 -.15(ve t)-.2 H 1.478(he follo).15 -F(wing)-.25 E(meanings:)144 319.2 Q F2<ad6e>144 331.2 Q F0 .551 +F(wing)-.25 E(meanings:)144 619.2 Q F1<ad6e>144 631.2 Q F0 .551 (Suppresses the normal change of directory when remo)24.74 F .551 (ving directories from the stack, so)-.15 F -(that only the stack is manipulated.)180 343.2 Q F2(+)144 355.2 Q F1(n)A -F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F1(n)2.64 E F0 +(that only the stack is manipulated.)180 643.2 Q F1(+)144 655.2 Q F2(n)A +F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E F0 .14(th entry counting from the left of the list sho)B .14(wn by)-.25 F -F2(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 -367.2 S 2.5(re).15 G(xample:)-2.65 E/F5 10/Courier@0 SF(popd +0)2.5 E F0 +F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 +667.2 S 2.5(re).15 G(xample:)-2.65 E/F5 10/Courier@0 SF(popd +0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,) --.65 E F5(popd +1)2.5 E F0(the second.)2.5 E F2<ad>144 379.2 Q F1(n)A F0 -(Remo)25.3 E -.15(ve)-.15 G 3.759(st).15 G(he)-3.759 E F1(n)3.759 E F0 +-.65 E F5(popd +1)2.5 E F0(the second.)2.5 E F1<ad>144 679.2 Q F2(n)A F0 +(Remo)25.3 E -.15(ve)-.15 G 3.759(st).15 G(he)-3.759 E F2(n)3.759 E F0 1.259(th entry counting from the right of the list sho)B 1.26(wn by)-.25 -F F2(dirs)3.76 E F0 3.76(,s)C 1.26(tarting with)-3.76 F 2.5(zero. F)180 -391.2 R(or e)-.15 E(xample:)-.15 E F5(popd -0)2.5 E F0(remo)2.5 E -.15 +F F1(dirs)3.76 E F0 3.76(,s)C 1.26(tarting with)-3.76 F 2.5(zero. F)180 +691.2 R(or e)-.15 E(xample:)-.15 E F5(popd -0)2.5 E F0(remo)2.5 E -.15 (ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 E F5(popd -1)2.5 -E F0(the ne)2.5 E(xt to last.)-.15 E .644(If the)144 408 R F2(popd)3.144 -E F0 .644(command is successful, a)3.144 F F2(dirs)3.143 E F0 .643 -(is performed as well, and the return status is 0.)3.143 F F2(popd)5.643 -E F0 .415(returns f)144 420 R .415(alse if an in)-.1 F -.25(va)-.4 G -.415(lid option is encountered, the directory stack is empty).25 F 2.916 -(,an)-.65 G(on-e)-2.916 E .416(xistent direc-)-.15 F -(tory stack entry is speci\214ed, or the directory change f)144 432 Q -(ails.)-.1 E F2(printf)108 448.8 Q F0([)2.5 E F2<ad76>A F1(var)2.5 E F0 -(])A F1(format)2.5 E F0([)2.5 E F1(ar)A(guments)-.37 E F0(])A .372 -(Write the formatted)144 460.8 R F1(ar)2.872 E(guments)-.37 E F0 .372 -(to the standard output under the control of the)2.872 F F1(format)2.872 -E F0 5.372(.T)C(he)-5.372 E F1(format)2.872 E F0 1.804(is a character s\ +E F0(the ne)2.5 E(xt to last.)-.15 E .644(If the)144 708 R F1(popd)3.144 +E F0 .644(command is successful, a)3.144 F F1(dirs)3.143 E F0 .643 +(is performed as well, and the return status is 0.)3.143 F F1(popd)5.643 +E F0 2.289(returns f)144 720 R 2.289(alse if an in)-.1 F -.25(va)-.4 G +2.289(lid option is encountered, the directory stack is empty).25 F 4.79 +(,an)-.65 G(on-e)-4.79 E(xistent)-.15 E(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(10)198.725 E 0 Cg EP +%%Page: 11 11 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E +(directory stack entry is speci\214ed, or the directory change f)144 84 +Q(ails.)-.1 E/F1 10/Times-Bold@0 SF(printf)108 100.8 Q F0([)2.5 E F1 +<ad76>A/F2 10/Times-Italic@0 SF(var)2.5 E F0(])A F2(format)2.5 E F0([) +2.5 E F2(ar)A(guments)-.37 E F0(])A .372(Write the formatted)144 112.8 R +F2(ar)2.872 E(guments)-.37 E F0 .372 +(to the standard output under the control of the)2.872 F F2(format)2.872 +E F0 5.372(.T)C(he)-5.372 E F2(format)2.872 E F0 1.804(is a character s\ tring which contains three types of objects: plain characters, which ar\ -e simply)144 472.8 R .159 +e simply)144 124.8 R .159 (copied to standard output, character escape sequences, which are con) -144 484.8 R -.15(ve)-.4 G .158(rted and copied to the stan-).15 F .499(\ +144 136.8 R -.15(ve)-.4 G .158(rted and copied to the stan-).15 F .499(\ dard output, and format speci\214cations, each of which causes printing\ - of the ne)144 496.8 R .5(xt successi)-.15 F -.15(ve)-.25 G F1(ar)3.15 E -(gu-)-.37 E(ment)144 508.8 Q F0 5.424(.I)C 2.924(na)-5.424 G .424 -(ddition to the standard)-2.924 F F1(printf)2.924 E F0 .424 -(\(1\) formats,)B F2(%b)2.924 E F0(causes)2.923 E F2(printf)2.923 E F0 + of the ne)144 148.8 R .5(xt successi)-.15 F -.15(ve)-.25 G F2(ar)3.15 E +(gu-)-.37 E(ment)144 160.8 Q F0 5.424(.I)C 2.924(na)-5.424 G .424 +(ddition to the standard)-2.924 F F2(printf)2.924 E F0 .424 +(\(1\) formats,)B F1(%b)2.924 E F0(causes)2.923 E F1(printf)2.923 E F0 .423(to e)2.923 F .423(xpand backslash escape)-.15 F .976 -(sequences in the corresponding)144 520.8 R F1(ar)3.476 E(gument)-.37 E -F0(\(e)3.476 E .976(xcept that)-.15 F F2(\\c)3.476 E F0 .976 -(terminates output, backslashes in)3.476 F F2<5c08>3.477 E F0(,)A F2 -(\\")3.477 E F0(,)A(and)144 532.8 Q F2(\\?)3.422 E F0 .922(are not remo) +(sequences in the corresponding)144 172.8 R F2(ar)3.476 E(gument)-.37 E +F0(\(e)3.476 E .976(xcept that)-.15 F F1(\\c)3.476 E F0 .976 +(terminates output, backslashes in)3.476 F F1<5c08>3.477 E F0(,)A F1 +(\\")3.477 E F0(,)A(and)144 184.8 Q F1(\\?)3.422 E F0 .922(are not remo) 3.422 F -.15(ve)-.15 G .922(d, and octal escapes be).15 F .922 -(ginning with)-.15 F F2(\\0)3.422 E F0 .921 -(may contain up to four digits\), and)3.422 F F2(%q)144 544.8 Q F0 -(causes)3.63 E F2(printf)3.63 E F0 1.13(to output the corresponding)3.63 -F F1(ar)3.631 E(gument)-.37 E F0 1.131 -(in a format that can be reused as shell)3.631 F(input.)144 556.8 Q(The) -144 580.8 Q F2<ad76>2.904 E F0 .404 +(ginning with)-.15 F F1(\\0)3.422 E F0 .921 +(may contain up to four digits\), and)3.422 F F1(%q)144 196.8 Q F0 +(causes)3.63 E F1(printf)3.63 E F0 1.13(to output the corresponding)3.63 +F F2(ar)3.631 E(gument)-.37 E F0 1.131 +(in a format that can be reused as shell)3.631 F(input.)144 208.8 Q(The) +144 232.8 Q F1<ad76>2.904 E F0 .404 (option causes the output to be assigned to the v)2.904 F(ariable)-.25 E -F1(var)2.904 E F0 .404(rather than being printed to the)2.904 F -(standard output.)144 592.8 Q(The)144 616.8 Q F1(format)3.423 E F0 .923 -(is reused as necessary to consume all of the)3.423 F F1(ar)3.423 E -(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F1(format) -3.423 E F0 .924(requires more)3.424 F F1(ar)144 628.8 Q(guments)-.37 E +F2(var)2.904 E F0 .404(rather than being printed to the)2.904 F +(standard output.)144 244.8 Q(The)144 268.8 Q F2(format)3.423 E F0 .923 +(is reused as necessary to consume all of the)3.423 F F2(ar)3.423 E +(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F2(format) +3.423 E F0 .924(requires more)3.424 F F2(ar)144 280.8 Q(guments)-.37 E F0 .033(than are supplied, the e)2.534 F .033 (xtra format speci\214cations beha)-.15 F .333 -.15(ve a)-.2 H 2.533(si) .15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,) --.25 F(as appropriate, had been supplied.)144 640.8 Q(The return v)5 E -(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F2(pushd) -108 657.6 Q F0([)2.5 E F2<ad6e>A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C -<ad>-2.5 E F1(n)A F0(])A F2(pushd)108 669.6 Q F0([)2.5 E F2<ad6e>A F0 -2.5(][)C F1(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\ -irectory stack, or rotates the stack, making the ne)144 681.6 R 3.14(wt) --.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 693.6 R 1.316 +-.25 F(as appropriate, had been supplied.)144 292.8 Q(The return v)5 E +(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F1(pushd) +108 309.6 Q F0([)2.5 E F1<ad6e>A F0 2.5(][)C(+)-2.5 E F2(n)A F0 2.5(][)C +<ad>-2.5 E F2(n)A F0(])A F1(pushd)108 321.6 Q F0([)2.5 E F1<ad6e>A F0 +2.5(][)C F2(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\ +irectory stack, or rotates the stack, making the ne)144 333.6 R 3.14(wt) +-.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 345.6 R 1.316 (orking directory)-.1 F 6.316(.W)-.65 G 1.315(ith no ar)-6.716 F 1.315 (guments, e)-.18 F 1.315(xchanges the top tw)-.15 F 3.815(od)-.1 G 1.315 (irectories and)-3.815 F .871 -(returns 0, unless the directory stack is empty)144 705.6 R 5.871(.A) +(returns 0, unless the directory stack is empty)144 357.6 R 5.871(.A) -.65 G -.18(rg)-5.871 G .872(uments, if supplied, ha).18 F 1.172 -.15 -(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 717.6 Q -(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(10)198.725 E 0 Cg EP -%%Page: 11 11 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF<ad6e>144 84 Q F0 .902(Suppresses the normal change of \ -directory when adding directories to the stack, so that)24.74 F -(only the stack is manipulated.)180 96 Q F1(+)144 108 Q/F2 10 -/Times-Italic@0 SF(n)A F0 1.267(Rotates the stack so that the)25.3 F F2 -(n)3.767 E F0 1.268 +(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 369.6 Q +F1<ad6e>144 381.6 Q F0 .902(Suppresses the normal change of directory w\ +hen adding directories to the stack, so that)24.74 F +(only the stack is manipulated.)180 393.6 Q F1(+)144 405.6 Q F2(n)A F0 +1.267(Rotates the stack so that the)25.3 F F2(n)3.767 E F0 1.268 (th directory \(counting from the left of the list sho)B 1.268(wn by) --.25 F F1(dirs)180 120 Q F0 2.5(,s)C(tarting with zero\) is at the top.) --2.5 E F1<ad>144 132 Q F2(n)A F0 .92(Rotates the stack so that the)25.3 -F F2(n)3.42 E F0 .92 +-.25 F F1(dirs)180 417.6 Q F0 2.5(,s)C +(tarting with zero\) is at the top.)-2.5 E F1<ad>144 429.6 Q F2(n)A F0 +.92(Rotates the stack so that the)25.3 F F2(n)3.42 E F0 .92 (th directory \(counting from the right of the list sho)B .92(wn by)-.25 -F F1(dirs)180 144 Q F0 2.5(,s)C(tarting with zero\) is at the top.)-2.5 -E F2(dir)144.35 156 Q F0(Adds)23.98 E F2(dir)2.85 E F0 +F F1(dirs)180 441.6 Q F0 2.5(,s)C(tarting with zero\) is at the top.) +-2.5 E F2(dir)144.35 453.6 Q F0(Adds)23.98 E F2(dir)2.85 E F0 (to the directory stack at the top, making it the ne)3.23 E 2.5(wc)-.25 -G(urrent w)-2.5 E(orking directory)-.1 E(.)-.65 E .488(If the)144 172.8 +G(urrent w)-2.5 E(orking directory)-.1 E(.)-.65 E .488(If the)144 470.4 R F1(pushd)2.988 E F0 .488(command is successful, a)2.988 F F1(dirs) 2.988 E F0 .488(is performed as well.)2.988 F .489 (If the \214rst form is used,)5.488 F F1(pushd)2.989 E F0 1.04 -(returns 0 unless the cd to)144 184.8 R F2(dir)3.89 E F0 -.1(fa)4.27 G +(returns 0 unless the cd to)144 482.4 R F2(dir)3.89 E F0 -.1(fa)4.27 G 3.539(ils. W).1 F 1.039(ith the second form,)-.4 F F1(pushd)3.539 E F0 1.039(returns 0 unless the directory)3.539 F .846(stack is empty)144 -196.8 R 3.346(,an)-.65 G(on-e)-3.346 E .847(xistent directory stack ele\ +494.4 R 3.346(,an)-.65 G(on-e)-3.346 E .847(xistent directory stack ele\ ment is speci\214ed, or the directory change to the)-.15 F -(speci\214ed ne)144 208.8 Q 2.5(wc)-.25 G(urrent directory f)-2.5 E -(ails.)-.1 E F1(pwd)108 225.6 Q F0([)2.5 E F1(\255LP)A F0(])A .845 -(Print the absolute pathname of the current w)144 237.6 R .845 +(speci\214ed ne)144 506.4 Q 2.5(wc)-.25 G(urrent directory f)-2.5 E +(ails.)-.1 E F1(pwd)108 523.2 Q F0([)2.5 E F1(\255LP)A F0(])A .845 +(Print the absolute pathname of the current w)144 535.2 R .845 (orking directory)-.1 F 5.844(.T)-.65 G .844 (he pathname printed contains no)-5.844 F .181(symbolic links if the)144 -249.6 R F1<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F1 +547.2 R F1<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F1 .181(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F1 (set)2.681 E F0 -.2(bu)2.681 G .182(iltin command is).2 F 3.264 -(enabled. If)144 261.6 R(the)3.264 E F1<ad4c>3.264 E F0 .763 +(enabled. If)144 559.2 R(the)3.264 E F1<ad4c>3.264 E F0 .763 (option is used, the pathname printed may contain symbolic links.)3.264 F .763(The return)5.763 F 1.36(status is 0 unless an error occurs while\ - reading the name of the current directory or an in)144 273.6 R -.25(va) --.4 G(lid).25 E(option is supplied.)144 285.6 Q F1 -.18(re)108 302.4 S -(ad).18 E F0([)2.5 E F1(\255ers)A F0 2.5(][)C F1<ad61>-2.5 E F2(aname) -2.5 E F0 2.5(][)C F1<ad64>-2.5 E F2(delim)2.5 E F0 2.5(][)C<ad>-2.5 E F2 -(te)2.5 E(xt)-.2 E F0 2.5(][)C F1<ad6e>-2.5 E F2(nc)2.5 E(har)-.15 E(s) --.1 E F0 2.5(][)C F1<ad70>-2.5 E F2(pr)2.5 E(ompt)-.45 E F0 2.5(][)C F1 -<ad74>-2.5 E F2(timeout)2.5 E F0 2.5(][)C F1<ad75>-2.5 E F2(fd)2.5 E F0 -2.5(][)C F2(name)-2.5 E F0(...])2.5 E .516(One line is read from the st\ -andard input, or from the \214le descriptor)144 314.4 R F2(fd)3.016 E F0 -.516(supplied as an ar)3.016 F .516(gument to)-.18 F(the)144 326.4 Q F1 -<ad75>2.538 E F0 .038(option, and the \214rst w)2.538 F .038 + reading the name of the current directory or an in)144 571.2 R -.25(va) +-.4 G(lid).25 E(option is supplied.)144 583.2 Q F1 -.18(re)108 600 S(ad) +.18 E F0([)2.5 E F1(\255ers)A F0 2.5(][)C F1<ad61>-2.5 E F2(aname)2.5 E +F0 2.5(][)C F1<ad64>-2.5 E F2(delim)2.5 E F0 2.5(][)C<ad>-2.5 E F2(te) +2.5 E(xt)-.2 E F0 2.5(][)C F1<ad6e>-2.5 E F2(nc)2.5 E(har)-.15 E(s)-.1 E +F0 2.5(][)C F1<ad70>-2.5 E F2(pr)2.5 E(ompt)-.45 E F0 2.5(][)C F1<ad74> +-2.5 E F2(timeout)2.5 E F0 2.5(][)C F1<ad75>-2.5 E F2(fd)2.5 E F0 2.5 +(][)C F2(name)-2.5 E F0(...])2.5 E .516(One line is read from the stand\ +ard input, or from the \214le descriptor)144 612 R F2(fd)3.016 E F0 .516 +(supplied as an ar)3.016 F .516(gument to)-.18 F(the)144 624 Q F1<ad75> +2.538 E F0 .038(option, and the \214rst w)2.538 F .038 (ord is assigned to the \214rst)-.1 F F2(name)2.539 E F0 2.539(,t).18 G .039(he second w)-2.539 F .039(ord to the second)-.1 F F2(name)2.539 E -F0(,).18 E .42(and so on, with lefto)144 338.4 R -.15(ve)-.15 G 2.92(rw) +F0(,).18 E .42(and so on, with lefto)144 636 R -.15(ve)-.15 G 2.92(rw) .15 G .42(ords and their interv)-3.02 F .42 (ening separators assigned to the last)-.15 F F2(name)2.92 E F0 5.42(.I) -.18 G 2.92(ft)-5.42 G(here)-2.92 E .54(are fe)144 350.4 R .54(wer w)-.25 -F .541(ords read from the input stream than names, the remaining names \ -are assigned empty)-.1 F -.25(va)144 362.4 S 2.511(lues. The).25 F .011 +.18 G 2.92(ft)-5.42 G(here)-2.92 E .54(are fe)144 648 R .54(wer w)-.25 F +.541(ords read from the input stream than names, the remaining names ar\ +e assigned empty)-.1 F -.25(va)144 660 S 2.511(lues. The).25 F .011 (characters in)2.511 F/F3 9/Times-Bold@0 SF(IFS)2.511 E F0 .011 (are used to split the line into w)2.261 F 2.511(ords. The)-.1 F .011 (backslash character \()2.511 F F1(\\)A F0 2.51(\)m)C(ay)-2.51 E 1.89 -(be used to remo)144 374.4 R 2.19 -.15(ve a)-.15 H 2.19 -.15(ny s).15 H +(be used to remo)144 672 R 2.19 -.15(ve a)-.15 H 2.19 -.15(ny s).15 H 1.891(pecial meaning for the ne).15 F 1.891 (xt character read and for line continuation.)-.15 F -(Options, if supplied, ha)144 386.4 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1<ad61>144 398.4 Q F2(aname)2.5 E F0 1.05(The w) -180 410.4 R 1.049 -(ords are assigned to sequential indices of the array v)-.1 F(ariable) --.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049(tarting at 0.)-3.549 F -F2(aname)180.33 422.4 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 --.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E F2(name)2.5 E F0 -(ar)2.5 E(guments are ignored.)-.18 E F1<ad64>144 434.4 Q F2(delim)2.5 E -F0(The \214rst character of)180 446.4 Q F2(delim)2.5 E F0 +(Options, if supplied, ha)144 684 Q .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1<ad61>144 696 Q F2(aname)2.5 E F0 1.05(The w) +180 708 R 1.049(ords are assigned to sequential indices of the array v) +-.1 F(ariable)-.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049 +(tarting at 0.)-3.549 F F2(aname)180.33 720 Q F0(is unset before an)2.68 +E 2.5(yn)-.15 G .5 -.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E +F2(name)2.5 E F0(ar)2.5 E(guments are ignored.)-.18 E(GNU Bash-3.0)72 +768 Q(2004 Apr 20)148.735 E(11)198.725 E 0 Cg EP +%%Page: 12 12 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 +/Times-Bold@0 SF<ad64>144 84 Q/F2 10/Times-Italic@0 SF(delim)2.5 E F0 +(The \214rst character of)180 96 Q F2(delim)2.5 E F0 (is used to terminate the input line, rather than ne)2.5 E(wline.)-.25 E -F1<ad65>144 458.4 Q F0 .372 +F1<ad65>144 108 Q F0 .372 (If the standard input is coming from a terminal,)25.86 F F1 -.18(re) -2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.873 E F0(abo)2.623 E --.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G(sed)-2.873 E -(to obtain the line.)180 470.4 Q F1<ad69>144 482.4 Q F2(te)2.5 E(xt)-.2 -E F0(If)10.78 E F1 -.18(re)2.716 G(adline).18 E F0 .216 +2.873 G(adline).18 E F0(\(see)2.873 E/F3 9/Times-Bold@0 SF(READLINE) +2.873 E F0(abo)2.623 E -.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G +(sed)-2.873 E(to obtain the line.)180 120 Q F1<ad69>144 132 Q F2(te)2.5 +E(xt)-.2 E F0(If)10.78 E F1 -.18(re)2.716 G(adline).18 E F0 .216 (is being used to read the line,)2.716 F F2(te)2.716 E(xt)-.2 E F0 .216 (is placed into the editing b)2.716 F(uf)-.2 E .215(fer before edit-) --.25 F(ing be)180 494.4 Q(gins.)-.15 E F1<ad6e>144 506.4 Q F2(nc)2.5 E -(har)-.15 E(s)-.1 E F1 -.18(re)180 518.4 S(ad).18 E F0 1.394 +-.25 F(ing be)180 144 Q(gins.)-.15 E F1<ad6e>144 156 Q F2(nc)2.5 E(har) +-.15 E(s)-.1 E F1 -.18(re)180 168 S(ad).18 E F0 1.394 (returns after reading)3.894 F F2(nc)3.894 E(har)-.15 E(s)-.1 E F0 1.395 (characters rather than w)3.894 F 1.395(aiting for a complete line of) --.1 F(input.)180 530.4 Q F1<ad70>144 542.4 Q F2(pr)2.5 E(ompt)-.45 E F0 -(Display)180 554.4 Q F2(pr)3.661 E(ompt)-.45 E F0 1.161 -(on standard error)3.661 F 3.661(,w)-.4 G 1.161(ithout a trailing ne) --3.661 F 1.161(wline, before attempting to read)-.25 F(an)180 566.4 Q -2.5(yi)-.15 G 2.5(nput. The)-2.5 F +-.1 F(input.)180 180 Q F1<ad70>144 192 Q F2(pr)2.5 E(ompt)-.45 E F0 +(Display)180 204 Q F2(pr)3.661 E(ompt)-.45 E F0 1.161(on standard error) +3.661 F 3.661(,w)-.4 G 1.161(ithout a trailing ne)-3.661 F 1.161 +(wline, before attempting to read)-.25 F(an)180 216 Q 2.5(yi)-.15 G 2.5 +(nput. The)-2.5 F (prompt is displayed only if input is coming from a terminal.)2.5 E F1 -<ad72>144 578.4 Q F0 .543(Backslash does not act as an escape character) +<ad72>144 228 Q F0 .543(Backslash does not act as an escape character) 25.86 F 5.543(.T)-.55 G .544(he backslash is considered to be part of) --5.543 F(the line.)180 590.4 Q(In particular)5 E 2.5(,ab)-.4 G +-5.543 F(the line.)180 240 Q(In particular)5 E 2.5(,ab)-.4 G (ackslash-ne)-2.5 E(wline pair may not be used as a line continuation.) --.25 E F1<ad73>144 602.4 Q F0(Silent mode.)26.41 E +-.25 E F1<ad73>144 252 Q F0(Silent mode.)26.41 E (If input is coming from a terminal, characters are not echoed.)5 E F1 -<ad74>144 614.4 Q F2(timeout)2.5 E F0(Cause)180 626.4 Q F1 -.18(re)3.549 -G(ad).18 E F0 1.048(to time out and return f)3.549 F 1.048 +<ad74>144 264 Q F2(timeout)2.5 E F0(Cause)180 276 Q F1 -.18(re)3.549 G +(ad).18 E F0 1.048(to time out and return f)3.549 F 1.048 (ailure if a complete line of input is not read within)-.1 F F2(timeout) -180 638.4 Q F0 2.92(seconds. This)2.92 F .42(option has no ef)2.92 F .42 -(fect if)-.25 F F1 -.18(re)2.92 G(ad).18 E F0 .42 -(is not reading input from the terminal)2.92 F(or a pipe.)180 650.4 Q F1 -<ad75>144 662.4 Q F2(fd)2.5 E F0(Read input from \214le descriptor)14.46 -E F2(fd)2.5 E F0(.)A .192(If no)144 679.2 R F2(names)3.052 E F0 .192 -(are supplied, the line read is assigned to the v)2.962 F(ariable)-.25 E -F3(REPL)2.691 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .191 -(The return code is zero,)4.691 F 1.217 -(unless end-of-\214le is encountered,)144 691.2 R F1 -.18(re)3.717 G(ad) -.18 E F0 1.217(times out, or an in)3.717 F -.25(va)-.4 G 1.218 -(lid \214le descriptor is supplied as the).25 F(ar)144 703.2 Q -(gument to)-.18 E F1<ad75>2.5 E F0(.)A(GNU Bash-3.0)72 768 Q -(2004 Apr 20)148.735 E(11)198.725 E 0 Cg EP -%%Page: 12 12 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF -.18(re)108 84 S(adonly).18 E F0([)2.5 E F1(\255apf)A -F0 2.5(][)C/F2 10/Times-Italic@0 SF(name)-2.5 E F0([=)A F2(wor)A(d)-.37 -E F0 2.5(].)C(..])-2.5 E .77(The gi)144 96 R -.15(ve)-.25 G(n).15 E F2 -(names)3.27 E F0 .77(are mark)3.27 F .77(ed readonly; the v)-.1 F .77 -(alues of these)-.25 F F2(names)3.63 E F0 .77 -(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 108 R -1.096(If the)6.096 F F1<ad66>3.596 E F0 1.097 -(option is supplied, the functions corresponding to the)3.596 F F2 -(names)3.597 E F0 1.097(are so)3.597 F(mark)144 120 Q 2.873(ed. The)-.1 -F F1<ad61>2.873 E F0 .373(option restricts the v)2.873 F .372 +180 288 Q F0(seconds.)3.496 E F2(timeout)5.996 E F0 .997 +(may be a decimal number with a fractional portion follo)3.496 F(wing) +-.25 E .064(the decimal point.)180 300 R .064(This option has no ef) +5.064 F .064(fect if)-.25 F F1 -.18(re)2.564 G(ad).18 E F0 .063 +(is not reading input from the terminal)2.564 F(or a pipe.)180 312 Q F1 +<ad75>144 324 Q F2(fd)2.5 E F0(Read input from \214le descriptor)14.46 E +F2(fd)2.5 E F0(.)A .191(If no)144 340.8 R F2(names)3.051 E F0 .191 +(are supplied, the line read is assigned to the v)2.961 F(ariable)-.25 E +F3(REPL)2.692 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .192 +(The return code is zero,)4.692 F 1.218 +(unless end-of-\214le is encountered,)144 352.8 R F1 -.18(re)3.718 G(ad) +.18 E F0 1.217(times out, or an in)3.718 F -.25(va)-.4 G 1.217 +(lid \214le descriptor is supplied as the).25 F(ar)144 364.8 Q +(gument to)-.18 E F1<ad75>2.5 E F0(.)A F1 -.18(re)108 381.6 S(adonly).18 +E F0([)2.5 E F1(\255apf)A F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(wor)A(d) +-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 393.6 R -.15(ve)-.25 G(n) +.15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77(ed readonly; the v)-.1 +F .77(alues of these)-.25 F F2(names)3.63 E F0 .77 +(may not be changed by subse-)3.54 F 1.097(quent assignment.)144 405.6 R +1.097(If the)6.097 F F1<ad66>3.597 E F0 1.097 +(option is supplied, the functions corresponding to the)3.597 F F2 +(names)3.596 E F0 1.096(are so)3.596 F(mark)144 417.6 Q 2.872(ed. The) +-.1 F F1<ad61>2.872 E F0 .372(option restricts the v)2.872 F .372 (ariables to arrays.)-.25 F .372(If no)5.372 F F2(name)3.232 E F0(ar) -3.052 E .372(guments are gi)-.18 F -.15(ve)-.25 G .372(n, or if the).15 -F F1<ad70>144 132 Q F0 .796 -(option is supplied, a list of all readonly names is printed.)3.296 F +3.053 E .373(guments are gi)-.18 F -.15(ve)-.25 G .373(n, or if the).15 +F F1<ad70>144 429.6 Q F0 .796 +(option is supplied, a list of all readonly names is printed.)3.297 F (The)5.796 E F1<ad70>3.296 E F0 .796(option causes output to be)3.296 F -.828(displayed in a format that may be reused as input.)144 144 R .828 -(If a v)5.828 F .828(ariable name is follo)-.25 F .827(wed by =)-.25 F -F2(wor)A(d)-.37 E F0 3.327(,t)C(he)-3.327 E -.25(va)144 156 S .404 -(lue of the v).25 F .404(ariable is set to)-.25 F F2(wor)2.904 E(d)-.37 -E F0 5.404(.T)C .405(he return status is 0 unless an in)-5.404 F -.25 -(va)-.4 G .405(lid option is encountered,).25 F 1.07(one of the)144 168 -R F2(names)3.929 E F0 1.069(is not a v)3.839 F 1.069(alid shell v)-.25 F -1.069(ariable name, or)-.25 F F1<ad66>3.569 E F0 1.069 +.828(displayed in a format that may be reused as input.)144 441.6 R .828 +(If a v)5.828 F .828(ariable name is follo)-.25 F .828(wed by =)-.25 F +F2(wor)A(d)-.37 E F0 3.328(,t)C(he)-3.328 E -.25(va)144 453.6 S .405 +(lue of the v).25 F .405(ariable is set to)-.25 F F2(wor)2.905 E(d)-.37 +E F0 5.405(.T)C .404(he return status is 0 unless an in)-5.405 F -.25 +(va)-.4 G .404(lid option is encountered,).25 F 1.069(one of the)144 +465.6 R F2(names)3.929 E F0 1.069(is not a v)3.839 F 1.069(alid shell v) +-.25 F 1.069(ariable name, or)-.25 F F1<ad66>3.569 E F0 1.069 (is supplied with a)3.569 F F2(name)3.929 E F0 1.069(that is not a)3.749 -F(function.)144 180 Q F1 -.18(re)108 196.8 S(tur).18 E(n)-.15 E F0([)2.5 -E F2(n)A F0(])A .586(Causes a function to e)144 208.8 R .587 +F(function.)144 477.6 Q F1 -.18(re)108 494.4 S(tur).18 E(n)-.15 E F0([) +2.5 E F2(n)A F0(])A .587(Causes a function to e)144 506.4 R .587 (xit with the return v)-.15 F .587(alue speci\214ed by)-.25 F F2(n)3.087 -E F0 5.587(.I).24 G(f)-5.587 E F2(n)3.447 E F0 .587 +E F0 5.587(.I).24 G(f)-5.587 E F2(n)3.447 E F0 .586 (is omitted, the return status is)3.327 F 1.335 -(that of the last command e)144 220.8 R -.15(xe)-.15 G 1.335 +(that of the last command e)144 518.4 R -.15(xe)-.15 G 1.335 (cuted in the function body).15 F 6.335(.I)-.65 G 3.835(fu)-6.335 G 1.335(sed outside a function, b)-3.835 F 1.335(ut during)-.2 F -.15(exe) -144 232.8 S .794(cution of a script by the).15 F F1(.)3.294 E F0(\() +144 530.4 S .794(cution of a script by the).15 F F1(.)3.294 E F0(\() 5.794 E F1(sour)A(ce)-.18 E F0 3.294(\)c)C .794 -(ommand, it causes the shell to stop e)-3.294 F -.15(xe)-.15 G .795 -(cuting that script).15 F .246(and return either)144 244.8 R F2(n)3.106 -E F0 .246(or the e)2.986 F .246(xit status of the last command e)-.15 F --.15(xe)-.15 G .246(cuted within the script as the e).15 F .245 -(xit sta-)-.15 F .081(tus of the script.)144 256.8 R .082 +(ommand, it causes the shell to stop e)-3.294 F -.15(xe)-.15 G .794 +(cuting that script).15 F .245(and return either)144 542.4 R F2(n)3.105 +E F0 .246(or the e)2.985 F .246(xit status of the last command e)-.15 F +-.15(xe)-.15 G .246(cuted within the script as the e).15 F .246 +(xit sta-)-.15 F .082(tus of the script.)144 554.4 R .082 (If used outside a function and not during e)5.082 F -.15(xe)-.15 G .082 -(cution of a script by).15 F F1(.)2.582 E F0 2.582(,t).833 G .082 -(he return sta-)-2.582 F 2.306(tus is f)144 268.8 R 4.806(alse. An)-.1 F -4.806(yc)-.15 G 2.305(ommand associated with the)-4.806 F F1(RETURN) -4.805 E F0 2.305(trap is e)4.805 F -.15(xe)-.15 G 2.305(cuted before e) +(cution of a script by).15 F F1(.)2.582 E F0 2.581(,t).833 G .081 +(he return sta-)-2.581 F 2.305(tus is f)144 566.4 R 4.805(alse. An)-.1 F +4.805(yc)-.15 G 2.305(ommand associated with the)-4.805 F F1(RETURN) +4.805 E F0 2.306(trap is e)4.806 F -.15(xe)-.15 G 2.306(cuted before e) .15 F -.15(xe)-.15 G(cution).15 E(resumes after the function or script.) -144 280.8 Q F1(set)108 297.6 Q F0([)2.5 E F1 +144 578.4 Q F1(set)108 595.2 Q F0([)2.5 E F1 (\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1<ad6f>-2.5 E F2(option)2.5 -E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 309.6 Q F0 +E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 607.2 Q F0 ([)2.5 E F1(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)-2.5 E F2(option) -2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 321.6 S -.835(thout options, the name and v).4 F .835(alue of each shell v)-.25 F -.836(ariable are displayed in a format that can be)-.25 F .784 -(reused as input for setting or resetting the currently-set v)144 333.6 -R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .783 -(riables cannot be).25 F 2.946(reset. In)144 345.6 R F2 .447(posix mode) -2.946 F F0 2.947(,o)C .447(nly shell v)-2.947 F .447 +2.5 E F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 619.2 S +.836(thout options, the name and v).4 F .835(alue of each shell v)-.25 F +.835(ariable are displayed in a format that can be)-.25 F .784 +(reused as input for setting or resetting the currently-set v)144 631.2 +R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784 +(riables cannot be).25 F 2.947(reset. In)144 643.2 R F2 .447(posix mode) +2.947 F F0 2.947(,o)C .447(nly shell v)-2.947 F .447 (ariables are listed.)-.25 F .447 -(The output is sorted according to the current)5.447 F 3.531 -(locale. When)144 357.6 R 1.031(options are speci\214ed, the)3.531 F -3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.53(utes. An) --.2 F 3.53(ya)-.15 G -.18(rg)-3.53 G 1.03(uments remaining).18 F .202 -(after the options are processed are treated as v)144 369.6 R .202 +(The output is sorted according to the current)5.447 F 3.53 +(locale. When)144 655.2 R 1.031(options are speci\214ed, the)3.53 F +3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.531(utes. An) +-.2 F 3.531(ya)-.15 G -.18(rg)-3.531 G 1.031(uments remaining).18 F .202 +(after the options are processed are treated as v)144 667.2 R .202 (alues for the positional parameters and are assigned,)-.25 F(in order) -144 381.6 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A +144 679.2 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3 --.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 393.6 Q -F0 .54(Automatically mark v)29.3 F .539 -(ariables and functions which are modi\214ed or created for e)-.25 F -.539(xport to)-.15 F(the en)184 405.6 Q -(vironment of subsequent commands.)-.4 E F1<ad62>144 417.6 Q F0 .131 +-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 691.2 Q +F0 .539(Automatically mark v)29.3 F .539 +(ariables and functions which are modi\214ed or created for e)-.25 F .54 +(xport to)-.15 F(the en)184 703.2 Q(vironment of subsequent commands.) +-.4 E F1<ad62>144 715.2 Q F0 .132 (Report the status of terminated background jobs immediately)28.74 F -2.632(,r)-.65 G .132(ather than before the ne)-2.632 F(xt)-.15 E -(primary prompt.)184 429.6 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) --.25 H(nly when job control is enabled.).15 E F1<ad65>144 441.6 Q F0 -1.694(Exit immediately if a)29.86 F F2 1.693(simple command)4.193 F F0 -(\(see)4.193 E/F3 9/Times-Bold@0 SF 1.693(SHELL GRAMMAR)4.193 F F0(abo) -3.943 E -.15(ve)-.15 G 4.193(\)e).15 G 1.693(xits with a)-4.343 F .011 -(non-zero status.)184 453.6 R .011(The shell does not e)5.011 F .011 -(xit if the command that f)-.15 F .012(ails is part of the command)-.1 F -.719(list immediately follo)184 465.6 R .719(wing a)-.25 F F1(while) -3.219 E F0(or)3.219 E F1(until)3.219 E F0 -.1(ke)3.219 G(yw)-.05 E .719 -(ord, part of the test in an)-.1 F F1(if)3.218 E F0(statement,)3.218 E -.378(part of a command e)184 477.6 R -.15(xe)-.15 G .379(cuted in a).15 -F F1(&&)2.879 E F0(or)2.879 E/F4 10/Symbol SF<efef>2.879 E F0 .379 -(list, an)2.879 F 2.879(yc)-.15 G .379(ommand in a pipeline b)-2.879 F -.379(ut the last,)-.2 F .578(or if the command')184 489.6 R 3.078(sr) --.55 G .578(eturn v)-3.078 F .578(alue is being in)-.25 F -.15(ve)-.4 G -.578(rted via).15 F F1(!)3.078 E F0 5.578(.F)C .577 -(ailing simple commands that)-5.728 F .402(are part of shell functions \ -or command lists enclosed in braces or parentheses satisfying)184 501.6 -R .841(the abo)184 513.6 R 1.141 -.15(ve c)-.15 H .841 -(onditions do not cause the shell to e).15 F 3.341(xit. A)-.15 F .84 -(trap on)3.34 F F1(ERR)3.34 E F0 3.34(,i)C 3.34(fs)-3.34 G .84(et, is e) --3.34 F -.15(xe)-.15 G(cuted).15 E(before the shell e)184 525.6 Q(xits.) --.15 E F1<ad66>144 537.6 Q F0(Disable pathname e)30.97 E(xpansion.)-.15 -E F1<ad68>144 549.6 Q F0 2.238(Remember the location of commands as the) -28.74 F 4.738(ya)-.15 G 2.239(re look)-4.738 F 2.239(ed up for e)-.1 F --.15(xe)-.15 G 4.739(cution. This).15 F(is)4.739 E(enabled by def)184 -561.6 Q(ault.)-.1 E F1<ad6b>144 573.6 Q F0 .514(All ar)28.74 F .514 -(guments in the form of assignment statements are placed in the en)-.18 -F .513(vironment for a)-.4 F -(command, not just those that precede the command name.)184 585.6 Q F1 -<ad6d>144 597.6 Q F0 .148(Monitor mode.)25.97 F .148 -(Job control is enabled.)5.148 F .149(This option is on by def)5.148 F -.149(ault for interacti)-.1 F .449 -.15(ve s)-.25 H(hells).15 E .637 -(on systems that support it \(see)184 609.6 R F3 .636(JOB CONTR)3.136 F -(OL)-.27 E F0(abo)2.886 E -.15(ve)-.15 G 3.136(\). Background).15 F .636 -(processes run in a)3.136 F .641 -(separate process group and a line containing their e)184 621.6 R .642 -(xit status is printed upon their com-)-.15 F(pletion.)184 633.6 Q F1 -<ad6e>144 645.6 Q F0 .653(Read commands b)28.74 F .653(ut do not e)-.2 F --.15(xe)-.15 G .653(cute them.).15 F .652 -(This may be used to check a shell script for)5.653 F(syntax errors.)184 -657.6 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 -E F1<ad6f>144 669.6 Q F2(option\255name)2.5 E F0(The)184 681.6 Q F2 -(option\255name)2.5 E F0(can be one of the follo)2.5 E(wing:)-.25 E F1 -(allexport)184 693.6 Q F0(Same as)224 705.6 Q F1<ad61>2.5 E F0(.)A -(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(12)198.725 E 0 Cg EP +2.632(,r)-.65 G .131(ather than before the ne)-2.632 F(xt)-.15 E +(primary prompt.)184 727.2 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) +-.25 H(nly when job control is enabled.).15 E(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(12)198.725 E 0 Cg EP %%Page: 13 13 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 (TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF(braceexpand)184 84 Q F0(Same as)224 96 Q F1<ad42>2.5 E -F0(.)A F1(emacs)184 108 Q F0 .089 -(Use an emacs-style command line editing interf)13.9 F 2.589(ace. This) --.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95 -(when the shell is interacti)224 120 R -.15(ve)-.25 G 3.45(,u).15 G .95 -(nless the shell is started with the)-3.45 F F1(\255\255noediting)3.45 E -F0(option.)224 132 Q F1(errtrace)184 144 Q F0(Same as)5.03 E F1<ad45>2.5 -E F0(.)A F1(functrace)184 156 Q F0(Same as)224 168 Q F1<ad54>2.5 E F0(.) -A F1(err)184 180 Q(exit)-.18 E F0(Same as)11.31 E F1<ad65>2.5 E F0(.)A -F1(hashall)184 192 Q F0(Same as)9.43 E F1<ad68>2.5 E F0(.)A F1 -(histexpand)184 204 Q F0(Same as)224 216 Q F1<ad48>2.5 E F0(.)A F1 -(history)184 228 Q F0 .586(Enable command history)10 F 3.087(,a)-.65 G +/Times-Bold@0 SF<ad65>144 84 Q F0 1.693(Exit immediately if a)29.86 F/F2 +10/Times-Italic@0 SF 1.693(simple command)4.193 F F0(\(see)4.193 E/F3 9 +/Times-Bold@0 SF 1.693(SHELL GRAMMAR)4.193 F F0(abo)3.943 E -.15(ve)-.15 +G 4.194(\)e).15 G 1.694(xits with a)-4.344 F .012(non-zero status.)184 +96 R .012(The shell does not e)5.012 F .011(xit if the command that f) +-.15 F .011(ails is part of the command)-.1 F .718 +(list immediately follo)184 108 R .718(wing a)-.25 F F1(while)3.218 E F0 +(or)3.218 E F1(until)3.219 E F0 -.1(ke)3.219 G(yw)-.05 E .719 +(ord, part of the test in an)-.1 F F1(if)3.219 E F0(statement,)3.219 E +.379(part of a command e)184 120 R -.15(xe)-.15 G .379(cuted in a).15 F +F1(&&)2.879 E F0(or)2.879 E/F4 10/Symbol SF<efef>2.879 E F0 .379 +(list, an)2.879 F 2.879(yc)-.15 G .379(ommand in a pipeline b)-2.879 F +.378(ut the last,)-.2 F .577(or if the command')184 132 R 3.078(sr)-.55 +G .578(eturn v)-3.078 F .578(alue is being in)-.25 F -.15(ve)-.4 G .578 +(rted via).15 F F1(!)3.078 E F0 5.578(.F)C .578 +(ailing simple commands that)-5.728 F .402(are part of shell functions \ +or command lists enclosed in braces or parentheses satisfying)184 144 R +.84(the abo)184 156 R 1.14 -.15(ve c)-.15 H .84 +(onditions do not cause the shell to e).15 F 3.341(xit. A)-.15 F .841 +(trap on)3.341 F F1(ERR)3.341 E F0 3.341(,i)C 3.341(fs)-3.341 G .841 +(et, is e)-3.341 F -.15(xe)-.15 G(cuted).15 E(before the shell e)184 168 +Q(xits.)-.15 E F1<ad66>144 180 Q F0(Disable pathname e)30.97 E +(xpansion.)-.15 E F1<ad68>144 192 Q F0 2.239 +(Remember the location of commands as the)28.74 F 4.738(ya)-.15 G 2.238 +(re look)-4.738 F 2.238(ed up for e)-.1 F -.15(xe)-.15 G 4.738 +(cution. This).15 F(is)4.738 E(enabled by def)184 204 Q(ault.)-.1 E F1 +<ad6b>144 216 Q F0 .513(All ar)28.74 F .514 +(guments in the form of assignment statements are placed in the en)-.18 +F .514(vironment for a)-.4 F +(command, not just those that precede the command name.)184 228 Q F1 +<ad6d>144 240 Q F0 .149(Monitor mode.)25.97 F .149 +(Job control is enabled.)5.149 F .148(This option is on by def)5.149 F +.148(ault for interacti)-.1 F .448 -.15(ve s)-.25 H(hells).15 E .636 +(on systems that support it \(see)184 252 R F3 .636(JOB CONTR)3.136 F +(OL)-.27 E F0(abo)2.886 E -.15(ve)-.15 G 3.136(\). Background).15 F .637 +(processes run in a)3.136 F .642 +(separate process group and a line containing their e)184 264 R .641 +(xit status is printed upon their com-)-.15 F(pletion.)184 276 Q F1 +<ad6e>144 288 Q F0 .652(Read commands b)28.74 F .652(ut do not e)-.2 F +-.15(xe)-.15 G .652(cute them.).15 F .653 +(This may be used to check a shell script for)5.652 F(syntax errors.)184 +300 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 E +F1<ad6f>144 312 Q F2(option\255name)2.5 E F0(The)184 324 Q F2 +(option\255name)2.5 E F0(can be one of the follo)2.5 E(wing:)-.25 E F1 +(allexport)184 336 Q F0(Same as)224 348 Q F1<ad61>2.5 E F0(.)A F1 +(braceexpand)184 360 Q F0(Same as)224 372 Q F1<ad42>2.5 E F0(.)A F1 +(emacs)184 384 Q F0 .089(Use an emacs-style command line editing interf) +13.9 F 2.589(ace. This)-.1 F .089(is enabled by def)2.589 F(ault)-.1 E +.95(when the shell is interacti)224 396 R -.15(ve)-.25 G 3.45(,u).15 G +.95(nless the shell is started with the)-3.45 F F1(\255\255noediting) +3.45 E F0(option.)224 408 Q F1(errtrace)184 420 Q F0(Same as)5.03 E F1 +<ad45>2.5 E F0(.)A F1(functrace)184 432 Q F0(Same as)224 444 Q F1<ad54> +2.5 E F0(.)A F1(err)184 456 Q(exit)-.18 E F0(Same as)11.31 E F1<ad65>2.5 +E F0(.)A F1(hashall)184 468 Q F0(Same as)9.43 E F1<ad68>2.5 E F0(.)A F1 +(histexpand)184 480 Q F0(Same as)224 492 Q F1<ad48>2.5 E F0(.)A F1 +(history)184 504 Q F0 .587(Enable command history)10 F 3.087(,a)-.65 G 3.087(sd)-3.087 G .587(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder) -.15 E/F2 9/Times-Bold@0 SF(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F3 9 -/Times-Roman@0 SF(.)A F0 .587(This option is)5.087 F(on by def)224 240 Q -(ault in interacti)-.1 E .3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184 -252 Q(eeof)-.18 E F0 1.657(The ef)224 264 R 1.657 -(fect is as if the shell command)-.25 F/F4 10/Courier@0 SF(IGNOREEOF=10) -4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted).15 E(\(see)224 -276 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).) -.15 E F1 -.1(ke)184 288 S(yw).1 E(ord)-.1 E F0(Same as)224 300 Q F1 -<ad6b>2.5 E F0(.)A F1(monitor)184 312 Q F0(Same as)5.56 E F1<ad6d>2.5 E -F0(.)A F1(noclob)184 324 Q(ber)-.1 E F0(Same as)224 336 Q F1<ad43>2.5 E -F0(.)A F1(noexec)184 348 Q F0(Same as)11.12 E F1<ad6e>2.5 E F0(.)A F1 -(noglob)184 360 Q F0(Same as)11.1 E F1<ad66>2.5 E F0(.)A F1(nolog)5 E F0 -(Currently ignored.)2.5 E F1(notify)184 372 Q F0(Same as)15 E F1<ad62> -2.5 E F0(.)A F1(nounset)184 384 Q F0(Same as)6.66 E F1<ad75>2.5 E F0(.)A -F1(onecmd)184 396 Q F0(Same as)6.67 E F1<ad74>2.5 E F0(.)A F1(ph)184 408 -Q(ysical)-.15 E F0(Same as)5.14 E F1<ad50>2.5 E F0(.)A F1(pipefail)184 -420 Q F0 1.029(If set, the return v)7.77 F 1.029 -(alue of a pipeline is the v)-.25 F 1.03 -(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 432 R +.15 E F3(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F5 9/Times-Roman@0 SF(.)A F0 +.587(This option is)5.087 F(on by def)224 516 Q(ault in interacti)-.1 E +.3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184 528 Q(eeof)-.18 E F0 1.656 +(The ef)224 540 R 1.656(fect is as if the shell command)-.25 F/F6 10 +/Courier@0 SF(IGNOREEOF=10)4.157 E F0 1.657(had been e)4.157 F -.15(xe) +-.15 G(cuted).15 E(\(see)224 552 Q F1(Shell V)2.5 E(ariables)-.92 E F0 +(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1 -.1(ke)184 564 S(yw).1 E(ord)-.1 +E F0(Same as)224 576 Q F1<ad6b>2.5 E F0(.)A F1(monitor)184 588 Q F0 +(Same as)5.56 E F1<ad6d>2.5 E F0(.)A F1(noclob)184 600 Q(ber)-.1 E F0 +(Same as)224 612 Q F1<ad43>2.5 E F0(.)A F1(noexec)184 624 Q F0(Same as) +11.12 E F1<ad6e>2.5 E F0(.)A F1(noglob)184 636 Q F0(Same as)11.1 E F1 +<ad66>2.5 E F0(.)A F1(nolog)5 E F0(Currently ignored.)2.5 E F1(notify) +184 648 Q F0(Same as)15 E F1<ad62>2.5 E F0(.)A F1(nounset)184 660 Q F0 +(Same as)6.66 E F1<ad75>2.5 E F0(.)A F1(onecmd)184 672 Q F0(Same as)6.67 +E F1<ad74>2.5 E F0(.)A F1(ph)184 684 Q(ysical)-.15 E F0(Same as)5.14 E +F1<ad50>2.5 E F0(.)A F1(pipefail)184 696 Q F0 1.03(If set, the return v) +7.77 F 1.029(alue of a pipeline is the v)-.25 F 1.029 +(alue of the last \(rightmost\) com-)-.25 F 1.136(mand to e)224 708 R 1.136 (xit with a non-zero status, or zero if all commands in the pipeline) --.15 F -.15(ex)224 444 S(it successfully).15 E 5(.T)-.65 G -(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 456 Q F0 -2.09(Change the beha)17.77 F 2.091(vior of)-.2 F F1(bash)4.591 E F0 -2.091(where the def)4.591 F 2.091(ault operation dif)-.1 F 2.091 -(fers from the)-.25 F(POSIX standard to match the standard \()224 468 Q -/F5 10/Times-Italic@0 SF(posix mode)A F0(\).)A F1(pri)184 480 Q(vileged) --.1 E F0(Same as)224 492 Q F1<ad70>2.5 E F0(.)A F1 -.1(ve)184 504 S -(rbose).1 E F0(Same as)7.33 E F1<ad76>2.5 E F0(.)A F1(vi)184 516 Q F0 +-.15 F -.15(ex)224 720 S(it successfully).15 E 5(.T)-.65 G +(his option is disabled by def)-5 E(ault.)-.1 E(GNU Bash-3.0)72 768 Q +(2004 Apr 20)148.735 E(13)198.725 E 0 Cg EP +%%Page: 14 14 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 +/Times-Bold@0 SF(posix)184 84 Q F0 2.091(Change the beha)17.77 F 2.091 +(vior of)-.2 F F1(bash)4.591 E F0 2.091(where the def)4.591 F 2.091 +(ault operation dif)-.1 F 2.091(fers from the)-.25 F +(POSIX standard to match the standard \()224 96 Q/F2 10/Times-Italic@0 +SF(posix mode)A F0(\).)A F1(pri)184 108 Q(vileged)-.1 E F0(Same as)224 +120 Q F1<ad70>2.5 E F0(.)A F1 -.1(ve)184 132 S(rbose).1 E F0(Same as) +7.33 E F1<ad76>2.5 E F0(.)A F1(vi)184 144 Q F0 (Use a vi-style command line editing interf)32.22 E(ace.)-.1 E F1 -(xtrace)184 528 Q F0(Same as)13.35 E F1<ad78>2.5 E F0(.)A(If)184 546 Q -F1<ad6f>3.053 E F0 .553(is supplied with no)3.053 F F5(option\255name) -3.053 E F0 3.053(,t)C .553(he v)-3.053 F .552 -(alues of the current options are printed.)-.25 F(If)5.552 E F1(+o)184 -558 Q F0 1.071(is supplied with no)3.571 F F5(option\255name)3.571 E F0 -3.571(,as)C 1.071(eries of)-3.571 F F1(set)3.572 E F0 1.072 -(commands to recreate the current)3.572 F -(option settings is displayed on the standard output.)184 570 Q F1<ad70> -144 582 Q F0 -.45(Tu)28.74 G 1.072(rn on).45 F F5(privile)4.822 E -.1 -(ge)-.4 G(d).1 E F0 3.572(mode. In)4.342 F 1.072(this mode, the)3.572 F -F2($ENV)3.572 E F0(and)3.322 E F2($B)3.572 E(ASH_ENV)-.27 E F0 1.071 -(\214les are not pro-)3.322 F 1.705 -(cessed, shell functions are not inherited from the en)184 594 R 1.705 -(vironment, and the)-.4 F F2(SHELLOPTS)4.206 E F0 -.25(va)184 606 S .019 +(xtrace)184 156 Q F0(Same as)13.35 E F1<ad78>2.5 E F0(.)A(If)184 174 Q +F1<ad6f>3.052 E F0 .552(is supplied with no)3.052 F F2(option\255name) +3.053 E F0 3.053(,t)C .553(he v)-3.053 F .553 +(alues of the current options are printed.)-.25 F(If)5.553 E F1(+o)184 +186 Q F0 1.072(is supplied with no)3.572 F F2(option\255name)3.572 E F0 +3.572(,a)C 1.071(series of)-.001 F F1(set)3.571 E F0 1.071 +(commands to recreate the current)3.571 F +(option settings is displayed on the standard output.)184 198 Q F1<ad70> +144 210 Q F0 -.45(Tu)28.74 G 1.071(rn on).45 F F2(privile)4.821 E -.1 +(ge)-.4 G(d).1 E F0 3.572(mode. In)4.341 F 1.072(this mode, the)3.572 F +/F3 9/Times-Bold@0 SF($ENV)3.572 E F0(and)3.322 E F3($B)3.572 E(ASH_ENV) +-.27 E F0 1.072(\214les are not pro-)3.322 F 1.705 +(cessed, shell functions are not inherited from the en)184 222 R 1.705 +(vironment, and the)-.4 F F3(SHELLOPTS)4.205 E F0 -.25(va)184 234 S .018 (riable, if it appears in the en).25 F .019(vironment, is ignored.)-.4 F -.018(If the shell is started with the ef)5.019 F(fec-)-.25 E(ti)184 618 -Q 1.158 -.15(ve u)-.25 H .859 +.019(If the shell is started with the ef)5.019 F(fec-)-.25 E(ti)184 246 +Q 1.159 -.15(ve u)-.25 H .859 (ser \(group\) id not equal to the real user \(group\) id, and the).15 F -F1<ad70>3.359 E F0 .859(option is not sup-)3.359 F .294 -(plied, these actions are tak)184 630 R .293(en and the ef)-.1 F(fecti) +F1<ad70>3.359 E F0 .858(option is not sup-)3.359 F .293 +(plied, these actions are tak)184 258 R .293(en and the ef)-.1 F(fecti) -.25 E .593 -.15(ve u)-.25 H .293(ser id is set to the real user id.).15 -F .293(If the)5.293 F F1<ad70>2.793 E F0 1.195 -(option is supplied at startup, the ef)184 642 R(fecti)-.25 E 1.495 -.15 -(ve u)-.25 H 1.195(ser id is not reset.).15 F -.45(Tu)6.196 G 1.196 -(rning this option of).45 F(f)-.25 E(causes the ef)184 654 Q(fecti)-.25 +F .294(If the)5.294 F F1<ad70>2.794 E F0 1.196 +(option is supplied at startup, the ef)184 270 R(fecti)-.25 E 1.495 -.15 +(ve u)-.25 H 1.195(ser id is not reset.).15 F -.45(Tu)6.195 G 1.195 +(rning this option of).45 F(f)-.25 E(causes the ef)184 282 Q(fecti)-.25 E .3 -.15(ve u)-.25 H (ser and group ids to be set to the real user and group ids.).15 E F1 -<ad74>144 666 Q F0(Exit after reading and e)30.97 E -.15(xe)-.15 G -(cuting one command.).15 E F1<ad75>144 678 Q F0 -.35(Tr)28.74 G .445 +<ad74>144 294 Q F0(Exit after reading and e)30.97 E -.15(xe)-.15 G +(cuting one command.).15 E F1<ad75>144 306 Q F0 -.35(Tr)28.74 G .444 (eat unset v).35 F .444 (ariables as an error when performing parameter e)-.25 F 2.944 -(xpansion. If)-.15 F -.15(ex)2.944 G .444(pansion is).15 F .519 -(attempted on an unset v)184 690 R .519 +(xpansion. If)-.15 F -.15(ex)2.945 G .445(pansion is).15 F .52 +(attempted on an unset v)184 318 R .519 (ariable, the shell prints an error message, and, if not interacti)-.25 -F -.15(ve)-.25 G(,).15 E -.15(ex)184 702 S(its with a non-zero status.) -.15 E F1<ad76>144 714 Q F0(Print shell input lines as the)29.3 E 2.5(ya) --.15 G(re read.)-2.5 E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(13) -198.725 E 0 Cg EP -%%Page: 14 14 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF<ad78>144 84 Q F0 .315(After e)29.3 F .315 -(xpanding each)-.15 F/F2 10/Times-Italic@0 SF .315(simple command)2.815 -F F0(,)A F1 -.25(fo)2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E -F0(command,)2.815 E F1(select)2.815 E F0(command,)2.815 E 1.235 -(or arithmetic)184 96 R F1 -.25(fo)3.736 G(r).25 E F0 1.236 -(command, display the e)3.736 F 1.236(xpanded v)-.15 F 1.236(alue of) --.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E/F4 9/Times-Roman@0 SF(,)A F0 -(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 108 Q -(xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E F1 -<ad42>144 120 Q F0 2.579(The shell performs brace e)27.63 F 2.578 +F -.15(ve)-.25 G(,).15 E -.15(ex)184 330 S(its with a non-zero status.) +.15 E F1<ad76>144 342 Q F0(Print shell input lines as the)29.3 E 2.5(ya) +-.15 G(re read.)-2.5 E F1<ad78>144 354 Q F0 .315(After e)29.3 F .315 +(xpanding each)-.15 F F2 .315(simple command)2.815 F F0(,)A F1 -.25(fo) +2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E F0(command,)2.815 E +F1(select)2.815 E F0(command,)2.815 E 1.236(or arithmetic)184 366 R F1 +-.25(fo)3.736 G(r).25 E F0 1.236(command, display the e)3.736 F 1.236 +(xpanded v)-.15 F 1.236(alue of)-.25 F F3(PS4)3.736 E/F4 9/Times-Roman@0 +SF(,)A F0(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 +378 Q(xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E +F1<ad42>144 390 Q F0 2.578(The shell performs brace e)27.63 F 2.578 (xpansion \(see)-.15 F F1 2.578(Brace Expansion)5.078 F F0(abo)5.078 E --.15(ve)-.15 G 5.078(\). This).15 F 2.578(is on by)5.078 F(def)184 132 Q -(ault.)-.1 E F1<ad43>144 144 Q F0 .213(If set,)27.08 F F1(bash)2.713 E -F0 .213(does not o)2.713 F -.15(ve)-.15 G .214(rwrite an e).15 F .214 +-.15(ve)-.15 G 5.079(\). This).15 F 2.579(is on by)5.079 F(def)184 402 Q +(ault.)-.1 E F1<ad43>144 414 Q F0 .214(If set,)27.08 F F1(bash)2.714 E +F0 .214(does not o)2.714 F -.15(ve)-.15 G .214(rwrite an e).15 F .214 (xisting \214le with the)-.15 F F1(>)2.714 E F0(,)A F1(>&)2.714 E F0 -2.714(,a)C(nd)-2.714 E F1(<>)2.714 E F0 .214(redirection opera-)2.714 F -3.054(tors. This)184 156 R .553(may be o)3.053 F -.15(ve)-.15 G .553 +2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213(redirection opera-)2.713 F +3.053(tors. This)184 426 R .553(may be o)3.053 F -.15(ve)-.15 G .553 (rridden when creating output \214les by using the redirection opera-) -.15 F(tor)184 168 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 -<ad45>144 180 Q F0 .103(If set, an)27.63 F 2.603(yt)-.15 G .103(rap on) --2.603 F F1(ERR)2.603 E F0 .104 -(is inherited by shell functions, command substitutions, and com-)2.603 -F .839(mands e)184 192 R -.15(xe)-.15 G .839(cuted in a subshell en).15 -F 3.339(vironment. The)-.4 F F1(ERR)3.338 E F0 .838 -(trap is normally not inherited in)3.338 F(such cases.)184 204 Q F1 -<ad48>144 216 Q F0(Enable)26.52 E F1(!)3.031 E F0 .531 -(style history substitution.)5.531 F .531(This option is on by def)5.531 -F .532(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 228 Q -.15 -(ve)-.25 G(.).15 E F1<ad50>144 240 Q F0 1.165 +.15 F(tor)184 438 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 +<ad45>144 450 Q F0 .104(If set, an)27.63 F 2.604(yt)-.15 G .104(rap on) +-2.604 F F1(ERR)2.604 E F0 .103 +(is inherited by shell functions, command substitutions, and com-)2.604 +F .838(mands e)184 462 R -.15(xe)-.15 G .838(cuted in a subshell en).15 +F 3.338(vironment. The)-.4 F F1(ERR)3.338 E F0 .839 +(trap is normally not inherited in)3.339 F(such cases.)184 474 Q F1 +<ad48>144 486 Q F0(Enable)26.52 E F1(!)3.032 E F0 .532 +(style history substitution.)5.532 F .531(This option is on by def)5.532 +F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 498 Q -.15 +(ve)-.25 G(.).15 E F1<ad50>144 510 Q F0 1.164 (If set, the shell does not follo)28.19 F 3.664(ws)-.25 G 1.164 -(ymbolic links when e)-3.664 F -.15(xe)-.15 G 1.164 -(cuting commands such as).15 F F1(cd)3.664 E F0 2.821 -(that change the current w)184 252 R 2.822(orking directory)-.1 F 7.822 -(.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.822 -(ysical directory structure)-.05 F 2.686(instead. By)184 264 R(def)2.686 +(ymbolic links when e)-3.664 F -.15(xe)-.15 G 1.165 +(cuting commands such as).15 F F1(cd)3.665 E F0 2.822 +(that change the current w)184 522 R 2.822(orking directory)-.1 F 7.822 +(.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.821 +(ysical directory structure)-.05 F 2.685(instead. By)184 534 R(def)2.685 E(ault,)-.1 E F1(bash)2.686 E F0(follo)2.686 E .186 (ws the logical chain of directories when performing com-)-.25 F -(mands which change the current directory)184 276 Q(.)-.65 E F1<ad54>144 -288 Q F0 .89(If set, an)27.63 F 3.39(yt)-.15 G .89(raps on)-3.39 F F1 +(mands which change the current directory)184 546 Q(.)-.65 E F1<ad54>144 +558 Q F0 .89(If set, an)27.63 F 3.39(yt)-.15 G .89(raps on)-3.39 F F1 (DEB)3.39 E(UG)-.1 E F0(and)3.39 E F1(RETURN)3.39 E F0 .89 (are inherited by shell functions, command)3.39 F 1.932 -(substitutions, and commands e)184 300 R -.15(xe)-.15 G 1.932 +(substitutions, and commands e)184 570 R -.15(xe)-.15 G 1.932 (cuted in a subshell en).15 F 4.432(vironment. The)-.4 F F1(DEB)4.432 E -(UG)-.1 E F0(and)4.432 E F1(RETURN)184 312 Q F0 -(traps are normally not inherited in such cases.)2.5 E F1<adad>144 324 Q -F0 .4(If no ar)28.6 F .401(guments follo)-.18 F 2.901(wt)-.25 G .401 +(UG)-.1 E F0(and)4.432 E F1(RETURN)184 582 Q F0 +(traps are normally not inherited in such cases.)2.5 E F1<adad>144 594 Q +F0 .401(If no ar)28.6 F .401(guments follo)-.18 F 2.901(wt)-.25 G .401 (his option, then the positional parameters are unset.)-2.901 F -(Otherwise,)5.401 E(the positional parameters are set to the)184 336 Q -F2(ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G +(Otherwise,)5.4 E(the positional parameters are set to the)184 606 Q F2 +(ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G (ome of them be)-2.5 E(gin with a)-.15 E F1<ad>2.5 E F0(.)A F1<ad>144 -348 Q F0 1.945(Signal the end of options, cause all remaining)34.3 F F2 -(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.444(ea)-4.444 G -1.944(ssigned to the positional)-4.444 F 3.445(parameters. The)184 360 R -F1<ad78>3.445 E F0(and)3.445 E F1<ad76>3.445 E F0 .945 -(options are turned of)3.445 F 3.445(f. If)-.25 F .946(there are no) -3.445 F F2(ar)3.446 E(g)-.37 E F0 .946(s, the positional)B -(parameters remain unchanged.)184 372 Q .425(The options are of)144 -388.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 +618 Q F0 1.944(Signal the end of options, cause all remaining)34.3 F F2 +(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.445(ea)-4.444 G +1.945(ssigned to the positional)-4.445 F 3.446(parameters. The)184 630 R +F1<ad78>3.446 E F0(and)3.446 E F1<ad76>3.446 E F0 .945 +(options are turned of)3.446 F 3.445(f. If)-.25 F .945(there are no) +3.445 F F2(ar)3.445 E(g)-.37 E F0 .945(s, the positional)B +(parameters remain unchanged.)184 642 Q .425(The options are of)144 +658.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 (ault unless otherwise noted.)-.1 F .425 -(Using + rather than \255 causes these options)5.425 F .177 -(to be turned of)144 400.8 R 2.677(f. The)-.25 F .178 +(Using + rather than \255 causes these options)5.425 F .178 +(to be turned of)144 670.8 R 2.678(f. The)-.25 F .178 (options can also be speci\214ed as ar)2.678 F .178(guments to an in) --.18 F -.2(vo)-.4 G .178(cation of the shell.).2 F(The)5.178 E .066 -(current set of options may be found in)144 412.8 R F1<24ad>2.566 E F0 +-.18 F -.2(vo)-.4 G .177(cation of the shell.).2 F(The)5.177 E .066 +(current set of options may be found in)144 682.8 R F1<24ad>2.566 E F0 5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066 -(ys true unless an in).1 F -.25(va)-.4 G .066(lid option).25 F -(is encountered.)144 424.8 Q F1(shift)108 441.6 Q F0([)2.5 E F2(n)A F0 -(])A .428(The positional parameters from)144 453.6 R F2(n)2.928 E F0 -.429(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.429 G -.429(rameters represented by the num-).15 F(bers)144 465.6 Q F1($#)2.583 -E F0(do)2.583 E .083(wn to)-.25 F F1($#)2.583 E F0<ad>A F2(n)A F0 .083 -(+1 are unset.)B F2(n)5.443 E F0 .083(must be a non-ne)2.823 F -.05(ga) --.15 G(ti).05 E .382 -.15(ve n)-.25 H .082(umber less than or equal to) -.15 F F1($#)2.582 E F0 5.082(.I)C(f)-5.082 E F2(n)2.942 E F0 .06 -(is 0, no parameters are changed.)144 477.6 R(If)5.06 E F2(n)2.92 E F0 -.06(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F -(If)5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56 -(,t)C(he)-2.56 E .144(positional parameters are not changed.)144 489.6 R -.144(The return status is greater than zero if)5.144 F F2(n)3.003 E F0 -.143(is greater than)2.883 F F1($#)2.643 E F0 -(or less than zero; otherwise 0.)144 501.6 Q F1(shopt)108 518.4 Q F0([) -2.5 E F1(\255pqsu)A F0 2.5(][)C F1<ad6f>-2.5 E F0 2.5(][)C F2(optname) --2.5 E F0(...])2.5 E -.8(To)144 530.4 S .222(ggle the v).8 F .222 -(alues of v)-.25 F .222(ariables controlling optional shell beha)-.25 F -(vior)-.2 E 5.222(.W)-.55 G .222(ith no options, or with the)-5.622 F F1 -<ad70>2.722 E F0 .721(option, a list of all settable options is display\ -ed, with an indication of whether or not each is set.)144 542.4 R(The) -144 554.4 Q F1<ad70>2.827 E F0 .327(option causes output to be displaye\ -d in a form that may be reused as input.)2.827 F .328(Other options) -5.328 F(ha)144 566.4 Q .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:) --.25 E F1<ad73>144 578.4 Q F0(Enable \(set\) each)26.41 E F2(optname)2.5 -E F0(.)A F1<ad75>144 590.4 Q F0(Disable \(unset\) each)24.74 E F2 -(optname)2.5 E F0(.)A F1<ad71>144 602.4 Q F0 .003(Suppresses normal out\ -put \(quiet mode\); the return status indicates whether the)24.74 F F2 -(optname)2.503 E F0(is)2.503 E .255(set or unset.)180 614.4 R .255 -(If multiple)5.255 F F2(optname)2.755 E F0(ar)2.755 E .256 -(guments are gi)-.18 F -.15(ve)-.25 G 2.756(nw).15 G(ith)-2.756 E F1 -<ad71>2.756 E F0 2.756(,t)C .256(he return status is zero if)-2.756 F -(all)180 626.4 Q F2(optnames)2.5 E F0(are enabled; non-zero otherwise.) -2.5 E F1<ad6f>144 638.4 Q F0(Restricts the v)25.3 E(alues of)-.25 E F2 -(optname)2.5 E F0(to be those de\214ned for the)2.5 E F1<ad6f>2.5 E F0 -(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .128 -(If either)144 655.2 R F1<ad73>2.628 E F0(or)2.628 E F1<ad75>2.628 E F0 -.127(is used with no)2.627 F F2(optname)2.627 E F0(ar)2.627 E .127 -(guments, the display is limited to those options which)-.18 F 1.023 -(are set or unset, respecti)144 667.2 R -.15(ve)-.25 G(ly).15 E 6.023 -(.U)-.65 G 1.024(nless otherwise noted, the)-6.023 F F1(shopt)3.524 E F0 -1.024(options are disabled \(unset\) by)3.524 F(def)144 679.2 Q(ault.) --.1 E 1.544(The return status when listing options is zero if all)144 -696 R F2(optnames)4.044 E F0 1.544(are enabled, non-zero otherwise.) -4.044 F .696 -(When setting or unsetting options, the return status is zero unless an) -144 708 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .696(alid shell) --.25 F(option.)144 720 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(14) -198.725 E 0 Cg EP +(ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F +(is encountered.)144 694.8 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E +(14)198.725 E 0 Cg EP %%Page: 15 15 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(The list of) -144 84 Q/F1 10/Times-Bold@0 SF(shopt)2.5 E F0(options is:)2.5 E F1 -(autocd)144 102 Q F0 .2 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 +/Times-Bold@0 SF(shift)108 84 Q F0([)2.5 E/F2 10/Times-Italic@0 SF(n)A +F0(])A .429(The positional parameters from)144 96 R F2(n)2.929 E F0 .429 +(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.428 G .428 +(rameters represented by the num-).15 F(bers)144 108 Q F1($#)2.582 E F0 +(do)2.582 E .082(wn to)-.25 F F1($#)2.582 E F0<ad>A F2(n)A F0 .082 +(+1 are unset.)B F2(n)5.442 E F0 .082(must be a non-ne)2.822 F -.05(ga) +-.15 G(ti).05 E .383 -.15(ve n)-.25 H .083(umber less than or equal to) +.15 F F1($#)2.583 E F0 5.083(.I)C(f)-5.083 E F2(n)2.943 E F0 .06 +(is 0, no parameters are changed.)144 120 R(If)5.06 E F2(n)2.92 E F0 .06 +(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F(If) +5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56(,t) +C(he)-2.56 E .143(positional parameters are not changed.)144 132 R .144 +(The return status is greater than zero if)5.143 F F2(n)3.004 E F0 .144 +(is greater than)2.884 F F1($#)2.644 E F0 +(or less than zero; otherwise 0.)144 144 Q F1(shopt)108 160.8 Q F0([)2.5 +E F1(\255pqsu)A F0 2.5(][)C F1<ad6f>-2.5 E F0 2.5(][)C F2(optname)-2.5 E +F0(...])2.5 E -.8(To)144 172.8 S .222(ggle the v).8 F .222(alues of v) +-.25 F .222(ariables controlling optional shell beha)-.25 F(vior)-.2 E +5.222(.W)-.55 G .222(ith no options, or with the)-5.622 F F1<ad70>2.722 +E F0 .721(option, a list of all settable options is displayed, with an \ +indication of whether or not each is set.)144 184.8 R(The)144 196.8 Q F1 +<ad70>2.828 E F0 .327(option causes output to be displayed in a form th\ +at may be reused as input.)2.828 F .327(Other options)5.327 F(ha)144 +208.8 Q .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad73> +144 220.8 Q F0(Enable \(set\) each)26.41 E F2(optname)2.5 E F0(.)A F1 +<ad75>144 232.8 Q F0(Disable \(unset\) each)24.74 E F2(optname)2.5 E F0 +(.)A F1<ad71>144 244.8 Q F0 .003(Suppresses normal output \(quiet mode\ +\); the return status indicates whether the)24.74 F F2(optname)2.504 E +F0(is)2.504 E .256(set or unset.)180 256.8 R .256(If multiple)5.256 F F2 +(optname)2.756 E F0(ar)2.756 E .256(guments are gi)-.18 F -.15(ve)-.25 G +2.756(nw).15 G(ith)-2.756 E F1<ad71>2.756 E F0 2.755(,t)C .255 +(he return status is zero if)-2.755 F(all)180 268.8 Q F2(optnames)2.5 E +F0(are enabled; non-zero otherwise.)2.5 E F1<ad6f>144 280.8 Q F0 +(Restricts the v)25.3 E(alues of)-.25 E F2(optname)2.5 E F0 +(to be those de\214ned for the)2.5 E F1<ad6f>2.5 E F0(option to the)2.5 +E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .127(If either)144 297.6 R F1 +<ad73>2.627 E F0(or)2.627 E F1<ad75>2.627 E F0 .127(is used with no) +2.627 F F2(optname)2.627 E F0(ar)2.627 E .127 +(guments, the display is limited to those options which)-.18 F 1.024 +(are set or unset, respecti)144 309.6 R -.15(ve)-.25 G(ly).15 E 6.024 +(.U)-.65 G 1.024(nless otherwise noted, the)-6.024 F F1(shopt)3.523 E F0 +1.023(options are disabled \(unset\) by)3.523 F(def)144 321.6 Q(ault.) +-.1 E 1.544(The return status when listing options is zero if all)144 +338.4 R F2(optnames)4.044 E F0 1.545(are enabled, non-zero otherwise.) +4.045 F .696 +(When setting or unsetting options, the return status is zero unless an) +144 350.4 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .695 +(alid shell)-.25 F(option.)144 362.4 Q(The list of)144 379.2 Q F1(shopt) +2.5 E F0(options is:)2.5 E F1(autocd)144 397.2 Q F0 .199 (If set, a command name that is the name of a directory is e)11.11 F --.15(xe)-.15 G .199(cuted as if it were the ar).15 F(gu-)-.18 E -(ment to the)184 114 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F +-.15(xe)-.15 G .2(cuted as if it were the ar).15 F(gu-)-.18 E +(ment to the)184 409.2 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F (option is only used by interacti)2.5 E .3 -.15(ve s)-.25 H(hells.).15 E -F1(cdable_v)144 126 Q(ars)-.1 E F0 .155(If set, an ar)184 138 R .155 -(gument to the)-.18 F F1(cd)2.655 E F0 -.2(bu)2.655 G .156 +F1(cdable_v)144 421.2 Q(ars)-.1 E F0 .156(If set, an ar)184 433.2 R .156 +(gument to the)-.18 F F1(cd)2.656 E F0 -.2(bu)2.656 G .155 (iltin command that is not a directory is assumed to be the).2 F -(name of a v)184 150 Q(ariable whose v)-.25 E -(alue is the directory to change to.)-.25 E F1(cdspell)144 162 Q F0 +(name of a v)184 445.2 Q(ariable whose v)-.25 E +(alue is the directory to change to.)-.25 E F1(cdspell)144 457.2 Q F0 1.055 (If set, minor errors in the spelling of a directory component in a) -10.55 F F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.987 -(corrected. The)184 174 R 1.487(errors check)3.987 F 1.487 -(ed for are transposed characters, a missing character)-.1 F 3.988(,a) --.4 G(nd)-3.988 E .552(one character too man)184 186 R 4.352 -.65(y. I) --.15 H 3.052(fac).65 G .552 +10.55 F F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.988 +(corrected. The)184 469.2 R 1.488(errors check)3.988 F 1.487 +(ed for are transposed characters, a missing character)-.1 F 3.987(,a) +-.4 G(nd)-3.987 E .552(one character too man)184 481.2 R 4.352 -.65 +(y. I)-.15 H 3.052(fac).65 G .552 (orrection is found, the corrected \214le name is printed, and)-3.052 F -(the command proceeds.)184 198 Q(This option is only used by interacti)5 -E .3 -.15(ve s)-.25 H(hells.).15 E F1(checkhash)144 210 Q F0 2.079 -(If set,)184 222 R F1(bash)4.579 E F0 2.079 -(checks that a command found in the hash table e)4.579 F 2.08 -(xists before trying to)-.15 F -.15(exe)184 234 S(cute it.).15 E +(the command proceeds.)184 493.2 Q +(This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(checkhash)144 505.2 Q F0 2.08(If set,)184 517.2 R F1(bash)4.58 +E F0 2.079(checks that a command found in the hash table e)4.58 F 2.079 +(xists before trying to)-.15 F -.15(exe)184 529.2 S(cute it.).15 E (If a hashed command no longer e)5 E -(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 246 Q -F0 .449(If set,)184 258 R F1(bash)2.949 E F0 .449 -(lists the status of an)2.949 F 2.949(ys)-.15 G .448 -(topped and running jobs before e)-2.949 F .448(xiting an interacti)-.15 -F -.15(ve)-.25 G 3.438(shell. If)184 270 R(an)3.438 E 3.438(yj)-.15 G -.938(obs are running, this causes the e)-3.438 F .938 -(xit to be deferred until a second e)-.15 F .939(xit is)-.15 F 1.456 -(attempted without an interv)184 282 R 1.456(ening command \(see)-.15 F -F1 1.456(JOB CONTR)3.956 F(OL)-.3 E F0(abo)3.956 E -.15(ve)-.15 G 3.956 -(\). The).15 F(shell)3.956 E(al)184 294 Q -.1(wa)-.1 G(ys postpones e).1 -E(xiting if an)-.15 E 2.5(yj)-.15 G(obs are stopped.)-2.5 E F1 -(checkwinsize)144 306 Q F0 .796(If set,)184 318 R F1(bash)3.296 E F0 -.796(checks the windo)3.296 F 3.296(ws)-.25 G .797 -(ize after each command and, if necessary)-3.296 F 3.297(,u)-.65 G .797 -(pdates the)-3.297 F -.25(va)184 330 S(lues of).25 E/F2 9/Times-Bold@0 -SF(LINES)2.5 E F0(and)2.25 E F2(COLUMNS)2.5 E/F3 9/Times-Roman@0 SF(.)A -F1(cmdhist)144 342 Q F0 1.202(If set,)6.11 F F1(bash)3.702 E F0 1.202 +(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 541.2 +Q F0 .448(If set,)184 553.2 R F1(bash)2.948 E F0 .448 +(lists the status of an)2.948 F 2.949(ys)-.15 G .449 +(topped and running jobs before e)-2.949 F .449(xiting an interacti)-.15 +F -.15(ve)-.25 G 3.439(shell. If)184 565.2 R(an)3.439 E 3.439(yj)-.15 G +.938(obs are running, this causes the e)-3.439 F .938 +(xit to be deferred until a second e)-.15 F .938(xit is)-.15 F 1.456 +(attempted without an interv)184 577.2 R 1.456(ening command \(see)-.15 +F F1 1.456(JOB CONTR)3.956 F(OL)-.3 E F0(abo)3.956 E -.15(ve)-.15 G +3.956(\). The).15 F(shell)3.956 E(al)184 589.2 Q -.1(wa)-.1 G +(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G(obs are stopped.) +-2.5 E F1(checkwinsize)144 601.2 Q F0 .797(If set,)184 613.2 R F1(bash) +3.297 E F0 .797(checks the windo)3.297 F 3.297(ws)-.25 G .796 +(ize after each command and, if necessary)-3.297 F 3.296(,u)-.65 G .796 +(pdates the)-3.296 F -.25(va)184 625.2 S(lues of).25 E/F3 9/Times-Bold@0 +SF(LINES)2.5 E F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A +F1(cmdhist)144 637.2 Q F0 1.202(If set,)6.11 F F1(bash)3.702 E F0 1.202 (attempts to sa)3.702 F 1.502 -.15(ve a)-.2 H 1.202 (ll lines of a multiple-line command in the same history).15 F(entry)184 -354 Q 5(.T)-.65 G(his allo)-5 E -(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 366 Q -F0 .419(If set,)184 378 R F1(bash)2.919 E F0 .419(changes its beha)2.919 -F .419(vior to that of v)-.2 F .42(ersion 3.1 with respect to quoted ar) --.15 F(guments)-.18 E(to the conditional command')184 390 Q 2.5(s=)-.55 -G 2.5(~o)-2.5 G(perator)-2.5 E(.)-.55 E F1(dotglob)144 402 Q F0 .165 -(If set,)7.77 F F1(bash)2.665 E F0 .165(includes \214lenames be)2.665 F -.165(ginning with a `.)-.15 F 2.665('i)-.7 G 2.665(nt)-2.665 G .165 -(he results of pathname e)-2.665 F(xpansion.)-.15 E F1(execfail)144 414 -Q F0 1.386(If set, a non-interacti)7.79 F 1.686 -.15(ve s)-.25 H 1.386 -(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 G -1.387(cute the \214le speci\214ed as an).15 F(ar)184 426 Q -(gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E -(An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 -E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 438 Q F0 -.717(If set, aliases are e)184 450 R .717(xpanded as described abo)-.15 -F 1.017 -.15(ve u)-.15 H(nder).15 E F2(ALIASES)3.217 E F3(.)A F0 .716 -(This option is enabled)5.217 F(by def)184 462 Q(ault for interacti)-.1 -E .3 -.15(ve s)-.25 H(hells.).15 E F1(extdeb)144 474 Q(ug)-.2 E F0 -(If set, beha)184 486 Q(vior intended for use by deb)-.2 E -(uggers is enabled:)-.2 E F1(1.)184 498 Q F0(The)28.5 E F1<ad46>4.25 E -F0 1.75(option to the)4.25 F F1(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 -G 1.751(iltin displays the source \214le name and line).2 F -(number corresponding to each function name supplied as an ar)220 510 Q -(gument.)-.18 E F1(2.)184 522 Q F0 1.667(If the command run by the)28.5 +649.2 Q 5(.T)-.65 G(his allo)-5 E +(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 661.2 +Q F0 .42(If set,)184 673.2 R F1(bash)2.92 E F0 .42(changes its beha)2.92 +F .419(vior to that of v)-.2 F .419 +(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E +(to the conditional command')184 685.2 Q 2.5(s=)-.55 G 2.5(~o)-2.5 G +(perator)-2.5 E(.)-.55 E F1(dirspell)144 697.2 Q F0 .858(If set,)7.77 F +F1(bash)3.358 E F0 .858 +(attempts spelling correction on directory names during w)3.358 F .859 +(ord completion if)-.1 F +(the directory name initially supplied does not e)184 709.2 Q(xist.)-.15 +E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP +%%Page: 16 16 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 +/Times-Bold@0 SF(dotglob)144 84 Q F0 .165(If set,)7.77 F F1(bash)2.665 E +F0 .165(includes \214lenames be)2.665 F .165(ginning with a `.)-.15 F +2.665('i)-.7 G 2.665(nt)-2.665 G .165(he results of pathname e)-2.665 F +(xpansion.)-.15 E F1(execfail)144 96 Q F0 1.386(If set, a non-interacti) +7.79 F 1.686 -.15(ve s)-.25 H 1.386(hell will not e).15 F 1.386 +(xit if it cannot e)-.15 F -.15(xe)-.15 G 1.387 +(cute the \214le speci\214ed as an).15 F(ar)184 108 Q(gument to the)-.18 +E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E(An interacti)5 E .3 +-.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 E F1(exec)2.5 E F0 +-.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 120 Q F0 .717 +(If set, aliases are e)184 132 R .717(xpanded as described abo)-.15 F +1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E +/F3 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F +(by def)184 144 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(extdeb)144 156 Q(ug)-.2 E F0(If set, beha)184 168 Q +(vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184 +180 Q F0(The)28.5 E F1<ad46>4.25 E F0 1.75(option to the)4.25 F F1 +(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751 +(iltin displays the source \214le name and line).2 F +(number corresponding to each function name supplied as an ar)220 192 Q +(gument.)-.18 E F1(2.)184 204 Q F0 1.667(If the command run by the)28.5 F F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F -1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 534 -Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 546 Q F0 .84 +1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 216 +Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 228 Q F0 .84 (If the command run by the)28.5 F F1(DEB)3.34 E(UG)-.1 E F0 .841 (trap returns a v)3.341 F .841(alue of 2, and the shell is)-.25 F -.15 -(exe)220 558 S .488 +(exe)220 240 S .488 (cuting in a subroutine \(a shell function or a shell script e).15 F -.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1 -(sour)220 570 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1 +(sour)220 252 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1 -.18(re)2.5 G(tur).18 E(n)-.15 E F0(is simulated.)2.5 E F1 26(4. B)184 -582 R(ASH_ARGC)-.3 E F0(and)3.775 E F1 -.3(BA)3.775 G(SH_ARGV).3 E F0 +264 R(ASH_ARGC)-.3 E F0(and)3.775 E F1 -.3(BA)3.775 G(SH_ARGV).3 E F0 1.276(are updated as described in their descrip-)3.775 F(tions abo)220 -594 Q -.15(ve)-.15 G(.).15 E F1(5.)184 606 Q F0 1.359 +276 Q -.15(ve)-.15 G(.).15 E F1(5.)184 288 Q F0 1.359 (Function tracing is enabled:)28.5 F 1.359 (command substitution, shell functions, and sub-)6.359 F(shells in)220 -618 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10 +300 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10 /Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1 (DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps.)2.5 E F1(6.) -184 630 Q F0 .804(Error tracing is enabled:)28.5 F .805 -(command substitution, shell functions, and subshells)5.804 F(in)220 642 +184 312 Q F0 .804(Error tracing is enabled:)28.5 F .805 +(command substitution, shell functions, and subshells)5.804 F(in)220 324 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4 (command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E(OR)-.3 E F0 -(trap.)2.5 E F1(extglob)144 654 Q F0 .4(If set, the e)8.89 F .4 +(trap.)2.5 E F1(extglob)144 336 Q F0 .4(If set, the e)8.89 F .4 (xtended pattern matching features described abo)-.15 F .7 -.15(ve u) --.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 666 Q -F0(are enabled.)2.5 E F1(extquote)144 678 Q F0 2.473(If set,)184 690 R +-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 348 Q +F0(are enabled.)2.5 E F1(extquote)144 360 Q F0 2.473(If set,)184 372 R F1($)4.973 E F0<08>A F4(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973 E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within) -4.973 F F1(${)4.973 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G -(pansions).15 E(enclosed in double quotes.)184 702 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 714 Q F0 +(pansions).15 E(enclosed in double quotes.)184 384 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 396 Q F0 1.425(If set, patterns which f)7.77 F 1.425 (ail to match \214lenames during pathname e)-.1 F 1.424 -(xpansion result in an)-.15 F -.15(ex)184 726 S(pansion error).15 E(.) --.55 E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP -%%Page: 16 16 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF -.25(fo)144 84 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 -E F0 .585(If set, the suf)184 96 R<8c78>-.25 E .585 -(es speci\214ed by the)-.15 F F1(FIGNORE)3.085 E F0 .585(shell v)3.085 F -.585(ariable cause w)-.25 F .585(ords to be ignored)-.1 F .32 -(when performing w)184 108 R .32(ord completion e)-.1 F -.15(ve)-.25 G -2.82(ni).15 G 2.82(ft)-2.82 G .32(he ignored w)-2.82 F .32 -(ords are the only possible com-)-.1 F 3.329(pletions. See)184 120 R/F2 -9/Times-Bold@0 SF .829(SHELL V)3.329 F(ARIABLES)-1.215 E F0(abo)3.079 E -1.129 -.15(ve f)-.15 H .83(or a description of).15 F F1(FIGNORE)3.33 E -F0 5.83(.T)C .83(his option)-5.83 F(is enabled by def)184 132 Q(ault.) --.1 E F1(gnu_errfmt)144 144 Q F0(If set, shell error messages are writt\ -en in the standard GNU error message format.)184 156 Q F1(histappend)144 -168 Q F0 .384 +(xpansion result in an)-.15 F -.15(ex)184 408 S(pansion error).15 E(.) +-.55 E F1 -.25(fo)144 420 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 +.585(If set, the suf)184 432 R<8c78>-.25 E .585(es speci\214ed by the) +-.15 F F1(FIGNORE)3.085 E F0 .585(shell v)3.085 F .585(ariable cause w) +-.25 F .585(ords to be ignored)-.1 F .32(when performing w)184 444 R .32 +(ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32 +(he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 3.329 +(pletions. See)184 456 R F2 .829(SHELL V)3.329 F(ARIABLES)-1.215 E F0 +(abo)3.079 E 1.129 -.15(ve f)-.15 H .83(or a description of).15 F F1 +(FIGNORE)3.33 E F0 5.83(.T)C .83(his option)-5.83 F(is enabled by def) +184 468 Q(ault.)-.1 E F1(globstar)144 480 Q F0 .44(If set, the pattern)5 +F F1(**)2.94 E F0 .44(used in a \214lename e)2.94 F .439(xpansion conte) +-.15 F .439(xt will match a \214les and zero or)-.15 F 1.297 +(more directories and subdirectories.)184 492 R 1.298 +(If the pattern is follo)6.297 F 1.298(wed by a)-.25 F F1(/)3.798 E F0 +3.798(,o)C 1.298(nly directories)-3.798 F(and subdirectories match.)184 +504 Q F1(gnu_errfmt)144 516 Q F0(If set, shell error messages are writt\ +en in the standard GNU error message format.)184 528 Q F1(histappend)144 +540 Q F0 .384 (If set, the history list is appended to the \214le named by the v)184 -180 R .383(alue of the)-.25 F F1(HISTFILE)2.883 E F0 -.25(va)2.883 G -(ri-).25 E(able when the shell e)184 192 Q(xits, rather than o)-.15 E --.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 204 Q(eedit)-.18 -E F0 .575(If set, and)184 216 R F1 -.18(re)3.075 G(adline).18 E F0 .575 +552 R .383(alue of the)-.25 F F1(HISTFILE)2.883 E F0 -.25(va)2.883 G +(ri-).25 E(able when the shell e)184 564 Q(xits, rather than o)-.15 E +-.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 576 Q(eedit)-.18 +E F0 .575(If set, and)184 588 R F1 -.18(re)3.075 G(adline).18 E F0 .575 (is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576 (he opportunity to re-edit a f)-3.075 F .576(ailed his-)-.1 F -(tory substitution.)184 228 Q F1(histv)144 240 Q(erify)-.1 E F0 .403 -(If set, and)184 252 R F1 -.18(re)2.903 G(adline).18 E F0 .403 +(tory substitution.)184 600 Q F1(histv)144 612 Q(erify)-.1 E F0 .403 +(If set, and)184 624 R F1 -.18(re)2.903 G(adline).18 E F0 .403 (is being used, the results of history substitution are not immediately) -2.903 F .661(passed to the shell parser)184 264 R 5.661(.I)-.55 G .662 +2.903 F .661(passed to the shell parser)184 636 R 5.661(.I)-.55 G .662 (nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162 -G(adline).18 E F0(editing)3.162 E -.2(bu)184 276 S -.25(ff).2 G(er).25 E +G(adline).18 E F0(editing)3.162 E -.2(bu)184 648 S -.25(ff).2 G(er).25 E 2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1 -(hostcomplete)144 288 Q F0 1.182(If set, and)184 300 R F1 -.18(re)3.682 +(hostcomplete)144 660 Q F0 1.182(If set, and)184 672 R F1 -.18(re)3.682 G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181 (will attempt to perform hostname completion)3.681 F 1.38(when a w)184 -312 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 +684 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 (is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E -F2(READLINE)3.881 E F0(abo)184 324 Q -.15(ve)-.15 G 2.5(\). This).15 F -(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 336 Q F0(If set,) -184 348 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 +F2(READLINE)3.881 E F0(abo)184 696 Q -.15(ve)-.15 G 2.5(\). This).15 F +(is enabled by def)2.5 E(ault.)-.1 E(GNU Bash-3.0)72 768 Q(2004 Apr 20) +148.735 E(16)198.725 E 0 Cg EP +%%Page: 17 17 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 +/Times-Bold@0 SF(huponexit)144 84 Q F0(If set,)184 96 Q F1(bash)2.5 E F0 +(will send)2.5 E/F2 9/Times-Bold@0 SF(SIGHUP)2.5 E F0 (to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) -.15 E(xits.)-.15 E F1(interacti)144 360 Q -.1(ve)-.1 G(_comments).1 E F0 -.33(If set, allo)184 372 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 +.15 E(xits.)-.15 E F1(interacti)144 108 Q -.1(ve)-.1 G(_comments).1 E F0 +.33(If set, allo)184 120 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33 (ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33 (ord and all remaining characters on)-.1 F .967 -(that line to be ignored in an interacti)184 384 R 1.267 -.15(ve s)-.25 +(that line to be ignored in an interacti)184 132 R 1.267 -.15(ve s)-.25 H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 -G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 396 Q -(ault.)-.1 E F1(lithist)144 408 Q F0 .655(If set, and the)15.55 F F1 +G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 144 Q +(ault.)-.1 E F1(lithist)144 156 Q F0 .655(If set, and the)15.55 F F1 (cmdhist)3.155 E F0 .654(option is enabled, multi-line commands are sa) 3.154 F -.15(ve)-.2 G 3.154(dt).15 G 3.154(ot)-3.154 G .654(he history) --3.154 F(with embedded ne)184 420 Q +-3.154 F(with embedded ne)184 168 Q (wlines rather than using semicolon separators where possible.)-.25 E F1 -(login_shell)144 432 Q F0 .486 +(login_shell)144 180 Q F0 .486 (The shell sets this option if it is started as a login shell \(see)184 -444 R F2(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo)2.737 E -.15(ve) --.15 G 2.987(\). The).15 F -.25(va)184 456 S(lue may not be changed.).25 -E F1(mailwar)144 468 Q(n)-.15 E F0 .815(If set, and a \214le that)184 -480 R F1(bash)3.315 E F0 .814 +192 R F2(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo)2.737 E -.15(ve) +-.15 G 2.987(\). The).15 F -.25(va)184 204 S(lue may not be changed.).25 +E F1(mailwar)144 216 Q(n)-.15 E F0 .815(If set, and a \214le that)184 +228 R F1(bash)3.315 E F0 .814 (is checking for mail has been accessed since the last time it)3.315 F --.1(wa)184 492 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E +-.1(wa)184 240 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E (`The mail in)-.74 E/F3 10/Times-Italic@0 SF(mail\214le)2.5 E F0 (has been read')2.5 E 2.5('i)-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1 -(no_empty_cmd_completion)144 504 Q F0 .145(If set, and)184 516 R F1 -.18 +(no_empty_cmd_completion)144 252 Q F0 .145(If set, and)184 264 R F1 -.18 (re)2.645 G(adline).18 E F0 .145(is being used,)2.645 F F1(bash)2.646 E F0 .146(will not attempt to search the)2.646 F F1 -.74(PA)2.646 G(TH) -.21 E F0 .146(for possible)2.646 F -(completions when completion is attempted on an empty line.)184 528 Q F1 -(nocaseglob)144 540 Q F0 .437(If set,)184 552 R F1(bash)2.937 E F0 .436 +(completions when completion is attempted on an empty line.)184 276 Q F1 +(nocaseglob)144 288 Q F0 .437(If set,)184 300 R F1(bash)2.937 E F0 .436 (matches \214lenames in a case\255insensiti)2.937 F .736 -.15(ve f)-.25 -H .436(ashion when performing pathname).05 F -.15(ex)184 564 S +H .436(ashion when performing pathname).05 F -.15(ex)184 312 S (pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1(nocasematch)144 576 Q F0 1.193(If set,)184 -588 R F1(bash)3.693 E F0 1.194(matches patterns in a case\255insensiti) +-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 324 Q F0 1.193(If set,)184 +336 R F1(bash)3.693 E F0 1.194(matches patterns in a case\255insensiti) 3.693 F 1.494 -.15(ve f)-.25 H 1.194(ashion when performing matching).05 -F(while e)184 600 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 -E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 612 Q F0 -.855(If set,)184 624 R F1(bash)3.355 E F0(allo)3.355 E .855 +F(while e)184 348 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5 +E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 360 Q F0 +.855(If set,)184 372 R F1(bash)3.355 E F0(allo)3.355 E .855 (ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.354 G .854 (thname Expansion).1 F F0(abo)3.354 E -.15(ve)-.15 G 3.354(\)t).15 G(o) --3.354 E -.15(ex)184 636 S(pand to a null string, rather than themselv) -.15 E(es.)-.15 E F1(pr)144 648 Q(ogcomp)-.18 E F0 .676 -(If set, the programmable completion f)184 660 R .677(acilities \(see) +-3.354 E -.15(ex)184 384 S(pand to a null string, rather than themselv) +.15 E(es.)-.15 E F1(pr)144 396 Q(ogcomp)-.18 E F0 .676 +(If set, the programmable completion f)184 408 R .677(acilities \(see) -.1 F F1(Pr)3.177 E .677(ogrammable Completion)-.18 F F0(abo)3.177 E --.15(ve)-.15 G(\)).15 E(are enabled.)184 672 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 684 Q(omptv) --.18 E(ars)-.1 E F0 1.448(If set, prompt strings under)184 696 R 1.448 +-.15(ve)-.15 G(\)).15 E(are enabled.)184 420 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 432 Q(omptv) +-.18 E(ars)-.1 E F0 1.448(If set, prompt strings under)184 444 R 1.448 (go parameter e)-.18 F 1.447(xpansion, command substitution, arithmetic) --.15 F -.15(ex)184 708 S .17(pansion, and quote remo).15 F -.25(va)-.15 +-.15 F -.15(ex)184 456 S .17(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G .17(fter being e)-2.67 F .17(xpanded as described in) -.15 F F2(PR)2.671 E(OMPTING)-.27 E F0(abo)2.421 E -.15(ve)-.15 G(.).15 -E(This option is enabled by def)184 720 Q(ault.)-.1 E(GNU Bash-3.0)72 -768 Q(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP -%%Page: 17 17 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF -.18(re)144 84 S(stricted_shell).18 E F0 1.069 +E(This option is enabled by def)184 468 Q(ault.)-.1 E F1 -.18(re)144 480 +S(stricted_shell).18 E F0 1.069 (The shell sets this option if it is started in restricted mode \(see) -184 96 R/F2 9/Times-Bold@0 SF 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 -108 Q 4.178(w\). The)-.25 F -.25(va)4.178 G 1.678 -(lue may not be changed.).25 F 1.678 -(This is not reset when the startup \214les are)6.678 F -.15(exe)184 120 -S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E -.15(ve) --.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E F1 -(shift_v)144 132 Q(erbose)-.1 E F0 .502(If set, the)184 144 R F1(shift) -3.002 E F0 -.2(bu)3.002 G .501 +184 492 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 504 Q 4.178 +(w\). The)-.25 F -.25(va)4.178 G 1.678(lue may not be changed.).25 F +1.678(This is not reset when the startup \214les are)6.678 F -.15(exe) +184 516 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E +-.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E +F1(shift_v)144 528 Q(erbose)-.1 E F0 .502(If set, the)184 540 R F1 +(shift)3.002 E F0 -.2(bu)3.002 G .501 (iltin prints an error message when the shift count e).2 F .501 -(xceeds the number)-.15 F(of positional parameters.)184 156 Q F1(sour) -144 168 Q(cepath)-.18 E F0 .77(If set, the)184 180 R F1(sour)3.27 E(ce) +(xceeds the number)-.15 F(of positional parameters.)184 552 Q F1(sour) +144 564 Q(cepath)-.18 E F0 .77(If set, the)184 576 R F1(sour)3.27 E(ce) -.18 E F0(\()3.27 E F1(.)A F0 3.27(\)b)C .77(uiltin uses the v)-3.47 F .771(alue of)-.25 F F2 -.666(PA)3.271 G(TH)-.189 E F0 .771 (to \214nd the directory containing the)3.021 F -(\214le supplied as an ar)184 192 Q 2.5(gument. This)-.18 F -(option is enabled by def)2.5 E(ault.)-.1 E F1(xpg_echo)144 204 Q F0 -(If set, the)184 216 Q F1(echo)2.5 E F0 -.2(bu)2.5 G(iltin e).2 E +(\214le supplied as an ar)184 588 Q 2.5(gument. This)-.18 F +(option is enabled by def)2.5 E(ault.)-.1 E F1(xpg_echo)144 600 Q F0 +(If set, the)184 612 Q F1(echo)2.5 E F0 -.2(bu)2.5 G(iltin e).2 E (xpands backslash-escape sequences by def)-.15 E(ault.)-.1 E F1(suspend) -108 228 Q F0([)2.5 E F1<ad66>A F0(])A .493(Suspend the e)144 240 R -.15 +108 624 Q F0([)2.5 E F1<ad66>A F0(])A .493(Suspend the e)144 636 R -.15 (xe)-.15 G .493(cution of this shell until it recei).15 F -.15(ve)-.25 G 2.992(sa).15 G F2(SIGCONT)A F0 2.992(signal. The)2.742 F F1<ad66>2.992 E F0 .492(option says not to)2.992 F .758 -(complain if this is a login shell; just suspend an)144 252 R(yw)-.15 E +(complain if this is a login shell; just suspend an)144 648 R(yw)-.15 E (ay)-.1 E 5.758(.T)-.65 G .759 (he return status is 0 unless the shell is a)-5.758 F(login shell and) -144 264 Q F1<ad66>2.5 E F0 +144 660 Q F1<ad66>2.5 E F0 (is not supplied, or if job control is not enabled.)2.5 E F1(test)108 -276 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([)108 288 Q F3 -.2 -(ex)2.5 G(pr).2 E F1(])2.5 E F0 1.15 -(Return a status of 0 or 1 depending on the e)6.77 F -.25(va)-.25 G 1.15 -(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)3.65 G -(pr).2 E F0 6.15(.E).73 G(ach)-6.15 E 1.187 -(operator and operand must be a separate ar)144 300 R 3.688 +672 Q F3 -.2(ex)2.5 G(pr).2 E F1([)108 684 Q F3 -.2(ex)2.5 G(pr).2 E F1 +(])2.5 E F0 1.15(Return a status of 0 or 1 depending on the e)6.77 F +-.25(va)-.25 G 1.15(luation of the conditional e).25 F(xpression)-.15 E +F3 -.2(ex)3.65 G(pr).2 E F0 6.15(.E).73 G(ach)-6.15 E 1.187 +(operator and operand must be a separate ar)144 696 R 3.688 (gument. Expressions)-.18 F 1.188(are composed of the primaries)3.688 F -1.89(described abo)144 312 R 2.19 -.15(ve u)-.15 H(nder).15 E F2 +1.89(described abo)144 708 R 2.19 -.15(ve u)-.15 H(nder).15 E F2 (CONDITION)4.39 E 1.89(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(.)A F1(test)6.39 E F0 1.889(does not accept an)4.389 F 4.389(yo)-.15 G 1.889 -(ptions, nor)-4.389 F(does it accept and ignore an ar)144 324 Q +(ptions, nor)-4.389 F(does it accept and ignore an ar)144 720 Q (gument of)-.18 E F1<adad>2.5 E F0(as signifying the end of options.)2.5 -E .785(Expressions may be combined using the follo)144 342 R .786 +E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(17)198.725 E 0 Cg EP +%%Page: 18 18 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .785 +(Expressions may be combined using the follo)144 84 R .786 (wing operators, listed in decreasing order of prece-)-.25 F 2.5 -(dence. The)144 354 R -.25(eva)2.5 G -(luation depends on the number of ar).25 E(guments; see belo)-.18 E -.65 -(w.)-.25 G F1(!)144 366 Q F3 -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)12.6 G -(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\() -144 378 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)6.77 -F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26 +(dence. The)144 96 R -.25(eva)2.5 G(luation depends on the number of ar) +.25 E(guments; see belo)-.18 E -.65(w.)-.25 G/F1 10/Times-Bold@0 SF(!) +144 108 Q/F2 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)12.6 G +(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\() +144 120 Q F2 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)6.77 +F .26(alue of)-.25 F F2 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26 (his may be used to o)-5.26 F -.15(ve)-.15 G .26 -(rride the normal precedence of opera-).15 F(tors.)180 390 Q F3 -.2(ex) -144 402 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35 -(Tr)180 414 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F3 --.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 426 S(pr1).2 E -F0<ad>2.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 438 S -(ue if either).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F3 -.2(ex)2.5 G -(pr2).2 E F0(is true.)2.52 E F1(test)144 454.8 Q F0(and)2.5 E F1([)2.5 E +(rride the normal precedence of opera-).15 F(tors.)180 132 Q F2 -.2(ex) +144 144 S(pr1).2 E F0<ad>2.5 E F1(a)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35 +(Tr)180 156 S(ue if both).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F2 +-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F2 -.2(ex)144 168 S(pr1).2 E +F0<ad>2.5 E F1(o)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 180 S +(ue if either).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F2 -.2(ex)2.5 G +(pr2).2 E F0(is true.)2.52 E F1(test)144 196.8 Q F0(and)2.5 E F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E (xpressions using a set of rules based on the number of ar)-.15 E -(guments.)-.18 E 2.5(0a)144 472.8 S -.18(rg)-2.5 G(uments).18 E(The e) -180 484.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 496.8 S -.18 -(rg)-2.5 G(ument).18 E(The e)180 508.8 Q +(guments.)-.18 E 2.5(0a)144 214.8 S -.18(rg)-2.5 G(uments).18 E(The e) +180 226.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 238.8 S -.18 +(rg)-2.5 G(ument).18 E(The e)180 250.8 Q (xpression is true if and only if the ar)-.15 E(gument is not null.)-.18 -E 2.5(2a)144 520.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) -180 532.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 +E 2.5(2a)144 262.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) +180 274.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 F .37(xpression is true if and only if the second ar)-.15 F .37 -(gument is null.)-.18 F .38(If the \214rst ar)180 544.8 R .38 +(gument is null.)-.18 F .38(If the \214rst ar)180 286.8 R .38 (gument is one of the unary conditional operators listed abo)-.18 F .679 --.15(ve u)-.15 H(nder).15 E F2(CONDI-)2.879 E(TION)180 556.8 Q .552 -(AL EXPRESSIONS)-.18 F F4(,)A F0 .552(the e)2.802 F .552 -(xpression is true if the unary test is true.)-.15 F .552 -(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 568.8 Q +-.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(CONDI-)2.879 E(TION)180 +298.8 Q .552(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 +(the e)2.802 F .552(xpression is true if the unary test is true.)-.15 F +.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 310.8 Q (alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E -(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 580.8 S -.18(rg)-2.5 G -(uments).18 E .024(If the second ar)180 592.8 R .023 +(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 322.8 S -.18(rg)-2.5 G +(uments).18 E .024(If the second ar)180 334.8 R .023 (gument is one of the binary conditional operators listed abo)-.18 F -.323 -.15(ve u)-.15 H(nder).15 E F2(CON-)2.523 E(DITION)180 604.8 Q +.323 -.15(ve u)-.15 H(nder).15 E F3(CON-)2.523 E(DITION)180 346.8 Q 1.477(AL EXPRESSIONS)-.18 F F4(,)A F0 1.477(the result of the e)3.727 F 1.477(xpression is the result of the binary test)-.15 F .513 -(using the \214rst and third ar)180 616.8 R .513(guments as operands.) +(using the \214rst and third ar)180 358.8 R .513(guments as operands.) -.18 F(The)5.513 E F1<ad61>3.013 E F0(and)3.013 E F1<ad6f>3.013 E F0 .512(operators are considered)3.013 F .972 -(binary operators when there are three ar)180 628.8 R 3.472(guments. If) +(binary operators when there are three ar)180 370.8 R 3.472(guments. If) -.18 F .972(the \214rst ar)3.472 F .972(gument is)-.18 F F1(!)3.472 E F0 -3.472(,t)C .972(he v)-3.472 F .972(alue is)-.25 F .884(the ne)180 640.8 +3.472(,t)C .972(he v)-3.472 F .972(alue is)-.25 F .884(the ne)180 382.8 R -.05(ga)-.15 G .884(tion of the tw).05 F(o-ar)-.1 E .884 (gument test using the second and third ar)-.18 F 3.383(guments. If)-.18 -F .883(the \214rst)3.383 F(ar)180 652.8 Q .874(gument is e)-.18 F +F .883(the \214rst)3.383 F(ar)180 394.8 Q .874(gument is e)-.18 F (xactly)-.15 E F1(\()3.374 E F0 .875(and the third ar)3.374 F .875 (gument is e)-.18 F(xactly)-.15 E F1(\))3.375 E F0 3.375(,t)C .875 (he result is the one-ar)-3.375 F(gument)-.18 E(test of the second ar) -180 664.8 Q 2.5(gument. Otherwise,)-.18 F(the e)2.5 E(xpression is f) --.15 E(alse.)-.1 E 2.5(4a)144 676.8 S -.18(rg)-2.5 G(uments).18 E .385 -(If the \214rst ar)180 688.8 R .385(gument is)-.18 F F1(!)2.885 E F0 +180 406.8 Q 2.5(gument. Otherwise,)-.18 F(the e)2.5 E(xpression is f) +-.15 E(alse.)-.1 E 2.5(4a)144 418.8 S -.18(rg)-2.5 G(uments).18 E .385 +(If the \214rst ar)180 430.8 R .385(gument is)-.18 F F1(!)2.885 E F0 2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15 G .384 (tion of the three-ar).05 F .384(gument e)-.18 F .384(xpression com-) --.15 F 1.647(posed of the remaining ar)180 700.8 R 4.147 +-.15 F 1.647(posed of the remaining ar)180 442.8 R 4.147 (guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.648 (xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E -(according to precedence using the rules listed abo)180 712.8 Q -.15(ve) --.15 G(.).15 E(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(17)198.725 E -0 Cg EP -%%Page: 18 18 -%%BeginPageSetup -BP -%%EndPageSetup -/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E 2.5(5o)144 -84 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments)-.18 E 1.635(The e)180 96 R -1.635(xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635 -(luated according to precedence using the rules listed).25 F(abo)180 108 -Q -.15(ve)-.15 G(.).15 E/F1 10/Times-Bold@0 SF(times)108 124.8 Q F0 -1.229(Print the accumulated user and system times for the shell and for\ - processes run from the shell.)13.23 F(The return status is 0.)144 136.8 -Q F1(trap)108 153.6 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E/F2 10 -/Times-Italic@0 SF(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])2.5 E -.703(The command)144 165.6 R F2(ar)3.533 E(g)-.37 E F0 .703 -(is to be read and e)3.423 F -.15(xe)-.15 G .702 +(according to precedence using the rules listed abo)180 454.8 Q -.15(ve) +-.15 G(.).15 E 2.5(5o)144 466.8 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments) +-.18 E 1.635(The e)180 478.8 R 1.635(xpression is parsed and e)-.15 F +-.25(va)-.25 G 1.635 +(luated according to precedence using the rules listed).25 F(abo)180 +490.8 Q -.15(ve)-.15 G(.).15 E F1(times)108 507.6 Q F0 1.229(Print the \ +accumulated user and system times for the shell and for processes run f\ +rom the shell.)13.23 F(The return status is 0.)144 519.6 Q F1(trap)108 +536.4 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E F2(ar)A(g)-.37 E F0 +(])A F2(sigspec)2.5 E F0(...])2.5 E .703(The command)144 548.4 R F2(ar) +3.533 E(g)-.37 E F0 .703(is to be read and e)3.423 F -.15(xe)-.15 G .702 (cuted when the shell recei).15 F -.15(ve)-.25 G 3.202(ss).15 G (ignal\(s\))-3.202 E F2(sigspec)3.202 E F0 5.702(.I).31 G(f)-5.702 E F2 (ar)3.532 E(g)-.37 E F0(is)3.422 E .608(absent \(and there is a single) -144 177.6 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E +144 560.4 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E F0 3.108(,e)C .608 (ach speci\214ed signal is reset to its original disposition)-3.108 F -.659(\(the v)144 189.6 R .659(alue it had upon entrance to the shell\).) +.659(\(the v)144 572.4 R .659(alue it had upon entrance to the shell\).) -.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .658 (is the null string the signal speci\214ed by each)3.378 F F2(sigspec) -144.34 201.6 Q F0 .58(is ignored by the shell and by the commands it in) +144.34 584.4 Q F0 .58(is ignored by the shell and by the commands it in) 3.39 F -.2(vo)-.4 G -.1(ke).2 G 3.081(s. If).1 F F2(ar)3.411 E(g)-.37 E F0 .581(is not present and)3.301 F F1<ad70>3.081 E F0(has)3.081 E 1.215 -(been supplied, then the trap commands associated with each)144 213.6 R +(been supplied, then the trap commands associated with each)144 596.4 R F2(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214 -F(gu-)-.18 E .86(ments are supplied or if only)144 225.6 R F1<ad70>3.36 +F(gu-)-.18 E .86(ments are supplied or if only)144 608.4 R F1<ad70>3.36 E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86 (prints the list of commands associated with each)3.36 F 2.83 -(signal. The)144 237.6 R F1<ad6c>2.83 E F0 .33(option causes the shell \ +(signal. The)144 620.4 R F1<ad6c>2.83 E F0 .33(option causes the shell \ to print a list of signal names and their corresponding num-)2.83 F 4.31 -(bers. Each)144 249.6 R F2(sigspec)4.65 E F0 1.811 +(bers. Each)144 632.4 R F2(sigspec)4.65 E F0 1.811 (is either a signal name de\214ned in <)4.62 F F2(signal.h)A F0 1.811 (>, or a signal number)B 6.811(.S)-.55 G(ignal)-6.811 E .745 -(names are case insensiti)144 261.6 R 1.045 -.15(ve a)-.25 H .745 +(names are case insensiti)144 644.4 R 1.045 -.15(ve a)-.25 H .745 (nd the SIG pre\214x is optional.).15 F .745(If a)5.745 F F2(sigspec) -3.585 E F0(is)3.555 E/F3 9/Times-Bold@0 SF(EXIT)3.245 E F0 .745 -(\(0\) the command)2.995 F F2(ar)144.33 273.6 Q(g)-.37 E F0 1.629(is e) -4.349 F -.15(xe)-.15 G 1.629(cuted on e).15 F 1.63(xit from the shell.) --.15 F 1.63(If a)6.63 F F2(sigspec)4.47 E F0(is)4.44 E F3(DEB)4.13 E(UG) --.09 E/F4 9/Times-Roman@0 SF(,)A F0 1.63(the command)3.88 F F2(ar)4.46 E -(g)-.37 E F0 1.63(is e)4.35 F -.15(xe)-.15 G(cuted).15 E 1.207(before e) -144 285.6 R -.15(ve)-.25 G(ry).15 E F2 1.207(simple command)3.707 F F0 -(,)A F2(for)3.707 E F0(command,)3.706 E F2(case)3.706 E F0(command,) -3.706 E F2(select)3.706 E F0 1.206(command, e)3.706 F -.15(ve)-.25 G -1.206(ry arithmetic).15 F F2(for)144 297.6 Q F0 .412 -(command, and before the \214rst command e)2.912 F -.15(xe)-.15 G .412 -(cutes in a shell function \(see).15 F F3 .413(SHELL GRAMMAR)2.912 F F0 -(abo)144 309.6 Q -.15(ve)-.15 G 2.666(\). Refer).15 F .166 -(to the description of the)2.666 F F1(extdeb)2.666 E(ug)-.2 E F0 .166 -(option to the)2.666 F F1(shopt)2.666 E F0 -.2(bu)2.666 G .166 -(iltin for details of its ef).2 F(fect)-.25 E .508(on the)144 321.6 R F1 -(DEB)3.008 E(UG)-.1 E F0 3.008(trap. If)3.008 F(a)3.008 E F2(sigspec) -3.348 E F0(is)3.318 E F3(ERR)3.008 E F4(,)A F0 .508(the command)2.758 F -F2(ar)3.338 E(g)-.37 E F0 .509(is e)3.228 F -.15(xe)-.15 G .509 -(cuted whene).15 F -.15(ve)-.25 G 3.009(ras).15 G .509(imple com-)-3.009 -F 2.506(mand has a non\255zero e)144 333.6 R 2.506 +3.585 E F0(is)3.555 E F3(EXIT)3.245 E F0 .745(\(0\) the command)2.995 F +F2(ar)144.33 656.4 Q(g)-.37 E F0 1.629(is e)4.349 F -.15(xe)-.15 G 1.629 +(cuted on e).15 F 1.63(xit from the shell.)-.15 F 1.63(If a)6.63 F F2 +(sigspec)4.47 E F0(is)4.44 E F3(DEB)4.13 E(UG)-.09 E F4(,)A F0 1.63 +(the command)3.88 F F2(ar)4.46 E(g)-.37 E F0 1.63(is e)4.35 F -.15(xe) +-.15 G(cuted).15 E 1.207(before e)144 668.4 R -.15(ve)-.25 G(ry).15 E F2 +1.207(simple command)3.707 F F0(,)A F2(for)3.707 E F0(command,)3.706 E +F2(case)3.706 E F0(command,)3.706 E F2(select)3.706 E F0 1.206 +(command, e)3.706 F -.15(ve)-.25 G 1.206(ry arithmetic).15 F F2(for)144 +680.4 Q F0 .412(command, and before the \214rst command e)2.912 F -.15 +(xe)-.15 G .412(cutes in a shell function \(see).15 F F3 .413 +(SHELL GRAMMAR)2.912 F F0(abo)144 692.4 Q -.15(ve)-.15 G 2.666 +(\). Refer).15 F .166(to the description of the)2.666 F F1(extdeb)2.666 +E(ug)-.2 E F0 .166(option to the)2.666 F F1(shopt)2.666 E F0 -.2(bu) +2.666 G .166(iltin for details of its ef).2 F(fect)-.25 E .508(on the) +144 704.4 R F1(DEB)3.008 E(UG)-.1 E F0 3.008(trap. If)3.008 F(a)3.008 E +F2(sigspec)3.348 E F0(is)3.318 E F3(ERR)3.008 E F4(,)A F0 .508 +(the command)2.758 F F2(ar)3.338 E(g)-.37 E F0 .509(is e)3.228 F -.15 +(xe)-.15 G .509(cuted whene).15 F -.15(ve)-.25 G 3.009(ras).15 G .509 +(imple com-)-3.009 F 2.506(mand has a non\255zero e)144 716.4 R 2.506 (xit status, subject to the follo)-.15 F 2.506(wing conditions.)-.25 F (The)7.506 E F3(ERR)5.006 E F0 2.506(trap is not)4.756 F -.15(exe)144 -345.6 S .105(cuted if the f).15 F .105 +728.4 S .105(cuted if the f).15 F .105 (ailed command is part of the command list immediately follo)-.1 F .105 -(wing a)-.25 F F1(while)2.605 E F0(or)2.605 E F1(until)2.605 E F0 -.1 -(ke)144 357.6 S(yw)-.05 E .549(ord, part of the test in an)-.1 F F2(if) -3.059 E F0 .549(statement, part of a command e)5.009 F -.15(xe)-.15 G -.549(cuted in a).15 F F1(&&)3.049 E F0(or)3.049 E/F5 10/Symbol SF<efef> -3.049 E F0 .549(list, or if)3.049 F .577(the command')144 369.6 R 3.077 -(sr)-.55 G .577(eturn v)-3.077 F .577(alue is being in)-.25 F -.15(ve) --.4 G .577(rted via).15 F F1(!)3.077 E F0 5.578(.T)C .578 -(hese are the same conditions obe)-5.578 F .578(yed by the)-.15 F F1 -(err)144 381.6 Q(exit)-.18 E F0 3.031(option. If)3.031 F(a)3.031 E F2 -(sigspec)3.371 E F0(is)3.341 E F3(RETURN)3.031 E F4(,)A F0 .531 -(the command)2.781 F F2(ar)3.361 E(g)-.37 E F0 .531(is e)3.251 F -.15 -(xe)-.15 G .53(cuted each time a shell function).15 F .316 -(or a script e)144 393.6 R -.15(xe)-.15 G .317(cuted with the).15 F F1 -(.)2.817 E F0(or)2.817 E F1(sour)2.817 E(ce)-.18 E F0 -.2(bu)2.817 G -.317(iltins \214nishes e).2 F -.15(xe)-.15 G 2.817(cuting. Signals).15 F -.317(ignored upon entry to)2.817 F .787 -(the shell cannot be trapped or reset.)144 405.6 R -.35(Tr)5.787 G .787 +(wing a)-.25 F F1(while)2.605 E F0(or)2.605 E F1(until)2.605 E F0 +(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(18)198.725 E 0 Cg EP +%%Page: 19 19 +%%BeginPageSetup +BP +%%EndPageSetup +/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E -.1(ke)144 +84 S(yw)-.05 E .549(ord, part of the test in an)-.1 F/F1 10 +/Times-Italic@0 SF(if)3.059 E F0 .549(statement, part of a command e) +5.009 F -.15(xe)-.15 G .549(cuted in a).15 F/F2 10/Times-Bold@0 SF(&&) +3.049 E F0(or)3.049 E/F3 10/Symbol SF<efef>3.049 E F0 .549(list, or if) +3.049 F .577(the command')144 96 R 3.077(sr)-.55 G .577(eturn v)-3.077 F +.577(alue is being in)-.25 F -.15(ve)-.4 G .577(rted via).15 F F2(!) +3.077 E F0 5.578(.T)C .578(hese are the same conditions obe)-5.578 F +.578(yed by the)-.15 F F2(err)144 108 Q(exit)-.18 E F0 3.031(option. If) +3.031 F(a)3.031 E F1(sigspec)3.371 E F0(is)3.341 E/F4 9/Times-Bold@0 SF +(RETURN)3.031 E/F5 9/Times-Roman@0 SF(,)A F0 .531(the command)2.781 F F1 +(ar)3.361 E(g)-.37 E F0 .531(is e)3.251 F -.15(xe)-.15 G .53 +(cuted each time a shell function).15 F .316(or a script e)144 120 R +-.15(xe)-.15 G .317(cuted with the).15 F F2(.)2.817 E F0(or)2.817 E F2 +(sour)2.817 E(ce)-.18 E F0 -.2(bu)2.817 G .317(iltins \214nishes e).2 F +-.15(xe)-.15 G 2.817(cuting. Signals).15 F .317(ignored upon entry to) +2.817 F .787(the shell cannot be trapped or reset.)144 132 R -.35(Tr) +5.787 G .787 (apped signals that are not being ignored are reset to their).35 F 1.1 -(original v)144 417.6 R 1.1 -(alues in a child process when it is created.)-.25 F 1.1 -(The return status is f)6.1 F 1.1(alse if an)-.1 F(y)-.15 E F2(sigspec) -3.94 E F0(is)3.91 E(in)144 429.6 Q -.25(va)-.4 G(lid; otherwise).25 E F1 -(trap)2.5 E F0(returns true.)2.5 E F1(type)108 446.4 Q F0([)2.5 E F1 -(\255aftpP)A F0(])A F2(name)2.5 E F0([)2.5 E F2(name)A F0(...])2.5 E -.4 -(Wi)144 458.4 S .174(th no options, indicate ho).4 F 2.674(we)-.25 G -(ach)-2.674 E F2(name)3.034 E F0 -.1(wo)2.854 G .173 +(original v)144 144 R 1.1(alues in a child process when it is created.) +-.25 F 1.1(The return status is f)6.1 F 1.1(alse if an)-.1 F(y)-.15 E F1 +(sigspec)3.94 E F0(is)3.91 E(in)144 156 Q -.25(va)-.4 G(lid; otherwise) +.25 E F2(trap)2.5 E F0(returns true.)2.5 E F2(type)108 172.8 Q F0([)2.5 +E F2(\255aftpP)A F0(])A F1(name)2.5 E F0([)2.5 E F1(name)A F0(...])2.5 E +-.4(Wi)144 184.8 S .174(th no options, indicate ho).4 F 2.674(we)-.25 G +(ach)-2.674 E F1(name)3.034 E F0 -.1(wo)2.854 G .173 (uld be interpreted if used as a command name.).1 F .173(If the)5.173 F -F1<ad74>144 470.4 Q F0 .842(option is used,)3.342 F F1(type)3.342 E F0 -.843(prints a string which is one of)3.343 F F2(alias)3.343 E F0(,).27 E -F2 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)3.343 E F0 -(,).24 E F2 -.2(bu)3.343 G(iltin).2 E F0 3.343(,o).24 G(r)-3.343 E F2 -(\214le)5.253 E F0(if)3.523 E F2(name)144.36 482.4 Q F0 .087 +F2<ad74>144 196.8 Q F0 .842(option is used,)3.342 F F2(type)3.342 E F0 +.843(prints a string which is one of)3.343 F F1(alias)3.343 E F0(,).27 E +F1 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F1(function)3.343 E F0 +(,).24 E F1 -.2(bu)3.343 G(iltin).2 E F0 3.343(,o).24 G(r)-3.343 E F1 +(\214le)5.253 E F0(if)3.523 E F1(name)144.36 208.8 Q F0 .087 (is an alias, shell reserv)2.767 F .087(ed w)-.15 F .087 (ord, function, b)-.1 F .086(uiltin, or disk \214le, respecti)-.2 F -.15 -(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F2 +(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F1 (name)2.946 E F0 .086(is not)2.766 F .118 -(found, then nothing is printed, and an e)144 494.4 R .118 +(found, then nothing is printed, and an e)144 220.8 R .118 (xit status of f)-.15 F .118(alse is returned.)-.1 F .119(If the)5.119 F -F1<ad70>2.619 E F0 .119(option is used,)2.619 F F1(type)2.619 E F0 .855 -(either returns the name of the disk \214le that w)144 506.4 R .855 -(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0 +F2<ad70>2.619 E F0 .119(option is used,)2.619 F F2(type)2.619 E F0 .855 +(either returns the name of the disk \214le that w)144 232.8 R .855 +(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F1(name)3.715 E F0 .855(were speci\214ed as a com-)3.535 F .64(mand name, or nothing if)144 -518.4 R/F6 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641 -(uld not return).1 F F2(\214le)3.141 E F0 5.641(.T).18 G(he)-5.641 E F1 -<ad50>3.141 E F0 .641(option forces a)3.141 F F3 -.666(PA)3.141 G(TH) --.189 E F0 .113(search for each)144 530.4 R F2(name)2.613 E F0 2.613(,e) +244.8 R/F6 10/Courier@0 SF .64(type -t name)3.14 F F0 -.1(wo)3.14 G .641 +(uld not return).1 F F1(\214le)3.141 E F0 5.641(.T).18 G(he)-5.641 E F2 +<ad50>3.141 E F0 .641(option forces a)3.141 F F4 -.666(PA)3.141 G(TH) +-.189 E F0 .113(search for each)144 256.8 R F1(name)2.613 E F0 2.613(,e) C -.15(ve)-2.863 G 2.613(ni).15 G(f)-2.613 E F6 .113(type -t name)2.613 -F F0 -.1(wo)2.613 G .113(uld not return).1 F F2(\214le)2.613 E F0 5.113 -(.I).18 G 2.613(fa)-5.113 G .112(command is hashed,)-.001 F F1<ad70> -2.612 E F0(and)144 542.4 Q F1<ad50>2.944 E F0 .444(print the hashed v) +F F0 -.1(wo)2.613 G .113(uld not return).1 F F1(\214le)2.613 E F0 5.113 +(.I).18 G 2.613(fa)-5.113 G .112(command is hashed,)-.001 F F2<ad70> +2.612 E F0(and)144 268.8 Q F2<ad50>2.944 E F0 .444(print the hashed v) 2.944 F .444(alue, not necessarily the \214le that appears \214rst in) --.25 F F3 -.666(PA)2.945 G(TH)-.189 E F4(.)A F0 .445(If the)4.945 F F1 -<ad61>2.945 E F0(option)2.945 E .265(is used,)144 554.4 R F1(type)2.765 +-.25 F F4 -.666(PA)2.945 G(TH)-.189 E F5(.)A F0 .445(If the)4.945 F F2 +<ad61>2.945 E F0(option)2.945 E .265(is used,)144 280.8 R F2(type)2.765 E F0 .265(prints all of the places that contain an e)2.765 F -.15(xe) --.15 G .265(cutable named).15 F F2(name)2.765 E F0 5.265(.T).18 G .265 +-.15 G .265(cutable named).15 F F1(name)2.765 E F0 5.265(.T).18 G .265 (his includes aliases)-5.265 F .426(and functions, if and only if the) -144 566.4 R F1<ad70>2.926 E F0 .426(option is not also used.)2.926 F +144 292.8 R F2<ad70>2.926 E F0 .426(option is not also used.)2.926 F .427(The table of hashed commands is not)5.426 F .549 -(consulted when using)144 578.4 R F1<ad61>3.049 E F0 5.549(.T)C(he) --5.549 E F1<ad66>3.049 E F0 .548 -(option suppresses shell function lookup, as with the)3.049 F F1 -(command)3.048 E F0 -.2(bu)144 590.4 S(iltin.).2 E F1(type)5 E F0 -(returns true if an)2.5 E 2.5(yo)-.15 G 2.5(ft)-2.5 G(he ar)-2.5 E -(guments are found, f)-.18 E(alse if none are found.)-.1 E F1(ulimit)108 -607.2 Q F0([)2.5 E F1(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E -F2(limit)A F0(]])A(Pro)144 619.2 Q .243(vides control o)-.15 F -.15(ve) +(consulted when using)144 304.8 R F2<ad61>3.049 E F0 5.549(.T)C(he) +-5.549 E F2<ad66>3.049 E F0 .548 +(option suppresses shell function lookup, as with the)3.049 F F2 +(command)3.048 E F0 -.2(bu)144 316.8 S(iltin.).2 E F2(type)5 E F0 +(returns true if all of the ar)2.5 E(guments are found, f)-.18 E +(alse if an)-.1 E 2.5(ya)-.15 G(re not found.)-2.5 E F2(ulimit)108 333.6 +Q F0([)2.5 E F2(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F1 +(limit)A F0(]])A(Pro)144 345.6 Q .243(vides control o)-.15 F -.15(ve) -.15 G 2.743(rt).15 G .243(he resources a)-2.743 F -.25(va)-.2 G .244 (ilable to the shell and to processes started by it, on systems).25 F -.944(that allo)144 631.2 R 3.444(ws)-.25 G .944(uch control.)-3.444 F -(The)5.944 E F1<ad48>3.444 E F0(and)3.444 E F1<ad53>3.444 E F0 .943 +.944(that allo)144 357.6 R 3.444(ws)-.25 G .944(uch control.)-3.444 F +(The)5.944 E F2<ad48>3.444 E F0(and)3.444 E F2<ad53>3.444 E F0 .943 (options specify that the hard or soft limit is set for the)3.444 F(gi) -144 643.2 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 +144 369.6 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208 (hard limit cannot be increased by a non-root user once it is set; a so\ -ft limit may)2.708 F .426(be increased up to the v)144 655.2 R .426 -(alue of the hard limit.)-.25 F .425(If neither)5.426 F F1<ad48>2.925 E -F0(nor)2.925 E F1<ad53>2.925 E F0 .425 +ft limit may)2.708 F .426(be increased up to the v)144 381.6 R .426 +(alue of the hard limit.)-.25 F .425(If neither)5.426 F F2<ad48>2.925 E +F0(nor)2.925 E F2<ad53>2.925 E F0 .425 (is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144 -667.2 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139 +393.6 R .139(The v)5.139 F .139(alue of)-.25 F F1(limit)2.729 E F0 .139 (can be a number in the unit speci\214ed for the resource or one)3.319 F -.742(of the special v)144 679.2 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1 -(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w) +.742(of the special v)144 405.6 R(alues)-.25 E F2(hard)3.242 E F0(,)A F2 +(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F2(unlimited)3.241 E F0 3.241(,w) C .741(hich stand for the current hard limit, the current)-3.241 F .78 -(soft limit, and no limit, respecti)144 691.2 R -.15(ve)-.25 G(ly).15 E -5.78(.I)-.65 G(f)-5.78 E F2(limit)3.37 E F0 .78 +(soft limit, and no limit, respecti)144 417.6 R -.15(ve)-.25 G(ly).15 E +5.78(.I)-.65 G(f)-5.78 E F1(limit)3.37 E F0 .78 (is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25 -F .499(resource is printed, unless the)144 703.2 R F1<ad48>2.999 E F0 +F .499(resource is printed, unless the)144 429.6 R F2<ad48>2.999 E F0 .499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498 (more than one resource is speci\214ed, the)2.999 F -(limit name and unit are printed before the v)144 715.2 Q 2.5 -(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E -(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(18)198.725 E 0 Cg EP -%%Page: 19 19 +(limit name and unit are printed before the v)144 441.6 Q 2.5 +(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F2 +<ad61>144 453.6 Q F0(All current limits are reported)25.3 E F2<ad62>144 +465.6 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E +F2<ad63>144 477.6 Q F0(The maximum size of core \214les created)25.86 E +F2<ad64>144 489.6 Q F0(The maximum size of a process')24.74 E 2.5(sd) +-.55 G(ata se)-2.5 E(gment)-.15 E F2<ad65>144 501.6 Q F0 +(The maximum scheduling priority \("nice"\))25.86 E F2<ad66>144 513.6 Q +F0(The maximum size of \214les written by the shell and its children) +26.97 E F2<ad69>144 525.6 Q F0(The maximum number of pending signals) +27.52 E F2<ad6c>144 537.6 Q F0(The maximum size that may be lock)27.52 E +(ed into memory)-.1 E F2<ad6d>144 549.6 Q F0 +(The maximum resident set size)21.97 E F2<ad6e>144 561.6 Q F0 .791(The \ +maximum number of open \214le descriptors \(most systems do not allo) +24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F +(be set\))180 573.6 Q F2<ad70>144 585.6 Q F0 +(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F2 +<ad71>144 597.6 Q F0 +(The maximum number of bytes in POSIX message queues)24.74 E F2<ad72>144 +609.6 Q F0(The maximum real-time scheduling priority)25.86 E F2<ad73>144 +621.6 Q F0(The maximum stack size)26.41 E F2<ad74>144 633.6 Q F0 +(The maximum amount of cpu time in seconds)26.97 E F2<ad75>144 645.6 Q +F0(The maximum number of processes a)24.74 E -.25(va)-.2 G +(ilable to a single user).25 E F2<ad76>144 657.6 Q F0 +(The maximum amount of virtual memory a)25.3 E -.25(va)-.2 G +(ilable to the shell).25 E F2<ad78>144 669.6 Q F0 +(The maximum number of \214le locks)25.3 E F2<ad54>144 681.6 Q F0 +(The maximum number of threads)23.63 E(If)144 698.4 Q F1(limit)2.933 E +F0 .343(is gi)3.523 F -.15(ve)-.25 G .343(n, it is the ne).15 F 2.843 +(wv)-.25 G .343(alue of the speci\214ed resource \(the)-3.093 F F2<ad61> +2.843 E F0 .343(option is display only\).)2.843 F .343(If no)5.343 F +.175(option is gi)144 710.4 R -.15(ve)-.25 G .175(n, then).15 F F2<ad66> +2.675 E F0 .175(is assumed.)2.675 F -1.11(Va)5.175 G .175 +(lues are in 1024-byte increments, e)1.11 F .176(xcept for)-.15 F F2 +<ad74>2.676 E F0 2.676(,w)C .176(hich is in)-2.676 F(seconds,)144 722.4 +Q F2<ad70>3.564 E F0 3.564(,w)C 1.064 +(hich is in units of 512-byte blocks, and)-3.564 F F2<ad54>3.563 E F0(,) +A F2<ad62>3.563 E F0(,)A F2<ad6e>3.563 E F0 3.563(,a)C(nd)-3.563 E F2 +<ad75>3.563 E F0 3.563(,w)C 1.063(hich are unscaled)-3.563 F +(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(19)198.725 E 0 Cg EP +%%Page: 20 20 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48 -(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10 -/Times-Bold@0 SF<ad61>144 84 Q F0(All current limits are reported)25.3 E -F1<ad62>144 96 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E -(fer size)-.25 E F1<ad63>144 108 Q F0 -(The maximum size of core \214les created)25.86 E F1<ad64>144 120 Q F0 -(The maximum size of a process')24.74 E 2.5(sd)-.55 G(ata se)-2.5 E -(gment)-.15 E F1<ad65>144 132 Q F0 -(The maximum scheduling priority \("nice"\))25.86 E F1<ad66>144 144 Q F0 -(The maximum size of \214les written by the shell and its children)26.97 -E F1<ad69>144 156 Q F0(The maximum number of pending signals)27.52 E F1 -<ad6c>144 168 Q F0(The maximum size that may be lock)27.52 E -(ed into memory)-.1 E F1<ad6d>144 180 Q F0 -(The maximum resident set size)21.97 E F1<ad6e>144 192 Q F0 .791(The ma\ -ximum number of open \214le descriptors \(most systems do not allo)24.74 -F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F(be set\))180 -204 Q F1<ad70>144 216 Q F0 -(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F1 -<ad71>144 228 Q F0(The maximum number of bytes in POSIX message queues) -24.74 E F1<ad72>144 240 Q F0(The maximum real-time scheduling priority) -25.86 E F1<ad73>144 252 Q F0(The maximum stack size)26.41 E F1<ad74>144 -264 Q F0(The maximum amount of cpu time in seconds)26.97 E F1<ad75>144 -276 Q F0(The maximum number of processes a)24.74 E -.25(va)-.2 G -(ilable to a single user).25 E F1<ad76>144 288 Q F0 -(The maximum amount of virtual memory a)25.3 E -.25(va)-.2 G -(ilable to the shell).25 E F1<ad78>144 300 Q F0 -(The maximum number of \214le locks)25.3 E F1<ad54>144 312 Q F0 -(The maximum number of threads)23.63 E(If)144 328.8 Q/F2 10 -/Times-Italic@0 SF(limit)2.933 E F0 .343(is gi)3.523 F -.15(ve)-.25 G -.343(n, it is the ne).15 F 2.843(wv)-.25 G .343 -(alue of the speci\214ed resource \(the)-3.093 F F1<ad61>2.843 E F0 .343 -(option is display only\).)2.843 F .343(If no)5.343 F .175(option is gi) -144 340.8 R -.15(ve)-.25 G .175(n, then).15 F F1<ad66>2.675 E F0 .175 -(is assumed.)2.675 F -1.11(Va)5.175 G .175 -(lues are in 1024-byte increments, e)1.11 F .176(xcept for)-.15 F F1 -<ad74>2.676 E F0 2.676(,w)C .176(hich is in)-2.676 F(seconds,)144 352.8 -Q F1<ad70>2.516 E F0 2.516(,w)C .016 -(hich is in units of 512-byte blocks, and)-2.516 F F1<ad54>2.516 E F0(,) -A F1<ad62>2.515 E F0(,)A F1<ad6e>2.515 E F0 2.515(,a)C(nd)-2.515 E F1 -<ad75>2.515 E F0 2.515(,w)C .015(hich are unscaled v)-2.515 F(al-)-.25 E -3.787(ues. The)144 364.8 R 1.287(return status is 0 unless an in)3.787 F --.25(va)-.4 G 1.287(lid option or ar).25 F 1.287 -(gument is supplied, or an error occurs)-.18 F(while setting a ne)144 -376.8 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 393.6 Q F0([)2.5 E F1 -<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2 -(The user \214le-creation mask is set to)144 405.6 R F2(mode)2.7 E F0 +(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E -.25(va)144 +84 S 3.082(lues. The).25 F .583(return status is 0 unless an in)3.083 F +-.25(va)-.4 G .583(lid option or ar).25 F .583 +(gument is supplied, or an error occurs)-.18 F(while setting a ne)144 96 +Q 2.5(wl)-.25 G(imit.)-2.5 E/F1 10/Times-Bold@0 SF(umask)108 112.8 Q F0 +([)2.5 E F1<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C/F2 10 +/Times-Italic@0 SF(mode)-2.5 E F0(])A .2 +(The user \214le-creation mask is set to)144 124.8 R F2(mode)2.7 E F0 5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2 (gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\ therwise it is interpreted as a symbolic mode mask similar to that acce\ -pted by)144 417.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 -429.6 Q F2(mode)3.263 E F0 .382(is omitted, the current v)3.063 F .382 +pted by)144 136.8 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 +148.8 Q F2(mode)3.263 E F0 .382(is omitted, the current v)3.063 F .382 (alue of the mask is printed.)-.25 F(The)5.382 E F1<ad53>2.882 E F0 .382 (option causes the mask to be)2.882 F .547 -(printed in symbolic form; the def)144 441.6 R .547 +(printed in symbolic form; the def)144 160.8 R .547 (ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G (he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F F2 -(mode)144.38 453.6 Q F0 .552 +(mode)144.38 172.8 Q F0 .552 (is omitted, the output is in a form that may be reused as input.)3.232 -F .551(The return status is 0 if the)5.551 F(mode w)144 465.6 Q +F .551(The return status is 0 if the)5.551 F(mode w)144 184.8 Q (as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E (gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1 -(unalias)108 482.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 -(...])2.5 E(Remo)144 494.4 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) +(unalias)108 201.6 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 +(...])2.5 E(Remo)144 213.6 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name) 4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E F1<ad61>4.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155 -F(remo)144 506.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E +F(remo)144 225.6 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E (alue is true unless a supplied)-.25 E F2(name)2.86 E F0 -(is not a de\214ned alias.)2.68 E F1(unset)108 523.2 Q F0<5bad>2.5 E F1 -(fv)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.15(Fo)144 535.2 S 3.107 +(is not a de\214ned alias.)2.68 E F1(unset)108 242.4 Q F0<5bad>2.5 E F1 +(fv)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E -.15(Fo)144 254.4 S 3.107 (re).15 G(ach)-3.107 E F2(name)3.107 E F0 3.107(,r).18 G(emo)-3.107 E .907 -.15(ve t)-.15 H .607(he corresponding v).15 F .607 (ariable or function.)-.25 F .606(If no options are supplied, or the) -5.607 F F1<ad76>144 547.2 Q F0 .304(option is gi)2.804 F -.15(ve)-.25 G +5.607 F F1<ad76>144 266.4 Q F0 .304(option is gi)2.804 F -.15(ve)-.25 G .304(n, each).15 F F2(name)3.164 E F0 .305(refers to a shell v)2.985 F 2.805(ariable. Read-only)-.25 F -.25(va)2.805 G .305 -(riables may not be unset.).25 F(If)5.305 E F1<ad66>144 559.2 Q F0 .46 +(riables may not be unset.).25 F(If)5.305 E F1<ad66>144 278.4 Q F0 .46 (is speci\214ed, each)2.96 F F2(name)3.32 E F0 .459 (refers to a shell function, and the function de\214nition is remo)3.14 -F -.15(ve)-.15 G 2.959(d. Each).15 F .902(unset v)144 571.2 R .902 +F -.15(ve)-.15 G 2.959(d. Each).15 F .902(unset v)144 290.4 R .902 (ariable or function is remo)-.25 F -.15(ve)-.15 G 3.402(df).15 G .902 (rom the en)-3.402 F .903(vironment passed to subsequent commands.)-.4 F -(If)5.903 E(an)144 583.2 Q 4.285(yo)-.15 G(f)-4.285 E/F3 9/Times-Bold@0 +(If)5.903 E(an)144 302.4 Q 4.285(yo)-.15 G(f)-4.285 E/F3 9/Times-Bold@0 SF(RANDOM)4.285 E/F4 9/Times-Roman@0 SF(,)A F3(SECONDS)4.035 E F4(,)A F3 (LINENO)4.035 E F4(,)A F3(HISTCMD)4.035 E F4(,)A F3(FUNCN)4.035 E(AME) -.18 E F4(,)A F3(GR)4.035 E(OUPS)-.27 E F4(,)A F0(or)4.035 E F3(DIRST) 4.284 E -.495(AC)-.81 G(K).495 E F0(are)4.034 E .328(unset, the)144 -595.2 R 2.828(yl)-.15 G .328(ose their special properties, e)-2.828 F +314.4 R 2.828(yl)-.15 G .328(ose their special properties, e)-2.828 F -.15(ve)-.25 G 2.828(ni).15 G 2.828(ft)-2.828 G(he)-2.828 E 2.828(ya) -.15 G .328(re subsequently reset.)-2.828 F .328(The e)5.328 F .329 -(xit status is true)-.15 F(unless a)144 607.2 Q F2(name)2.86 E F0 -(is readonly)2.68 E(.)-.65 E F1(wait)108 624 Q F0([)2.5 E F2 2.5(n.)C -(..)-2.5 E F0(])A -.8(Wa)144 636 S .288 +(xit status is true)-.15 F(unless a)144 326.4 Q F2(name)2.86 E F0 +(is readonly)2.68 E(.)-.65 E F1(wait)108 343.2 Q F0([)2.5 E F2 2.5(n.)C +(..)-2.5 E F0(])A -.8(Wa)144 355.2 S .288 (it for each speci\214ed process and return its termination status.).8 F (Each)5.288 E F2(n)3.148 E F0 .287(may be a process ID or a)3.028 F .722 -(job speci\214cation; if a job spec is gi)144 648 R -.15(ve)-.25 G .722 -(n, all processes in that job').15 F 3.222(sp)-.55 G .722(ipeline are w) --3.222 F .722(aited for)-.1 F 5.722(.I)-.55 G(f)-5.722 E F2(n)3.583 E F0 -(is)3.463 E 1.266(not gi)144 660 R -.15(ve)-.25 G 1.266 +(job speci\214cation; if a job spec is gi)144 367.2 R -.15(ve)-.25 G +.722(n, all processes in that job').15 F 3.222(sp)-.55 G .722 +(ipeline are w)-3.222 F .722(aited for)-.1 F 5.722(.I)-.55 G(f)-5.722 E +F2(n)3.583 E F0(is)3.463 E 1.266(not gi)144 379.2 R -.15(ve)-.25 G 1.266 (n, all currently acti).15 F 1.566 -.15(ve c)-.25 H 1.265 (hild processes are w).15 F 1.265(aited for)-.1 F 3.765(,a)-.4 G 1.265 (nd the return status is zero.)-3.765 F(If)6.265 E F2(n)4.125 E F0 .456 -(speci\214es a non-e)144 672 R .457 +(speci\214es a non-e)144 391.2 R .457 (xistent process or job, the return status is 127.)-.15 F .457 -(Otherwise, the return status is the)5.457 F -.15(ex)144 684 S +(Otherwise, the return status is the)5.457 F -.15(ex)144 403.2 S (it status of the last process or job w).15 E(aited for)-.1 E(.)-.55 E -/F5 10.95/Times-Bold@0 SF(SEE ALSO)72 700.8 Q F0(bash\(1\), sh\(1\))108 -712.8 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(19)198.725 E 0 Cg EP +/F5 10.95/Times-Bold@0 SF(SEE ALSO)72 420 Q F0(bash\(1\), sh\(1\))108 +432 Q(GNU Bash-3.0)72 768 Q(2004 Apr 20)148.735 E(20)198.725 E 0 Cg EP %%Trailer end %%EOF diff --git a/doc/rbash.ps b/doc/rbash.ps index e1b70511..2f379e5b 100644 --- a/doc/rbash.ps +++ b/doc/rbash.ps @@ -1,6 +1,6 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.19.2 -%%CreationDate: Tue Apr 8 09:14:15 2008 +%%CreationDate: Thu May 29 11:48:42 2008 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%DocumentSuppliedResources: procset grops 1.19 2 diff --git a/doc/version.texi b/doc/version.texi index 27ea810a..00b4b7eb 100644 --- a/doc/version.texi +++ b/doc/version.texi @@ -2,9 +2,9 @@ Copyright (C) 1988-2008 Free Software Foundation, Inc. @end ignore -@set LASTCHANGE Sun May 25 10:48:26 EDT 2008 +@set LASTCHANGE Mon Jun 2 20:32:28 EDT 2008 @set EDITION 4.0 @set VERSION 4.0 -@set UPDATED 25 May 2008 -@set UPDATED-MONTH May 2008 +@set UPDATED 2 June 2008 +@set UPDATED-MONTH June 2008 diff --git a/doc/version.texi~ b/doc/version.texi~ index ba448d24..27ea810a 100644 --- a/doc/version.texi~ +++ b/doc/version.texi~ @@ -2,9 +2,9 @@ Copyright (C) 1988-2008 Free Software Foundation, Inc. @end ignore -@set LASTCHANGE Sun May 4 22:23:58 EDT 2008 +@set LASTCHANGE Sun May 25 10:48:26 EDT 2008 @set EDITION 4.0 @set VERSION 4.0 -@set UPDATED 4 May 2008 +@set UPDATED 25 May 2008 @set UPDATED-MONTH May 2008 |