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:
Chet Ramey
2023-06-13 11:44:33 -04:00
parent d44a45afbc
commit 76112093ec
35 changed files with 1389 additions and 1157 deletions
+8 -6
View File
@@ -5901,12 +5901,14 @@ SSHHEELLLL BBUUIILLTTIINN CCOOMMMMAANNDDSS
The list of sshhoopptt options is:
aassssoocc__eexxppaanndd__oonnccee
aarrrraayy__eexxppaanndd__oonnccee
If set, the shell suppresses multiple evaluation of as-
sociative array subscripts during arithmetic expression
evaluation, while executing builtins that can perform
variable assignments, and while executing builtins that
perform array dereferencing.
sociative and indexed array subscripts during arithmetic
expression evaluation, while executing builtins that can
perform variable assignments, and while executing
builtins that perform array dereferencing.
aassssoocc__eexxppaanndd__oonnccee
Deprecated; a synonym for aarrrraayy__eexxppaanndd__oonnccee.
aauuttooccdd If set, a command name that is the name of a directory
is executed as if it were the argument to the ccdd com-
mand. This option is only used by interactive shells.
@@ -6778,4 +6780,4 @@ BBUUGGSS
GNU Bash 5.2 2023 May 23 BASH(1)
GNU Bash 5.2 2023 June 13 BASH(1)