enable MULTIPLE_COPROCS; bind -p/-P can print out bindings for individual command names; changes to Makefile to remove MFLAGS; simplify build tools by assuming C90 compilation environment for better cross-compiling support

This commit is contained in:
Chet Ramey
2024-04-26 16:51:04 -04:00
parent 8c8daff1e3
commit 9c430f6bf3
57 changed files with 4179 additions and 3995 deletions
+19 -8
View File
@@ -4,9 +4,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This text is a brief description of the features that are present in
the Bash shell (version 5.3, 5 April 2024).
the Bash shell (version 5.3, 23 April 2024).
This is Edition 5.3, last updated 5 April 2024,
This is Edition 5.3, last updated 23 April 2024,
of The GNU Bash Reference Manual,
for Bash, Version 5.3.
@@ -77,10 +77,10 @@ Next: <a href="#Introduction" accesskey="n" rel="next">Introduction</a>, Previou
<h1 class="top" id="Bash-Features-1"><span>Bash Features<a class="copiable-link" href="#Bash-Features-1"> &para;</a></span></h1>
<p>This text is a brief description of the features that are present in
the Bash shell (version 5.3, 5 April 2024).
the Bash shell (version 5.3, 23 April 2024).
The Bash home page is <a class="url" href="http://www.gnu.org/software/bash/">http://www.gnu.org/software/bash/</a>.
</p>
<p>This is Edition 5.3, last updated 5 April 2024,
<p>This is Edition 5.3, last updated 23 April 2024,
of <cite class="cite">The GNU Bash Reference Manual</cite>,
for <code class="code">Bash</code>, Version 5.3.
</p>
@@ -2244,7 +2244,7 @@ expand to nothing (i.e., they are removed).
<dt><a id="index-_003f"></a><span><code class="code">?</code><a class="copiable-link" href="#index-_003f"> &para;</a></span></dt>
<dd><a class="index-entry-id" id="index-_0024_003f"></a>
<p>($?) Expands to the exit status of the most recently executed foreground
pipeline.
command.
</p>
</dd>
<dt><a id="index-_002d"></a><span><code class="code">-</code><a class="copiable-link" href="#index-_002d"> &para;</a></span></dt>
@@ -5027,12 +5027,13 @@ Aliases are described in <a class="ref" href="#Aliases">Aliases</a>.
</dd>
<dt><a id="index-bind"></a><span><code class="code">bind</code><a class="copiable-link" href="#index-bind"> &para;</a></span></dt>
<dd><div class="example">
<pre class="example-preformatted">bind [-m <var class="var">keymap</var>] [-lpsvPSVX]
<pre class="example-preformatted">bind [-m <var class="var">keymap</var>] [-lsvSVX]
bind [-m <var class="var">keymap</var>] [-q <var class="var">function</var>] [-u <var class="var">function</var>] [-r <var class="var">keyseq</var>]
bind [-m <var class="var">keymap</var>] -f <var class="var">filename</var>
bind [-m <var class="var">keymap</var>] -x <var class="var">keyseq[: ]shell-command</var>
bind [-m <var class="var">keymap</var>] <var class="var">keyseq:function-name</var>
bind [-m <var class="var">keymap</var>] <var class="var">keyseq:readline-command</var>
bind [-m <var class="var">keymap</var>] -p|-P [<var class="var">readline-command</var>]
bind <var class="var">readline-command-line</var>
</pre></div>
@@ -5073,10 +5074,14 @@ synonym); <code class="code">emacs</code> is equivalent to <code class="code">em
in such a way that they can be used as
an argument to a subsequent <code class="code">bind</code> command
or in a Readline initialization file.
If arguments remain after option processing, <code class="code">bind</code> treats
them as readline command names and restricts output to those names.
</p>
</dd>
<dt><code class="code">-P</code></dt>
<dd><p>List current Readline function names and bindings.
If arguments remain after option processing, <code class="code">bind</code> treats
them as readline command names and restricts output to those names.
</p>
</dd>
<dt><code class="code">-v</code></dt>
@@ -7752,8 +7757,9 @@ generated by the <code class="code">getopts</code> builtin command.
<dt><a id="index-PIPESTATUS"></a><span><code class="code">PIPESTATUS</code><a class="copiable-link" href="#index-PIPESTATUS"> &para;</a></span></dt>
<dd><p>An array variable (see <a class="pxref" href="#Arrays">Arrays</a>)
containing a list of exit status values from the processes
in the most-recently-executed foreground pipeline (which may
contain only a single command).
in the most-recently-executed foreground pipeline, which may
consist of only a simple command
(see <a class="pxref" href="#Shell-Commands">Shell Commands</a>).
</p>
</dd>
<dt><a id="index-POSIXLY_005fCORRECT"></a><span><code class="code">POSIXLY_CORRECT</code><a class="copiable-link" href="#index-POSIXLY_005fCORRECT"> &para;</a></span></dt>
@@ -10021,6 +10027,11 @@ enabled by the time the command is executed.
<dd><ul class="itemize mark-bullet">
<li>The <code class="code">test</code> builtin uses its historical algorithm to parse parenthesized
subexpressions when given five or more arguments.
</li><li>If the <samp class="option">-p</samp> or <samp class="option">-P</samp> option is supplied to the <code class="code">bind</code> builtin,
<code class="code">bind</code> treats any arguments remaining after option processing
as bindable command names, and
displays any key sequences bound to those commands, instead of treating
the arguments as key sequences to bind.
</li></ul>
</dd>