mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
commit bash-20141219 snapshot
This commit is contained in:
+1745
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+6
-2
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Nov 28 18:21:13 EST 2014
|
||||
.\" Last Change: Sat Dec 20 13:51:56 EST 2014
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2014 November 28" "GNU Bash 4.3"
|
||||
.TH BASH 1 "2014 December 20" "GNU Bash 4.3"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -2815,12 +2815,16 @@ The \fIparameter\fP is a shell parameter as described above
|
||||
.PD
|
||||
.PP
|
||||
If the first character of \fIparameter\fP is an exclamation point (\fB!\fP),
|
||||
and \fIparameter\fP is not a \fInameref\fP,
|
||||
it introduces a level of variable indirection.
|
||||
\fBBash\fP uses the value of the variable formed from the rest of
|
||||
\fIparameter\fP as the name of the variable; this variable is then
|
||||
expanded and that value is used in the rest of the substitution, rather
|
||||
than the value of \fIparameter\fP itself.
|
||||
This is known as \fIindirect expansion\fP.
|
||||
If \fIparameter\fP is a nameref, this expands to the name of the
|
||||
variable referenced by \fIparameter\fP instead of performing the
|
||||
complete indirect expansion.
|
||||
The exceptions to this are the expansions of ${\fB!\fP\fIprefix\fP\fB*\fP} and
|
||||
${\fB!\fP\fIname\fP[\fI@\fP]} described below.
|
||||
The exclamation point must immediately follow the left brace in order to
|
||||
|
||||
+10471
File diff suppressed because it is too large
Load Diff
@@ -1875,12 +1875,16 @@ or when @var{parameter} is followed by a character that is not to be
|
||||
interpreted as part of its name.
|
||||
|
||||
If the first character of @var{parameter} is an exclamation point (!),
|
||||
and @var{parameter} is not a @var{nameref},
|
||||
it introduces a level of variable indirection.
|
||||
Bash uses the value of the variable formed from the rest of
|
||||
@var{parameter} as the name of the variable; this variable is then
|
||||
expanded and that value is used in the rest of the substitution, rather
|
||||
than the value of @var{parameter} itself.
|
||||
This is known as @code{indirect expansion}.
|
||||
If @var{parameter} is a nameref, this expands to the name of the
|
||||
variable referenced by @var{parameter} instead of performing the
|
||||
complete indirect expansion.
|
||||
The exceptions to this are the expansions of $@{!@var{prefix}*@}
|
||||
and $@{!@var{name}[@@]@}
|
||||
described below.
|
||||
|
||||
+8824
File diff suppressed because it is too large
Load Diff
+3
-3
@@ -2,10 +2,10 @@
|
||||
Copyright (C) 1988-2014 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Nov 28 18:36:44 EST 2014
|
||||
@set LASTCHANGE Sat Dec 20 13:52:20 EST 2014
|
||||
|
||||
@set EDITION 4.3
|
||||
@set VERSION 4.3
|
||||
|
||||
@set UPDATED 28 November 2014
|
||||
@set UPDATED-MONTH November 2014
|
||||
@set UPDATED 20 December 2014
|
||||
@set UPDATED-MONTH December 2014
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
@ignore
|
||||
Copyright (C) 1988-2014 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Nov 28 18:36:44 EST 2014
|
||||
|
||||
@set EDITION 4.3
|
||||
@set VERSION 4.3
|
||||
|
||||
@set UPDATED 28 November 2014
|
||||
@set UPDATED-MONTH November 2014
|
||||
Reference in New Issue
Block a user