mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-01 09:29:51 +02:00
commit bash-20091015 snapshot
This commit is contained in:
+33
-9
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!-- Created on September, 16 2009 by texi2html 1.64 -->
|
||||
<!-- Created on October, 12 2009 by texi2html 1.64 -->
|
||||
<!--
|
||||
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
|
||||
Karl Berry <karl@freefriends.org>
|
||||
@@ -33,10 +33,10 @@ Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
|
||||
<H1>Bash Reference Manual</H1></P><P>
|
||||
|
||||
This text is a brief description of the features that are present in
|
||||
the Bash shell (version 4.1, 16 September 2009).
|
||||
the Bash shell (version 4.1, 9 October 2009).
|
||||
</P><P>
|
||||
|
||||
This is Edition 4.1, last updated 16 September 2009,
|
||||
This is Edition 4.1, last updated 9 October 2009,
|
||||
of <CITE>The GNU Bash Reference Manual</CITE>,
|
||||
for <CODE>Bash</CODE>, Version 4.1.
|
||||
</P><P>
|
||||
@@ -1318,6 +1318,10 @@ Conditional operators such as <SAMP>`-f'</SAMP> must be unquoted to be recognize
|
||||
as primaries.
|
||||
</P><P>
|
||||
|
||||
When used with <SAMP>`[['</SAMP>, The <SAMP>`<'</SAMP> and <SAMP>`>'</SAMP> operators sort
|
||||
lexicographically using the current locale.
|
||||
</P><P>
|
||||
|
||||
When the <SAMP>`=='</SAMP> and <SAMP>`!='</SAMP> operators are used, the string to the
|
||||
right of the operator is considered a pattern and matched according
|
||||
to the rules described below in <A HREF="bashref.html#SEC37">3.5.8.1 Pattern Matching</A>.
|
||||
@@ -2159,7 +2163,7 @@ is followed by a character that is not to be
|
||||
interpreted as part of its name.
|
||||
</P><P>
|
||||
|
||||
If the first character of <VAR>parameter</VAR> is an exclamation point,
|
||||
If the first character of <VAR>parameter</VAR> is an exclamation point (!),
|
||||
a level of variable indirection is introduced.
|
||||
Bash uses the value of the variable formed from the rest of
|
||||
<VAR>parameter</VAR> as the name of the variable; this variable is then
|
||||
@@ -2794,7 +2798,7 @@ may instead be preceded by a word of the form {<VAR>varname</VAR>}.
|
||||
In this case, for each redirection operator except
|
||||
>&- and <&-, the shell will allocate a file descriptor greater
|
||||
than 10 and assign it to {<VAR>varname</VAR>}. If >&- or <&- is preceded
|
||||
by {<VAR>varname</VAR>}, the value of {<VAR>varname</VAR>} defines the file
|
||||
by {<VAR>varname</VAR>}, the value of <VAR>varname</VAR> defines the file
|
||||
descriptor to close.
|
||||
</P><P>
|
||||
|
||||
@@ -4812,7 +4816,7 @@ non-zero on failure.
|
||||
|
||||
<DT><CODE>read</CODE>
|
||||
<DD><A NAME="IDX103"></A>
|
||||
<TABLE><tr><td> </td><td class=example><pre>read [-ers] [-a <VAR>aname</VAR>] [-d <VAR>delim</VAR>] [-i <VAR>text</VAR>] [-n <VAR>nchars</VAR>] [-p <VAR>prompt</VAR>] [-t <VAR>timeout</VAR>] [-u <VAR>fd</VAR>] [<VAR>name</VAR> <small>...</small>]
|
||||
<TABLE><tr><td> </td><td class=example><pre>read [-ers] [-a <VAR>aname</VAR>] [-d <VAR>delim</VAR>] [-i <VAR>text</VAR>] [-n <VAR>nchars</VAR>] [-N <VAR>nchars</VAR>] [-p <VAR>prompt</VAR>] [-t <VAR>timeout</VAR>] [-u <VAR>fd</VAR>] [<VAR>name</VAR> <small>...</small>]
|
||||
</pre></td></tr></table>One line is read from the standard input, or from the file descriptor
|
||||
<VAR>fd</VAR> supplied as an argument to the <SAMP>`-u'</SAMP> option, and the first word
|
||||
is assigned to the first <VAR>name</VAR>, the second word to the second <VAR>name</VAR>,
|
||||
@@ -4860,7 +4864,14 @@ the editing buffer before editing begins.
|
||||
|
||||
<DT><CODE>-n <VAR>nchars</VAR></CODE>
|
||||
<DD><CODE>read</CODE> returns after reading <VAR>nchars</VAR> characters rather than
|
||||
waiting for a complete line of input.
|
||||
waiting for a complete line of input, but honor a delimiter if fewer
|
||||
than <VAR>nchars</VAR> characters are read before the delimiter.
|
||||
<P>
|
||||
|
||||
<DT><CODE>-N <VAR>nchars</VAR></CODE>
|
||||
<DD><CODE>read</CODE> returns after reading exactly <VAR>nchars</VAR> characters rather
|
||||
than waiting for a complete line of input, unless EOF is encountered or
|
||||
<CODE>read</CODE> times out. Any delimiter is ignored.
|
||||
<P>
|
||||
|
||||
<DT><CODE>-p <VAR>prompt</VAR></CODE>
|
||||
@@ -8621,6 +8632,12 @@ The <CODE>ulimit</CODE> builtin uses a block size of 512 bytes for the <SAMP>`-c
|
||||
and <SAMP>`-f'</SAMP> options.
|
||||
<P>
|
||||
|
||||
<LI>
|
||||
The arrival of <CODE>SIGCHLD</CODE> when a trap is set on <CODE>SIGCHLD</CODE> does
|
||||
not interrupt the <CODE>wait</CODE> builtin and cause it to return immediately.
|
||||
The trap command is run once for each child that exits.
|
||||
<P>
|
||||
|
||||
</OL>
|
||||
<P>
|
||||
|
||||
@@ -9643,6 +9660,13 @@ keypad when it is called. Some systems need this to enable the
|
||||
arrow keys. The default is <SAMP>`off'</SAMP>.
|
||||
<P>
|
||||
|
||||
<DT><CODE>enable-meta-key</CODE>
|
||||
<DD>When set to <SAMP>`on'</SAMP>, Readline will try to enable any meta modifier
|
||||
key the terminal claims to support when it is called. On many terminals,
|
||||
the meta key is used to send eight-bit characters.
|
||||
The default is <SAMP>`on'</SAMP>.
|
||||
<P>
|
||||
|
||||
<DT><CODE>expand-tilde</CODE>
|
||||
<DD><A NAME="IDX316"></A>
|
||||
If set to <SAMP>`on'</SAMP>, tilde expansion is performed when Readline
|
||||
@@ -16019,7 +16043,7 @@ to permit their use in free software.
|
||||
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="bashref.html#SEC_About"> ? </A>]</TD>
|
||||
</TR></TABLE>
|
||||
<H1>About this document</H1>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>September, 16 2009</I>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>October, 12 2009</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
<P></P>
|
||||
@@ -16181,7 +16205,7 @@ the following structure:
|
||||
<BR>
|
||||
<FONT SIZE="-1">
|
||||
This document was generated
|
||||
by <I>Chet Ramey</I> on <I>September, 16 2009</I>
|
||||
by <I>Chet Ramey</I> on <I>October, 12 2009</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user