aboutsummaryrefslogtreecommitdiffstats
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)
downloadandroid_external_bash-89a92869e56aba4e4cab2d639c00a86f0545c862.tar.gz
android_external_bash-89a92869e56aba4e4cab2d639c00a86f0545c862.tar.bz2
android_external_bash-89a92869e56aba4e4cab2d639c00a86f0545c862.zip
Bash-4.0 patchlevel 38
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 4308214..f066140 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 04178bc..c310664 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.