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
@@ -9953,7 +9953,9 @@ Exit after reading and executing one command.
.TP 8
.B \-u
Treat unset variables and parameters other than the special
parameters "@" and "*" as an error when performing
parameters "@" and "*",
or array variables subscripted with "@" or "*",
as an error when performing
parameter expansion. If expansion is attempted on an
unset variable or parameter, the shell prints an error message, and,
if not interactive, exits with a non-zero status.