mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-30 17:09:50 +02:00
commit bash-20041209 snapshot
This commit is contained in:
+18
-13
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<!-- Created on November, 24 2004 by texi2html 1.64 -->
|
||||
<!-- Created on December, 7 2004 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.1-devel, 24 November 2004)..
|
||||
the Bash shell (version 3.1-devel, 1 December 2004)..
|
||||
</P><P>
|
||||
|
||||
This is Edition 3.1-devel, last updated 24 November 2004,
|
||||
This is Edition 3.1-devel, last updated 1 December 2004,
|
||||
of <CITE>The GNU Bash Reference Manual</CITE>,
|
||||
for <CODE>Bash</CODE>, Version 3.1-devel.
|
||||
</P><P>
|
||||
@@ -1559,12 +1559,12 @@ The first element of the <CODE>FUNCNAME</CODE> variable is set to the
|
||||
name of the function while the function is executing.
|
||||
All other aspects of the shell execution
|
||||
environment are identical between a function and its caller
|
||||
with the exception that the <CODE>DEBUG</CODE> trap
|
||||
below) is not inherited unless the function has been given the
|
||||
with the exception that the <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps
|
||||
are not inherited unless the function has been given the
|
||||
<CODE>trace</CODE> attribute using the <CODE>declare</CODE> builtin or
|
||||
the <CODE>-o functrace</CODE> option has been enabled with
|
||||
the <CODE>set</CODE> builtin,
|
||||
(in which case all functions inherit the <CODE>DEBUG</CODE> trap).
|
||||
(in which case all functions inherit the <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps).
|
||||
See section <A HREF="bashref.html#SEC57">4.1 Bourne Shell Builtins</A>, for the description of the
|
||||
<CODE>trap</CODE> builtin.
|
||||
</P><P>
|
||||
@@ -4405,7 +4405,8 @@ by subsequent assignment statements or unset.
|
||||
|
||||
<DT><CODE>-t</CODE>
|
||||
<DD>Give each <VAR>name</VAR> the <CODE>trace</CODE> attribute.
|
||||
Traced functions inherit the <CODE>DEBUG</CODE> trap from the calling shell.
|
||||
Traced functions inherit the <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps from
|
||||
the calling shell.
|
||||
The trace attribute has no special meaning for variables.
|
||||
<P>
|
||||
|
||||
@@ -5381,9 +5382,11 @@ $ cd ..; pwd
|
||||
</pre></td></tr></table></P><P>
|
||||
|
||||
<DT><CODE>-T</CODE>
|
||||
<DD>If set, any trap on <CODE>DEBUG</CODE> is inherited by shell functions, command
|
||||
substitutions, and commands executed in a subshell environment.
|
||||
The <CODE>DEBUG</CODE> trap is normally not inherited in such cases.
|
||||
<DD>If set, any trap on <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> are inherited by
|
||||
shell functions, command substitutions, and commands executed
|
||||
in a subshell environment.
|
||||
The <CODE>DEBUG</CODE> and <CODE>RETURN</CODE> traps are normally not inherited
|
||||
in such cases.
|
||||
<P>
|
||||
|
||||
<DT><CODE>--</CODE>
|
||||
@@ -12671,7 +12674,9 @@ The <CODE>trap</CODE> builtin (see section <A HREF="bashref.html#SEC57">4.1 Bour
|
||||
Commands specified with an <CODE>RETURN</CODE> trap are executed before
|
||||
execution resumes after a shell function or a shell script executed with
|
||||
<CODE>.</CODE> or <CODE>source</CODE> returns.
|
||||
The <CODE>RETURN</CODE> trap is not inherited by shell functions.
|
||||
The <CODE>RETURN</CODE> trap is not inherited by shell functions unless the
|
||||
function has been given the <CODE>trace</CODE> attribute or the
|
||||
<CODE>functrace</CODE> option has been enabled using the <CODE>shopt</CODE> builtin.
|
||||
</P><P>
|
||||
|
||||
<LI>
|
||||
@@ -15100,7 +15105,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>November, 24 2004</I>
|
||||
This document was generated by <I>Chet Ramey</I> on <I>December, 7 2004</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
<P></P>
|
||||
@@ -15262,7 +15267,7 @@ the following structure:
|
||||
<BR>
|
||||
<FONT SIZE="-1">
|
||||
This document was generated
|
||||
by <I>Chet Ramey</I> on <I>November, 24 2004</I>
|
||||
by <I>Chet Ramey</I> on <I>December, 7 2004</I>
|
||||
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
|
||||
"><I>texi2html</I></A>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user