commit bash-20120706 snapshot

This commit is contained in:
Chet Ramey
2012-08-13 11:54:32 -04:00
parent 87c1f4ece2
commit 9f178efb2e
44 changed files with 34972 additions and 16191 deletions
+109 -109
View File
@@ -24,116 +24,116 @@
@numsubsecentry{GNU Parallel}{3.2.6}{GNU Parallel}{15}
@numsecentry{Shell Functions}{3.3}{Shell Functions}{16}
@numsecentry{Shell Parameters}{3.4}{Shell Parameters}{18}
@numsubsecentry{Positional Parameters}{3.4.1}{Positional Parameters}{18}
@numsubsecentry{Positional Parameters}{3.4.1}{Positional Parameters}{19}
@numsubsecentry{Special Parameters}{3.4.2}{Special Parameters}{19}
@numsecentry{Shell Expansions}{3.5}{Shell Expansions}{20}
@numsubsecentry{Brace Expansion}{3.5.1}{Brace Expansion}{20}
@numsubsecentry{Brace Expansion}{3.5.1}{Brace Expansion}{21}
@numsubsecentry{Tilde Expansion}{3.5.2}{Tilde Expansion}{21}
@numsubsecentry{Shell Parameter Expansion}{3.5.3}{Shell Parameter Expansion}{22}
@numsubsecentry{Command Substitution}{3.5.4}{Command Substitution}{25}
@numsubsecentry{Arithmetic Expansion}{3.5.5}{Arithmetic Expansion}{25}
@numsubsecentry{Process Substitution}{3.5.6}{Process Substitution}{25}
@numsubsecentry{Word Splitting}{3.5.7}{Word Splitting}{26}
@numsubsecentry{Filename Expansion}{3.5.8}{Filename Expansion}{26}
@numsubsubsecentry{Pattern Matching}{3.5.8.1}{Pattern Matching}{27}
@numsubsecentry{Quote Removal}{3.5.9}{Quote Removal}{28}
@numsecentry{Redirections}{3.6}{Redirections}{28}
@numsubsecentry{Redirecting Input}{3.6.1}{}{29}
@numsubsecentry{Redirecting Output}{3.6.2}{}{30}
@numsubsecentry{Appending Redirected Output}{3.6.3}{}{30}
@numsubsecentry{Redirecting Standard Output and Standard Error}{3.6.4}{}{30}
@numsubsecentry{Appending Standard Output and Standard Error}{3.6.5}{}{30}
@numsubsecentry{Here Documents}{3.6.6}{}{31}
@numsubsecentry{Here Strings}{3.6.7}{}{31}
@numsubsecentry{Duplicating File Descriptors}{3.6.8}{}{31}
@numsubsecentry{Moving File Descriptors}{3.6.9}{}{32}
@numsubsecentry{Opening File Descriptors for Reading and Writing}{3.6.10}{}{32}
@numsecentry{Executing Commands}{3.7}{Executing Commands}{32}
@numsubsecentry{Simple Command Expansion}{3.7.1}{Simple Command Expansion}{32}
@numsubsecentry{Command Search and Execution}{3.7.2}{Command Search and Execution}{33}
@numsubsecentry{Command Execution Environment}{3.7.3}{Command Execution Environment}{33}
@numsubsecentry{Environment}{3.7.4}{Environment}{34}
@numsubsecentry{Exit Status}{3.7.5}{Exit Status}{35}
@numsubsecentry{Signals}{3.7.6}{Signals}{35}
@numsecentry{Shell Scripts}{3.8}{Shell Scripts}{36}
@numchapentry{Shell Builtin Commands}{4}{Shell Builtin Commands}{37}
@numsecentry{Bourne Shell Builtins}{4.1}{Bourne Shell Builtins}{37}
@numsecentry{Bash Builtin Commands}{4.2}{Bash Builtins}{44}
@numsecentry{Modifying Shell Behavior}{4.3}{Modifying Shell Behavior}{54}
@numsubsecentry{The Set Builtin}{4.3.1}{The Set Builtin}{54}
@numsubsecentry{The Shopt Builtin}{4.3.2}{The Shopt Builtin}{58}
@numsecentry{Special Builtins}{4.4}{Special Builtins}{63}
@numchapentry{Shell Variables}{5}{Shell Variables}{65}
@numsecentry{Bourne Shell Variables}{5.1}{Bourne Shell Variables}{65}
@numsecentry{Bash Variables}{5.2}{Bash Variables}{65}
@numchapentry{Bash Features}{6}{Bash Features}{75}
@numsecentry{Invoking Bash}{6.1}{Invoking Bash}{75}
@numsecentry{Bash Startup Files}{6.2}{Bash Startup Files}{77}
@numsecentry{Interactive Shells}{6.3}{Interactive Shells}{78}
@numsubsecentry{What is an Interactive Shell?}{6.3.1}{What is an Interactive Shell?}{79}
@numsubsecentry{Is this Shell Interactive?}{6.3.2}{Is this Shell Interactive?}{79}
@numsubsecentry{Interactive Shell Behavior}{6.3.3}{Interactive Shell Behavior}{79}
@numsecentry{Bash Conditional Expressions}{6.4}{Bash Conditional Expressions}{80}
@numsecentry{Shell Arithmetic}{6.5}{Shell Arithmetic}{82}
@numsecentry{Aliases}{6.6}{Aliases}{83}
@numsecentry{Arrays}{6.7}{Arrays}{84}
@numsecentry{The Directory Stack}{6.8}{The Directory Stack}{85}
@numsubsecentry{Directory Stack Builtins}{6.8.1}{Directory Stack Builtins}{85}
@numsecentry{Controlling the Prompt}{6.9}{Controlling the Prompt}{87}
@numsecentry{The Restricted Shell}{6.10}{The Restricted Shell}{88}
@numsecentry{Bash POSIX Mode}{6.11}{Bash POSIX Mode}{88}
@numchapentry{Job Control}{7}{Job Control}{93}
@numsecentry{Job Control Basics}{7.1}{Job Control Basics}{93}
@numsecentry{Job Control Builtins}{7.2}{Job Control Builtins}{94}
@numsecentry{Job Control Variables}{7.3}{Job Control Variables}{96}
@numchapentry{Command Line Editing}{8}{Command Line Editing}{97}
@numsecentry{Introduction to Line Editing}{8.1}{Introduction and Notation}{97}
@numsecentry{Readline Interaction}{8.2}{Readline Interaction}{97}
@numsubsecentry{Readline Bare Essentials}{8.2.1}{Readline Bare Essentials}{98}
@numsubsecentry{Readline Movement Commands}{8.2.2}{Readline Movement Commands}{98}
@numsubsecentry{Readline Killing Commands}{8.2.3}{Readline Killing Commands}{99}
@numsubsecentry{Readline Arguments}{8.2.4}{Readline Arguments}{99}
@numsubsecentry{Searching for Commands in the History}{8.2.5}{Searching}{99}
@numsecentry{Readline Init File}{8.3}{Readline Init File}{100}
@numsubsecentry{Readline Init File Syntax}{8.3.1}{Readline Init File Syntax}{100}
@numsubsecentry{Conditional Init Constructs}{8.3.2}{Conditional Init Constructs}{107}
@numsubsecentry{Sample Init File}{8.3.3}{Sample Init File}{108}
@numsecentry{Bindable Readline Commands}{8.4}{Bindable Readline Commands}{111}
@numsubsecentry{Commands For Moving}{8.4.1}{Commands For Moving}{111}
@numsubsecentry{Commands For Manipulating The History}{8.4.2}{Commands For History}{112}
@numsubsecentry{Commands For Changing Text}{8.4.3}{Commands For Text}{113}
@numsubsecentry{Killing And Yanking}{8.4.4}{Commands For Killing}{114}
@numsubsecentry{Specifying Numeric Arguments}{8.4.5}{Numeric Arguments}{115}
@numsubsecentry{Letting Readline Type For You}{8.4.6}{Commands For Completion}{116}
@numsubsecentry{Keyboard Macros}{8.4.7}{Keyboard Macros}{117}
@numsubsecentry{Some Miscellaneous Commands}{8.4.8}{Miscellaneous Commands}{118}
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{120}
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{120}
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{122}
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{126}
@numchapentry{Using History Interactively}{9}{Using History Interactively}{129}
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{129}
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{129}
@numsecentry{History Expansion}{9.3}{History Interaction}{131}
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{132}
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{132}
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{133}
@numchapentry{Installing Bash}{10}{Installing Bash}{135}
@numsecentry{Basic Installation}{10.1}{Basic Installation}{135}
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{136}
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{136}
@numsecentry{Installation Names}{10.4}{Installation Names}{136}
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{136}
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{137}
@numsecentry{Operation Controls}{10.7}{Operation Controls}{137}
@numsecentry{Optional Features}{10.8}{Optional Features}{137}
@appentry{Reporting Bugs}{A}{Reporting Bugs}{143}
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{145}
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{149}
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{151}
@appentry{Indexes}{D}{Indexes}{159}
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{159}
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{160}
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{160}
@appsecentry{Function Index}{D.4}{Function Index}{162}
@appsecentry{Concept Index}{D.5}{Concept Index}{164}
@numsubsecentry{Command Substitution}{3.5.4}{Command Substitution}{27}
@numsubsecentry{Arithmetic Expansion}{3.5.5}{Arithmetic Expansion}{28}
@numsubsecentry{Process Substitution}{3.5.6}{Process Substitution}{28}
@numsubsecentry{Word Splitting}{3.5.7}{Word Splitting}{28}
@numsubsecentry{Filename Expansion}{3.5.8}{Filename Expansion}{29}
@numsubsubsecentry{Pattern Matching}{3.5.8.1}{Pattern Matching}{29}
@numsubsecentry{Quote Removal}{3.5.9}{Quote Removal}{30}
@numsecentry{Redirections}{3.6}{Redirections}{31}
@numsubsecentry{Redirecting Input}{3.6.1}{}{32}
@numsubsecentry{Redirecting Output}{3.6.2}{}{32}
@numsubsecentry{Appending Redirected Output}{3.6.3}{}{32}
@numsubsecentry{Redirecting Standard Output and Standard Error}{3.6.4}{}{32}
@numsubsecentry{Appending Standard Output and Standard Error}{3.6.5}{}{33}
@numsubsecentry{Here Documents}{3.6.6}{}{33}
@numsubsecentry{Here Strings}{3.6.7}{}{33}
@numsubsecentry{Duplicating File Descriptors}{3.6.8}{}{33}
@numsubsecentry{Moving File Descriptors}{3.6.9}{}{34}
@numsubsecentry{Opening File Descriptors for Reading and Writing}{3.6.10}{}{34}
@numsecentry{Executing Commands}{3.7}{Executing Commands}{34}
@numsubsecentry{Simple Command Expansion}{3.7.1}{Simple Command Expansion}{34}
@numsubsecentry{Command Search and Execution}{3.7.2}{Command Search and Execution}{35}
@numsubsecentry{Command Execution Environment}{3.7.3}{Command Execution Environment}{36}
@numsubsecentry{Environment}{3.7.4}{Environment}{37}
@numsubsecentry{Exit Status}{3.7.5}{Exit Status}{37}
@numsubsecentry{Signals}{3.7.6}{Signals}{38}
@numsecentry{Shell Scripts}{3.8}{Shell Scripts}{38}
@numchapentry{Shell Builtin Commands}{4}{Shell Builtin Commands}{41}
@numsecentry{Bourne Shell Builtins}{4.1}{Bourne Shell Builtins}{41}
@numsecentry{Bash Builtin Commands}{4.2}{Bash Builtins}{48}
@numsecentry{Modifying Shell Behavior}{4.3}{Modifying Shell Behavior}{58}
@numsubsecentry{The Set Builtin}{4.3.1}{The Set Builtin}{58}
@numsubsecentry{The Shopt Builtin}{4.3.2}{The Shopt Builtin}{62}
@numsecentry{Special Builtins}{4.4}{Special Builtins}{67}
@numchapentry{Shell Variables}{5}{Shell Variables}{69}
@numsecentry{Bourne Shell Variables}{5.1}{Bourne Shell Variables}{69}
@numsecentry{Bash Variables}{5.2}{Bash Variables}{69}
@numchapentry{Bash Features}{6}{Bash Features}{79}
@numsecentry{Invoking Bash}{6.1}{Invoking Bash}{79}
@numsecentry{Bash Startup Files}{6.2}{Bash Startup Files}{81}
@numsecentry{Interactive Shells}{6.3}{Interactive Shells}{82}
@numsubsecentry{What is an Interactive Shell?}{6.3.1}{What is an Interactive Shell?}{83}
@numsubsecentry{Is this Shell Interactive?}{6.3.2}{Is this Shell Interactive?}{83}
@numsubsecentry{Interactive Shell Behavior}{6.3.3}{Interactive Shell Behavior}{83}
@numsecentry{Bash Conditional Expressions}{6.4}{Bash Conditional Expressions}{84}
@numsecentry{Shell Arithmetic}{6.5}{Shell Arithmetic}{86}
@numsecentry{Aliases}{6.6}{Aliases}{87}
@numsecentry{Arrays}{6.7}{Arrays}{88}
@numsecentry{The Directory Stack}{6.8}{The Directory Stack}{89}
@numsubsecentry{Directory Stack Builtins}{6.8.1}{Directory Stack Builtins}{89}
@numsecentry{Controlling the Prompt}{6.9}{Controlling the Prompt}{91}
@numsecentry{The Restricted Shell}{6.10}{The Restricted Shell}{92}
@numsecentry{Bash POSIX Mode}{6.11}{Bash POSIX Mode}{92}
@numchapentry{Job Control}{7}{Job Control}{97}
@numsecentry{Job Control Basics}{7.1}{Job Control Basics}{97}
@numsecentry{Job Control Builtins}{7.2}{Job Control Builtins}{98}
@numsecentry{Job Control Variables}{7.3}{Job Control Variables}{100}
@numchapentry{Command Line Editing}{8}{Command Line Editing}{101}
@numsecentry{Introduction to Line Editing}{8.1}{Introduction and Notation}{101}
@numsecentry{Readline Interaction}{8.2}{Readline Interaction}{101}
@numsubsecentry{Readline Bare Essentials}{8.2.1}{Readline Bare Essentials}{102}
@numsubsecentry{Readline Movement Commands}{8.2.2}{Readline Movement Commands}{102}
@numsubsecentry{Readline Killing Commands}{8.2.3}{Readline Killing Commands}{103}
@numsubsecentry{Readline Arguments}{8.2.4}{Readline Arguments}{103}
@numsubsecentry{Searching for Commands in the History}{8.2.5}{Searching}{103}
@numsecentry{Readline Init File}{8.3}{Readline Init File}{104}
@numsubsecentry{Readline Init File Syntax}{8.3.1}{Readline Init File Syntax}{104}
@numsubsecentry{Conditional Init Constructs}{8.3.2}{Conditional Init Constructs}{111}
@numsubsecentry{Sample Init File}{8.3.3}{Sample Init File}{112}
@numsecentry{Bindable Readline Commands}{8.4}{Bindable Readline Commands}{115}
@numsubsecentry{Commands For Moving}{8.4.1}{Commands For Moving}{115}
@numsubsecentry{Commands For Manipulating The History}{8.4.2}{Commands For History}{116}
@numsubsecentry{Commands For Changing Text}{8.4.3}{Commands For Text}{117}
@numsubsecentry{Killing And Yanking}{8.4.4}{Commands For Killing}{118}
@numsubsecentry{Specifying Numeric Arguments}{8.4.5}{Numeric Arguments}{119}
@numsubsecentry{Letting Readline Type For You}{8.4.6}{Commands For Completion}{120}
@numsubsecentry{Keyboard Macros}{8.4.7}{Keyboard Macros}{121}
@numsubsecentry{Some Miscellaneous Commands}{8.4.8}{Miscellaneous Commands}{122}
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{124}
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{124}
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{126}
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{130}
@numchapentry{Using History Interactively}{9}{Using History Interactively}{133}
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{133}
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{133}
@numsecentry{History Expansion}{9.3}{History Interaction}{135}
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{136}
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{136}
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{137}
@numchapentry{Installing Bash}{10}{Installing Bash}{139}
@numsecentry{Basic Installation}{10.1}{Basic Installation}{139}
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{140}
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{140}
@numsecentry{Installation Names}{10.4}{Installation Names}{140}
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{140}
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{141}
@numsecentry{Operation Controls}{10.7}{Operation Controls}{141}
@numsecentry{Optional Features}{10.8}{Optional Features}{141}
@appentry{Reporting Bugs}{A}{Reporting Bugs}{147}
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{149}
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{153}
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{155}
@appentry{Indexes}{D}{Indexes}{163}
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{163}
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{164}
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{164}
@appsecentry{Function Index}{D.4}{Function Index}{166}
@appsecentry{Concept Index}{D.5}{Concept Index}{168}