mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
more changes to avoid expanding associative array subscripts twice; internal debugging changes
This commit is contained in:
+3
-1
@@ -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.
|
||||
|
||||
+3
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user