mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-04 10:50:50 +02:00
commit bash-20171226 snapshot
This commit is contained in:
+17
-5
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Tue Dec 19 09:56:59 EST 2017
|
||||
.\" Last Change: Thu Dec 28 14:50:35 EST 2017
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2017 December 19" "GNU Bash 4.4"
|
||||
.TH BASH 1 "2017 December 28" "GNU Bash 4.4"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -5898,8 +5898,9 @@ The
|
||||
.B $if
|
||||
construct allows bindings to be made based on the
|
||||
editing mode, the terminal being used, or the application using
|
||||
readline. The text of the test extends to the end of the line;
|
||||
no characters are required to isolate it.
|
||||
readline. The text of the test, after any comparison operator,
|
||||
extends to the end of the line;
|
||||
unless otherwise noted, no characters are required to isolate it.
|
||||
.RS
|
||||
.IP \fBmode\fP
|
||||
The \fBmode=\fP form of the \fB$if\fP directive is used to test
|
||||
@@ -5939,6 +5940,8 @@ The version number supplied on the right side of the operator consists
|
||||
of a major version number, an optional decimal point, and an optional
|
||||
minor version (e.g., \fB7.1\fP). If the minor version is omitted, it
|
||||
is assumed to be \fB0\fP.
|
||||
The operator may be separated from the string \fBversion\fP
|
||||
and from the version number argument by whitespace.
|
||||
.IP \fBapplication\fP
|
||||
The \fBapplication\fP construct is used to include
|
||||
application-specific settings. Each program using the readline
|
||||
@@ -5956,6 +5959,15 @@ key sequence that quotes the current or previous word in \fBbash\fP:
|
||||
\fB$endif\fP
|
||||
.fi
|
||||
.RE
|
||||
.IP \fIvariable\fP
|
||||
The \fIvariable\fP construct provides simple equality tests for readline
|
||||
variables and values.
|
||||
The permitted comparison operators are \fI=\fP, \fI==\fP, and \fI!=\fP.
|
||||
The variable name must be separated from the comparison operator by
|
||||
whitespace; the operator may be separated from the value on the right hand
|
||||
side by whitespace.
|
||||
Both string and boolean variables may be tested. Boolean variables must be
|
||||
tested against the values \fIon\fP and \fIoff\fP.
|
||||
.RE
|
||||
.IP \fB$endif\fP
|
||||
This command, as seen in the previous example, terminates an
|
||||
@@ -9191,7 +9203,7 @@ is omitted, the return status is that of the last command
|
||||
executed in the function body.
|
||||
If \fBreturn\fP is executed by a trap handler, the last command used to
|
||||
determine the status is the last command executed before the trap handler.
|
||||
if \fBreturn\fP is executed during a \fBDEBUG\fP trap, the last command
|
||||
If \fBreturn\fP is executed during a \fBDEBUG\fP trap, the last command
|
||||
used to determine the status is the last command executed by the trap
|
||||
handler before \fBreturn\fP was invoked.
|
||||
If
|
||||
|
||||
Reference in New Issue
Block a user