mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 09:50:50 +02:00
commit bash-20111028 snapshot
This commit is contained in:
+1520
-1515
File diff suppressed because it is too large
Load Diff
+19
-3
@@ -4564,7 +4564,10 @@ This is semantically equivalent to
|
||||
|
||||
<P>
|
||||
|
||||
(see <B>Duplicating File Descriptors</B> below).
|
||||
When using the second form, <I>word</I> may not expand to a number or
|
||||
<B>-</B>. If it does, other redirection operators apply
|
||||
(see <B>Duplicating File Descriptors</B> below) for compatibility
|
||||
reasons.
|
||||
<A NAME="lbBN"> </A>
|
||||
<H4>Appending Standard Output and Standard Error</H4>
|
||||
|
||||
@@ -4749,8 +4752,18 @@ If the digits in
|
||||
<I>word</I>
|
||||
|
||||
do not specify a file descriptor open for output, a redirection error occurs.
|
||||
If
|
||||
<I>word</I>
|
||||
|
||||
evaluates to
|
||||
<B>-</B>,
|
||||
|
||||
file descriptor
|
||||
<I>n</I>
|
||||
|
||||
is closed.
|
||||
As a special case, if <I>n</I> is omitted, and <I>word</I> does not
|
||||
expand to one or more digits, the standard output and standard
|
||||
expand to one or more digits or <B>-</B>, the standard output and standard
|
||||
error are redirected as described previously.
|
||||
<A NAME="lbBR"> </A>
|
||||
<H4>Moving File Descriptors</H4>
|
||||
@@ -10831,9 +10844,12 @@ that script and return either
|
||||
|
||||
or the exit status of the last command executed within the
|
||||
script as the exit status of the script.
|
||||
If <I>n</I> is supplied, the return value is its least significant
|
||||
8 bits.
|
||||
The return status is non-zero if
|
||||
<B>return</B>
|
||||
|
||||
is supplied a non-numeric argument, or
|
||||
is used outside a
|
||||
function and not during execution of a script by <B>.</B> or <B>source</B>.
|
||||
Any command associated with the <B>RETURN</B> trap is executed
|
||||
@@ -12938,6 +12954,6 @@ There may be only one active coprocess at a time.
|
||||
</DL>
|
||||
<HR>
|
||||
This document was created by man2html from bash.1.<BR>
|
||||
Time: 26 September 2011 10:56:19 EDT
|
||||
Time: 24 October 2011 08:43:51 EDT
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
Binary file not shown.
+851
-840
File diff suppressed because it is too large
Load Diff
Binary file not shown.
+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>
|
||||
|
||||
|
||||
+153
-149
@@ -2,10 +2,10 @@ This is bashref.info, produced by makeinfo version 4.13 from
|
||||
/Users/chet/src/bash/src/doc/bashref.texi.
|
||||
|
||||
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).
|
||||
|
||||
This is Edition 4.2, last updated 25 September 2011, of `The GNU
|
||||
Bash Reference Manual', for `Bash', Version 4.2.
|
||||
This is Edition 4.2, last updated 24 October 2011, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.2.
|
||||
|
||||
Copyright (C) 1988-2011 Free Software Foundation, Inc.
|
||||
|
||||
@@ -38,10 +38,10 @@ Bash Features
|
||||
*************
|
||||
|
||||
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).
|
||||
|
||||
This is Edition 4.2, last updated 25 September 2011, of `The GNU
|
||||
Bash Reference Manual', for `Bash', Version 4.2.
|
||||
This is Edition 4.2, last updated 24 October 2011, of `The GNU Bash
|
||||
Reference Manual', for `Bash', Version 4.2.
|
||||
|
||||
Bash contains features that appear in other popular shells, and some
|
||||
features that only appear in Bash. Some of the shells that Bash has
|
||||
@@ -2034,7 +2034,9 @@ error:
|
||||
Of the two forms, the first is preferred. This is semantically
|
||||
equivalent to
|
||||
>WORD 2>&1
|
||||
(see Duplicating File Descriptors below).
|
||||
When using the second form, WORD may not expand to a number or `-'.
|
||||
If it does, other redirection operators apply (see Duplicating File
|
||||
Descriptors below) for compatibility reasons.
|
||||
|
||||
3.6.5 Appending Standard Output and Standard Error
|
||||
--------------------------------------------------
|
||||
@@ -2105,8 +2107,9 @@ the standard input (file descriptor 0) is used.
|
||||
is used similarly to duplicate output file descriptors. If N is not
|
||||
specified, the standard output (file descriptor 1) is used. If the
|
||||
digits in WORD do not specify a file descriptor open for output, a
|
||||
redirection error occurs. As a special case, if N is omitted, and WORD
|
||||
does not expand to one or more digits, the standard output and standard
|
||||
redirection error occurs. If WORD evaluates to `-', file descriptor N
|
||||
is closed. As a special case, if N is omitted, and WORD does not
|
||||
expand to one or more digits or `-', the standard output and standard
|
||||
error are redirected as described previously.
|
||||
|
||||
3.6.9 Moving File Descriptors
|
||||
@@ -2750,11 +2753,12 @@ standard.
|
||||
also be used to terminate execution of a script being executed
|
||||
with the `.' (`source') builtin, returning either N or the exit
|
||||
status of the last command executed within the script as the exit
|
||||
status of the script. Any command associated with the `RETURN'
|
||||
trap is executed before execution resumes after the function or
|
||||
script. The return status is non-zero if `return' is used outside
|
||||
a function and not during the execution of a script by `.' or
|
||||
`source'.
|
||||
status of the script. If N is supplied, the return value is its
|
||||
least significant 8 bits. Any command associated with the
|
||||
`RETURN' trap is executed before execution resumes after the
|
||||
function or script. The return status is non-zero if `return' is
|
||||
supplied a non-numeric argument or is used outside a function and
|
||||
not during the execution of a script by `.' or `source'.
|
||||
|
||||
`shift'
|
||||
shift [N]
|
||||
@@ -10013,7 +10017,7 @@ D.1 Index of Shell Builtin Commands
|
||||
* :: Bourne Shell Builtins.
|
||||
(line 11)
|
||||
* [: Bourne Shell Builtins.
|
||||
(line 240)
|
||||
(line 241)
|
||||
* alias: Bash Builtins. (line 11)
|
||||
* bg: Job Control Builtins.
|
||||
(line 7)
|
||||
@@ -10082,25 +10086,25 @@ D.1 Index of Shell Builtin Commands
|
||||
(line 212)
|
||||
* set: The Set Builtin. (line 11)
|
||||
* shift: Bourne Shell Builtins.
|
||||
(line 227)
|
||||
(line 228)
|
||||
* shopt: The Shopt Builtin. (line 9)
|
||||
* source: Bash Builtins. (line 550)
|
||||
* suspend: Job Control Builtins.
|
||||
(line 99)
|
||||
* test: Bourne Shell Builtins.
|
||||
(line 240)
|
||||
(line 241)
|
||||
* times: Bourne Shell Builtins.
|
||||
(line 316)
|
||||
(line 317)
|
||||
* trap: Bourne Shell Builtins.
|
||||
(line 322)
|
||||
(line 323)
|
||||
* type: Bash Builtins. (line 555)
|
||||
* typeset: Bash Builtins. (line 587)
|
||||
* ulimit: Bash Builtins. (line 593)
|
||||
* umask: Bourne Shell Builtins.
|
||||
(line 369)
|
||||
(line 370)
|
||||
* unalias: Bash Builtins. (line 684)
|
||||
* unset: Bourne Shell Builtins.
|
||||
(line 387)
|
||||
(line 388)
|
||||
* wait: Job Control Builtins.
|
||||
(line 76)
|
||||
|
||||
@@ -10606,133 +10610,133 @@ D.5 Concept Index
|
||||
|
||||
|
||||
Tag Table:
|
||||
Node: Top1348
|
||||
Node: Introduction3190
|
||||
Node: What is Bash?3418
|
||||
Node: What is a shell?4531
|
||||
Node: Definitions7070
|
||||
Node: Basic Shell Features9988
|
||||
Node: Shell Syntax11207
|
||||
Node: Shell Operation12237
|
||||
Node: Quoting13531
|
||||
Node: Escape Character14834
|
||||
Node: Single Quotes15319
|
||||
Node: Double Quotes15667
|
||||
Node: ANSI-C Quoting16792
|
||||
Node: Locale Translation18036
|
||||
Node: Comments18932
|
||||
Node: Shell Commands19550
|
||||
Node: Simple Commands20422
|
||||
Node: Pipelines21053
|
||||
Node: Lists23752
|
||||
Node: Compound Commands25481
|
||||
Node: Looping Constructs26487
|
||||
Node: Conditional Constructs28950
|
||||
Node: Command Grouping37095
|
||||
Node: Coprocesses38574
|
||||
Node: GNU Parallel40248
|
||||
Node: Shell Functions42716
|
||||
Node: Shell Parameters47800
|
||||
Node: Positional Parameters50405
|
||||
Node: Special Parameters51305
|
||||
Node: Shell Expansions54269
|
||||
Node: Brace Expansion56195
|
||||
Node: Tilde Expansion58949
|
||||
Node: Shell Parameter Expansion61298
|
||||
Node: Command Substitution70432
|
||||
Node: Arithmetic Expansion71765
|
||||
Node: Process Substitution72615
|
||||
Node: Word Splitting73665
|
||||
Node: Filename Expansion75288
|
||||
Node: Pattern Matching77453
|
||||
Node: Quote Removal81153
|
||||
Node: Redirections81448
|
||||
Node: Executing Commands90285
|
||||
Node: Simple Command Expansion90955
|
||||
Node: Command Search and Execution92885
|
||||
Node: Command Execution Environment95222
|
||||
Node: Environment98208
|
||||
Node: Exit Status99867
|
||||
Node: Signals101489
|
||||
Node: Shell Scripts103457
|
||||
Node: Shell Builtin Commands105975
|
||||
Node: Bourne Shell Builtins108003
|
||||
Node: Bash Builtins126676
|
||||
Node: Modifying Shell Behavior153054
|
||||
Node: The Set Builtin153399
|
||||
Node: The Shopt Builtin163147
|
||||
Node: Special Builtins176848
|
||||
Node: Shell Variables177827
|
||||
Node: Bourne Shell Variables178267
|
||||
Node: Bash Variables180298
|
||||
Node: Bash Features205299
|
||||
Node: Invoking Bash206198
|
||||
Node: Bash Startup Files211960
|
||||
Node: Interactive Shells216979
|
||||
Node: What is an Interactive Shell?217389
|
||||
Node: Is this Shell Interactive?218038
|
||||
Node: Interactive Shell Behavior218853
|
||||
Node: Bash Conditional Expressions222133
|
||||
Node: Shell Arithmetic225921
|
||||
Node: Aliases228680
|
||||
Node: Arrays231236
|
||||
Node: The Directory Stack235444
|
||||
Node: Directory Stack Builtins236163
|
||||
Node: Controlling the Prompt239119
|
||||
Node: The Restricted Shell241891
|
||||
Node: Bash POSIX Mode243728
|
||||
Node: Job Control252876
|
||||
Node: Job Control Basics253336
|
||||
Node: Job Control Builtins258055
|
||||
Node: Job Control Variables262407
|
||||
Node: Command Line Editing263565
|
||||
Node: Introduction and Notation265132
|
||||
Node: Readline Interaction266754
|
||||
Node: Readline Bare Essentials267945
|
||||
Node: Readline Movement Commands269734
|
||||
Node: Readline Killing Commands270699
|
||||
Node: Readline Arguments272619
|
||||
Node: Searching273663
|
||||
Node: Readline Init File275849
|
||||
Node: Readline Init File Syntax276996
|
||||
Node: Conditional Init Constructs292338
|
||||
Node: Sample Init File294871
|
||||
Node: Bindable Readline Commands297988
|
||||
Node: Commands For Moving299195
|
||||
Node: Commands For History300339
|
||||
Node: Commands For Text304524
|
||||
Node: Commands For Killing307197
|
||||
Node: Numeric Arguments309654
|
||||
Node: Commands For Completion310793
|
||||
Node: Keyboard Macros314985
|
||||
Node: Miscellaneous Commands315556
|
||||
Node: Readline vi Mode321362
|
||||
Node: Programmable Completion322269
|
||||
Node: Programmable Completion Builtins329479
|
||||
Node: Using History Interactively338615
|
||||
Node: Bash History Facilities339299
|
||||
Node: Bash History Builtins342213
|
||||
Node: History Interaction346141
|
||||
Node: Event Designators348846
|
||||
Node: Word Designators350068
|
||||
Node: Modifiers351707
|
||||
Node: Installing Bash353111
|
||||
Node: Basic Installation354248
|
||||
Node: Compilers and Options356940
|
||||
Node: Compiling For Multiple Architectures357681
|
||||
Node: Installation Names359345
|
||||
Node: Specifying the System Type360163
|
||||
Node: Sharing Defaults360879
|
||||
Node: Operation Controls361552
|
||||
Node: Optional Features362510
|
||||
Node: Reporting Bugs372082
|
||||
Node: Major Differences From The Bourne Shell373283
|
||||
Node: GNU Free Documentation License389975
|
||||
Node: Indexes415171
|
||||
Node: Builtin Index415625
|
||||
Node: Reserved Word Index422452
|
||||
Node: Variable Index424900
|
||||
Node: Function Index437995
|
||||
Node: Concept Index445150
|
||||
Node: Top1344
|
||||
Node: Introduction3182
|
||||
Node: What is Bash?3410
|
||||
Node: What is a shell?4523
|
||||
Node: Definitions7062
|
||||
Node: Basic Shell Features9980
|
||||
Node: Shell Syntax11199
|
||||
Node: Shell Operation12229
|
||||
Node: Quoting13523
|
||||
Node: Escape Character14826
|
||||
Node: Single Quotes15311
|
||||
Node: Double Quotes15659
|
||||
Node: ANSI-C Quoting16784
|
||||
Node: Locale Translation18028
|
||||
Node: Comments18924
|
||||
Node: Shell Commands19542
|
||||
Node: Simple Commands20414
|
||||
Node: Pipelines21045
|
||||
Node: Lists23744
|
||||
Node: Compound Commands25473
|
||||
Node: Looping Constructs26479
|
||||
Node: Conditional Constructs28942
|
||||
Node: Command Grouping37087
|
||||
Node: Coprocesses38566
|
||||
Node: GNU Parallel40240
|
||||
Node: Shell Functions42708
|
||||
Node: Shell Parameters47792
|
||||
Node: Positional Parameters50397
|
||||
Node: Special Parameters51297
|
||||
Node: Shell Expansions54261
|
||||
Node: Brace Expansion56187
|
||||
Node: Tilde Expansion58941
|
||||
Node: Shell Parameter Expansion61290
|
||||
Node: Command Substitution70424
|
||||
Node: Arithmetic Expansion71757
|
||||
Node: Process Substitution72607
|
||||
Node: Word Splitting73657
|
||||
Node: Filename Expansion75280
|
||||
Node: Pattern Matching77445
|
||||
Node: Quote Removal81145
|
||||
Node: Redirections81440
|
||||
Node: Executing Commands90480
|
||||
Node: Simple Command Expansion91150
|
||||
Node: Command Search and Execution93080
|
||||
Node: Command Execution Environment95417
|
||||
Node: Environment98403
|
||||
Node: Exit Status100062
|
||||
Node: Signals101684
|
||||
Node: Shell Scripts103652
|
||||
Node: Shell Builtin Commands106170
|
||||
Node: Bourne Shell Builtins108198
|
||||
Node: Bash Builtins126983
|
||||
Node: Modifying Shell Behavior153361
|
||||
Node: The Set Builtin153706
|
||||
Node: The Shopt Builtin163454
|
||||
Node: Special Builtins177155
|
||||
Node: Shell Variables178134
|
||||
Node: Bourne Shell Variables178574
|
||||
Node: Bash Variables180605
|
||||
Node: Bash Features205606
|
||||
Node: Invoking Bash206505
|
||||
Node: Bash Startup Files212267
|
||||
Node: Interactive Shells217286
|
||||
Node: What is an Interactive Shell?217696
|
||||
Node: Is this Shell Interactive?218345
|
||||
Node: Interactive Shell Behavior219160
|
||||
Node: Bash Conditional Expressions222440
|
||||
Node: Shell Arithmetic226228
|
||||
Node: Aliases228987
|
||||
Node: Arrays231543
|
||||
Node: The Directory Stack235751
|
||||
Node: Directory Stack Builtins236470
|
||||
Node: Controlling the Prompt239426
|
||||
Node: The Restricted Shell242198
|
||||
Node: Bash POSIX Mode244035
|
||||
Node: Job Control253183
|
||||
Node: Job Control Basics253643
|
||||
Node: Job Control Builtins258362
|
||||
Node: Job Control Variables262714
|
||||
Node: Command Line Editing263872
|
||||
Node: Introduction and Notation265439
|
||||
Node: Readline Interaction267061
|
||||
Node: Readline Bare Essentials268252
|
||||
Node: Readline Movement Commands270041
|
||||
Node: Readline Killing Commands271006
|
||||
Node: Readline Arguments272926
|
||||
Node: Searching273970
|
||||
Node: Readline Init File276156
|
||||
Node: Readline Init File Syntax277303
|
||||
Node: Conditional Init Constructs292645
|
||||
Node: Sample Init File295178
|
||||
Node: Bindable Readline Commands298295
|
||||
Node: Commands For Moving299502
|
||||
Node: Commands For History300646
|
||||
Node: Commands For Text304831
|
||||
Node: Commands For Killing307504
|
||||
Node: Numeric Arguments309961
|
||||
Node: Commands For Completion311100
|
||||
Node: Keyboard Macros315292
|
||||
Node: Miscellaneous Commands315863
|
||||
Node: Readline vi Mode321669
|
||||
Node: Programmable Completion322576
|
||||
Node: Programmable Completion Builtins329786
|
||||
Node: Using History Interactively338922
|
||||
Node: Bash History Facilities339606
|
||||
Node: Bash History Builtins342520
|
||||
Node: History Interaction346448
|
||||
Node: Event Designators349153
|
||||
Node: Word Designators350375
|
||||
Node: Modifiers352014
|
||||
Node: Installing Bash353418
|
||||
Node: Basic Installation354555
|
||||
Node: Compilers and Options357247
|
||||
Node: Compiling For Multiple Architectures357988
|
||||
Node: Installation Names359652
|
||||
Node: Specifying the System Type360470
|
||||
Node: Sharing Defaults361186
|
||||
Node: Operation Controls361859
|
||||
Node: Optional Features362817
|
||||
Node: Reporting Bugs372389
|
||||
Node: Major Differences From The Bourne Shell373590
|
||||
Node: GNU Free Documentation License390282
|
||||
Node: Indexes415478
|
||||
Node: Builtin Index415932
|
||||
Node: Reserved Word Index422759
|
||||
Node: Variable Index425207
|
||||
Node: Function Index438302
|
||||
Node: Concept Index445457
|
||||
|
||||
End Tag Table
|
||||
|
||||
+11
-11
@@ -1,4 +1,4 @@
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 26 SEP 2011 10:56
|
||||
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 24 OCT 2011 08:43
|
||||
**/Users/chet/src/bash/src/doc/bashref.texi
|
||||
(/Users/chet/src/bash/src/doc/bashref.texi (./texinfo.tex
|
||||
Loading texinfo [version 2009-01-18.17]:
|
||||
@@ -232,7 +232,7 @@ arallel -k traceroute[]
|
||||
[15] [16] [17] [18] [19] [20] [21] [22] [23] [24] [25] [26] [27] [28] [29]
|
||||
[30] [31] [32] [33] [34] Chapter 4 [35] [36] [37] [38] [39] [40] [41] [42]
|
||||
[43]
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 3479--3492
|
||||
Underfull \hbox (badness 5231) in paragraph at lines 3486--3499
|
||||
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
|
||||
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
@@ -246,7 +246,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
|
||||
|
||||
[44] [45] [46] [47] [48] [49] [50] [51] [52] [53] [54] [55] [56] [57] [58]
|
||||
[59] [60]
|
||||
Underfull \hbox (badness 5460) in paragraph at lines 4725--4731
|
||||
Underfull \hbox (badness 5460) in paragraph at lines 4732--4738
|
||||
[]@textrm If set, range ex-pres-sions used in pat-tern match-ing (see
|
||||
|
||||
@hbox(8.2125+2.73749)x433.62, glue set 3.79674
|
||||
@@ -259,7 +259,7 @@ Underfull \hbox (badness 5460) in paragraph at lines 4725--4731
|
||||
|
||||
[61] [62] Chapter 5 [63] [64] [65] [66] [67] [68] [69] [70] [71] [72] [73]
|
||||
Chapter 6 [74]
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5617--5617
|
||||
Overfull \hbox (51.96864pt too wide) in paragraph at lines 5624--5624
|
||||
[]@texttt bash [long-opt] [-ir] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@t
|
||||
exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -272,7 +272,7 @@ exttt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5618--5618
|
||||
Overfull \hbox (76.23077pt too wide) in paragraph at lines 5625--5625
|
||||
[]@texttt bash [long-opt] [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@texttt
|
||||
] [-O @textttsl shopt_option@texttt ] -c @textttsl string @texttt [@textttsl ar
|
||||
-
|
||||
@@ -286,7 +286,7 @@ Overfull \hbox (76.23077pt too wide) in paragraph at lines 5618--5618
|
||||
.etc.
|
||||
|
||||
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5619--5619
|
||||
Overfull \hbox (34.72258pt too wide) in paragraph at lines 5626--5626
|
||||
[]@texttt bash [long-opt] -s [-abefhkmnptuvxdBCDHP] [-o @textttsl op-tion@text
|
||||
tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
|
||||
@@ -299,7 +299,7 @@ tt ] [-O @textttsl shopt_option@texttt ] [@textttsl ar-
|
||||
.etc.
|
||||
|
||||
[75] [76]
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5790--5792
|
||||
Underfull \hbox (badness 2245) in paragraph at lines 5797--5799
|
||||
[]@textrm When a lo-gin shell ex-its, Bash reads and ex-e-cutes com-mands from
|
||||
the file
|
||||
|
||||
@@ -312,7 +312,7 @@ the file
|
||||
.etc.
|
||||
|
||||
[77] [78] [79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90]
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6980--6983
|
||||
Underfull \hbox (badness 2521) in paragraph at lines 6987--6990
|
||||
@textrm `@texttt --enable-strict-posix-default[]@textrm '[] to @texttt configur
|
||||
e[] @textrm when build-ing (see Sec-tion 10.8
|
||||
|
||||
@@ -381,7 +381,7 @@ Underfull \hbox (badness 2753) in paragraph at lines 1946--1949
|
||||
[123] [124]) (/Users/chet/src/bash/src/lib/readline/doc/hsuser.texi Chapter 9
|
||||
[125] [126] [127] [128] [129] [130]) Chapter 10 [131] [132] [133] [134]
|
||||
[135]
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7586--7590
|
||||
Underfull \hbox (badness 2772) in paragraph at lines 7593--7597
|
||||
[]@textrm Enable sup-port for large files (@texttt http://www.sas.com/standard
|
||||
s/large_
|
||||
|
||||
@@ -401,10 +401,10 @@ s/large_
|
||||
Here is how much of TeX's memory you used:
|
||||
2081 strings out of 97980
|
||||
28573 string characters out of 1221004
|
||||
65630 words of memory out of 1500000
|
||||
65626 words of memory out of 1500000
|
||||
2897 multiletter control sequences out of 10000+50000
|
||||
32127 words of font info for 112 fonts, out of 1200000 for 2000
|
||||
51 hyphenation exceptions out of 8191
|
||||
16i,6n,14p,315b,702s stack positions out of 5000i,500n,6000p,200000b,5000s
|
||||
|
||||
Output written on bashref.dvi (170 pages, 687040 bytes).
|
||||
Output written on bashref.dvi (170 pages, 687440 bytes).
|
||||
|
||||
Binary file not shown.
+96
-88
@@ -11,7 +11,7 @@
|
||||
%DVIPSWebPage: (www.radicaleye.com)
|
||||
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
|
||||
%DVIPSParameters: dpi=600
|
||||
%DVIPSSource: TeX output 2011.09.26:1056
|
||||
%DVIPSSource: TeX output 2011.10.24:0843
|
||||
%%BeginProcSet: tex.pro 0 0
|
||||
%!
|
||||
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
|
||||
@@ -4323,30 +4323,29 @@ letter
|
||||
TeXDict begin 1 0 bop 150 1318 a Fu(Bash)64 b(Reference)j(Man)-5
|
||||
b(ual)p 150 1385 3600 34 v 2361 1481 a Ft(Reference)31
|
||||
b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(4.2,)g(for)f
|
||||
Fs(Bash)g Ft(V)-8 b(ersion)31 b(4.2.)3118 1697 y(Septem)m(b)s(er)f
|
||||
(2011)150 4935 y Fr(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11
|
||||
b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068
|
||||
y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11
|
||||
Fs(Bash)g Ft(V)-8 b(ersion)31 b(4.2.)3217 1697 y(Octob)s(er)f(2011)150
|
||||
4935 y Fr(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 b(estern)46
|
||||
b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 y(Brian)f(F)-11
|
||||
b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11
|
||||
b(oundation)p 150 5141 3600 17 v eop end
|
||||
%%Page: 2 2
|
||||
TeXDict begin 2 1 bop 150 2889 a Ft(This)35 b(text)h(is)g(a)g(brief)f
|
||||
(description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(4.2,)c(25)f(Septem)m(b)s
|
||||
(er)f(2011\).)150 3133 y(This)e(is)h(Edition)f(4.2,)j(last)e(up)s
|
||||
(dated)f(25)h(Septem)m(b)s(er)f(2011,)j(of)e Fq(The)f(GNU)i(Bash)e
|
||||
(Reference)i(Man)m(ual)p Ft(,)150 3243 y(for)g Fs(Bash)p
|
||||
Ft(,)g(V)-8 b(ersion)31 b(4.2.)150 3377 y(Cop)m(yrigh)m(t)602
|
||||
3374 y(c)577 3377 y Fp(\015)f Ft(1988{2011)35 b(F)-8
|
||||
b(ree)31 b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)150
|
||||
3512 y(P)m(ermission)h(is)h(gran)m(ted)g(to)f(mak)m(e)i(and)d
|
||||
(distribute)h(v)m(erbatim)h(copies)g(of)f(this)g(man)m(ual)h(pro)m
|
||||
(vided)f(the)150 3621 y(cop)m(yrigh)m(t)g(notice)f(and)f(this)g(p)s
|
||||
(ermission)g(notice)h(are)g(preserv)m(ed)f(on)h(all)g(copies.)390
|
||||
3756 y(P)m(ermission)k(is)h(gran)m(ted)f(to)h(cop)m(y)-8
|
||||
b(,)38 b(distribute)d(and/or)g(mo)s(dify)f(this)h(do)s(cumen)m(t)g
|
||||
(under)390 3866 y(the)j(terms)g(of)g(the)g(GNU)h(F)-8
|
||||
b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8 b(ersion)39
|
||||
b(1.3)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(4.2,)c(24)f(Octob)s(er)f
|
||||
(2011\).)150 3133 y(This)35 b(is)g(Edition)h(4.2,)i(last)f(up)s(dated)d
|
||||
(24)i(Octob)s(er)g(2011,)j(of)c Fq(The)h(GNU)g(Bash)f(Reference)i(Man)m
|
||||
(ual)p Ft(,)150 3243 y(for)30 b Fs(Bash)p Ft(,)g(V)-8
|
||||
b(ersion)31 b(4.2.)150 3377 y(Cop)m(yrigh)m(t)602 3374
|
||||
y(c)577 3377 y Fp(\015)f Ft(1988{2011)35 b(F)-8 b(ree)31
|
||||
b(Soft)m(w)m(are)h(F)-8 b(oundation,)31 b(Inc.)150 3512
|
||||
y(P)m(ermission)h(is)h(gran)m(ted)g(to)f(mak)m(e)i(and)d(distribute)h
|
||||
(v)m(erbatim)h(copies)g(of)f(this)g(man)m(ual)h(pro)m(vided)f(the)150
|
||||
3621 y(cop)m(yrigh)m(t)g(notice)f(and)f(this)g(p)s(ermission)g(notice)h
|
||||
(are)g(preserv)m(ed)f(on)h(all)g(copies.)390 3756 y(P)m(ermission)k(is)
|
||||
h(gran)m(ted)f(to)h(cop)m(y)-8 b(,)38 b(distribute)d(and/or)g(mo)s
|
||||
(dify)f(this)h(do)s(cumen)m(t)g(under)390 3866 y(the)j(terms)g(of)g
|
||||
(the)g(GNU)h(F)-8 b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8
|
||||
b(ersion)39 b(1.3)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28
|
||||
b(published)d(b)m(y)j(the)f(F)-8 b(ree)29 b(Soft)m(w)m(are)f(F)-8
|
||||
b(oundation;)30 b(with)d(no)g(In)m(v)-5 b(arian)m(t)28
|
||||
b(Sections,)390 4085 y(with)i(the)h(F)-8 b(ron)m(t-Co)m(v)m(er)33
|
||||
@@ -6955,52 +6954,56 @@ Fq(n)p Ft(,)g(or)g(the)h(standard)e(output)h(\(\014le)h(descriptor)f
|
||||
(1\))h(if)g Fq(n)e Ft(is)i(not)150 665 y(sp)s(eci\014ed.)40
|
||||
b(If)30 b(the)g(\014le)h(do)s(es)f(not)h(exist)g(it)g(is)f(created;)i
|
||||
(if)e(it)h(do)s(es)f(exist)h(it)g(is)g(truncated)f(to)h(zero)g(size.)
|
||||
275 823 y(The)e(general)j(format)e(for)h(redirecting)g(output)f(is:)390
|
||||
981 y Fs([)p Fi(n)11 b Fs(]>[|])p Fi(word)275 1139 y
|
||||
275 812 y(The)e(general)j(format)e(for)h(redirecting)g(output)f(is:)390
|
||||
959 y Fs([)p Fi(n)11 b Fs(]>[|])p Fi(word)275 1107 y
|
||||
Ft(If)30 b(the)h(redirection)g(op)s(erator)g(is)g(`)p
|
||||
Fs(>)p Ft(',)g(and)f(the)h Fs(noclobber)d Ft(option)j(to)g(the)g
|
||||
Fs(set)f Ft(builtin)g(has)h(b)s(een)150 1249 y(enabled,)i(the)f
|
||||
Fs(set)f Ft(builtin)g(has)h(b)s(een)150 1216 y(enabled,)i(the)f
|
||||
(redirection)h(will)f(fail)h(if)f(the)g(\014le)g(whose)g(name)g
|
||||
(results)g(from)g(the)g(expansion)g(of)g Fq(w)m(ord)150
|
||||
1359 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41
|
||||
1326 y Ft(exists)f(and)f(is)g(a)h(regular)g(\014le.)41
|
||||
b(If)30 b(the)h(redirection)g(op)s(erator)g(is)f(`)p
|
||||
Fs(>|)p Ft(',)h(or)f(the)h(redirection)g(op)s(erator)g(is)150
|
||||
1468 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e
|
||||
1435 y(`)p Fs(>)p Ft(')36 b(and)f(the)g Fs(noclobber)e
|
||||
Ft(option)j(is)g(not)g(enabled,)h(the)e(redirection)h(is)g(attempted)g
|
||||
(ev)m(en)h(if)e(the)h(\014le)150 1578 y(named)30 b(b)m(y)g
|
||||
Fq(w)m(ord)k Ft(exists.)150 1801 y Fj(3.6.3)63 b(App)s(ending)42
|
||||
b(Redirected)e(Output)150 1948 y Ft(Redirection)23 b(of)e(output)h(in)f
|
||||
(ev)m(en)h(if)e(the)h(\014le)150 1545 y(named)30 b(b)m(y)g
|
||||
Fq(w)m(ord)k Ft(exists.)150 1757 y Fj(3.6.3)63 b(App)s(ending)42
|
||||
b(Redirected)e(Output)150 1904 y Ft(Redirection)23 b(of)e(output)h(in)f
|
||||
(this)h(fashion)f(causes)h(the)g(\014le)g(whose)f(name)h(results)f
|
||||
(from)g(the)h(expansion)g(of)150 2057 y Fq(w)m(ord)28
|
||||
(from)g(the)h(expansion)g(of)150 2013 y Fq(w)m(ord)28
|
||||
b Ft(to)e(b)s(e)e(op)s(ened)g(for)h(app)s(ending)e(on)i(\014le)g
|
||||
(descriptor)g Fq(n)p Ft(,)g(or)g(the)g(standard)f(output)h(\(\014le)g
|
||||
(descriptor)150 2167 y(1\))31 b(if)f Fq(n)g Ft(is)h(not)f(sp)s
|
||||
(descriptor)150 2123 y(1\))31 b(if)f Fq(n)g Ft(is)h(not)f(sp)s
|
||||
(eci\014ed.)40 b(If)30 b(the)h(\014le)f(do)s(es)g(not)h(exist)g(it)g
|
||||
(is)f(created.)275 2325 y(The)f(general)j(format)e(for)h(app)s(ending)e
|
||||
(output)h(is:)390 2483 y Fs([)p Fi(n)11 b Fs(]>>)p Fi(word)150
|
||||
2706 y Fj(3.6.4)63 b(Redirecting)40 b(Standard)h(Output)g(and)g
|
||||
(Standard)g(Error)150 2853 y Ft(This)33 b(construct)i(allo)m(ws)g(b)s
|
||||
(is)f(created.)275 2270 y(The)f(general)j(format)e(for)h(app)s(ending)e
|
||||
(output)h(is:)390 2417 y Fs([)p Fi(n)11 b Fs(]>>)p Fi(word)150
|
||||
2629 y Fj(3.6.4)63 b(Redirecting)40 b(Standard)h(Output)g(and)g
|
||||
(Standard)g(Error)150 2776 y Ft(This)33 b(construct)i(allo)m(ws)g(b)s
|
||||
(oth)f(the)g(standard)g(output)f(\(\014le)i(descriptor)f(1\))h(and)f
|
||||
(the)g(standard)f(error)150 2963 y(output)d(\(\014le)h(descriptor)f
|
||||
(the)g(standard)f(error)150 2886 y(output)d(\(\014le)h(descriptor)f
|
||||
(2\))h(to)g(b)s(e)f(redirected)h(to)g(the)f(\014le)h(whose)f(name)h(is)
|
||||
f(the)g(expansion)h(of)f Fq(w)m(ord)t Ft(.)275 3121 y(There)f(are)i(t)m
|
||||
f(the)g(expansion)h(of)f Fq(w)m(ord)t Ft(.)275 3033 y(There)f(are)i(t)m
|
||||
(w)m(o)h(formats)e(for)h(redirecting)g(standard)e(output)h(and)g
|
||||
(standard)f(error:)390 3279 y Fs(&>)p Fi(word)150 3437
|
||||
y Ft(and)390 3595 y Fs(>&)p Fi(word)150 3753 y Ft(Of)h(the)g(t)m(w)m(o)
|
||||
(standard)f(error:)390 3180 y Fs(&>)p Fi(word)150 3328
|
||||
y Ft(and)390 3475 y Fs(>&)p Fi(word)150 3622 y Ft(Of)h(the)g(t)m(w)m(o)
|
||||
i(forms,)e(the)h(\014rst)e(is)i(preferred.)39 b(This)30
|
||||
b(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32 b(to)390
|
||||
3912 y Fs(>)p Fi(word)57 b Fs(2>&1)275 4070 y Ft(\(see)31
|
||||
b(Duplicating)h(File)f(Descriptors)g(b)s(elo)m(w\).)150
|
||||
4293 y Fj(3.6.5)63 b(App)s(ending)42 b(Standard)f(Output)g(and)g
|
||||
(Standard)g(Error)150 4440 y Ft(This)33 b(construct)i(allo)m(ws)g(b)s
|
||||
3769 y Fs(>)p Fi(word)57 b Fs(2>&1)275 3916 y Ft(When)41
|
||||
b(using)g(the)h(second)f(form,)k Fq(w)m(ord)f Ft(ma)m(y)e(not)g(expand)
|
||||
f(to)h(a)g(n)m(um)m(b)s(er)f(or)g(`)p Fs(-)p Ft('.)75
|
||||
b(If)41 b(it)h(do)s(es,)150 4026 y(other)27 b(redirection)g(op)s
|
||||
(erators)f(apply)h(\(see)g(Duplicating)h(File)f(Descriptors)h(b)s(elo)m
|
||||
(w\))f(for)f(compatibilit)m(y)150 4135 y(reasons.)150
|
||||
4347 y Fj(3.6.5)63 b(App)s(ending)42 b(Standard)f(Output)g(and)g
|
||||
(Standard)g(Error)150 4494 y Ft(This)33 b(construct)i(allo)m(ws)g(b)s
|
||||
(oth)f(the)g(standard)g(output)f(\(\014le)i(descriptor)f(1\))h(and)f
|
||||
(the)g(standard)f(error)150 4549 y(output)d(\(\014le)h(descriptor)f
|
||||
(the)g(standard)f(error)150 4604 y(output)d(\(\014le)h(descriptor)f
|
||||
(2\))h(to)g(b)s(e)f(app)s(ended)f(to)i(the)f(\014le)h(whose)f(name)g
|
||||
(is)h(the)f(expansion)h(of)f Fq(w)m(ord)t Ft(.)275 4707
|
||||
(is)h(the)f(expansion)h(of)f Fq(w)m(ord)t Ft(.)275 4751
|
||||
y(The)f(format)i(for)f(app)s(ending)f(standard)h(output)g(and)f
|
||||
(standard)h(error)g(is:)390 4866 y Fs(&>>)p Fi(word)150
|
||||
5024 y Ft(This)g(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32
|
||||
b(to)390 5182 y Fs(>>)p Fi(word)57 b Fs(2>&1)275 5340
|
||||
(standard)h(error)g(is:)390 4898 y Fs(&>>)p Fi(word)150
|
||||
5046 y Ft(This)g(is)g(seman)m(tically)j(equiv)-5 b(alen)m(t)32
|
||||
b(to)390 5193 y Fs(>>)p Fi(word)57 b Fs(2>&1)275 5340
|
||||
y Ft(\(see)31 b(Duplicating)h(File)f(Descriptors)g(b)s(elo)m(w\).)p
|
||||
eop end
|
||||
%%Page: 30 36
|
||||
@@ -7067,12 +7070,14 @@ b Fq(n)f Ft(is)i(not)f(sp)s(eci\014ed,)i(the)f(standard)150
|
||||
5011 y(output)30 b(\(\014le)g(descriptor)g(1\))h(is)f(used.)39
|
||||
b(If)30 b(the)g(digits)h(in)e Fq(w)m(ord)34 b Ft(do)29
|
||||
b(not)i(sp)s(ecify)e(a)i(\014le)f(descriptor)g(op)s(en)150
|
||||
5121 y(for)38 b(output,)i(a)e(redirection)h(error)f(o)s(ccurs.)63
|
||||
b(As)38 b(a)h(sp)s(ecial)f(case,)k(if)c Fq(n)f Ft(is)h(omitted,)k(and)
|
||||
37 b Fq(w)m(ord)k Ft(do)s(es)150 5230 y(not)28 b(expand)f(to)i(one)f
|
||||
(or)f(more)h(digits,)i(the)e(standard)e(output)i(and)f(standard)g
|
||||
(error)g(are)i(redirected)f(as)150 5340 y(describ)s(ed)h(previously)-8
|
||||
b(.)p eop end
|
||||
5121 y(for)35 b(output,)h(a)g(redirection)g(error)e(o)s(ccurs.)55
|
||||
b(If)35 b Fq(w)m(ord)j Ft(ev)-5 b(aluates)37 b(to)f(`)p
|
||||
Fs(-)p Ft(',)h(\014le)e(descriptor)g Fq(n)g Ft(is)g(closed.)150
|
||||
5230 y(As)f(a)g(sp)s(ecial)h(case,)h(if)e Fq(n)f Ft(is)h(omitted,)i
|
||||
(and)e Fq(w)m(ord)j Ft(do)s(es)d(not)g(expand)f(to)i(one)f(or)g(more)g
|
||||
(digits)h(or)f(`)p Fs(-)p Ft(',)150 5340 y(the)d(standard)e(output)h
|
||||
(and)g(standard)f(error)h(are)h(redirected)g(as)g(describ)s(ed)e
|
||||
(previously)-8 b(.)p eop end
|
||||
%%Page: 31 37
|
||||
TeXDict begin 31 36 bop 150 -116 a Ft(Chapter)30 b(3:)41
|
||||
b(Basic)32 b(Shell)e(F)-8 b(eatures)2246 b(31)150 299
|
||||
@@ -7818,65 +7823,68 @@ b(in)f(the)h(function.)53 b Fs(return)33 b Ft(ma)m(y)i(also)g(b)s(e)f
|
||||
(used)f(to)j(terminate)f(execution)h(of)630 408 y(a)e(script)g(b)s
|
||||
(eing)g(executed)g(with)g(the)g Fs(.)g Ft(\()p Fs(source)p
|
||||
Ft(\))f(builtin,)h(returning)f(either)i Fq(n)e Ft(or)h(the)630
|
||||
518 y(exit)29 b(status)f(of)g(the)h(last)g(command)e(executed)i(within)
|
||||
f(the)g(script)g(as)g(the)g(exit)h(status)g(of)630 628
|
||||
y(the)34 b(script.)51 b(An)m(y)34 b(command)g(asso)s(ciated)h(with)f
|
||||
(the)g Fs(RETURN)e Ft(trap)i(is)g(executed)g(b)s(efore)630
|
||||
737 y(execution)d(resumes)e(after)i(the)f(function)f(or)h(script.)40
|
||||
b(The)30 b(return)f(status)h(is)g(non-zero)g(if)630 847
|
||||
y Fs(return)c Ft(is)i(used)f(outside)h(a)h(function)e(and)g(not)i
|
||||
(during)d(the)i(execution)h(of)f(a)h(script)e(b)m(y)h
|
||||
Fs(.)630 956 y Ft(or)i Fs(source)p Ft(.)150 1130 y Fs(shift)870
|
||||
1271 y(shift)46 b([)p Fi(n)11 b Fs(])630 1413 y Ft(Shift)41
|
||||
518 y(exit)j(status)f(of)g(the)g(last)h(command)e(executed)i(within)e
|
||||
(the)h(script)g(as)g(the)g(exit)h(status)630 628 y(of)i(the)g(script.)
|
||||
65 b(If)38 b Fq(n)g Ft(is)h(supplied,)h(the)f(return)e(v)-5
|
||||
b(alue)39 b(is)g(its)g(least)h(signi\014can)m(t)g(8)f(bits.)630
|
||||
737 y(An)m(y)g(command)f(asso)s(ciated)j(with)d(the)h
|
||||
Fs(RETURN)e Ft(trap)i(is)g(executed)g(b)s(efore)g(execution)630
|
||||
847 y(resumes)29 b(after)h(the)g(function)g(or)g(script.)40
|
||||
b(The)29 b(return)g(status)h(is)g(non-zero)g(if)g Fs(return)e
|
||||
Ft(is)630 956 y(supplied)h(a)i(non-n)m(umeric)g(argumen)m(t)g(or)f(is)h
|
||||
(used)f(outside)h(a)g(function)f(and)g(not)h(during)630
|
||||
1066 y(the)g(execution)g(of)g(a)f(script)h(b)m(y)f Fs(.)g
|
||||
Ft(or)g Fs(source)p Ft(.)150 1230 y Fs(shift)870 1367
|
||||
y(shift)46 b([)p Fi(n)11 b Fs(])630 1504 y Ft(Shift)41
|
||||
b(the)g(p)s(ositional)h(parameters)g(to)g(the)f(left)h(b)m(y)g
|
||||
Fq(n)p Ft(.)73 b(The)40 b(p)s(ositional)j(parameters)630
|
||||
1523 y(from)34 b Fq(n)p Fs(+)p Ft(1)39 b(.)22 b(.)h(.)45
|
||||
1614 y(from)34 b Fq(n)p Fs(+)p Ft(1)39 b(.)22 b(.)h(.)45
|
||||
b Fs($#)34 b Ft(are)g(renamed)g(to)h Fs($1)k Ft(.)22
|
||||
b(.)g(.)46 b Fs($#)p Ft(-)p Fq(n)p Ft(.)51 b(P)m(arameters)36
|
||||
b(represen)m(ted)e(b)m(y)g(the)630 1632 y(n)m(um)m(b)s(ers)25
|
||||
b(represen)m(ted)e(b)m(y)g(the)630 1724 y(n)m(um)m(b)s(ers)25
|
||||
b Fs($#)i Ft(to)g Fs($#)p Ft(-)p Fq(n)p Fs(+)p Ft(1)g(are)g(unset.)39
|
||||
b Fq(n)26 b Ft(m)m(ust)h(b)s(e)f(a)i(non-negativ)m(e)h(n)m(um)m(b)s(er)
|
||||
c(less)i(than)g(or)630 1742 y(equal)33 b(to)h Fs($#)p
|
||||
c(less)i(than)g(or)630 1833 y(equal)33 b(to)h Fs($#)p
|
||||
Ft(.)47 b(If)33 b Fq(n)f Ft(is)h(zero)g(or)g(greater)h(than)f
|
||||
Fs($#)p Ft(,)g(the)g(p)s(ositional)g(parameters)g(are)h(not)630
|
||||
1851 y(c)m(hanged.)48 b(If)32 b Fq(n)g Ft(is)h(not)f(supplied,)h(it)g
|
||||
1943 y(c)m(hanged.)48 b(If)32 b Fq(n)g Ft(is)h(not)f(supplied,)h(it)g
|
||||
(is)f(assumed)g(to)h(b)s(e)f(1.)48 b(The)32 b(return)g(status)h(is)f
|
||||
(zero)630 1961 y(unless)e Fq(n)f Ft(is)i(greater)g(than)g
|
||||
(zero)630 2052 y(unless)e Fq(n)f Ft(is)i(greater)g(than)g
|
||||
Fs($#)e Ft(or)i(less)f(than)h(zero,)g(non-zero)g(otherwise.)150
|
||||
2134 y Fs(test[B)150 2244 y([)870 2386 y(test)47 b Fi(expr)630
|
||||
2527 y Ft(Ev)-5 b(aluate)43 b(a)f(conditional)h(expression)f
|
||||
2217 y Fs(test[B)150 2326 y([)870 2463 y(test)47 b Fi(expr)630
|
||||
2600 y Ft(Ev)-5 b(aluate)43 b(a)f(conditional)h(expression)f
|
||||
Fq(expr)48 b Ft(and)41 b(return)g(a)h(status)g(of)g(0)g(\(true\))h(or)f
|
||||
(1)630 2637 y(\(false\).)g(Eac)m(h)31 b(op)s(erator)f(and)f(op)s(erand)
|
||||
(1)630 2710 y(\(false\).)g(Eac)m(h)31 b(op)s(erator)f(and)f(op)s(erand)
|
||||
g(m)m(ust)h(b)s(e)f(a)i(separate)g(argumen)m(t.)41 b(Expressions)630
|
||||
2746 y(are)26 b(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s
|
||||
2819 y(are)26 b(comp)s(osed)f(of)g(the)h(primaries)f(describ)s(ed)f(b)s
|
||||
(elo)m(w)h(in)g(Section)h(6.4)h([Bash)e(Conditional)630
|
||||
2856 y(Expressions],)39 b(page)g(80.)64 b Fs(test)37
|
||||
2929 y(Expressions],)39 b(page)g(80.)64 b Fs(test)37
|
||||
b Ft(do)s(es)g(not)h(accept)i(an)m(y)e(options,)i(nor)e(do)s(es)f(it)h
|
||||
(accept)630 2966 y(and)30 b(ignore)h(an)f(argumen)m(t)h(of)f(`)p
|
||||
(accept)630 3039 y(and)30 b(ignore)h(an)f(argumen)m(t)h(of)f(`)p
|
||||
Fs(--)p Ft(')h(as)f(signifying)h(the)f(end)g(of)h(options.)630
|
||||
3107 y(When)f(the)h Fs([)f Ft(form)g(is)g(used,)g(the)g(last)i(argumen)
|
||||
3176 y(When)f(the)h Fs([)f Ft(form)g(is)g(used,)g(the)g(last)i(argumen)
|
||||
m(t)e(to)i(the)e(command)g(m)m(ust)h(b)s(e)e(a)i Fs(])p
|
||||
Ft(.)630 3249 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f
|
||||
Ft(.)630 3313 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f
|
||||
(the)h(follo)m(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630
|
||||
3358 y(order)30 b(of)h(precedence.)43 b(The)30 b(ev)-5
|
||||
3422 y(order)30 b(of)h(precedence.)43 b(The)30 b(ev)-5
|
||||
b(aluation)33 b(dep)s(ends)28 b(on)j(the)g(n)m(um)m(b)s(er)f(of)h
|
||||
(argumen)m(ts;)g(see)630 3468 y(b)s(elo)m(w.)41 b(Op)s(erator)30
|
||||
(argumen)m(ts;)g(see)630 3532 y(b)s(elo)m(w.)41 b(Op)s(erator)30
|
||||
b(precedence)h(is)f(used)g(when)f(there)i(are)f(\014v)m(e)h(or)f(more)h
|
||||
(argumen)m(ts.)630 3641 y Fs(!)f Fi(expr)210 b Ft(T)-8
|
||||
b(rue)30 b(if)g Fq(expr)37 b Ft(is)30 b(false.)630 3815
|
||||
(argumen)m(ts.)630 3696 y Fs(!)f Fi(expr)210 b Ft(T)-8
|
||||
b(rue)30 b(if)g Fq(expr)37 b Ft(is)30 b(false.)630 3861
|
||||
y Fs(\()g Fi(expr)40 b Fs(\))122 b Ft(Returns)23 b(the)h(v)-5
|
||||
b(alue)24 b(of)g Fq(expr)7 b Ft(.)37 b(This)23 b(ma)m(y)i(b)s(e)e(used)
|
||||
g(to)h(o)m(v)m(erride)h(the)f(normal)1110 3924 y(precedence)31
|
||||
b(of)f(op)s(erators.)630 4098 y Fi(expr1)39 b Fs(-a)30
|
||||
b Fi(expr2)1110 4208 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g
|
||||
g(to)h(o)m(v)m(erride)h(the)f(normal)1110 3970 y(precedence)31
|
||||
b(of)f(op)s(erators.)630 4134 y Fi(expr1)39 b Fs(-a)30
|
||||
b Fi(expr2)1110 4244 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g
|
||||
Fq(expr1)37 b Ft(and)30 b Fq(expr2)38 b Ft(are)30 b(true.)630
|
||||
4381 y Fi(expr1)39 b Fs(-o)30 b Fi(expr2)1110 4491 y
|
||||
4408 y Fi(expr1)39 b Fs(-o)30 b Fi(expr2)1110 4518 y
|
||||
Ft(T)-8 b(rue)30 b(if)g(either)h Fq(expr1)38 b Ft(or)30
|
||||
b Fq(expr2)37 b Ft(is)31 b(true.)630 4664 y(The)37 b
|
||||
b Fq(expr2)37 b Ft(is)31 b(true.)630 4682 y(The)37 b
|
||||
Fs(test)f Ft(and)g Fs([)h Ft(builtins)g(ev)-5 b(aluate)39
|
||||
b(conditional)f(expressions)f(using)g(a)g(set)h(of)f(rules)630
|
||||
4774 y(based)30 b(on)g(the)h(n)m(um)m(b)s(er)e(of)h(argumen)m(ts.)630
|
||||
4947 y(0)h(argumen)m(ts)1110 5057 y(The)f(expression)g(is)g(false.)630
|
||||
4792 y(based)30 b(on)g(the)h(n)m(um)m(b)s(er)e(of)h(argumen)m(ts.)630
|
||||
4956 y(0)h(argumen)m(ts)1110 5066 y(The)f(expression)g(is)g(false.)630
|
||||
5230 y(1)h(argumen)m(t)1110 5340 y(The)f(expression)g(is)g(true)h(if)f
|
||||
(and)g(only)g(if)h(the)f(argumen)m(t)h(is)f(not)h(n)m(ull.)p
|
||||
eop end
|
||||
|
||||
+6
-4
@@ -985,10 +985,12 @@ BBAASSHH BBUUIILLTTIINN CCOOMMMMAANNDDSS
|
||||
script by the .. (ssoouurrccee) command, it causes the shell to stop
|
||||
executing that script and return either _n or the exit status of
|
||||
the last command executed within the script as the exit status
|
||||
of the script. The return status is non-zero if rreettuurrnn is used
|
||||
outside a function and not during execution of a script by .. or
|
||||
ssoouurrccee. Any command associated with the RREETTUURRNN trap is executed
|
||||
before execution resumes after the function or script.
|
||||
of the script. If _n is supplied, the return value is its least
|
||||
significant 8 bits. The return status is non-zero if rreettuurrnn is
|
||||
supplied a non-numeric argument, or is used outside a function
|
||||
and not during execution of a script by .. or ssoouurrccee. Any com-
|
||||
mand associated with the RREETTUURRNN trap is executed before execu-
|
||||
tion resumes after the function or script.
|
||||
|
||||
sseett [----aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [--oo _o_p_t_i_o_n_-_n_a_m_e] [_a_r_g ...]
|
||||
sseett [++aabbeeffhhkkmmnnppttuuvvxxBBCCEEHHPPTT] [++oo _o_p_t_i_o_n_-_n_a_m_e] [_a_r_g ...]
|
||||
|
||||
+630
-626
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -1,6 +1,6 @@
|
||||
%!PS-Adobe-3.0
|
||||
%%Creator: groff version 1.19.2
|
||||
%%CreationDate: Mon Sep 26 10:56:08 2011
|
||||
%%CreationDate: Mon Oct 24 08:43:45 2011
|
||||
%%DocumentNeededResources: font Times-Roman
|
||||
%%+ font Times-Bold
|
||||
%%DocumentSuppliedResources: procset grops 1.19 2
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2011 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Oct 14 13:18:35 EDT 2011
|
||||
@set LASTCHANGE Mon Oct 24 08:43:33 EDT 2011
|
||||
|
||||
@set EDITION 4.2
|
||||
@set VERSION 4.2
|
||||
@set UPDATED 14 October 2011
|
||||
@set UPDATED 24 October 2011
|
||||
@set UPDATED-MONTH October 2011
|
||||
|
||||
Reference in New Issue
Block a user