mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-27 15:43:18 +02:00
commit bash-20111028 snapshot
This commit is contained in:
+17
-10
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!-- Created on September, 26 2011 by texi2html 1.64 -->
|
||||
<!-- Created on October, 24 2011 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.2, 25 September 2011).
|
||||
the Bash shell (version 4.2, 24 October 2011).
|
||||
</P><P>
|
||||
|
||||
This is Edition 4.2, last updated 25 September 2011,
|
||||
This is Edition 4.2, last updated 24 October 2011,
|
||||
of <CITE>The GNU Bash Reference Manual</CITE>,
|
||||
for <CODE>Bash</CODE>, Version 4.2.
|
||||
</P><P>
|
||||
@@ -3125,7 +3125,9 @@ standard error:
|
||||
</pre></td></tr></table>Of the two forms, the first is preferred.
|
||||
This is semantically equivalent to
|
||||
<TABLE><tr><td> </td><td class=example><pre>><VAR>word</VAR> 2>&1
|
||||
</pre></td></tr></table>(see Duplicating File Descriptors below).
|
||||
</pre></td></tr></table>When using the second form, <VAR>word</VAR> may not expand to a number or
|
||||
<SAMP>`-'</SAMP>. If it does, other redirection operators apply
|
||||
(see Duplicating File Descriptors below) for compatibility reasons.
|
||||
</P><P>
|
||||
|
||||
<HR SIZE="6">
|
||||
@@ -3256,8 +3258,8 @@ is made to be a copy of that file descriptor.
|
||||
If the digits in <VAR>word</VAR> do not specify a file descriptor open for
|
||||
input, a redirection error occurs.
|
||||
If <VAR>word</VAR>
|
||||
evaluates to <SAMP>`-'</SAMP>, file descriptor <VAR>n</VAR> is closed. If
|
||||
<VAR>n</VAR> is not specified, the standard input (file descriptor 0) is used.
|
||||
evaluates to <SAMP>`-'</SAMP>, file descriptor <VAR>n</VAR> is closed.
|
||||
If <VAR>n</VAR> is not specified, the standard input (file descriptor 0) is used.
|
||||
<P>
|
||||
|
||||
The operator
|
||||
@@ -3266,8 +3268,10 @@ The operator
|
||||
<VAR>n</VAR> is not specified, the standard output (file descriptor 1) is used.
|
||||
If the digits in <VAR>word</VAR> do not specify a file descriptor open for
|
||||
output, a redirection error occurs.
|
||||
If <VAR>word</VAR>
|
||||
evaluates to <SAMP>`-'</SAMP>, file descriptor <VAR>n</VAR> is closed.
|
||||
As a special case, if <VAR>n</VAR> is omitted, and <VAR>word</VAR> does not
|
||||
expand to one or more digits, the standard output and standard
|
||||
expand to one or more digits or <SAMP>`-'</SAMP>, the standard output and standard
|
||||
error are redirected as described previously.
|
||||
</P><P>
|
||||
|
||||
@@ -4270,9 +4274,12 @@ being executed with the <CODE>.</CODE> (<CODE>source</CODE>) builtin,
|
||||
returning either <VAR>n</VAR> or
|
||||
the exit status of the last command executed within the script as the exit
|
||||
status of the script.
|
||||
If <VAR>n</VAR> is supplied, the return value is its least significant
|
||||
8 bits.
|
||||
Any command associated with the <CODE>RETURN</CODE> trap is executed
|
||||
before execution resumes after the function or script.
|
||||
The return status is non-zero if <CODE>return</CODE> is used outside a function
|
||||
The return status is non-zero if <CODE>return</CODE> is supplied a non-numeric
|
||||
argument or is used outside a function
|
||||
and not during the execution of a script by <CODE>.</CODE> or <CODE>source</CODE>.
|
||||
</P><P>
|
||||
|
||||
@@ -16600,7 +16607,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, 26 2011</I>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>October, 24 2011</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
<P></P>
|
||||
@@ -16762,7 +16769,7 @@ the following structure:
|
||||
<BR>
|
||||
<FONT SIZE="-1">
|
||||
This document was generated
|
||||
by <I>Chet Ramey</I> on <I>September, 26 2011</I>
|
||||
by <I>Chet Ramey</I> on <I>October, 24 2011</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user