more changes to avoid expanding associative array subscripts twice; internal debugging changes

This commit is contained in:
Chet Ramey
2021-12-22 16:05:39 -05:00
parent b2b78a6348
commit 701f36c2c3
27 changed files with 462 additions and 450 deletions
+3 -1
View File
@@ -5370,7 +5370,9 @@ Exit after reading and executing one command.
@item -u
Treat unset variables and parameters other than the special parameters
@samp{@@} or @samp{*} as an error when performing parameter expansion.
@samp{@@} or @samp{*},
or array variables subscripted with @samp{@@} or @samp{*},
as an error when performing parameter expansion.
An error message will be written to the standard error, and a non-interactive
shell will exit.