mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 02:40:49 +02:00
commit bash-20130419 snapshot
This commit is contained in:
+3
-2
@@ -3143,8 +3143,9 @@ The
|
||||
.I expression
|
||||
is treated as if it were within double quotes, but a double quote
|
||||
inside the parentheses is not treated specially.
|
||||
All tokens in the expression undergo parameter expansion, string
|
||||
expansion, command substitution, and quote removal.
|
||||
All tokens in the expression undergo parameter and variable expansion,
|
||||
command substitution, and quote removal.
|
||||
The result is treated as the arithmetic expression to be evaluated.
|
||||
Arithmetic expansions may be nested.
|
||||
.PP
|
||||
The evaluation is performed according to the rules listed below under
|
||||
|
||||
+3
-2
@@ -2216,8 +2216,9 @@ $(( @var{expression} ))
|
||||
|
||||
The expression is treated as if it were within double quotes, but
|
||||
a double quote inside the parentheses is not treated specially.
|
||||
All tokens in the expression undergo parameter expansion, command
|
||||
substitution, and quote removal.
|
||||
All tokens in the expression undergo parameter and variable expansion,
|
||||
command substitution, and quote removal.
|
||||
The result is treated as the arithmetic expression to be evaluated.
|
||||
Arithmetic expansions may be nested.
|
||||
|
||||
The evaluation is performed according to the rules listed below
|
||||
|
||||
Reference in New Issue
Block a user