~ubuntu-branches/ubuntu/trusty/bash/trusty-security

« back to all changes in this revision

Viewing changes to doc/builtins.ps

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-03 22:52:05 UTC
  • mfrom: (1.3.5) (2.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20140303225205-87ltrt5kspeq0g1b
Tags: 4.3-1ubuntu1
* Merge with Debian; remaining changes:
  - skel.bashrc:
    - Run lesspipe.
    - Enable ls aliases.
    - Set options in ll alias to -alF.
    - Define an alert alias.
    - Enabled colored grep aliases.
  - etc.bash.bashrc:
    - Add sudo hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%!PS-Adobe-3.0
 
2
%%Creator: groff version 1.19.2
 
3
%%CreationDate: Mon Feb 24 08:28:31 2014
 
4
%%DocumentNeededResources: font Times-Roman
 
5
%%+ font Times-Bold
 
6
%%+ font Times-Italic
 
7
%%+ font Symbol
 
8
%%+ font Courier
 
9
%%DocumentSuppliedResources: procset grops 1.19 2
 
10
%%Pages: 23
 
11
%%PageOrder: Ascend
 
12
%%DocumentMedia: Default 612 792 0 () ()
 
13
%%Orientation: Portrait
 
14
%%EndComments
 
15
%%BeginDefaults
 
16
%%PageMedia: Default
 
17
%%EndDefaults
 
18
%%BeginProlog
 
19
%%BeginResource: procset grops 1.19 2
 
20
%!PS-Adobe-3.0 Resource-ProcSet
 
21
/setpacking where{
 
22
pop
 
23
currentpacking
 
24
true setpacking
 
25
}if
 
26
/grops 120 dict dup begin
 
27
/SC 32 def
 
28
/A/show load def
 
29
/B{0 SC 3 -1 roll widthshow}bind def
 
30
/C{0 exch ashow}bind def
 
31
/D{0 exch 0 SC 5 2 roll awidthshow}bind def
 
32
/E{0 rmoveto show}bind def
 
33
/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
 
34
/G{0 rmoveto 0 exch ashow}bind def
 
35
/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
 
36
/I{0 exch rmoveto show}bind def
 
37
/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
 
38
/K{0 exch rmoveto 0 exch ashow}bind def
 
39
/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
 
40
/M{rmoveto show}bind def
 
41
/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
 
42
/O{rmoveto 0 exch ashow}bind def
 
43
/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
 
44
/Q{moveto show}bind def
 
45
/R{moveto 0 SC 3 -1 roll widthshow}bind def
 
46
/S{moveto 0 exch ashow}bind def
 
47
/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
 
48
/SF{
 
49
findfont exch
 
50
[exch dup 0 exch 0 exch neg 0 0]makefont
 
51
dup setfont
 
52
[exch/setfont cvx]cvx bind def
 
53
}bind def
 
54
/MF{
 
55
findfont
 
56
[5 2 roll
 
57
0 3 1 roll
 
58
neg 0 0]makefont
 
59
dup setfont
 
60
[exch/setfont cvx]cvx bind def
 
61
}bind def
 
62
/level0 0 def
 
63
/RES 0 def
 
64
/PL 0 def
 
65
/LS 0 def
 
66
/MANUAL{
 
67
statusdict begin/manualfeed true store end
 
68
}bind def
 
69
/PLG{
 
70
gsave newpath clippath pathbbox grestore
 
71
exch pop add exch pop
 
72
}bind def
 
73
/BP{
 
74
/level0 save def
 
75
1 setlinecap
 
76
1 setlinejoin
 
77
72 RES div dup scale
 
78
LS{
 
79
90 rotate
 
80
}{
 
81
0 PL translate
 
82
}ifelse
 
83
1 -1 scale
 
84
}bind def
 
85
/EP{
 
86
level0 restore
 
87
showpage
 
88
}def
 
89
/DA{
 
90
newpath arcn stroke
 
91
}bind def
 
92
/SN{
 
93
transform
 
94
.25 sub exch .25 sub exch
 
95
round .25 add exch round .25 add exch
 
96
itransform
 
97
}bind def
 
98
/DL{
 
99
SN
 
100
moveto
 
101
SN
 
102
lineto stroke
 
103
}bind def
 
104
/DC{
 
105
newpath 0 360 arc closepath
 
106
}bind def
 
107
/TM matrix def
 
108
/DE{
 
109
TM currentmatrix pop
 
110
translate scale newpath 0 0 .5 0 360 arc closepath
 
111
TM setmatrix
 
112
}bind def
 
113
/RC/rcurveto load def
 
114
/RL/rlineto load def
 
115
/ST/stroke load def
 
116
/MT/moveto load def
 
117
/CL/closepath load def
 
118
/Fr{
 
119
setrgbcolor fill
 
120
}bind def
 
121
/setcmykcolor where{
 
122
pop
 
123
/Fk{
 
124
setcmykcolor fill
 
125
}bind def
 
126
}if
 
127
/Fg{
 
128
setgray fill
 
129
}bind def
 
130
/FL/fill load def
 
131
/LW/setlinewidth load def
 
132
/Cr/setrgbcolor load def
 
133
/setcmykcolor where{
 
134
pop
 
135
/Ck/setcmykcolor load def
 
136
}if
 
137
/Cg/setgray load def
 
138
/RE{
 
139
findfont
 
140
dup maxlength 1 index/FontName known not{1 add}if dict begin
 
141
{
 
142
1 index/FID ne{def}{pop pop}ifelse
 
143
}forall
 
144
/Encoding exch def
 
145
dup/FontName exch def
 
146
currentdict end definefont pop
 
147
}bind def
 
148
/DEFS 0 def
 
149
/EBEGIN{
 
150
moveto
 
151
DEFS begin
 
152
}bind def
 
153
/EEND/end load def
 
154
/CNT 0 def
 
155
/level1 0 def
 
156
/PBEGIN{
 
157
/level1 save def
 
158
translate
 
159
div 3 1 roll div exch scale
 
160
neg exch neg exch translate
 
161
0 setgray
 
162
0 setlinecap
 
163
1 setlinewidth
 
164
0 setlinejoin
 
165
10 setmiterlimit
 
166
[]0 setdash
 
167
/setstrokeadjust where{
 
168
pop
 
169
false setstrokeadjust
 
170
}if
 
171
/setoverprint where{
 
172
pop
 
173
false setoverprint
 
174
}if
 
175
newpath
 
176
/CNT countdictstack def
 
177
userdict begin
 
178
/showpage{}def
 
179
/setpagedevice{}def
 
180
}bind def
 
181
/PEND{
 
182
countdictstack CNT sub{end}repeat
 
183
level1 restore
 
184
}bind def
 
185
end def
 
186
/setpacking where{
 
187
pop
 
188
setpacking
 
189
}if
 
190
%%EndResource
 
191
%%EndProlog
 
192
%%BeginSetup
 
193
%%BeginFeature: *PageSize Default
 
194
<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
 
195
%%EndFeature
 
196
%%IncludeResource: font Times-Roman
 
197
%%IncludeResource: font Times-Bold
 
198
%%IncludeResource: font Times-Italic
 
199
%%IncludeResource: font Symbol
 
200
%%IncludeResource: font Courier
 
201
grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
 
202
def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
 
203
/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
 
204
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
 
205
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
 
206
/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
 
207
/ampersand/quoteright/parenleft/parenright/asterisk/plus/comma/hyphen
 
208
/period/slash/zero/one/two/three/four/five/six/seven/eight/nine/colon
 
209
/semicolon/less/equal/greater/question/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
 
210
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/circumflex
 
211
/underscore/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y
 
212
/z/braceleft/bar/braceright/tilde/.notdef/quotesinglbase/guillemotleft
 
213
/guillemotright/bullet/florin/fraction/perthousand/dagger/daggerdbl
 
214
/endash/emdash/ff/fi/fl/ffi/ffl/dotlessi/dotlessj/grave/hungarumlaut
 
215
/dotaccent/breve/caron/ring/ogonek/quotedblleft/quotedblright/oe/lslash
 
216
/quotedblbase/OE/Lslash/.notdef/exclamdown/cent/sterling/currency/yen
 
217
/brokenbar/section/dieresis/copyright/ordfeminine/guilsinglleft
 
218
/logicalnot/minus/registered/macron/degree/plusminus/twosuperior
 
219
/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior
 
220
/ordmasculine/guilsinglright/onequarter/onehalf/threequarters
 
221
/questiondown/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE
 
222
/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex
 
223
/Idieresis/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis
 
224
/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn
 
225
/germandbls/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla
 
226
/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
 
227
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash
 
228
/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis]def
 
229
/Courier@0 ENC0/Courier RE/Times-Italic@0 ENC0/Times-Italic RE
 
230
/Times-Bold@0 ENC0/Times-Bold RE/Times-Roman@0 ENC0/Times-Roman RE
 
231
%%EndSetup
 
232
%%Page: 1 1
 
233
%%BeginPageSetup
 
234
BP
 
235
%%EndPageSetup
 
236
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
237
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10.95
 
238
/Times-Bold@0 SF -.219(NA)72 84 S(ME).219 E F0 1.325
 
