commit bash-3.2 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 22:53:10 -05:00
parent 540d56e854
commit ca10a0c9c5
22 changed files with 22282 additions and 451 deletions
+201 -204
View File
@@ -2,10 +2,10 @@ This is bashref.info, produced by makeinfo version 4.7 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 3.2, 27 April 2006).
the Bash shell (version 3.2, 28 September 2006).
This is Edition 3.2, last updated 27 April 2006, of `The GNU Bash
Reference Manual', for `Bash', Version 3.2.
This is Edition 3.2, last updated 28 September 2006, of `The GNU
Bash Reference Manual', for `Bash', Version 3.2.
Copyright (C) 1988-2005 Free Software Foundation, Inc.
@@ -37,10 +37,10 @@ Bash Features
*************
This text is a brief description of the features that are present in
the Bash shell (version 3.2, 27 April 2006).
the Bash shell (version 3.2, 28 September 2006).
This is Edition 3.2, last updated 27 April 2006, of `The GNU Bash
Reference Manual', for `Bash', Version 3.2.
This is Edition 3.2, last updated 28 September 2006, of `The GNU
Bash Reference Manual', for `Bash', Version 3.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
@@ -2592,8 +2592,8 @@ standard.
finishes executing.
Signals ignored upon entry to the shell cannot be trapped or reset.
Trapped signals are reset to their original values in a child
process when it is created.
Trapped signals that are not being ignored are reset to their
original values in a child process when it is created.
The return status is zero unless a SIGSPEC does not specify a
valid signal.
@@ -2862,10 +2862,6 @@ POSIX standard.
the eight-bit character whose value is the octal value NNN
(zero to three octal digits)
`\NNN'
the eight-bit character whose value is the octal value NNN
(one to three octal digits)
`\xHH'
the eight-bit character whose value is the hexadecimal value
HH (one or two hex digits)
@@ -3853,9 +3849,10 @@ Variables::).
`COMP_WORDS'
An array variable consisting of the individual words in the
current command line. This variable is available only in shell
functions invoked by the programmable completion facilities (*note
Programmable Completion::).
current command line. The words are split on shell metacharacters
as the shell parser would separate them. This variable is
available only in shell functions invoked by the programmable
completion facilities (*note Programmable Completion::).
`COMPREPLY'
An array variable from which Bash reads the possible completions
@@ -8998,7 +8995,7 @@ Index of Shell Builtin Commands
* disown: Job Control Builtins.
(line 83)
* echo: Bash Builtins. (line 191)
* enable: Bash Builtins. (line 247)
* enable: Bash Builtins. (line 243)
* eval: Bourne Shell Builtins.
(line 63)
* exec: Bourne Shell Builtins.
@@ -9015,24 +9012,24 @@ Index of Shell Builtin Commands
(line 103)
* hash: Bourne Shell Builtins.
(line 145)
* help: Bash Builtins. (line 275)
* help: Bash Builtins. (line 271)
* history: Bash History Builtins.
(line 39)
* jobs: Job Control Builtins.
(line 25)
* kill: Job Control Builtins.
(line 57)
* let: Bash Builtins. (line 284)
* local: Bash Builtins. (line 291)
* logout: Bash Builtins. (line 301)
* let: Bash Builtins. (line 280)
* local: Bash Builtins. (line 287)
* logout: Bash Builtins. (line 297)
* popd: Directory Stack Builtins.
(line 37)
* printf: Bash Builtins. (line 305)
* printf: Bash Builtins. (line 301)
* pushd: Directory Stack Builtins.
(line 58)
* pwd: Bourne Shell Builtins.
(line 163)
* read: Bash Builtins. (line 330)
* read: Bash Builtins. (line 326)
* readonly: Bourne Shell Builtins.
(line 172)
* return: Bourne Shell Builtins.
@@ -9040,8 +9037,8 @@ Index of Shell Builtin Commands
* set: The Set Builtin. (line 9)
* shift: Bourne Shell Builtins.
(line 200)
* shopt: Bash Builtins. (line 391)
* source: Bash Builtins. (line 622)
* shopt: Bash Builtins. (line 387)
* source: Bash Builtins. (line 618)
* suspend: Job Control Builtins.
(line 94)
* test: Bourne Shell Builtins.
@@ -9050,12 +9047,12 @@ Index of Shell Builtin Commands
(line 278)
* trap: Bourne Shell Builtins.
(line 283)
* type: Bash Builtins. (line 626)
* typeset: Bash Builtins. (line 657)
* ulimit: Bash Builtins. (line 663)
* type: Bash Builtins. (line 622)
* typeset: Bash Builtins. (line 653)
* ulimit: Bash Builtins. (line 659)
* umask: Bourne Shell Builtins.
(line 324)
* unalias: Bash Builtins. (line 741)
* unalias: Bash Builtins. (line 737)
* unset: Bourne Shell Builtins.
(line 341)
* wait: Job Control Builtins.
@@ -9151,65 +9148,65 @@ Parameter and Variable Index
* COMP_WORDS: Bash Variables. (line 131)
* completion-query-items: Readline Init File Syntax.
(line 60)
* COMPREPLY: Bash Variables. (line 137)
* COMPREPLY: Bash Variables. (line 138)
* convert-meta: Readline Init File Syntax.
(line 70)
* DIRSTACK: Bash Variables. (line 142)
* DIRSTACK: Bash Variables. (line 143)
* disable-completion: Readline Init File Syntax.
(line 76)
* editing-mode: Readline Init File Syntax.
(line 81)
* EMACS: Bash Variables. (line 152)
* EMACS: Bash Variables. (line 153)
* enable-keypad: Readline Init File Syntax.
(line 87)
* EUID: Bash Variables. (line 157)
* EUID: Bash Variables. (line 158)
* expand-tilde: Readline Init File Syntax.
(line 92)
* FCEDIT: Bash Variables. (line 161)
* FIGNORE: Bash Variables. (line 165)
* FUNCNAME: Bash Variables. (line 171)
* GLOBIGNORE: Bash Variables. (line 180)
* GROUPS: Bash Variables. (line 186)
* histchars: Bash Variables. (line 192)
* HISTCMD: Bash Variables. (line 207)
* HISTCONTROL: Bash Variables. (line 212)
* HISTFILE: Bash Variables. (line 228)
* HISTFILESIZE: Bash Variables. (line 232)
* HISTIGNORE: Bash Variables. (line 240)
* FCEDIT: Bash Variables. (line 162)
* FIGNORE: Bash Variables. (line 166)
* FUNCNAME: Bash Variables. (line 172)
* GLOBIGNORE: Bash Variables. (line 181)
* GROUPS: Bash Variables. (line 187)
* histchars: Bash Variables. (line 193)
* HISTCMD: Bash Variables. (line 208)
* HISTCONTROL: Bash Variables. (line 213)
* HISTFILE: Bash Variables. (line 229)
* HISTFILESIZE: Bash Variables. (line 233)
* HISTIGNORE: Bash Variables. (line 241)
* history-preserve-point: Readline Init File Syntax.
(line 96)
* HISTSIZE: Bash Variables. (line 259)
* HISTTIMEFORMAT: Bash Variables. (line 263)
* HISTSIZE: Bash Variables. (line 260)
* HISTTIMEFORMAT: Bash Variables. (line 264)
* HOME: Bourne Shell Variables.
(line 13)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 101)
* HOSTFILE: Bash Variables. (line 270)
* HOSTNAME: Bash Variables. (line 281)
* HOSTTYPE: Bash Variables. (line 284)
* HOSTFILE: Bash Variables. (line 271)
* HOSTNAME: Bash Variables. (line 282)
* HOSTTYPE: Bash Variables. (line 285)
* IFS: Bourne Shell Variables.
(line 18)
* IGNOREEOF: Bash Variables. (line 287)
* IGNOREEOF: Bash Variables. (line 288)
* input-meta: Readline Init File Syntax.
(line 108)
* INPUTRC: Bash Variables. (line 297)
* INPUTRC: Bash Variables. (line 298)
* isearch-terminators: Readline Init File Syntax.
(line 115)
* keymap: Readline Init File Syntax.
(line 122)
* LANG: Bash Variables. (line 301)
* LC_ALL: Bash Variables. (line 305)
* LC_COLLATE: Bash Variables. (line 309)
* LC_CTYPE: Bash Variables. (line 316)
* LANG: Bash Variables. (line 302)
* LC_ALL: Bash Variables. (line 306)
* LC_COLLATE: Bash Variables. (line 310)
* LC_CTYPE: Bash Variables. (line 317)
* LC_MESSAGES <1>: Locale Translation. (line 11)
* LC_MESSAGES: Bash Variables. (line 321)
* LC_NUMERIC: Bash Variables. (line 325)
* LINENO: Bash Variables. (line 329)
* LINES: Bash Variables. (line 333)
* MACHTYPE: Bash Variables. (line 338)
* LC_MESSAGES: Bash Variables. (line 322)
* LC_NUMERIC: Bash Variables. (line 326)
* LINENO: Bash Variables. (line 330)
* LINES: Bash Variables. (line 334)
* MACHTYPE: Bash Variables. (line 339)
* MAIL: Bourne Shell Variables.
(line 22)
* MAILCHECK: Bash Variables. (line 342)
* MAILCHECK: Bash Variables. (line 343)
* MAILPATH: Bourne Shell Variables.
(line 27)
* mark-modified-lines: Readline Init File Syntax.
@@ -9220,46 +9217,46 @@ Parameter and Variable Index
(line 145)
* meta-flag: Readline Init File Syntax.
(line 108)
* OLDPWD: Bash Variables. (line 350)
* OLDPWD: Bash Variables. (line 351)
* OPTARG: Bourne Shell Variables.
(line 34)
* OPTERR: Bash Variables. (line 353)
* OPTERR: Bash Variables. (line 354)
* OPTIND: Bourne Shell Variables.
(line 38)
* OSTYPE: Bash Variables. (line 357)
* OSTYPE: Bash Variables. (line 358)
* output-meta: Readline Init File Syntax.
(line 152)
* page-completions: Readline Init File Syntax.
(line 157)
* PATH: Bourne Shell Variables.
(line 42)
* PIPESTATUS: Bash Variables. (line 360)
* POSIXLY_CORRECT: Bash Variables. (line 365)
* PPID: Bash Variables. (line 374)
* PROMPT_COMMAND: Bash Variables. (line 378)
* PIPESTATUS: Bash Variables. (line 361)
* POSIXLY_CORRECT: Bash Variables. (line 366)
* PPID: Bash Variables. (line 375)
* PROMPT_COMMAND: Bash Variables. (line 379)
* PS1: Bourne Shell Variables.
(line 48)
* PS2: Bourne Shell Variables.
(line 53)
* PS3: Bash Variables. (line 382)
* PS4: Bash Variables. (line 387)
* PWD: Bash Variables. (line 393)
* RANDOM: Bash Variables. (line 396)
* REPLY: Bash Variables. (line 401)
* SECONDS: Bash Variables. (line 404)
* SHELL: Bash Variables. (line 410)
* SHELLOPTS: Bash Variables. (line 415)
* SHLVL: Bash Variables. (line 424)
* PS3: Bash Variables. (line 383)
* PS4: Bash Variables. (line 388)
* PWD: Bash Variables. (line 394)
* RANDOM: Bash Variables. (line 397)
* REPLY: Bash Variables. (line 402)
* SECONDS: Bash Variables. (line 405)
* SHELL: Bash Variables. (line 411)
* SHELLOPTS: Bash Variables. (line 416)
* SHLVL: Bash Variables. (line 425)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 167)
* show-all-if-unmodified: Readline Init File Syntax.
(line 173)
* TEXTDOMAIN: Locale Translation. (line 11)
* TEXTDOMAINDIR: Locale Translation. (line 11)
* TIMEFORMAT: Bash Variables. (line 429)
* TMOUT: Bash Variables. (line 467)
* TMPDIR: Bash Variables. (line 479)
* UID: Bash Variables. (line 483)
* TIMEFORMAT: Bash Variables. (line 430)
* TMOUT: Bash Variables. (line 468)
* TMPDIR: Bash Variables. (line 480)
* UID: Bash Variables. (line 484)
* visible-stats: Readline Init File Syntax.
(line 182)
@@ -9527,129 +9524,129 @@ Concept Index

