mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-05 17:52:30 +02:00
commit bash-20121228 snapshot
This commit is contained in:
+25
-2
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Sat Dec 15 17:50:05 EST 2012
|
||||
.\" Last Change: Sat Dec 29 11:19:16 EST 2012
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2012 December 15" "GNU Bash 4.2"
|
||||
.TH BASH 1 "2012 December 29" "GNU Bash 4.2"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -1864,6 +1864,23 @@ below.
|
||||
.PP
|
||||
.PD 0
|
||||
.TP
|
||||
.B BASH_COMPAT
|
||||
The value is used to set the shell's compatibility level.
|
||||
See the description of the \fBshopt\fB builtin below under
|
||||
\fBSHELL BUILTIN COMMANDS\fP 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 \fBBASH_COMPAT\fP is unset or set to the empty string, the compatibility
|
||||
level is set to the default for the current version.
|
||||
If \fBBASH_COMPAT\fP 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 \fBshopt\fP builtin described below (for example,
|
||||
\fBcompat42\fP means that 4.2 and 42 are valid values).
|
||||
The current version is also a valid value.
|
||||
.TP
|
||||
.B BASH_ENV
|
||||
If this parameter is set when \fBbash\fP is executing a shell script,
|
||||
its value is interpreted as a filename containing commands to
|
||||
@@ -9218,6 +9235,12 @@ parameter expansion as a special character. The single quotes must match
|
||||
quoted. This is the behavior of posix mode through version 4.1.
|
||||
The default bash behavior remains as in previous versions.
|
||||
.TP 8
|
||||
.B compat42
|
||||
If set,
|
||||
.B bash
|
||||
does not process the replacement string in the pattern substitution word
|
||||
expansion using quote removal.
|
||||
.TP 8
|
||||
.B complete_fullquote
|
||||
If set,
|
||||
.B bash
|
||||
|
||||
+8
-2
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Dec 14 10:13:24 EST 2012
|
||||
.\" Last Change: Sat Dec 29 11:19:16 EST 2012
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2012 December 14" "GNU Bash 4.2"
|
||||
.TH BASH 1 "2012 December 29" "GNU Bash 4.2"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -9218,6 +9218,12 @@ parameter expansion as a special character. The single quotes must match
|
||||
quoted. This is the behavior of posix mode through version 4.1.
|
||||
The default bash behavior remains as in previous versions.
|
||||
.TP 8
|
||||
.B compat42
|
||||
If set,
|
||||
.B bash
|
||||
does not process the replacement string in the pattern substitution word
|
||||
expansion using quote removal.
|
||||
.TP 8
|
||||
.B complete_fullquote
|
||||
If set,
|
||||
.B bash
|
||||
|
||||
+24
-2
@@ -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.
|
||||
|
||||
+26
-2
@@ -4274,12 +4274,15 @@ not echoed.
|
||||
|
||||
@item -t @var{timeout}
|
||||
Cause @code{read} to time out and return failure if a complete line of
|
||||
input is not read within @var{timeout} seconds.
|
||||
input (or a specified number of characters)
|
||||
is not read within @var{timeout} seconds.
|
||||
@var{timeout} may be a decimal number with a fractional portion following
|
||||
the decimal point.
|
||||
This option is only effective if @code{read} is reading input from a
|
||||
terminal, pipe, or other special file; it has no effect when reading
|
||||
from regular files.
|
||||
If @code{read} times out, @code{read} saves any partial input read into
|
||||
the specified variable @var{name}.
|
||||
If @var{timeout} is 0, @code{read} returns immediately, without trying to
|
||||
read and data. The exit status is 0 if input is available on
|
||||
the specified file descriptor, non-zero otherwise.
|
||||
@@ -4891,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
|
||||
@@ -5295,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
|
||||
@@ -7067,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
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2012 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Sat Dec 15 17:49:50 EST 2012
|
||||
@set LASTCHANGE Sat Dec 29 11:19:39 EST 2012
|
||||
|
||||
@set EDITION 4.2
|
||||
@set VERSION 4.2
|
||||
@set UPDATED 15 December 2012
|
||||
@set UPDATED 29 December 2012
|
||||
@set UPDATED-MONTH December 2012
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2012 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Dec 14 10:13:02 EST 2012
|
||||
@set LASTCHANGE Sat Dec 15 17:49:50 EST 2012
|
||||
|
||||
@set EDITION 4.2
|
||||
@set VERSION 4.2
|
||||
@set UPDATED 14 December 2012
|
||||
@set UPDATED 15 December 2012
|
||||
@set UPDATED-MONTH December 2012
|
||||
|
||||
Reference in New Issue
Block a user