summaryrefslogtreecommitdiff
path: root/doc/bashref.toc
blob: 48a07e41fa1165daaa677e5c257556eb5e250ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
@numchapentry{Introduction}{1}{Introduction}{1}
@numsecentry{What is Bash?}{1.1}{What is Bash?}{1}
@numsecentry{What is a shell?}{1.2}{What is a shell?}{1}
@numchapentry{Definitions}{2}{Definitions}{3}
@numchapentry{Basic Shell Features}{3}{Basic Shell Features}{5}
@numsecentry{Shell Syntax}{3.1}{Shell Syntax}{5}
@numsubsecentry{Shell Operation}{3.1.1}{Shell Operation}{5}
@numsubsecentry{Quoting}{3.1.2}{Quoting}{6}
@numsubsubsecentry{Escape Character}{3.1.2.1}{Escape Character}{6}
@numsubsubsecentry{Single Quotes}{3.1.2.2}{Single Quotes}{6}
@numsubsubsecentry{Double Quotes}{3.1.2.3}{Double Quotes}{6}
@numsubsubsecentry{ANSI-C Quoting}{3.1.2.4}{ANSI-C Quoting}{6}
@numsubsubsecentry{Locale-Specific Translation}{3.1.2.5}{Locale Translation}{7}
@numsubsecentry{Comments}{3.1.3}{Comments}{9}
@numsecentry{Shell Commands}{3.2}{Shell Commands}{9}
@numsubsecentry{Reserved Words}{3.2.1}{Reserved Words}{9}
@numsubsecentry{Simple Commands}{3.2.2}{Simple Commands}{9}
@numsubsecentry{Pipelines}{3.2.3}{Pipelines}{10}
@numsubsecentry{Lists of Commands}{3.2.4}{Lists}{10}
@numsubsecentry{Compound Commands}{3.2.5}{Compound Commands}{11}
@numsubsubsecentry{Looping Constructs}{3.2.5.1}{Looping Constructs}{11}
@numsubsubsecentry{Conditional Constructs}{3.2.5.2}{Conditional Constructs}{12}
@numsubsubsecentry{Grouping Commands}{3.2.5.3}{Command Grouping}{17}
@numsubsecentry{Coprocesses}{3.2.6}{Coprocesses}{18}
@numsubsecentry{GNU Parallel}{3.2.7}{GNU Parallel}{19}
@numsecentry{Shell Functions}{3.3}{Shell Functions}{19}
@numsecentry{Shell Parameters}{3.4}{Shell Parameters}{21}
@numsubsecentry{Positional Parameters}{3.4.1}{Positional Parameters}{23}
@numsubsecentry{Special Parameters}{3.4.2}{Special Parameters}{23}
@numsecentry{Shell Expansions}{3.5}{Shell Expansions}{24}
@numsubsecentry{Brace Expansion}{3.5.1}{Brace Expansion}{24}
@numsubsecentry{Tilde Expansion}{3.5.2}{Tilde Expansion}{25}
@numsubsecentry{Shell Parameter Expansion}{3.5.3}{Shell Parameter Expansion}{26}
@numsubsecentry{Command Substitution}{3.5.4}{Command Substitution}{34}
@numsubsecentry{Arithmetic Expansion}{3.5.5}{Arithmetic Expansion}{35}
@numsubsecentry{Process Substitution}{3.5.6}{Process Substitution}{35}
@numsubsecentry{Word Splitting}{3.5.7}{Word Splitting}{36}
@numsubsecentry{Filename Expansion}{3.5.8}{Filename Expansion}{36}
@numsubsubsecentry{Pattern Matching}{3.5.8.1}{Pattern Matching}{37}
@numsubsecentry{Quote Removal}{3.5.9}{Quote Removal}{39}
@numsecentry{Redirections}{3.6}{Redirections}{39}
@numsubsecentry{Redirecting Input}{3.6.1}{}{40}
@numsubsecentry{Redirecting Output}{3.6.2}{}{40}
@numsubsecentry{Appending Redirected Output}{3.6.3}{}{40}
@numsubsecentry{Redirecting Standard Output and Standard Error}{3.6.4}{}{41}
@numsubsecentry{Appending Standard Output and Standard Error}{3.6.5}{}{41}
@numsubsecentry{Here Documents}{3.6.6}{}{41}
@numsubsecentry{Here Strings}{3.6.7}{}{42}
@numsubsecentry{Duplicating File Descriptors}{3.6.8}{}{42}
@numsubsecentry{Moving File Descriptors}{3.6.9}{}{42}
@numsubsecentry{Opening File Descriptors for Reading and Writing}{3.6.10}{}{42}
@numsecentry{Executing Commands}{3.7}{Executing Commands}{43}
@numsubsecentry{Simple Command Expansion}{3.7.1}{Simple Command Expansion}{43}
@numsubsecentry{Command Search and Execution}{3.7.2}{Command Search and Execution}{43}
@numsubsecentry{Command Execution Environment}{3.7.3}{Command Execution Environment}{44}
@numsubsecentry{Environment}{3.7.4}{Environment}{45}
@numsubsecentry{Exit Status}{3.7.5}{Exit Status}{45}
@numsubsecentry{Signals}{3.7.6}{Signals}{46}
@numsecentry{Shell Scripts}{3.8}{Shell Scripts}{47}
@numchapentry{Shell Builtin Commands}{4}{Shell Builtin Commands}{49}
@numsecentry{Bourne Shell Builtins}{4.1}{Bourne Shell Builtins}{49}
@numsecentry{Bash Builtin Commands}{4.2}{Bash Builtins}{57}
@numsecentry{Modifying Shell Behavior}{4.3}{Modifying Shell Behavior}{68}
@numsubsecentry{The Set Builtin}{4.3.1}{The Set Builtin}{68}
@numsubsecentry{The Shopt Builtin}{4.3.2}{The Shopt Builtin}{72}
@numsecentry{Special Builtins}{4.4}{Special Builtins}{79}
@numchapentry{Shell Variables}{5}{Shell Variables}{80}
@numsecentry{Bourne Shell Variables}{5.1}{Bourne Shell Variables}{80}
@numsecentry{Bash Variables}{5.2}{Bash Variables}{80}
@numchapentry{Bash Features}{6}{Bash Features}{93}
@numsecentry{Invoking Bash}{6.1}{Invoking Bash}{93}
@numsecentry{Bash Startup Files}{6.2}{Bash Startup Files}{95}
@numsecentry{Interactive Shells}{6.3}{Interactive Shells}{96}
@numsubsecentry{What is an Interactive Shell?}{6.3.1}{What is an Interactive Shell?}{97}
@numsubsecentry{Is this Shell Interactive?}{6.3.2}{Is this Shell Interactive?}{97}
@numsubsecentry{Interactive Shell Behavior}{6.3.3}{Interactive Shell Behavior}{97}
@numsecentry{Bash Conditional Expressions}{6.4}{Bash Conditional Expressions}{98}
@numsecentry{Shell Arithmetic}{6.5}{Shell Arithmetic}{100}
@numsecentry{Aliases}{6.6}{Aliases}{102}
@numsecentry{Arrays}{6.7}{Arrays}{102}
@numsecentry{The Directory Stack}{6.8}{The Directory Stack}{104}
@numsubsecentry{Directory Stack Builtins}{6.8.1}{Directory Stack Builtins}{105}
@numsecentry{Controlling the Prompt}{6.9}{Controlling the Prompt}{106}
@numsecentry{The Restricted Shell}{6.10}{The Restricted Shell}{108}
@numsecentry{Bash and POSIX}{6.11}{Bash POSIX Mode}{108}
@numsubsecentry{What is POSIX?}{6.11.1}{}{108}
@numsubsecentry{Bash POSIX Mode}{6.11.2}{}{109}
@numsecentry{Shell Compatibility Mode}{6.12}{Shell Compatibility Mode}{113}
@numchapentry{Job Control}{7}{Job Control}{117}
@numsecentry{Job Control Basics}{7.1}{Job Control Basics}{117}
@numsecentry{Job Control Builtins}{7.2}{Job Control Builtins}{118}
@numsecentry{Job Control Variables}{7.3}{Job Control Variables}{120}
@numchapentry{Command Line Editing}{8}{Command Line Editing}{121}
@numsecentry{Introduction to Line Editing}{8.1}{Introduction and Notation}{121}
@numsecentry{Readline Interaction}{8.2}{Readline Interaction}{121}
@numsubsecentry{Readline Bare Essentials}{8.2.1}{Readline Bare Essentials}{122}
@numsubsecentry{Readline Movement Commands}{8.2.2}{Readline Movement Commands}{122}
@numsubsecentry{Readline Killing Commands}{8.2.3}{Readline Killing Commands}{123}
@numsubsecentry{Readline Arguments}{8.2.4}{Readline Arguments}{123}
@numsubsecentry{Searching for Commands in the History}{8.2.5}{Searching}{123}
@numsecentry{Readline Init File}{8.3}{Readline Init File}{124}
@numsubsecentry{Readline Init File Syntax}{8.3.1}{Readline Init File Syntax}{124}
@numsubsecentry{Conditional Init Constructs}{8.3.2}{Conditional Init Constructs}{133}
@numsubsecentry{Sample Init File}{8.3.3}{Sample Init File}{134}
@numsecentry{Bindable Readline Commands}{8.4}{Bindable Readline Commands}{137}
@numsubsecentry{Commands For Moving}{8.4.1}{Commands For Moving}{137}
@numsubsecentry{Commands For Manipulating The History}{8.4.2}{Commands For History}{138}
@numsubsecentry{Commands For Changing Text}{8.4.3}{Commands For Text}{140}
@numsubsecentry{Killing And Yanking}{8.4.4}{Commands For Killing}{141}
@numsubsecentry{Specifying Numeric Arguments}{8.4.5}{Numeric Arguments}{142}
@numsubsecentry{Letting Readline Type For You}{8.4.6}{Commands For Completion}{143}
@numsubsecentry{Keyboard Macros}{8.4.7}{Keyboard Macros}{144}
@numsubsecentry{Some Miscellaneous Commands}{8.4.8}{Miscellaneous Commands}{145}
@numsecentry{Readline vi Mode}{8.5}{Readline vi Mode}{147}
@numsecentry{Programmable Completion}{8.6}{Programmable Completion}{147}
@numsecentry{Programmable Completion Builtins}{8.7}{Programmable Completion Builtins}{150}
@numsecentry{A Programmable Completion Example}{8.8}{A Programmable Completion Example}{154}
@numchapentry{Using History Interactively}{9}{Using History Interactively}{156}
@numsecentry{Bash History Facilities}{9.1}{Bash History Facilities}{156}
@numsecentry{Bash History Builtins}{9.2}{Bash History Builtins}{156}
@numsecentry{History Expansion}{9.3}{History Interaction}{158}
@numsubsecentry{Event Designators}{9.3.1}{Event Designators}{159}
@numsubsecentry{Word Designators}{9.3.2}{Word Designators}{160}
@numsubsecentry{Modifiers}{9.3.3}{Modifiers}{160}
@numchapentry{Installing Bash}{10}{Installing Bash}{162}
@numsecentry{Basic Installation}{10.1}{Basic Installation}{162}
@numsecentry{Compilers and Options}{10.2}{Compilers and Options}{163}
@numsecentry{Compiling For Multiple Architectures}{10.3}{Compiling For Multiple Architectures}{163}
@numsecentry{Installation Names}{10.4}{Installation Names}{164}
@numsecentry{Specifying the System Type}{10.5}{Specifying the System Type}{164}
@numsecentry{Sharing Defaults}{10.6}{Sharing Defaults}{164}
@numsecentry{Operation Controls}{10.7}{Operation Controls}{165}
@numsecentry{Optional Features}{10.8}{Optional Features}{165}
@appentry{Reporting Bugs}{A}{Reporting Bugs}{171}
@appentry{Major Differences From The Bourne Shell}{B}{Major Differences From The Bourne Shell}{172}
@appsecentry{Implementation Differences From The SVR4.2 Shell}{B.1}{}{176}
@appentry{GNU Free Documentation License}{C}{GNU Free Documentation License}{178}
@appentry{Indexes}{D}{Indexes}{186}
@appsecentry{Index of Shell Builtin Commands}{D.1}{Builtin Index}{186}
@appsecentry{Index of Shell Reserved Words}{D.2}{Reserved Word Index}{187}
@appsecentry{Parameter and Variable Index}{D.3}{Variable Index}{188}
@appsecentry{Function Index}{D.4}{Function Index}{190}
@appsecentry{Concept Index}{D.5}{Concept Index}{192}