commit bash-20121228 snapshot

This commit is contained in:
Chet Ramey
2013-01-03 10:48:31 -05:00
parent 36eb585cfa
commit 7175a77f3a
56 changed files with 52723 additions and 10878 deletions
+24 -2
View File
@@ -4894,6 +4894,11 @@ parameter expansion as a special character. The single quotes must match
quoted. This is the behavior of @sc{posix} mode through version 4.1.
The default Bash behavior remains as in previous versions.
@item compat42
If set, Bash
does not process the replacement string in the pattern substitution word
expansion using quote removal.
@item complete_fullquote
If set, Bash
quotes all shell metacharacters in filenames and directory names when
@@ -5298,6 +5303,22 @@ The command currently being executed or about to be executed, unless the
shell is executing a command as the result of a trap,
in which case it is the command executing at the time of the trap.
@item BASH_COMPAT
The value is used to set the shell's compatibility level.
@xref{The Shopt Builtin} for a description of the various compatibility
levels and their effects.
The value may be a decimal number (e.g., 4.2) or an integer (e.g., 42)
corresponding to the desired compatibility level.
If @code{BASH_COMPAT} is unset or set to the empty string, the compatibility
level is set to the default for the current version.
If @code{BASH_COMPAT} is set to a value that is not one of the valid
compatibility levels, the shell prints an error message and sets the
compatibility level to the default for the current version.
The valid compatibility levels correspond to the compatibility options
accepted by the @code{shopt} builtin described above (for example,
@var{compat42} means that 4.2 and 42 are valid values).
The current version is also a valid value.
@item BASH_ENV
If this variable is set when Bash is invoked to execute a shell
script, its value is expanded and used as the name of a startup file
@@ -7070,7 +7091,7 @@ name, rather than on all assignment statements on the line.
@item
The @code{command} builtin does not prevent builtins that take assignment
statements as arguments from expanding them as assignment statements;
when not in POSIX mode, assignment builtins lose their assignment
when not in @sc{posix} mode, assignment builtins lose their assignment
statement expansion properties when preceded by @code{command}.
@item
@@ -7912,7 +7933,8 @@ The @samp{minimal-config} option can be used to disable all of
the following options, but it is processed first, so individual
options may be enabled using @samp{enable-@var{feature}}.
All of the following options except for @samp{disabled-builtins} and
All of the following options except for @samp{disabled-builtins},
@samp{directpand-default}, and
@samp{xpg-echo-default} are
enabled by default, unless the operating system does not provide the
necessary support.