mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-07 12:20:50 +02:00
commit bash-20070517 snapshot
This commit is contained in:
+14
-10
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!-- Created on January, 16 2007 by texi2html 1.64 -->
|
||||
<!-- Created on May, 11 2007 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 3.2, 12 January 2007).
|
||||
the Bash shell (version 3.2, 1 May 2007).
|
||||
</P><P>
|
||||
|
||||
This is Edition 3.2, last updated 12 January 2007,
|
||||
This is Edition 3.2, last updated 1 May 2007,
|
||||
of <CITE>The GNU Bash Reference Manual</CITE>,
|
||||
for <CODE>Bash</CODE>, Version 3.2.
|
||||
</P><P>
|
||||
@@ -1401,7 +1401,8 @@ The semicolon (or newline) following <VAR>list</VAR> is required.
|
||||
In addition to the creation of a subshell, there is a subtle difference
|
||||
between these two constructs due to historical reasons. The braces
|
||||
are <CODE>reserved words</CODE>, so they must be separated from the <VAR>list</VAR>
|
||||
by <CODE>blank</CODE>s. The parentheses are <CODE>operators</CODE>, and are
|
||||
by <CODE>blank</CODE>s or other shell metacharacters.
|
||||
The parentheses are <CODE>operators</CODE>, and are
|
||||
recognized as separate tokens by the shell even if they are not separated
|
||||
from the <VAR>list</VAR> by whitespace.
|
||||
</P><P>
|
||||
@@ -1470,7 +1471,8 @@ Note that for historical reasons, in the most common usage the curly braces
|
||||
that surround the body of the function must be separated from the body by
|
||||
<CODE>blank</CODE>s or newlines.
|
||||
This is because the braces are reserved words and are only recognized
|
||||
as such when they are separated by whitespace.
|
||||
as such when they are separated from the command list
|
||||
by whitespace or another shell metacharacter.
|
||||
Also, when using the braces, the <VAR>list</VAR> must be terminated by a semicolon,
|
||||
a <SAMP>`&'</SAMP>, or a newline.
|
||||
</P><P>
|
||||
@@ -3915,6 +3917,7 @@ be a <CODE>]</CODE>.
|
||||
|
||||
Expressions may be combined using the following operators, listed in
|
||||
decreasing order of precedence.
|
||||
The evaluation depends on the number of arguments; see below.
|
||||
</P><P>
|
||||
|
||||
<DL COMPACT>
|
||||
@@ -3964,14 +3967,14 @@ false.
|
||||
operators (see section <A HREF="bashref.html#SEC80">6.4 Bash Conditional Expressions</A>), the
|
||||
result of the expression is the result of the binary test using the
|
||||
first and third arguments as operands.
|
||||
The <SAMP>`-a'</SAMP> and <SAMP>`-o'</SAMP> operators are considered binary operators
|
||||
when there are three arguments.
|
||||
If the first argument is <SAMP>`!'</SAMP>, the value is the negation of
|
||||
the two-argument test using the second and third arguments.
|
||||
If the first argument is exactly <SAMP>`('</SAMP> and the third argument is
|
||||
exactly <SAMP>`)'</SAMP>, the result is the one-argument test of the second
|
||||
argument.
|
||||
Otherwise, the expression is false.
|
||||
The <SAMP>`-a'</SAMP> and <SAMP>`-o'</SAMP> operators are considered binary operators
|
||||
in this case.
|
||||
<P>
|
||||
|
||||
<DT>4 arguments
|
||||
@@ -9156,7 +9159,8 @@ attempts word completion. The default is <SAMP>`off'</SAMP>.
|
||||
|
||||
<DT><CODE>history-preserve-point</CODE>
|
||||
<DD><A NAME="IDX304"></A>
|
||||
If set to <SAMP>`on'</SAMP>, the history code attempts to place point at the
|
||||
If set to <SAMP>`on'</SAMP>, the history code attempts to place the point (the
|
||||
current cursor position) at the
|
||||
same location on each history line retrieved with <CODE>previous-history</CODE>
|
||||
or <CODE>next-history</CODE>. The default is <SAMP>`off'</SAMP>.
|
||||
<P>
|
||||
@@ -15287,7 +15291,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>January, 16 2007</I>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>May, 11 2007</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
<P></P>
|
||||
@@ -15449,7 +15453,7 @@ the following structure:
|
||||
<BR>
|
||||
<FONT SIZE="-1">
|
||||
This document was generated
|
||||
by <I>Chet Ramey</I> on <I>January, 16 2007</I>
|
||||
by <I>Chet Ramey</I> on <I>May, 11 2007</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user