summaryrefslogtreecommitdiff
path: root/doc/bash.0
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-02-20 10:25:06 -0500
committerChet Ramey <chet.ramey@case.edu>2014-02-20 10:25:06 -0500
commit595e3e69254f52a691dae922bc6bf3c4fff54b12 (patch)
tree110451b28304bc571ad7185ea113b15957fd0315 /doc/bash.0
parent387affeb7431a5e3a14e683f9312ab13b4bcb114 (diff)
downloadbash-595e3e69254f52a691dae922bc6bf3c4fff54b12.tar.gz
commit bash-20140207 snapshot
Diffstat (limited to 'doc/bash.0')
-rw-r--r--doc/bash.021
1 files changed, 12 insertions, 9 deletions
diff --git a/doc/bash.0 b/doc/bash.0
index faa88989..8f2c57dd 100644
--- a/doc/bash.0
+++ b/doc/bash.0
@@ -468,7 +468,7 @@ SSHHEELLLL GGRRAAMMMMAARR
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
+ 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
_l_i_s_t is executed. Otherwise, each eelliiff _l_i_s_t is executed in
turn, and if its exit status is zero, the corresponding tthheenn
@@ -706,13 +706,16 @@ PPAARRAAMMEETTEERRSS
The shell treats several parameters specially. These parameters may
only be referenced; assignment to them is not allowed.
** Expands to the positional parameters, starting from one. When
- the expansion occurs within double quotes, it expands to a sin-
- gle word with the value of each parameter separated by the first
- character of the IIFFSS special variable. That is, "$$**" is equiva-
- lent to "$$11_c$$22_c......", where _c is the first character of the value
- of the IIFFSS variable. If IIFFSS is unset, the parameters are sepa-
- rated by spaces. If IIFFSS is null, the parameters are joined
- without intervening separators.
+ the expansion is not within double quotes, each positional
+ parameter expands to a separate word. In contexts where it is
+ performed, those words are subject to further word splitting and
+ pathname expansion. When the expansion occurs within double
+ quotes, it expands to a single word with the value of each
+ parameter separated by the first character of the IIFFSS special
+ variable. That is, "$$**" is equivalent to "$$11_c$$22_c......", where _c
+ is the first character of the value of the IIFFSS variable. If IIFFSS
+ is unset, the parameters are separated by spaces. If IIFFSS is
+ null, the parameters are joined without intervening separators.
@@ Expands to the positional parameters, starting from one. When
the expansion occurs within double quotes, each parameter
expands to a separate word. That is, "$$@@" is equivalent to "$$11"
@@ -5721,4 +5724,4 @@ BBUUGGSS
-GNU Bash 4.3 2014 January 6 BASH(1)
+GNU Bash 4.3 2014 February 2 BASH(1)