]> git.ipfire.org Git - thirdparty/bash.git/blame - doc/rbash.ps
bash-5.1 distribution sources and documentation
[thirdparty/bash.git] / doc / rbash.ps
CommitLineData
17345e5a 1%!PS-Adobe-3.0
8868edaf
CR
2%%Creator: groff version 1.22.4
3%%CreationDate: Wed Nov 18 15:13:06 2020
17345e5a
JA
4%%DocumentNeededResources: font Times-Roman
5%%+ font Times-Bold
8868edaf 6%%DocumentSuppliedResources: procset grops 1.22 4
17345e5a
JA
7%%Pages: 1
8%%PageOrder: Ascend
ac50fbac 9%%DocumentMedia: Default 612 792 0 () ()
17345e5a
JA
10%%Orientation: Portrait
11%%EndComments
12%%BeginDefaults
13%%PageMedia: Default
14%%EndDefaults
15%%BeginProlog
8868edaf 16%%BeginResource: procset grops 1.22 4
17345e5a
JA
17%!PS-Adobe-3.0 Resource-ProcSet
18/setpacking where{
19pop
20currentpacking
21true setpacking
22}if
23/grops 120 dict dup begin
24/SC 32 def
25/A/show load def
26/B{0 SC 3 -1 roll widthshow}bind def
27/C{0 exch ashow}bind def
28/D{0 exch 0 SC 5 2 roll awidthshow}bind def
29/E{0 rmoveto show}bind def
30/F{0 rmoveto 0 SC 3 -1 roll widthshow}bind def
31/G{0 rmoveto 0 exch ashow}bind def
32/H{0 rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
33/I{0 exch rmoveto show}bind def
34/J{0 exch rmoveto 0 SC 3 -1 roll widthshow}bind def
35/K{0 exch rmoveto 0 exch ashow}bind def
36/L{0 exch rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
37/M{rmoveto show}bind def
38/N{rmoveto 0 SC 3 -1 roll widthshow}bind def
39/O{rmoveto 0 exch ashow}bind def
40/P{rmoveto 0 exch 0 SC 5 2 roll awidthshow}bind def
41/Q{moveto show}bind def
42/R{moveto 0 SC 3 -1 roll widthshow}bind def
43/S{moveto 0 exch ashow}bind def
44/T{moveto 0 exch 0 SC 5 2 roll awidthshow}bind def
45/SF{
46findfont exch
47[exch dup 0 exch 0 exch neg 0 0]makefont
48dup setfont
49[exch/setfont cvx]cvx bind def
50}bind def
51/MF{
52findfont
53[5 2 roll
540 3 1 roll
55neg 0 0]makefont
56dup setfont
57[exch/setfont cvx]cvx bind def
58}bind def
59/level0 0 def
60/RES 0 def
61/PL 0 def
62/LS 0 def
63/MANUAL{
64statusdict begin/manualfeed true store end
65}bind def
66/PLG{
67gsave newpath clippath pathbbox grestore
68exch pop add exch pop
69}bind def
70/BP{
71/level0 save def
721 setlinecap
731 setlinejoin
a0c0a00f 74DEFS/BPhook known{DEFS begin BPhook end}if
17345e5a
JA
7572 RES div dup scale
76LS{
7790 rotate
78}{
790 PL translate
80}ifelse
811 -1 scale
82}bind def
83/EP{
84level0 restore
85showpage
86}def
87/DA{
88newpath arcn stroke
89}bind def
90/SN{
91transform
92.25 sub exch .25 sub exch
93round .25 add exch round .25 add exch
94itransform
95}bind def
96/DL{
97SN
98moveto
99SN
100lineto stroke
101}bind def
102/DC{
103newpath 0 360 arc closepath
104}bind def
105/TM matrix def
106/DE{
107TM currentmatrix pop
108translate scale newpath 0 0 .5 0 360 arc closepath
109TM setmatrix
110}bind def
111/RC/rcurveto load def
112/RL/rlineto load def
113/ST/stroke load def
114/MT/moveto load def
115/CL/closepath load def
116/Fr{
117setrgbcolor fill
118}bind def
119/setcmykcolor where{
120pop
121/Fk{
122setcmykcolor fill
123}bind def
124}if
125/Fg{
126setgray fill
127}bind def
128/FL/fill load def
129/LW/setlinewidth load def
130/Cr/setrgbcolor load def
131/setcmykcolor where{
132pop
133/Ck/setcmykcolor load def
134}if
135/Cg/setgray load def
136/RE{
137findfont
138dup maxlength 1 index/FontName known not{1 add}if dict begin
139{
a0c0a00f
CR
1401 index/FID ne
1412 index/UniqueID ne
142and
143{def}{pop pop}ifelse
17345e5a
JA
144}forall
145/Encoding exch def
146dup/FontName exch def
147currentdict end definefont pop
148}bind def
149/DEFS 0 def
150/EBEGIN{
151moveto
152DEFS begin
153}bind def
154/EEND/end load def
155/CNT 0 def
156/level1 0 def
157/PBEGIN{
158/level1 save def
159translate
160div 3 1 roll div exch scale
161neg exch neg exch translate
1620 setgray
1630 setlinecap
1641 setlinewidth
1650 setlinejoin
16610 setmiterlimit
167[]0 setdash
168/setstrokeadjust where{
169pop
170false setstrokeadjust
171}if
172/setoverprint where{
173pop
174false setoverprint
175}if
176newpath
177/CNT countdictstack def
178userdict begin
179/showpage{}def
180/setpagedevice{}def
a0c0a00f 181mark
17345e5a
JA
182}bind def
183/PEND{
a0c0a00f 184cleartomark
17345e5a
JA
185countdictstack CNT sub{end}repeat
186level1 restore
187}bind def
188end def
189/setpacking where{
190pop
191setpacking
192}if
193%%EndResource
194%%EndProlog
195%%BeginSetup
196%%BeginFeature: *PageSize Default
ac50fbac 197<< /PageSize [ 612 792 ] /ImagingBBox null >> setpagedevice
17345e5a
JA
198%%EndFeature
199%%IncludeResource: font Times-Roman
200%%IncludeResource: font Times-Bold
201grops begin/DEFS 1 dict def DEFS begin/u{.001 mul}bind def end/RES 72
ac50fbac
CR
202def/PL 792 def/LS false def/ENC0[/asciicircum/asciitilde/Scaron/Zcaron
203/scaron/zcaron/Ydieresis/trademark/quotesingle/Euro/.notdef/.notdef
17345e5a
JA
204/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
205/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
ac50fbac 206/.notdef/.notdef/space/exclam/quotedbl/numbersign/dollar/percent
17345e5a
JA
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/Times-Bold@0 ENC0/Times-Bold RE/Times-Roman@0 ENC0/Times-Roman RE
230%%EndSetup
231%%Page: 1 1
232%%BeginPageSetup
233BP
234%%EndPageSetup
a0c0a00f
CR
235/F0 10/Times-Roman@0 SF(RB)72 48 Q 130.47(ASH\(1\) General)-.35 F
236(Commands Manual)2.5 E(RB)132.97 E(ASH\(1\))-.35 E/F1 10.95/Times-Bold@0
237SF -.219(NA)72 84 S(ME).219 E F0(rbash \255 restricted bash, see)108 96
238Q/F2 10/Times-Bold@0 SF(bash)2.5 E F0(\(1\))A F1(RESTRICTED SHELL)72
8868edaf
CR
239112.8 Q F0(If)108 124.8 Q F2(bash)3.582 E F0 1.081
240(is started with the name)3.581 F F2(rbash)3.581 E F0 3.581(,o)C 3.581
241(rt)-3.581 G(he)-3.581 E F2<ad72>3.581 E F0 1.081
242(option is supplied at in)3.581 F -.2(vo)-.4 G 1.081
243(cation, the shell becomes re-).2 F 2.976(stricted. A)108 136.8 R .476
244(restricted shell is used to set up an en)2.976 F .476
245(vironment more controlled than the standard shell.)-.4 F .477(It be-)
2465.477 F(ha)108 148.8 Q -.15(ve)-.2 G 2.5(si).15 G(dentically to)-2.5 E
247F2(bash)2.5 E F0(with the e)2.5 E(xception that the follo)-.15 E
a0c0a00f
CR
248(wing are disallo)-.25 E(wed or not performed:)-.25 E<83>108 165.6 Q
249(changing directories with)144 165.6 Q F2(cd)2.5 E F0<83>108 182.4 Q
250(setting or unsetting the v)144 182.4 Q(alues of)-.25 E/F3 9
0001803f 251/Times-Bold@0 SF(SHELL)2.5 E/F4 9/Times-Roman@0 SF(,)A F3 -.666(PA)2.25
8868edaf
CR
252G(TH)-.189 E F4(,)A F3(HISTFILE)2.25 E F4(,)A F3(ENV)2.25 E F4(,)A F0
253(or)2.25 E F3 -.27(BA)2.5 G(SH_ENV).27 E F0<83>108 199.2 Q
254(specifying command names containing)144 199.2 Q F2(/)2.5 E F0<83>108
255216 Q(specifying a \214lename containing a)144 216 Q F2(/)2.5 E F0
256(as an ar)2.5 E(gument to the)-.18 E F2(.)2.5 E F0 -.2(bu)5 G
257(iltin command).2 E<83>108 232.8 Q
258(specifying a \214lename containing a slash as an ar)144 232.8 Q
259(gument to the)-.18 E F2(history)2.5 E F0 -.2(bu)2.5 G(iltin command).2
260E<83>108 249.6 Q .45
261(specifying a \214lename containing a slash as an ar)144 249.6 R .449
495aee44 262(gument to the)-.18 F F2<ad70>2.949 E F0 .449(option to the)2.949 F F2
8868edaf
CR
263(hash)2.949 E F0 -.2(bu)2.949 G .449(iltin com-).2 F(mand)144 261.6 Q
264<83>108 278.4 Q(importing function de\214nitions from the shell en)144
265278.4 Q(vironment at startup)-.4 E<83>108 295.2 Q(parsing the v)144
266295.2 Q(alue of)-.25 E F3(SHELLOPTS)2.5 E F0(from the shell en)2.25 E
267(vironment at startup)-.4 E<83>108 312 Q(redirecting output using the >\
268, >|, <>, >&, &>, and >> redirection operators)144 312 Q<83>108 328.8 Q
269(using the)144 328.8 Q F2(exec)2.5 E F0 -.2(bu)2.5 G
a0c0a00f 270(iltin command to replace the shell with another command).2 E<83>108
8868edaf 271345.6 Q(adding or deleting b)144 345.6 Q(uiltin commands with the)-.2 E
17345e5a 272F2<ad66>2.5 E F0(and)2.5 E F2<ad64>2.5 E F0(options to the)2.5 E F2
8868edaf
CR
273(enable)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E<83>108 362.4 Q
274(using the)144 362.4 Q F2(enable)2.5 E F0 -.2(bu)2.5 G
a0c0a00f 275(iltin command to enable disabled shell b).2 E(uiltins)-.2 E<83>108
8868edaf
CR
276379.2 Q(specifying the)144 379.2 Q F2<ad70>2.5 E F0(option to the)2.5 E
277F2(command)2.5 E F0 -.2(bu)2.5 G(iltin command).2 E<83>108 396 Q
278(turning of)144 396 Q 2.5(fr)-.25 G(estricted mode with)-2.5 E F2
a0c0a00f 279(set +r)2.5 E F0(or)2.5 E F2(set +o r)2.5 E(estricted)-.18 E F0(.)A
8868edaf 280(These restrictions are enforced after an)108 412.8 Q 2.5(ys)-.15 G
17345e5a 281(tartup \214les are read.)-2.5 E .429
8868edaf 282(When a command that is found to be a shell script is e)108 429.6 R -.15
17345e5a
JA
283(xe)-.15 G(cuted,).15 E F2(rbash)2.929 E F0 .429(turns of)2.929 F 2.929
284(fa)-.25 G .729 -.15(ny r)-2.929 H .429(estrictions in the shell).15 F
8868edaf
CR
285(spa)108 441.6 Q(wned to e)-.15 E -.15(xe)-.15 G(cute the script.).15 E
286F1(SEE ALSO)72 458.4 Q F0(bash\(1\))108 470.4 Q(GNU Bash-4.0)72 768 Q
17345e5a
JA
287(2004 Apr 20)148.735 E(1)203.725 E 0 Cg EP
288%%Trailer
289end
290%%EOF