mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-06 03:40:50 +02:00
extend assoc_expand_once to indexed arrays; rename to array_expand_once, keeping old name as a synonym; udpate shopt documentation
This commit is contained in:
+7
-3
@@ -5700,12 +5700,16 @@ option.
|
||||
The list of @code{shopt} options is:
|
||||
@table @code
|
||||
|
||||
@item assoc_expand_once
|
||||
If set, the shell suppresses multiple evaluation of associative array
|
||||
subscripts during arithmetic expression evaluation, while executing
|
||||
@item array_expand_once
|
||||
If set, the shell suppresses multiple evaluation of
|
||||
associative and indexed array subscripts
|
||||
during arithmetic expression evaluation, while executing
|
||||
builtins that can perform variable assignments,
|
||||
and while executing builtins that perform array dereferencing.
|
||||
|
||||
@item assoc_expand_once
|
||||
Deprecated; a synonym for @code{array_expand_once}.
|
||||
|
||||
@item autocd
|
||||
If set, a command name that is the name of a directory is executed as if
|
||||
it were the argument to the @code{cd} command.
|
||||
|
||||
Reference in New Issue
Block a user