summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-11-21 20:49:12 -0500
committerChet Ramey <chet.ramey@case.edu>2011-11-21 20:49:12 -0500
commit89a92869e56aba4e4cab2d639c00a86f0545c862 (patch)
treee1cd4da50318af8ab1f3141d39d4b0b8e1e7c500 /doc
parent17345e5ad288f7543b77b23a25aa380eacc279f2 (diff)
downloadbash-89a92869e56aba4e4cab2d639c00a86f0545c862.tar.gz
Bash-4.0 patchlevel 38bash-4.0.38bash-4.0
Diffstat (limited to 'doc')
-rw-r--r--doc/bash.15
-rw-r--r--doc/bashref.texi3
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/bash.1 b/doc/bash.1
index 4308214b..f0661400 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -8257,9 +8257,10 @@ and group ids to be set to the real user and group ids.
Exit after reading and executing one command.
.TP 8
.B \-u
-Treat unset variables as an error when performing
+Treat unset variables and parameters other than the special
+parameters "@" and "*" as an error when performing
parameter expansion. If expansion is attempted on an
-unset variable, the shell prints an error message, and,
+unset variable or parameter, the shell prints an error message, and,
if not interactive, exits with a non-zero status.
.TP 8
.B \-v
diff --git a/doc/bashref.texi b/doc/bashref.texi
index 04178bc9..c310664c 100644
--- a/doc/bashref.texi
+++ b/doc/bashref.texi
@@ -4138,7 +4138,8 @@ and group ids to be set to the real user and group ids.
Exit after reading and executing one command.
@item -u
-Treat unset variables as an error when performing parameter expansion.
+Treat unset variables and parameters other than the special parameters
+@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.