239
(bash, :, ., [, alias, bg, bind, break, b)108 96 R 1.325(uiltin, caller)
 
240
-.2 F 3.825(,c)-.4 G 1.324
 
241
(d, command, compgen, complete, compopt, continue,)-3.825 F .903
 
242
(declare, dirs, diso)108 108 R .903(wn, echo, enable, e)-.25 F -.25(va)
 
243
-.25 G .904(l, e).25 F -.15(xe)-.15 G .904(c, e).15 F .904(xit, e)-.15 F
 
244
.904(xport, f)-.15 F .904(alse, fc, fg, getopts, hash, help, history)-.1
 
245
F 3.404(,j)-.65 G(obs,)-3.404 E .133(kill, let, local, logout, map\214l\
 
246
e, popd, printf, pushd, pwd, read, readonly)108 120 R 2.633(,r)-.65 G
 
247
.133(eturn, set, shift, shopt, source, sus-)-2.633 F .279(pend, test, t\
 
248
imes, trap, true, type, typeset, ulimit, umask, unalias, unset, w)108
 
249
132 R .279(ait \255 bash b)-.1 F .279(uilt-in commands, see)-.2 F/F2 10
 
250
/Times-Bold@0 SF(bash)108 144 Q F0(\(1\))A F1 -.329(BA)72 160.8 S(SH B)
 
251
.329 E(UIL)-.11 E(TIN COMMANDS)-1.007 E F0 .063
 
252
(Unless otherwise noted, each b)108 172.8 R .062(uiltin command documen\
 
253
ted in this section as accepting options preceded by)-.2 F F2<ad>108
 
254
184.8 Q F0(accepts)2.533 E F2<adad>2.533 E F0 .034
 
255
(to signify the end of the options.)2.533 F(The)5.034 E F2(:)2.534 E F0
 
256
(,)A F2(true)2.534 E F0(,)A F2(false)2.534 E F0 2.534(,a)C(nd)-2.534 E
 
257
F2(test)2.534 E F0 -.2(bu)2.534 G .034(iltins do not accept options and)
 
258
.2 F .078(do not treat)108 196.8 R F2<adad>2.577 E F0(specially)2.577 E
 
259
5.077(.T)-.65 G(he)-5.077 E F2(exit)2.577 E F0(,)A F2(logout)2.577 E F0
 
260
(,)A F2(br)2.577 E(eak)-.18 E F0(,)A F2(continue)2.577 E F0(,)A F2(let)
 
261
2.577 E F0 2.577(,a)C(nd)-2.577 E F2(shift)2.577 E F0 -.2(bu)2.577 G
 
262
.077(iltins accept and process ar).2 F(gu-)-.18 E .319(ments be)108
 
263
208.8 R .319(ginning with)-.15 F F2<ad>2.819 E F0 .319
 
264
(without requiring)2.819 F F2<adad>2.819 E F0 5.319(.O)C .319(ther b)
 
265
-5.319 F .319(uiltins that accept ar)-.2 F .32(guments b)-.18 F .32
 
266
(ut are not speci\214ed as)-.2 F 1.144(accepting options interpret ar)
 
267
108 220.8 R 1.144(guments be)-.18 F 1.144(ginning with)-.15 F F2<ad>
 
268
3.643 E F0 1.143(as in)3.643 F -.25(va)-.4 G 1.143
 
269
(lid options and require).25 F F2<adad>3.643 E F0 1.143(to pre)3.643 F
 
270
-.15(ve)-.25 G 1.143(nt this).15 F(interpretation.)108 232.8 Q F2(:)108
 
271
250.8 Q F0([)2.5 E/F3 10/Times-Italic@0 SF(ar)A(guments)-.37 E F0(])A
 
272
.451(No ef)144 262.8 R .451(fect; the command does nothing be)-.25 F
 
273
.452(yond e)-.15 F(xpanding)-.15 E F3(ar)3.282 E(guments)-.37 E F0 .452
 
274
(and performing an)3.222 F 2.952(ys)-.15 G(peci\214ed)-2.952 E 2.5
 
275
(redirections. A)144 274.8 R(zero e)2.5 E(xit code is returned.)-.15 E
 
276
F2(.)110.5 291.6 Q F3(\214lename)6.666 E F0([)2.5 E F3(ar)A(guments)-.37
 
277
E F0(])A F2(sour)108 303.6 Q(ce)-.18 E F3(\214lename)2.5 E F0([)2.5 E F3
 
278
(ar)A(guments)-.37 E F0(])A 1.02(Read and e)144 315.6 R -.15(xe)-.15 G
 
279
1.02(cute commands from).15 F F3(\214lename)5.43 E F0 1.02
 
280
(in the current shell en)3.7 F 1.02(vironment and return the e)-.4 F
 
281
(xit)-.15 E 1.458(status of the last command e)144 327.6 R -.15(xe)-.15
 
282
G 1.458(cuted from).15 F F3(\214lename)3.958 E F0 6.458(.I).18 G(f)
 
283
-6.458 E F3(\214lename)5.868 E F0 1.458
 
284
(does not contain a slash, \214le-)4.138 F .608(names in)144 339.6 R/F4
 
285
9/Times-Bold@0 SF -.666(PA)3.108 G(TH)-.189 E F0 .608
 
286
(are used to \214nd the directory containing)2.858 F F3(\214lename)3.108
 
287
E F0 5.608(.T).18 G .608(he \214le searched for in)-5.608 F F4 -.666(PA)
 
288
3.108 G(TH)-.189 E F0 .832(need not be e)144 351.6 R -.15(xe)-.15 G
 
289
3.332(cutable. When).15 F F2(bash)3.332 E F0 .832(is not in)3.332 F F3
 
290
.832(posix mode)3.332 F F0 3.332(,t)C .833
 
291
(he current directory is searched if no)-3.332 F .982
 
292
(\214le is found in)144 363.6 R F4 -.666(PA)3.481 G(TH)-.189 E/F5 9
 
293
/Times-Roman@0 SF(.)A F0 .981(If the)5.481 F F2(sour)3.481 E(cepath)-.18
 
294
E F0 .981(option to the)3.481 F F2(shopt)3.481 E F0 -.2(bu)3.481 G .981
 
295
(iltin command is turned of).2 F .981(f, the)-.25 F F4 -.666(PA)144
 
296
375.6 S(TH)-.189 E F0 .112(is not searched.)2.362 F .112(If an)5.112 F
 
297
(y)-.15 E F3(ar)2.612 E(guments)-.37 E F0 .112(are supplied, the)2.612 F
 
298
2.612(yb)-.15 G .112(ecome the positional parameters when)-2.612 F F3
 
299
(\214lename)144 387.6 Q F0 .342(is e)2.842 F -.15(xe)-.15 G 2.842
 
300
(cuted. Otherwise).15 F .342(the positional parameters are unchanged.)
 
301
2.842 F .341(The return status is the)5.341 F .716
 
302
(status of the last command e)144 399.6 R .716
 
303
(xited within the script \(0 if no commands are e)-.15 F -.15(xe)-.15 G
 
304
.716(cuted\), and f).15 F .716(alse if)-.1 F F3(\214lename)145.91 411.6
 
305
Q F0(is not found or cannot be read.)2.68 E F2(alias)108 428.4 Q F0([)
 
306
2.5 E F2<ad70>A F0 2.5(][)C F3(name)-2.5 E F0([=)A F3(value)A F0 2.5(].)
 
307
C(..])-2.5 E F2(Alias)144 440.4 Q F0 2.725(with no ar)5.225 F 2.724
 
308
(guments or with the)-.18 F F2<ad70>5.224 E F0 2.724
 
309
(option prints the list of aliases in the form)5.224 F F2(alias)5.224 E
 
310
F3(name)144 452.4 Q F0(=)A F3(value)A F0 .58(on standard output.)3.08 F
 
311
.58(When ar)5.58 F .58
 
312
(guments are supplied, an alias is de\214ned for each)-.18 F F3(name)
 
313
3.08 E F0(whose)144 464.4 Q F3(value)2.895 E F0 .395(is gi)2.895 F -.15
 
314
(ve)-.25 G 2.895(n. A).15 F .395(trailing space in)2.895 F F3(value)
 
315
5.395 E F0 .395(causes the ne)2.895 F .395(xt w)-.15 F .395
 
316
(ord to be check)-.1 F .395(ed for alias sub-)-.1 F .054
 
317
(stitution when the alias is e)144 476.4 R 2.554(xpanded. F)-.15 F .054
 
318
(or each)-.15 F F3(name)2.554 E F0 .054(in the ar)2.554 F .054
 
319
(gument list for which no)-.18 F F3(value)2.554 E F0 .054(is sup-)2.554
 
320
F 1.314(plied, the name and v)144 488.4 R 1.314
 
321
(alue of the alias is printed.)-.25 F F2(Alias)6.314 E F0 1.314
 
322
(returns true unless a)3.814 F F3(name)3.814 E F0 1.313(is gi)3.814 F
 
323
-.15(ve)-.25 G 3.813(nf).15 G(or)-3.813 E
 
324
(which no alias has been de\214ned.)144 500.4 Q F2(bg)108 517.2 Q F0([)
 
325
2.5 E F3(jobspec)A F0(...])2.5 E .744(Resume each suspended job)144
 
326
529.2 R F3(jobspec)3.244 E F0 .745
 
327
(in the background, as if it had been started with)3.244 F F2(&)3.245 E
 
328
F0 5.745(.I)C(f)-5.745 E F3(job-)4.985 E(spec)144 541.2 Q F0 .672
 
329
(is not present, the shell')3.482 F 3.172(sn)-.55 G .672(otion of the)
 
330
-3.172 F F3(curr)3.172 E .672(ent job)-.37 F F0 .672(is used.)3.172 F F2
 
331
(bg)5.671 E F3(jobspec)4.911 E F0 .671(returns 0 unless run)3.481 F .418
 
332
(when job control is disabled or)144 553.2 R 2.919(,w)-.4 G .419
 
333
(hen run with job control enabled, an)-2.919 F 2.919(ys)-.15 G
 
334
(peci\214ed)-2.919 E F3(jobspec)2.919 E F0 -.1(wa)2.919 G 2.919(sn).1 G
 
335
(ot)-2.919 E(found or w)144 565.2 Q(as started without job control.)-.1
 
336
E F2(bind)108 582 Q F0([)2.5 E F2<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0
 
337
2.5(][)C F2(\255lpsvPSVX)-2.5 E F0(])A F2(bind)108 594 Q F0([)2.5 E F2
 
338
<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0 2.5(][)C F2<ad71>-2.5 E F3
 
339
(function)2.5 E F0 2.5(][)C F2<ad75>-2.5 E F3(function)2.5 E F0 2.5(][)C
 
340
F2<ad72>-2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(])A F2(bind)108 606 Q F0([)
 
341
2.5 E F2<ad6d>A F3 -.1(ke)2.5 G(ymap)-.2 E F0(])A F2<ad66>2.5 E F3
 
342
(\214lename)2.5 E F2(bind)108 618 Q F0([)2.5 E F2<ad6d>A F3 -.1(ke)2.5 G
 
343
(ymap)-.2 E F0(])A F2<ad78>2.5 E F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3
 
344
(shell\255command)A F2(bind)108 630 Q F0([)2.5 E F2<ad6d>A F3 -.1(ke)2.5
 
345
G(ymap)-.2 E F0(])A F3 -.1(ke)2.5 G(yseq)-.2 E F0(:)A F3
 
346
(function\255name)A F2(bind)108 642 Q F3 -.37(re)2.5 G
 
347
(adline\255command).37 E F0 .239(Display current)144 654 R F2 -.18(re)
 
348
2.739 G(adline).18 E F0 -.1(ke)2.739 G 2.739(ya)-.05 G .239
 
349
(nd function bindings, bind a k)-2.739 F .539 -.15(ey s)-.1 H .238
 
350
(equence to a).15 F F2 -.18(re)2.738 G(adline).18 E F0 .238(function or)
 
351
2.738 F .475(macro, or set a)144 666 R F2 -.18(re)2.975 G(adline).18 E
 
352
F0 -.25(va)2.975 G 2.975(riable. Each).25 F .476(non-option ar)2.976 F
 
353
.476(gument is a command as it w)-.18 F .476(ould appear in)-.1 F F3
 
354
(.inputr)144 678 Q(c)-.37 E F0 2.984(,b).31 G .484
 
355
(ut each binding or command must be passed as a separate ar)-3.184 F
 
356
.483(gument; e.g., '"\\C\255x\\C\255r":)-.18 F 2.5
 
357
(re\255read\255init\255\214le'. Options,)144 690 R(if supplied, ha)2.5 E
 
358
.3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2<ad6d>144 702
 
359
Q F3 -.1(ke)2.5 G(ymap)-.2 E F0(Use)180 714 Q F3 -.1(ke)5.158 G(ymap)-.2
 
360
E F0 2.658(as the k)5.348 F -.15(ey)-.1 G 2.658(map to be af).15 F 2.659
 
361
(fected by the subsequent bindings.)-.25 F(Acceptable)7.659 E F3 -.1(ke)
 
362
180 726 S(ymap)-.2 E F0 3.193(names are)5.883 F F3 3.193
 
363
(emacs, emacs\255standar)5.693 F 3.192
 
364
(d, emacs\255meta, emacs\255ctlx, vi, vi\255mo)-.37 F(ve)-.1 E(,)-.1 E
 
365
F0(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(1)203.725 E 0 Cg EP
 
366
%%Page: 2 2
 
367
%%BeginPageSetup
 
368
BP
 
369
%%EndPageSetup
 
370
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
371
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
372
/Times-Italic@0 SF(vi\255command)180 84 Q F0 4.429(,a)C(nd)-4.429 E F1
 
373
(vi\255insert)4.429 E F0(.).68 E F1(vi)6.929 E F0 1.929(is equi)4.429 F
 
374
-.25(va)-.25 G 1.929(lent to).25 F F1(vi\255command)4.429 E F0(;)A F1
 
375
(emacs)4.429 E F0 1.929(is equi)4.429 F -.25(va)-.25 G 1.93(lent to).25
 
376
F F1(emacs\255standar)180 96 Q(d)-.37 E F0(.)A/F2 10/Times-Bold@0 SF
 
377
<ad6c>144 108 Q F0(List the names of all)27.52 E F2 -.18(re)2.5 G
 
378
(adline).18 E F0(functions.)2.5 E F2<ad70>144 120 Q F0(Display)24.74 E
 
379
F2 -.18(re)2.5 G(adline).18 E F0
 
380
(function names and bindings in such a w)2.5 E(ay that the)-.1 E 2.5(yc)
 
381
-.15 G(an be re-read.)-2.5 E F2<ad50>144 132 Q F0(List current)24.19 E
 
382
F2 -.18(re)2.5 G(adline).18 E F0(function names and bindings.)2.5 E F2
 
383
<ad73>144 144 Q F0(Display)26.41 E F2 -.18(re)3.655 G(adline).18 E F0
 
384
-.1(ke)3.655 G 3.655(ys)-.05 G 1.155
 
385
(equences bound to macros and the strings the)-3.655 F 3.655(yo)-.15 G
 
386
1.155(utput in such a)-3.655 F -.1(wa)180 156 S 2.5(yt).1 G(hat the)-2.5
 
387
E 2.5(yc)-.15 G(an be re-read.)-2.5 E F2<ad53>144 168 Q F0(Display)24.74
 
388
E F2 -.18(re)2.5 G(adline).18 E F0 -.1(ke)2.5 G 2.5(ys)-.05 G
 
389
(equences bound to macros and the strings the)-2.5 E 2.5(yo)-.15 G
 
390
(utput.)-2.5 E F2<ad76>144 180 Q F0(Display)25.3 E F2 -.18(re)2.5 G
 
391
(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E
 
392
(alues in such a w)-.25 E(ay that the)-.1 E 2.5(yc)-.15 G
 
393
(an be re-read.)-2.5 E F2<ad56>144 192 Q F0(List current)23.08 E F2 -.18
 
394
(re)2.5 G(adline).18 E F0 -.25(va)2.5 G(riable names and v).25 E(alues.)
 
395
-.25 E F2<ad66>144 204 Q F1(\214lename)2.5 E F0(Read k)180 216 Q .3 -.15
 
396
(ey b)-.1 H(indings from).15 E F1(\214lename)2.5 E F0(.)A F2<ad71>144
 
397
228 Q F1(function)2.5 E F0(Query about which k)180 240 Q -.15(ey)-.1 G
 
398
2.5(si).15 G -1.9 -.4(nv o)-2.5 H .2 -.1(ke t).4 H(he named).1 E F1
 
399
(function)2.5 E F0(.)A F2<ad75>144 252 Q F1(function)2.5 E F0
 
400
(Unbind all k)180 264 Q -.15(ey)-.1 G 2.5(sb).15 G(ound to the named)
 
401
-2.5 E F1(function)2.5 E F0(.)A F2<ad72>144 276 Q F1 -.1(ke)2.5 G(yseq)
 
402
-.2 E F0(Remo)180 288 Q .3 -.15(ve a)-.15 H .3 -.15(ny c).15 H
 
403
(urrent binding for).15 E F1 -.1(ke)2.5 G(yseq)-.2 E F0(.)A F2<ad78>144
 
404
300 Q F1 -.1(ke)2.5 G(yseq)-.2 E F2(:)A F1(shell\255command)A F0(Cause)
 
405
180 312 Q F1(shell\255command)4.325 E F0 1.825(to be e)4.325 F -.15(xe)
 
406
-.15 G 1.825(cuted whene).15 F -.15(ve)-.25 G(r).15 E F1 -.1(ke)4.325 G
 
407
(yseq)-.2 E F0 1.825(is entered.)4.325 F(When)6.825 E F1(shell\255com-)
 
408
4.325 E(mand)180 324 Q F0 1.765(is e)4.265 F -.15(xe)-.15 G 1.765
 
409
(cuted, the shell sets the).15 F/F3 9/Times-Bold@0 SF(READLINE_LINE)
 
410
4.265 E F0 -.25(va)4.015 G 1.765(riable to the contents of the).25 F F2
 
411
-.18(re)180 336 S(adline).18 E F0 1.353(line b)3.852 F(uf)-.2 E 1.353
 
412
(fer and the)-.25 F F3(READLINE_POINT)3.853 E F0 -.25(va)3.603 G 1.353
 
413
(riable to the current location of the).25 F 2.012(insertion point.)180
 
414
348 R 2.011(If the e)7.012 F -.15(xe)-.15 G 2.011
 
415
(cuted command changes the v).15 F 2.011(alue of)-.25 F F3
 
416
(READLINE_LINE)4.511 E F0(or)4.261 E F3(READLINE_POINT)180 360 Q/F4 9
 
417
/Times-Roman@0 SF(,)A F0(those ne)2.25 E 2.5(wv)-.25 G
 
418
(alues will be re\215ected in the editing state.)-2.75 E F2<ad58>144 372
 
419
Q F0 .829(List all k)23.08 F 1.129 -.15(ey s)-.1 H .829
 
420
(equences bound to shell commands and the associated commands in a for)
 
421
.15 F(-)-.2 E(mat that can be reused as input.)180 384 Q(The return v)
 
422
144 400.8 Q(alue is 0 unless an unrecognized option is gi)-.25 E -.15
 
423
(ve)-.25 G 2.5(no).15 G 2.5(ra)-2.5 G 2.5(ne)-2.5 G(rror occurred.)-2.5
 
424
E F2(br)108 417.6 Q(eak)-.18 E F0([)2.5 E F1(n)A F0(])A .055
 
425
(Exit from within a)144 429.6 R F2 -.25(fo)2.555 G(r).25 E F0(,)A F2
 
426
(while)2.555 E F0(,)A F2(until)2.555 E F0 2.555(,o)C(r)-2.555 E F2
 
427
(select)2.555 E F0 2.555(loop. If)2.555 F F1(n)2.555 E F0 .055
 
428
(is speci\214ed, break)2.555 F F1(n)2.555 E F0(le)2.555 E -.15(ve)-.25 G
 
429
(ls.).15 E F1(n)5.414 E F0 .054(must be)2.794 F/F5 10/Symbol SF<b3>2.554
 
430
E F0(1.)2.554 E(If)144 441.6 Q F1(n)3.074 E F0 .215(is greater than the\
 
431
 number of enclosing loops, all enclosing loops are e)2.954 F 2.715
 
432
(xited. The)-.15 F .215(return v)2.715 F(alue)-.25 E(is 0 unless)144
 
433
453.6 Q F1(n)2.5 E F0(is not greater than or equal to 1.)2.5 E F2 -.2
 
434
(bu)108 470.4 S(iltin).2 E F1(shell\255b)2.5 E(uiltin)-.2 E F0([)2.5 E
 
435
F1(ar)A(guments)-.37 E F0(])A(Ex)144 482.4 Q .793
 
436
(ecute the speci\214ed shell b)-.15 F .793(uiltin, passing it)-.2 F F1
 
437
(ar)3.293 E(guments)-.37 E F0 3.293(,a).27 G .793(nd return its e)-3.293
 
438
F .792(xit status.)-.15 F .792(This is useful)5.792 F .615
 
439
(when de\214ning a function whose name is the same as a shell b)144
 
440
494.4 R .616(uiltin, retaining the functionality of)-.2 F .57(the b)144
 
441
506.4 R .57(uiltin within the function.)-.2 F(The)5.57 E F2(cd)3.07 E F0
 
442
-.2(bu)3.07 G .57(iltin is commonly rede\214ned this w).2 F(ay)-.1 E
 
443
5.57(.T)-.65 G .57(he return status)-5.57 F(is f)144 518.4 Q(alse if)-.1
 
444
E F1(shell\255b)2.84 E(uiltin)-.2 E F0(is not a shell b)2.74 E
 
445
(uiltin command.)-.2 E F2(caller)108 535.2 Q F0([)2.5 E F1 -.2(ex)C(pr)
 
446
.2 E F0(])A .253(Returns the conte)144 547.2 R .254(xt of an)-.15 F
 
447
2.754(ya)-.15 G(cti)-2.754 E .554 -.15(ve s)-.25 H .254
 
448
(ubroutine call \(a shell function or a script e).15 F -.15(xe)-.15 G
 
449
.254(cuted with the).15 F F2(.)2.754 E F0(or)2.754 E F2(sour)144 559.2 Q
 
450
(ce)-.18 E F0 -.2(bu)2.825 G 2.825(iltins\). W).2 F(ithout)-.4 E F1 -.2
 
451
(ex)2.825 G(pr).2 E F0(,)A F2(caller)2.825 E F0 .324
 
452
(displays the line number and source \214lename of the current)2.824 F
 
453
.253(subroutine call.)144 571.2 R .253(If a non-ne)5.253 F -.05(ga)-.15
 
454
G(ti).05 E .553 -.15(ve i)-.25 H(nte).15 E .253(ger is supplied as)-.15
 
455
F F1 -.2(ex)2.753 G(pr).2 E F0(,)A F2(caller)2.753 E F0 .254
 
456
(displays the line number)2.754 F 2.754(,s)-.4 G(ub-)-2.754 E 1.327(rou\
 
457
tine name, and source \214le corresponding to that position in the curr\
 
458
ent e)144 583.2 R -.15(xe)-.15 G 1.327(cution call stack.).15 F(This e)
 
459
144 595.2 Q(xtra information may be used, for e)-.15 E .001
 
460
(xample, to print a stack trace.)-.15 F .001(The current frame is frame)
 
461
5.001 F 3.02(0. The)144 607.2 R .52(return v)3.02 F .52
 
462
(alue is 0 unless the shell is not e)-.25 F -.15(xe)-.15 G .519
 
463
(cuting a subroutine call or).15 F F1 -.2(ex)3.019 G(pr).2 E F0 .519
 
464
(does not corre-)3.019 F(spond to a v)144 619.2 Q
 
465
(alid position in the call stack.)-.25 E F2(cd)108 636 Q F0([)2.5 E F2
 
466
<ad4c>A F0(|[)A F2<ad50>A F0([)2.5 E F2<ad65>A F0(]] [\255@]] [)A F1
 
467
(dir)A F0(])A .321(Change the current directory to)144 648 R F1(dir)
 
468
2.821 E F0 5.321(.i)C(f)-5.321 E F1(dir)2.821 E F0 .322
 
469
(is not supplied, the v)2.821 F .322(alue of the)-.25 F F3(HOME)2.822 E
 
470
F0 .322(shell v)2.572 F .322(ariable is)-.25 F 1.036(the def)144 660 R
 
471
3.536(ault. An)-.1 F 3.536(ya)-.15 G 1.035(dditional ar)-3.536 F 1.035
 
472
(guments follo)-.18 F(wing)-.25 E F1(dir)3.535 E F0 1.035(are ignored.)
 
473
3.535 F 1.035(The v)6.035 F(ariable)-.25 E F3(CDP)3.535 E -.855(AT)-.666
 
474
G(H).855 E F0(de\214nes)3.285 E .849
 
475
(the search path for the directory containing)144 672 R F1(dir)3.349 E
 
476
F0 3.35(:e).73 G .85(ach directory name in)-3.35 F F3(CDP)3.35 E -.855
 
477
(AT)-.666 G(H).855 E F0 .85(is searched for)3.1 F F1(dir)144 684 Q F0
 
478
5.665(.A)C(lternati)-5.665 E .965 -.15(ve d)-.25 H .665
 
479
(irectory names in).15 F F3(CDP)3.165 E -.855(AT)-.666 G(H).855 E F0
 
480
.665(are separated by a colon \(:\).)2.915 F 3.165(An)5.665 G .664
 
481
(ull directory name)-3.165 F(in)144 696 Q F3(CDP)4.162 E -.855(AT)-.666
 
482
G(H).855 E F0 1.662(is the same as the current directory)3.912 F 4.162
 
483
(,i)-.65 G 1.662(.e., `)-4.162 F(`)-.74 E F2(.)A F0 -.74('')C 6.662(.I)
 
484
.74 G(f)-6.662 E F1(dir)4.513 E F0(be)4.893 E 1.663
 
485
(gins with a slash \(/\), then)-.15 F F3(CDP)144 708 Q -.855(AT)-.666 G
 
486
(H).855 E F0 .347(is not used. The)2.598 F F2<ad50>2.847 E F0 .347
 
487
(option causes)2.847 F F2(cd)2.847 E F0 .347(to use the ph)2.847 F .347
 
488
(ysical directory structure by resolving)-.05 F 1.12
 
489
(symbolic links while tra)144 720 R -.15(ve)-.2 G(rsing).15 E F1(dir)
 
490
3.62 E F0 1.12(and before processing instances of)3.62 F F1(..)3.62 E F0
 
491
(in)3.62 E F1(dir)3.62 E F0 1.12(\(see also the)3.62 F F2<ad50>3.62 E F0
 
492
(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(2)203.725 E 0 Cg EP
 
493
%%Page: 3 3
 
494
%%BeginPageSetup
 
495
BP
 
496
%%EndPageSetup
 
497
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
498
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .395
 
499
(option to the)144 84 R/F1 10/Times-Bold@0 SF(set)2.895 E F0 -.2(bu)
 
500
2.895 G .395(iltin command\); the).2 F F1<ad4c>2.895 E F0 .395
 
501
(option forces symbolic links to be follo)2.895 F .395(wed by resolv-)
 
502
-.25 F .443(ing the link after processing instances of)144 96 R/F2 10
 
503
/Times-Italic@0 SF(..)2.943 E F0(in)2.943 E F2(dir)2.943 E F0 5.443(.I)C
 
504
(f)-5.443 E F2(..)2.943 E F0 .443(appears in)2.943 F F2(dir)2.943 E F0
 
505
2.943(,i)C 2.943(ti)-2.943 G 2.944(sp)-2.943 G .444(rocessed by remo)
 
506
-2.944 F(ving)-.15 E .744(the immediately pre)144 108 R .744
 
507
(vious pathname component from)-.25 F F2(dir)3.244 E F0 3.244(,b)C .744
 
508
(ack to a slash or the be)-3.244 F .744(ginning of)-.15 F F2(dir)3.244 E
 
509
F0(.)A 1.465(If the)144 120 R F1<ad65>3.965 E F0 1.465
 
510
(option is supplied with)3.965 F F1<ad50>3.965 E F0 3.965(,a)C 1.465
 
511
(nd the current w)-3.965 F 1.466
 
512
(orking directory cannot be successfully)-.1 F .468
 
513
(determined after a successful directory change,)144 132 R F1(cd)2.968 E
 
514
F0 .468(will return an unsuccessful status.)2.968 F .467(On systems)
 
515
5.467 F .336(that support it, the)144 144 R F1<ad40>2.836 E F0 .336
 
516
(option presents the e)2.836 F .336(xtended attrib)-.15 F .337
 
517
(utes associated with a \214le as a directory)-.2 F(.)-.65 E .71(An ar)
 
518
144 156 R .71(gument of)-.18 F F1<ad>3.21 E F0 .71(is con)3.21 F -.15
 
519
(ve)-.4 G .71(rted to).15 F/F3 9/Times-Bold@0 SF($OLDPWD)3.21 E F0 .71
 
520
(before the directory change is attempted.)2.96 F .71(If a non-)5.71 F
 
521
.106(empty directory name from)144 168 R F3(CDP)2.606 E -.855(AT)-.666 G
 
522
(H).855 E F0 .107(is used, or if)2.356 F F1<ad>2.607 E F0 .107
 
523
(is the \214rst ar)2.607 F .107(gument, and the directory change)-.18 F
 
524
.038(is successful, the absolute pathname of the ne)144 180 R 2.538(ww)
 
525
-.25 G .038(orking directory is written to the standard output.)-2.638 F
 
526
(The return v)144 192 Q(alue is true if the directory w)-.25 E
 
527
(as successfully changed; f)-.1 E(alse otherwise.)-.1 E F1(command)108
 
528
208.8 Q F0([)2.5 E F1(\255pVv)A F0(])A F2(command)2.5 E F0([)2.5 E F2
 
529
(ar)A(g)-.37 E F0(...])2.5 E(Run)144 220.8 Q F2(command)2.956 E F0(with)
 
530
3.527 E F2(ar)3.087 E(gs)-.37 E F0 .257
 
531
(suppressing the normal shell function lookup. Only b)3.027 F .257
 
532
(uiltin commands or)-.2 F .502(commands found in the)144 232.8 R F3
 
533
-.666(PA)3.002 G(TH)-.189 E F0 .502(are e)2.752 F -.15(xe)-.15 G 3.002
 
534
(cuted. If).15 F(the)3.002 E F1<ad70>3.002 E F0 .502(option is gi)3.002
 
535
F -.15(ve)-.25 G .501(n, the search for).15 F F2(command)3.201 E F0(is)
 
536
3.771 E .399(performed using a def)144 244.8 R .399(ault v)-.1 F .399
 
537
(alue for)-.25 F F3 -.666(PA)2.899 G(TH)-.189 E F0 .4
 
538
(that is guaranteed to \214nd all of the standard utilities.)2.649 F(If)
 
539
5.4 E .175(either the)144 256.8 R F1<ad56>2.675 E F0(or)2.675 E F1<ad76>
 
540
2.675 E F0 .175(option is supplied, a description of)2.675 F F2(command)
 
541
2.875 E F0 .174(is printed.)3.445 F(The)5.174 E F1<ad76>2.674 E F0 .174
 
542
(option causes)2.674 F 3.317(as)144 268.8 S .817(ingle w)-3.317 F .817
 
543
(ord indicating the command or \214lename used to in)-.1 F -.2(vo)-.4 G
 
544
-.1(ke).2 G F2(command)3.618 E F0 .818(to be displayed; the)4.088 F F1
 
545
<ad56>144 280.8 Q F0 .25(option produces a more v)2.75 F .25
 
546
(erbose description.)-.15 F .249(If the)5.25 F F1<ad56>2.749 E F0(or)
 
547
2.749 E F1<ad76>2.749 E F0 .249(option is supplied, the e)2.749 F .249
 
548
(xit status)-.15 F 1.004(is 0 if)144 292.8 R F2(command)3.704 E F0 -.1
 
549
(wa)4.274 G 3.504(sf).1 G 1.005(ound, and 1 if not.)-3.504 F 1.005
 
550
(If neither option is supplied and an error occurred or)6.005 F F2
 
551
(command)144.2 304.8 Q F0 1.599(cannot be found, the e)4.869 F 1.599
 
552
(xit status is 127.)-.15 F 1.599(Otherwise, the e)6.599 F 1.598
 
553
(xit status of the)-.15 F F1(command)4.098 E F0 -.2(bu)144 316.8 S
 
554
(iltin is the e).2 E(xit status of)-.15 E F2(command)2.5 E F0(.).77 E F1
 
555
(compgen)108 333.6 Q F0([)2.5 E F2(option)A F0 2.5(][)C F2(wor)-2.5 E(d)
 
556
-.37 E F0(])A .012(Generate possible completion matches for)144 345.6 R
 
557
F2(wor)2.513 E(d)-.37 E F0 .013(according to the)2.513 F F2(option)2.513
 
558
E F0 .013(s, which may be an)B 2.513(yo)-.15 G(ption)-2.513 E .982
 
559
(accepted by the)144 357.6 R F1(complete)3.482 E F0 -.2(bu)3.481 G .981
 
560
(iltin with the e).2 F .981(xception of)-.15 F F1<ad70>3.481 E F0(and)
 
561
3.481 E F1<ad72>3.481 E F0 3.481(,a)C .981(nd write the matches to the)
 
562
-3.481 F 1.415(standard output.)144 369.6 R 1.415(When using the)6.415 F
 
563
F1<ad46>3.915 E F0(or)3.915 E F1<ad43>3.915 E F0 1.415(options, the v)
 
564
3.915 F 1.415(arious shell v)-.25 F 1.415(ariables set by the pro-)-.25
 
565
F(grammable completion f)144 381.6 Q(acilities, while a)-.1 E -.25(va)
 
566
-.2 G(ilable, will not ha).25 E .3 -.15(ve u)-.2 H(seful v).15 E(alues.)
 
567
-.25 E .352(The matches will be generated in the same w)144 405.6 R .352
 
568
(ay as if the programmable completion code had gen-)-.1 F .02(erated th\
 
569
em directly from a completion speci\214cation with the same \215ags.)144
 
570
417.6 R(If)5.02 E F2(wor)2.52 E(d)-.37 E F0 .02(is speci\214ed, only)
 
571
2.52 F(those completions matching)144 429.6 Q F2(wor)2.5 E(d)-.37 E F0
 
572
(will be displayed.)2.5 E(The return v)144 453.6 Q
 
573
(alue is true unless an in)-.25 E -.25(va)-.4 G
 
574
(lid option is supplied, or no matches were generated.).25 E F1
 
575
(complete)108 470.4 Q F0([)3.729 E F1(\255abcdefgjksuv)A F0 3.729(][)C
 
576
F1<ad6f>-3.729 E F2(comp-option)3.729 E F0 3.729(][)C F1(\255DE)-3.729 E
 
577
F0 3.728(][)C F1<ad41>-3.728 E F2(action)3.728 E F0 3.728(][)C F1<ad47>
 
578
-3.728 E F2(globpat)3.728 E F0 3.728(][)C F1<ad57>-3.728 E F2(wor)3.728
 
579
E(dlist)-.37 E F0 3.728(][)C F1<ad46>-3.728 E F2(func-)3.728 E(tion)108
 
580
482.4 Q F0 2.5(][)C F1<ad43>-2.5 E F2(command)2.5 E F0(])A([)144 494.4 Q
 
581
F1<ad58>A F2(\214lterpat)2.5 E F0 2.5(][)C F1<ad50>-2.5 E F2(pr)2.5 E
 
582
(e\214x)-.37 E F0 2.5(][)C F1<ad53>-2.5 E F2(suf)2.5 E<8c78>-.18 E F0(])
 
583
A F2(name)2.5 E F0([)2.5 E F2(name ...)A F0(])A F1(complete \255pr)108
 
584
506.4 Q F0([)2.5 E F1(\255DE)A F0 2.5(][)C F2(name)-2.5 E F0(...])2.5 E
 
585
.634(Specify ho)144 518.4 R 3.134(wa)-.25 G -.18(rg)-3.134 G .634
 
586
(uments to each).18 F F2(name)3.134 E F0 .634(should be completed.)3.134
 
587
F .633(If the)5.634 F F1<ad70>3.133 E F0 .633
 
588
(option is supplied, or if no)3.133 F .139(options are supplied, e)144
 
589
530.4 R .139(xisting completion speci\214cations are printed in a w)-.15
 
590
F .14(ay that allo)-.1 F .14(ws them to be)-.25 F .31(reused as input.)
 
591
144 542.4 R(The)5.31 E F1<ad72>2.81 E F0 .31(option remo)2.81 F -.15(ve)
 
592
-.15 G 2.81(sac).15 G .31(ompletion speci\214cation for each)-2.81 F F2
 
593
(name)2.81 E F0 2.81(,o)C 1.11 -.4(r, i)-2.81 H 2.81(fn).4 G(o)-2.81 E
 
594
F2(name)2.81 E F0(s)A 1.346
 
595
(are supplied, all completion speci\214cations.)144 554.4 R(The)6.347 E
 
596
F1<ad44>3.847 E F0 1.347(option indicates that the remaining options)
 
597
3.847 F .5(and actions should apply to the `)144 566.4 R(`def)-.74 E
 
598
(ault')-.1 E 3('c)-.74 G .5
 
599
(ommand completion; that is, completion attempted on)-3 F 3.455(ac)144
 
600
578.4 S .955(ommand for which no completion has pre)-3.455 F .955
 
601
(viously been de\214ned.)-.25 F(The)5.955 E F1<ad45>3.455 E F0 .955
 
602
(option indicates that)3.455 F .065
 
603
(the remaining options and actions should apply to `)144 590.4 R
 
604
(`empty')-.74 E 2.564('c)-.74 G .064
 
605
(ommand completion; that is, comple-)-2.564 F
 
606
(tion attempted on a blank line.)144 602.4 Q 1.437
 
607
(The process of applying these completion speci\214cations when w)144
 
608
626.4 R 1.438(ord completion is attempted is)-.1 F(described abo)144
 
609
638.4 Q .3 -.15(ve u)-.15 H(nder).15 E F1(Pr)2.5 E
 
610
(ogrammable Completion)-.18 E F0(.)A .556
 
611
(Other options, if speci\214ed, ha)144 662.4 R .856 -.15(ve t)-.2 H .555
 
612
(he follo).15 F .555(wing meanings.)-.25 F .555(The ar)5.555 F .555
 
613
(guments to the)-.18 F F1<ad47>3.055 E F0(,)A F1<ad57>3.055 E F0 3.055
 
614
(,a)C(nd)-3.055 E F1<ad58>3.055 E F0 .722(options \(and, if necessary)
 
615
144 674.4 R 3.222(,t)-.65 G(he)-3.222 E F1<ad50>3.222 E F0(and)3.222 E
 
616
F1<ad53>3.222 E F0 .723
 
617
(options\) should be quoted to protect them from e)3.222 F(xpan-)-.15 E
 
618
(sion before the)144 686.4 Q F1(complete)2.5 E F0 -.2(bu)2.5 G
 
619
(iltin is in).2 E -.2(vo)-.4 G -.1(ke).2 G(d.).1 E F1<ad6f>144 698.4 Q
 
620
F2(comp-option)2.5 E F0(The)184 710.4 Q F2(comp-option)2.791 E F0 .291
 
621
(controls se)2.791 F -.15(ve)-.25 G .291(ral aspects of the compspec')
 
622
.15 F 2.791(sb)-.55 G(eha)-2.791 E .291(vior be)-.2 F .291
 
623
(yond the simple)-.15 F(generation of completions.)184 722.4 Q F2
 
624
(comp-option)5 E F0(may be one of:)2.5 E(GNU Bash-4.2)72 768 Q
 
625
(2004 Apr 20)148.735 E(3)203.725 E 0 Cg EP
 
626
%%Page: 4 4
 
627
%%BeginPageSetup
 
628
BP
 
629
%%EndPageSetup
 
630
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
631
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
632
/Times-Bold@0 SF(bashdefault)184 84 Q F0 .281
 
633
(Perform the rest of the def)224 96 R(ault)-.1 E F1(bash)2.781 E F0 .281
 
634
(completions if the compspec generates no)2.781 F(matches.)224 108 Q F1
 
635
(default)184 120 Q F0 2.876(Use readline')10 F 5.376(sd)-.55 G(ef)-5.376
 
636
E 2.875(ault \214lename completion if the compspec generates no)-.1 F
 
637
(matches.)224 132 Q F1(dir)184 144 Q(names)-.15 E F0(Perform directory \
 
638
name completion if the compspec generates no matches.)224 156 Q F1
 
639
(\214lenames)184 168 Q F0 -.7(Te)224 180 S .137(ll readline that the co\
 
640
mpspec generates \214lenames, so it can perform an).7 F 2.637<798c>-.15
 
641
G(le-)-2.637 E .134(name\255speci\214c processing \(lik)224 192 R 2.634
 
642
(ea)-.1 G .134(dding a slash to directory names, quoting spe-)-2.634 F
 
643
.45(cial characters, or suppressing trailing spaces\).)224 204 R .45
 
644
(Intended to be used with shell)5.45 F(functions.)224 216 Q F1(noquote)
 
645
184 228 Q F0 -.7(Te)5.55 G .814
 
646
(ll readline not to quote the completed w).7 F .814(ords if the)-.1 F
 
647
3.314(ya)-.15 G .814(re \214lenames \(quoting)-3.314 F
 
648
(\214lenames is the def)224 240 Q(ault\).)-.1 E F1(nospace)184 252 Q F0
 
649
-.7(Te)6.11 G .22(ll readline not to append a space \(the def).7 F .22
 
650
(ault\) to w)-.1 F .22(ords completed at the end)-.1 F(of the line.)224
 
651
264 Q F1(plusdirs)184 276 Q F0 1.985(After an)5.54 F 4.485(ym)-.15 G
 
652
1.985(atches de\214ned by the compspec are generated, directory name)
 
653
-4.485 F .583(completion is attempted and an)224 288 R 3.084(ym)-.15 G
 
654
.584(atches are added to the results of the other)-3.084 F(actions.)224
 
655
300 Q F1<ad41>144 312 Q/F2 10/Times-Italic@0 SF(action)2.5 E F0(The)184
 
656
324 Q F2(action)2.5 E F0(may be one of the follo)2.5 E
 
657
(wing to generate a list of possible completions:)-.25 E F1(alias)184
 
658
336 Q F0(Alias names.)20.55 E(May also be speci\214ed as)5 E F1<ad61>2.5
 
659
E F0(.)A F1(arrayv)184 348 Q(ar)-.1 E F0(Array v)224 360 Q
 
660
(ariable names.)-.25 E F1 4.7(binding Readline)184 372 R F0 -.1(ke)2.5 G
 
661
2.5(yb)-.05 G(inding names.)-2.5 E F1 -.2(bu)184 384 S(iltin).2 E F0
 
662
(Names of shell b)11.85 E(uiltin commands.)-.2 E
 
663
(May also be speci\214ed as)5 E F1<ad62>2.5 E F0(.)A F1(command)184 396
 
664
Q F0(Command names.)224 408 Q(May also be speci\214ed as)5 E F1<ad63>2.5
 
665
E F0(.)A F1(dir)184 420 Q(ectory)-.18 E F0(Directory names.)224 432 Q
 
666
(May also be speci\214ed as)5 E F1<ad64>2.5 E F0(.)A F1(disabled)184 444
 
667
Q F0(Names of disabled shell b)224 456 Q(uiltins.)-.2 E F1(enabled)184
 
668
468 Q F0(Names of enabled shell b)6.66 E(uiltins.)-.2 E F1(export)184
 
669
480 Q F0(Names of e)12.23 E(xported shell v)-.15 E 2.5(ariables. May)
 
670
-.25 F(also be speci\214ed as)2.5 E F1<ad65>2.5 E F0(.)A F1(\214le)184
 
671
492 Q F0(File names.)27.22 E(May also be speci\214ed as)5 E F1<ad66>2.5
 
672
E F0(.)A F1(function)184 504 Q F0(Names of shell functions.)224 516 Q F1
 
673
(gr)184 528 Q(oup)-.18 E F0(Group names.)14.62 E
 
674
(May also be speci\214ed as)5 E F1<ad67>2.5 E F0(.)A F1(helptopic)184
 
675
540 Q F0(Help topics as accepted by the)224 552 Q F1(help)2.5 E F0 -.2
 
676
(bu)2.5 G(iltin.).2 E F1(hostname)184 564 Q F0(Hostnames, as tak)224 576
 
677
Q(en from the \214le speci\214ed by the)-.1 E/F3 9/Times-Bold@0 SF
 
678
(HOSTFILE)2.5 E F0(shell v)2.25 E(ariable.)-.25 E F1(job)184 588 Q F0
 
679
(Job names, if job control is acti)26.11 E -.15(ve)-.25 G 5(.M).15 G
 
680
(ay also be speci\214ed as)-5 E F1<ad6a>2.5 E F0(.)A F1 -.1(ke)184 600 S
 
681
(yw).1 E(ord)-.1 E F0(Shell reserv)224 612 Q(ed w)-.15 E 2.5(ords. May)
 
682
-.1 F(also be speci\214ed as)2.5 E F1<ad6b>2.5 E F0(.)A F1(running)184
 
683
624 Q F0(Names of running jobs, if job control is acti)5.54 E -.15(ve)
 
684
-.25 G(.).15 E F1(ser)184 636 Q(vice)-.1 E F0(Service names.)10.67 E
 
685
(May also be speci\214ed as)5 E F1<ad73>2.5 E F0(.)A F1(setopt)184 648 Q
 
686
F0 -1.11(Va)14.45 G(lid ar)1.11 E(guments for the)-.18 E F1<ad6f>2.5 E
 
687
F0(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1
 
688
(shopt)184 660 Q F0(Shell option names as accepted by the)16.66 E F1
 
689
(shopt)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E F1(signal)184 672 Q F0
 
690
(Signal names.)14.99 E F1(stopped)184 684 Q F0
 
691
(Names of stopped jobs, if job control is acti)6.66 E -.15(ve)-.25 G(.)
 
692
.15 E F1(user)184 696 Q F0(User names.)21.67 E
 
693
(May also be speci\214ed as)5 E F1<ad75>2.5 E F0(.)A F1 -.1(va)184 708 S
 
694
(riable).1 E F0(Names of all shell v)5.1 E 2.5(ariables. May)-.25 F
 
695
(also be speci\214ed as)2.5 E F1<ad76>2.5 E F0(.)A(GNU Bash-4.2)72 768 Q
 
696
(2004 Apr 20)148.735 E(4)203.725 E 0 Cg EP
 
697
%%Page: 5 5
 
698
%%BeginPageSetup
 
699
BP
 
700
%%EndPageSetup
 
701
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
702
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
703
/Times-Bold@0 SF<ad43>144 84 Q/F2 10/Times-Italic@0 SF(command)2.5 E
 
704
(command)184 96 Q F0 1.056(is e)3.556 F -.15(xe)-.15 G 1.056
 
705
(cuted in a subshell en).15 F 1.056
 
706
(vironment, and its output is used as the possible)-.4 F(completions.)
 
707
184 108 Q F1<ad46>144 120 Q F2(function)2.5 E F0 .113
 
708
(The shell function)184 132 R F2(function)2.614 E F0 .114(is e)2.614 F
 
709
-.15(xe)-.15 G .114(cuted in the current shell en).15 F 2.614
 
710
(vironment. When)-.4 F .114(the func-)2.614 F .817(tion is e)184 144 R
 
711
-.15(xe)-.15 G .817(cuted, the \214rst ar).15 F .817(gument \()-.18 F F1
 
712
($1)A F0 3.316(\)i)C 3.316(st)-3.316 G .816
 
713
(he name of the command whose ar)-3.316 F(guments)-.18 E 1.407
 
714
(are being completed, the second ar)184 156 R 1.407(gument \()-.18 F F1
 
715
($2)A F0 3.907(\)i)C 3.907(st)-3.907 G 1.407(he w)-3.907 F 1.407
 
716
(ord being completed, and the)-.1 F .104(third ar)184 168 R .104
 
717
(gument \()-.18 F F1($3)A F0 2.604(\)i)C 2.604(st)-2.604 G .104(he w)
 
718
-2.604 F .104(ord preceding the w)-.1 F .103
 
719
(ord being completed on the current com-)-.1 F .101(mand line.)184 180 R
 
720
.101(When it \214nishes, the possible completions are retrie)5.101 F
 
721
-.15(ve)-.25 G 2.602(df).15 G .102(rom the v)-2.602 F .102(alue of the)
 
722
-.25 F/F3 9/Times-Bold@0 SF(COMPREPL)184 192 Q(Y)-.828 E F0(array v)2.25
 
723
E(ariable.)-.25 E F1<ad47>144 204 Q F2(globpat)2.5 E F0 1.008
 
724
(The pathname e)184 216 R 1.008(xpansion pattern)-.15 F F2(globpat)3.507
 
725
E F0 1.007(is e)3.507 F 1.007(xpanded to generate the possible comple-)
 
726
-.15 F(tions.)184 228 Q F1<ad50>144 240 Q F2(pr)2.5 E(e\214x)-.37 E(pr)
 
727
184 252 Q(e\214x)-.37 E F0 .534(is added at the be)3.034 F .534
 
728
(ginning of each possible completion after all other options ha)-.15 F
 
729
-.15(ve)-.2 G(been applied.)184 264 Q F1<ad53>144 276 Q F2(suf)2.5 E
 
730
2.81(\214x suf)-.18 F<8c78>-.18 E F0
 
731
(is appended to each possible completion after all other options ha)2.5
 
732
E .3 -.15(ve b)-.2 H(een applied.).15 E F1<ad57>144 288 Q F2(wor)2.5 E
 
733
(dlist)-.37 E F0(The)184 300 Q F2(wor)3.64 E(dlist)-.37 E F0 1.14
 
734
(is split using the characters in the)3.64 F F3(IFS)3.64 E F0 1.139
 
735
(special v)3.39 F 1.139(ariable as delimiters, and)-.25 F 2.007
 
736
(each resultant w)184 312 R 2.007(ord is e)-.1 F 4.507(xpanded. The)-.15
 
737
F 2.008(possible completions are the members of the)4.507 F
 
738
(resultant list which match the w)184 324 Q(ord being completed.)-.1 E
 
739
F1<ad58>144 336 Q F2(\214lterpat)2.5 E(\214lterpat)184 348 Q F0 .456
 
740
(is a pattern as used for pathname e)2.956 F 2.956(xpansion. It)-.15 F
 
741
.455(is applied to the list of possible)2.956 F 1.596
 
742
(completions generated by the preceding options and ar)184 360 R 1.596
 
743
(guments, and each completion)-.18 F(matching)184 372 Q F2(\214lterpat)
 
744
3.205 E F0 .705(is remo)3.205 F -.15(ve)-.15 G 3.205(df).15 G .704
 
745
(rom the list.)-3.205 F 3.204(Al)5.704 G(eading)-3.204 E F1(!)3.204 E F0
 
746
(in)3.204 E F2(\214lterpat)3.204 E F0(ne)3.204 E -.05(ga)-.15 G .704
 
747
(tes the pattern;).05 F(in this case, an)184 384 Q 2.5(yc)-.15 G
 
748
(ompletion not matching)-2.5 E F2(\214lterpat)2.5 E F0(is remo)2.5 E
 
749
-.15(ve)-.15 G(d.).15 E .466(The return v)144 400.8 R .466
 
750
(alue is true unless an in)-.25 F -.25(va)-.4 G .466
 
751
(lid option is supplied, an option other than).25 F F1<ad70>2.967 E F0
 
752
(or)2.967 E F1<ad72>2.967 E F0 .467(is sup-)2.967 F 1.362
 
753
(plied without a)144 412.8 R F2(name)3.862 E F0(ar)3.862 E 1.361
 
754
(gument, an attempt is made to remo)-.18 F 1.661 -.15(ve a c)-.15 H
 
755
1.361(ompletion speci\214cation for a).15 F F2(name)144 424.8 Q F0
 
756
(for which no speci\214cation e)2.5 E
 
757
(xists, or an error occurs adding a completion speci\214cation.)-.15 E
 
758
F1(compopt)108 441.6 Q F0([)2.5 E F1<ad6f>A F2(option)2.5 E F0 2.5(][)C
 
759
F1(\255DE)-2.5 E F0 2.5(][)C F1(+o)-2.5 E F2(option)2.5 E F0 2.5(][)C F2
 
760
(name)-2.5 E F0(])A .447(Modify completion options for each)144 453.6 R
 
761
F2(name)2.947 E F0 .447(according to the)2.947 F F2(option)2.947 E F0
 
762
.447(s, or for the currently-e)B -.15(xe)-.15 G(cuting).15 E .726
 
763
(completion if no)144 465.6 R F2(name)3.226 E F0 3.226(sa)C .726
 
764
(re supplied.)-3.226 F .725(If no)5.725 F F2(option)3.225 E F0 3.225(sa)
 
765
C .725(re gi)-3.225 F -.15(ve)-.25 G .725
 
766
(n, display the completion options for).15 F(each)144 477.6 Q F2(name)
 
767
3.223 E F0 .723(or the current completion.)3.223 F .724(The possible v)
 
768
5.724 F .724(alues of)-.25 F F2(option)3.224 E F0 .724(are those v)3.224
 
769
F .724(alid for the)-.25 F F1(com-)3.224 E(plete)144 489.6 Q F0 -.2(bu)
 
770
2.798 G .298(iltin described abo).2 F -.15(ve)-.15 G 5.297(.T).15 G(he)
 
771
-5.297 E F1<ad44>2.797 E F0 .297
 
772
(option indicates that the remaining options should apply to)2.797 F
 
773
1.227(the `)144 501.6 R(`def)-.74 E(ault')-.1 E 3.727('c)-.74 G 1.228(o\
 
774
mmand completion; that is, completion attempted on a command for which \
 
775
no)-3.727 F 2.178(completion has pre)144 513.6 R 2.178
 
776
(viously been de\214ned.)-.25 F(The)7.178 E F1<ad45>4.678 E F0 2.177
 
777
(option indicates that the remaining options)4.677 F(should apply to `)
 
778
144 525.6 Q(`empty')-.74 E 2.5('c)-.74 G
 
779
(ommand completion; that is, completion attempted on a blank line.)-2.5
 
780
E 1.387(The return v)144 549.6 R 1.387(alue is true unless an in)-.25 F
 
781
-.25(va)-.4 G 1.388
 
782
(lid option is supplied, an attempt is made to modify the).25 F
 
783
(options for a)144 561.6 Q F2(name)2.5 E F0
 
784
(for which no completion speci\214cation e)2.5 E
 
785
(xists, or an output error occurs.)-.15 E F1(continue)108 578.4 Q F0([)
 
786
2.5 E F2(n)A F0(])A 1.754(Resume the ne)144 590.4 R 1.754
 
787
(xt iteration of the enclosing)-.15 F F1 -.25(fo)4.254 G(r).25 E F0(,)A
 
788
F1(while)4.254 E F0(,)A F1(until)4.254 E F0 4.254(,o)C(r)-4.254 E F1
 
789
(select)4.254 E F0 4.253(loop. If)4.254 F F2(n)4.613 E F0 1.753
 
790
(is speci\214ed,)4.493 F 1.208(resume at the)144 602.4 R F2(n)3.709 E F0
 
791
1.209(th enclosing loop.)B F2(n)6.569 E F0 1.209(must be)3.949 F/F4 10
 
792
/Symbol SF<b3>3.709 E F0 3.709(1. If)3.709 F F2(n)4.069 E F0 1.209
 
793
(is greater than the number of enclosing)3.949 F .514
 
794
(loops, the last enclosing loop \(the `)144 614.4 R(`top-le)-.74 E -.15
 
795
(ve)-.25 G(l').15 E 3.014('l)-.74 G .514(oop\) is resumed.)-3.014 F .513
 
796
(The return v)5.513 F .513(alue is 0 unless)-.25 F F2(n)3.013 E F0(is)
 
797
3.013 E(not greater than or equal to 1.)144 626.4 Q F1(declar)108 643.2
 
798
Q(e)-.18 E F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1<ad70>-2.5 E
 
799
F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C(..])-2.5 E F1
 
800
(typeset)108 655.2 Q F0([)2.5 E F1(\255aAfFgilnrtux)A F0 2.5(][)C F1
 
801
<ad70>-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(value)A F0 2.5(].)C
 
802
(..])-2.5 E 1.264(Declare v)144 667.2 R 1.264(ariables and/or gi)-.25 F
 
803
1.564 -.15(ve t)-.25 H 1.264(hem attrib).15 F 3.765(utes. If)-.2 F(no)
 
804
3.765 E F2(name)3.765 E F0 3.765(sa)C 1.265(re gi)-3.765 F -.15(ve)-.25
 
805
G 3.765(nt).15 G 1.265(hen display the v)-3.765 F 1.265(alues of)-.25 F
 
806
-.25(va)144 679.2 S 3.483(riables. The).25 F F1<ad70>3.483 E F0 .983
 
807
(option will display the attrib)3.483 F .983(utes and v)-.2 F .982
 
808
(alues of each)-.25 F F2(name)3.482 E F0 5.982(.W).18 G(hen)-5.982 E F1
 
809
<ad70>3.482 E F0 .982(is used)3.482 F(with)144 691.2 Q F2(name)2.774 E
 
810
F0(ar)2.774 E .274(guments, additional options, other than)-.18 F F1
 
811
<ad66>2.775 E F0(and)2.775 E F1<ad46>2.775 E F0 2.775(,a)C .275
 
812
(re ignored.)-2.775 F(When)5.275 E F1<ad70>2.775 E F0 .275(is supplied)
 
813
2.775 F(without)144 703.2 Q F2(name)4.814 E F0(ar)4.814 E 2.314
 
814
(guments, it will display the attrib)-.18 F 2.314(utes and v)-.2 F 2.313
 
815
(alues of all v)-.25 F 2.313(ariables ha)-.25 F 2.313(ving the)-.2 F
 
816
(attrib)144 715.2 Q 1.181(utes speci\214ed by the additional options.)
 
817
-.2 F 1.182(If no other options are supplied with)6.181 F F1<ad70>3.682
 
818
E F0(,)A F1(declar)3.682 E(e)-.18 E F0 .62(will display the attrib)144
 
819
727.2 R .62(utes and v)-.2 F .62(alues of all shell v)-.25 F 3.12
 
820
(ariables. The)-.25 F F1<ad66>3.12 E F0 .62
 
821
(option will restrict the display)3.12 F(GNU Bash-4.2)72 768 Q
 
822
(2004 Apr 20)148.735 E(5)203.725 E 0 Cg EP
 
823
%%Page: 6 6
 
824
%%BeginPageSetup
 
825
BP
 
826
%%EndPageSetup
 
827
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
828
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E 1.29
 
829
(to shell functions.)144 84 R(The)6.29 E/F1 10/Times-Bold@0 SF<ad46>3.79
 
830
E F0 1.291(option inhibits the display of function de\214nitions; only \
 
831
the function)3.791 F .948(name and attrib)144 96 R .948
 
832
(utes are printed.)-.2 F .948(If the)5.948 F F1(extdeb)3.448 E(ug)-.2 E
 
833
F0 .948(shell option is enabled using)3.448 F F1(shopt)3.448 E F0 3.448
 
834
(,t)C .948(he source)-3.448 F 1.342(\214le name and line number where t\
 
835
he function is de\214ned are displayed as well.)144 108 R(The)6.342 E F1
 
836
<ad46>3.842 E F0(option)3.842 E(implies)144 120 Q F1<ad66>3.892 E F0
 
837
6.392(.T)C(he)-6.392 E F1<ad67>3.892 E F0 1.391(option forces v)3.892 F
 
838
1.391(ariables to be created or modi\214ed at the global scope, e)-.25 F
 
839
-.15(ve)-.25 G(n).15 E(when)144 132 Q F1(declar)4.382 E(e)-.18 E F0
 
840
1.882(is e)4.382 F -.15(xe)-.15 G 1.882(cuted in a shell function.).15 F
 
841
1.883(It is ignored in all other cases.)6.882 F 1.883(The follo)6.883 F
 
842
(wing)-.25 E .794(options can be used to restrict output to v)144 144 R
 
843
.794(ariables with the speci\214ed attrib)-.25 F .793(ute or to gi)-.2 F
 
844
1.093 -.15(ve v)-.25 H(ariables)-.1 E(attrib)144 156 Q(utes:)-.2 E F1
 
845
<ad61>144 168 Q F0(Each)25.3 E/F2 10/Times-Italic@0 SF(name)2.5 E F0
 
846
(is an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray v)-2.5 E
 
847
(ariable \(see)-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).)
 
848
.15 E F1<ad41>144 180 Q F0(Each)23.08 E F2(name)2.5 E F0
 
849
(is an associati)2.5 E .3 -.15(ve a)-.25 H(rray v).15 E(ariable \(see)
 
850
-.25 E F1(Arrays)2.5 E F0(abo)2.5 E -.15(ve)-.15 G(\).).15 E F1<ad66>144
 
851
192 Q F0(Use function names only)26.97 E(.)-.65 E F1<ad69>144 204 Q F0
 
852
.557(The v)27.52 F .558(ariable is treated as an inte)-.25 F .558
 
853
(ger; arithmetic e)-.15 F -.25(va)-.25 G .558(luation \(see).25 F/F3 9
 
854
/Times-Bold@0 SF .558(ARITHMETIC EV)3.058 F(ALU)-1.215 E(A-)-.54 E(TION)
 
855
180 216 Q F0(abo)2.25 E -.15(ve)-.15 G 2.5(\)i).15 G 2.5(sp)-2.5 G
 
856
(erformed when the v)-2.5 E(ariable is assigned a v)-.25 E(alue.)-.25 E
 
857
F1<ad6c>144 228 Q F0 .91(When the v)27.52 F .909
 
858
(ariable is assigned a v)-.25 F .909(alue, all upper)-.25 F .909
 
859
(-case characters are con)-.2 F -.15(ve)-.4 G .909(rted to lo).15 F(wer)
 
860
-.25 E(-)-.2 E 2.5(case. The)180 240 R(upper)2.5 E(-case attrib)-.2 E
 
861
(ute is disabled.)-.2 E F1<ad6e>144 252 Q F0(Gi)24.74 E 1.619 -.15(ve e)
 
862
-.25 H(ach).15 E F2(name)3.819 E F0(the)3.819 E F2(namer)3.819 E(ef)-.37
 
863
E F0(attrib)3.819 E 1.319(ute, making it a name reference to another v)
 
864
-.2 F(ariable.)-.25 E 1.033(That other v)180 264 R 1.033
 
865
(ariable is de\214ned by the v)-.25 F 1.033(alue of)-.25 F F2(name)3.533
 
866
E F0 6.033(.A)C 1.033(ll references and assignments to)-6.033 F F2(name)
 
867
180 276 Q F0 4.032(,e)C 1.532(xcept for changing the)-4.182 F F1<ad6e>
 
868
4.032 E F0(attrib)4.032 E 1.532(ute itself, are performed on the v)-.2 F
 
869
1.533(ariable refer)-.25 F(-)-.2 E(enced by)180 288 Q F2(name)2.5 E F0
 
870
1.1 -.55('s v)D 2.5(alue. The).3 F F1<ad6e>2.5 E F0(attrib)2.5 E
 
871
(ute cannot be applied to array v)-.2 E(ariables.)-.25 E F1<ad72>144 300
 
872
Q F0(Mak)25.86 E(e)-.1 E F2(name)5.047 E F0 5.047(sr)C(eadonly)-5.047 E
 
873
7.547(.T)-.65 G 2.546(hese names cannot then be assigned v)-7.547 F
 
874
2.546(alues by subsequent)-.25 F(assignment statements or unset.)180 312
 
875
Q F1<ad74>144 324 Q F0(Gi)26.97 E .729 -.15(ve e)-.25 H(ach).15 E F2
 
876
(name)2.929 E F0(the)2.929 E F2(tr)2.929 E(ace)-.15 E F0(attrib)2.929 E
 
877
2.929(ute. T)-.2 F .429(raced functions inherit the)-.35 F F1(DEB)2.929
 
878
E(UG)-.1 E F0(and)2.93 E F1(RETURN)2.93 E F0
 
879
(traps from the calling shell.)180 336 Q(The trace attrib)5 E
 
880
(ute has no special meaning for v)-.2 E(ariables.)-.25 E F1<ad75>144 348
 
881
Q F0 .91(When the v)24.74 F .909(ariable is assigned a v)-.25 F .909
 
882
(alue, all lo)-.25 F(wer)-.25 E .909(-case characters are con)-.2 F -.15
 
883
(ve)-.4 G .909(rted to upper).15 F(-)-.2 E 2.5(case. The)180 360 R(lo)
 
884
2.5 E(wer)-.25 E(-case attrib)-.2 E(ute is disabled.)-.2 E F1<ad78>144
 
885
372 Q F0(Mark)25.3 E F2(name)2.5 E F0 2.5(sf)C(or e)-2.5 E
 
886
(xport to subsequent commands via the en)-.15 E(vironment.)-.4 E .12
 
887
(Using `+' instead of `\255' turns of)144 388.8 R 2.62(ft)-.25 G .12
 
888
(he attrib)-2.62 F .121(ute instead, with the e)-.2 F .121
 
889
(xceptions that)-.15 F F1(+a)2.621 E F0 .121(may not be used)2.621 F
 
890
.645(to destro)144 400.8 R 3.145(ya)-.1 G 3.145(na)-3.145 G .645(rray v)
 
891
-3.145 F .645(ariable and)-.25 F F1(+r)3.145 E F0 .645(will not remo)
 
892
3.145 F .945 -.15(ve t)-.15 H .645(he readonly attrib).15 F 3.144
 
893
(ute. When)-.2 F .644(used in a func-)3.144 F(tion,)144 412.8 Q F1
 
894
(declar)2.835 E(e)-.18 E F0(and)2.835 E F1(typeset)2.835 E F0(mak)2.835
 
895
E 2.835(ee)-.1 G(ach)-2.835 E F2(name)2.835 E F0 .335
 
896
(local, as with the)2.835 F F1(local)2.835 E F0 .335
 
897
(command, unless the)2.835 F F1<ad67>2.835 E F0(option)2.835 E 1.283
 
898
(is supplied.)144 424.8 R 1.283(If a v)6.283 F 1.283
 
899
(ariable name is follo)-.25 F 1.283(wed by =)-.25 F F2(value)A F0 3.783
 
900
(,t)C 1.283(he v)-3.783 F 1.283(alue of the v)-.25 F 1.282
 
901
(ariable is set to)-.25 F F2(value)3.782 E F0(.)A .926(When using)144
 
902
436.8 R F1<ad61>3.426 E F0(or)3.426 E F1<ad41>3.426 E F0 .927
 
903
(and the compound assignment syntax to create array v)3.426 F .927
 
904
(ariables, additional)-.25 F(attrib)144 448.8 Q .592(utes do not tak)-.2
 
905
F 3.092(ee)-.1 G -.25(ff)-3.092 G .592
 
906
(ect until subsequent assignments.).25 F .592(The return v)5.592 F .592
 
907
(alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .429
 
908
(option is encountered, an attempt is made to de\214ne a function using)
 
909
144 460.8 R/F4 10/Courier@0 SF .429(\255f foo=bar)2.929 F F0 2.929(,a)C
 
910
2.929(na)-2.929 G .429(ttempt is)-2.929 F .063(made to assign a v)144
 
911
472.8 R .063(alue to a readonly v)-.25 F .062
 
912
(ariable, an attempt is made to assign a v)-.25 F .062
 
913
(alue to an array v)-.25 F(ari-)-.25 E .102
 
914
(able without using the compound assignment syntax \(see)144 484.8 R F1
 
915
(Arrays)2.602 E F0(abo)2.602 E -.15(ve)-.15 G .102(\), one of the).15 F
 
916
F2(names)2.602 E F0 .102(is not a)2.602 F -.25(va)144 496.8 S .172
 
917
(lid shell v).25 F .171(ariable name, an attempt is made to turn of)-.25
 
918
F 2.671(fr)-.25 G .171(eadonly status for a readonly v)-2.671 F .171
 
919
(ariable, an)-.25 F .96(attempt is made to turn of)144 508.8 R 3.46(fa)
 
920
-.25 G .96(rray status for an array v)-3.46 F .96
 
921
(ariable, or an attempt is made to display a)-.25 F(non-e)144 520.8 Q
 
922
(xistent function with)-.15 E F1<ad66>2.5 E F0(.)A F1
 
923
(dirs [\255clpv] [+)108 537.6 Q F2(n)A F1 2.5(][)C<ad>-2.5 E F2(n)A F1
 
924
(])A F0 -.4(Wi)144 549.6 S .329
 
925
(thout options, displays the list of currently remembered directories.)
 
926
.4 F .328(The def)5.328 F .328(ault display is on a)-.1 F 1.238
 
927
(single line with directory names separated by spaces.)144 561.6 R 1.238
 
928
(Directories are added to the list with the)6.238 F F1(pushd)144 573.6 Q
 
929
F0(command; the)2.5 E F1(popd)2.5 E F0(command remo)2.5 E -.15(ve)-.15 G
 
930
2.5(se).15 G(ntries from the list.)-2.5 E F1<ad63>144 585.6 Q F0
 
931
(Clears the directory stack by deleting all of the entries.)25.86 E F1
 
932
<ad6c>144 597.6 Q F0 .882
 
933
(Produces a listing using full pathnames; the def)27.52 F .881
 
934
(ault listing format uses a tilde to denote)-.1 F(the home directory)180
 
935
609.6 Q(.)-.65 E F1<ad70>144 621.6 Q F0
 
936
(Print the directory stack with one entry per line.)24.74 E F1<ad76>144
 
937
633.6 Q F0 .272(Print the directory stack with one entry per line, pre\
 
938
\214xing each entry with its inde)25.3 F 2.773(xi)-.15 G 2.773(nt)-2.773
 
939
G(he)-2.773 E(stack.)180 645.6 Q F1(+)144 657.6 Q F2(n)A F0 1.565
 
940
(Displays the)25.3 F F2(n)4.065 E F0 1.565
 
941
(th entry counting from the left of the list sho)B 1.564(wn by)-.25 F F1
 
942
(dirs)4.064 E F0 1.564(when in)4.064 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E
 
943
(without options, starting with zero.)180 669.6 Q F1<ad>144 681.6 Q F2
 
944
(n)A F0 1.194(Displays the)25.3 F F2(n)3.694 E F0 1.194
 
945
(th entry counting from the right of the list sho)B 1.194(wn by)-.25 F
 
946
F1(dirs)3.694 E F0 1.194(when in)3.694 F -.2(vo)-.4 G -.1(ke).2 G(d).1 E
 
947
(without options, starting with zero.)180 693.6 Q .258(The return v)144
 
948
710.4 R .258(alue is 0 unless an in)-.25 F -.25(va)-.4 G .258
 
949
(lid option is supplied or).25 F F2(n)2.758 E F0(inde)2.758 E -.15(xe)
 
950
-.15 G 2.758(sb).15 G -.15(ey)-2.758 G .258(ond the end of the direc-)
 
951
.15 F(tory stack.)144 722.4 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735
 
952
E(6)203.725 E 0 Cg EP
 
953
%%Page: 7 7
 
954
%%BeginPageSetup
 
955
BP
 
956
%%EndPageSetup
 
957
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
958
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
959
/Times-Bold@0 SF(diso)108 84 Q(wn)-.1 E F0([)2.5 E F1(\255ar)A F0 2.5
 
960
(][)C F1<ad68>-2.5 E F0 2.5(][)C/F2 10/Times-Italic@0 SF(jobspec)-2.5 E
 
961
F0(...])2.5 E -.4(Wi)144 96 S .121(thout options, remo).4 F .422 -.15
 
962
(ve e)-.15 H(ach).15 E F2(jobspec)4.362 E F0 .122
 
963
(from the table of acti)2.932 F .422 -.15(ve j)-.25 H 2.622(obs. If).15
 
964
F F2(jobspec)4.362 E F0 .122(is not present, and)2.932 F .096
 
965
(neither the)144 108 R F1<ad61>2.596 E F0 .096(nor the)2.596 F F1<ad72>
 
966
2.596 E F0 .096(option is supplied, the)2.596 F F2(curr)2.596 E .096
 
967
(ent job)-.37 F F0 .096(is used.)2.596 F .096(If the)5.096 F F1<ad68>
 
968
2.596 E F0 .096(option is gi)2.596 F -.15(ve)-.25 G .096(n, each).15 F
 
969
F2(jobspec)144 120 Q F0 .672(is not remo)3.482 F -.15(ve)-.15 G 3.172
 
970
(df).15 G .672(rom the table, b)-3.172 F .672(ut is mark)-.2 F .672
 
971
(ed so that)-.1 F/F3 9/Times-Bold@0 SF(SIGHUP)3.172 E F0 .673
 
972
(is not sent to the job if the)2.922 F .962(shell recei)144 132 R -.15
 
973
(ve)-.25 G 3.462(sa).15 G F3(SIGHUP)A/F4 9/Times-Roman@0 SF(.)A F0 .962
 
974
(If no)5.462 F F2(jobspec)5.202 E F0 .962(is supplied, the)3.772 F F1
 
975
<ad61>3.462 E F0 .962(option means to remo)3.462 F 1.262 -.15(ve o)-.15
 
976
H 3.462(rm).15 G .962(ark all)-3.462 F 1.358(jobs; the)144 144 R F1
 
977
<ad72>3.858 E F0 1.358(option without a)3.858 F F2(jobspec)5.598 E F0
 
978
(ar)4.169 E 1.359(gument restricts operation to running jobs.)-.18 F
 
979
1.359(The return)6.359 F -.25(va)144 156 S(lue is 0 unless a).25 E F2
 
980
(jobspec)4.24 E F0(does not specify a v)2.81 E(alid job)-.25 E(.)-.4 E
 
981
F1(echo)108 172.8 Q F0([)2.5 E F1(\255neE)A F0 2.5(][)C F2(ar)-2.5 E(g)
 
982
-.37 E F0(...])2.5 E .425(Output the)144 184.8 R F2(ar)2.925 E(g)-.37 E
 
983
F0 .424(s, separated by spaces, follo)B .424(wed by a ne)-.25 F 2.924
 
984
(wline. The)-.25 F .424(return status is 0 unless a write)2.924 F .307
 
985
(error occurs.)144 196.8 R(If)5.307 E F1<ad6e>2.807 E F0 .307
 
986
(is speci\214ed, the trailing ne)2.807 F .308(wline is suppressed.)-.25
 
987
F .308(If the)5.308 F F1<ad65>2.808 E F0 .308(option is gi)2.808 F -.15
 
988
(ve)-.25 G .308(n, inter).15 F(-)-.2 E 1.349(pretation of the follo)144
 
989
208.8 R 1.348(wing backslash-escaped characters is enabled.)-.25 F(The)
 
990
6.348 E F1<ad45>3.848 E F0 1.348(option disables the)3.848 F 1.054
 
991
(interpretation of these escape characters, e)144 220.8 R -.15(ve)-.25 G
 
992
3.555(no).15 G 3.555(ns)-3.555 G 1.055(ystems where the)-3.555 F 3.555
 
993
(ya)-.15 G 1.055(re interpreted by def)-3.555 F(ault.)-.1 E(The)144
 
994
232.8 Q F1(xpg_echo)3.459 E F0 .959
 
995
(shell option may be used to dynamically determine whether or not)3.459
 
996
F F1(echo)3.458 E F0 -.15(ex)3.458 G(pands).15 E .715
 
997
(these escape characters by def)144 244.8 R(ault.)-.1 E F1(echo)5.715 E
 
998
F0 .716(does not interpret)3.215 F F1<adad>3.216 E F0 .716
 
999
(to mean the end of options.)3.216 F F1(echo)5.716 E F0
 
1000
(interprets the follo)144 256.8 Q(wing escape sequences:)-.25 E F1(\\a)
 
1001
144 268.8 Q F0(alert \(bell\))28.22 E F1(\\b)144 280.8 Q F0(backspace)
 
1002
27.66 E F1(\\c)144 292.8 Q F0(suppress further output)28.78 E F1(\\e)144
 
1003
304.8 Q(\\E)144 316.8 Q F0(an escape character)26.55 E F1(\\f)144 328.8
 
1004
Q F0(form feed)29.89 E F1(\\n)144 340.8 Q F0(ne)27.66 E 2.5(wl)-.25 G
 
1005
(ine)-2.5 E F1(\\r)144 352.8 Q F0(carriage return)28.78 E F1(\\t)144
 
1006
364.8 Q F0(horizontal tab)29.89 E F1(\\v)144 376.8 Q F0 -.15(ve)28.22 G
 
1007
(rtical tab).15 E F1(\\\\)144 388.8 Q F0(backslash)30.44 E F1(\\0)144
 
1008
400.8 Q F2(nnn)A F0(the eight-bit character whose v)13.22 E
 
1009
(alue is the octal v)-.25 E(alue)-.25 E F2(nnn)2.5 E F0
 
1010
(\(zero to three octal digits\))2.5 E F1(\\x)144 412.8 Q F2(HH)A F0
 
1011
(the eight-bit character whose v)13.78 E(alue is the he)-.25 E
 
1012
(xadecimal v)-.15 E(alue)-.25 E F2(HH)2.5 E F0(\(one or tw)2.5 E 2.5(oh)
 
1013
-.1 G .3 -.15(ex d)-2.5 H(igits\)).15 E F1(\\u)144 424.8 Q F2(HHHH)A F0
 
1014
1.507(the Unicode \(ISO/IEC 10646\) character whose v)180 436.8 R 1.506
 
1015
(alue is the he)-.25 F 1.506(xadecimal v)-.15 F(alue)-.25 E F2(HHHH)
 
1016
4.006 E F0(\(one to four he)180 448.8 Q 2.5(xd)-.15 G(igits\))-2.5 E F1
 
1017
(\\U)144 460.8 Q F2(HHHHHHHH)A F0 .547
 
1018
(the Unicode \(ISO/IEC 10646\) character whose v)180 472.8 R .547
 
1019
(alue is the he)-.25 F .548(xadecimal v)-.15 F(alue)-.25 E F2(HHHHH-)
 
1020
3.048 E(HHH)180 484.8 Q F0(\(one to eight he)2.5 E 2.5(xd)-.15 G
 
1021
(igits\))-2.5 E F1(enable)108 501.6 Q F0([)2.5 E F1<ad61>A F0 2.5(][)C
 
1022
F1(\255dnps)-2.5 E F0 2.5(][)C F1<ad66>-2.5 E F2(\214lename)2.5 E F0 2.5
 
1023
(][)C F2(name)-2.5 E F0(...])2.5 E .278(Enable and disable b)144 513.6 R
 
1024
.278(uiltin shell commands.)-.2 F .278(Disabling a b)5.278 F .278
 
1025
(uiltin allo)-.2 F .278(ws a disk command which has)-.25 F .833
 
1026
(the same name as a shell b)144 525.6 R .834(uiltin to be e)-.2 F -.15
 
1027
(xe)-.15 G .834(cuted without specifying a full pathname, e).15 F -.15
 
1028
(ve)-.25 G 3.334(nt).15 G(hough)-3.334 E .99
 
1029
(the shell normally searches for b)144 537.6 R .989
 
1030
(uiltins before disk commands.)-.2 F(If)5.989 E F1<ad6e>3.489 E F0 .989
 
1031
(is used, each)3.489 F F2(name)3.489 E F0 .989(is dis-)3.489 F 1.581
 
1032
(abled; otherwise,)144 549.6 R F2(names)4.082 E F0 1.582(are enabled.)
 
1033
4.082 F -.15(Fo)6.582 G 4.082(re).15 G 1.582(xample, to use the)-4.232 F
 
1034
F1(test)4.082 E F0 1.582(binary found via the)4.082 F F3 -.666(PA)4.082
 
1035
G(TH)-.189 E F0 .081(instead of the shell b)144 561.6 R .081(uiltin v)
 
1036
-.2 F .081(ersion, run)-.15 F/F5 10/Courier@0 SF .081(enable -n test)
 
1037
2.581 F F0 5.081(.T)C(he)-5.081 E F1<ad66>2.58 E F0 .08
 
1038
(option means to load the ne)2.58 F(w)-.25 E -.2(bu)144 573.6 S 1.524
 
1039
(iltin command).2 F F2(name)4.384 E F0 1.524(from shared object)4.204 F
 
1040
F2(\214lename)4.024 E F0 4.024(,o).18 G 4.024(ns)-4.024 G 1.524
 
1041
(ystems that support dynamic loading.)-4.024 F(The)144 585.6 Q F1<ad64>
 
1042
2.867 E F0 .367(option will delete a b)2.867 F .367(uiltin pre)-.2 F
 
1043
.367(viously loaded with)-.25 F F1<ad66>2.866 E F0 5.366(.I)C 2.866(fn)
 
1044
-5.366 G(o)-2.866 E F2(name)2.866 E F0(ar)2.866 E .366(guments are gi)
 
1045
-.18 F -.15(ve)-.25 G .366(n, or).15 F .398(if the)144 597.6 R F1<ad70>
 
1046
2.898 E F0 .399(option is supplied, a list of shell b)2.899 F .399
 
1047
(uiltins is printed.)-.2 F -.4(Wi)5.399 G .399(th no other option ar).4
 
1048
F .399(guments, the)-.18 F .099(list consists of all enabled shell b)144
 
1049
609.6 R 2.598(uiltins. If)-.2 F F1<ad6e>2.598 E F0 .098
 
1050
(is supplied, only disabled b)2.598 F .098(uiltins are printed.)-.2 F
 
1051
(If)5.098 E F1<ad61>2.598 E F0 1.916
 
1052
(is supplied, the list printed includes all b)144 621.6 R 1.916
 
1053
(uiltins, with an indication of whether or not each is)-.2 F 2.879
 
1054
(enabled. If)144 633.6 R F1<ad73>2.879 E F0 .379
 
1055
(is supplied, the output is restricted to the POSIX)2.879 F F2(special)
 
1056
2.879 E F0 -.2(bu)2.878 G 2.878(iltins. The).2 F .378(return v)2.878 F
 
1057
(alue)-.25 E .994(is 0 unless a)144 645.6 R F2(name)3.854 E F0 .994
 
1058
(is not a shell b)3.674 F .994(uiltin or there is an error loading a ne)
 
1059
-.2 F 3.495(wb)-.25 G .995(uiltin from a shared)-3.695 F(object.)144
 
1060
657.6 Q F1 -2.3 -.15(ev a)108 674.4 T(l).15 E F0([)2.5 E F2(ar)A(g)-.37
 
1061
E F0(...])2.5 E(The)144 686.4 Q F2(ar)3.171 E(g)-.37 E F0 3.171(sa)C
 
1062
.671(re read and concatenated together into a single command.)-3.171 F
 
1063
.67(This command is then read)5.67 F .495(and e)144 698.4 R -.15(xe)-.15
 
1064
G .495(cuted by the shell, and its e).15 F .495
 
1065
(xit status is returned as the v)-.15 F .495(alue of)-.25 F F1 -2.3 -.15
 
1066
(ev a)2.995 H(l).15 E F0 5.495(.I)C 2.995(ft)-5.495 G .495(here are no)
 
1067
-2.995 F F2(ar)2.995 E(gs)-.37 E F0(,).27 E(or only null ar)144 710.4 Q
 
1068
(guments,)-.18 E F1 -2.3 -.15(ev a)2.5 H(l).15 E F0(returns 0.)2.5 E
 
1069
(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(7)203.725 E 0 Cg EP
 
1070
%%Page: 8 8
 
1071
%%BeginPageSetup
 
1072
BP
 
1073
%%EndPageSetup
 
1074
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1075
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
1076
/Times-Bold@0 SF(exec)108 84 Q F0([)2.5 E F1(\255cl)A F0 2.5(][)C F1
 
1077
<ad61>-2.5 E/F2 10/Times-Italic@0 SF(name)2.5 E F0 2.5(][)C F2(command)
 
1078
-2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(]])A(If)144 96 Q F2(command)
 
1079
3.006 E F0 .306(is speci\214ed, it replaces the shell.)3.576 F .305
 
1080
(No ne)5.305 F 2.805(wp)-.25 G .305(rocess is created.)-2.805 F(The)
 
1081
5.305 E F2(ar)3.135 E(guments)-.37 E F0(become)3.075 E .176(the ar)144
 
1082
108 R .176(guments to)-.18 F F2(command)2.676 E F0 5.176(.I)C 2.676(ft)
 
1083
-5.176 G(he)-2.676 E F1<ad6c>2.676 E F0 .176
 
1084
(option is supplied, the shell places a dash at the be)2.676 F .177
 
1085
(ginning of)-.15 F .5(the zeroth ar)144 120 R .5(gument passed to)-.18 F
 
1086
F2(command)3 E F0 5.499(.T).77 G .499(his is what)-5.499 F F2(lo)2.999 E
 
1087
(gin)-.1 E F0 .499(\(1\) does.).24 F(The)5.499 E F1<ad63>2.999 E F0 .499
 
1088
(option causes)2.999 F F2(com-)3.199 E(mand)144 132 Q F0 .638(to be e)
 
1089
3.908 F -.15(xe)-.15 G .638(cuted with an empty en).15 F 3.138
 
1090
(vironment. If)-.4 F F1<ad61>3.138 E F0 .638
 
1091
(is supplied, the shell passes)3.138 F F2(name)3.499 E F0 .639(as the)
 
1092
3.319 F 1.078(zeroth ar)144 144 R 1.077(gument to the e)-.18 F -.15(xe)
 
1093
-.15 G 1.077(cuted command.).15 F(If)6.077 E F2(command)3.777 E F0 1.077
 
1094
(cannot be e)4.347 F -.15(xe)-.15 G 1.077(cuted for some reason, a).15 F
 
1095
(non-interacti)144 156 Q .876 -.15(ve s)-.25 H .576(hell e).15 F .576
 
1096
(xits, unless the)-.15 F F1(execfail)3.076 E F0 .577
 
1097
(shell option is enabled.)3.077 F .577(In that case, it returns f)5.577
 
1098
F(ail-)-.1 E 2.505(ure. An)144 168 R(interacti)2.505 E .305 -.15(ve s)
 
1099
-.25 H .005(hell returns f).15 F .005(ailure if the \214le cannot be e)
 
1100
-.1 F -.15(xe)-.15 G 2.505(cuted. If).15 F F2(command)2.705 E F0 .005
 
1101
(is not speci\214ed,)3.275 F(an)144 180 Q 3.036(yr)-.15 G .536
 
1102
(edirections tak)-3.036 F 3.036(ee)-.1 G -.25(ff)-3.036 G .536
 
1103
(ect in the current shell, and the return status is 0.).25 F .536
 
1104
(If there is a redirection)5.536 F(error)144 192 Q 2.5(,t)-.4 G
 
1105
(he return status is 1.)-2.5 E F1(exit)108 208.8 Q F0([)2.5 E F2(n)A F0
 
1106
6.29(]C)C .096(ause the shell to e)-6.29 F .096(xit with a status of)
 
1107
-.15 F F2(n)2.596 E F0 5.096(.I)C(f)-5.096 E F2(n)2.955 E F0 .095
 
1108
(is omitted, the e)2.835 F .095(xit status is that of the last command)
 
1109
-.15 F -.15(exe)144 220.8 S 2.5(cuted. A).15 F(trap on)2.5 E/F3 9
 
1110
/Times-Bold@0 SF(EXIT)2.5 E F0(is e)2.25 E -.15(xe)-.15 G
 
1111
(cuted before the shell terminates.).15 E F1(export)108 237.6 Q F0([)2.5
 
1112
E F1(\255fn)A F0 2.5(][).833 G F2(name)-2.5 E F0([=)A F2(wor)A(d)-.37 E
 
1113
F0(]] ...)A F1(export \255p)108 249.6 Q F0 .256(The supplied)144 261.6 R
 
1114
F2(names)3.117 E F0 .257(are mark)3.027 F .257(ed for automatic e)-.1 F
 
1115
.257(xport to the en)-.15 F .257(vironment of subsequently e)-.4 F -.15
 
1116
(xe)-.15 G(cuted).15 E 2.627(commands. If)144 273.6 R(the)2.627 E F1
 
1117
<ad66>2.627 E F0 .127(option is gi)2.627 F -.15(ve)-.25 G .127(n, the)
 
1118
.15 F F2(names)2.987 E F0 .127(refer to functions.)2.897 F .127(If no)
 
1119
5.127 F F2(names)2.987 E F0 .127(are gi)2.897 F -.15(ve)-.25 G .126
 
1120
(n, or if the).15 F F1<ad70>144 285.6 Q F0 .048
 
1121
(option is supplied, a list of names of all e)2.547 F .048(xported v)
 
1122
-.15 F .048(ariables is printed.)-.25 F(The)5.048 E F1<ad6e>2.548 E F0
 
1123
.048(option causes the)2.548 F -.15(ex)144 297.6 S 1.447
 
1124
(port property to be remo).15 F -.15(ve)-.15 G 3.947(df).15 G 1.447
 
1125
(rom each)-3.947 F F2(name)3.947 E F0 6.447(.I)C 3.947(fav)-6.447 G
 
1126
1.447(ariable name is follo)-4.197 F 1.447(wed by =)-.25 F F2(wor)A(d)
 
1127
-.37 E F0 3.946(,t)C(he)-3.946 E -.25(va)144 309.6 S .741(lue of the v)
 
1128
.25 F .741(ariable is set to)-.25 F F2(wor)3.241 E(d)-.37 E F0(.)A F1
 
1129
(export)5.741 E F0 .742(returns an e)3.242 F .742
 
1130
(xit status of 0 unless an in)-.15 F -.25(va)-.4 G .742(lid option is)
 
1131
.25 F .032(encountered, one of the)144 321.6 R F2(names)2.532 E F0 .032
 
1132
(is not a v)2.532 F .032(alid shell v)-.25 F .032(ariable name, or)-.25
 
1133
F F1<ad66>2.531 E F0 .031(is supplied with a)2.531 F F2(name)2.891 E F0
 
1134
(that)2.711 E(is not a function.)144 333.6 Q F1(fc)108 350.4 Q F0([)2.5
 
1135
E F1<ad65>A F2(ename)2.5 E F0 2.5(][)C F1(\255lnr)-2.5 E F0 2.5(][)C F2
 
1136
<8c72>-2.5 E(st)-.1 E F0 2.5(][)C F2(last)-2.5 E F0(])A F1(fc \255s)108
 
1137
362.4 Q F0([)2.5 E F2(pat)A F0(=)A F2 -.37(re)C(p).37 E F0 2.5(][)C F2
 
1138
(cmd)-2.5 E F0(])A .431
 
1139
(The \214rst form selects a range of commands from)144 374.4 R F2<8c72>
 
1140
4.842 E(st)-.1 E F0(to)3.612 E F2(last)3.022 E F0 .432
 
1141
(from the history list and displays or)3.612 F .142(edits and re-e)144
 
1142
386.4 R -.15(xe)-.15 G .142(cutes them.).15 F F2 -.45(Fi)5.141 G -.1(rs)
 
1143
.45 G(t).1 E F0(and)3.321 E F2(last)2.731 E F0 .141
 
1144
(may be speci\214ed as a string \(to locate the last command)3.321 F(be)
 
1145
144 398.4 Q .31(ginning with that string\) or as a number \(an inde)-.15
 
1146
F 2.811(xi)-.15 G .311(nto the history list, where a ne)-2.811 F -.05
 
1147
(ga)-.15 G(ti).05 E .611 -.15(ve n)-.25 H(umber).15 E .315
 
1148
(is used as an of)144 410.4 R .315
 
1149
(fset from the current command number\).)-.25 F(If)5.315 E F2(last)2.904
 
1150
E F0 .314(is not speci\214ed it is set to the cur)3.494 F(-)-.2 E .948
 
1151
(rent command for listing \(so that)144 422.4 R/F4 10/Courier@0 SF .948
 
1152
(fc \255l \25510)3.448 F F0 .948(prints the last 10 commands\) and to)
 
1153
3.448 F F2<8c72>5.359 E(st)-.1 E F0(other)4.129 E(-)-.2 E 2.5(wise. If)
 
1154
144 434.4 R F2<8c72>4.41 E(st)-.1 E F0
 
1155
(is not speci\214ed it is set to the pre)3.18 E
 
1156
(vious command for editing and \25516 for listing.)-.25 E(The)144 458.4
 
1157
Q F1<ad6e>2.522 E F0 .022
 
1158
(option suppresses the command numbers when listing.)2.522 F(The)5.022 E
 
1159
F1<ad72>2.522 E F0 .022(option re)2.522 F -.15(ve)-.25 G .022
 
1160
(rses the order of).15 F .438(the commands.)144 470.4 R .438(If the)
 
1161
5.438 F F1<ad6c>2.938 E F0 .438(option is gi)2.938 F -.15(ve)-.25 G .438
 
1162
(n, the commands are listed on standard output.).15 F(Otherwise,)5.438 E
 
1163
.335(the editor gi)144 482.4 R -.15(ve)-.25 G 2.835(nb).15 G(y)-2.835 E
 
1164
F2(ename)3.025 E F0 .335(is in)3.015 F -.2(vo)-.4 G -.1(ke).2 G 2.835
 
1165
(do).1 G 2.835(na\214)-2.835 G .335(le containing those commands.)-2.835
 
1166
F(If)5.334 E F2(ename)3.024 E F0 .334(is not gi)3.014 F -.15(ve)-.25 G
 
1167
(n,).15 E .63(the v)144 494.4 R .63(alue of the)-.25 F F3(FCEDIT)3.13 E
 
1168
F0 -.25(va)2.88 G .631(riable is used, and the v).25 F .631(alue of)-.25
 
1169
F F3(EDIT)3.131 E(OR)-.162 E F0(if)2.881 E F3(FCEDIT)3.131 E F0 .631
 
1170
(is not set.)2.881 F .631(If nei-)5.631 F .951(ther v)144 506.4 R .951
 
1171
(ariable is set,)-.25 F F2(vi)5.117 E F0 .951(is used.)5.117 F .95
 
1172
(When editing is complete, the edited commands are echoed and)5.951 F
 
1173
-.15(exe)144 518.4 S(cuted.).15 E .788(In the second form,)144 542.4 R
 
1174
F2(command)3.288 E F0 .788(is re-e)3.288 F -.15(xe)-.15 G .788
 
1175
(cuted after each instance of).15 F F2(pat)3.288 E F0 .788
 
1176
(is replaced by)3.288 F F2 -.37(re)3.289 G(p).37 E F0(.)A F2(Com-)5.789
 
1177
E(mand)144 554.4 Q F0 .347(is intepreted the same as)2.847 F F2<8c72>
 
1178
2.847 E(st)-.1 E F0(abo)2.847 E -.15(ve)-.15 G 5.347(.A).15 G .347
 
1179
(useful alias to use with this is)-2.5 F F4 .346(r='fc \255s')2.847 F F0
 
1180
2.846(,s)C 2.846(ot)-2.846 G(hat)-2.846 E(typing)144 566.4 Q F4 7.165
 
1181
(rc)3.665 G(c)-7.165 E F0 1.165(runs the last command be)3.665 F 1.166
 
1182
(ginning with)-.15 F F4(cc)3.666 E F0 1.166(and typing)3.666 F F4(r)
 
1183
3.666 E F0(re-e)3.666 E -.15(xe)-.15 G 1.166(cutes the last com-).15 F
 
1184
(mand.)144 578.4 Q .142(If the \214rst form is used, the return v)144
 
1185
602.4 R .142(alue is 0 unless an in)-.25 F -.25(va)-.4 G .142
 
1186
(lid option is encountered or).25 F F2<8c72>4.552 E(st)-.1 E F0(or)3.322
 
1187
E F2(last)2.732 E F0 .454(specify history lines out of range.)144 614.4
 
1188
R .454(If the)5.454 F F1<ad65>2.954 E F0 .454
 
1189
(option is supplied, the return v)2.954 F .455(alue is the v)-.25 F .455
 
1190
(alue of the)-.25 F .788(last command e)144 626.4 R -.15(xe)-.15 G .788
 
1191
(cuted or f).15 F .787
 
1192
(ailure if an error occurs with the temporary \214le of commands.)-.1 F
 
1193
.787(If the)5.787 F 1.135
 
1194
(second form is used, the return status is that of the command re-e)144
 
1195
638.4 R -.15(xe)-.15 G 1.136(cuted, unless).15 F F2(cmd)3.836 E F0 1.136
 
1196
(does not)4.406 F(specify a v)144 650.4 Q
 
1197
(alid history line, in which case)-.25 E F1(fc)2.5 E F0(returns f)2.5 E
 
1198
(ailure.)-.1 E F1(fg)108 667.2 Q F0([)2.5 E F2(jobspec)A F0(])A(Resume)
 
1199
144 679.2 Q F2(jobspec)5.654 E F0 1.413(in the fore)4.224 F 1.413
 
1200
(ground, and mak)-.15 F 3.913(ei)-.1 G 3.913(tt)-3.913 G 1.413
 
1201
(he current job)-3.913 F 6.413(.I)-.4 G(f)-6.413 E F2(jobspec)5.653 E F0
 
1202
1.413(is not present, the)4.223 F(shell')144 691.2 Q 3.116(sn)-.55 G
 
1203
.616(otion of the)-3.116 F F2(curr)3.116 E .616(ent job)-.37 F F0 .617
 
1204
(is used.)3.116 F .617(The return v)5.617 F .617
 
1205
(alue is that of the command placed into the)-.25 F(fore)144 703.2 Q
 
1206
.363(ground, or f)-.15 F .363
 
1207
(ailure if run when job control is disabled or)-.1 F 2.862(,w)-.4 G .362
 
1208
(hen run with job control enabled, if)-2.862 F F2(jobspec)145.74 715.2 Q
 
1209
F0 .004(does not specify a v)2.814 F .004(alid job or)-.25 F F2(jobspec)
 
1210
4.244 E F0 .004(speci\214es a job that w)2.814 F .004
 
1211
(as started without job control.)-.1 F(GNU Bash-4.2)72 768 Q
 
1212
(2004 Apr 20)148.735 E(8)203.725 E 0 Cg EP
 
1213
%%Page: 9 9
 
1214
%%BeginPageSetup
 
1215
BP
 
1216
%%EndPageSetup
 
1217
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1218
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
1219
/Times-Bold@0 SF(getopts)108 84 Q/F2 10/Times-Italic@0 SF
 
1220
(optstring name)2.5 E F0([)2.5 E F2(ar)A(gs)-.37 E F0(])A F1(getopts)144
 
1221
96 Q F0 .793
 
1222
(is used by shell procedures to parse positional parameters.)3.294 F F2
 
1223
(optstring)6.023 E F0 .793(contains the option)3.513 F .149
 
1224
(characters to be recognized; if a character is follo)144 108 R .15
 
1225
(wed by a colon, the option is e)-.25 F .15(xpected to ha)-.15 F .45
 
1226
-.15(ve a)-.2 H(n).15 E(ar)144 120 Q .579
 
1227
(gument, which should be separated from it by white space.)-.18 F .578
 
1228
(The colon and question mark char)5.579 F(-)-.2 E 1.665
 
1229
(acters may not be used as option characters.)144 132 R 1.665
 
1230
(Each time it is in)6.665 F -.2(vo)-.4 G -.1(ke).2 G(d,).1 E F1(getopts)
 
1231
4.165 E F0 1.665(places the ne)4.165 F(xt)-.15 E .797
 
1232
(option in the shell v)144 144 R(ariable)-.25 E F2(name)3.297 E F0 3.297
 
1233
(,i).18 G(nitializing)-3.297 E F2(name)3.657 E F0 .797(if it does not e)
 
1234
3.477 F .796(xist, and the inde)-.15 F 3.296(xo)-.15 G 3.296(ft)-3.296 G
 
1235
.796(he ne)-3.296 F(xt)-.15 E(ar)144 156 Q .085
 
1236
(gument to be processed into the v)-.18 F(ariable)-.25 E/F3 9
 
1237
/Times-Bold@0 SF(OPTIND)2.585 E/F4 9/Times-Roman@0 SF(.)A F3(OPTIND)
 
1238
4.585 E F0 .085(is initialized to 1 each time the shell)2.335 F .846
 
1239
(or a shell script is in)144 168 R -.2(vo)-.4 G -.1(ke).2 G 3.345
 
1240
(d. When).1 F .845(an option requires an ar)3.345 F(gument,)-.18 E F1
 
1241
(getopts)3.345 E F0 .845(places that ar)3.345 F(gument)-.18 E .803
 
1242
(into the v)144 180 R(ariable)-.25 E F3(OPT)3.303 E(ARG)-.81 E F4(.)A F0
 
1243
.803(The shell does not reset)5.303 F F3(OPTIND)3.303 E F0 .804
 
1244
(automatically; it must be manually)3.054 F .294
 
1245
(reset between multiple calls to)144 192 R F1(getopts)2.793 E F0 .293
 
1246
(within the same shell in)2.793 F -.2(vo)-.4 G .293(cation if a ne).2 F
 
1247
2.793(ws)-.25 G .293(et of parameters)-2.793 F(is to be used.)144 204 Q
 
1248
2.043(When the end of options is encountered,)144 228 R F1(getopts)4.543
 
1249
E F0 -.15(ex)4.543 G 2.043(its with a return v).15 F 2.044
 
1250
(alue greater than zero.)-.25 F F3(OPTIND)144 240 Q F0
 
1251
(is set to the inde)2.25 E 2.5(xo)-.15 G 2.5(ft)-2.5 G
 
1252
(he \214rst non-option ar)-2.5 E(gument, and)-.18 E F2(name)2.5 E F0
 
1253
(is set to ?.)2.5 E F1(getopts)144 264 Q F0 2.393
 
1254
(normally parses the positional parameters, b)4.893 F 2.392
 
1255
(ut if more ar)-.2 F 2.392(guments are gi)-.18 F -.15(ve)-.25 G 4.892
 
1256
(ni).15 G(n)-4.892 E F2(ar)4.892 E(gs)-.37 E F0(,).27 E F1(getopts)144
 
1257
276 Q F0(parses those instead.)2.5 E F1(getopts)144 300 Q F0 1.165
 
1258
(can report errors in tw)3.665 F 3.665(ow)-.1 G 3.665(ays. If)-3.765 F
 
1259
1.165(the \214rst character of)3.665 F F2(optstring)3.895 E F0 1.166
 
1260
(is a colon,)3.886 F F2(silent)4.006 E F0(error)4.346 E 1.071
 
1261
(reporting is used.)144 312 R 1.071
 
1262
(In normal operation, diagnostic messages are printed when in)6.071 F
 
1263
-.25(va)-.4 G 1.07(lid options or).25 F .393(missing option ar)144 324 R
 
1264
.393(guments are encountered.)-.18 F .394(If the v)5.394 F(ariable)-.25
 
1265
E F3(OPTERR)2.894 E F0 .394(is set to 0, no error messages)2.644 F
 
1266
(will be displayed, e)144 336 Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5
 
1267
G(he \214rst character of)-2.5 E F2(optstring)2.73 E F0(is not a colon.)
 
1268
2.72 E .667(If an in)144 360 R -.25(va)-.4 G .667(lid option is seen,)
 
1269
.25 F F1(getopts)3.167 E F0 .667(places ? into)3.167 F F2(name)3.527 E
 
1270
F0 .666(and, if not silent, prints an error message)3.347 F .399
 
1271
(and unsets)144 372 R F3(OPT)2.899 E(ARG)-.81 E F4(.)A F0(If)4.899 E F1
 
1272
(getopts)2.899 E F0 .399
 
1273
(is silent, the option character found is placed in)2.899 F F3(OPT)2.899
 
1274
E(ARG)-.81 E F0 .4(and no)2.65 F(diagnostic message is printed.)144 384
 
1275
Q 1.242(If a required ar)144 408 R 1.242(gument is not found, and)-.18 F
 
1276
F1(getopts)3.741 E F0 1.241(is not silent, a question mark \()3.741 F F1
 
1277
(?).833 E F0 3.741(\)i).833 G 3.741(sp)-3.741 G 1.241(laced in)-3.741 F
 
1278
F2(name)144 420 Q F0(,).18 E F3(OPT)2.734 E(ARG)-.81 E F0 .234
 
1279
(is unset, and a diagnostic message is printed.)2.484 F(If)5.234 E F1
 
1280
(getopts)2.734 E F0 .235(is silent, then a colon \()2.734 F F1(:).833 E
 
1281
F0(\)).833 E(is placed in)144 432 Q F2(name)2.86 E F0(and)2.68 E F3(OPT)
 
1282
2.5 E(ARG)-.81 E F0(is set to the option character found.)2.25 E F1
 
1283
(getopts)144 456 Q F0 .902
 
1284
(returns true if an option, speci\214ed or unspeci\214ed, is found.)
 
1285
3.402 F .902(It returns f)5.902 F .901(alse if the end of)-.1 F
 
1286
(options is encountered or an error occurs.)144 468 Q F1(hash)108 484.8
 
1287
Q F0([)2.5 E F1(\255lr)A F0 2.5(][)C F1<ad70>-2.5 E F2(\214lename)2.5 E
 
1288
F0 2.5(][)C F1(\255dt)-2.5 E F0 2.5(][)C F2(name)-2.5 E F0(])A .858
 
1289
(Each time)144 496.8 R F1(hash)3.358 E F0 .858(is in)3.358 F -.2(vo)-.4
 
1290
G -.1(ke).2 G .858(d, the full pathname of the command).1 F F2(name)
 
1291
3.718 E F0 .858(is determined by searching)3.538 F .956
 
1292
(the directories in)144 508.8 R F1($P)3.456 E -.95(AT)-.74 G(H).95 E F0
 
1293
.956(and remembered.)3.456 F(An)5.956 E 3.456(yp)-.15 G(re)-3.456 E .956
 
1294
(viously-remembered pathname is discarded.)-.25 F .242(If the)144 520.8
 
1295
R F1<ad70>2.742 E F0 .243
 
1296
(option is supplied, no path search is performed, and)2.742 F F2
 
1297
(\214lename)4.653 E F0 .243(is used as the full \214lename)2.923 F 1.712
 
1298
(of the command.)144 532.8 R(The)6.712 E F1<ad72>4.212 E F0 1.711
 
1299
(option causes the shell to for)4.212 F 1.711
 
1300
(get all remembered locations.)-.18 F(The)6.711 E F1<ad64>4.211 E F0
 
1301
.833(option causes the shell to for)144 544.8 R .833
 
1302
(get the remembered location of each)-.18 F F2(name)3.333 E F0 5.833(.I)
 
1303
C 3.333(ft)-5.833 G(he)-3.333 E F1<ad74>3.333 E F0 .833(option is sup-)
 
1304
3.333 F .704(plied, the full pathname to which each)144 556.8 R F2(name)
 
1305
3.204 E F0 .703(corresponds is printed.)3.204 F .703(If multiple)5.703 F
 
1306
F2(name)3.203 E F0(ar)3.203 E(guments)-.18 E .795(are supplied with)144
 
1307
568.8 R F1<ad74>3.295 E F0 3.295(,t)C(he)-3.295 E F2(name)3.295 E F0
 
1308
.795(is printed before the hashed full pathname.)3.295 F(The)5.795 E F1
 
1309
<ad6c>3.295 E F0 .795(option causes)3.295 F .934
 
1310
(output to be displayed in a format that may be reused as input.)144
 
1311
580.8 R .934(If no ar)5.934 F .934(guments are gi)-.18 F -.15(ve)-.25 G
 
1312
.934(n, or if).15 F(only)144 592.8 Q F1<ad6c>2.821 E F0 .321
 
1313
(is supplied, information about remembered commands is printed.)2.821 F
 
1314
.322(The return status is true)5.322 F(unless a)144 604.8 Q F2(name)2.86
 
1315
E F0(is not found or an in)2.68 E -.25(va)-.4 G(lid option is supplied.)
 
1316
.25 E F1(help)108 621.6 Q F0([)2.5 E F1(\255dms)A F0 2.5(][)C F2
 
1317
(pattern)-2.5 E F0(])A .867(Display helpful information about b)144
 
1318
633.6 R .867(uiltin commands.)-.2 F(If)5.867 E F2(pattern)4.617 E F0
 
1319
.866(is speci\214ed,)3.607 F F1(help)3.366 E F0(gi)3.366 E -.15(ve)-.25
 
1320
G 3.366(sd).15 G(etailed)-3.366 E .306(help on all commands matching)144
 
1321
645.6 R F2(pattern)2.806 E F0 2.807(;o).24 G .307
 
1322
(therwise help for all the b)-2.807 F .307
 
1323
(uiltins and shell control struc-)-.2 F(tures is printed.)144 657.6 Q F1
 
1324
<ad64>144 669.6 Q F0(Display a short description of each)24.74 E F2
 
1325
(pattern)2.5 E F1<ad6d>144 681.6 Q F0(Display the description of each)
 
1326
21.97 E F2(pattern)2.5 E F0(in a manpage-lik)2.5 E 2.5(ef)-.1 G(ormat)
 
1327
-2.5 E F1<ad73>144 693.6 Q F0
 
1328
(Display only a short usage synopsis for each)26.41 E F2(pattern)2.5 E
 
1329
F0(The return status is 0 unless no command matches)144 710.4 Q F2
 
1330
(pattern)2.5 E F0(.).24 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(9)
 
1331
203.725 E 0 Cg EP
 
1332
%%Page: 10 10
 
1333
%%BeginPageSetup
 
1334
BP
 
1335
%%EndPageSetup
 
1336
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1337
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
1338
/Times-Bold@0 SF(history [)108 84 Q/F2 10/Times-Italic@0 SF(n)A F1(])A
 
1339
(history \255c)108 96 Q(history \255d)108 108 Q F2(of)2.5 E(fset)-.18 E
 
1340
F1(history \255anrw)108 120 Q F0([)2.5 E F2(\214lename)A F0(])A F1
 
1341
(history \255p)108 132 Q F2(ar)2.5 E(g)-.37 E F0([)2.5 E F2(ar)A 2.5(g.)
 
1342
-.37 G(..)-2.5 E F0(])A F1(history \255s)108 144 Q F2(ar)2.5 E(g)-.37 E
 
1343
F0([)2.5 E F2(ar)A 2.5(g.)-.37 G(..)-2.5 E F0(])A -.4(Wi)144 156 S .752
 
1344
(th no options, display the command history list with line numbers.).4 F
 
1345
.752(Lines listed with a)5.752 F F1(*)3.251 E F0(ha)3.251 E -.15(ve)-.2
 
1346
G .38(been modi\214ed.)144 168 R .38(An ar)5.38 F .38(gument of)-.18 F
 
1347
F2(n)3.24 E F0 .38(lists only the last)3.12 F F2(n)3.24 E F0 2.88
 
1348
(lines. If)3.12 F .38(the shell v)2.88 F(ariable)-.25 E/F3 9
 
1349
/Times-Bold@0 SF(HISTTIMEFOR-)2.881 E(MA)144 180 Q(T)-.855 E F0 .265
 
1350
(is set and not null, it is used as a format string for)2.515 F F2
 
1351
(strftime)2.764 E F0 .264(\(3\) to display the time stamp asso-)B 1.019
 
1352
(ciated with each displayed history entry)144 192 R 6.019(.N)-.65 G
 
1353
3.519(oi)-6.019 G(nterv)-3.519 E 1.019
 
1354
(ening blank is printed between the formatted)-.15 F .176
 
1355
(time stamp and the history line.)144 204 R(If)5.176 E F2(\214lename)
 
1356
2.676 E F0 .176
 
1357
(is supplied, it is used as the name of the history \214le; if)2.676 F
 
1358
(not, the v)144 216 Q(alue of)-.25 E F3(HISTFILE)2.5 E F0(is used.)2.25
 
1359
E(Options, if supplied, ha)5 E .3 -.15(ve t)-.2 H(he follo).15 E
 
1360
(wing meanings:)-.25 E F1<ad63>144 228 Q F0
 
1361
(Clear the history list by deleting all the entries.)25.86 E F1<ad64>144
 
1362
240 Q F2(of)2.5 E(fset)-.18 E F0(Delete the history entry at position)
 
1363
180 252 Q F2(of)2.5 E(fset)-.18 E F0(.)A F1<ad61>144 264 Q F0 .598
 
1364
(Append the `)25.3 F(`ne)-.74 E(w')-.25 E 3.098('h)-.74 G .598
 
1365
(istory lines \(history lines entered since the be)-3.098 F .599
 
1366
(ginning of the current)-.15 F F1(bash)180 276 Q F0
 
1367
(session\) to the history \214le.)2.5 E F1<ad6e>144 288 Q F0 .854(Read \
 
1368
the history lines not already read from the history \214le into the cur\
 
1369
rent history list.)24.74 F .772
 
1370
(These are lines appended to the history \214le since the be)180 300 R
 
1371
.773(ginning of the current)-.15 F F1(bash)3.273 E F0(ses-)3.273 E
 
1372
(sion.)180 312 Q F1<ad72>144 324 Q F0(Read the contents of the history \
 
1373
\214le and append them to the current history list.)25.86 E F1<ad77>144
 
1374
336 Q F0(Write the current history list to the history \214le, o)23.08 E
 
1375
-.15(ve)-.15 G(rwriting the history \214le').15 E 2.5(sc)-.55 G
 
1376
(ontents.)-2.5 E F1<ad70>144 348 Q F0 .626
 
1377
(Perform history substitution on the follo)24.74 F(wing)-.25 E F2(ar)
 
1378
3.125 E(gs)-.37 E F0 .625(and display the result on the standard)3.125 F
 
1379
2.975(output. Does)180 360 R .475
 
1380
(not store the results in the history list.)2.975 F(Each)5.475 E F2(ar)
 
1381
2.975 E(g)-.37 E F0 .475(must be quoted to disable)2.975 F
 
1382
(normal history e)180 372 Q(xpansion.)-.15 E F1<ad73>144 384 Q F0 .363
 
1383
(Store the)26.41 F F2(ar)3.193 E(gs)-.37 E F0 .363
 
1384
(in the history list as a single entry)3.133 F 5.363(.T)-.65 G .362
 
1385
(he last command in the history list is)-5.363 F(remo)180 396 Q -.15(ve)
 
1386
-.15 G 2.5(db).15 G(efore the)-2.5 E F2(ar)2.83 E(gs)-.37 E F0
 
1387
(are added.)2.77 E .145(If the)144 412.8 R F3(HISTTIMEFORMA)2.645 E(T)
 
1388
-.855 E F0 -.25(va)2.395 G .145
 
1389
(riable is set, the time stamp information associated with each history)
 
1390
.25 F .669(entry is written to the history \214le, mark)144 424.8 R .669
 
1391
(ed with the history comment character)-.1 F 5.668(.W)-.55 G .668
 
1392
(hen the history)-5.668 F .955(\214le is read, lines be)144 436.8 R .956
 
1393
(ginning with the history comment character follo)-.15 F .956
 
1394
(wed immediately by a digit)-.25 F .416
 
1395
(are interpreted as timestamps for the pre)144 448.8 R .416
 
1396
(vious history line.)-.25 F .416(The return v)5.416 F .415
 
1397
(alue is 0 unless an in)-.25 F -.25(va)-.4 G(lid).25 E .499(option is e\
 
1398
ncountered, an error occurs while reading or writing the history \214le\
 
1399
, an in)144 460.8 R -.25(va)-.4 G(lid).25 E F2(of)3 E(fset)-.18 E F0(is)
 
1400
3 E(supplied as an ar)144 472.8 Q(gument to)-.18 E F1<ad64>2.5 E F0 2.5
 
1401
(,o)C 2.5(rt)-2.5 G(he history e)-2.5 E(xpansion supplied as an ar)-.15
 
1402
E(gument to)-.18 E F1<ad70>2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(jobs)108
 
1403
489.6 Q F0([)2.5 E F1(\255lnprs)A F0 2.5(][)C F2(jobspec)A F0(... ])2.5
 
1404
E F1(jobs \255x)108 501.6 Q F2(command)2.5 E F0([)2.5 E F2(ar)2.5 E(gs)
 
1405
-.37 E F0(... ])2.5 E(The \214rst form lists the acti)144 513.6 Q .3
 
1406
-.15(ve j)-.25 H 2.5(obs. The).15 F(options ha)2.5 E .3 -.15(ve t)-.2 H
 
1407
(he follo).15 E(wing meanings:)-.25 E F1<ad6c>144 525.6 Q F0
 
1408
(List process IDs in addition to the normal information.)27.52 E F1
 
1409
<ad6e>144 537.6 Q F0 .194(Display information only about jobs that ha)
 
1410
24.74 F .494 -.15(ve c)-.2 H .193(hanged status since the user w).15 F
 
1411
.193(as last noti-)-.1 F(\214ed of their status.)180 549.6 Q F1<ad70>144
 
1412
561.6 Q F0(List only the process ID of the job')24.74 E 2.5(sp)-.55 G
 
1413
(rocess group leader)-2.5 E(.)-.55 E F1<ad72>144 573.6 Q F0
 
1414
(Display only running jobs.)25.86 E F1<ad73>144 585.6 Q F0
 
1415
(Display only stopped jobs.)26.41 E(If)144 602.4 Q F2(jobspec)4.553 E F0
 
1416
.313(is gi)3.123 F -.15(ve)-.25 G .313
 
1417
(n, output is restricted to information about that job).15 F 5.314(.T)
 
1418
-.4 G .314(he return status is 0 unless)-5.314 F(an in)144 614.4 Q -.25
 
1419
(va)-.4 G(lid option is encountered or an in).25 E -.25(va)-.4 G(lid).25
 
1420
E F2(jobspec)4.24 E F0(is supplied.)2.81 E .395(If the)144 631.2 R F1
 
1421
<ad78>2.895 E F0 .394(option is supplied,)2.894 F F1(jobs)2.894 E F0
 
1422
.394(replaces an)2.894 F(y)-.15 E F2(jobspec)4.634 E F0 .394(found in)
 
1423
3.204 F F2(command)3.094 E F0(or)3.664 E F2(ar)3.224 E(gs)-.37 E F0 .394
 
1424
(with the corre-)3.164 F(sponding process group ID, and e)144 643.2 Q
 
1425
-.15(xe)-.15 G(cutes).15 E F2(command)2.7 E F0(passing it)3.27 E F2(ar)
 
1426
2.5 E(gs)-.37 E F0 2.5(,r).27 G(eturning its e)-2.5 E(xit status.)-.15 E
 
1427
F1(kill)108 660 Q F0([)2.5 E F1<ad73>A F2(sigspec)2.5 E F0(|)2.5 E F1
 
1428
<ad6e>2.5 E F2(signum)2.5 E F0(|)2.5 E F1<ad>2.5 E F2(sigspec)A F0 2.5
 
1429
(][)C F2(pid)-2.5 E F0(|)2.5 E F2(jobspec)2.5 E F0 2.5(].)C(..)-2.5 E F1
 
1430
(kill \255l)108 672 Q F0([)2.5 E F2(sigspec)A F0(|)2.5 E F2 -.2(ex)2.5 G
 
1431
(it_status).2 E F0(])A .119(Send the signal named by)144 684 R F2
 
1432
(sigspec)2.959 E F0(or)2.929 E F2(signum)2.959 E F0 .119
 
1433
(to the processes named by)2.939 F F2(pid)3.87 E F0(or)3.39 E F2
 
1434
(jobspec)2.62 E F0(.).31 E F2(sigspec)5.46 E F0(is)2.93 E .319
 
1435
(either a case-insensiti)144 696 R .619 -.15(ve s)-.25 H .319
 
1436
(ignal name such as).15 F F3(SIGKILL)2.819 E F0 .318
 
1437
(\(with or without the)2.569 F F3(SIG)2.818 E F0 .318
 
1438
(pre\214x\) or a signal)2.568 F(number;)144 708 Q F2(signum)4.188 E F0
 
1439
1.349(is a signal number)4.168 F 6.349(.I)-.55 G(f)-6.349 E F2(sigspec)
 
1440
4.189 E F0 1.349(is not present, then)4.159 F F3(SIGTERM)3.849 E F0
 
1441
1.349(is assumed.)3.599 F(An)6.349 E(ar)144 720 Q .523(gument of)-.18 F
 
1442
F1<ad6c>3.023 E F0 .523(lists the signal names.)3.023 F .523(If an)5.523
 
1443
F 3.023(ya)-.15 G -.18(rg)-3.023 G .523(uments are supplied when).18 F
 
1444
F1<ad6c>3.023 E F0 .523(is gi)3.023 F -.15(ve)-.25 G .523(n, the names)
 
1445
.15 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(10)198.725 E 0 Cg EP
 
1446
%%Page: 11 11
 
1447
%%BeginPageSetup
 
1448
BP
 
1449
%%EndPageSetup
 
1450
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1451
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .28
 
1452
(of the signals corresponding to the ar)144 84 R .28
 
1453
(guments are listed, and the return status is 0.)-.18 F(The)5.28 E/F1 10
 
1454
/Times-Italic@0 SF -.2(ex)2.78 G(it_status).2 E F0(ar)144 96 Q .378
 
1455
(gument to)-.18 F/F2 10/Times-Bold@0 SF<ad6c>2.878 E F0 .378
 
1456
(is a number specifying either a signal number or the e)2.878 F .377
 
1457
(xit status of a process termi-)-.15 F .593(nated by a signal.)144 108 R
 
1458
F2(kill)5.593 E F0 .593(returns true if at least one signal w)3.093 F
 
1459
.593(as successfully sent, or f)-.1 F .594(alse if an error)-.1 F
 
1460
(occurs or an in)144 120 Q -.25(va)-.4 G(lid option is encountered.).25
 
1461
E F2(let)108 136.8 Q F1(ar)2.5 E(g)-.37 E F0([)2.5 E F1(ar)A(g)-.37 E F0
 
1462
(...])2.5 E(Each)144 148.8 Q F1(ar)3.027 E(g)-.37 E F0 .197
 
1463
(is an arithmetic e)2.917 F .197(xpression to be e)-.15 F -.25(va)-.25 G
 
1464
.196(luated \(see).25 F/F3 9/Times-Bold@0 SF .196(ARITHMETIC EV)2.696 F
 
1465
(ALU)-1.215 E -.855(AT)-.54 G(ION).855 E F0(abo)2.446 E -.15(ve)-.15 G
 
1466
2.696(\). If).15 F(the last)144 160.8 Q F1(ar)2.83 E(g)-.37 E F0 -.25
 
1467
(eva)2.72 G(luates to 0,).25 E F2(let)2.5 E F0
 
1468
(returns 1; 0 is returned otherwise.)2.5 E F2(local)108 177.6 Q F0([)2.5
 
1469
E F1(option)A F0 2.5(][)C F1(name)-2.5 E F0([=)A F1(value)A F0 2.5(].)C
 
1470
(..])-2.5 E -.15(Fo)144 189.6 S 2.56(re).15 G .06(ach ar)-2.56 F .06
 
1471
(gument, a local v)-.18 F .06(ariable named)-.25 F F1(name)2.92 E F0 .06
 
1472
(is created, and assigned)2.74 F F1(value)2.56 E F0 5.06(.T).18 G(he)
 
1473
-5.06 E F1(option)2.56 E F0 .06(can be)2.56 F(an)144 201.6 Q 3.153(yo)
 
1474
-.15 G 3.153(ft)-3.153 G .653(he options accepted by)-3.153 F F2(declar)
 
1475
3.153 E(e)-.18 E F0 5.652(.W)C(hen)-5.652 E F2(local)3.152 E F0 .652
 
1476
(is used within a function, it causes the v)3.152 F(ari-)-.25 E(able)144
 
1477
213.6 Q F1(name)3.72 E F0 .86(to ha)3.54 F 1.16 -.15(ve a v)-.2 H .861
 
1478
(isible scope restricted to that function and its children.).15 F -.4
 
1479
(Wi)5.861 G .861(th no operands,).4 F F2(local)144 225.6 Q F0 1.165
 
1480
(writes a list of local v)3.665 F 1.165
 
1481
(ariables to the standard output.)-.25 F 1.165(It is an error to use)
 
1482
6.165 F F2(local)3.664 E F0 1.164(when not)3.664 F .232
 
1483
(within a function.)144 237.6 R .233(The return status is 0 unless)5.232
 
1484
F F2(local)2.733 E F0 .233(is used outside a function, an in)2.733 F
 
1485
-.25(va)-.4 G(lid).25 E F1(name)3.093 E F0(is)2.913 E(supplied, or)144
 
1486
249.6 Q F1(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F2
 
1487
(logout)108 266.4 Q F0(Exit a login shell.)9.33 E F2(map\214le)108 283.2
 
1488
Q F0([)2.5 E F2<ad6e>A F1(count)2.5 E F0 2.5(][)C F2<ad4f>-2.5 E F1
 
1489
(origin)2.5 E F0 2.5(][)C F2<ad73>-2.5 E F1(count)2.5 E F0 2.5(][)C F2
 
1490
<ad74>-2.5 E F0 2.5(][)C F2<ad75>-2.5 E F1(fd)2.5 E F0 2.5(][)C F2<ad43>
 
1491
-2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][)C F2<ad63>-2.5 E F1(quantum)
 
1492
2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0(])A F2 -.18(re)108 295.2 S
 
1493
(adarray).18 E F0([)2.5 E F2<ad6e>A F1(count)2.5 E F0 2.5(][)C F2<ad4f>
 
1494
-2.5 E F1(origin)2.5 E F0 2.5(][)C F2<ad73>-2.5 E F1(count)2.5 E F0 2.5
 
1495
(][)C F2<ad74>-2.5 E F0 2.5(][)C F2<ad75>-2.5 E F1(fd)2.5 E F0 2.5(][)C
 
1496
F2<ad43>-2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][)C F2<ad63>-2.5 E F1
 
1497
(quantum)2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0(])A .351
 
1498
(Read lines from the standard input into the inde)144 307.2 R -.15(xe)
 
1499
-.15 G 2.851(da).15 G .351(rray v)-2.851 F(ariable)-.25 E F1(arr)2.85 E
 
1500
(ay)-.15 E F0 2.85(,o).32 G 2.85(rf)-2.85 G .35(rom \214le descriptor)
 
1501
-2.85 F F1(fd)2.85 E F0 1.248(if the)144 319.2 R F2<ad75>3.748 E F0
 
1502
1.248(option is supplied.)3.748 F 1.249(The v)6.249 F(ariable)-.25 E F3
 
1503
(MAPFILE)3.749 E F0 1.249(is the def)3.499 F(ault)-.1 E F1(arr)3.749 E
 
1504
(ay)-.15 E F0 6.249(.O)C 1.249(ptions, if supplied,)-6.249 F(ha)144
 
1505
331.2 Q .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2<ad6e>
 
1506
144 343.2 Q F0(Cop)24.74 E 2.5(ya)-.1 G 2.5(tm)-2.5 G(ost)-2.5 E F1
 
1507
(count)2.7 E F0 2.5(lines. If)3.18 F F1(count)2.5 E F0
 
1508
(is 0, all lines are copied.)2.5 E F2<ad4f>144 355.2 Q F0(Be)22.52 E
 
1509
(gin assigning to)-.15 E F1(arr)2.83 E(ay)-.15 E F0(at inde)2.82 E(x)
 
1510
-.15 E F1(origin)2.5 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E 2.5(xi)
 
1511
-.15 G 2.5(s0)-2.5 G(.)-2.5 E F2<ad73>144 367.2 Q F0
 
1512
(Discard the \214rst)26.41 E F1(count)2.5 E F0(lines read.)2.5 E F2
 
1513
<ad74>144 379.2 Q F0(Remo)26.97 E .3 -.15(ve a t)-.15 H(railing ne).15 E
 
1514
(wline from each line read.)-.25 E F2<ad75>144 391.2 Q F0
 
1515
(Read lines from \214le descriptor)24.74 E F1(fd)2.5 E F0
 
1516
(instead of the standard input.)2.5 E F2<ad43>144 403.2 Q F0(Ev)23.08 E
 
1517
(aluate)-.25 E F1(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F1(quantum)
 
1518
2.5 E F0(lines are read.)2.5 E(The)5 E F2<ad63>2.5 E F0
 
1519
(option speci\214es)2.5 E F1(quantum)2.5 E F0(.).32 E F2<ad63>144 415.2
 
1520
Q F0(Specify the number of lines read between each call to)25.86 E F1
 
1521
(callbac)2.5 E(k)-.2 E F0(.).67 E(If)144 432 Q F2<ad43>2.968 E F0 .467
 
1522
(is speci\214ed without)2.967 F F2<ad63>2.967 E F0 2.967(,t)C .467
 
1523
(he def)-2.967 F .467(ault quantum is 5000.)-.1 F(When)5.467 E F1
 
1524
(callbac)2.967 E(k)-.2 E F0 .467(is e)2.967 F -.25(va)-.25 G .467
 
1525
(luated, it is sup-).25 F .261(plied the inde)144 444 R 2.761(xo)-.15 G
 
1526
2.761(ft)-2.761 G .261(he ne)-2.761 F .262(xt array element to be assig\
 
1527
ned and the line to be assigned to that element)-.15 F .275
 
1528
(as additional ar)144 456 R(guments.)-.18 E F1(callbac)5.275 E(k)-.2 E
 
1529
F0 .275(is e)2.775 F -.25(va)-.25 G .274
 
1530
(luated after the line is read b).25 F .274
 
1531
(ut before the array element is)-.2 F(assigned.)144 468 Q
 
1532
(If not supplied with an e)144 484.8 Q(xplicit origin,)-.15 E F2
 
1533
(map\214le)2.5 E F0(will clear)2.5 E F1(arr)2.5 E(ay)-.15 E F0
 
1534
(before assigning to it.)2.5 E F2(map\214le)144 501.6 Q F0 1.905
 
1535
(returns successfully unless an in)4.405 F -.25(va)-.4 G 1.905
 
1536
(lid option or option ar).25 F 1.906(gument is supplied,)-.18 F F1(arr)
 
1537
4.406 E(ay)-.15 E F0(is)4.406 E(in)144 513.6 Q -.25(va)-.4 G
 
1538
(lid or unassignable, or if).25 E F1(arr)2.5 E(ay)-.15 E F0
 
1539
(is not an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray)-2.5 E(.)-.65 E
 
1540
F2(popd)108 530.4 Q F0<5bad>2.5 E F2(n)A F0 2.5(][)C(+)-2.5 E F1(n)A F0
 
1541
2.5(][)C<ad>-2.5 E F1(n)A F0(])A(Remo)144 542.4 Q -.15(ve)-.15 G 2.8(se)
 
1542
.15 G .3(ntries from the directory stack.)-2.8 F -.4(Wi)5.299 G .299
 
1543
(th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G
 
1544
.299(he top directory from the)-2.799 F 1.478(stack, and performs a)144
 
1545
554.4 R F2(cd)3.978 E F0 1.479(to the ne)3.978 F 3.979(wt)-.25 G 1.479
 
1546
(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.479
 
1547
(uments, if supplied, ha).18 F 1.779 -.15(ve t)-.2 H 1.479(he follo).15
 
1548
F(wing)-.25 E(meanings:)144 566.4 Q F2<ad6e>144 578.4 Q F0 .551
 
1549
(Suppresses the normal change of directory when remo)24.74 F .551
 
1550
(ving directories from the stack, so)-.15 F
 
1551
(that only the stack is manipulated.)180 590.4 Q F2(+)144 602.4 Q F1(n)A
 
1552
F0(Remo)25.3 E -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F1(n)2.64 E F0
 
1553
.14(th entry counting from the left of the list sho)B .14(wn by)-.25 F
 
1554
F2(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180
 
1555
614.4 S 2.5(re).15 G(xample:)-2.65 E/F4 10/Courier@0 SF(popd +0)2.5 E F0
 
1556
(remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,)
 
1557
-.65 E F4(popd +1)2.5 E F0(the second.)2.5 E F2<ad>144 626.4 Q F1(n)A F0
 
1558
(Remo)25.3 E -.15(ve)-.15 G 3.76(st).15 G(he)-3.76 E F1(n)3.76 E F0
 
1559
1.259(th entry counting from the right of the list sho)B 1.259(wn by)
 
1560
-.25 F F2(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5
 
1561
(zero. F)180 638.4 R(or e)-.15 E(xample:)-.15 E F4(popd -0)2.5 E F0
 
1562
(remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65
 
1563
E F4(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144
 
1564
655.2 R F2(popd)3.143 E F0 .643(command is successful, a)3.143 F F2
 
1565
(dirs)3.143 E F0 .644(is performed as well, and the return status is 0.)
 
1566
3.143 F F2(popd)5.644 E F0 .416(returns f)144 667.2 R .416
 
1567
(alse if an in)-.1 F -.25(va)-.4 G .415
 
1568
(lid option is encountered, the directory stack is empty).25 F 2.915
 
1569
(,an)-.65 G(on-e)-2.915 E .415(xistent direc-)-.15 F
 
1570
(tory stack entry is speci\214ed, or the directory change f)144 679.2 Q
 
1571
(ails.)-.1 E F2(printf)108 696 Q F0([)2.5 E F2<ad76>A F1(var)2.5 E F0(])
 
1572
A F1(format)2.5 E F0([)2.5 E F1(ar)A(guments)-.37 E F0(])A 1.436
 
1573
(Write the formatted)144 708 R F1(ar)3.936 E(guments)-.37 E F0 1.437
 
1574
(to the standard output under the control of the)3.936 F F1(format)3.937
 
1575
E F0 6.437(.T)C(he)-6.437 E F2<ad76>3.937 E F0 .126
 
1576
(option causes the output to be assigned to the v)144 720 R(ariable)-.25
 
1577
E F1(var)2.626 E F0 .126(rather than being printed to the standard)2.626
 
1578
F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(11)198.725 E 0 Cg EP
 
1579
%%Page: 12 12
 
1580
%%BeginPageSetup
 
1581
BP
 
1582
%%EndPageSetup
 
1583
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1584
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(output.)144
 
1585
84 Q(The)144 108 Q/F1 10/Times-Italic@0 SF(format)3.017 E F0 .517(is a \
 
1586
character string which contains three types of objects: plain character\
 
1587
s, which are)3.017 F .704(simply copied to standard output, character e\
 
1588
scape sequences, which are con)144 120 R -.15(ve)-.4 G .703
 
1589
(rted and copied to).15 F .036(the standard output, and format speci\
 
1590
\214cations, each of which causes printing of the ne)144 132 R .037
 
1591
(xt successi)-.15 F -.15(ve)-.25 G F1(ar)144 144 Q(gument)-.37 E F0
 
1592
5.532(.I)C 3.032(na)-5.532 G .532(ddition to the standard)-3.032 F F1
 
1593
(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B/F2 10
 
1594
/Times-Bold@0 SF(printf)3.031 E F0 .531(interprets the follo)3.031 F(w-)
 
1595
-.25 E(ing e)144 156 Q(xtensions:)-.15 E F2(%b)144 168 Q F0(causes)20.44
 
1596
E F2(printf)5.115 E F0 2.615(to e)5.115 F 2.615
 
1597
(xpand backslash escape sequences in the corresponding)-.15 F F1(ar)
 
1598
5.115 E(gument)-.37 E F0(\(e)180 180 Q .608(xcept that)-.15 F F2(\\c)
 
1599
3.108 E F0 .608(terminates output, backslashes in)3.108 F F2<5c08>3.108
 
1600
E F0(,)A F2(\\")3.108 E F0 3.108(,a)C(nd)-3.108 E F2(\\?)3.108 E F0 .608
 
1601
(are not remo)3.108 F -.15(ve)-.15 G .608(d, and octal).15 F(escapes be)
 
1602
180 192 Q(ginning with)-.15 E F2(\\0)2.5 E F0
 
1603
(may contain up to four digits\).)2.5 E F2(%q)144 204 Q F0(causes)20.44
 
1604
E F2(printf)2.51 E F0 .01(to output the corresponding)2.51 F F1(ar)2.51
 
1605
E(gument)-.37 E F0 .01(in a format that can be reused as shell)2.51 F
 
1606
(input.)180 216 Q F2(%\()144 228 Q F1(datefmt)A F2(\)T)A F0(causes)180
 
1607
240 Q F2(printf)4.404 E F0 1.904
 
1608
(to output the date-time string resulting from using)4.404 F F1(datefmt)
 
1609
4.404 E F0 1.903(as a format)4.404 F .38(string for)180 252 R F1
 
1610
(strftime)2.881 E F0 2.881(\(3\). The)B(corresponding)2.881 E F1(ar)
 
1611
2.881 E(gument)-.37 E F0 .381(is an inte)2.881 F .381
 
1612
(ger representing the number)-.15 F .458(of seconds since the epoch.)180
 
1613
264 R -1 -.8(Tw o)5.458 H .458(special ar)3.758 F .458(gument v)-.18 F
 
1614
.458(alues may be used: -1 represents the)-.25 F .847
 
1615
(current time, and -2 represents the time the shell w)180 276 R .847
 
1616
(as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.348(d. If).1 F .848(no ar)3.348
 
1617
F .848(gument is speci-)-.18 F .355(\214ed, con)180 288 R -.15(ve)-.4 G
 
1618
.355(rsion beha).15 F -.15(ve)-.2 G 2.855(sa).15 G 2.855(si)-2.855 G
 
1619
2.855(f-)-2.855 G 2.855(1h)-2.855 G .354(ad been gi)-2.855 F -.15(ve)
 
1620
-.25 G 2.854(n. This).15 F .354(is an e)2.854 F .354
 
1621
(xception to the usual)-.15 F F2(printf)2.854 E F0(beha)180 300 Q(vior)
 
1622
-.2 E(.)-.55 E(Ar)144 316.8 Q .463(guments to non-string format speci\
 
1623
\214ers are treated as C constants, e)-.18 F .464
 
1624
(xcept that a leading plus or)-.15 F 1.259(minus sign is allo)144 328.8
 
1625
R 1.259
 
1626
(wed, and if the leading character is a single or double quote, the v)
 
1627
-.25 F 1.258(alue is the)-.25 F(ASCII v)144 340.8 Q(alue of the follo)
 
1628
-.25 E(wing character)-.25 E(.)-.55 E(The)144 357.6 Q F1(format)3.423 E
 
1629
F0 .923(is reused as necessary to consume all of the)3.423 F F1(ar)3.423
 
1630
E(guments)-.37 E F0 5.923(.I)C 3.423(ft)-5.923 G(he)-3.423 E F1(format)
 
1631
3.423 E F0 .924(requires more)3.424 F F1(ar)144 369.6 Q(guments)-.37 E
 
1632
F0 .033(than are supplied, the e)2.534 F .033
 
1633
(xtra format speci\214cations beha)-.15 F .333 -.15(ve a)-.2 H 2.533(si)
 
1634
.15 G 2.533(faz)-2.533 G .033(ero v)-2.533 F .033(alue or null string,)
 
1635
-.25 F(as appropriate, had been supplied.)144 381.6 Q(The return v)5 E
 
1636
(alue is zero on success, non-zero on f)-.25 E(ailure.)-.1 E F2(pushd)
 
1637
108 398.4 Q F0([)2.5 E F2<ad6e>A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C
 
1638
<ad>-2.5 E F1(n)A F0(])A F2(pushd)108 410.4 Q F0([)2.5 E F2<ad6e>A F0
 
1639
2.5(][)C F1(dir)-2.5 E F0(])A .639(Adds a directory to the top of the d\
 
1640
irectory stack, or rotates the stack, making the ne)144 422.4 R 3.14(wt)
 
1641
-.25 G .64(op of the)-3.14 F 1.316(stack the current w)144 434.4 R 1.316
 
1642
(orking directory)-.1 F 6.316(.W)-.65 G 1.315(ith no ar)-6.716 F 1.315
 
1643
(guments, e)-.18 F 1.315(xchanges the top tw)-.15 F 3.815(od)-.1 G 1.315
 
1644
(irectories and)-3.815 F .871
 
1645
(returns 0, unless the directory stack is empty)144 446.4 R 5.871(.A)
 
1646
-.65 G -.18(rg)-5.871 G .872(uments, if supplied, ha).18 F 1.172 -.15
 
1647
(ve t)-.2 H .872(he follo).15 F .872(wing mean-)-.25 F(ings:)144 458.4 Q
 
1648
F2<ad6e>144 470.4 Q F0 .902(Suppresses the normal change of directory w\
 
1649
hen adding directories to the stack, so that)24.74 F
 
1650
(only the stack is manipulated.)180 482.4 Q F2(+)144 494.4 Q F1(n)A F0
 
1651
1.267(Rotates the stack so that the)25.3 F F1(n)3.767 E F0 1.268
 
1652
(th directory \(counting from the left of the list sho)B 1.268(wn by)
 
1653
-.25 F F2(dirs)180 506.4 Q F0 2.5(,s)C
 
1654
(tarting with zero\) is at the top.)-2.5 E F2<ad>144 518.4 Q F1(n)A F0
 
1655
.92(Rotates the stack so that the)25.3 F F1(n)3.42 E F0 .92
 
1656
(th directory \(counting from the right of the list sho)B .92(wn by)-.25
 
1657
F F2(dirs)180 530.4 Q F0 2.5(,s)C(tarting with zero\) is at the top.)
 
1658
-2.5 E F1(dir)144.35 542.4 Q F0(Adds)23.98 E F1(dir)3.137 E F0 .287
 
1659
(to the directory stack at the top, making it the ne)3.517 F 2.788(wc)
 
1660
-.25 G .288(urrent w)-2.788 F .288(orking directory as)-.1 F
 
1661
(if it had been supplied as the ar)180 554.4 Q(gument to the)-.18 E F2
 
1662
(cd)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .489(If the)144 571.2 R F2(pushd)
 
1663
2.989 E F0 .489(command is successful, a)2.989 F F2(dirs)2.988 E F0 .488
 
1664
(is performed as well.)2.988 F .488(If the \214rst form is used,)5.488 F
 
1665
F2(pushd)2.988 E F0 1.039(returns 0 unless the cd to)144 583.2 R F1(dir)
 
1666
3.889 E F0 -.1(fa)4.269 G 3.539(ils. W).1 F 1.039(ith the second form,)
 
1667
-.4 F F2(pushd)3.54 E F0 1.04(returns 0 unless the directory)3.54 F .847
 
1668
(stack is empty)144 595.2 R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent\
 
1669
 directory stack element is speci\214ed, or the directory change to the)
 
1670
-.15 F(speci\214ed ne)144 607.2 Q 2.5(wc)-.25 G(urrent directory f)-2.5
 
1671
E(ails.)-.1 E F2(pwd)108 624 Q F0([)2.5 E F2(\255LP)A F0(])A .844
 
1672
(Print the absolute pathname of the current w)144 636 R .845
 
1673
(orking directory)-.1 F 5.845(.T)-.65 G .845
 
1674
(he pathname printed contains no)-5.845 F .182(symbolic links if the)144
 
1675
648 R F2<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F2 .181
 
1676
(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F2(set)
 
1677
2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263(enabled. If)
 
1678
144 660 R(the)3.263 E F2<ad4c>3.263 E F0 .763
 
1679
(option is used, the pathname printed may contain symbolic links.)3.263
 
1680
F .764(The return)5.764 F 1.36(status is 0 unless an error occurs while\
 
1681
 reading the name of the current directory or an in)144 672 R -.25(va)
 
1682
-.4 G(lid).25 E(option is supplied.)144 684 Q F2 -.18(re)108 700.8 S(ad)
 
1683
.18 E F0([)3.816 E F2(\255ers)A F0 3.816(][)C F2<ad61>-3.816 E F1(aname)
 
1684
3.816 E F0 3.816(][)C F2<ad64>-3.816 E F1(delim)3.816 E F0 3.816(][)C F2
 
1685
<ad69>-3.816 E F1(te)3.816 E(xt)-.2 E F0 3.816(][)C F2<ad6e>-3.816 E F1
 
1686
(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2<ad4e>-3.817 E F1(nc)
 
1687
3.817 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2<ad70>-3.817 E F1(pr)3.817 E
 
1688
(ompt)-.45 E F0 3.817(][)C F2<ad74>-3.817 E F1(timeout)3.817 E F0 3.817
 
1689
(][)C F2<ad75>-3.817 E F1(fd)3.817 E F0(])A([)108 712.8 Q F1(name)A F0
 
1690
(...])2.5 E .516(One line is read from the standard input, or from the \
 
1691
\214le descriptor)144 724.8 R F1(fd)3.016 E F0 .516(supplied as an ar)
 
1692
3.016 F .517(gument to)-.18 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735
 
1693
E(12)198.725 E 0 Cg EP
 
1694
%%Page: 13 13
 
1695
%%BeginPageSetup
 
1696
BP
 
1697
%%EndPageSetup
 
1698
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1699
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(the)144 84 Q
 
1700
/F1 10/Times-Bold@0 SF<ad75>2.539 E F0 .039(option, and the \214rst w)
 
1701
2.539 F .038(ord is assigned to the \214rst)-.1 F/F2 10/Times-Italic@0
 
1702
SF(name)2.538 E F0 2.538(,t).18 G .038(he second w)-2.538 F .038
 
1703
(ord to the second)-.1 F F2(name)2.538 E F0(,).18 E .42
 
1704
(and so on, with lefto)144 96 R -.15(ve)-.15 G 2.92(rw).15 G .42
 
1705
(ords and their interv)-3.02 F .42
 
1706
(ening separators assigned to the last)-.15 F F2(name)2.92 E F0 5.42(.I)
 
1707
.18 G 2.92(ft)-5.42 G(here)-2.92 E .541(are fe)144 108 R .541(wer w)-.25
 
1708
F .541(ords read from the input stream than names, the remaining names \
 
1709
are assigned empty)-.1 F -.25(va)144 120 S 3.357(lues. The).25 F .857
 
1710
(characters in)3.357 F/F3 9/Times-Bold@0 SF(IFS)3.357 E F0 .857
 
1711
(are used to split the line into w)3.107 F .857
 
1712
(ords using the same rules the shell)-.1 F .754(uses for e)144 132 R
 
1713
.753(xpansion \(described abo)-.15 F 1.053 -.15(ve u)-.15 H(nder).15 E
 
1714
F1 -.75(Wo)3.253 G .753(rd Splitting).75 F F0 3.253(\). The)B .753
 
1715
(backslash character \()3.253 F F1(\\)A F0 3.253(\)m)C .753(ay be)-3.253
 
1716
F .075(used to remo)144 144 R .375 -.15(ve a)-.15 H .375 -.15(ny s).15 H
 
1717
.075(pecial meaning for the ne).15 F .076
 
1718
(xt character read and for line continuation.)-.15 F(Options,)5.076 E
 
1719
(if supplied, ha)144 156 Q .3 -.15(ve t)-.2 H(he follo).15 E
 
1720
(wing meanings:)-.25 E F1<ad61>144 168 Q F2(aname)2.5 E F0 1.05(The w)
 
1721
180 180 R 1.049(ords are assigned to sequential indices of the array v)
 
1722
-.1 F(ariable)-.25 E F2(aname)3.549 E F0 3.549(,s).18 G 1.049
 
1723
(tarting at 0.)-3.549 F F2(aname)180.33 192 Q F0(is unset before an)2.68
 
1724
E 2.5(yn)-.15 G .5 -.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E
 
1725
F2(name)2.5 E F0(ar)2.5 E(guments are ignored.)-.18 E F1<ad64>144 204 Q
 
1726
F2(delim)2.5 E F0(The \214rst character of)180 216 Q F2(delim)2.5 E F0
 
1727
(is used to terminate the input line, rather than ne)2.5 E(wline.)-.25 E
 
1728
F1<ad65>144 228 Q F0 .372
 
1729
(If the standard input is coming from a terminal,)25.86 F F1 -.18(re)
 
1730
2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.873 E F0(abo)2.623 E
 
1731
-.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G(sed)-2.873 E .218
 
1732
(to obtain the line.)180 240 R .218(Readline uses the current \(or def)
 
1733
5.218 F .218(ault, if line editing w)-.1 F .218(as not pre)-.1 F
 
1734
(viously)-.25 E(acti)180 252 Q -.15(ve)-.25 G 2.5(\)e).15 G
 
1735
(diting settings.)-2.5 E F1<ad69>144 264 Q F2(te)2.5 E(xt)-.2 E F0(If)
 
1736
10.78 E F1 -.18(re)2.715 G(adline).18 E F0 .216
 
1737
(is being used to read the line,)2.715 F F2(te)2.716 E(xt)-.2 E F0 .216
 
1738
(is placed into the editing b)2.716 F(uf)-.2 E .216(fer before edit-)
 
1739
-.25 F(ing be)180 276 Q(gins.)-.15 E F1<ad6e>144 288 Q F2(nc)2.5 E(har)
 
1740
-.15 E(s)-.1 E F1 -.18(re)180 300 S(ad).18 E F0 1.395
 
1741
(returns after reading)3.895 F F2(nc)3.895 E(har)-.15 E(s)-.1 E F0 1.395
 
1742
(characters rather than w)3.895 F 1.394(aiting for a complete line of)
 
1743
-.1 F(input, b)180 312 Q(ut honor a delimiter if fe)-.2 E(wer than)-.25
 
1744
E F2(nc)2.5 E(har)-.15 E(s)-.1 E F0
 
1745
(characters are read before the delimiter)2.5 E(.)-.55 E F1<ad4e>144 324
 
1746
Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 336 S(ad).18 E F0 1.269
 
1747
(returns after reading e)3.769 F(xactly)-.15 E F2(nc)3.769 E(har)-.15 E
 
1748
(s)-.1 E F0 1.269(characters rather than w)3.769 F 1.27
 
1749
(aiting for a complete)-.1 F .275
 
1750
(line of input, unless EOF is encountered or)180 348 R F1 -.18(re)2.775
 
1751
G(ad).18 E F0 .274(times out.)2.774 F .274(Delimiter characters encoun-)
 
1752
5.274 F 1.002
 
1753
(tered in the input are not treated specially and do not cause)180 360 R
 
1754
F1 -.18(re)3.503 G(ad).18 E F0 1.003(to return until)3.503 F F2(nc)3.503
 
1755
E(har)-.15 E(s)-.1 E F0(characters are read.)180 372 Q F1<ad70>144 384 Q
 
1756
F2(pr)2.5 E(ompt)-.45 E F0(Display)180 396 Q F2(pr)3.661 E(ompt)-.45 E
 
1757
F0 1.161(on standard error)3.661 F 3.661(,w)-.4 G 1.161
 
1758
(ithout a trailing ne)-3.661 F 1.161(wline, before attempting to read)
 
1759
-.25 F(an)180 408 Q 2.5(yi)-.15 G 2.5(nput. The)-2.5 F
 
1760
(prompt is displayed only if input is coming from a terminal.)2.5 E F1
 
1761
<ad72>144 420 Q F0 .543(Backslash does not act as an escape character)
 
1762
25.86 F 5.543(.T)-.55 G .544(he backslash is considered to be part of)
 
1763
-5.543 F(the line.)180 432 Q(In particular)5 E 2.5(,ab)-.4 G
 
1764
(ackslash-ne)-2.5 E(wline pair may not be used as a line continuation.)
 
1765
-.25 E F1<ad73>144 444 Q F0(Silent mode.)26.41 E
 
1766
(If input is coming from a terminal, characters are not echoed.)5 E F1
 
1767
<ad74>144 456 Q F2(timeout)2.5 E F0(Cause)180 468 Q F1 -.18(re)2.929 G
 
1768
(ad).18 E F0 .428(to time out and return f)2.929 F .428
 
1769
(ailure if a complete line of input \(or a speci\214ed num-)-.1 F .56
 
1770
(ber of characters\) is not read within)180 480 R F2(timeout)3.061 E F0
 
1771
(seconds.)3.061 E F2(timeout)5.561 E F0 .561(may be a decimal number)
 
1772
3.061 F(with a fractional portion follo)180 492 Q
 
1773
(wing the decimal point.)-.25 E(This option is only ef)5 E(fecti)-.25 E
 
1774
.3 -.15(ve i)-.25 H(f).15 E F1 -.18(re)2.5 G(ad).18 E F0 .506(is readin\
 
1775
g input from a terminal, pipe, or other special \214le; it has no ef)180
 
1776
504 R .506(fect when reading)-.25 F .59(from re)180 516 R .59
 
1777
(gular \214les.)-.15 F(If)5.59 E F1 -.18(re)3.09 G(ad).18 E F0 .589
 
1778
(times out,)3.09 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve)-.2
 
1779
G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .589
 
1780
(artial input read into the speci\214ed).15 F -.25(va)180 528 S(riable)
 
1781
.25 E F2(name)2.77 E F0 5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 .27
 
1782
(is 0,)2.77 F F1 -.18(re)2.77 G(ad).18 E F0 .27(returns immediately)2.77
 
1783
F 2.77(,w)-.65 G .27(ithout trying to read an)-2.77 F 2.77(yd)-.15 G
 
1784
(ata.)-2.77 E 1.12(The e)180 540 R 1.12(xit status is 0 if input is a)
 
1785
-.15 F -.25(va)-.2 G 1.12(ilable on the speci\214ed \214le descriptor)
 
1786
.25 F 3.62(,n)-.4 G 1.12(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180
 
1787
552 R -.15(ex)2.5 G(it status is greater than 128 if the timeout is e)
 
1788
.15 E(xceeded.)-.15 E F1<ad75>144 564 Q F2(fd)2.5 E F0
 
1789
(Read input from \214le descriptor)14.46 E F2(fd)2.5 E F0(.)A .191
 
1790
(If no)144 580.8 R F2(names)3.051 E F0 .191
 
1791
(are supplied, the line read is assigned to the v)2.961 F(ariable)-.25 E
 
1792
F3(REPL)2.692 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A F0 .192
 
1793
(The return code is zero,)4.692 F 1.344
 
1794
(unless end-of-\214le is encountered,)144 592.8 R F1 -.18(re)3.844 G(ad)
 
1795
.18 E F0 1.343
 
1796
(times out \(in which case the return code is greater than)3.844 F .871
 
1797
(128\), a v)144 604.8 R .871
 
1798
(ariable assignment error \(such as assigning to a readonly v)-.25 F
 
1799
.872(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G(lid).25 E
 
1800
(\214le descriptor is supplied as the ar)144 616.8 Q(gument to)-.18 E F1
 
1801
<ad75>2.5 E F0(.)A F1 -.18(re)108 633.6 S(adonly).18 E F0([)2.5 E F1
 
1802
(\255aAf)A F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A
 
1803
F2(wor)A(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 645.6 R -.15(ve)
 
1804
-.25 G(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77
 
1805
(ed readonly; the v)-.1 F .77(alues of these)-.25 F F2(names)3.63 E F0
 
1806
.77(may not be changed by subse-)3.54 F 1.096(quent assignment.)144
 
1807
657.6 R 1.096(If the)6.096 F F1<ad66>3.596 E F0 1.097
 
1808
(option is supplied, the functions corresponding to the)3.596 F F2
 
1809
(names)3.597 E F0 1.097(are so)3.597 F(mark)144 669.6 Q 3.334(ed. The)
 
1810
-.1 F F1<ad61>3.334 E F0 .834(option restricts the v)3.334 F .834
 
1811
(ariables to inde)-.25 F -.15(xe)-.15 G 3.334(da).15 G .834(rrays; the)
 
1812
-3.334 F F1<ad41>3.334 E F0 .834(option restricts the v)3.334 F(ari-)
 
1813
-.25 E .776(ables to associati)144 681.6 R 1.076 -.15(ve a)-.25 H 3.276
 
1814
(rrays. If).15 F .777(both options are supplied,)3.276 F F1<ad41>3.277 E
 
1815
F0(tak)3.277 E .777(es precedence.)-.1 F .777(If no)5.777 F F2(name)
 
1816
3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 693.6 R -.15(ve)
 
1817
-.25 G .521(n, or if the).15 F F1<ad70>3.021 E F0 .521
 
1818
(option is supplied, a list of all readonly names is printed.)3.021 F
 
1819
.521(The other)5.521 F .295(options may be used to restrict the output \
 
1820
to a subset of the set of readonly names.)144 705.6 R(The)5.296 E F1
 
1821
<ad70>2.796 E F0(option)2.796 E .786
 
1822
(causes output to be displayed in a format that may be reused as input.)
 
1823
144 717.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144
 
1824
729.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v)
 
1825
-3.218 F .718(alue of the v)-.25 F .718(ariable is set to)-.25 F F2(wor)
 
1826
3.218 E(d)-.37 E F0 5.718(.T)C .718(he return status is 0 unless an in)
 
1827
-5.718 F -.25(va)-.4 G(lid).25 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)
 
1828
148.735 E(13)198.725 E 0 Cg EP
 
1829
%%Page: 14 14
 
1830
%%BeginPageSetup
 
1831
BP
 
1832
%%EndPageSetup
 
1833
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1834
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .26
 
1835
(option is encountered, one of the)144 84 R/F1 10/Times-Italic@0 SF
 
1836
(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v)-.25 F .26
 
1837
(ariable name, or)-.25 F/F2 10/Times-Bold@0 SF<ad66>2.76 E F0 .26
 
1838
(is supplied with a)2.76 F F1(name)144.36 96 Q F0
 
1839
(that is not a function.)2.68 E F2 -.18(re)108 112.8 S(tur).18 E(n)-.15
 
1840
E F0([)2.5 E F1(n)A F0(])A .02(Causes a function to stop e)144 124.8 R
 
1841
-.15(xe)-.15 G .02(cuting and return the v).15 F .021
 
1842
(alue speci\214ed by)-.25 F F1(n)2.881 E F0 .021(to its caller)2.761 F
 
1843
5.021(.I)-.55 G(f)-5.021 E F1(n)2.881 E F0 .021(is omitted,)2.761 F .469
 
1844
(the return status is that of the last command e)144 136.8 R -.15(xe)
 
1845
-.15 G .469(cuted in the function body).15 F 5.469(.I)-.65 G(f)-5.469 E
 
1846
F2 -.18(re)2.969 G(tur).18 E(n)-.15 E F0 .468(is used out-)2.969 F .466
 
1847
(side a function, b)144 148.8 R .466(ut during e)-.2 F -.15(xe)-.15 G
 
1848
.467(cution of a script by the).15 F F2(.)2.967 E F0(\()5.467 E F2(sour)
 
1849
A(ce)-.18 E F0 2.967(\)c)C .467(ommand, it causes the shell to)-2.967 F
 
1850
.088(stop e)144 160.8 R -.15(xe)-.15 G .087
 
1851
(cuting that script and return either).15 F F1(n)2.947 E F0 .087
 
1852
(or the e)2.827 F .087(xit status of the last command e)-.15 F -.15(xe)
 
1853
-.15 G .087(cuted within).15 F .613(the script as the e)144 172.8 R .613
 
1854
(xit status of the script.)-.15 F(If)5.613 E F1(n)3.113 E F0 .613
 
1855
(is supplied, the return v)3.113 F .613
 
1856
(alue is its least signi\214cant 8)-.25 F 2.511(bits. The)144 184.8 R
 
1857
.011(return status is non-zero if)2.511 F F2 -.18(re)2.511 G(tur).18 E
 
1858
(n)-.15 E F0 .011(is supplied a non-numeric ar)2.511 F .01
 
1859
(gument, or is used outside)-.18 F 2.909(af)144 196.8 S .409
 
1860
(unction and not during e)-2.909 F -.15(xe)-.15 G .41
 
1861
(cution of a script by).15 F F2(.)2.91 E F0(or)3.743 E F2(sour)2.91 E
 
1862
(ce)-.18 E F0 5.41(.A)C .71 -.15(ny c)-5.41 H .41
 
1863
(ommand associated with the).15 F F2(RETURN)144 208.8 Q F0(trap is e)2.5
 
1864
E -.15(xe)-.15 G(cuted before e).15 E -.15(xe)-.15 G
 
1865
(cution resumes after the function or script.).15 E F2(set)108 225.6 Q
 
1866
F0([)2.5 E F2(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F2<ad6f>-2.5 E
 
1867
F1(option\255name)2.5 E F0 2.5(][)C F1(ar)-2.5 E(g)-.37 E F0(...])2.5 E
 
1868
F2(set)108 237.6 Q F0([)2.5 E F2(+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F2
 
1869
(+o)-2.5 E F1(option\255name)2.5 E F0 2.5(][)C F1(ar)-2.5 E(g)-.37 E F0
 
1870
(...])2.5 E -.4(Wi)144 249.6 S .836(thout options, the name and v).4 F
 
1871
.835(alue of each shell v)-.25 F .835
 
1872
(ariable are displayed in a format that can be)-.25 F .784
 
1873
(reused as input for setting or resetting the currently-set v)144 261.6
 
1874
R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784
 
1875
(riables cannot be).25 F 2.912(reset. In)144 273.6 R F1(posix)2.912 E F0
 
1876
.412(mode, only shell v)2.912 F .412(ariables are listed.)-.25 F .412
 
1877
(The output is sorted according to the current)5.412 F 3.53
 
1878
(locale. When)144 285.6 R 1.031(options are speci\214ed, the)3.53 F
 
1879
3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.531(utes. An)
 
1880
-.2 F 3.531(ya)-.15 G -.18(rg)-3.531 G 1.031(uments remaining).18 F
 
1881
1.624(after option processing are treated as v)144 297.6 R 1.623
 
1882
(alues for the positional parameters and are assigned, in)-.25 F(order)
 
1883
144 309.6 Q 2.5(,t)-.4 G(o)-2.5 E F2($1)2.5 E F0(,)A F2($2)2.5 E F0(,)A
 
1884
F2 2.5(... $)2.5 F F1(n)A F0 5(.O)C(ptions, if speci\214ed, ha)-5 E .3
 
1885
-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F2<ad61>144 321.6 Q
 
1886
F0 .539(Automatically mark v)29.3 F .539
 
1887
(ariables and functions which are modi\214ed or created for e)-.25 F .54
 
1888
(xport to)-.15 F(the en)184 333.6 Q(vironment of subsequent commands.)
 
1889
-.4 E F2<ad62>144 345.6 Q F0 .132
 
1890
(Report the status of terminated background jobs immediately)28.74 F
 
1891
2.632(,r)-.65 G .131(ather than before the ne)-2.632 F(xt)-.15 E
 
1892
(primary prompt.)184 357.6 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o)
 
1893
-.25 H(nly when job control is enabled.).15 E F2<ad65>144 369.6 Q F0
 
1894
.087(Exit immediately if a)29.86 F F1(pipeline)2.587 E F0 .087
 
1895
(\(which may consist of a single)2.587 F F1 .088(simple command)2.588 F
 
1896
F0 .088(\), a)B F1(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 381.6 Q
 
1897
F1 1.294(compound command)3.794 F F0(\(see)3.794 E/F3 9/Times-Bold@0 SF
 
1898
1.294(SHELL GRAMMAR)3.794 F F0(abo)3.544 E -.15(ve)-.15 G 3.793(\), e)
 
1899
.15 F 1.293(xits with a non-zero status.)-.15 F .079
 
1900
(The shell does not e)184 393.6 R .079(xit if the command that f)-.15 F
 
1901
.08(ails is part of the command list immediately)-.1 F(follo)184 405.6 Q
 
1902
1.655(wing a)-.25 F F2(while)4.155 E F0(or)4.155 E F2(until)4.155 E F0
 
1903
-.1(ke)4.155 G(yw)-.05 E 1.655(ord, part of the test follo)-.1 F 1.654
 
1904
(wing the)-.25 F F2(if)4.154 E F0(or)4.154 E F2(elif)4.154 E F0(reserv)
 
1905
4.154 E(ed)-.15 E -.1(wo)184 417.6 S .581(rds, part of an).1 F 3.081(yc)
 
1906
-.15 G .581(ommand e)-3.081 F -.15(xe)-.15 G .581(cuted in a).15 F F2
 
1907
(&&)3.081 E F0(or)3.081 E F2(||)3.081 E F0 .582(list e)3.082 F .582
 
1908
(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 429.6 R
 
1909
F2(&&)3.418 E F0(or)3.418 E F2(||)3.418 E F0 3.418(,a)C 1.218 -.15(ny c)
 
1910
-3.418 H .918(ommand in a pipeline b).15 F .917
 
1911
(ut the last, or if the command')-.2 F 3.417(sr)-.55 G(eturn)-3.417 E
 
1912
-.25(va)184 441.6 S .66(lue is being in).25 F -.15(ve)-.4 G .66
 
1913
(rted with).15 F F2(!)3.16 E F0 5.661(.I)C 3.161(fac)-5.661 G .661
 
1914
(ompound command other than a subshell returns a)-3.161 F 1.113
 
1915
(non-zero status because a command f)184 453.6 R 1.112(ailed while)-.1 F
 
1916
F2<ad65>3.612 E F0 -.1(wa)3.612 G 3.612(sb).1 G 1.112
 
1917
(eing ignored, the shell does)-3.612 F .177(not e)184 465.6 R 2.677
 
1918
(xit. A)-.15 F .177(trap on)2.677 F F2(ERR)2.677 E F0 2.677(,i)C 2.678
 
1919
(fs)-2.677 G .178(et, is e)-2.678 F -.15(xe)-.15 G .178
 
1920
(cuted before the shell e).15 F 2.678(xits. This)-.15 F .178
 
1921
(option applies to)2.678 F .618(the shell en)184 477.6 R .617
 
1922
(vironment and each subshell en)-.4 F .617(vironment separately \(see)
 
1923
-.4 F F3 .617(COMMAND EXE-)3.117 F .642(CUTION ENVIR)184 489.6 R(ONMENT)
 
1924
-.27 E F0(abo)2.893 E -.15(ve)-.15 G .643
 
1925
(\), and may cause subshells to e).15 F .643(xit before e)-.15 F -.15
 
1926
(xe)-.15 G .643(cuting all).15 F(the commands in the subshell.)184 501.6
 
1927
Q 2.042(If a compound command or shell function e)184 519.6 R -.15(xe)
 
1928
-.15 G 2.042(cutes in a conte).15 F 2.042(xt where)-.15 F F2<ad65>4.542
 
1929
E F0 2.042(is being)4.542 F 1.435(ignored, none of the commands e)184
 
1930
531.6 R -.15(xe)-.15 G 1.436
 
1931
(cuted within the compound command or function).15 F .194
 
1932
(body will be af)184 543.6 R .194(fected by the)-.25 F F2<ad65>2.694 E
 
1933
F0 .193(setting, e)2.693 F -.15(ve)-.25 G 2.693(ni).15 G(f)-2.693 E F2
 
1934
<ad65>2.693 E F0 .193(is set and a command returns a f)2.693 F(ailure)
 
1935
-.1 E 3.39(status. If)184 555.6 R 3.39(ac)3.39 G .89
 
1936
(ompound command or shell function sets)-3.39 F F2<ad65>3.39 E F0 .89
 
1937
(while e)3.39 F -.15(xe)-.15 G .89(cuting in a conte).15 F(xt)-.15 E
 
1938
(where)184 567.6 Q F2<ad65>3.154 E F0 .654
 
1939
(is ignored, that setting will not ha)3.154 F .953 -.15(ve a)-.2 H .953
 
1940
-.15(ny e).15 H -.25(ff).15 G .653(ect until the compound command).25 F
 
1941
(or the command containing the function call completes.)184 579.6 Q F2
 
1942
<ad66>144 591.6 Q F0(Disable pathname e)30.97 E(xpansion.)-.15 E F2
 
1943
<ad68>144 603.6 Q F0 2.238(Remember the location of commands as the)
 
1944
28.74 F 4.738(ya)-.15 G 2.239(re look)-4.738 F 2.239(ed up for e)-.1 F
 
1945
-.15(xe)-.15 G 4.739(cution. This).15 F(is)4.739 E(enabled by def)184
 
1946
615.6 Q(ault.)-.1 E F2<ad6b>144 627.6 Q F0 .514(All ar)28.74 F .514
 
1947
(guments in the form of assignment statements are placed in the en)-.18
 
1948
F .513(vironment for a)-.4 F
 
1949
(command, not just those that precede the command name.)184 639.6 Q F2
 
1950
<ad6d>144 651.6 Q F0 .148(Monitor mode.)25.97 F .148
 
1951
(Job control is enabled.)5.148 F .149(This option is on by def)5.148 F
 
1952
.149(ault for interacti)-.1 F .449 -.15(ve s)-.25 H(hells).15 E .651
 
1953
(on systems that support it \(see)184 663.6 R F3 .651(JOB CONTR)3.151 F
 
1954
(OL)-.27 E F0(abo)2.901 E -.15(ve)-.15 G 3.151(\). All).15 F .65
 
1955
(processes run in a separate)3.151 F .678(process group.)184 675.6 R
 
1956
.679(When a background job completes, the shell prints a line containin\
 
1957
g its)5.678 F -.15(ex)184 687.6 S(it status.).15 E F2<ad6e>144 699.6 Q
 
1958
F0 .653(Read commands b)28.74 F .653(ut do not e)-.2 F -.15(xe)-.15 G
 
1959
.653(cute them.).15 F .652(This may be used to check a shell script for)
 
1960
5.653 F(syntax errors.)184 711.6 Q(This is ignored by interacti)5 E .3
 
1961
-.15(ve s)-.25 H(hells.).15 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735
 
1962
E(14)198.725 E 0 Cg EP
 
1963
%%Page: 15 15
 
1964
%%BeginPageSetup
 
1965
BP
 
1966
%%EndPageSetup
 
1967
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
1968
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
1969
/Times-Bold@0 SF<ad6f>144 84 Q/F2 10/Times-Italic@0 SF(option\255name)
 
1970
2.5 E F0(The)184 96 Q F2(option\255name)2.5 E F0
 
1971
(can be one of the follo)2.5 E(wing:)-.25 E F1(allexport)184 108 Q F0
 
1972
(Same as)224 120 Q F1<ad61>2.5 E F0(.)A F1(braceexpand)184 132 Q F0
 
1973
(Same as)224 144 Q F1<ad42>2.5 E F0(.)A F1(emacs)184 156 Q F0 .089
 
1974
(Use an emacs-style command line editing interf)13.9 F 2.589(ace. This)
 
1975
-.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95
 
1976
(when the shell is interacti)224 168 R -.15(ve)-.25 G 3.45(,u).15 G .95
 
1977
(nless the shell is started with the)-3.45 F F1(\255\255noediting)3.45 E
 
1978
F0 2.5(option. This)224 180 R(also af)2.5 E(fects the editing interf)
 
1979
-.25 E(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1(err)
 
1980
184 192 Q(exit)-.18 E F0(Same as)11.31 E F1<ad65>2.5 E F0(.)A F1
 
1981
(errtrace)184 204 Q F0(Same as)5.03 E F1<ad45>2.5 E F0(.)A F1(functrace)
 
1982
184 216 Q F0(Same as)224 228 Q F1<ad54>2.5 E F0(.)A F1(hashall)184 240 Q
 
1983
F0(Same as)9.43 E F1<ad68>2.5 E F0(.)A F1(histexpand)184 252 Q F0
 
1984
(Same as)224 264 Q F1<ad48>2.5 E F0(.)A F1(history)184 276 Q F0 .586
 
1985
(Enable command history)10 F 3.087(,a)-.65 G 3.087(sd)-3.087 G .587
 
1986
(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder).15 E/F3 9
 
1987
/Times-Bold@0 SF(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F4 9/Times-Roman@0 SF
 
1988
(.)A F0 .587(This option is)5.087 F(on by def)224 288 Q
 
1989
(ault in interacti)-.1 E .3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184
 
1990
300 Q(eeof)-.18 E F0 1.657(The ef)224 312 R 1.657
 
1991
(fect is as if the shell command)-.25 F/F5 10/Courier@0 SF(IGNOREEOF=10)
 
1992
4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted).15 E(\(see)224
 
1993
324 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).)
 
1994
.15 E F1 -.1(ke)184 336 S(yw).1 E(ord)-.1 E F0(Same as)224 348 Q F1
 
1995
<ad6b>2.5 E F0(.)A F1(monitor)184 360 Q F0(Same as)5.56 E F1<ad6d>2.5 E
 
1996
F0(.)A F1(noclob)184 372 Q(ber)-.1 E F0(Same as)224 384 Q F1<ad43>2.5 E
 
1997
F0(.)A F1(noexec)184 396 Q F0(Same as)11.12 E F1<ad6e>2.5 E F0(.)A F1
 
1998
(noglob)184 408 Q F0(Same as)11.1 E F1<ad66>2.5 E F0(.)A F1(nolog)184
 
1999
420 Q F0(Currently ignored.)16.66 E F1(notify)184 432 Q F0(Same as)15 E
 
2000
F1<ad62>2.5 E F0(.)A F1(nounset)184 444 Q F0(Same as)6.66 E F1<ad75>2.5
 
2001
E F0(.)A F1(onecmd)184 456 Q F0(Same as)6.67 E F1<ad74>2.5 E F0(.)A F1
 
2002
(ph)184 468 Q(ysical)-.15 E F0(Same as)5.14 E F1<ad50>2.5 E F0(.)A F1
 
2003
(pipefail)184 480 Q F0 1.029(If set, the return v)7.77 F 1.029
 
2004
(alue of a pipeline is the v)-.25 F 1.03
 
2005
(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 492 R
 
2006
1.136
 
2007
(xit with a non-zero status, or zero if all commands in the pipeline)
 
2008
-.15 F -.15(ex)224 504 S(it successfully).15 E 5(.T)-.65 G
 
2009
(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 516 Q F0
 
2010
2.09(Change the beha)17.77 F 2.091(vior of)-.2 F F1(bash)4.591 E F0
 
2011
2.091(where the def)4.591 F 2.091(ault operation dif)-.1 F 2.091
 
2012
(fers from the)-.25 F 1.212(POSIX standard to match the standard \()224
 
2013
528 R F2 1.212(posix mode)B F0 3.712(\). See)B F3 1.212(SEE ALSO)3.712 F
 
2014
F0(belo)3.462 E(w)-.25 E 2.306
 
2015
(for a reference to a document that details ho)224 540 R 4.807(wp)-.25 G
 
2016
2.307(osix mode af)-4.807 F 2.307(fects bash')-.25 F(s)-.55 E(beha)224
 
2017
552 Q(vior)-.2 E(.)-.55 E F1(pri)184 564 Q(vileged)-.1 E F0(Same as)224
 
2018
576 Q F1<ad70>2.5 E F0(.)A F1 -.1(ve)184 588 S(rbose).1 E F0(Same as)
 
2019
7.33 E F1<ad76>2.5 E F0(.)A F1(vi)184 600 Q F0 1.466
 
2020
(Use a vi-style command line editing interf)32.22 F 3.965(ace. This)-.1
 
2021
F 1.465(also af)3.965 F 1.465(fects the editing)-.25 F(interf)224 612 Q
 
2022
(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1(xtrace)184
 
2023
624 Q F0(Same as)13.35 E F1<ad78>2.5 E F0(.)A(If)184 642 Q F1<ad6f>3.052
 
2024
E F0 .552(is supplied with no)3.052 F F2(option\255name)3.053 E F0 3.053
 
2025
(,t)C .553(he v)-3.053 F .553(alues of the current options are printed.)
 
2026
-.25 F(If)5.553 E F1(+o)184 654 Q F0 1.072(is supplied with no)3.572 F
 
2027
F2(option\255name)3.572 E F0 3.572(,a)C 1.071(series of)-.001 F F1(set)
 
2028
3.571 E F0 1.071(commands to recreate the current)3.571 F
 
2029
(option settings is displayed on the standard output.)184 666 Q F1<ad70>
 
2030
144 678 Q F0 -.45(Tu)28.74 G 1.071(rn on).45 F F2(privile)4.821 E -.1
 
2031
(ge)-.4 G(d).1 E F0 3.572(mode. In)4.341 F 1.072(this mode, the)3.572 F
 
2032
F3($ENV)3.572 E F0(and)3.322 E F3($B)3.572 E(ASH_ENV)-.27 E F0 1.072
 
2033
(\214les are not pro-)3.322 F 1.501
 
2034
(cessed, shell functions are not inherited from the en)184 690 R 1.5
 
2035
(vironment, and the)-.4 F F3(SHELLOPTS)4 E F4(,)A F3 -.27(BA)184 702 S
 
2036
(SHOPTS).27 E F4(,)A F3(CDP)2.774 E -.855(AT)-.666 G(H).855 E F4(,)A F0
 
2037
(and)2.774 E F3(GLOBIGNORE)3.024 E F0 -.25(va)2.774 G .524
 
2038
(riables, if the).25 F 3.025(ya)-.15 G .525(ppear in the en)-3.025 F
 
2039
(vironment,)-.4 E .38(are ignored.)184 714 R .38
 
2040
(If the shell is started with the ef)5.38 F(fecti)-.25 E .679 -.15(ve u)
 
2041
-.25 H .379(ser \(group\) id not equal to the real).15 F 2.196
 
2042
(user \(group\) id, and the)184 726 R F1<ad70>4.696 E F0 2.196
 
2043
(option is not supplied, these actions are tak)4.696 F 2.196(en and the)
 
2044
-.1 F(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(15)198.725 E 0 Cg EP
 
2045
%%Page: 16 16
 
2046
%%BeginPageSetup
 
2047
BP
 
2048
%%EndPageSetup
 
2049
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2050
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E(ef)184 84 Q
 
2051
(fecti)-.25 E 1.667 -.15(ve u)-.25 H 1.367
 
2052
(ser id is set to the real user id.).15 F 1.367(If the)6.367 F/F1 10
 
2053
/Times-Bold@0 SF<ad70>3.867 E F0 1.366
 
2054
(option is supplied at startup, the)3.866 F(ef)184 96 Q(fecti)-.25 E
 
2055
.708 -.15(ve u)-.25 H .408(ser id is not reset.).15 F -.45(Tu)5.409 G
 
2056
.409(rning this option of).45 F 2.909(fc)-.25 G .409(auses the ef)-2.909
 
2057
F(fecti)-.25 E .709 -.15(ve u)-.25 H .409(ser and group).15 F
 
2058
(ids to be set to the real user and group ids.)184 108 Q F1<ad74>144 120
 
2059
Q F0(Exit after reading and e)30.97 E -.15(xe)-.15 G
 
2060
(cuting one command.).15 E F1<ad75>144 132 Q F0 -.35(Tr)28.74 G .044
 
2061
(eat unset v).35 F .044(ariables and parameters other than the special \
 
2062
parameters "@" and "*" as an)-.25 F .182
 
2063
(error when performing parameter e)184 144 R 2.682(xpansion. If)-.15 F
 
2064
-.15(ex)2.682 G .183(pansion is attempted on an unset v).15 F(ari-)-.25
 
2065
E .746(able or parameter)184 156 R 3.246(,t)-.4 G .746
 
2066
(he shell prints an error message, and, if not interacti)-3.246 F -.15
 
2067
(ve)-.25 G 3.246(,e).15 G .746(xits with a)-3.396 F(non-zero status.)184
 
2068
168 Q F1<ad76>144 180 Q F0(Print shell input lines as the)29.3 E 2.5(ya)
 
2069
-.15 G(re read.)-2.5 E F1<ad78>144 192 Q F0 .315(After e)29.3 F .315
 
2070
(xpanding each)-.15 F/F2 10/Times-Italic@0 SF .315(simple command)2.815
 
2071
F F0(,)A F1 -.25(fo)2.815 G(r).25 E F0(command,)2.815 E F1(case)2.815 E
 
2072
F0(command,)2.815 E F1(select)2.815 E F0(command,)2.815 E 1.236
 
2073
(or arithmetic)184 204 R F1 -.25(fo)3.736 G(r).25 E F0 1.236
 
2074
(command, display the e)3.736 F 1.236(xpanded v)-.15 F 1.236(alue of)
 
2075
-.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E/F4 9/Times-Roman@0 SF(,)A F0
 
2076
(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 216 Q
 
2077
(xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E F1
 
2078
<ad42>144 228 Q F0 2.578(The shell performs brace e)27.63 F 2.578
 
2079
(xpansion \(see)-.15 F F1 2.578(Brace Expansion)5.078 F F0(abo)5.078 E
 
2080
-.15(ve)-.15 G 5.079(\). This).15 F 2.579(is on by)5.079 F(def)184 240 Q
 
2081
(ault.)-.1 E F1<ad43>144 252 Q F0 .214(If set,)27.08 F F1(bash)2.714 E
 
2082
F0 .214(does not o)2.714 F -.15(ve)-.15 G .214(rwrite an e).15 F .214
 
2083
(xisting \214le with the)-.15 F F1(>)2.714 E F0(,)A F1(>&)2.714 E F0
 
2084
2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213(redirection opera-)2.713 F
 
2085
3.053(tors. This)184 264 R .553(may be o)3.053 F -.15(ve)-.15 G .553
 
2086
(rridden when creating output \214les by using the redirection opera-)
 
2087
.15 F(tor)184 276 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1
 
2088
<ad45>144 288 Q F0 .104(If set, an)27.63 F 2.604(yt)-.15 G .104(rap on)
 
2089
-2.604 F F1(ERR)2.604 E F0 .103
 
2090
(is inherited by shell functions, command substitutions, and com-)2.604
 
2091
F .838(mands e)184 300 R -.15(xe)-.15 G .838(cuted in a subshell en).15
 
2092
F 3.338(vironment. The)-.4 F F1(ERR)3.338 E F0 .839
 
2093
(trap is normally not inherited in)3.339 F(such cases.)184 312 Q F1
 
2094
<ad48>144 324 Q F0(Enable)26.52 E F1(!)3.032 E F0 .532
 
2095
(style history substitution.)5.532 F .531(This option is on by def)5.532
 
2096
F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 336 Q -.15
 
2097
(ve)-.25 G(.).15 E F1<ad50>144 348 Q F0 .959
 
2098
(If set, the shell does not resolv)28.19 F 3.459(es)-.15 G .959
 
2099
(ymbolic links when e)-3.459 F -.15(xe)-.15 G .96
 
2100
(cuting commands such as).15 F F1(cd)3.46 E F0 2.822
 
2101
(that change the current w)184 360 R 2.822(orking directory)-.1 F 7.822
 
2102
(.I)-.65 G 5.322(tu)-7.822 G 2.822(ses the ph)-5.322 F 2.821
 
2103
(ysical directory structure)-.05 F 2.685(instead. By)184 372 R(def)2.685
 
2104
E(ault,)-.1 E F1(bash)2.686 E F0(follo)2.686 E .186
 
2105
(ws the logical chain of directories when performing com-)-.25 F
 
2106
(mands which change the current directory)184 384 Q(.)-.65 E F1<ad54>144
 
2107
396 Q F0 .89(If set, an)27.63 F 3.39(yt)-.15 G .89(raps on)-3.39 F F1
 
2108
(DEB)3.39 E(UG)-.1 E F0(and)3.39 E F1(RETURN)3.39 E F0 .89
 
2109
(are inherited by shell functions, command)3.39 F 1.932
 
2110
(substitutions, and commands e)184 408 R -.15(xe)-.15 G 1.932
 
2111
(cuted in a subshell en).15 F 4.432(vironment. The)-.4 F F1(DEB)4.432 E
 
2112
(UG)-.1 E F0(and)4.432 E F1(RETURN)184 420 Q F0
 
2113
(traps are normally not inherited in such cases.)2.5 E F1<adad>144 432 Q
 
2114
F0 .401(If no ar)28.6 F .401(guments follo)-.18 F 2.901(wt)-.25 G .401
 
2115
(his option, then the positional parameters are unset.)-2.901 F
 
2116
(Otherwise,)5.4 E(the positional parameters are set to the)184 444 Q F2
 
2117
(ar)2.5 E(g)-.37 E F0(s, e)A -.15(ve)-.25 G 2.5(ni).15 G 2.5(fs)-2.5 G
 
2118
(ome of them be)-2.5 E(gin with a)-.15 E F1<ad>2.5 E F0(.)A F1<ad>144
 
2119
456 Q F0 1.944(Signal the end of options, cause all remaining)34.3 F F2
 
2120
(ar)4.444 E(g)-.37 E F0 4.444(st)C 4.444(ob)-4.444 G 4.445(ea)-4.444 G
 
2121
1.945(ssigned to the positional)-4.445 F 3.446(parameters. The)184 468 R
 
2122
F1<ad78>3.446 E F0(and)3.446 E F1<ad76>3.446 E F0 .945
 
2123
(options are turned of)3.446 F 3.445(f. If)-.25 F .945(there are no)
 
2124
3.445 F F2(ar)3.445 E(g)-.37 E F0 .945(s, the positional)B
 
2125
(parameters remain unchanged.)184 480 Q .425(The options are of)144
 
2126
496.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425
 
2127
(ault unless otherwise noted.)-.1 F .425
 
2128
(Using + rather than \255 causes these options)5.425 F .178
 
2129
(to be turned of)144 508.8 R 2.678(f. The)-.25 F .178
 
2130
(options can also be speci\214ed as ar)2.678 F .178(guments to an in)
 
2131
-.18 F -.2(vo)-.4 G .177(cation of the shell.).2 F(The)5.177 E .066
 
2132
(current set of options may be found in)144 520.8 R F1<24ad>2.566 E F0
 
2133
5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066
 
2134
(ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F
 
2135
(is encountered.)144 532.8 Q F1(shift)108 549.6 Q F0([)2.5 E F2(n)A F0
 
2136
(])A .429(The positional parameters from)144 561.6 R F2(n)2.929 E F0
 
2137
.429(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.428 G
 
2138
.428(rameters represented by the num-).15 F(bers)144 573.6 Q F1($#)2.582
 
2139
E F0(do)2.582 E .082(wn to)-.25 F F1($#)2.582 E F0<ad>A F2(n)A F0 .082
 
2140
(+1 are unset.)B F2(n)5.442 E F0 .082(must be a non-ne)2.822 F -.05(ga)
 
2141
-.15 G(ti).05 E .383 -.15(ve n)-.25 H .083(umber less than or equal to)
 
2142
.15 F F1($#)2.583 E F0 5.083(.I)C(f)-5.083 E F2(n)2.943 E F0 .06
 
2143
(is 0, no parameters are changed.)144 585.6 R(If)5.06 E F2(n)2.92 E F0
 
2144
.06(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F
 
2145
(If)5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56
 
2146
(,t)C(he)-2.56 E .143(positional parameters are not changed.)144 597.6 R
 
2147
.144(The return status is greater than zero if)5.143 F F2(n)3.004 E F0
 
2148
.144(is greater than)2.884 F F1($#)2.644 E F0
 
2149
(or less than zero; otherwise 0.)144 609.6 Q F1(shopt)108 626.4 Q F0([)
 
2150
2.5 E F1(\255pqsu)A F0 2.5(][)C F1<ad6f>-2.5 E F0 2.5(][)C F2(optname)
 
2151
-2.5 E F0(...])2.5 E -.8(To)144 638.4 S .64(ggle the v).8 F .639
 
2152
(alues of settings controlling optional shell beha)-.25 F(vior)-.2 E
 
2153
5.639(.T)-.55 G .639(he settings can be either those)-5.639 F .374
 
2154
(listed belo)144 650.4 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H
 
2155
2.874(ft).4 G(he)-2.874 E F1<ad6f>2.874 E F0 .375
 
2156
(option is used, those a)2.875 F -.25(va)-.2 G .375(ilable with the).25
 
2157
F F1<ad6f>2.875 E F0 .375(option to the)2.875 F F1(set)2.875 E F0 -.2
 
2158
(bu)2.875 G .375(iltin com-).2 F 3.326(mand. W)144 662.4 R .826
 
2159
(ith no options, or with the)-.4 F F1<ad70>3.326 E F0 .825
 
2160
(option, a list of all settable options is displayed, with an)3.326 F
 
2161
.945(indication of whether or not each is set.)144 674.4 R(The)5.945 E
 
2162
F1<ad70>3.445 E F0 .945(option causes output to be displayed in a form)
 
2163
3.445 F(that may be reused as input.)144 686.4 Q(Other options ha)5 E .3
 
2164
-.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad73>144 698.4 Q
 
2165
F0(Enable \(set\) each)26.41 E F2(optname)2.5 E F0(.)A F1<ad75>144 710.4
 
2166
Q F0(Disable \(unset\) each)24.74 E F2(optname)2.5 E F0(.)A
 
2167
(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(16)198.725 E 0 Cg EP
 
2168
%%Page: 17 17
 
2169
%%BeginPageSetup
 
2170
BP
 
2171
%%EndPageSetup
 
2172
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2173
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
2174
/Times-Bold@0 SF<ad71>144 84 Q F0 .003(Suppresses normal output \(quiet\
 
2175
 mode\); the return status indicates whether the)24.74 F/F2 10
 
2176
/Times-Italic@0 SF(optname)2.503 E F0(is)2.503 E .255(set or unset.)180
 
2177
96 R .255(If multiple)5.255 F F2(optname)2.755 E F0(ar)2.755 E .256
 
2178
(guments are gi)-.18 F -.15(ve)-.25 G 2.756(nw).15 G(ith)-2.756 E F1
 
2179
<ad71>2.756 E F0 2.756(,t)C .256(he return status is zero if)-2.756 F
 
2180
(all)180 108 Q F2(optnames)2.5 E F0(are enabled; non-zero otherwise.)2.5
 
2181
E F1<ad6f>144 120 Q F0(Restricts the v)25.3 E(alues of)-.25 E F2
 
2182
(optname)2.5 E F0(to be those de\214ned for the)2.5 E F1<ad6f>2.5 E F0
 
2183
(option to the)2.5 E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .625
 
2184
(If either)144 136.8 R F1<ad73>3.125 E F0(or)3.124 E F1<ad75>3.124 E F0
 
2185
.624(is used with no)3.124 F F2(optname)3.124 E F0(ar)3.124 E(guments,)
 
2186
-.18 E F1(shopt)3.124 E F0(sho)3.124 E .624
 
2187
(ws only those options which are)-.25 F 2.233(set or unset, respecti)144
 
2188
148.8 R -.15(ve)-.25 G(ly).15 E 7.234(.U)-.65 G 2.234
 
2189
(nless otherwise noted, the)-7.234 F F1(shopt)4.734 E F0 2.234
 
2190
(options are disabled \(unset\) by)4.734 F(def)144 160.8 Q(ault.)-.1 E
 
2191
1.544(The return status when listing options is zero if all)144 177.6 R
 
2192
F2(optnames)4.044 E F0 1.544(are enabled, non-zero otherwise.)4.044 F
 
2193
.696
 
2194
(When setting or unsetting options, the return status is zero unless an)
 
2195
144 189.6 R F2(optname)3.196 E F0 .696(is not a v)3.196 F .696
 
2196
(alid shell)-.25 F(option.)144 201.6 Q(The list of)144 218.4 Q F1(shopt)
 
2197
2.5 E F0(options is:)2.5 E F1(autocd)144 236.4 Q F0 .2
 
2198
(If set, a command name that is the name of a directory is e)11.11 F
 
2199
-.15(xe)-.15 G .199(cuted as if it were the ar).15 F(gu-)-.18 E
 
2200
(ment to the)184 248.4 Q F1(cd)2.5 E F0 2.5(command. This)2.5 F
 
2201
(option is only used by interacti)2.5 E .3 -.15(ve s)-.25 H(hells.).15 E
 
2202
F1(cdable_v)144 260.4 Q(ars)-.1 E F0 .155(If set, an ar)184 272.4 R .155
 
2203
(gument to the)-.18 F F1(cd)2.655 E F0 -.2(bu)2.655 G .156
 
2204
(iltin command that is not a directory is assumed to be the).2 F
 
2205
(name of a v)184 284.4 Q(ariable whose v)-.25 E
 
2206
(alue is the directory to change to.)-.25 E F1(cdspell)144 296.4 Q F0
 
2207
1.055
 
2208
(If set, minor errors in the spelling of a directory component in a)
 
2209
10.55 F F1(cd)3.555 E F0 1.055(command will be)3.555 F 3.987
 
2210
(corrected. The)184 308.4 R 1.487(errors check)3.987 F 1.487
 
2211
(ed for are transposed characters, a missing character)-.1 F 3.988(,a)
 
2212
-.4 G(nd)-3.988 E .77(one character too man)184 320.4 R 4.57 -.65(y. I)
 
2213
-.15 H 3.27(fac).65 G .77
 
2214
(orrection is found, the corrected \214lename is printed, and)-3.27 F
 
2215
(the command proceeds.)184 332.4 Q
 
2216
(This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.)
 
2217
.15 E F1(checkhash)144 344.4 Q F0 2.079(If set,)184 356.4 R F1(bash)
 
2218
4.579 E F0 2.079(checks that a command found in the hash table e)4.579 F
 
2219
2.08(xists before trying to)-.15 F -.15(exe)184 368.4 S(cute it.).15 E
 
2220
(If a hashed command no longer e)5 E
 
2221
(xists, a normal path search is performed.)-.15 E F1(checkjobs)144 380.4
 
2222
Q F0 .449(If set,)184 392.4 R F1(bash)2.949 E F0 .449
 
2223
(lists the status of an)2.949 F 2.949(ys)-.15 G .448
 
2224
(topped and running jobs before e)-2.949 F .448(xiting an interacti)-.15
 
2225
F -.15(ve)-.25 G 3.438(shell. If)184 404.4 R(an)3.438 E 3.438(yj)-.15 G
 
2226
.938(obs are running, this causes the e)-3.438 F .938
 
2227
(xit to be deferred until a second e)-.15 F .939(xit is)-.15 F 2.203
 
2228
(attempted without an interv)184 416.4 R 2.203(ening command \(see)-.15
 
2229
F/F3 9/Times-Bold@0 SF 2.203(JOB CONTR)4.703 F(OL)-.27 E F0(abo)4.453 E
 
2230
-.15(ve)-.15 G 4.703(\). The).15 F(shell)4.703 E(al)184 428.4 Q -.1(wa)
 
2231
-.1 G(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G
 
2232
(obs are stopped.)-2.5 E F1(checkwinsize)144 440.4 Q F0 .796(If set,)184
 
2233
452.4 R F1(bash)3.296 E F0 .796(checks the windo)3.296 F 3.296(ws)-.25 G
 
2234
.797(ize after each command and, if necessary)-3.296 F 3.297(,u)-.65 G
 
2235
.797(pdates the)-3.297 F -.25(va)184 464.4 S(lues of).25 E F3(LINES)2.5
 
2236
E F0(and)2.25 E F3(COLUMNS)2.5 E/F4 9/Times-Roman@0 SF(.)A F1(cmdhist)
 
2237
144 476.4 Q F0 1.202(If set,)6.11 F F1(bash)3.702 E F0 1.202
 
2238
(attempts to sa)3.702 F 1.502 -.15(ve a)-.2 H 1.202
 
2239
(ll lines of a multiple-line command in the same history).15 F(entry)184
 
2240
488.4 Q 5(.T)-.65 G(his allo)-5 E
 
2241
(ws easy re-editing of multi-line commands.)-.25 E F1(compat31)144 500.4
 
2242
Q F0 .419(If set,)184 512.4 R F1(bash)2.919 E F0 .419(changes its beha)
 
2243
2.919 F .419(vior to that of v)-.2 F .42
 
2244
(ersion 3.1 with respect to quoted ar)-.15 F(guments)-.18 E .462(to the)
 
2245
184 524.4 R F1([[)2.962 E F0 .462(conditional command')2.962 F(s)-.55 E
 
2246
F1(=~)2.962 E F0 .462
 
2247
(operator and locale-speci\214c string comparison when)2.962 F .71
 
2248
(using the)184 536.4 R F1([[)3.21 E F0 .71(conditional command')3.21 F
 
2249
(s)-.55 E F1(<)3.21 E F0(and)3.21 E F1(>)3.21 E F0 3.21(operators. Bash)
 
2250
3.21 F -.15(ve)3.21 G .71(rsions prior to bash-4.1).15 F .821
 
2251
(use ASCII collation and)184 548.4 R F2(str)3.321 E(cmp)-.37 E F0 .821
 
2252
(\(3\); bash-4.1 and later use the current locale').19 F 3.32(sc)-.55 G
 
2253
(ollation)-3.32 E(sequence and)184 560.4 Q F2(str)2.5 E(coll)-.37 E F0
 
2254
(\(3\).).51 E F1(compat32)144 572.4 Q F0 1.409(If set,)184 584.4 R F1
 
2255
(bash)3.909 E F0 1.409(changes its beha)3.909 F 1.409(vior to that of v)
 
2256
-.2 F 1.41(ersion 3.2 with respect to locale-speci\214c)-.15 F .423
 
2257
(string comparison when using the)184 596.4 R F1([[)2.922 E F0 .422
 
2258
(conditional command')2.922 F(s)-.55 E F1(<)2.922 E F0(and)2.922 E F1(>)
 
2259
2.922 E F0 .422(operators \(see pre-)2.922 F(vious item\).)184 608.4 Q
 
2260
F1(compat40)144 620.4 Q F0 1.409(If set,)184 632.4 R F1(bash)3.909 E F0
 
2261
1.409(changes its beha)3.909 F 1.409(vior to that of v)-.2 F 1.41
 
2262
(ersion 4.0 with respect to locale-speci\214c)-.15 F 2.008
 
2263
(string comparison when using the)184 644.4 R F1([[)4.508 E F0 2.007
 
2264
(conditional command')4.508 F(s)-.55 E F1(<)4.507 E F0(and)4.507 E F1(>)
 
2265
4.507 E F0 2.007(operators \(see)4.507 F .769(description of)184 656.4 R
 
2266
F1(compat31)3.269 E F0 3.269(\)a)C .769(nd the ef)-3.269 F .769
 
2267
(fect of interrupting a command list.)-.25 F .77(Bash v)5.77 F(ersions)
 
2268
-.15 E .087(4.0 and later interrupt the list as if the shell recei)184
 
2269
668.4 R -.15(ve)-.25 G 2.586(dt).15 G .086(he interrupt; pre)-2.586 F
 
2270
.086(vious v)-.25 F .086(ersions con-)-.15 F(tinue with the ne)184 680.4
 
2271
Q(xt command in the list.)-.15 E F1(compat41)144 692.4 Q F0 1.483
 
2272
(If set,)184 704.4 R F1(bash)3.983 E F0 3.983(,w)C 1.483(hen in)-3.983 F
 
2273
F2(posix)3.983 E F0 1.484
 
2274
(mode, treats a single quote in a double-quoted parameter)3.983 F -.15
 
2275
(ex)184 716.4 S .959(pansion as a special character).15 F 5.959(.T)-.55
 
2276
G .958(he single quotes must match \(an e)-5.959 F -.15(ve)-.25 G 3.458
 
2277
(nn).15 G .958(umber\) and)-3.458 F .59
 
2278
(the characters between the single quotes are considered quoted.)184
 
2279
728.4 R .59(This is the beha)5.59 F .59(vior of)-.2 F(GNU Bash-4.2)72
 
2280
768 Q(2004 Apr 20)148.735 E(17)198.725 E 0 Cg EP
 
2281
%%Page: 18 18
 
2282
%%BeginPageSetup
 
2283
BP
 
2284
%%EndPageSetup
 
2285
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2286
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E .59
 
2287
(posix mode through v)184 84 R .589(ersion 4.1.)-.15 F .589(The def)
 
2288
5.589 F .589(ault bash beha)-.1 F .589(vior remains as in pre)-.2 F .589
 
2289
(vious v)-.25 F(er)-.15 E(-)-.2 E(sions.)184 96 Q/F1 10/Times-Bold@0 SF
 
2290
(compat42)144 108 Q F0 1.796(If set,)184 120 R F1(bash)4.296 E F0 1.796
 
2291
(does not process the replacement string in the pattern substitution w)
 
2292
4.296 F(ord)-.1 E -.15(ex)184 132 S(pansion using quote remo).15 E -.25
 
2293
(va)-.15 G(l.).25 E F1(complete_fullquote)144 144 Q F0 .654(If set,)184
 
2294
156 R F1(bash)3.153 E F0 .653(quotes all shell metacharacters in \214le\
 
2295
names and directory names when per)3.153 F(-)-.2 E 1.524
 
2296
(forming completion.)184 168 R 1.524(If not set,)6.524 F F1(bash)4.024 E
 
2297
F0(remo)4.024 E -.15(ve)-.15 G 4.024(sm).15 G 1.524
 
2298
(etacharacters such as the dollar sign)-4.024 F 2.667(from the set of c\
 
2299
haracters that will be quoted in completed \214lenames when these)184
 
2300
180 R .028(metacharacters appear in shell v)184 192 R .028
 
2301
(ariable references in w)-.25 F .029(ords to be completed.)-.1 F .029
 
2302
(This means)5.029 F 1.073(that dollar signs in v)184 204 R 1.073
 
2303
(ariable names that e)-.25 F 1.073
 
2304
(xpand to directories will not be quoted; ho)-.15 F(w-)-.25 E -2.15 -.25
 
2305
(ev e)184 216 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123
 
2306
(ollar signs appearing in \214lenames will not be quoted, either).15 F
 
2307
6.123(.T)-.55 G 1.123(his is acti)-6.123 F -.15(ve)-.25 G .59
 
2308
(only when bash is using backslashes to quote completed \214lenames.)184
 
2309
228 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 240 Q
 
2310
(ault, which is the def)-.1 E(ault bash beha)-.1 E(vior in v)-.2 E
 
2311
(ersions through 4.2.)-.15 E F1(dir)144 252 Q(expand)-.18 E F0 .486
 
2312
(If set,)184 264 R F1(bash)2.986 E F0 .486
 
2313
(replaces directory names with the results of w)2.986 F .486(ord e)-.1 F
 
2314
.487(xpansion when perform-)-.15 F .18(ing \214lename completion.)184
 
2315
276 R .179(This changes the contents of the readline editing b)5.18 F
 
2316
(uf)-.2 E(fer)-.25 E 5.179(.I)-.55 G 2.679(fn)-5.179 G(ot)-2.679 E(set,)
 
2317
184 288 Q F1(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G
 
2318
(hat the user typed.)-2.5 E F1(dirspell)144 300 Q F0 .858(If set,)7.77 F
 
2319
F1(bash)3.358 E F0 .858
 
2320
(attempts spelling correction on directory names during w)3.358 F .859
 
2321
(ord completion if)-.1 F
 
2322
(the directory name initially supplied does not e)184 312 Q(xist.)-.15 E
 
2323
F1(dotglob)144 324 Q F0 .165(If set,)7.77 F F1(bash)2.665 E F0 .165
 
2324
(includes \214lenames be)2.665 F .165(ginning with a `.)-.15 F 2.665('i)
 
2325
-.7 G 2.665(nt)-2.665 G .165(he results of pathname e)-2.665 F
 
2326
(xpansion.)-.15 E F1(execfail)144 336 Q F0 1.386
 
2327
(If set, a non-interacti)7.79 F 1.686 -.15(ve s)-.25 H 1.386
 
2328
(hell will not e).15 F 1.386(xit if it cannot e)-.15 F -.15(xe)-.15 G
 
2329
1.387(cute the \214le speci\214ed as an).15 F(ar)184 348 Q
 
2330
(gument to the)-.18 E F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E
 
2331
(An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15
 
2332
E F1(exec)2.5 E F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 360 Q F0
 
2333
.717(If set, aliases are e)184 372 R .717(xpanded as described abo)-.15
 
2334
F 1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E
 
2335
/F3 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F
 
2336
(by def)184 384 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.)
 
2337
.15 E F1(extdeb)144 396 Q(ug)-.2 E F0(If set, beha)184 408 Q
 
2338
(vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184
 
2339
420 Q F0(The)28.5 E F1<ad46>4.25 E F0 1.75(option to the)4.25 F F1
 
2340
(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751
 
2341
(iltin displays the source \214le name and line).2 F
 
2342
(number corresponding to each function name supplied as an ar)220 432 Q
 
2343
(gument.)-.18 E F1(2.)184 444 Q F0 1.667(If the command run by the)28.5
 
2344
F F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v)4.167 F
 
2345
1.667(alue, the ne)-.25 F(xt)-.15 E(command is skipped and not e)220 456
 
2346
Q -.15(xe)-.15 G(cuted.).15 E F1(3.)184 468 Q F0 .84
 
2347
(If the command run by the)28.5 F F1(DEB)3.34 E(UG)-.1 E F0 .841
 
2348
(trap returns a v)3.341 F .841(alue of 2, and the shell is)-.25 F -.15
 
2349
(exe)220 480 S .488
 
2350
(cuting in a subroutine \(a shell function or a shell script e).15 F
 
2351
-.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1
 
2352
(sour)220 492 Q(ce)-.18 E F0 -.2(bu)2.5 G(iltins\), a call to).2 E F1
 
2353
-.18(re)2.5 G(tur).18 E(n)-.15 E F0(is simulated.)2.5 E F1(4.)184 504 Q
 
2354
F2 -.27(BA)28.5 G(SH_ARGC).27 E F0(and)3.153 E F2 -.27(BA)3.403 G
 
2355
(SH_ARGV).27 E F0 .904(are updated as described in their descriptions)
 
2356
3.154 F(abo)220 516 Q -.15(ve)-.15 G(.).15 E F1(5.)184 528 Q F0 1.359
 
2357
(Function tracing is enabled:)28.5 F 1.359
 
2358
(command substitution, shell functions, and sub-)6.359 F(shells in)220
 
2359
540 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E/F4 10
 
2360
/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1
 
2361
(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0(traps.)2.5 E F1(6.)
 
2362
184 552 Q F0 .804(Error tracing is enabled:)28.5 F .805
 
2363
(command substitution, shell functions, and subshells)5.804 F(in)220 564
 
2364
Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4
 
2365
(command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.)
 
2366
2.5 E F1(extglob)144 576 Q F0 .4(If set, the e)8.89 F .4
 
2367
(xtended pattern matching features described abo)-.15 F .7 -.15(ve u)
 
2368
-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 588 Q
 
2369
F0(are enabled.)2.5 E F1(extquote)144 600 Q F0 2.473(If set,)184 612 R
 
2370
F1($)4.973 E F0<08>A F4(string)A F0 4.973<0861>C(nd)-4.973 E F1($)4.973
 
2371
E F0(")A F4(string)A F0 4.973("q)C 2.473(uoting is performed within)
 
2372
-4.973 F F1(${)4.973 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)4.973 G
 
2373
(pansions).15 E(enclosed in double quotes.)184 624 Q
 
2374
(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 636 Q F0
 
2375
1.425(If set, patterns which f)7.77 F 1.425
 
2376
(ail to match \214lenames during pathname e)-.1 F 1.424
 
2377
(xpansion result in an)-.15 F -.15(ex)184 648 S(pansion error).15 E(.)
 
2378
-.55 E F1 -.25(fo)144 660 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0
 
2379
.936(If set, the suf)184 672 R<8c78>-.25 E .936(es speci\214ed by the)
 
2380
-.15 F F2(FIGNORE)3.436 E F0 .936(shell v)3.186 F .936(ariable cause w)
 
2381
-.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 684 R .32
 
2382
(ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32
 
2383
(he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 2.947
 
2384
(pletions. See)184 696 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0
 
2385
(abo)2.697 E .747 -.15(ve f)-.15 H .448(or a description of).15 F F2
 
2386
(FIGNORE)2.948 E F3(.)A F0 .448(This option is)4.948 F(enabled by def)
 
2387
184 708 Q(ault.)-.1 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(18)
 
2388
198.725 E 0 Cg EP
 
2389
%%Page: 19 19
 
2390
%%BeginPageSetup
 
2391
BP
 
2392
%%EndPageSetup
 
2393
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2394
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
2395
/Times-Bold@0 SF(globasciiranges)144 84 Q F0 2.519(If set, range e)184
 
2396
96 R 2.519(xpressions used in pattern matching brack)-.15 F 2.518(et e)
 
2397
-.1 F 2.518(xpressions \(see)-.15 F/F2 9/Times-Bold@0 SF -.09(Pa)5.018 G
 
2398
(tter).09 E(n)-.135 E(Matching)184 108 Q F0(abo)2.964 E -.15(ve)-.15 G
 
2399
3.214(\)b).15 G(eha)-3.214 E 1.014 -.15(ve a)-.2 H 3.214(si).15 G 3.214
 
2400
(fi)-3.214 G 3.214(nt)-3.214 G .714
 
2401
(he traditional C locale when performing comparisons.)-3.214 F 1.02
 
2402
(That is, the current locale')184 120 R 3.52(sc)-.55 G 1.02
 
2403
(ollating sequence is not tak)-3.52 F 1.02(en into account, so)-.1 F F1
 
2404
(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 132 R F1(A)
 
2405
3.456 E F0(and)3.456 E F1(B)3.456 E F0 3.457(,a)C .957(nd upper)-3.457 F
 
2406
.957(-case and lo)-.2 F(wer)-.25 E .957
 
2407
(-case ASCII characters will collate)-.2 F(together)184 144 Q(.)-.55 E
 
2408
F1(globstar)144 156 Q F0 .519(If set, the pattern)5 F F1(**)3.019 E F0
 
2409
.519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .518
 
2410
(xt will match all \214les and zero)-.15 F .431
 
2411
(or more directories and subdirectories.)184 168 R .431
 
2412
(If the pattern is follo)5.431 F .432(wed by a)-.25 F F1(/)2.932 E F0
 
2413
2.932(,o)C .432(nly directories)-2.932 F(and subdirectories match.)184
 
2414
180 Q F1(gnu_errfmt)144 192 Q F0(If set, shell error messages are writt\
 
2415
en in the standard GNU error message format.)184 204 Q F1(histappend)144
 
2416
216 Q F0 .676
 
2417
(If set, the history list is appended to the \214le named by the v)184
 
2418
228 R .676(alue of the)-.25 F F2(HISTFILE)3.176 E F0 -.25(va)2.926 G
 
2419
(ri-).25 E(able when the shell e)184 240 Q(xits, rather than o)-.15 E
 
2420
-.15(ve)-.15 G(rwriting the \214le.).15 E F1(histr)144 252 Q(eedit)-.18
 
2421
E F0 .575(If set, and)184 264 R F1 -.18(re)3.075 G(adline).18 E F0 .575
 
2422
(is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576
 
2423
(he opportunity to re-edit a f)-3.075 F .576(ailed his-)-.1 F
 
2424
(tory substitution.)184 276 Q F1(histv)144 288 Q(erify)-.1 E F0 .403
 
2425
(If set, and)184 300 R F1 -.18(re)2.903 G(adline).18 E F0 .403
 
2426
(is being used, the results of history substitution are not immediately)
 
2427
2.903 F .661(passed to the shell parser)184 312 R 5.661(.I)-.55 G .662
 
2428
(nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162
 
2429
G(adline).18 E F0(editing)3.162 E -.2(bu)184 324 S -.25(ff).2 G(er).25 E
 
2430
2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1
 
2431
(hostcomplete)144 336 Q F0 1.182(If set, and)184 348 R F1 -.18(re)3.682
 
2432
G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181
 
2433
(will attempt to perform hostname completion)3.681 F 1.38(when a w)184
 
2434
360 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381
 
2435
(is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E
 
2436
F2(READLINE)3.881 E F0(abo)184 372 Q -.15(ve)-.15 G 2.5(\). This).15 F
 
2437
(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 384 Q F0(If set,)
 
2438
184 396 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0
 
2439
(to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e)
 
2440
.15 E(xits.)-.15 E F1(interacti)144 408 Q -.1(ve)-.1 G(_comments).1 E F0
 
2441
.33(If set, allo)184 420 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33
 
2442
(ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33
 
2443
(ord and all remaining characters on)-.1 F .967
 
2444
(that line to be ignored in an interacti)184 432 R 1.267 -.15(ve s)-.25
 
2445
H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15
 
2446
G 3.467(\). This).15 F .968(option is)3.468 F(enabled by def)184 444 Q
 
2447
(ault.)-.1 E F1(lastpipe)144 456 Q F0 1.212
 
2448
(If set, and job control is not acti)6.66 F -.15(ve)-.25 G 3.712(,t).15
 
2449
G 1.212(he shell runs the last command of a pipeline not)-3.712 F -.15
 
2450
(exe)184 468 S(cuted in the background in the current shell en).15 E
 
2451
(vironment.)-.4 E F1(lithist)144 480 Q F0 .654(If set, and the)15.55 F
 
2452
F1(cmdhist)3.154 E F0 .654
 
2453
(option is enabled, multi-line commands are sa)3.154 F -.15(ve)-.2 G
 
2454
3.155(dt).15 G 3.155(ot)-3.155 G .655(he history)-3.155 F
 
2455
(with embedded ne)184 492 Q
 
2456
(wlines rather than using semicolon separators where possible.)-.25 E F1
 
2457
(login_shell)144 504 Q F0 .486
 
2458
(The shell sets this option if it is started as a login shell \(see)184
 
2459
516 R F2(INV)2.986 E(OCA)-.405 E(TION)-.855 E F0(abo)2.736 E -.15(ve)
 
2460
-.15 G 2.986(\). The).15 F -.25(va)184 528 S(lue may not be changed.).25
 
2461
E F1(mailwar)144 540 Q(n)-.15 E F0 .814(If set, and a \214le that)184
 
2462
552 R F1(bash)3.314 E F0 .815
 
2463
(is checking for mail has been accessed since the last time it)3.314 F
 
2464
-.1(wa)184 564 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E
 
2465
(`The mail in)-.74 E/F3 10/Times-Italic@0 SF(mail\214le)2.5 E F0
 
2466
(has been read')2.5 E 2.5('i)-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1
 
2467
(no_empty_cmd_completion)144 576 Q F0 .325(If set, and)184 588 R F1 -.18
 
2468
(re)2.825 G(adline).18 E F0 .325(is being used,)2.825 F F1(bash)2.824 E
 
2469
F0 .324(will not attempt to search the)2.824 F F2 -.666(PA)2.824 G(TH)
 
2470
-.189 E F0 .324(for possible)2.574 F
 
2471
(completions when completion is attempted on an empty line.)184 600 Q F1
 
2472
(nocaseglob)144 612 Q F0 .436(If set,)184 624 R F1(bash)2.936 E F0 .436
 
2473
(matches \214lenames in a case\255insensiti)2.936 F .737 -.15(ve f)-.25
 
2474
H .437(ashion when performing pathname).05 F -.15(ex)184 636 S
 
2475
(pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E
 
2476
-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 648 Q F0 1.194(If set,)184
 
2477
660 R F1(bash)3.694 E F0 1.194(matches patterns in a case\255insensiti)
 
2478
3.694 F 1.493 -.15(ve f)-.25 H 1.193(ashion when performing matching).05
 
2479
F(while e)184 672 Q -.15(xe)-.15 G(cuting).15 E F1(case)2.5 E F0(or)2.5
 
2480
E F1([[)2.5 E F0(conditional commands.)2.5 E F1(nullglob)144 684 Q F0
 
2481
.854(If set,)184 696 R F1(bash)3.354 E F0(allo)3.354 E .855
 
2482
(ws patterns which match no \214les \(see)-.25 F F1 -.1(Pa)3.355 G .855
 
2483
(thname Expansion).1 F F0(abo)3.355 E -.15(ve)-.15 G 3.355(\)t).15 G(o)
 
2484
-3.355 E -.15(ex)184 708 S(pand to a null string, rather than themselv)
 
2485
.15 E(es.)-.15 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(19)198.725
 
2486
E 0 Cg EP
 
2487
%%Page: 20 20
 
2488
%%BeginPageSetup
 
2489
BP
 
2490
%%EndPageSetup
 
2491
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2492
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
2493
/Times-Bold@0 SF(pr)144 84 Q(ogcomp)-.18 E F0 .677
 
2494
(If set, the programmable completion f)184 96 R .677(acilities \(see)-.1
 
2495
F F1(Pr)3.176 E .676(ogrammable Completion)-.18 F F0(abo)3.176 E -.15
 
2496
(ve)-.15 G(\)).15 E(are enabled.)184 108 Q
 
2497
(This option is enabled by def)5 E(ault.)-.1 E F1(pr)144 120 Q(omptv)
 
2498
-.18 E(ars)-.1 E F0 1.447(If set, prompt strings under)184 132 R 1.448
 
2499
(go parameter e)-.18 F 1.448(xpansion, command substitution, arithmetic)
 
2500
-.15 F -.15(ex)184 144 S .171(pansion, and quote remo).15 F -.25(va)-.15
 
2501
G 2.67(la).25 G .17(fter being e)-2.67 F .17(xpanded as described in)
 
2502
-.15 F/F2 9/Times-Bold@0 SF(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15
 
2503
(ve)-.15 G(.).15 E(This option is enabled by def)184 156 Q(ault.)-.1 E
 
2504
F1 -.18(re)144 168 S(stricted_shell).18 E F0 1.069
 
2505
(The shell sets this option if it is started in restricted mode \(see)
 
2506
184 180 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 192 Q 4.178
 
2507
(w\). The)-.25 F -.25(va)4.178 G 1.678(lue may not be changed.).25 F
 
2508
1.678(This is not reset when the startup \214les are)6.678 F -.15(exe)
 
2509
184 204 S(cuted, allo).15 E(wing the startup \214les to disco)-.25 E
 
2510
-.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 E
 
2511
F1(shift_v)144 216 Q(erbose)-.1 E F0 .501(If set, the)184 228 R F1
 
2512
(shift)3.001 E F0 -.2(bu)3.001 G .501
 
2513
(iltin prints an error message when the shift count e).2 F .502
 
2514
(xceeds the number)-.15 F(of positional parameters.)184 240 Q F1(sour)
 
2515
144 252 Q(cepath)-.18 E F0 .771(If set, the)184 264 R F1(sour)3.271 E
 
2516
(ce)-.18 E F0(\()3.271 E F1(.)A F0 3.271(\)b)C .771(uiltin uses the v)
 
2517
-3.471 F .771(alue of)-.25 F F2 -.666(PA)3.27 G(TH)-.189 E F0 .77
 
2518
(to \214nd the directory containing the)3.02 F(\214le supplied as an ar)
 
2519
184 276 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E(ault.)
 
2520
-.1 E F1(xpg_echo)144 288 Q F0(If set, the)184 300 Q F1(echo)2.5 E F0
 
2521
-.2(bu)2.5 G(iltin e).2 E(xpands backslash-escape sequences by def)-.15
 
2522
E(ault.)-.1 E F1(suspend)108 316.8 Q F0([)2.5 E F1<ad66>A F0(])A 1.001
 
2523
(Suspend the e)144 328.8 R -.15(xe)-.15 G 1.001
 
2524
(cution of this shell until it recei).15 F -.15(ve)-.25 G 3.501(sa).15 G
 
2525
F2(SIGCONT)A F0 3.502(signal. A)3.252 F 1.002(login shell cannot be)
 
2526
3.502 F .023(suspended; the)144 340.8 R F1<ad66>2.523 E F0 .023
 
2527
(option can be used to o)2.523 F -.15(ve)-.15 G .022
 
2528
(rride this and force the suspension.).15 F .022(The return status is)
 
2529
5.022 F 2.5(0u)144 352.8 S(nless the shell is a login shell and)-2.5 E
 
2530
F1<ad66>2.5 E F0(is not supplied, or if job control is not enabled.)2.5
 
2531
E F1(test)108 369.6 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([)
 
2532
108 381.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877
 
2533
(Return a status of 0 \(true\) or 1 \(f)6.77 F .878
 
2534
(alse\) depending on the e)-.1 F -.25(va)-.25 G .878
 
2535
(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 393.6
 
2536
S(pr).2 E F0 5.53(.E).73 G .53
 
2537
(ach operator and operand must be a separate ar)-5.53 F 3.03
 
2538
(gument. Expressions)-.18 F .53(are composed of the)3.03 F 3.079
 
2539
(primaries described abo)144 405.6 R 3.379 -.15(ve u)-.15 H(nder).15 E
 
2540
F2(CONDITION)5.579 E 3.079(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF
 
2541
(.)A F1(test)7.579 E F0 3.08(does not accept an)5.58 F(y)-.15 E
 
2542
(options, nor does it accept and ignore an ar)144 417.6 Q(gument of)-.18
 
2543
E F1<adad>2.5 E F0(as signifying the end of options.)2.5 E .786
 
2544
(Expressions may be combined using the follo)144 435.6 R .785
 
2545
(wing operators, listed in decreasing order of prece-)-.25 F 3.411
 
2546
(dence. The)144 447.6 R -.25(eva)3.411 G .911
 
2547
(luation depends on the number of ar).25 F .912(guments; see belo)-.18 F
 
2548
4.712 -.65(w. O)-.25 H .912(perator precedence is).65 F
 
2549
(used when there are \214v)144 459.6 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G
 
2550
(ore ar)-2.5 E(guments.)-.18 E F1(!)144 471.6 Q F3 -.2(ex)2.5 G(pr).2 E
 
2551
F0 -.35(Tr)12.6 G(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E
 
2552
(alse.)-.1 E F1(\()144 483.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0
 
2553
.26(Returns the v)6.77 F .26(alue of)-.25 F F3 -.2(ex)2.76 G(pr).2 E F0
 
2554
5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26
 
2555
(rride the normal precedence of opera-).15 F(tors.)180 495.6 Q F3 -.2
 
2556
(ex)144 507.6 S(pr1).2 E F0<ad>2.5 E F1(a)A F3 -.2(ex)2.5 G(pr2).2 E F0
 
2557
-.35(Tr)180 519.6 S(ue if both).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(and)2.5
 
2558
E F3 -.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F3 -.2(ex)144 531.6 S
 
2559
(pr1).2 E F0<ad>2.5 E F1(o)A F3 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180
 
2560
543.6 S(ue if either).35 E F3 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F3 -.2
 
2561
(ex)2.5 G(pr2).2 E F0(is true.)2.52 E F1(test)144 560.4 Q F0(and)2.5 E
 
2562
F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E
 
2563
(xpressions using a set of rules based on the number of ar)-.15 E
 
2564
(guments.)-.18 E 2.5(0a)144 578.4 S -.18(rg)-2.5 G(uments).18 E(The e)
 
2565
180 590.4 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 602.4 S -.18
 
2566
(rg)-2.5 G(ument).18 E(The e)180 614.4 Q
 
2567
(xpression is true if and only if the ar)-.15 E(gument is not null.)-.18
 
2568
E 2.5(2a)144 626.4 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar)
 
2569
180 638.4 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87
 
2570
F .37(xpression is true if and only if the second ar)-.15 F .37
 
2571
(gument is null.)-.18 F .38(If the \214rst ar)180 650.4 R .38
 
2572
(gument is one of the unary conditional operators listed abo)-.18 F .679
 
2573
-.15(ve u)-.15 H(nder).15 E F2(CONDI-)2.879 E(TION)180 662.4 Q .552
 
2574
(AL EXPRESSIONS)-.18 F F4(,)A F0 .552(the e)2.802 F .552
 
2575
(xpression is true if the unary test is true.)-.15 F .552
 
2576
(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 674.4 Q
 
2577
(alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E
 
2578
(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 686.4 S -.18(rg)-2.5 G
 
2579
(uments).18 E .236(The follo)180 698.4 R .236
 
2580
(wing conditions are applied in the order listed.)-.25 F .236
 
2581
(If the second ar)5.236 F .236(gument is one of)-.18 F .855
 
2582
(the binary conditional operators listed abo)180 710.4 R 1.155 -.15
 
2583
(ve u)-.15 H(nder).15 E F2(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F
 
2584
F4(,)A F0(the)3.105 E .579(result of the e)180 722.4 R .578(xpression i\
 
2585
s the result of the binary test using the \214rst and third ar)-.15 F
 
2586
(guments)-.18 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(20)198.725 E
 
2587
0 Cg EP
 
2588
%%Page: 21 21
 
2589
%%BeginPageSetup
 
2590
BP
 
2591
%%EndPageSetup
 
2592
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2593
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E 1.332
 
2594
(as operands.)180 84 R(The)6.332 E/F1 10/Times-Bold@0 SF<ad61>3.832 E F0
 
2595
(and)3.832 E F1<ad6f>3.832 E F0 1.333
 
2596
(operators are considered binary operators when there are)3.832 F .558
 
2597
(three ar)180 96 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 F
 
2598
.558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F .558
 
2599
(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F(o-ar)-.1
 
2600
E(gument)-.18 E .52(test using the second and third ar)180 108 R 3.021
 
2601
(guments. If)-.18 F .521(the \214rst ar)3.021 F .521(gument is e)-.18 F
 
2602
(xactly)-.15 E F1(\()3.021 E F0 .521(and the third)3.021 F(ar)180 120 Q
 
2603
.485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 2.985(,t)C .485
 
2604
(he result is the one-ar)-2.985 F .485(gument test of the second ar)-.18
 
2605
F 2.985(gument. Other)-.18 F(-)-.2 E(wise, the e)180 132 Q
 
2606
(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 144 S -.18(rg)-2.5 G
 
2607
(uments).18 E .384(If the \214rst ar)180 156 R .384(gument is)-.18 F F1
 
2608
(!)2.884 E F0 2.885(,t)C .385(he result is the ne)-2.885 F -.05(ga)-.15
 
2609
G .385(tion of the three-ar).05 F .385(gument e)-.18 F .385
 
2610
(xpression com-)-.15 F 1.648(posed of the remaining ar)180 168 R 4.147
 
2611
(guments. Otherwise,)-.18 F 1.647(the e)4.147 F 1.647
 
2612
(xpression is parsed and e)-.15 F -.25(va)-.25 G(luated).25 E
 
2613
(according to precedence using the rules listed abo)180 180 Q -.15(ve)
 
2614
-.15 G(.).15 E 2.5(5o)144 192 S 2.5(rm)-2.5 G(ore ar)-2.5 E(guments)-.18
 
2615
E 1.635(The e)180 204 R 1.635(xpression is parsed and e)-.15 F -.25(va)
 
2616
-.25 G 1.635(luated according to precedence using the rules listed).25 F
 
2617
(abo)180 216 Q -.15(ve)-.15 G(.).15 E(When used with)144 234 Q F1(test)
 
2618
2.5 E F0(or)2.5 E F1([)2.5 E F0 2.5(,t)C(he)-2.5 E F1(<)2.5 E F0(and)2.5
 
2619
E F1(>)2.5 E F0(operators sort le)2.5 E
 
2620
(xicographically using ASCII ordering.)-.15 E F1(times)108 250.8 Q F0
 
2621
1.229(Print the accumulated user and system times for the shell and for\
 
2622
 processes run from the shell.)13.23 F(The return status is 0.)144 262.8
 
2623
Q F1(trap)108 279.6 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E/F2 10
 
2624
/Times-Italic@0 SF(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])2.5 E
 
2625
.702(The command)144 291.6 R F2(ar)3.532 E(g)-.37 E F0 .702
 
2626
(is to be read and e)3.422 F -.15(xe)-.15 G .702
 
2627
(cuted when the shell recei).15 F -.15(ve)-.25 G 3.203(ss).15 G
 
2628
(ignal\(s\))-3.203 E F2(sigspec)3.203 E F0 5.703(.I).31 G(f)-5.703 E F2
 
2629
(ar)3.533 E(g)-.37 E F0(is)3.423 E .609(absent \(and there is a single)
 
2630
144 303.6 R F2(sigspec)3.108 E F0 3.108(\)o)C(r)-3.108 E F1<ad>3.108 E
 
2631
F0 3.108(,e)C .608
 
2632
(ach speci\214ed signal is reset to its original disposition)-3.108 F
 
2633
.658(\(the v)144 315.6 R .658(alue it had upon entrance to the shell\).)
 
2634
-.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .659
 
2635
(is the null string the signal speci\214ed by each)3.378 F F2(sigspec)
 
2636
144.34 327.6 Q F0 .581
 
2637
(is ignored by the shell and by the commands it in)3.391 F -.2(vo)-.4 G
 
2638
-.1(ke).2 G 3.08(s. If).1 F F2(ar)3.41 E(g)-.37 E F0 .58
 
2639
(is not present and)3.3 F F1<ad70>3.08 E F0(has)3.08 E 1.214
 
2640
(been supplied, then the trap commands associated with each)144 339.6 R
 
2641
F2(sigspec)4.054 E F0 1.215(are displayed.)4.024 F 1.215(If no ar)6.215
 
2642
F(gu-)-.18 E .86(ments are supplied or if only)144 351.6 R F1<ad70>3.36
 
2643
E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86
 
2644
(prints the list of commands associated with each)3.36 F 2.83
 
2645
(signal. The)144 363.6 R F1<ad6c>2.83 E F0 .33(option causes the shell \
 
2646
to print a list of signal names and their corresponding num-)2.83 F
 
2647
4.311(bers. Each)144 375.6 R F2(sigspec)4.651 E F0 1.811
 
2648
(is either a signal name de\214ned in <)4.621 F F2(signal.h)A F0 1.81
 
2649
(>, or a signal number)B 6.81(.S)-.55 G(ignal)-6.81 E
 
2650
(names are case insensiti)144 387.6 Q .3 -.15(ve a)-.25 H(nd the).15 E
 
2651
/F3 9/Times-Bold@0 SF(SIG)2.5 E F0(pre\214x is optional.)2.25 E 1.648
 
2652
(If a)144 405.6 R F2(sigspec)4.488 E F0(is)4.458 E F3(EXIT)4.148 E F0
 
2653
1.648(\(0\) the command)3.898 F F2(ar)4.479 E(g)-.37 E F0 1.649(is e)
 
2654
4.369 F -.15(xe)-.15 G 1.649(cuted on e).15 F 1.649(xit from the shell.)
 
2655
-.15 F 1.649(If a)6.649 F F2(sigspec)4.489 E F0(is)4.459 E F3(DEB)144
 
2656
417.6 Q(UG)-.09 E/F4 9/Times-Roman@0 SF(,)A F0 1.168(the command)3.418 F
 
2657
F2(ar)3.998 E(g)-.37 E F0 1.168(is e)3.888 F -.15(xe)-.15 G 1.167
 
2658
(cuted before e).15 F -.15(ve)-.25 G(ry).15 E F2 1.167(simple command)
 
2659
3.667 F F0(,)A F2(for)3.667 E F0(command,)3.667 E F2(case)3.667 E F0
 
2660
(com-)3.667 E(mand,)144 429.6 Q F2(select)2.646 E F0 .146(command, e)
 
2661
2.646 F -.15(ve)-.25 G .146(ry arithmetic).15 F F2(for)2.646 E F0 .147
 
2662
(command, and before the \214rst command e)2.646 F -.15(xe)-.15 G .147
 
2663
(cutes in a).15 F .146(shell function \(see)144 441.6 R F3 .146
 
2664
(SHELL GRAMMAR)2.646 F F0(abo)2.396 E -.15(ve)-.15 G 2.646(\). Refer).15
 
2665
F .146(to the description of the)2.646 F F1(extdeb)2.645 E(ug)-.2 E F0
 
2666
.145(option to)2.645 F(the)144 453.6 Q F1(shopt)3.2 E F0 -.2(bu)3.2 G .7
 
2667
(iltin for details of its ef).2 F .7(fect on the)-.25 F F1(DEB)3.2 E(UG)
 
2668
-.1 E F0 3.2(trap. If)3.2 F(a)3.2 E F2(sigspec)3.54 E F0(is)3.51 E F3
 
2669
(RETURN)3.2 E F4(,)A F0 .701(the com-)2.951 F(mand)144 465.6 Q F2(ar)
 
2670
3.474 E(g)-.37 E F0 .644(is e)3.364 F -.15(xe)-.15 G .643
 
2671
(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G
 
2672
.643(cuted with the).15 F F1(.)3.143 E F0(or)3.143 E F1(sour)3.143 E(ce)
 
2673
-.18 E F0 -.2(bu)3.143 G(iltins).2 E(\214nishes e)144 477.6 Q -.15(xe)
 
2674
-.15 G(cuting.).15 E .521(If a)144 495.6 R F2(sigspec)3.361 E F0(is)
 
2675
3.331 E F3(ERR)3.021 E F4(,)A F0 .522(the command)2.771 F F2(ar)3.352 E
 
2676
(g)-.37 E F0 .522(is e)3.242 F -.15(xe)-.15 G .522(cuted whene).15 F
 
2677
-.15(ve)-.25 G 3.022(raap).15 G .522(ipeline \(which may consist of a)
 
2678
-3.022 F .185(single simple command\), a list, or a compound command re\
 
2679
turns a non\255zero e)144 507.6 R .184(xit status, subject to)-.15 F
 
2680
.451(the follo)144 519.6 R .451(wing conditions.)-.25 F(The)5.451 E F3
 
2681
(ERR)2.951 E F0 .451(trap is not e)2.701 F -.15(xe)-.15 G .451
 
2682
(cuted if the f).15 F .452(ailed command is part of the com-)-.1 F .388
 
2683
(mand list immediately follo)144 531.6 R .388(wing a)-.25 F F1(while)
 
2684
2.888 E F0(or)2.888 E F1(until)2.888 E F0 -.1(ke)2.888 G(yw)-.05 E .388
 
2685
(ord, part of the test in an)-.1 F F2(if)2.897 E F0 .387
 
2686
(statement, part)4.847 F .777(of a command e)144 543.6 R -.15(xe)-.15 G
 
2687
.778(cuted in a).15 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 .778
 
2688
(list e)3.278 F .778(xcept the command follo)-.15 F .778
 
2689
(wing the \214nal)-.25 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0
 
2690
3.278(,a)C -.15(ny)-3.278 G 1.28(command in a pipeline b)144 555.6 R
 
2691
1.28(ut the last, or if the command')-.2 F 3.78(sr)-.55 G 1.28(eturn v)
 
2692
-3.78 F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F
 
2693
F1(!)3.78 E F0(.)A(These are the same conditions obe)144 567.6 Q
 
2694
(yed by the)-.15 E F1(err)2.5 E(exit)-.18 E F0(\()2.5 E F1<ad65>A F0 2.5
 
2695
(\)o)C(ption.)-2.5 E 1.095
 
2696
(Signals ignored upon entry to the shell cannot be trapped or reset.)144
 
2697
585.6 R -.35(Tr)6.095 G 1.095(apped signals that are not).35 F .662
 
2698
(being ignored are reset to their original v)144 597.6 R .662
 
2699
(alues in a subshell or subshell en)-.25 F .661(vironment when one is)
 
2700
-.4 F 2.5(created. The)144 609.6 R(return status is f)2.5 E(alse if an)
 
2701
-.1 E(y)-.15 E F2(sigspec)2.84 E F0(is in)2.81 E -.25(va)-.4 G
 
2702
(lid; otherwise).25 E F1(trap)2.5 E F0(returns true.)2.5 E F1(type)108
 
2703
626.4 Q F0([)2.5 E F1(\255aftpP)A F0(])A F2(name)2.5 E F0([)2.5 E F2
 
2704
(name)A F0(...])2.5 E -.4(Wi)144 638.4 S .173
 
2705
(th no options, indicate ho).4 F 2.673(we)-.25 G(ach)-2.673 E F2(name)
 
2706
3.033 E F0 -.1(wo)2.853 G .174
 
2707
(uld be interpreted if used as a command name.).1 F .174(If the)5.174 F
 
2708
F1<ad74>144 650.4 Q F0 .843(option is used,)3.343 F F1(type)3.343 E F0
 
2709
.843(prints a string which is one of)3.343 F F2(alias)3.343 E F0(,).27 E
 
2710
F2 -.1(ke)3.343 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)3.343 E F0
 
2711
(,).24 E F2 -.2(bu)3.342 G(iltin).2 E F0 3.342(,o).24 G(r)-3.342 E F2
 
2712
(\214le)5.252 E F0(if)3.522 E F2(name)144.36 662.4 Q F0 .086
 
2713
(is an alias, shell reserv)2.766 F .086(ed w)-.15 F .086
 
2714
(ord, function, b)-.1 F .087(uiltin, or disk \214le, respecti)-.2 F -.15
 
2715
(ve)-.25 G(ly).15 E 5.087(.I)-.65 G 2.587(ft)-5.087 G(he)-2.587 E F2
 
2716
(name)2.947 E F0 .087(is not)2.767 F .119
 
2717
(found, then nothing is printed, and an e)144 674.4 R .118
 
2718
(xit status of f)-.15 F .118(alse is returned.)-.1 F .118(If the)5.118 F
 
2719
F1<ad70>2.618 E F0 .118(option is used,)2.618 F F1(type)2.618 E F0 .855
 
2720
(either returns the name of the disk \214le that w)144 686.4 R .855
 
2721
(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0
 
2722
.855(were speci\214ed as a com-)3.535 F .641(mand name, or nothing if)
 
2723
144 698.4 R/F5 10/Courier@0 SF .641(type -t name)3.141 F F0 -.1(wo)3.141
 
2724
G .641(uld not return).1 F F2(\214le)3.14 E F0 5.64(.T).18 G(he)-5.64 E
 
2725
F1<ad50>3.14 E F0 .64(option forces a)3.14 F F3 -.666(PA)3.14 G(TH)-.189
 
2726
E F0 .112(search for each)144 710.4 R F2(name)2.612 E F0 2.612(,e)C -.15
 
2727
(ve)-2.862 G 2.613(ni).15 G(f)-2.613 E F5 .113(type -t name)2.613 F F0
 
2728
-.1(wo)2.613 G .113(uld not return).1 F F2(\214le)2.613 E F0 5.113(.I)
 
2729
.18 G 2.613(fac)-5.113 G .113(ommand is hashed,)-2.613 F F1<ad70>2.613 E
 
2730
F0(and)144 722.4 Q F1<ad50>3.231 E F0 .731(print the hashed v)3.231 F
 
2731
.73(alue, which is not necessarily the \214le that appears \214rst in)
 
2732
-.25 F F3 -.666(PA)3.23 G(TH)-.189 E F4(.)A F0 .73(If the)5.23 F
 
2733
(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(21)198.725 E 0 Cg EP
 
2734
%%Page: 22 22
 
2735
%%BeginPageSetup
 
2736
BP
 
2737
%%EndPageSetup
 
2738
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2739
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
2740
/Times-Bold@0 SF<ad61>144 84 Q F0 1.748(option is used,)4.248 F F1(type)
 
2741
4.248 E F0 1.748(prints all of the places that contain an e)4.248 F -.15
 
2742
(xe)-.15 G 1.748(cutable named).15 F/F2 10/Times-Italic@0 SF(name)4.249
 
2743
E F0 6.749(.T).18 G(his)-6.749 E .744
 
2744
(includes aliases and functions, if and only if the)144 96 R F1<ad70>
 
2745
3.244 E F0 .744(option is not also used.)3.244 F .743
 
2746
(The table of hashed)5.744 F 1.223(commands is not consulted when using)
 
2747
144 108 R F1<ad61>3.723 E F0 6.223(.T)C(he)-6.223 E F1<ad66>3.723 E F0
 
2748
1.223(option suppresses shell function lookup, as)3.723 F .326(with the)
 
2749
144 120 R F1(command)2.826 E F0 -.2(bu)2.826 G(iltin.).2 E F1(type)5.326
 
2750
E F0 .326(returns true if all of the ar)2.826 F .325
 
2751
(guments are found, f)-.18 F .325(alse if an)-.1 F 2.825(ya)-.15 G .325
 
2752
(re not)-2.825 F(found.)144 132 Q F1(ulimit)108 148.8 Q F0([)2.5 E F1
 
2753
(\255HST)A(abcde\214lmnpqrstuvx)-.92 E F0([)2.5 E F2(limit)A F0(]])A
 
2754
(Pro)144 160.8 Q .243(vides control o)-.15 F -.15(ve)-.15 G 2.743(rt).15
 
2755
G .243(he resources a)-2.743 F -.25(va)-.2 G .244
 
2756
(ilable to the shell and to processes started by it, on systems).25 F
 
2757
.944(that allo)144 172.8 R 3.444(ws)-.25 G .944(uch control.)-3.444 F
 
2758
(The)5.944 E F1<ad48>3.444 E F0(and)3.444 E F1<ad53>3.444 E F0 .943
 
2759
(options specify that the hard or soft limit is set for the)3.444 F(gi)
 
2760
144 184.8 Q -.15(ve)-.25 G 2.708(nr).15 G 2.708(esource. A)-2.708 F .208
 
2761
(hard limit cannot be increased by a non-root user once it is set; a so\
 
2762
ft limit may)2.708 F .426(be increased up to the v)144 196.8 R .426
 
2763
(alue of the hard limit.)-.25 F .425(If neither)5.426 F F1<ad48>2.925 E
 
2764
F0(nor)2.925 E F1<ad53>2.925 E F0 .425
 
2765
(is speci\214ed, both the soft and)2.925 F .139(hard limits are set.)144
 
2766
208.8 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139
 
2767
(can be a number in the unit speci\214ed for the resource or one)3.319 F
 
2768
.742(of the special v)144 220.8 R(alues)-.25 E F1(hard)3.242 E F0(,)A F1
 
2769
(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w)
 
2770
C .741(hich stand for the current hard limit, the current)-3.241 F .78
 
2771
(soft limit, and no limit, respecti)144 232.8 R -.15(ve)-.25 G(ly).15 E
 
2772
5.78(.I)-.65 G(f)-5.78 E F2(limit)3.37 E F0 .78
 
2773
(is omitted, the current v)3.96 F .78(alue of the soft limit of the)-.25
 
2774
F .499(resource is printed, unless the)144 244.8 R F1<ad48>2.999 E F0
 
2775
.499(option is gi)2.999 F -.15(ve)-.25 G 2.999(n. When).15 F .498
 
2776
(more than one resource is speci\214ed, the)2.999 F
 
2777
(limit name and unit are printed before the v)144 256.8 Q 2.5
 
2778
(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F1
 
2779
<ad61>144 268.8 Q F0(All current limits are reported)25.3 E F1<ad62>144
 
2780
280.8 Q F0(The maximum sock)24.74 E(et b)-.1 E(uf)-.2 E(fer size)-.25 E
 
2781
F1<ad63>144 292.8 Q F0(The maximum size of core \214les created)25.86 E
 
2782
F1<ad64>144 304.8 Q F0(The maximum size of a process')24.74 E 2.5(sd)
 
2783
-.55 G(ata se)-2.5 E(gment)-.15 E F1<ad65>144 316.8 Q F0
 
2784
(The maximum scheduling priority \("nice"\))25.86 E F1<ad66>144 328.8 Q
 
2785
F0(The maximum size of \214les written by the shell and its children)
 
2786
26.97 E F1<ad69>144 340.8 Q F0(The maximum number of pending signals)
 
2787
27.52 E F1<ad6c>144 352.8 Q F0(The maximum size that may be lock)27.52 E
 
2788
(ed into memory)-.1 E F1<ad6d>144 364.8 Q F0
 
2789
(The maximum resident set size \(man)21.97 E 2.5(ys)-.15 G
 
2790
(ystems do not honor this limit\))-2.5 E F1<ad6e>144 376.8 Q F0 .791(Th\
 
2791
e maximum number of open \214le descriptors \(most systems do not allo)
 
2792
24.74 F 3.291(wt)-.25 G .791(his v)-3.291 F .791(alue to)-.25 F
 
2793
(be set\))180 388.8 Q F1<ad70>144 400.8 Q F0
 
2794
(The pipe size in 512-byte blocks \(this may not be set\))24.74 E F1
 
2795
<ad71>144 412.8 Q F0
 
2796
(The maximum number of bytes in POSIX message queues)24.74 E F1<ad72>144
 
2797
424.8 Q F0(The maximum real-time scheduling priority)25.86 E F1<ad73>144
 
2798
436.8 Q F0(The maximum stack size)26.41 E F1<ad74>144 448.8 Q F0
 
2799
(The maximum amount of cpu time in seconds)26.97 E F1<ad75>144 460.8 Q
 
2800
F0(The maximum number of processes a)24.74 E -.25(va)-.2 G
 
2801
(ilable to a single user).25 E F1<ad76>144 472.8 Q F0 .47
 
2802
(The maximum amount of virtual memory a)25.3 F -.25(va)-.2 G .47
 
2803
(ilable to the shell and, on some systems, to).25 F(its children)180
 
2804
484.8 Q F1<ad78>144 496.8 Q F0(The maximum number of \214le locks)25.3 E
 
2805
F1<ad54>144 508.8 Q F0(The maximum number of threads)23.63 E(If)144
 
2806
525.6 Q F2(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve)-.25 G .468
 
2807
(n, and the).15 F F1<ad61>2.968 E F0 .468(option is not used,)2.968 F F2
 
2808
(limit)2.968 E F0 .468(is the ne)2.968 F 2.968(wv)-.25 G .468
 
2809
(alue of the speci\214ed resource.)-3.218 F(If)5.468 E .045
 
2810
(no option is gi)144 537.6 R -.15(ve)-.25 G .045(n, then).15 F F1<ad66>
 
2811
2.545 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045
 
2812
(lues are in 1024-byte increments, e)1.11 F .044(xcept for)-.15 F F1
 
2813
<ad74>2.544 E F0 2.544(,w)C .044(hich is)-2.544 F .402(in seconds;)144
 
2814
549.6 R F1<ad70>2.902 E F0 2.902(,w)C .402
 
2815
(hich is in units of 512-byte blocks; and)-2.902 F F1<ad54>2.902 E F0(,)
 
2816
A F1<ad62>2.902 E F0(,)A F1<ad6e>2.902 E F0 2.902(,a)C(nd)-2.902 E F1
 
2817
<ad75>2.903 E F0 2.903(,w)C .403(hich are unscaled)-2.903 F -.25(va)144
 
2818
561.6 S 3.083(lues. The).25 F .583(return status is 0 unless an in)3.083
 
2819
F -.25(va)-.4 G .583(lid option or ar).25 F .583
 
2820
(gument is supplied, or an error occurs)-.18 F(while setting a ne)144
 
2821
573.6 Q 2.5(wl)-.25 G(imit.)-2.5 E F1(umask)108 590.4 Q F0([)2.5 E F1
 
2822
<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .2
 
2823
(The user \214le-creation mask is set to)144 602.4 R F2(mode)2.7 E F0
 
2824
5.2(.I).18 G(f)-5.2 E F2(mode)3.08 E F0(be)2.88 E .2
 
2825
(gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\
 
2826
therwise it is interpreted as a symbolic mode mask similar to that acce\
 
2827
pted by)144 614.4 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144
 
2828
626.4 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382
 
2829
(alue of the mask is printed.)-.25 F(The)5.382 E F1<ad53>2.882 E F0 .382
 
2830
(option causes the mask to be)2.882 F .547
 
2831
(printed in symbolic form; the def)144 638.4 R .547
 
2832
(ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G
 
2833
(he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F F2
 
2834
(mode)144.38 650.4 Q F0 .551
 
2835
(is omitted, the output is in a form that may be reused as input.)3.231
 
2836
F .552(The return status is 0 if the)5.552 F(mode w)144 662.4 Q
 
2837
(as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E
 
2838
(gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1
 
2839
(unalias)108 679.2 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0
 
2840
(...])2.5 E(Remo)144 691.2 Q 1.955 -.15(ve e)-.15 H(ach).15 E F2(name)
 
2841
4.155 E F0 1.655(from the list of de\214ned aliases.)4.155 F(If)6.655 E
 
2842
F1<ad61>4.155 E F0 1.655(is supplied, all alias de\214nitions are)4.155
 
2843
F(remo)144 703.2 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E
 
2844
(alue is true unless a supplied)-.25 E F2(name)2.86 E F0
 
2845
(is not a de\214ned alias.)2.68 E(GNU Bash-4.2)72 768 Q(2004 Apr 20)
 
2846
148.735 E(22)198.725 E 0 Cg EP
 
2847
%%Page: 23 23
 
2848
%%BeginPageSetup
 
2849
BP
 
2850
%%EndPageSetup
 
2851
/F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 290.48
 
2852
(TINS\(1\) B)-.92 F(ASH_B)-.35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10
 
2853
/Times-Bold@0 SF(unset)108 84 Q F0<5bad>2.5 E F1(fv)A F0 2.5(][)C<ad>
 
2854
-2.5 E F1(n)A F0 2.5(][)C/F2 10/Times-Italic@0 SF(name)-2.5 E F0(...])
 
2855
2.5 E -.15(Fo)144 96 S 3.827(re).15 G(ach)-3.827 E F2(name)3.827 E F0
 
2856
3.827(,r).18 G(emo)-3.827 E 1.627 -.15(ve t)-.15 H 1.327
 
2857
(he corresponding v).15 F 1.327(ariable or function.)-.25 F 1.327
 
2858
(If the)6.327 F F1<ad76>3.828 E F0 1.328(option is gi)3.828 F -.15(ve)
 
2859
-.25 G 1.328(n, each).15 F F2(name)144.36 108 Q F0 1.551
 
2860
(refers to a shell v)4.231 F 1.551(ariable, and that v)-.25 F 1.551
 
2861
(ariable is remo)-.25 F -.15(ve)-.15 G 4.05(d. Read-only).15 F -.25(va)
 
2862
4.05 G 1.55(riables may not be).25 F 4.641(unset. If)144 120 R F1<ad66>
 
2863
4.641 E F0 2.141(is speci\214ed, each)4.641 F F2(name)5.001 E F0 2.141
 
2864
(refers to a shell function, and the function de\214nition is)4.821 F
 
2865
(remo)144 132 Q -.15(ve)-.15 G 2.538(d. If).15 F(the)2.537 E F1<ad6e>
 
2866
2.537 E F0 .037(option is supplied, and)2.537 F F2(name)2.537 E F0 .037
 
2867
(is a v)2.537 F .037(ariable with the)-.25 F F2(namer)2.537 E(ef)-.37 E
 
2868
F0(attrib)2.537 E(ute,)-.2 E F2(name)2.537 E F0(will)2.537 E .492
 
2869
(be unset rather than the v)144 144 R .492(ariable it references.)-.25 F
 
2870
F1<ad6e>5.492 E F0 .492(has no ef)2.992 F .492(fect if the)-.25 F F1
 
2871
<ad66>2.992 E F0 .492(option is supplied.)2.992 F .493(If no)5.493 F
 
2872
.221(options are supplied, each)144 156 R F2(name)2.721 E F0 .221
 
2873
(refers to a v)2.721 F .22(ariable; if there is no v)-.25 F .22
 
2874
(ariable by that name, an)-.25 F 2.72(yf)-.15 G(unc-)-2.72 E 1.188
 
2875
(tion with that name is unset.)144 168 R 1.189(Each unset v)6.189 F
 
2876
1.189(ariable or function is remo)-.25 F -.15(ve)-.15 G 3.689(df).15 G
 
2877
1.189(rom the en)-3.689 F(vironment)-.4 E 3.206
 
2878
(passed to subsequent commands.)144 180 R 3.206(If an)8.206 F 5.706(yo)
 
2879
-.15 G(f)-5.706 E/F3 9/Times-Bold@0 SF(COMP_W)5.706 E(ORDBREAKS)-.09 E
 
2880
/F4 9/Times-Roman@0 SF(,)A F3(RANDOM)5.455 E F4(,)A F3(SECONDS)5.455 E
 
2881
F4(,)A F3(LINENO)144 192 Q F4(,)A F3(HISTCMD)4.347 E F4(,)A F3(FUNCN)
 
2882
4.347 E(AME)-.18 E F4(,)A F3(GR)4.347 E(OUPS)-.27 E F4(,)A F0(or)4.348 E
 
2883
F3(DIRST)4.598 E -.495(AC)-.81 G(K).495 E F0 2.098(are unset, the)4.348
 
2884
F 4.598(yl)-.15 G 2.098(ose their special)-4.598 F(properties, e)144 204
 
2885
Q -.15(ve)-.25 G 2.5(ni).15 G 2.5(ft)-2.5 G(he)-2.5 E 2.5(ya)-.15 G
 
2886
(re subsequently reset.)-2.5 E(The e)5 E(xit status is true unless a)
 
2887
-.15 E F2(name)2.86 E F0(is readonly)2.68 E(.)-.65 E F1(wait)108 220.8 Q
 
2888
F0([)2.5 E F1<ad6e>A F0 2.5(][)C F2 2.5(n.)-2.5 G(..)-2.5 E F0(])A -.8
 
2889
(Wa)144 232.8 S .027(it for each speci\214ed child process and return i\
 
2890
ts termination status.).8 F(Each)5.026 E F2(n)2.886 E F0 .026
 
2891
(may be a process ID)2.766 F .256
 
2892
(or a job speci\214cation; if a job spec is gi)144 244.8 R -.15(ve)-.25
 
2893
G .256(n, all processes in that job').15 F 2.756(sp)-.55 G .256
 
2894
(ipeline are w)-2.756 F .256(aited for)-.1 F 5.256(.I)-.55 G(f)-5.256 E
 
2895
F2(n)3.116 E F0 .318(is not gi)144 256.8 R -.15(ve)-.25 G .318
 
2896
(n, all currently acti).15 F .618 -.15(ve c)-.25 H .318
 
2897
(hild processes are w).15 F .318(aited for)-.1 F 2.818(,a)-.4 G .318
 
2898
(nd the return status is zero.)-2.818 F .317(If the)5.317 F F1<ad6e>144
 
2899
268.8 Q F0 .361(option is supplied,)2.861 F F1(wait)2.861 E F0 -.1(wa)
 
2900
2.861 G .361(its for an).1 F 2.862(yj)-.15 G .362
 
2901
(ob to terminate and returns its e)-2.862 F .362(xit status.)-.15 F(If)
 
2902
5.362 E F2(n)3.222 E F0(speci\214es)3.102 E 2.596(an)144 280.8 S(on-e)
 
2903
-2.596 E .096(xistent process or job, the return status is 127.)-.15 F
 
2904
.095(Otherwise, the return status is the e)5.095 F .095(xit status)-.15
 
2905
F(of the last process or job w)144 292.8 Q(aited for)-.1 E(.)-.55 E/F5
 
2906
10.95/Times-Bold@0 SF(SEE ALSO)72 309.6 Q F0(bash\(1\), sh\(1\))108
 
2907
321.6 Q(GNU Bash-4.2)72 768 Q(2004 Apr 20)148.735 E(23)198.725 E 0 Cg EP
 
2908
%%Trailer
 
2909
end
 
2910
%%EOF