mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-12 06:30:50 +02:00
commit bash-20041124 snapshot
This commit is contained in:
+190
-187
@@ -10,7 +10,7 @@
|
||||
%DVIPSWebPage: (www.radicaleye.com)
|
||||
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
|
||||
%DVIPSParameters: dpi=600, compressed
|
||||
%DVIPSSource: TeX output 2004.11.22:1204
|
||||
%DVIPSSource: TeX output 2004.11.24:1549
|
||||
%%BeginProcSet: texc.pro
|
||||
%!
|
||||
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
|
||||
@@ -4235,9 +4235,9 @@ b(ree)45 b(Soft)l(w)l(are)h(F)-11 b(oundation)p 150 5141
|
||||
%%Page: 2 2
|
||||
TeXDict begin 2 1 bop 150 2889 a Ft(This)35 b(text)h(is)g(a)g(brief)f
|
||||
(description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.1-dev)m(el,)d(22)e(No)m
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.1-dev)m(el,)d(24)e(No)m
|
||||
(v)m(em)m(b)s(er)h(2004\).)150 3133 y(This)38 b(is)i(Edition)f(3.1-dev)
|
||||
m(el,)44 b(last)c(up)s(dated)e(22)i(No)m(v)m(em)m(b)s(er)g(2004,)j(of)c
|
||||
m(el,)44 b(last)c(up)s(dated)e(24)i(No)m(v)m(em)m(b)s(er)g(2004,)j(of)c
|
||||
Fq(The)g(GNU)h(Bash)f(Reference)150 3243 y(Man)m(ual)p
|
||||
Ft(,)32 b(for)e Fs(Bash)p Ft(,)f(V)-8 b(ersion)31 b(3.1-dev)m(el.)150
|
||||
3377 y(Cop)m(yrigh)m(t)602 3374 y(c)577 3377 y Fp(\015)f
|
||||
@@ -7735,7 +7735,7 @@ Fs(enable)e Ft(to)i(the)f Fl(posix)g Ft(sp)s(ecial)h(builtins.)40
|
||||
b(If)27 b(`)p Fs(-s)p Ft(')i(is)f(used)g(with)g(`)p Fs(-f)p
|
||||
Ft(',)h(the)f(new)630 2136 y(builtin)i(b)s(ecomes)h(a)f(sp)s(ecial)h
|
||||
(builtin)f(\(see)i(Section)f(4.4)g([Sp)s(ecial)g(Builtins],)g(page)g
|
||||
(53\).)630 2266 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i
|
||||
(54\).)630 2266 y(The)26 b(return)f(status)h(is)g(zero)h(unless)e(a)i
|
||||
Fq(name)k Ft(is)26 b(not)g(a)h(shell)f(builtin)g(or)g(there)g(is)g(an)g
|
||||
(error)630 2376 y(loading)31 b(a)g(new)f(builtin)g(from)g(a)g(shared)g
|
||||
(ob)5 b(ject.)150 2527 y Fs(help)870 2658 y(help)47 b([-s])f([)p
|
||||
@@ -8171,261 +8171,264 @@ p eop end
|
||||
TeXDict begin 50 55 bop 150 -116 a Ft(50)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)630 299 y Fs(-u)384 b Ft(The)30
|
||||
b(maxim)m(um)g(n)m(um)m(b)s(er)f(of)i(pro)s(cesses)f(a)m(v)-5
|
||||
b(ailable)33 b(to)e(a)f(single)i(user.)630 458 y Fs(-v)384
|
||||
b(ailable)33 b(to)e(a)f(single)i(user.)630 461 y Fs(-v)384
|
||||
b Ft(The)29 b(maxim)m(um)h(amoun)m(t)g(of)g(virtual)g(memory)g(a)m(v)-5
|
||||
b(ailable)32 b(to)e(the)g(pro)s(cess.)630 617 y(If)j
|
||||
b(ailable)32 b(to)e(the)g(pro)s(cess.)630 624 y(If)j
|
||||
Fq(limit)j Ft(is)e(giv)m(en,)h(it)f(is)g(the)g(new)f(v)-5
|
||||
b(alue)34 b(of)f(the)h(sp)s(eci\014ed)f(resource;)i(the)f(sp)s(ecial)g
|
||||
Fq(limit)630 727 y Ft(v)-5 b(alues)27 b Fs(hard)p Ft(,)g
|
||||
Fq(limit)630 733 y Ft(v)-5 b(alues)27 b Fs(hard)p Ft(,)g
|
||||
Fs(soft)p Ft(,)g(and)g Fs(unlimited)d Ft(stand)j(for)g(the)g(curren)m
|
||||
(t)g(hard)f(limit,)j(the)e(curren)m(t)630 836 y(soft)35
|
||||
(t)g(hard)f(limit,)j(the)e(curren)m(t)630 843 y(soft)35
|
||||
b(limit,)i(and)e(no)f(limit,)j(resp)s(ectiv)m(ely)-8
|
||||
b(.)56 b(Otherwise,)36 b(the)f(curren)m(t)g(v)-5 b(alue)35
|
||||
b(of)g(the)h(soft)630 946 y(limit)41 b(for)f(the)h(sp)s(eci\014ed)f
|
||||
b(of)g(the)h(soft)630 953 y(limit)41 b(for)f(the)h(sp)s(eci\014ed)f
|
||||
(resource)h(is)f(prin)m(ted,)j(unless)d(the)g(`)p Fs(-H)p
|
||||
Ft(')h(option)f(is)h(supplied.)630 1056 y(When)29 b(setting)h(new)e
|
||||
Ft(')h(option)f(is)h(supplied.)630 1062 y(When)29 b(setting)h(new)e
|
||||
(limits,)i(if)f(neither)g(`)p Fs(-H)p Ft(')f(nor)h(`)p
|
||||
Fs(-S)p Ft(')f(is)h(supplied,)g(b)s(oth)f(the)h(hard)f(and)630
|
||||
1165 y(soft)37 b(limits)g(are)g(set.)60 b(If)36 b(no)g(option)h(is)g
|
||||
1172 y(soft)37 b(limits)g(are)g(set.)60 b(If)36 b(no)g(option)h(is)g
|
||||
(giv)m(en,)i(then)d(`)p Fs(-f)p Ft(')h(is)f(assumed.)59
|
||||
b(V)-8 b(alues)37 b(are)g(in)630 1275 y(1024-b)m(yte)27
|
||||
b(V)-8 b(alues)37 b(are)g(in)630 1281 y(1024-b)m(yte)27
|
||||
b(incremen)m(ts,)g(except)e(for)f(`)p Fs(-t)p Ft(',)i(whic)m(h)e(is)h
|
||||
(in)f(seconds,)i(`)p Fs(-p)p Ft(',)g(whic)m(h)e(is)g(in)h(units)630
|
||||
1384 y(of)31 b(512-b)m(yte)h(blo)s(c)m(ks,)f(and)f(`)p
|
||||
1391 y(of)31 b(512-b)m(yte)h(blo)s(c)m(ks,)f(and)f(`)p
|
||||
Fs(-n)p Ft(')g(and)g(`)p Fs(-u)p Ft(',)h(whic)m(h)f(are)g(unscaled)h(v)
|
||||
-5 b(alues.)630 1519 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e
|
||||
-5 b(alues.)630 1527 y(The)34 b(return)g(status)h(is)f(zero)i(unless)e
|
||||
(an)g(in)m(v)-5 b(alid)36 b(option)f(or)f(argumen)m(t)i(is)e(supplied,)
|
||||
h(or)630 1628 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f
|
||||
(limit.)150 1787 y Fs(unalias)870 1922 y(unalias)46 b([-a])g([)p
|
||||
Fj(name)57 b Fs(...)47 b(])630 2056 y Ft(Remo)m(v)m(e)39
|
||||
h(or)630 1637 y(an)30 b(error)g(o)s(ccurs)g(while)h(setting)g(a)g(new)f
|
||||
(limit.)150 1799 y Fs(unalias)870 1935 y(unalias)46 b([-a])g([)p
|
||||
Fj(name)57 b Fs(...)47 b(])630 2071 y Ft(Remo)m(v)m(e)39
|
||||
b(eac)m(h)f Fq(name)k Ft(from)36 b(the)h(list)h(of)f(aliases.)61
|
||||
b(If)36 b(`)p Fs(-a)p Ft(')h(is)g(supplied,)h(all)f(aliases)i(are)630
|
||||
2166 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section)
|
||||
i(6.6)f([Aliases],)h(page)f(71.)150 2423 y Fr(4.3)68
|
||||
b(The)45 b(Set)g(Builtin)275 2667 y Ft(This)29 b(builtin)h(is)g(so)h
|
||||
2181 y(remo)m(v)m(ed.)j(Aliases)31 b(are)g(describ)s(ed)e(in)h(Section)
|
||||
i(6.6)f([Aliases],)h(page)f(71.)150 2446 y Fr(4.3)68
|
||||
b(The)45 b(Set)g(Builtin)275 2693 y Ft(This)29 b(builtin)h(is)g(so)h
|
||||
(complicated)h(that)f(it)g(deserv)m(es)g(its)g(o)m(wn)f(section.)150
|
||||
2826 y Fs(set)870 2960 y(set)47 b([--abefhkmnptuvxBCHP])42
|
||||
2857 y Fs(set)870 2993 y(set)47 b([--abefhkmnptuvxBCHP])42
|
||||
b([-o)47 b Fj(option)11 b Fs(])45 b([)p Fj(argument)56
|
||||
b Fs(...)o(])630 3095 y Ft(If)31 b(no)h(options)h(or)e(argumen)m(ts)i
|
||||
(are)f(supplied,)f Fs(set)g Ft(displa)m(ys)h(the)g(names)g(and)g(v)-5
|
||||
b(alues)32 b(of)630 3204 y(all)41 b(shell)f(v)-5 b(ariables)40
|
||||
b(and)f(functions,)j(sorted)e(according)g(to)h(the)f(curren)m(t)f(lo)s
|
||||
(cale,)44 b(in)c(a)630 3314 y(format)31 b(that)g(ma)m(y)g(b)s(e)e
|
||||
(reused)h(as)h(input.)630 3448 y(When)e(options)g(are)g(supplied,)f
|
||||
(they)h(set)h(or)f(unset)f(shell)h(attributes.)41 b(Options,)29
|
||||
b(if)g(sp)s(ec-)630 3558 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i
|
||||
(meanings:)630 3717 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33
|
||||
b(and)e(function)h(whic)m(h)g(are)g(mo)s(di\014ed)f(or)h(created)h(for)
|
||||
f(ex-)1110 3827 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g
|
||||
(subsequen)m(t)f(commands.)630 3986 y Fs(-b)384 b Ft(Cause)44
|
||||
b(the)h(status)g(of)f(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f
|
||||
(rep)s(orted)1110 4095 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s
|
||||
(efore)h(prin)m(ting)g(the)g(next)g(primary)g(prompt.)630
|
||||
4255 y Fs(-e)384 b Ft(Exit)37 b(immediately)h(if)e(a)h(simple)f
|
||||
(command)g(\(see)i(Section)f(3.2.1)h([Simple)1110 4364
|
||||
y(Commands],)31 b(page)i(8\))f(exits)g(with)g(a)g(non-zero)g(status,)g
|
||||
(unless)f(the)h(com-)1110 4474 y(mand)f(that)h(fails)h(is)f(part)f(of)h
|
||||
(the)g(command)g(list)g(immediately)h(follo)m(wing)1110
|
||||
4583 y(a)41 b Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d
|
||||
(of)g(the)h(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110
|
||||
4693 y(part)33 b(of)h(a)g Fs(&&)f Ft(or)g Fs(||)g Ft(list,)i(or)e(if)h
|
||||
(the)f(command's)h(return)e(status)i(is)f(b)s(eing)1110
|
||||
4802 y(in)m(v)m(erted)e(using)e Fs(!)p Ft(.)40 b(A)30
|
||||
b(trap)f(on)h Fs(ERR)p Ft(,)f(if)h(set,)g(is)g(executed)h(b)s(efore)e
|
||||
(the)h(shell)1110 4912 y(exits.)630 5071 y Fs(-f)384
|
||||
b Ft(Disable)31 b(\014le)g(name)f(generation)i(\(globbing\).)630
|
||||
5230 y Fs(-h)384 b Ft(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g
|
||||
(commands)f(as)h(they)g(are)g(lo)s(ok)m(ed)h(up)e(for)1110
|
||||
5340 y(execution.)42 b(This)29 b(option)i(is)g(enabled)f(b)m(y)g
|
||||
(default.)p eop end
|
||||
b Fs(...)o(])630 3129 y Ft(If)22 b(no)h(options)g(or)g(argumen)m(ts)g
|
||||
(are)g(supplied,)g Fs(set)f Ft(displa)m(ys)g(the)h(names)g(and)f(v)-5
|
||||
b(alues)23 b(of)g(all)630 3239 y(shell)j(v)-5 b(ariables)27
|
||||
b(and)e(functions,)h(sorted)g(according)h(to)g(the)f(curren)m(t)f(lo)s
|
||||
(cale,)k(in)c(a)i(format)630 3348 y(that)i(ma)m(y)h(b)s(e)e(reused)g
|
||||
(as)h(input)f(for)h(setting)h(or)e(resetting)i(the)f(curren)m(tly-set)h
|
||||
(v)-5 b(ariables.)630 3458 y(Read-only)37 b(v)-5 b(ariables)37
|
||||
b(cannot)h(b)s(e)e(reset.)59 b(In)36 b Fl(posix)g Ft(mo)s(de,)i(only)f
|
||||
(shell)f(v)-5 b(ariables)38 b(are)630 3568 y(listed.)630
|
||||
3704 y(When)29 b(options)g(are)g(supplied,)f(they)h(set)h(or)f(unset)f
|
||||
(shell)h(attributes.)41 b(Options,)29 b(if)g(sp)s(ec-)630
|
||||
3813 y(i\014ed,)h(ha)m(v)m(e)i(the)e(follo)m(wing)i(meanings:)630
|
||||
3976 y Fs(-a)384 b Ft(Mark)32 b(v)-5 b(ariables)33 b(and)e(function)h
|
||||
(whic)m(h)g(are)g(mo)s(di\014ed)f(or)h(created)h(for)f(ex-)1110
|
||||
4085 y(p)s(ort)e(to)h(the)f(en)m(vironmen)m(t)h(of)g(subsequen)m(t)f
|
||||
(commands.)630 4248 y Fs(-b)384 b Ft(Cause)44 b(the)h(status)g(of)f
|
||||
(terminated)h(bac)m(kground)g(jobs)f(to)h(b)s(e)f(rep)s(orted)1110
|
||||
4357 y(immediately)-8 b(,)30 b(rather)d(than)f(b)s(efore)h(prin)m(ting)
|
||||
g(the)g(next)g(primary)g(prompt.)630 4520 y Fs(-e)384
|
||||
b Ft(Exit)37 b(immediately)h(if)e(a)h(simple)f(command)g(\(see)i
|
||||
(Section)f(3.2.1)h([Simple)1110 4630 y(Commands],)31
|
||||
b(page)i(8\))f(exits)g(with)g(a)g(non-zero)g(status,)g(unless)f(the)h
|
||||
(com-)1110 4739 y(mand)f(that)h(fails)h(is)f(part)f(of)h(the)g(command)
|
||||
g(list)g(immediately)h(follo)m(wing)1110 4849 y(a)41
|
||||
b Fs(while)d Ft(or)j Fs(until)e Ft(k)m(eyw)m(ord,)k(part)d(of)g(the)h
|
||||
(test)g(in)f(an)g Fs(if)g Ft(statemen)m(t,)1110 4958
|
||||
y(part)33 b(of)h(a)g Fs(&&)f Ft(or)g Fs(||)g Ft(list,)i(or)e(if)h(the)f
|
||||
(command's)h(return)e(status)i(is)f(b)s(eing)1110 5068
|
||||
y(in)m(v)m(erted)e(using)e Fs(!)p Ft(.)40 b(A)30 b(trap)f(on)h
|
||||
Fs(ERR)p Ft(,)f(if)h(set,)g(is)g(executed)h(b)s(efore)e(the)h(shell)
|
||||
1110 5177 y(exits.)630 5340 y Fs(-f)384 b Ft(Disable)31
|
||||
b(\014le)g(name)f(generation)i(\(globbing\).)p eop end
|
||||
%%Page: 51 57
|
||||
TeXDict begin 51 56 bop 150 -116 a Ft(Chapter)30 b(4:)41
|
||||
b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y Fs(-k)384
|
||||
b Ft(All)34 b(argumen)m(ts)g(in)f(the)h(form)f(of)g(assignmen)m(t)h
|
||||
(statemen)m(ts)i(are)d(placed)h(in)1110 408 y(the)k(en)m(vironmen)m(t)g
|
||||
(for)g(a)g(command,)h(not)f(just)f(those)i(that)f(precede)g(the)1110
|
||||
518 y(command)30 b(name.)630 677 y Fs(-m)384 b Ft(Job)30
|
||||
b(con)m(trol)i(is)e(enabled)h(\(see)g(Chapter)f(7)g([Job)h(Con)m
|
||||
(trol],)g(page)g(81\).)630 837 y Fs(-n)384 b Ft(Read)21
|
||||
b(commands)f(but)g(do)h(not)g(execute)h(them;)i(this)d(ma)m(y)g(b)s(e)f
|
||||
(used)g(to)h(c)m(hec)m(k)1110 946 y(a)42 b(script)g(for)g(syn)m(tax)g
|
||||
(errors.)75 b(This)41 b(option)h(is)g(ignored)g(b)m(y)g(in)m(teractiv)m
|
||||
(e)1110 1056 y(shells.)630 1215 y Fs(-o)30 b Fj(option-name)1110
|
||||
1325 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i
|
||||
Fq(option-name)5 b Ft(:)1110 1484 y Fs(allexport)1590
|
||||
1594 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 1753 y Fs(braceexpand)1590
|
||||
1863 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 2022 y Fs(emacs)240
|
||||
b(Shell)30 b(Builtin)h(Commands)2069 b(51)630 299 y Fs(-h)384
|
||||
b Ft(Lo)s(cate)33 b(and)e(remem)m(b)s(er)h(\(hash\))g(commands)f(as)h
|
||||
(they)g(are)g(lo)s(ok)m(ed)h(up)e(for)1110 408 y(execution.)42
|
||||
b(This)29 b(option)i(is)g(enabled)f(b)m(y)g(default.)630
|
||||
570 y Fs(-k)384 b Ft(All)34 b(argumen)m(ts)g(in)f(the)h(form)f(of)g
|
||||
(assignmen)m(t)h(statemen)m(ts)i(are)d(placed)h(in)1110
|
||||
680 y(the)k(en)m(vironmen)m(t)g(for)g(a)g(command,)h(not)f(just)f
|
||||
(those)i(that)f(precede)g(the)1110 789 y(command)30 b(name.)630
|
||||
951 y Fs(-m)384 b Ft(Job)30 b(con)m(trol)i(is)e(enabled)h(\(see)g
|
||||
(Chapter)f(7)g([Job)h(Con)m(trol],)g(page)g(81\).)630
|
||||
1113 y Fs(-n)384 b Ft(Read)21 b(commands)f(but)g(do)h(not)g(execute)h
|
||||
(them;)i(this)d(ma)m(y)g(b)s(e)f(used)g(to)h(c)m(hec)m(k)1110
|
||||
1223 y(a)42 b(script)g(for)g(syn)m(tax)g(errors.)75 b(This)41
|
||||
b(option)h(is)g(ignored)g(b)m(y)g(in)m(teractiv)m(e)1110
|
||||
1332 y(shells.)630 1494 y Fs(-o)30 b Fj(option-name)1110
|
||||
1604 y Ft(Set)h(the)f(option)h(corresp)s(onding)e(to)i
|
||||
Fq(option-name)5 b Ft(:)1110 1765 y Fs(allexport)1590
|
||||
1875 y Ft(Same)30 b(as)h Fs(-a)p Ft(.)1110 2037 y Fs(braceexpand)1590
|
||||
2146 y Ft(Same)f(as)h Fs(-B)p Ft(.)1110 2308 y Fs(emacs)240
|
||||
b Ft(Use)25 b(an)f Fs(emacs)p Ft(-st)m(yle)h(line)f(editing)h(in)m
|
||||
(terface)h(\(see)g(Chapter)e(8)1590 2132 y([Command)30
|
||||
b(Line)g(Editing],)h(page)g(85\).)1110 2291 y Fs(errexit)144
|
||||
b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 2451 y Fs(errtrace)96
|
||||
b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 2610 y Fs(functrace)1590
|
||||
2720 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 2879 y Fs(hashall)144
|
||||
b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 3039 y Fs(histexpand)1590
|
||||
3148 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 3308 y Fs(history)144
|
||||
(terface)h(\(see)g(Chapter)e(8)1590 2418 y([Command)30
|
||||
b(Line)g(Editing],)h(page)g(85\).)1110 2579 y Fs(errexit)144
|
||||
b Ft(Same)30 b(as)h Fs(-e)p Ft(.)1110 2741 y Fs(errtrace)96
|
||||
b Ft(Same)30 b(as)h Fs(-E)p Ft(.)1110 2903 y Fs(functrace)1590
|
||||
3013 y Ft(Same)f(as)h Fs(-T)p Ft(.)1110 3174 y Fs(hashall)144
|
||||
b Ft(Same)30 b(as)h Fs(-h)p Ft(.)1110 3336 y Fs(histexpand)1590
|
||||
3446 y Ft(Same)f(as)h Fs(-H)p Ft(.)1110 3607 y Fs(history)144
|
||||
b Ft(Enable)39 b(command)g(history)-8 b(,)42 b(as)d(describ)s(ed)f(in)h
|
||||
(Section)h(9.1)1590 3417 y([Bash)d(History)g(F)-8 b(acilities],)41
|
||||
b(page)c(111.)60 b(This)36 b(option)h(is)f(on)1590 3527
|
||||
(Section)h(9.1)1590 3717 y([Bash)d(History)g(F)-8 b(acilities],)41
|
||||
b(page)c(111.)60 b(This)36 b(option)h(is)f(on)1590 3827
|
||||
y(b)m(y)30 b(default)h(in)f(in)m(teractiv)m(e)j(shells.)1110
|
||||
3686 y Fs(ignoreeof)1590 3796 y Ft(An)d(in)m(teractiv)m(e)j(shell)e
|
||||
(will)g(not)f(exit)h(up)s(on)e(reading)i(EOF.)1110 3955
|
||||
3988 y Fs(ignoreeof)1590 4098 y Ft(An)d(in)m(teractiv)m(e)j(shell)e
|
||||
(will)g(not)f(exit)h(up)s(on)e(reading)i(EOF.)1110 4260
|
||||
y Fs(keyword)144 b Ft(Same)30 b(as)h Fs(-k)p Ft(.)1110
|
||||
4115 y Fs(monitor)144 b Ft(Same)30 b(as)h Fs(-m)p Ft(.)1110
|
||||
4274 y Fs(noclobber)1590 4384 y Ft(Same)f(as)h Fs(-C)p
|
||||
Ft(.)1110 4543 y Fs(noexec)192 b Ft(Same)30 b(as)h Fs(-n)p
|
||||
Ft(.)1110 4702 y Fs(noglob)192 b Ft(Same)30 b(as)h Fs(-f)p
|
||||
Ft(.)1110 4862 y Fs(nolog)240 b Ft(Curren)m(tly)30 b(ignored.)1110
|
||||
5021 y Fs(notify)192 b Ft(Same)30 b(as)h Fs(-b)p Ft(.)1110
|
||||
5181 y Fs(nounset)144 b Ft(Same)30 b(as)h Fs(-u)p Ft(.)1110
|
||||
5340 y Fs(onecmd)192 b Ft(Same)30 b(as)h Fs(-t)p Ft(.)p
|
||||
4422 y Fs(monitor)144 b Ft(Same)30 b(as)h Fs(-m)p Ft(.)1110
|
||||
4583 y Fs(noclobber)1590 4693 y Ft(Same)f(as)h Fs(-C)p
|
||||
Ft(.)1110 4855 y Fs(noexec)192 b Ft(Same)30 b(as)h Fs(-n)p
|
||||
Ft(.)1110 5016 y Fs(noglob)192 b Ft(Same)30 b(as)h Fs(-f)p
|
||||
Ft(.)1110 5178 y Fs(nolog)240 b Ft(Curren)m(tly)30 b(ignored.)1110
|
||||
5340 y Fs(notify)192 b Ft(Same)30 b(as)h Fs(-b)p Ft(.)p
|
||||
eop end
|
||||
%%Page: 52 58
|
||||
TeXDict begin 52 57 bop 150 -116 a Ft(52)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)1110 299 y Fs(physical)96 b Ft(Same)30
|
||||
b(as)h Fs(-P)p Ft(.)1110 448 y Fs(pipefail)96 b Ft(If)44
|
||||
b(Reference)g(Man)m(ual)1110 299 y Fs(nounset)144 b Ft(Same)30
|
||||
b(as)h Fs(-u)p Ft(.)1110 452 y Fs(onecmd)192 b Ft(Same)30
|
||||
b(as)h Fs(-t)p Ft(.)1110 606 y Fs(physical)96 b Ft(Same)30
|
||||
b(as)h Fs(-P)p Ft(.)1110 759 y Fs(pipefail)96 b Ft(If)44
|
||||
b(set,)k(the)d(return)e(v)-5 b(alue)45 b(of)f(a)h(pip)s(eline)e(is)i
|
||||
(the)f(v)-5 b(alue)45 b(of)1590 557 y(the)33 b(last)h(\(righ)m(tmost\))
|
||||
h(command)e(to)h(exit)g(with)f(a)g(non-zero)1590 667
|
||||
(the)f(v)-5 b(alue)45 b(of)1590 869 y(the)33 b(last)h(\(righ)m(tmost\))
|
||||
h(command)e(to)h(exit)g(with)f(a)g(non-zero)1590 978
|
||||
y(status,)28 b(or)f(zero)g(if)f(all)i(commands)e(in)g(the)h(pip)s
|
||||
(eline)f(exit)i(suc-)1590 776 y(cessfully)-8 b(.)41 b(This)30
|
||||
b(option)h(is)f(disabled)g(b)m(y)h(default.)1110 925
|
||||
y Fs(posix)240 b Ft(Change)36 b(the)g(b)s(eha)m(vior)g(of)g(Bash)g
|
||||
(where)f(the)h(default)g(op)s(er-)1590 1035 y(ation)c(di\013ers)e(from)
|
||||
(eline)f(exit)i(suc-)1590 1088 y(cessfully)-8 b(.)41
|
||||
b(This)30 b(option)h(is)f(disabled)g(b)m(y)h(default.)1110
|
||||
1241 y Fs(posix)240 b Ft(Change)36 b(the)g(b)s(eha)m(vior)g(of)g(Bash)g
|
||||
(where)f(the)h(default)g(op)s(er-)1590 1351 y(ation)c(di\013ers)e(from)
|
||||
g(the)h Fl(posix)f Ft(1003.2)k(standard)c(to)h(matc)m(h)1590
|
||||
1144 y(the)44 b(standard)f(\(see)h(Section)h(6.11)g([Bash)f(POSIX)e(Mo)
|
||||
s(de],)1590 1254 y(page)35 b(76\).)55 b(This)34 b(is)g(in)m(tended)h
|
||||
1461 y(the)44 b(standard)f(\(see)h(Section)h(6.11)g([Bash)f(POSIX)e(Mo)
|
||||
s(de],)1590 1570 y(page)35 b(76\).)55 b(This)34 b(is)g(in)m(tended)h
|
||||
(to)g(mak)m(e)h(Bash)e(b)s(eha)m(v)m(e)i(as)f(a)1590
|
||||
1363 y(strict)c(sup)s(erset)e(of)i(that)g(standard.)1110
|
||||
1512 y Fs(privileged)1590 1622 y Ft(Same)f(as)h Fs(-p)p
|
||||
Ft(.)1110 1771 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p
|
||||
Ft(.)1110 1919 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p
|
||||
Ft(-st)m(yle)g(line)g(editing)g(in)m(terface.)1110 2068
|
||||
1680 y(strict)c(sup)s(erset)e(of)i(that)g(standard.)1110
|
||||
1833 y Fs(privileged)1590 1943 y Ft(Same)f(as)h Fs(-p)p
|
||||
Ft(.)1110 2096 y Fs(verbose)144 b Ft(Same)30 b(as)h Fs(-v)p
|
||||
Ft(.)1110 2250 y Fs(vi)384 b Ft(Use)31 b(a)g Fs(vi)p
|
||||
Ft(-st)m(yle)g(line)g(editing)g(in)m(terface.)1110 2403
|
||||
y Fs(xtrace)192 b Ft(Same)30 b(as)h Fs(-x)p Ft(.)630
|
||||
2217 y Fs(-p)384 b Ft(T)-8 b(urn)33 b(on)h(privileged)h(mo)s(de.)51
|
||||
2556 y Fs(-p)384 b Ft(T)-8 b(urn)33 b(on)h(privileged)h(mo)s(de.)51
|
||||
b(In)34 b(this)g(mo)s(de,)h(the)f Fs($BASH_ENV)e Ft(and)h
|
||||
Fs($ENV)1110 2326 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f
|
||||
Fs($ENV)1110 2666 y Ft(\014les)k(are)h(not)g(pro)s(cessed,)h(shell)f
|
||||
(functions)f(are)h(not)f(inherited)h(from)f(the)1110
|
||||
2436 y(en)m(vironmen)m(t,)f(and)d(the)h Fs(SHELLOPTS)e
|
||||
2776 y(en)m(vironmen)m(t,)f(and)d(the)h Fs(SHELLOPTS)e
|
||||
Ft(v)-5 b(ariable,)35 b(if)f(it)h(app)s(ears)e(in)h(the)g(en-)1110
|
||||
2545 y(vironmen)m(t,)d(is)f(ignored.)41 b(If)29 b(the)i(shell)f(is)g
|
||||
(started)h(with)f(the)g(e\013ectiv)m(e)j(user)1110 2655
|
||||
2885 y(vironmen)m(t,)d(is)f(ignored.)41 b(If)29 b(the)i(shell)f(is)g
|
||||
(started)h(with)f(the)g(e\013ectiv)m(e)j(user)1110 2995
|
||||
y(\(group\))d(id)g(not)g(equal)h(to)f(the)g(real)h(user)e(\(group\))i
|
||||
(id,)f(and)f(the)h Fs(-p)f Ft(option)1110 2765 y(is)40
|
||||
(id,)f(and)f(the)h Fs(-p)f Ft(option)1110 3104 y(is)40
|
||||
b(not)g(supplied,)i(these)e(actions)i(are)e(tak)m(en)h(and)f(the)g
|
||||
(e\013ectiv)m(e)j(user)c(id)1110 2874 y(is)d(set)h(to)h(the)e(real)h
|
||||
(e\013ectiv)m(e)j(user)c(id)1110 3214 y(is)d(set)h(to)h(the)e(real)h
|
||||
(user)f(id.)58 b(If)36 b(the)h Fs(-p)f Ft(option)g(is)h(supplied)e(at)i
|
||||
(startup,)1110 2984 y(the)29 b(e\013ectiv)m(e)j(user)d(id)g(is)g(not)h
|
||||
(startup,)1110 3324 y(the)29 b(e\013ectiv)m(e)j(user)d(id)g(is)g(not)h
|
||||
(reset.)40 b(T)-8 b(urning)29 b(this)g(option)g(o\013)h(causes)g(the)
|
||||
1110 3093 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h(to)g(b)s(e)f
|
||||
1110 3433 y(e\013ectiv)m(e)e(user)d(and)g(group)g(ids)h(to)g(b)s(e)f
|
||||
(set)h(to)h(the)f(real)g(user)f(and)g(group)g(ids.)630
|
||||
3242 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h
|
||||
(one)g(command.)630 3391 y Fs(-u)384 b Ft(T)-8 b(reat)38
|
||||
3587 y Fs(-t)384 b Ft(Exit)31 b(after)g(reading)f(and)g(executing)h
|
||||
(one)g(command.)630 3740 y Fs(-u)384 b Ft(T)-8 b(reat)38
|
||||
b(unset)e(v)-5 b(ariables)37 b(as)h(an)e(error)h(when)e(p)s(erforming)h
|
||||
(parameter)h(ex-)1110 3500 y(pansion.)58 b(An)36 b(error)f(message)j
|
||||
(parameter)h(ex-)1110 3850 y(pansion.)58 b(An)36 b(error)f(message)j
|
||||
(will)e(b)s(e)g(written)g(to)h(the)g(standard)e(error,)1110
|
||||
3610 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)630
|
||||
3759 y Fs(-v)384 b Ft(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they)f
|
||||
(are)h(read.)630 3907 y Fs(-x)384 b Ft(Prin)m(t)82 b(a)h(trace)h(of)e
|
||||
3959 y(and)30 b(a)h(non-in)m(teractiv)m(e)i(shell)d(will)h(exit.)630
|
||||
4113 y Fs(-v)384 b Ft(Prin)m(t)30 b(shell)h(input)e(lines)i(as)g(they)f
|
||||
(are)h(read.)630 4266 y Fs(-x)384 b Ft(Prin)m(t)82 b(a)h(trace)h(of)e
|
||||
(simple)g(commands,)96 b Fs(\\)p Ft(fBfor)p Fs(\\)p Ft(fP)81
|
||||
b(commands,)1110 4017 y Fs(\\)p Ft(fBcase)p Fs(\\)p Ft(fP)50
|
||||
b(commands,)1110 4376 y Fs(\\)p Ft(fBcase)p Fs(\\)p Ft(fP)50
|
||||
b(commands,)55 b Fs(\\)p Ft(fBselect)p Fs(\\)p Ft(fP)c(commands,)k(and)
|
||||
50 b(arithmetic)1110 4127 y Fs(\\)p Ft(fBfor)p Fs(\\)p
|
||||
50 b(arithmetic)1110 4485 y Fs(\\)p Ft(fBfor)p Fs(\\)p
|
||||
Ft(fP)31 b(commands)g(and)g(their)h(argumen)m(ts)g(or)f(asso)s(ciated)i
|
||||
(w)m(ord)e(lists)1110 4236 y(after)k(they)g(are)g(expanded)f(and)h(b)s
|
||||
(w)m(ord)e(lists)1110 4595 y(after)k(they)g(are)g(expanded)f(and)h(b)s
|
||||
(efore)f(they)h(are)g(executed.)55 b(The)34 b(v)-5 b(alue)1110
|
||||
4346 y(of)34 b(the)g Fs(PS4)f Ft(v)-5 b(ariable)35 b(is)f(expanded)g
|
||||
4704 y(of)34 b(the)g Fs(PS4)f Ft(v)-5 b(ariable)35 b(is)f(expanded)g
|
||||
(and)f(the)h(resultan)m(t)h(v)-5 b(alue)34 b(is)g(prin)m(ted)1110
|
||||
4455 y(b)s(efore)c(the)h(command)f(and)f(its)i(expanded)f(argumen)m
|
||||
(ts.)630 4604 y Fs(-B)384 b Ft(The)41 b(shell)g(will)g(p)s(erform)f
|
||||
4814 y(b)s(efore)c(the)h(command)f(and)f(its)i(expanded)f(argumen)m
|
||||
(ts.)630 4967 y Fs(-B)384 b Ft(The)41 b(shell)g(will)g(p)s(erform)f
|
||||
(brace)h(expansion)g(\(see)h(Section)g(3.5.1)g([Brace)1110
|
||||
4714 y(Expansion],)30 b(page)h(17\).)42 b(This)30 b(option)h(is)f(on)g
|
||||
(b)m(y)h(default.)630 4862 y Fs(-C)384 b Ft(Prev)m(en)m(t)25
|
||||
5077 y(Expansion],)30 b(page)h(17\).)42 b(This)30 b(option)h(is)f(on)g
|
||||
(b)m(y)h(default.)630 5230 y Fs(-C)384 b Ft(Prev)m(en)m(t)25
|
||||
b(output)e(redirection)h(using)f(`)p Fs(>)p Ft(',)i(`)p
|
||||
Fs(>&)p Ft(',)g(and)e(`)p Fs(<>)p Ft(')g(from)h(o)m(v)m(erwriting)1110
|
||||
4972 y(existing)31 b(\014les.)630 5121 y Fs(-E)384 b
|
||||
Ft(If)39 b(set,)j(an)m(y)e(trap)f(on)g Fs(ERR)g Ft(is)g(inherited)g(b)m
|
||||
(y)g(shell)h(functions,)h(command)1110 5230 y(substitutions,)35
|
||||
b(and)e(commands)g(executed)i(in)f(a)g(subshell)f(en)m(vironmen)m(t.)
|
||||
1110 5340 y(The)d Fs(ERR)f Ft(trap)i(is)f(normally)h(not)f(inherited)g
|
||||
(in)g(suc)m(h)g(cases.)p eop end
|
||||
5340 y(existing)31 b(\014les.)p eop end
|
||||
%%Page: 53 59
|
||||
TeXDict begin 53 58 bop 150 -116 a Ft(Chapter)30 b(4:)41
|
||||
b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y Fs(-H)384
|
||||
b Ft(Enable)38 b(`)p Fs(!)p Ft(')h(st)m(yle)h(history)e(substitution)g
|
||||
(\(see)h(Section)h(9.3)f([History)g(In-)1110 408 y(teraction],)g(page)d
|
||||
(113\).)57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m
|
||||
(teractiv)m(e)1110 518 y(shells.)630 682 y Fs(-P)384
|
||||
b(Shell)30 b(Builtin)h(Commands)2069 b(53)630 299 y Fs(-E)384
|
||||
b Ft(If)39 b(set,)j(an)m(y)e(trap)f(on)g Fs(ERR)g Ft(is)g(inherited)g
|
||||
(b)m(y)g(shell)h(functions,)h(command)1110 408 y(substitutions,)35
|
||||
b(and)e(commands)g(executed)i(in)f(a)g(subshell)f(en)m(vironmen)m(t.)
|
||||
1110 518 y(The)d Fs(ERR)f Ft(trap)i(is)f(normally)h(not)f(inherited)g
|
||||
(in)g(suc)m(h)g(cases.)630 735 y Fs(-H)384 b Ft(Enable)38
|
||||
b(`)p Fs(!)p Ft(')h(st)m(yle)h(history)e(substitution)g(\(see)h
|
||||
(Section)h(9.3)f([History)g(In-)1110 845 y(teraction],)g(page)d(113\).)
|
||||
57 b(This)34 b(option)i(is)f(on)g(b)m(y)h(default)f(for)g(in)m
|
||||
(teractiv)m(e)1110 954 y(shells.)630 1172 y Fs(-P)384
|
||||
b Ft(If)43 b(set,)k(do)c(not)g(follo)m(w)h(sym)m(b)s(olic)g(links)e
|
||||
(when)g(p)s(erforming)g(commands)1110 792 y(suc)m(h)29
|
||||
(when)g(p)s(erforming)g(commands)1110 1281 y(suc)m(h)29
|
||||
b(as)h Fs(cd)f Ft(whic)m(h)g(c)m(hange)h(the)g(curren)m(t)f(directory)
|
||||
-8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 902 y(tory)j(is)g(used)f
|
||||
(instead.)52 b(By)34 b(default,)h(Bash)f(follo)m(ws)h(the)f(logical)i
|
||||
(c)m(hain)f(of)1110 1011 y(directories)j(when)d(p)s(erforming)h
|
||||
-8 b(.)42 b(The)28 b(ph)m(ysical)j(direc-)1110 1391 y(tory)j(is)g(used)
|
||||
f(instead.)52 b(By)34 b(default,)h(Bash)f(follo)m(ws)h(the)f(logical)i
|
||||
(c)m(hain)f(of)1110 1500 y(directories)j(when)d(p)s(erforming)h
|
||||
(commands)g(whic)m(h)g(c)m(hange)i(the)f(curren)m(t)1110
|
||||
1121 y(directory)-8 b(.)1110 1258 y(F)g(or)31 b(example,)g(if)f(`)p
|
||||
1610 y(directory)-8 b(.)1110 1773 y(F)g(or)31 b(example,)g(if)f(`)p
|
||||
Fs(/usr/sys)p Ft(')e(is)i(a)g(sym)m(b)s(olic)h(link)f(to)g(`)p
|
||||
Fs(/usr/local/sys)p Ft(')1110 1367 y(then:)1350 1504
|
||||
y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 1614 y(/usr/sys)1350
|
||||
1723 y($)g(cd)h(..;)f(pwd)1350 1833 y(/usr)1110 1970
|
||||
y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:)1350 2107
|
||||
y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2216 y(/usr/local/sys)
|
||||
1350 2326 y($)g(cd)h(..;)f(pwd)1350 2436 y(/usr/local)630
|
||||
2600 y(-T)384 b Ft(If)31 b(set,)h(an)m(y)f(trap)g(on)g
|
||||
Fs(/usr/local/sys)p Ft(')1110 1883 y(then:)1350 2046
|
||||
y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2156 y(/usr/sys)1350
|
||||
2266 y($)g(cd)h(..;)f(pwd)1350 2375 y(/usr)1110 2539
|
||||
y Ft(If)30 b Fs(set)f(-P)h Ft(is)h(on,)f(then:)1350 2702
|
||||
y Fs($)47 b(cd)h(/usr/sys;)d(echo)i($PWD)1350 2812 y(/usr/local/sys)
|
||||
1350 2921 y($)g(cd)h(..;)f(pwd)1350 3031 y(/usr/local)630
|
||||
3248 y(-T)384 b Ft(If)31 b(set,)h(an)m(y)f(trap)g(on)g
|
||||
Fs(DEBUG)e Ft(is)i(inherited)g(b)m(y)g(shell)g(functions,)g(command)
|
||||
1110 2710 y(substitutions,)k(and)e(commands)g(executed)i(in)f(a)g
|
||||
(subshell)f(en)m(vironmen)m(t.)1110 2819 y(The)d Fs(DEBUG)f
|
||||
1110 3358 y(substitutions,)k(and)e(commands)g(executed)i(in)f(a)g
|
||||
(subshell)f(en)m(vironmen)m(t.)1110 3467 y(The)d Fs(DEBUG)f
|
||||
Ft(trap)h(is)g(normally)h(not)g(inherited)f(in)g(suc)m(h)g(cases.)630
|
||||
2983 y Fs(--)384 b Ft(If)31 b(no)h(argumen)m(ts)f(follo)m(w)i(this)f
|
||||
3684 y Fs(--)384 b Ft(If)31 b(no)h(argumen)m(ts)f(follo)m(w)i(this)f
|
||||
(option,)g(then)f(the)h(p)s(ositional)h(parameters)1110
|
||||
3093 y(are)h(unset.)49 b(Otherwise,)34 b(the)g(p)s(ositional)g
|
||||
(parameters)g(are)g(set)g(to)g(the)g Fq(ar-)1110 3203
|
||||
3794 y(are)h(unset.)49 b(Otherwise,)34 b(the)g(p)s(ositional)g
|
||||
(parameters)g(are)g(set)g(to)g(the)g Fq(ar-)1110 3904
|
||||
y(gumen)m(ts)p Ft(,)d(ev)m(en)g(if)f(some)h(of)g(them)f(b)s(egin)g
|
||||
(with)g(a)h(`)p Fs(-)p Ft('.)630 3367 y Fs(-)432 b Ft(Signal)45
|
||||
(with)g(a)h(`)p Fs(-)p Ft('.)630 4121 y Fs(-)432 b Ft(Signal)45
|
||||
b(the)g(end)f(of)h(options,)k(cause)c(all)h(remaining)e
|
||||
Fq(argumen)m(ts)49 b Ft(to)d(b)s(e)1110 3477 y(assigned)38
|
||||
Fq(argumen)m(ts)49 b Ft(to)d(b)s(e)1110 4230 y(assigned)38
|
||||
b(to)h(the)f(p)s(ositional)h(parameters.)65 b(The)37
|
||||
b(`)p Fs(-x)p Ft(')h(and)g(`)p Fs(-v)p Ft(')g(options)1110
|
||||
3586 y(are)25 b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f
|
||||
4340 y(are)25 b(turned)e(o\013.)40 b(If)24 b(there)h(are)g(no)f
|
||||
(argumen)m(ts,)i(the)f(p)s(ositional)h(parameters)1110
|
||||
3696 y(remain)k(unc)m(hanged.)630 3860 y(Using)d(`)p
|
||||
4450 y(remain)k(unc)m(hanged.)630 4667 y(Using)d(`)p
|
||||
Fs(+)p Ft(')h(rather)f(than)g(`)p Fs(-)p Ft(')g(causes)h(these)f
|
||||
(options)h(to)g(b)s(e)e(turned)g(o\013.)40 b(The)27 b(options)h(can)630
|
||||
3970 y(also)36 b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e
|
||||
4776 y(also)36 b(b)s(e)f(used)f(up)s(on)g(in)m(v)m(o)s(cation)j(of)e
|
||||
(the)g(shell.)56 b(The)34 b(curren)m(t)h(set)h(of)f(options)h(ma)m(y)g
|
||||
(b)s(e)630 4079 y(found)29 b(in)h Fs($-)p Ft(.)630 4216
|
||||
(b)s(e)630 4886 y(found)29 b(in)h Fs($-)p Ft(.)630 5049
|
||||
y(The)43 b(remaining)h(N)f Fq(argumen)m(ts)48 b Ft(are)c(p)s(ositional)
|
||||
g(parameters)g(and)f(are)h(assigned,)j(in)630 4326 y(order,)30
|
||||
g(parameters)g(and)f(are)h(assigned,)j(in)630 5159 y(order,)30
|
||||
b(to)h Fs($1)p Ft(,)f Fs($2)p Ft(,)36 b(.)22 b(.)g(.)42
|
||||
b Fs($N)p Ft(.)e(The)30 b(sp)s(ecial)h(parameter)g Fs(#)f
|
||||
Ft(is)g(set)h(to)g(N.)630 4463 y(The)f(return)f(status)i(is)f(alw)m(a)m
|
||||
Ft(is)g(set)h(to)g(N.)630 5322 y(The)f(return)f(status)i(is)f(alw)m(a)m
|
||||
(ys)i(zero)f(unless)f(an)g(in)m(v)-5 b(alid)31 b(option)g(is)f
|
||||
(supplied.)150 4732 y Fr(4.4)68 b(Sp)t(ecial)45 b(Builtins)275
|
||||
4981 y Ft(F)-8 b(or)25 b(historical)h(reasons,)g(the)e
|
||||
Fl(posix)g Ft(1003.2)j(standard)d(has)g(classi\014ed)h(sev)m(eral)h
|
||||
(builtin)e(commands)150 5091 y(as)37 b Fm(sp)-5 b(e)g(cial)p
|
||||
Ft(.)60 b(When)36 b(Bash)h(is)g(executing)g(in)f Fl(posix)g
|
||||
Ft(mo)s(de,)i(the)f(sp)s(ecial)g(builtins)e(di\013er)i(from)f(other)150
|
||||
5201 y(builtin)30 b(commands)g(in)g(three)h(resp)s(ects:)199
|
||||
5340 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h
|
||||
(shell)h(functions)f(during)f(command)h(lo)s(okup.)p
|
||||
eop end
|
||||
(supplied.)p eop end
|
||||
%%Page: 54 60
|
||||
TeXDict begin 54 59 bop 150 -116 a Ft(54)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)199 299 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g
|
||||
(builtin)f(returns)f(an)h(error)g(status,)h(a)g(non-in)m(teractiv)m(e)i
|
||||
(shell)d(exits.)199 433 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h
|
||||
(preceding)f(the)f(command)g(sta)m(y)i(in)e(e\013ect)i(in)e(the)h
|
||||
(shell)f(en)m(vironmen)m(t)330 543 y(after)i(the)f(command)h
|
||||
(completes.)275 702 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e
|
||||
Fl(posix)f Ft(mo)s(de,)j(these)f(builtins)f(b)s(eha)m(v)m(e)h(no)f
|
||||
(di\013eren)m(tly)h(than)150 812 y(the)31 b(rest)f(of)h(the)f(Bash)h
|
||||
(builtin)e(commands.)41 b(The)30 b(Bash)g Fl(posix)g
|
||||
Ft(mo)s(de)g(is)g(describ)s(ed)f(in)h(Section)h(6.11)150
|
||||
922 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g(76.)275 1056
|
||||
y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h(builtins:)390
|
||||
1191 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h(exit)g(export)f
|
||||
(readonly)f(return)h(set)390 1300 y(shift)g(trap)h(unset)p
|
||||
eop end
|
||||
b(Reference)g(Man)m(ual)150 299 y Fr(4.4)68 b(Sp)t(ecial)45
|
||||
b(Builtins)275 543 y Ft(F)-8 b(or)25 b(historical)h(reasons,)g(the)e
|
||||
Fl(posix)g Ft(1003.2)j(standard)d(has)g(classi\014ed)h(sev)m(eral)h
|
||||
(builtin)e(commands)150 653 y(as)37 b Fm(sp)-5 b(e)g(cial)p
|
||||
Ft(.)60 b(When)36 b(Bash)h(is)g(executing)g(in)f Fl(posix)g
|
||||
Ft(mo)s(de,)i(the)f(sp)s(ecial)g(builtins)e(di\013er)i(from)f(other)150
|
||||
762 y(builtin)30 b(commands)g(in)g(three)h(resp)s(ects:)199
|
||||
897 y(1.)61 b(Sp)s(ecial)31 b(builtins)e(are)i(found)e(b)s(efore)h
|
||||
(shell)h(functions)f(during)f(command)h(lo)s(okup.)199
|
||||
1031 y(2.)61 b(If)30 b(a)h(sp)s(ecial)g(builtin)f(returns)f(an)h(error)
|
||||
g(status,)h(a)g(non-in)m(teractiv)m(e)i(shell)d(exits.)199
|
||||
1166 y(3.)61 b(Assignmen)m(t)30 b(statemen)m(ts)h(preceding)f(the)f
|
||||
(command)g(sta)m(y)i(in)e(e\013ect)i(in)e(the)h(shell)f(en)m(vironmen)m
|
||||
(t)330 1275 y(after)i(the)f(command)h(completes.)275
|
||||
1435 y(When)36 b(Bash)g(is)h(not)f(executing)i(in)e Fl(posix)f
|
||||
Ft(mo)s(de,)j(these)f(builtins)f(b)s(eha)m(v)m(e)h(no)f(di\013eren)m
|
||||
(tly)h(than)150 1544 y(the)31 b(rest)f(of)h(the)f(Bash)h(builtin)e
|
||||
(commands.)41 b(The)30 b(Bash)g Fl(posix)g Ft(mo)s(de)g(is)g(describ)s
|
||||
(ed)f(in)h(Section)h(6.11)150 1654 y([Bash)g(POSIX)e(Mo)s(de],)i(page)g
|
||||
(76.)275 1788 y(These)f(are)g(the)h Fl(posix)f Ft(sp)s(ecial)h
|
||||
(builtins:)390 1923 y Fs(break)46 b(:)i(.)f(continue)f(eval)g(exec)h
|
||||
(exit)g(export)f(readonly)f(return)h(set)390 2032 y(shift)g(trap)h
|
||||
(unset)p eop end
|
||||
%%Page: 55 61
|
||||
TeXDict begin 55 60 bop 150 -116 a Ft(Chapter)30 b(5:)41
|
||||
b(Shell)30 b(V)-8 b(ariables)2459 b(55)150 299 y Fo(5)80
|
||||
@@ -15097,7 +15100,7 @@ b(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
|
||||
(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)44 b Fb(31)2025
|
||||
1433 y(sp)r(ecial)27 b(builtin)12 b Fc(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g
|
||||
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)
|
||||
g(.)g(.)h(.)38 b Fb(4,)26 b(53)2025 1521 y(startup)f(\014les)20
|
||||
g(.)g(.)h(.)38 b Fb(4,)26 b(54)2025 1521 y(startup)f(\014les)20
|
||||
b Fc(.)12 b(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f
|
||||
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)45
|
||||
b Fb(65)2025 1608 y(susp)r(ending)25 b(jobs)7 b Fc(.)14
|
||||
|
||||
Reference in New Issue
Block a user