Tag Table:
Node: Top1351
Node: Introduction3426
Node: What is Bash?3654
Node: What is a shell?4767
Node: Definitions7308
Node: Basic Shell Features10075
Node: Shell Syntax11294
Node: Shell Operation12324
Node: Quoting13618
Node: Escape Character14921
Node: Single Quotes15406
Node: Double Quotes15754
Node: ANSI-C Quoting16879
Node: Locale Translation17835
Node: Comments18731
Node: Shell Commands19345
Node: Simple Commands20111
Node: Pipelines20742
Node: Lists22617
Node: Compound Commands24248
Node: Looping Constructs25032
Node: Conditional Constructs27479
Node: Command Grouping34938
Node: Shell Functions36387
Node: Shell Parameters40796
Node: Positional Parameters43126
Node: Special Parameters44026
Node: Shell Expansions46990
Node: Brace Expansion48915
Node: Tilde Expansion51240
Node: Shell Parameter Expansion53591
Node: Command Substitution61061
Node: Arithmetic Expansion62394
Node: Process Substitution63244
Node: Word Splitting64294
Node: Filename Expansion65755
Node: Pattern Matching67891
Node: Quote Removal71209
Node: Redirections71504
Node: Executing Commands79234
Node: Simple Command Expansion79904
Node: Command Search and Execution81834
Node: Command Execution Environment83840
Node: Environment86611
Node: Exit Status88271
Node: Signals89475
Node: Shell Scripts91439
Node: Shell Builtin Commands93957
Node: Bourne Shell Builtins95626
Node: Bash Builtins112701
Node: The Set Builtin142080
Node: Special Builtins150455
Node: Shell Variables151425
Node: Bourne Shell Variables151865
Node: Bash Variables153846
Node: Bash Features174069
Node: Invoking Bash174952
Node: Bash Startup Files180761
Node: Interactive Shells185619
Node: What is an Interactive Shell?186029
Node: Is this Shell Interactive?186679
Node: Interactive Shell Behavior187494
Node: Bash Conditional Expressions190770
Node: Shell Arithmetic194349
Node: Aliases197095
Node: Arrays199663
Node: The Directory Stack203012
Node: Directory Stack Builtins203726
Node: Printing a Prompt206617
Node: The Restricted Shell209331
Node: Bash POSIX Mode211163
Node: Job Control218922
Node: Job Control Basics219389
Node: Job Control Builtins223765
Node: Job Control Variables228092
Node: Command Line Editing229250
Node: Introduction and Notation230249
Node: Readline Interaction231871
Node: Readline Bare Essentials233062
Node: Readline Movement Commands234851
Node: Readline Killing Commands235816
Node: Readline Arguments237736
Node: Searching238780
Node: Readline Init File240966
Node: Readline Init File Syntax242113
Node: Conditional Init Constructs254444
Node: Sample Init File256977
Node: Bindable Readline Commands260094
Node: Commands For Moving261301
Node: Commands For History262162
Node: Commands For Text265317
Node: Commands For Killing267990
Node: Numeric Arguments270132
Node: Commands For Completion271271
Node: Keyboard Macros274864
Node: Miscellaneous Commands275435
Node: Readline vi Mode280746
Node: Programmable Completion281660
Node: Programmable Completion Builtins287452
Node: Using History Interactively295048
Node: Bash History Facilities295728
Node: Bash History Builtins298423
Node: History Interaction302280
Node: Event Designators304836
Node: Word Designators305851
Node: Modifiers307490
Node: Installing Bash308896
Node: Basic Installation310026
Node: Compilers and Options312718
Node: Compiling For Multiple Architectures313459
Node: Installation Names315123
Node: Specifying the System Type315941
Node: Sharing Defaults316657
Node: Operation Controls317330
Node: Optional Features318288
Node: Reporting Bugs327219
Node: Major Differences From The Bourne Shell328413
Node: Copying This Manual345078
Node: GNU Free Documentation License345354
Node: Builtin Index367760
Node: Reserved Word Index374309
Node: Variable Index376745
Node: Function Index387678
Node: Concept Index394398
Node: Top1359
Node: Introduction3442
Node: What is Bash?3670
Node: What is a shell?4783
Node: Definitions7324
Node: Basic Shell Features10091
Node: Shell Syntax11310
Node: Shell Operation12340
Node: Quoting13634
Node: Escape Character14937
Node: Single Quotes15422
Node: Double Quotes15770
Node: ANSI-C Quoting16895
Node: Locale Translation17851
Node: Comments18747
Node: Shell Commands19361
Node: Simple Commands20127
Node: Pipelines20758
Node: Lists22633
Node: Compound Commands24264
Node: Looping Constructs25048
Node: Conditional Constructs27495
Node: Command Grouping34954
Node: Shell Functions36403
Node: Shell Parameters40812
Node: Positional Parameters43142
Node: Special Parameters44042
Node: Shell Expansions47006
Node: Brace Expansion48931
Node: Tilde Expansion51256
Node: Shell Parameter Expansion53607
Node: Command Substitution61077
Node: Arithmetic Expansion62410
Node: Process Substitution63260
Node: Word Splitting64310
Node: Filename Expansion65771
Node: Pattern Matching67907
Node: Quote Removal71225
Node: Redirections71520
Node: Executing Commands79250
Node: Simple Command Expansion79920
Node: Command Search and Execution81850
Node: Command Execution Environment83856
Node: Environment86627
Node: Exit Status88287
Node: Signals89491
Node: Shell Scripts91455
Node: Shell Builtin Commands93973
Node: Bourne Shell Builtins95642
Node: Bash Builtins112744
Node: The Set Builtin142004
Node: Special Builtins150379
Node: Shell Variables151349
Node: Bourne Shell Variables151789
Node: Bash Variables153770
Node: Bash Features174084
Node: Invoking Bash174967
Node: Bash Startup Files180776
Node: Interactive Shells185634
Node: What is an Interactive Shell?186044
Node: Is this Shell Interactive?186694
Node: Interactive Shell Behavior187509
Node: Bash Conditional Expressions190785
Node: Shell Arithmetic194364
Node: Aliases197110
Node: Arrays199678
Node: The Directory Stack203027
Node: Directory Stack Builtins203741
Node: Printing a Prompt206632
Node: The Restricted Shell209346
Node: Bash POSIX Mode211178
Node: Job Control218937
Node: Job Control Basics219404
Node: Job Control Builtins223780
Node: Job Control Variables228107
Node: Command Line Editing229265
Node: Introduction and Notation230264
Node: Readline Interaction231886
Node: Readline Bare Essentials233077
Node: Readline Movement Commands234866
Node: Readline Killing Commands235831
Node: Readline Arguments237751
Node: Searching238795
Node: Readline Init File240981
Node: Readline Init File Syntax242128
Node: Conditional Init Constructs254459
Node: Sample Init File256992
Node: Bindable Readline Commands260109
Node: Commands For Moving261316
Node: Commands For History262177
Node: Commands For Text265332
Node: Commands For Killing268005
Node: Numeric Arguments270147
Node: Commands For Completion271286
Node: Keyboard Macros274879
Node: Miscellaneous Commands275450
Node: Readline vi Mode280761
Node: Programmable Completion281675
Node: Programmable Completion Builtins287467
Node: Using History Interactively295063
Node: Bash History Facilities295743
Node: Bash History Builtins298438
Node: History Interaction302295
Node: Event Designators304851
Node: Word Designators305866
Node: Modifiers307505
Node: Installing Bash308911
Node: Basic Installation310041
Node: Compilers and Options312733
Node: Compiling For Multiple Architectures313474
Node: Installation Names315138
Node: Specifying the System Type315956
Node: Sharing Defaults316672
Node: Operation Controls317345
Node: Optional Features318303
Node: Reporting Bugs327234
Node: Major Differences From The Bourne Shell328428
Node: Copying This Manual345093
Node: GNU Free Documentation License345369
Node: Builtin Index367775
Node: Reserved Word Index374324
Node: Variable Index376760
Node: Function Index387693
Node: Concept Index394413

End Tag Table