summaryrefslogtreecommitdiff
path: root/doc/bash.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bash.html')
-rw-r--r--doc/bash.html45
1 files changed, 28 insertions, 17 deletions
diff --git a/doc/bash.html b/doc/bash.html
index 5389e90d..f3ca7295 100644
--- a/doc/bash.html
+++ b/doc/bash.html
@@ -3,7 +3,7 @@
</HEAD>
<BODY><TABLE WIDTH=100%>
<TR>
-<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2020 June 5<TH ALIGN=RIGHT width=33%>BASH(1)
+<TH ALIGN=LEFT width=33%>BASH(1)<TH ALIGN=CENTER width=33%>2020 August 25<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<BR><A HREF="#index">Index</A>
@@ -2589,7 +2589,9 @@ below.
<DD>
The value is used to set the shell's compatibility level.
See
-<B>SHELL COMPATIBILITY MODE</B>
+<FONT SIZE=-1><B>SHELL COMPATIBILITY MODE</B>
+
+</FONT>
below 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)
@@ -2601,7 +2603,9 @@ compatibility levels, the shell prints an error message and sets the
compatibility level to the default for the current version.
The valid values correspond to the compatibility levels
described below under
-<B>SHELL COMPATIBILITY MODE</B>.
+<FONT SIZE=-1><B>BSHELL</B>COMPATIBILITY<B>MODE</B>.
+
+</FONT>
For example, 4.2 and 42 are valid values that correspond
to the <B>compat42</B> <B>shopt</B> option
and set the compatibility level to 42.
@@ -3125,16 +3129,14 @@ running, <B>bash</B> enables <I>posix mode</I>, as if the command
had been executed.
When the shell enters <I>posix mode</I>, it sets this variable if it was
not already set.
-<DT><B>PROMPT_COMMANDS</B>
+<DT><B>PROMPT_COMMAND</B>
<DD>
-If this array variable is set,
+If this variable is set, and is an array,
the value of each set element is executed as a command
prior to issuing each primary prompt.
-If this is not set, but
-<B>PROMPT_COMMAND</B>
-
-is set to a value, its value is used as a command to execute instead.
+If this is set but not an array variable,
+its value is used as a command to execute instead.
<DT><B>PROMPT_DIRTRIM</B>
<DD>
@@ -7392,11 +7394,11 @@ replaced with an ellipsis when displaying possible completions.
This determines when the user is queried about viewing
the number of possible completions
generated by the <B>possible-completions</B> command.
-It may be set to any integer value greater than or equal to
-zero. If the number of possible completions is greater than
-or equal to the value of this variable, the user is asked whether
-or not he wishes to view them; otherwise they are simply listed
-on the terminal.
+It may be set to any integer value greater than or equal to zero.
+If the number of possible completions is greater than
+or equal to the value of this variable,
+readline will ask whether or not the user wishes to view them;
+otherwise they are simply listed on the terminal.
<DT><B>convert-meta (On)</B>
<DD>
@@ -11307,6 +11309,8 @@ If <I>name</I> is -, the set of shell options is made local to the function
in which <B>local</B> is invoked: shell options changed using the
<B>set</B> builtin inside the function are restored to their original values
when the function returns.
+The restore is effected as if a series of <B>set</B> commands were executed
+to restore the values that were in place before the function.
With no operands,
<B>local</B>
@@ -11765,7 +11769,9 @@ Read input from file descriptor <I>fd</I>.
If no
<I>names</I>
-are supplied, the line read is assigned to the variable
+are supplied, the line read,
+without the ending delimiter but otherwise unmodified,
+is assigned to the variable
<FONT SIZE=-1><B>REPLY</B>.
</FONT>
@@ -13944,6 +13950,11 @@ so seeding the random number generator by assigning a value to
</FONT>
will produce the same sequence as in bash-5.0
+<DT>*<DD>
+If the command hash table is empty, bash versions prior to bash-5.1
+printed an informational message to that effect, even when producing
+output that can be reused as input. Bash-5.1 suppresses that message
+when the <B>-l</B> option is supplied.
</DL></DL>
@@ -14241,7 +14252,7 @@ There may be only one active coprocess at a time.
<HR>
<TABLE WIDTH=100%>
<TR>
-<TH ALIGN=LEFT width=33%>GNU Bash 5.1<TH ALIGN=CENTER width=33%>2020 June 5<TH ALIGN=RIGHT width=33%>BASH(1)
+<TH ALIGN=LEFT width=33%>GNU Bash 5.1<TH ALIGN=CENTER width=33%>2020 August 25<TH ALIGN=RIGHT width=33%>BASH(1)
</TR>
</TABLE>
<HR>
@@ -14348,6 +14359,6 @@ There may be only one active coprocess at a time.
</DL>
<HR>
This document was created by man2html from bash.1.<BR>
-Time: 10 June 2020 12:00:48 EDT
+Time: 07 September 2020 09:52:27 EDT
</BODY>
</HTML>