diff options
Diffstat (limited to 'doc/builtins.ps')
-rw-r--r-- | doc/builtins.ps | 1995 |
1 files changed, 1002 insertions, 993 deletions
diff --git a/doc/builtins.ps b/doc/builtins.ps index a90122d1..636029bc 100644 --- a/doc/builtins.ps +++ b/doc/builtins.ps @@ -1,6 +1,6 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.22.4 -%%CreationDate: Wed Jun 10 12:00:37 2020 +%%CreationDate: Mon Sep 7 09:52:16 2020 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic @@ -1584,286 +1584,287 @@ C(hen)-5.652 E F2(local)3.152 E F0 .652 (d: shell options changed us-).1 F 1.17(ing the)144 544.8 R F2(set)3.67 E F0 -.2(bu)3.67 G 1.171 (iltin inside the function are restored to their original v).2 F 1.171 -(alues when the function re-)-.25 F 2.888(turns. W)144 556.8 R .388 -(ith no operands,)-.4 F F2(local)2.888 E F0 .388 -(writes a list of local v)2.888 F .388(ariables to the standard output.) --.25 F .387(It is an error)5.387 F .332(to use)144 568.8 R F2(local) -2.832 E F0 .332(when not within a function.)2.832 F .332 -(The return status is 0 unless)5.332 F F2(local)2.832 E F0 .332 -(is used outside a func-)2.832 F(tion, an in)144 580.8 Q -.25(va)-.4 G -(lid).25 E F1(name)2.86 E F0(is supplied, or)2.68 E F1(name)2.5 E F0 -(is a readonly v)2.5 E(ariable.)-.25 E F2(logout)108 597.6 Q F0 -(Exit a login shell.)144 597.6 Q F2(map\214le)108 614.4 Q F0([)2.5 E F2 +(alues when the function re-)-.25 F 3.381(turns. The)144 556.8 R .881 +(restore is ef)3.381 F .881(fected as if a series of)-.25 F F2(set)3.381 +E F0 .88(commands were e)3.38 F -.15(xe)-.15 G .88 +(cuted to restore the v).15 F(alues)-.25 E .787 +(that were in place before the function.)144 568.8 R -.4(Wi)5.788 G .788 +(th no operands,).4 F F2(local)3.288 E F0 .788(writes a list of local v) +3.288 F .788(ariables to)-.25 F .655(the standard output.)144 580.8 R +.654(It is an error to use)5.655 F F2(local)3.154 E F0 .654 +(when not within a function.)3.154 F .654(The return status is 0)5.654 F +(unless)144 592.8 Q F2(local)2.5 E F0(is used outside a function, an in) +2.5 E -.25(va)-.4 G(lid).25 E F1(name)2.86 E F0(is supplied, or)2.68 E +F1(name)2.5 E F0(is a readonly v)2.5 E(ariable.)-.25 E F2(logout)108 +609.6 Q F0(Exit a login shell.)144 609.6 Q F2(map\214le)108 626.4 Q F0 +([)2.5 E F2<ad64>A F1(delim)2.5 E F0 2.5(][)C F2<ad6e>-2.5 E F1(count) +2.5 E F0 2.5(][)C F2<ad4f>-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(][)C F2<ad74>-2.5 E F0 2.5(][)C F2<ad75> +-2.5 E F1(fd)2.5 E F0 2.5(][)C F2<ad43>-2.5 E F1(callbac)2.5 E(k)-.2 E +F0 2.5(][)C F2<ad63>-2.5 E F1(quantum)2.5 E F0 2.5(][)C F1(arr)-2.5 E +(ay)-.15 E F0(])A F2 -.18(re)108 638.4 S(adarray).18 E F0([)2.5 E F2 <ad64>A F1(delim)2.5 E F0 2.5(][)C F2<ad6e>-2.5 E F1(count)2.5 E F0 2.5 (][)C F2<ad4f>-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(][)C F2<ad74>-2.5 E F0 2.5(][)C F2<ad75>-2.5 E F1 (fd)2.5 E F0 2.5(][)C F2<ad43>-2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][) C F2<ad63>-2.5 E F1(quantum)2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0 -(])A F2 -.18(re)108 626.4 S(adarray).18 E F0([)2.5 E F2<ad64>A F1(delim) -2.5 E F0 2.5(][)C F2<ad6e>-2.5 E F1(count)2.5 E F0 2.5(][)C F2<ad4f>-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(][)C -F2<ad74>-2.5 E F0 2.5(][)C F2<ad75>-2.5 E F1(fd)2.5 E F0 2.5(][)C F2 -<ad43>-2.5 E F1(callbac)2.5 E(k)-.2 E F0 2.5(][)C F2<ad63>-2.5 E F1 -(quantum)2.5 E F0 2.5(][)C F1(arr)-2.5 E(ay)-.15 E F0(])A .159 -(Read lines from the standard input into the inde)144 638.4 R -.15(xe) --.15 G 2.659(da).15 G .159(rray v)-2.659 F(ariable)-.25 E F1(arr)2.989 E -(ay)-.15 E F0 2.659(,o).32 G 2.658(rf)-2.659 G .158 -(rom \214le descriptor)-2.658 F F1(fd)4.628 E F0 1.248(if the)144 650.4 -R F2<ad75>3.748 E F0 1.248(option is supplied.)3.748 F 1.249(The v)6.249 +(])A .158(Read lines from the standard input into the inde)144 650.4 R +-.15(xe)-.15 G 2.659(da).15 G .159(rray v)-2.659 F(ariable)-.25 E F1 +(arr)2.989 E(ay)-.15 E F0 2.659(,o).32 G 2.659(rf)-2.659 G .159 +(rom \214le descriptor)-2.659 F F1(fd)4.629 E F0 1.249(if the)144 662.4 +R F2<ad75>3.749 E F0 1.249(option is supplied.)3.749 F 1.249(The v)6.249 F(ariable)-.25 E F3(MAPFILE)3.749 E F0 1.249(is the def)3.499 F(ault)-.1 -E F1(arr)3.749 E(ay)-.15 E F0 6.249(.O)C 1.249(ptions, if supplied,) --6.249 F(ha)144 662.4 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F2<ad64>144 674.4 Q F0 .911 -(The \214rst character of)180 674.4 R F1(delim)3.411 E F0 .911 -(is used to terminate each input line, rather than ne)3.411 F 3.41 -(wline. If)-.25 F F1(delim)180 686.4 Q F0(is the empty string,)2.5 E F2 +E F1(arr)3.748 E(ay)-.15 E F0 6.248(.O)C 1.248(ptions, if supplied,) +-6.248 F(ha)144 674.4 Q .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F2<ad64>144 686.4 Q F0 .91 +(The \214rst character of)180 686.4 R F1(delim)3.41 E F0 .911 +(is used to terminate each input line, rather than ne)3.41 F 3.411 +(wline. If)-.25 F F1(delim)180 698.4 Q F0(is the empty string,)2.5 E F2 (map\214le)2.5 E F0(will terminate a line when it reads a NUL character) -2.5 E(.)-.55 E F2<ad6e>144 698.4 Q F0(Cop)180 698.4 Q 2.5(ya)-.1 G 2.5 +2.5 E(.)-.55 E F2<ad6e>144 710.4 Q F0(Cop)180 710.4 Q 2.5(ya)-.1 G 2.5 (tm)-2.5 G(ost)-2.5 E F1(count)2.7 E F0 2.5(lines. If)3.18 F F1(count) -2.5 E F0(is 0, all lines are copied.)2.5 E F2<ad4f>144 710.4 Q F0(Be)180 -710.4 Q(gin assigning to)-.15 E F1(arr)2.83 E(ay)-.15 E F0(at inde)2.82 -E(x)-.15 E F1(origin)2.73 E F0 5(.T).24 G(he def)-5 E(ault inde)-.1 E -2.5(xi)-.15 G 2.5(s0)-2.5 G(.)-2.5 E(GNU Bash 5.0)72 768 Q(2004 Apr 20) -149.565 E(11)198.725 E 0 Cg EP +2.5 E F0(is 0, all lines are copied.)2.5 E(GNU Bash 5.0)72 768 Q +(2004 Apr 20)149.565 E(11)198.725 E 0 Cg EP %%Page: 12 12 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad73>144 84 Q F0 -(Discard the \214rst)180 84 Q/F2 10/Times-Italic@0 SF(count)2.5 E F0 -(lines read.)2.5 E F1<ad74>144 96 Q F0(Remo)180 96 Q .3 -.15(ve a t)-.15 -H(railing).15 E F2(delim)2.5 E F0(\(def)2.5 E(ault ne)-.1 E -(wline\) from each line read.)-.25 E F1<ad75>144 108 Q F0 -(Read lines from \214le descriptor)180 108 Q F2(fd)2.5 E F0 -(instead of the standard input.)2.5 E F1<ad43>144 120 Q F0(Ev)180 120 Q -(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E F2(quantum) -2.5 E F0(lines are read.)2.5 E(The)5 E F1<ad63>2.5 E F0 -(option speci\214es)2.5 E F2(quantum)2.75 E F0(.).32 E F1<ad63>144 132 Q -F0(Specify the number of lines read between each call to)180 132 Q F2 -(callbac)2.7 E(k)-.2 E F0(.).67 E(If)144 148.8 Q F1<ad43>2.967 E F0 .467 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad4f>144 84 Q F0(Be) +180 84 Q(gin assigning to)-.15 E/F2 10/Times-Italic@0 SF(arr)2.83 E(ay) +-.15 E F0(at inde)2.82 E(x)-.15 E F2(origin)2.73 E F0 5(.T).24 G(he def) +-5 E(ault inde)-.1 E 2.5(xi)-.15 G 2.5(s0)-2.5 G(.)-2.5 E F1<ad73>144 96 +Q F0(Discard the \214rst)180 96 Q F2(count)2.5 E F0(lines read.)2.5 E F1 +<ad74>144 108 Q F0(Remo)180 108 Q .3 -.15(ve a t)-.15 H(railing).15 E F2 +(delim)2.5 E F0(\(def)2.5 E(ault ne)-.1 E(wline\) from each line read.) +-.25 E F1<ad75>144 120 Q F0(Read lines from \214le descriptor)180 120 Q +F2(fd)2.5 E F0(instead of the standard input.)2.5 E F1<ad43>144 132 Q F0 +(Ev)180 132 Q(aluate)-.25 E F2(callbac)2.7 E(k)-.2 E F0(each time)3.17 E +F2(quantum)2.5 E F0(lines are read.)2.5 E(The)5 E F1<ad63>2.5 E F0 +(option speci\214es)2.5 E F2(quantum)2.75 E F0(.).32 E F1<ad63>144 144 Q +F0(Specify the number of lines read between each call to)180 144 Q F2 +(callbac)2.7 E(k)-.2 E F0(.).67 E(If)144 160.8 Q F1<ad43>2.968 E F0 .467 (is speci\214ed without)2.967 F F1<ad63>2.967 E F0 2.967(,t)C .467 (he def)-2.967 F .467(ault quantum is 5000.)-.1 F(When)5.467 E F2 (callbac)2.967 E(k)-.2 E F0 .467(is e)2.967 F -.25(va)-.25 G .467 -(luated, it is sup-).25 F .262(plied the inde)144 160.8 R 2.762(xo)-.15 -G 2.762(ft)-2.762 G .262(he ne)-2.762 F .261(xt array element to be ass\ -igned and the line to be assigned to that element)-.15 F .274 -(as additional ar)144 172.8 R(guments.)-.18 E F2(callbac)5.274 E(k)-.2 E -F0 .274(is e)2.774 F -.25(va)-.25 G .274 -(luated after the line is read b).25 F .275 -(ut before the array element is)-.2 F(assigned.)144 184.8 Q -(If not supplied with an e)144 201.6 Q(xplicit origin,)-.15 E F1 +(luated, it is sup-).25 F .261(plied the inde)144 172.8 R 2.761(xo)-.15 +G 2.761(ft)-2.761 G .261(he ne)-2.761 F .262(xt array element to be ass\ +igned and the line to be assigned to that element)-.15 F .275 +(as additional ar)144 184.8 R(guments.)-.18 E F2(callbac)5.275 E(k)-.2 E +F0 .275(is e)2.775 F -.25(va)-.25 G .274 +(luated after the line is read b).25 F .274 +(ut before the array element is)-.2 F(assigned.)144 196.8 Q +(If not supplied with an e)144 213.6 Q(xplicit origin,)-.15 E F1 (map\214le)2.5 E F0(will clear)2.5 E F2(arr)2.5 E(ay)-.15 E F0 -(before assigning to it.)2.5 E F1(map\214le)144 218.4 Q F0 .797 -(returns successfully unless an in)3.298 F -.25(va)-.4 G .797 +(before assigning to it.)2.5 E F1(map\214le)144 230.4 Q F0 .797 +(returns successfully unless an in)3.297 F -.25(va)-.4 G .797 (lid option or option ar).25 F .797(gument is supplied,)-.18 F F2(arr) -3.297 E(ay)-.15 E F0 .797(is in-)3.297 F -.25(va)144 230.4 S +3.297 E(ay)-.15 E F0 .798(is in-)3.298 F -.25(va)144 242.4 S (lid or unassignable, or if).25 E F2(arr)2.5 E(ay)-.15 E F0 (is not an inde)2.5 E -.15(xe)-.15 G 2.5(da).15 G(rray)-2.5 E(.)-.65 E -F1(popd)108 247.2 Q F0<5bad>2.5 E F1(n)A F0 2.5(][)C(+)-2.5 E F2(n)A F0 -2.5(][)C<ad>-2.5 E F2(n)A F0(])A(Remo)144 259.2 Q -.15(ve)-.15 G 2.799 -(se).15 G .299(ntries from the directory stack.)-2.799 F -.4(Wi)5.299 G -.299(th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 -G .3(he top directory from the)-2.799 F 1.479(stack, and performs a)144 -271.2 R F1(cd)3.979 E F0 1.479(to the ne)3.979 F 3.979(wt)-.25 G 1.479 -(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.478 -(uments, if supplied, ha).18 F 1.778 -.15(ve t)-.2 H 1.478(he follo).15 -F(wing)-.25 E(meanings:)144 283.2 Q F1<ad6e>144 295.2 Q F0 .551 -(Suppresses the normal change of directory when remo)180 295.2 R .551 +F1(popd)108 259.2 Q F0<5bad>2.5 E F1(n)A F0 2.5(][)C(+)-2.5 E F2(n)A F0 +2.5(][)C<ad>-2.5 E F2(n)A F0(])A(Remo)144 271.2 Q -.15(ve)-.15 G 2.8(se) +.15 G .3(ntries from the directory stack.)-2.8 F -.4(Wi)5.299 G .299 +(th no ar).4 F .299(guments, remo)-.18 F -.15(ve)-.15 G 2.799(st).15 G +.299(he top directory from the)-2.799 F 1.478(stack, and performs a)144 +283.2 R F1(cd)3.978 E F0 1.479(to the ne)3.978 F 3.979(wt)-.25 G 1.479 +(op directory)-3.979 F 6.479(.A)-.65 G -.18(rg)-6.479 G 1.479 +(uments, if supplied, ha).18 F 1.779 -.15(ve t)-.2 H 1.479(he follo).15 +F(wing)-.25 E(meanings:)144 295.2 Q F1<ad6e>144 307.2 Q F0 .551 +(Suppresses the normal change of directory when remo)180 307.2 R .551 (ving directories from the stack, so)-.15 F -(that only the stack is manipulated.)180 307.2 Q F1(+)144 319.2 Q F2(n)A -F0(Remo)180 319.2 Q -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E +(that only the stack is manipulated.)180 319.2 Q F1(+)144 331.2 Q F2(n)A +F0(Remo)180 331.2 Q -.15(ve)-.15 G 2.64(st).15 G(he)-2.64 E F2(n)2.64 E F0 .14(th entry counting from the left of the list sho)B .14(wn by)-.25 F F1(dirs)2.64 E F0 2.64(,s)C .14(tarting with zero.)-2.64 F -.15(Fo)180 -331.2 S 2.5(re).15 G(xample:)-2.65 E/F3 10/Courier@0 SF(popd +0)2.5 E F0 +343.2 S 2.5(re).15 G(xample:)-2.65 E/F3 10/Courier@0 SF(popd +0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he \214rst directory)-2.5 E(,) --.65 E F3(popd +1)2.5 E F0(the second.)2.5 E F1<ad>144 343.2 Q F2(n)A F0 -(Remo)180 343.2 Q -.15(ve)-.15 G 3.759(st).15 G(he)-3.759 E F2(n)3.759 E -F0 1.259(th entry counting from the right of the list sho)B 1.26(wn by) --.25 F F1(dirs)3.76 E F0 3.76(,s)C 1.26(tarting with)-3.76 F 2.5 -(zero. F)180 355.2 R(or e)-.15 E(xample:)-.15 E F3(popd -0)2.5 E F0 +-.65 E F3(popd +1)2.5 E F0(the second.)2.5 E F1<ad>144 355.2 Q F2(n)A F0 +(Remo)180 355.2 Q -.15(ve)-.15 G 3.76(st).15 G(he)-3.76 E F2(n)3.76 E F0 +1.259(th entry counting from the right of the list sho)B 1.259(wn by) +-.25 F F1(dirs)3.759 E F0 3.759(,s)C 1.259(tarting with)-3.759 F 2.5 +(zero. F)180 367.2 R(or e)-.15 E(xample:)-.15 E F3(popd -0)2.5 E F0 (remo)2.5 E -.15(ve)-.15 G 2.5(st).15 G(he last directory)-2.5 E(,)-.65 -E F3(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .644(If the)144 -372 R F1(popd)3.144 E F0 .644(command is successful, a)3.144 F F1(dirs) -3.143 E F0 .643(is performed as well, and the return status is 0.)3.143 -F F1(popd)5.643 E F0 .415(returns f)144 384 R .415(alse if an in)-.1 F +E F3(popd -1)2.5 E F0(the ne)2.5 E(xt to last.)-.15 E .643(If the)144 +384 R F1(popd)3.143 E F0 .643(command is successful, a)3.143 F F1(dirs) +3.143 E F0 .644(is performed as well, and the return status is 0.)3.143 +F F1(popd)5.644 E F0 .416(returns f)144 396 R .416(alse if an in)-.1 F -.25(va)-.4 G .415 -(lid option is encountered, the directory stack is empty).25 F 2.916 -(,an)-.65 G(on-e)-2.916 E .416(xistent direc-)-.15 F -(tory stack entry is speci\214ed, or the directory change f)144 396 Q -(ails.)-.1 E F1(printf)108 412.8 Q F0([)2.5 E F1<ad76>A F2(var)2.5 E F0 -(])A F2(format)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A .358 -(Write the formatted)144 424.8 R F2(ar)2.858 E(guments)-.37 E F0 .358 -(to the standard output under the control of the)2.858 F F2(format)2.857 -E F0 5.357(.T)C(he)-5.357 E F1<ad76>2.857 E F0(op-)2.857 E .714 -(tion causes the output to be assigned to the v)144 436.8 R(ariable)-.25 +(lid option is encountered, the directory stack is empty).25 F 2.915 +(,an)-.65 G(on-e)-2.915 E .415(xistent direc-)-.15 F +(tory stack entry is speci\214ed, or the directory change f)144 408 Q +(ails.)-.1 E F1(printf)108 424.8 Q F0([)2.5 E F1<ad76>A F2(var)2.5 E F0 +(])A F2(format)2.5 E F0([)2.5 E F2(ar)A(guments)-.37 E F0(])A .357 +(Write the formatted)144 436.8 R F2(ar)2.857 E(guments)-.37 E F0 .357 +(to the standard output under the control of the)2.857 F F2(format)2.858 +E F0 5.358(.T)C(he)-5.358 E F1<ad76>2.858 E F0(op-)2.858 E .714 +(tion causes the output to be assigned to the v)144 448.8 R(ariable)-.25 E F2(var)3.214 E F0 .714(rather than being printed to the standard)3.214 -F(output.)144 448.8 Q(The)144 472.8 Q F2(format)3.018 E F0 .517(is a ch\ +F(output.)144 460.8 Q(The)144 484.8 Q F2(format)3.017 E F0 .517(is a ch\ aracter string which contains three types of objects: plain characters,\ - which are)3.018 F .704(simply copied to standard output, character esc\ -ape sequences, which are con)144 484.8 R -.15(ve)-.4 G .704 + which are)3.017 F .704(simply copied to standard output, character esc\ +ape sequences, which are con)144 496.8 R -.15(ve)-.4 G .703 (rted and copied to).15 F .036(the standard output, and format speci\ -\214cations, each of which causes printing of the ne)144 496.8 R .036 -(xt successi)-.15 F -.15(ve)-.25 G F2(ar)144 508.8 Q(gument)-.37 E F0 -5.531(.I)C 3.031(na)-5.531 G .531(ddition to the standard)-3.031 F F2 -(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B F1(printf)3.032 -E F0 .532(interprets the follo)3.032 F(w-)-.25 E(ing e)144 520.8 Q -(xtensions:)-.15 E F1(%b)144 532.8 Q F0(causes)180 532.8 Q F1(printf) -2.596 E F0 .096(to e)2.596 F .096 +\214cations, each of which causes printing of the ne)144 508.8 R .037 +(xt successi)-.15 F -.15(ve)-.25 G F2(ar)144 520.8 Q(gument)-.37 E F0 +5.532(.I)C 3.032(na)-5.532 G .532(ddition to the standard)-3.032 F F2 +(printf)3.032 E F0 .532(\(1\) format speci\214cations,)B F1(printf)3.031 +E F0 .531(interprets the follo)3.031 F(w-)-.25 E(ing e)144 532.8 Q +(xtensions:)-.15 E F1(%b)144 544.8 Q F0(causes)180 544.8 Q F1(printf) +2.595 E F0 .096(to e)2.595 F .096 (xpand backslash escape sequences in the corresponding)-.15 F F2(ar) -2.596 E(gument)-.37 E F0 .095(in the)2.595 F(same w)180 544.8 Q(ay as) --.1 E F1(echo \255e)2.5 E F0(.)A F1(%q)144 556.8 Q F0(causes)180 556.8 Q +2.596 E(gument)-.37 E F0 .096(in the)2.596 F(same w)180 556.8 Q(ay as) +-.1 E F1(echo \255e)2.5 E F0(.)A F1(%q)144 568.8 Q F0(causes)180 568.8 Q F1(printf)2.51 E F0 .01(to output the corresponding)2.51 F F2(ar)2.51 E (gument)-.37 E F0 .01(in a format that can be reused as shell)2.51 F -(input.)180 568.8 Q F1(%\()144 580.8 Q F2(datefmt)A F1(\)T)A F0(causes) -180 592.8 Q F1(printf)4.404 E F0 1.904 -(to output the date-time string resulting from using)4.404 F F2(datefmt) -4.404 E F0 1.903(as a format)4.404 F .38(string for)180 604.8 R F2 +(input.)180 580.8 Q F1(%\()144 592.8 Q F2(datefmt)A F1(\)T)A F0(causes) +180 604.8 Q F1(printf)4.403 E F0 1.904 +(to output the date-time string resulting from using)4.403 F F2(datefmt) +4.404 E F0 1.904(as a format)4.404 F .381(string for)180 616.8 R F2 (strftime)2.881 E F0 2.881(\(3\). The)B(corresponding)2.881 E F2(ar) 2.881 E(gument)-.37 E F0 .381(is an inte)2.881 F .381 -(ger representing the number)-.15 F .293(of seconds since the epoch.)180 -616.8 R -1 -.8(Tw o)5.293 H .293(special ar)3.593 F .293(gument v)-.18 F -.293(alues may be used: \2551 represents the)-.25 F .693 -(current time, and \2552 represents the time the shell w)180 628.8 R -.693(as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.194(d. If).1 F .694(no ar) -3.194 F .694(gument is speci-)-.18 F .21(\214ed, con)180 640.8 R -.15 +(ger representing the number)-.15 F .292(of seconds since the epoch.)180 +628.8 R -1 -.8(Tw o)5.293 H .293(special ar)3.593 F .293(gument v)-.18 F +.293(alues may be used: \2551 represents the)-.25 F .694 +(current time, and \2552 represents the time the shell w)180 640.8 R +.693(as in)-.1 F -.2(vo)-.4 G -.1(ke).2 G 3.193(d. If).1 F .693(no ar) +3.193 F .693(gument is speci-)-.18 F .21(\214ed, con)180 652.8 R -.15 (ve)-.4 G .21(rsion beha).15 F -.15(ve)-.2 G 2.71(sa).15 G 2.71(si)-2.71 G 2.71<66ad>-2.71 G 2.71(1h)-2.71 G .21(ad been gi)-2.71 F -.15(ve)-.25 G 2.71(n. This).15 F .21(is an e)2.71 F .21(xception to the usual)-.15 F -F1(printf)2.71 E F0(beha)180 652.8 Q(vior)-.2 E(.)-.55 E .901 -(The %b, %q, and %T directi)144 669.6 R -.15(ve)-.25 G 3.401(sa).15 G -.901(ll use the \214eld width and precision ar)-3.401 F .902 -(guments from the format)-.18 F .358(speci\214cation and write that man) -144 681.6 R 2.858(yb)-.15 G .357 -(ytes from \(or use that wide a \214eld for\) the e)-2.858 F .357 +F1(printf)2.71 E F0(beha)180 664.8 Q(vior)-.2 E(.)-.55 E .902 +(The %b, %q, and %T directi)144 681.6 R -.15(ve)-.25 G 3.401(sa).15 G +.901(ll use the \214eld width and precision ar)-3.401 F .901 +(guments from the format)-.18 F .357(speci\214cation and write that man) +144 693.6 R 2.857(yb)-.15 G .358 +(ytes from \(or use that wide a \214eld for\) the e)-2.857 F .358 (xpanded ar)-.15 F(gument,)-.18 E -(which usually contains more characters than the original.)144 693.6 Q -(Ar)144 710.4 Q .463(guments to non-string format speci\214ers are trea\ -ted as C constants, e)-.18 F .464(xcept that a leading plus or)-.15 F -1.259(minus sign is allo)144 722.4 R 1.259 -(wed, and if the leading character is a single or double quote, the v) --.25 F 1.258(alue is the)-.25 F(GNU Bash 5.0)72 768 Q(2004 Apr 20) -149.565 E(12)198.725 E 0 Cg EP +(which usually contains more characters than the original.)144 705.6 Q +(Ar)144 722.4 Q .464(guments to non-string format speci\214ers are trea\ +ted as C constants, e)-.18 F .463(xcept that a leading plus or)-.15 F +(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(12)198.725 E 0 Cg EP %%Page: 13 13 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E(ASCII v)144 84 Q(alue of the follo)-.25 E -(wing character)-.25 E(.)-.55 E(The)144 100.8 Q/F1 10/Times-Italic@0 SF -(format)2.514 E F0 .015(is reused as necessary to consume all of the) -2.514 F F1(ar)2.515 E(guments)-.37 E F0 5.015(.I)C 2.515(ft)-5.015 G(he) --2.515 E F1(format)2.515 E F0 .015(requires more)2.515 F F1(ar)2.515 E -(-)-.2 E(guments)144 112.8 Q F0 .566(than are supplied, the e)3.066 F +E(UIL)-.1 E(TINS\(1\))-.92 E 1.258(minus sign is allo)144 84 R 1.259 +(wed, and if the leading character is a single or double quote, the v) +-.25 F 1.259(alue is the)-.25 F(ASCII v)144 96 Q(alue of the follo)-.25 +E(wing character)-.25 E(.)-.55 E(The)144 112.8 Q/F1 10/Times-Italic@0 SF +(format)2.515 E F0 .015(is reused as necessary to consume all of the) +2.515 F F1(ar)2.515 E(guments)-.37 E F0 5.015(.I)C 2.514(ft)-5.015 G(he) +-2.514 E F1(format)2.514 E F0 .014(requires more)2.514 F F1(ar)2.514 E +(-)-.2 E(guments)144 124.8 Q F0 .565(than are supplied, the e)3.065 F .566(xtra format speci\214cations beha)-.15 F .866 -.15(ve a)-.2 H 3.066 -(si).15 G 3.065(faz)-3.066 G .565(ero v)-3.065 F .565 +(si).15 G 3.066(faz)-3.066 G .566(ero v)-3.066 F .566 (alue or null string,)-.25 F(as appropriate, had been supplied.)144 -124.8 Q(The return v)5 E(alue is zero on success, non-zero on f)-.25 E -(ailure.)-.1 E/F2 10/Times-Bold@0 SF(pushd)108 141.6 Q F0([)2.5 E F2 +136.8 Q(The return v)5 E(alue is zero on success, non-zero on f)-.25 E +(ailure.)-.1 E/F2 10/Times-Bold@0 SF(pushd)108 153.6 Q F0([)2.5 E F2 <ad6e>A F0 2.5(][)C(+)-2.5 E F1(n)A F0 2.5(][)C<ad>-2.5 E F1(n)A F0(])A -F2(pushd)108 153.6 Q F0([)2.5 E F2<ad6e>A F0 2.5(][)C F1(dir)-2.5 E F0 -(])A .639(Adds a directory to the top of the directory stack, or rotate\ -s the stack, making the ne)144 165.6 R 3.14(wt)-.25 G .64(op of the) --3.14 F .417(stack the current w)144 177.6 R .416(orking directory)-.1 F -5.416(.W)-.65 G .416(ith no ar)-5.816 F(guments,)-.18 E F2(pushd)2.916 E -F0 -.15(ex)2.916 G .416(changes the top tw).15 F 2.916(od)-.1 G -(irectories)-2.916 E 1.625 -(and returns 0, unless the directory stack is empty)144 189.6 R 6.625 +F2(pushd)108 165.6 Q F0([)2.5 E F2<ad6e>A F0 2.5(][)C F1(dir)-2.5 E F0 +(])A .64(Adds a directory to the top of the directory stack, or rotates\ + the stack, making the ne)144 177.6 R 3.139(wt)-.25 G .639(op of the) +-3.139 F .416(stack the current w)144 189.6 R .416(orking directory)-.1 +F 5.416(.W)-.65 G .416(ith no ar)-5.816 F(guments,)-.18 E F2(pushd)2.916 +E F0 -.15(ex)2.916 G .416(changes the top tw).15 F 2.917(od)-.1 G +(irectories)-2.917 E 1.625 +(and returns 0, unless the directory stack is empty)144 201.6 R 6.625 (.A)-.65 G -.18(rg)-6.625 G 1.625(uments, if supplied, ha).18 F 1.925 --.15(ve t)-.2 H 1.625(he follo).15 F(wing)-.25 E(meanings:)144 201.6 Q -F2<ad6e>144 213.6 Q F0 1.811(Suppresses the normal change of directory \ -when rotating or adding directories to the)180 213.6 R -(stack, so that only the stack is manipulated.)180 225.6 Q F2(+)144 -237.6 Q F1(n)A F0 1.267(Rotates the stack so that the)180 237.6 R F1(n) -3.767 E F0 1.268(th directory \(counting from the left of the list sho)B -1.268(wn by)-.25 F F2(dirs)180 249.6 Q F0 2.5(,s)C -(tarting with zero\) is at the top.)-2.5 E F2<ad>144 261.6 Q F1(n)A F0 -.92(Rotates the stack so that the)180 261.6 R F1(n)3.42 E F0 .92 +-.15(ve t)-.2 H 1.625(he follo).15 F(wing)-.25 E(meanings:)144 213.6 Q +F2<ad6e>144 225.6 Q F0 1.811(Suppresses the normal change of directory \ +when rotating or adding directories to the)180 225.6 R +(stack, so that only the stack is manipulated.)180 237.6 Q F2(+)144 +249.6 Q F1(n)A F0 1.268(Rotates the stack so that the)180 249.6 R F1(n) +3.768 E F0 1.267(th directory \(counting from the left of the list sho)B +1.267(wn by)-.25 F F2(dirs)180 261.6 Q F0 2.5(,s)C +(tarting with zero\) is at the top.)-2.5 E F2<ad>144 273.6 Q F1(n)A F0 +.92(Rotates the stack so that the)180 273.6 R F1(n)3.42 E F0 .92 (th directory \(counting from the right of the list sho)B .92(wn by)-.25 -F F2(dirs)180 273.6 Q F0 2.5(,s)C(tarting with zero\) is at the top.) --2.5 E F1(dir)144.35 285.6 Q F0(Adds)180 285.6 Q F1(dir)3.137 E F0 .287 -(to the directory stack at the top, making it the ne)3.517 F 2.788(wc) --.25 G .288(urrent w)-2.788 F .288(orking directory as)-.1 F -(if it had been supplied as the ar)180 297.6 Q(gument to the)-.18 E F2 -(cd)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .489(If the)144 314.4 R F2(pushd) -2.989 E F0 .489(command is successful, a)2.989 F F2(dirs)2.988 E F0 .488 -(is performed as well.)2.988 F .488(If the \214rst form is used,)5.488 F -F2(pushd)2.988 E F0 1.039(returns 0 unless the cd to)144 326.4 R F1(dir) -3.889 E F0 -.1(fa)4.269 G 3.539(ils. W).1 F 1.039(ith the second form,) --.4 F F2(pushd)3.54 E F0 1.04(returns 0 unless the directory)3.54 F .847 -(stack is empty)144 338.4 R 3.347(,an)-.65 G(on-e)-3.347 E .847(xistent\ +F F2(dirs)180 285.6 Q F0 2.5(,s)C(tarting with zero\) is at the top.) +-2.5 E F1(dir)144.35 297.6 Q F0(Adds)180 297.6 Q F1(dir)3.138 E F0 .288 +(to the directory stack at the top, making it the ne)3.518 F 2.787(wc) +-.25 G .287(urrent w)-2.787 F .287(orking directory as)-.1 F +(if it had been supplied as the ar)180 309.6 Q(gument to the)-.18 E F2 +(cd)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .488(If the)144 326.4 R F2(pushd) +2.988 E F0 .488(command is successful, a)2.988 F F2(dirs)2.988 E F0 .488 +(is performed as well.)2.988 F .489(If the \214rst form is used,)5.488 F +F2(pushd)2.989 E F0 1.04(returns 0 unless the cd to)144 338.4 R F1(dir) +3.89 E F0 -.1(fa)4.27 G 3.539(ils. W).1 F 1.039(ith the second form,)-.4 +F F2(pushd)3.539 E F0 1.039(returns 0 unless the directory)3.539 F .846 +(stack is empty)144 350.4 R 3.346(,an)-.65 G(on-e)-3.346 E .847(xistent\ directory stack element is speci\214ed, or the directory change to the) --.15 F(speci\214ed ne)144 350.4 Q 2.5(wc)-.25 G(urrent directory f)-2.5 -E(ails.)-.1 E F2(pwd)108 367.2 Q F0([)2.5 E F2(\255LP)A F0(])A .844 -(Print the absolute pathname of the current w)144 379.2 R .845 -(orking directory)-.1 F 5.845(.T)-.65 G .845 -(he pathname printed contains no)-5.845 F .182(symbolic links if the)144 -391.2 R F2<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F2 +-.15 F(speci\214ed ne)144 362.4 Q 2.5(wc)-.25 G(urrent directory f)-2.5 +E(ails.)-.1 E F2(pwd)108 379.2 Q F0([)2.5 E F2(\255LP)A F0(])A .845 +(Print the absolute pathname of the current w)144 391.2 R .845 +(orking directory)-.1 F 5.844(.T)-.65 G .844 +(he pathname printed contains no)-5.844 F .181(symbolic links if the)144 +403.2 R F2<ad50>2.681 E F0 .181(option is supplied or the)2.681 F F2 .181(\255o ph)2.681 F(ysical)-.15 E F0 .181(option to the)2.681 F F2 -(set)2.681 E F0 -.2(bu)2.681 G .181(iltin command is).2 F 3.263 -(enabled. If)144 403.2 R(the)3.263 E F2<ad4c>3.263 E F0 .763 -(option is used, the pathname printed may contain symbolic links.)3.263 -F .764(The return)5.764 F .405(status is 0 unless an error occurs while\ - reading the name of the current directory or an in)144 415.2 R -.25(va) --.4 G .405(lid op-).25 F(tion is supplied.)144 427.2 Q F2 -.18(re)108 -444 S(ad).18 E F0([)3.816 E F2(\255ers)A F0 3.816(][)C F2<ad61>-3.816 E -F1(aname)3.816 E F0 3.816(][)C F2<ad64>-3.816 E F1(delim)3.816 E F0 -3.816(][)C F2<ad69>-3.816 E F1(te)3.816 E(xt)-.2 E F0 3.816(][)C F2 -<ad6e>-3.816 E F1(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2<ad4e> --3.817 E F1(nc)3.817 E(har)-.15 E(s)-.1 E F0 3.817(][)C F2<ad70>-3.817 E -F1(pr)3.817 E(ompt)-.45 E F0 3.817(][)C F2<ad74>-3.817 E F1(timeout) -3.817 E F0 3.817(][)C F2<ad75>-3.817 E F1(fd)3.817 E F0(])A([)108 456 Q +(set)2.681 E F0 -.2(bu)2.681 G .182(iltin command is).2 F 3.264 +(enabled. If)144 415.2 R(the)3.264 E F2<ad4c>3.264 E F0 .763 +(option is used, the pathname printed may contain symbolic links.)3.264 +F .763(The return)5.763 F .405(status is 0 unless an error occurs while\ + reading the name of the current directory or an in)144 427.2 R -.25(va) +-.4 G .405(lid op-).25 F(tion is supplied.)144 439.2 Q F2 -.18(re)108 +456 S(ad).18 E F0([)3.817 E F2(\255ers)A F0 3.817(][)C F2<ad61>-3.817 E +F1(aname)3.817 E F0 3.817(][)C F2<ad64>-3.817 E F1(delim)3.817 E F0 +3.817(][)C F2<ad69>-3.817 E F1(te)3.817 E(xt)-.2 E F0 3.817(][)C F2 +<ad6e>-3.817 E F1(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.816(][)C F2<ad4e> +-3.816 E F1(nc)3.816 E(har)-.15 E(s)-.1 E F0 3.816(][)C F2<ad70>-3.816 E +F1(pr)3.816 E(ompt)-.45 E F0 3.816(][)C F2<ad74>-3.816 E F1(timeout) +3.816 E F0 3.816(][)C F2<ad75>-3.816 E F1(fd)3.816 E F0(])A([)108 468 Q F1(name)A F0(...])2.5 E .516(One line is read from the standard input, \ -or from the \214le descriptor)144 468 R F1(fd)3.016 E F0 .516 -(supplied as an ar)3.016 F .516(gument to)-.18 F(the)144 480 Q F2<ad75> -2.935 E F0 .435(option, split into w)2.935 F .435(ords as described abo) +or from the \214le descriptor)144 480 R F1(fd)3.016 E F0 .516 +(supplied as an ar)3.016 F .517(gument to)-.18 F(the)144 492 Q F2<ad75> +2.936 E F0 .436(option, split into w)2.936 F .435(ords as described abo) -.1 F .735 -.15(ve u)-.15 H(nder).15 E F2 -.75(Wo)2.935 G .435 -(rd Splitting).75 F F0 2.935(,a)C .436(nd the \214rst w)-2.935 F .436 -(ord is as-)-.1 F .376(signed to the \214rst)144 492 R F1(name)3.236 E +(rd Splitting).75 F F0 2.935(,a)C .435(nd the \214rst w)-2.935 F .435 +(ord is as-)-.1 F .375(signed to the \214rst)144 504 R F1(name)3.235 E F0 2.876(,t).18 G .376(he second w)-2.876 F .376(ord to the second)-.1 F -F1(name)3.236 E F0 2.876(,a).18 G .376(nd so on.)-2.876 F .375 -(If there are more w)5.376 F(ords)-.1 E .236 -(than names, the remaining w)144 504 R .237(ords and their interv)-.1 F -.237(ening delimiters are assigned to the last)-.15 F F1(name)3.097 E F0 -5.237(.I).18 G(f)-5.237 E .875(there are fe)144 516 R .875(wer w)-.25 F +F1(name)3.236 E F0 2.876(,a).18 G .376(nd so on.)-2.876 F .376 +(If there are more w)5.376 F(ords)-.1 E .237 +(than names, the remaining w)144 516 R .237(ords and their interv)-.1 F +.237(ening delimiters are assigned to the last)-.15 F F1(name)3.096 E F0 +5.236(.I).18 G(f)-5.236 E .874(there are fe)144 528 R .874(wer w)-.25 F .875(ords read from the input stream than names, the remaining names ar\ -e assigned)-.1 F .517(empty v)144 528 R 3.017(alues. The)-.25 F .517 -(characters in)3.017 F/F3 9/Times-Bold@0 SF(IFS)3.017 E F0 .518 -(are used to split the line into w)2.767 F .518 -(ords using the same rules the)-.1 F .027(shell uses for e)144 540 R +e assigned)-.1 F .518(empty v)144 540 R 3.018(alues. The)-.25 F .518 +(characters in)3.018 F/F3 9/Times-Bold@0 SF(IFS)3.018 E F0 .518 +(are used to split the line into w)2.768 F .517 +(ords using the same rules the)-.1 F .026(shell uses for e)144 552 R .026(xpansion \(described abo)-.15 F .326 -.15(ve u)-.15 H(nder).15 E F2 -.75(Wo)2.526 G .026(rd Splitting).75 F F0 2.526(\). The)B .026 -(backslash character \()2.526 F F2(\\)A F0 2.526(\)m)C(ay)-2.526 E .488 -(be used to remo)144 552 R .788 -.15(ve a)-.15 H .788 -.15(ny s).15 H +(backslash character \()2.526 F F2(\\)A F0 2.527(\)m)C(ay)-2.527 E .489 +(be used to remo)144 564 R .788 -.15(ve a)-.15 H .788 -.15(ny s).15 H .488(pecial meaning for the ne).15 F .488 -(xt character read and for line continuation.)-.15 F(Op-)5.489 E -(tions, if supplied, ha)144 564 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F2<ad61>144 576 Q F1(aname)2.5 E F0 1.026(The w) -180 588 R 1.026(ords are assigned to sequential indices of the array v) --.1 F(ariable)-.25 E F1(aname)3.855 E F0 3.525(,s).18 G 1.025 -(tarting at 0.)-3.525 F F1(aname)180.33 600 Q F0(is unset before an)2.68 +(xt character read and for line continuation.)-.15 F(Op-)5.488 E +(tions, if supplied, ha)144 576 Q .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F2<ad61>144 588 Q F1(aname)2.5 E F0 1.025(The w) +180 600 R 1.026(ords are assigned to sequential indices of the array v) +-.1 F(ariable)-.25 E F1(aname)3.856 E F0 3.526(,s).18 G 1.026 +(tarting at 0.)-3.526 F F1(aname)180.33 612 Q F0(is unset before an)2.68 E 2.5(yn)-.15 G .5 -.25(ew va)-2.5 H(lues are assigned.).25 E(Other)5 E -F1(name)2.5 E F0(ar)2.5 E(guments are ignored.)-.18 E F2<ad64>144 612 Q -F1(delim)2.5 E F0 .28(The \214rst character of)180 624 R F1(delim)2.78 E -F0 .281(is used to terminate the input line, rather than ne)2.78 F 2.781 -(wline. If)-.25 F F1(de-)2.781 E(lim)180 636 Q F0(is the empty string,) -2.5 E F2 -.18(re)2.5 G(ad).18 E F0 +F1(name)2.5 E F0(ar)2.5 E(guments are ignored.)-.18 E F2<ad64>144 624 Q +F1(delim)2.5 E F0 .281(The \214rst character of)180 636 R F1(delim)2.781 +E F0 .281(is used to terminate the input line, rather than ne)2.781 F +2.78(wline. If)-.25 F F1(de-)2.78 E(lim)180 648 Q F0 +(is the empty string,)2.5 E F2 -.18(re)2.5 G(ad).18 E F0 (will terminate a line when it reads a NUL character)2.5 E(.)-.55 E F2 -<ad65>144 648 Q F0 .373 -(If the standard input is coming from a terminal,)180 648 R F2 -.18(re) -2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.872 E F0(abo)2.622 E --.15(ve)-.15 G 2.872(\)i).15 G 2.872(su)-2.872 G(sed)-2.872 E .218 -(to obtain the line.)180 660 R .218(Readline uses the current \(or def) +<ad65>144 660 Q F0 .372 +(If the standard input is coming from a terminal,)180 660 R F2 -.18(re) +2.873 G(adline).18 E F0(\(see)2.873 E F3(READLINE)2.873 E F0(abo)2.623 E +-.15(ve)-.15 G 2.873(\)i).15 G 2.873(su)-2.873 G(sed)-2.873 E .218 +(to obtain the line.)180 672 R .218(Readline uses the current \(or def) 5.218 F .218(ault, if line editing w)-.1 F .218(as not pre)-.1 F -(viously)-.25 E(acti)180 672 Q -.15(ve)-.25 G 2.5(\)e).15 G +(viously)-.25 E(acti)180 684 Q -.15(ve)-.25 G 2.5(\)e).15 G (diting settings, b)-2.5 E(ut uses Readline')-.2 E 2.5(sd)-.55 G(ef)-2.5 -E(ault \214lename completion.)-.1 E F2<ad69>144 684 Q F1(te)2.5 E(xt)-.2 -E F0(If)180 684 Q F2 -.18(re)2.716 G(adline).18 E F0 .216 -(is being used to read the line,)2.716 F F1(te)2.716 E(xt)-.2 E F0 .216 -(is placed into the editing b)2.716 F(uf)-.2 E .215(fer before edit-) --.25 F(ing be)180 696 Q(gins.)-.15 E(GNU Bash 5.0)72 768 Q(2004 Apr 20) +E(ault \214lename completion.)-.1 E F2<ad69>144 696 Q F1(te)2.5 E(xt)-.2 +E F0(If)180 696 Q F2 -.18(re)2.715 G(adline).18 E F0 .216 +(is being used to read the line,)2.715 F F1(te)2.716 E(xt)-.2 E F0 .216 +(is placed into the editing b)2.716 F(uf)-.2 E .216(fer before edit-) +-.25 F(ing be)180 708 Q(gins.)-.15 E(GNU Bash 5.0)72 768 Q(2004 Apr 20) 149.565 E(13)198.725 E 0 Cg EP %%Page: 14 14 %%BeginPageSetup @@ -1873,52 +1874,52 @@ BP (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad6e>144 84 Q/F2 10 /Times-Italic@0 SF(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 96 S(ad) -.18 E F0 .322(returns after reading)2.822 F F2(nc)2.823 E(har)-.15 E(s) +.18 E F0 .323(returns after reading)2.823 F F2(nc)2.823 E(har)-.15 E(s) -.1 E F0 .323(characters rather than w)2.823 F .323 (aiting for a complete line of in-)-.1 F(put, b)180 108 Q (ut honors a delimiter if fe)-.2 E(wer than)-.25 E F2(nc)2.5 E(har)-.15 E(s)-.1 E F0(characters are read before the delimiter)2.5 E(.)-.55 E F1 <ad4e>144 120 Q F2(nc)2.5 E(har)-.15 E(s)-.1 E F1 -.18(re)180 132 S(ad) -.18 E F0 1.269(returns after reading e)3.77 F(xactly)-.15 E F2(nc)3.769 -E(har)-.15 E(s)-.1 E F0 1.269(characters rather than w)3.769 F 1.269 -(aiting for a complete)-.1 F .274 +.18 E F0 1.269(returns after reading e)3.769 F(xactly)-.15 E F2(nc)3.769 +E(har)-.15 E(s)-.1 E F0 1.269(characters rather than w)3.769 F 1.27 +(aiting for a complete)-.1 F .275 (line of input, unless EOF is encountered or)180 144 R F1 -.18(re)2.775 -G(ad).18 E F0 .275(times out.)2.775 F .275(Delimiter characters encoun-) -5.275 F 1.003 +G(ad).18 E F0 .274(times out.)2.774 F .274(Delimiter characters encoun-) +5.274 F 1.002 (tered in the input are not treated specially and do not cause)180 156 R -F1 -.18(re)3.502 G(ad).18 E F0 1.002(to return until)3.502 F F2(nc)3.502 -E(har)-.15 E(s)-.1 E F0 .608(characters are read.)180 168 R .608 -(The result is not split on the characters in)5.608 F F1(IFS)3.108 E F0 -3.108(;t)C .609(he intent is that the)-3.108 F -.25(va)180 180 S .67 +F1 -.18(re)3.503 G(ad).18 E F0 1.003(to return until)3.503 F F2(nc)3.503 +E(har)-.15 E(s)-.1 E F0 .609(characters are read.)180 168 R .608 +(The result is not split on the characters in)5.609 F F1(IFS)3.108 E F0 +3.108(;t)C .608(he intent is that the)-3.108 F -.25(va)180 180 S .669 (riable is assigned e).25 F .669 -(xactly the characters read \(with the e)-.15 F .669 +(xactly the characters read \(with the e)-.15 F .67 (xception of backslash; see the)-.15 F F1<ad72>180 192 Q F0(option belo) 2.5 E(w\).)-.25 E F1<ad70>144 204 Q F2(pr)2.5 E(ompt)-.45 E F0(Display) -180 216 Q F2(pr)3.66 E(ompt)-.45 E F0 1.161(on standard error)3.66 F +180 216 Q F2(pr)3.661 E(ompt)-.45 E F0 1.161(on standard error)3.661 F 3.661(,w)-.4 G 1.161(ithout a trailing ne)-3.661 F 1.161 (wline, before attempting to read)-.25 F(an)180 228 Q 2.5(yi)-.15 G 2.5 (nput. The)-2.5 F (prompt is displayed only if input is coming from a terminal.)2.5 E F1 -<ad72>144 240 Q F0 .544(Backslash does not act as an escape character) -180 240 R 5.543(.T)-.55 G .543(he backslash is considered to be part of) --5.543 F .492(the line.)180 252 R .492(In particular)5.492 F 2.992(,ab) --.4 G(ackslash-ne)-2.992 E .493 +<ad72>144 240 Q F0 .543(Backslash does not act as an escape character) +180 240 R 5.543(.T)-.55 G .544(he backslash is considered to be part of) +-5.543 F .493(the line.)180 252 R .493(In particular)5.493 F 2.993(,ab) +-.4 G(ackslash-ne)-2.993 E .493 (wline pair may not then be used as a line continua-)-.25 F(tion.)180 264 Q F1<ad73>144 276 Q F0(Silent mode.)180 276 Q (If input is coming from a terminal, characters are not echoed.)5 E F1 -<ad74>144 288 Q F2(timeout)2.5 E F0(Cause)180 300 Q F1 -.18(re)2.929 G -(ad).18 E F0 .428(to time out and return f)2.929 F .428 -(ailure if a complete line of input \(or a speci\214ed num-)-.1 F .56 +<ad74>144 288 Q F2(timeout)2.5 E F0(Cause)180 300 Q F1 -.18(re)2.928 G +(ad).18 E F0 .428(to time out and return f)2.928 F .428 +(ailure if a complete line of input \(or a speci\214ed num-)-.1 F .561 (ber of characters\) is not read within)180 312 R F2(timeout)3.061 E F0 -(seconds.)3.061 E F2(timeout)5.561 E F0 .561(may be a decimal number) +(seconds.)3.061 E F2(timeout)5.561 E F0 .56(may be a decimal number) 3.061 F(with a fractional portion follo)180 324 Q (wing the decimal point.)-.25 E(This option is only ef)5 E(fecti)-.25 E .3 -.15(ve i)-.25 H(f).15 E F1 -.18(re)2.5 G(ad).18 E F0 .506(is readin\ g input from a terminal, pipe, or other special \214le; it has no ef)180 -336 R .506(fect when reading)-.25 F .59(from re)180 348 R .59 -(gular \214les.)-.15 F(If)5.59 E F1 -.18(re)3.09 G(ad).18 E F0 .589 -(times out,)3.09 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve)-.2 -G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .589 +336 R .505(fect when reading)-.25 F .589(from re)180 348 R .589 +(gular \214les.)-.15 F(If)5.589 E F1 -.18(re)3.089 G(ad).18 E F0 .589 +(times out,)3.089 F F1 -.18(re)3.089 G(ad).18 E F0(sa)3.089 E -.15(ve) +-.2 G 3.089(sa).15 G .889 -.15(ny p)-3.089 H .59 (artial input read into the speci\214ed).15 F -.25(va)180 360 S(riable) .25 E F2(name)2.77 E F0 5.27(.I)C(f)-5.27 E F2(timeout)2.77 E F0 .27 (is 0,)2.77 F F1 -.18(re)2.77 G(ad).18 E F0 .27(returns immediately)2.77 @@ -1928,1380 +1929,1388 @@ F 2.77(,w)-.65 G .27(ithout trying to read an)-2.77 F 2.77(yd)-.15 G .25 F 3.62(,n)-.4 G 1.12(on-zero other)-3.62 F(-)-.2 E 2.5(wise. The)180 384 R -.15(ex)2.5 G(it status is greater than 128 if the timeout is e) .15 E(xceeded.)-.15 E F1<ad75>144 396 Q F2(fd)2.5 E F0 -(Read input from \214le descriptor)180 396 Q F2(fd)2.5 E F0(.)A .476 -(If no)144 412.8 R F2(names)3.336 E F0 .476 -(are supplied, the line read is assigned to the v)3.246 F(ariable)-.25 E -/F3 9/Times-Bold@0 SF(REPL)2.977 E(Y)-.828 E/F4 9/Times-Roman@0 SF(.)A -F0 .477(The e)4.977 F .477(xit status is zero,)-.15 F .773 -(unless end-of-\214le is encountered,)144 424.8 R F1 -.18(re)3.273 G(ad) -.18 E F0 .772 -(times out \(in which case the status is greater than 128\), a)3.273 F --.25(va)144 436.8 S .852 -(riable assignment error \(such as assigning to a readonly v).25 F .853 -(ariable\) occurs, or an in)-.25 F -.25(va)-.4 G .853(lid \214le de-).25 -F(scriptor is supplied as the ar)144 448.8 Q(gument to)-.18 E F1<ad75> -2.5 E F0(.)A F1 -.18(re)108 465.6 S(adonly).18 E F0([)2.5 E F1(\255aAf)A -F0 2.5(][)C F1<ad70>-2.5 E F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(wor)A -(d)-.37 E F0 2.5(].)C(..])-2.5 E .77(The gi)144 477.6 R -.15(ve)-.25 G -(n).15 E F2(names)3.27 E F0 .77(are mark)3.27 F .77(ed readonly; the v) --.1 F .77(alues of these)-.25 F F2(names)3.63 E F0 .77 -(may not be changed by subse-)3.54 F 1.096(quent assignment.)144 489.6 R -1.096(If the)6.096 F F1<ad66>3.596 E F0 1.097 -(option is supplied, the functions corresponding to the)3.596 F F2 -(names)3.597 E F0 1.097(are so)3.597 F(mark)144 501.6 Q 3.334(ed. The) +(Read input from \214le descriptor)180 396 Q F2(fd)2.5 E F0(.)A .522 +(If no)144 412.8 R F2(names)3.382 E F0 .522 +(are supplied, the line read, without the ending delimiter b)3.292 F +.522(ut otherwise unmodi\214ed, is)-.2 F 1.186(assigned to the v)144 +424.8 R(ariable)-.25 E/F3 9/Times-Bold@0 SF(REPL)3.686 E(Y)-.828 E/F4 9 +/Times-Roman@0 SF(.)A F0 1.186(The e)5.686 F 1.186 +(xit status is zero, unless end-of-\214le is encountered,)-.15 F F1 -.18 +(re)3.687 G(ad).18 E F0 .961 +(times out \(in which case the status is greater than 128\), a v)144 +436.8 R .96(ariable assignment error \(such as as-)-.25 F .706 +(signing to a readonly v)144 448.8 R .706(ariable\) occurs, or an in) +-.25 F -.25(va)-.4 G .706(lid \214le descriptor is supplied as the ar) +.25 F .707(gument to)-.18 F F1<ad75>144 460.8 Q F0(.)A F1 -.18(re)108 +477.6 S(adonly).18 E F0([)2.5 E F1(\255aAf)A F0 2.5(][)C F1<ad70>-2.5 E +F0 2.5(][)C F2(name)-2.5 E F0([=)A F2(wor)A(d)-.37 E F0 2.5(].)C(..]) +-2.5 E .77(The gi)144 489.6 R -.15(ve)-.25 G(n).15 E F2(names)3.27 E F0 +.77(are mark)3.27 F .77(ed readonly; the v)-.1 F .77(alues of these)-.25 +F F2(names)3.63 E F0 .77(may not be changed by subse-)3.54 F 1.096 +(quent assignment.)144 501.6 R 1.096(If the)6.096 F F1<ad66>3.596 E F0 +1.097(option is supplied, the functions corresponding to the)3.596 F F2 +(names)3.597 E F0 1.097(are so)3.597 F(mark)144 513.6 Q 3.334(ed. The) -.1 F F1<ad61>3.334 E F0 .834(option restricts the v)3.334 F .834 (ariables to inde)-.25 F -.15(xe)-.15 G 3.334(da).15 G .834(rrays; the) -3.334 F F1<ad41>3.334 E F0 .834(option restricts the v)3.334 F(ari-) --.25 E .776(ables to associati)144 513.6 R 1.076 -.15(ve a)-.25 H 3.276 +-.25 E .776(ables to associati)144 525.6 R 1.076 -.15(ve a)-.25 H 3.276 (rrays. If).15 F .777(both options are supplied,)3.276 F F1<ad41>3.277 E F0(tak)3.277 E .777(es precedence.)-.1 F .777(If no)5.777 F F2(name) -3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 525.6 R -.15(ve) +3.637 E F0(ar)3.457 E(gu-)-.18 E .522(ments are gi)144 537.6 R -.15(ve) -.25 G .521(n, or if the).15 F F1<ad70>3.021 E F0 .521 (option is supplied, a list of all readonly names is printed.)3.021 F .521(The other)5.521 F .295(options may be used to restrict the output \ -to a subset of the set of readonly names.)144 537.6 R(The)5.296 E F1 +to a subset of the set of readonly names.)144 549.6 R(The)5.296 E F1 <ad70>2.796 E F0(option)2.796 E .786 (causes output to be displayed in a format that may be reused as input.) -144 549.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144 -561.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) +144 561.6 R .786(If a v)5.786 F .785(ariable name is fol-)-.25 F(lo)144 +573.6 Q .717(wed by =)-.25 F F2(wor)A(d)-.37 E F0 3.218(,t)C .718(he v) -3.218 F .718(alue of the v)-.25 F .718(ariable is set to)-.25 F F2(wor) 3.218 E(d)-.37 E F0 5.718(.T)C .718(he return status is 0 unless an in) -5.718 F -.25(va)-.4 G(lid).25 E .26(option is encountered, one of the) -144 573.6 R F2(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v) +144 585.6 R F2(names)3.12 E F0 .26(is not a v)3.03 F .26(alid shell v) -.25 F .26(ariable name, or)-.25 F F1<ad66>2.76 E F0 .26 -(is supplied with a)2.76 F F2(name)144.36 585.6 Q F0 -(that is not a function.)2.68 E F1 -.18(re)108 602.4 S(tur).18 E(n)-.15 -E F0([)2.5 E F2(n)A F0(])A .02(Causes a function to stop e)144 614.4 R +(is supplied with a)2.76 F F2(name)144.36 597.6 Q F0 +(that is not a function.)2.68 E F1 -.18(re)108 614.4 S(tur).18 E(n)-.15 +E F0([)2.5 E F2(n)A F0(])A .02(Causes a function to stop e)144 626.4 R -.15(xe)-.15 G .02(cuting and return the v).15 F .021 (alue speci\214ed by)-.25 F F2(n)2.881 E F0 .021(to its caller)2.761 F 5.021(.I)-.55 G(f)-5.021 E F2(n)2.881 E F0 .021(is omitted,)2.761 F .597 -(the return status is that of the last command e)144 626.4 R -.15(xe) +(the return status is that of the last command e)144 638.4 R -.15(xe) -.15 G .596(cuted in the function body).15 F 5.596(.I)-.65 G(f)-5.596 E F1 -.18(re)3.096 G(tur).18 E(n)-.15 E F0 .596(is e)3.096 F -.15(xe)-.15 -G(cuted).15 E .267(by a trap handler)144 638.4 R 2.767(,t)-.4 G .267 +G(cuted).15 E .267(by a trap handler)144 650.4 R 2.767(,t)-.4 G .267 (he last command used to determine the status is the last command e) -2.767 F -.15(xe)-.15 G .268(cuted be-).15 F .02(fore the trap handler) -144 650.4 R 5.02(.I)-.55 G(f)-5.02 E F1 -.18(re)2.52 G(tur).18 E(n)-.15 +144 662.4 R 5.02(.I)-.55 G(f)-5.02 E F1 -.18(re)2.52 G(tur).18 E(n)-.15 E F0 .02(is e)2.52 F -.15(xe)-.15 G .02(cuted during a).15 F F1(DEB)2.52 E(UG)-.1 E F0 .02(trap, the last command used to deter)2.52 F(-)-.2 E -.885(mine the status is the last command e)144 662.4 R -.15(xe)-.15 G +.885(mine the status is the last command e)144 674.4 R -.15(xe)-.15 G .886(cuted by the trap handler before).15 F F1 -.18(re)3.386 G(tur).18 E (n)-.15 E F0 -.1(wa)3.386 G 3.386(si).1 G -1.9 -.4(nv o)-3.386 H -.1(ke) -.4 G 3.386(d. If).1 F F1 -.18(re)144 674.4 S(tur).18 E(n)-.15 E F0 .628 +.4 G 3.386(d. If).1 F F1 -.18(re)144 686.4 S(tur).18 E(n)-.15 E F0 .628 (is used outside a function, b)3.128 F .628(ut during e)-.2 F -.15(xe) -.15 G .628(cution of a script by the).15 F F1(.)3.127 E F0(\()5.627 E F1(sour)A(ce)-.18 E F0 3.127(\)c)C .627(ommand, it)-3.127 F .588 -(causes the shell to stop e)144 686.4 R -.15(xe)-.15 G .588 +(causes the shell to stop e)144 698.4 R -.15(xe)-.15 G .588 (cuting that script and return either).15 F F2(n)3.448 E F0 .589 (or the e)3.329 F .589(xit status of the last com-)-.15 F .326(mand e) -144 698.4 R -.15(xe)-.15 G .326(cuted within the script as the e).15 F +144 710.4 R -.15(xe)-.15 G .326(cuted within the script as the e).15 F .326(xit status of the script.)-.15 F(If)5.326 E F2(n)2.826 E F0 .325 -(is supplied, the return v)2.826 F .325(alue is)-.25 F .444 -(its least signi\214cant 8 bits.)144 710.4 R .444 -(The return status is non-zero if)5.444 F F1 -.18(re)2.945 G(tur).18 E -(n)-.15 E F0 .445(is supplied a non-numeric ar)2.945 F(gu-)-.18 E 1.683 -(ment, or is used outside a function and not during e)144 722.4 R -.15 -(xe)-.15 G 1.682(cution of a script by).15 F F1(.)4.182 E F0(or)5.015 E -F1(sour)4.182 E(ce)-.18 E F0 6.682(.A)C -.15(ny)-6.682 G(GNU Bash 5.0)72 -768 Q(2004 Apr 20)149.565 E(14)198.725 E 0 Cg EP +(is supplied, the return v)2.826 F .325(alue is)-.25 F 2.035 +(its least signi\214cant 8 bits.)144 722.4 R 2.035 +(The return status is non-zero if)7.035 F F1 -.18(re)4.536 G(tur).18 E +(n)-.15 E F0 2.036(is supplied a non-numeric)4.536 F(GNU Bash 5.0)72 768 +Q(2004 Apr 20)149.565 E(14)198.725 E 0 Cg EP %%Page: 15 15 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E .365(command associated with the)144 84 R -/F1 10/Times-Bold@0 SF(RETURN)2.865 E F0 .365(trap is e)2.865 F -.15(xe) --.15 G .365(cuted before e).15 F -.15(xe)-.15 G .366 -(cution resumes after the func-).15 F(tion or script.)144 96 Q F1(set) -108 112.8 Q F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1 -<ad6f>-2.5 E/F2 10/Times-Italic@0 SF(option\255name)2.5 E F0 2.5(][)C F2 -(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 124.8 Q F0([)2.5 E F1 +E(UIL)-.1 E(TINS\(1\))-.92 E(ar)144 84 Q .706 +(gument, or is used outside a function and not during e)-.18 F -.15(xe) +-.15 G .705(cution of a script by).15 F/F1 10/Times-Bold@0 SF(.)3.205 E +F0(or)4.038 E F1(sour)3.205 E(ce)-.18 E F0 5.705(.A)C -.15(ny)-5.705 G +.365(command associated with the)144 96 R F1(RETURN)2.865 E F0 .365 +(trap is e)2.865 F -.15(xe)-.15 G .365(cuted before e).15 F -.15(xe)-.15 +G .366(cution resumes after the func-).15 F(tion or script.)144 108 Q F1 +(set)108 124.8 Q F0([)2.5 E F1(\255\255abefhkmnptuvxBCEHPT)A F0 2.5(][)C +F1<ad6f>-2.5 E/F2 10/Times-Italic@0 SF(option\255name)2.5 E F0 2.5(][)C +F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E F1(set)108 136.8 Q F0([)2.5 E F1 (+abefhkmnptuvxBCEHPT)A F0 2.5(][)C F1(+o)-2.5 E F2(option\255name)2.5 E -F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 136.8 S .836 +F0 2.5(][)C F2(ar)-2.5 E(g)-.37 E F0(...])2.5 E -.4(Wi)144 148.8 S .836 (thout options, the name and v).4 F .835(alue of each shell v)-.25 F .835(ariable are displayed in a format that can be)-.25 F .784 -(reused as input for setting or resetting the currently-set v)144 148.8 +(reused as input for setting or resetting the currently-set v)144 160.8 R 3.284(ariables. Read-only)-.25 F -.25(va)3.284 G .784 -(riables cannot be).25 F 2.947(reset. In)144 160.8 R F2 .447(posix mode) +(riables cannot be).25 F 2.947(reset. In)144 172.8 R F2 .447(posix mode) 2.947 F F0 2.947(,o)C .447(nly shell v)-2.947 F .447 (ariables are listed.)-.25 F .447 (The output is sorted according to the current)5.447 F 3.53 -(locale. When)144 172.8 R 1.031(options are speci\214ed, the)3.53 F +(locale. When)144 184.8 R 1.031(options are speci\214ed, the)3.53 F 3.531(ys)-.15 G 1.031(et or unset shell attrib)-3.531 F 3.531(utes. An) -.2 F 3.531(ya)-.15 G -.18(rg)-3.531 G 1.031(uments remaining).18 F .585 -(after option processing are treated as v)144 184.8 R .584 +(after option processing are treated as v)144 196.8 R .584 (alues for the positional parameters and are assigned, in or)-.25 F(-) --.2 E(der)144 196.8 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 +-.2 E(der)144 208.8 Q 2.5(,t)-.4 G(o)-2.5 E F1($1)2.5 E F0(,)A F1($2)2.5 E F0(,)A F1 2.5(... $)2.5 F F2(n)A F0 5(.O)C(ptions, if speci\214ed, ha) -5 E .3 -.15(ve t)-.2 H(he follo).15 E(wing meanings:)-.25 E F1<ad61>144 -208.8 Q F0 1.377(Each v)184 208.8 R 1.377 +220.8 Q F0 1.377(Each v)184 220.8 R 1.377 (ariable or function that is created or modi\214ed is gi)-.25 F -.15(ve) -.25 G 3.877(nt).15 G 1.377(he e)-3.877 F 1.378(xport attrib)-.15 F -1.378(ute and)-.2 F(mark)184 220.8 Q(ed for e)-.1 E(xport to the en)-.15 -E(vironment of subsequent commands.)-.4 E F1<ad62>144 232.8 Q F0 .132 -(Report the status of terminated background jobs immediately)184 232.8 R +1.378(ute and)-.2 F(mark)184 232.8 Q(ed for e)-.1 E(xport to the en)-.15 +E(vironment of subsequent commands.)-.4 E F1<ad62>144 244.8 Q F0 .132 +(Report the status of terminated background jobs immediately)184 244.8 R 2.632(,r)-.65 G .131(ather than before the ne)-2.632 F(xt)-.15 E -(primary prompt.)184 244.8 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) --.25 H(nly when job control is enabled.).15 E F1<ad65>144 256.8 Q F0 -.087(Exit immediately if a)184 256.8 R F2(pipeline)2.587 E F0 .087 +(primary prompt.)184 256.8 Q(This is ef)5 E(fecti)-.25 E .3 -.15(ve o) +-.25 H(nly when job control is enabled.).15 E F1<ad65>144 268.8 Q F0 +.087(Exit immediately if a)184 268.8 R F2(pipeline)2.587 E F0 .087 (\(which may consist of a single)2.587 F F2 .088(simple command)2.588 F -F0 .088(\), a)B F2(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 268.8 Q +F0 .088(\), a)B F2(list)2.588 E F0 2.588(,o)C(r)-2.588 E(a)184 280.8 Q F2 1.521(compound command)4.021 F F0(\(see)4.021 E/F3 9/Times-Bold@0 SF 1.521(SHELL GRAMMAR)4.021 F F0(abo)3.771 E -.15(ve)-.15 G 1.521(\), e) .15 F 1.521(xits with a non-zero status.)-.15 F .079 -(The shell does not e)184 280.8 R .079(xit if the command that f)-.15 F -.08(ails is part of the command list immediately)-.1 F(follo)184 292.8 Q +(The shell does not e)184 292.8 R .079(xit if the command that f)-.15 F +.08(ails is part of the command list immediately)-.1 F(follo)184 304.8 Q 1.655(wing a)-.25 F F1(while)4.155 E F0(or)4.155 E F1(until)4.155 E F0 -.1(ke)4.155 G(yw)-.05 E 1.655(ord, part of the test follo)-.1 F 1.654 (wing the)-.25 F F1(if)4.154 E F0(or)4.154 E F1(elif)4.154 E F0(reserv) -4.154 E(ed)-.15 E -.1(wo)184 304.8 S .581(rds, part of an).1 F 3.081(yc) +4.154 E(ed)-.15 E -.1(wo)184 316.8 S .581(rds, part of an).1 F 3.081(yc) -.15 G .581(ommand e)-3.081 F -.15(xe)-.15 G .581(cuted in a).15 F F1 (&&)3.081 E F0(or)3.081 E F1(||)3.081 E F0 .582(list e)3.082 F .582 -(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 316.8 R +(xcept the command follo)-.15 F(wing)-.25 E .918(the \214nal)184 328.8 R F1(&&)3.418 E F0(or)3.418 E F1(||)3.418 E F0 3.418(,a)C 1.218 -.15(ny c) -3.418 H .918(ommand in a pipeline b).15 F .917 (ut the last, or if the command')-.2 F 3.417(sr)-.55 G(eturn)-3.417 E --.25(va)184 328.8 S .66(lue is being in).25 F -.15(ve)-.4 G .66 +-.25(va)184 340.8 S .66(lue is being in).25 F -.15(ve)-.4 G .66 (rted with).15 F F1(!)3.16 E F0 5.661(.I)C 3.161(fac)-5.661 G .661 (ompound command other than a subshell returns a)-3.161 F 1.113 -(non-zero status because a command f)184 340.8 R 1.112(ailed while)-.1 F +(non-zero status because a command f)184 352.8 R 1.112(ailed while)-.1 F F1<ad65>3.612 E F0 -.1(wa)3.612 G 3.612(sb).1 G 1.112 -(eing ignored, the shell does)-3.612 F .177(not e)184 352.8 R 2.677 +(eing ignored, the shell does)-3.612 F .177(not e)184 364.8 R 2.677 (xit. A)-.15 F .177(trap on)2.677 F F1(ERR)2.677 E F0 2.677(,i)C 2.678 (fs)-2.677 G .178(et, is e)-2.678 F -.15(xe)-.15 G .178 (cuted before the shell e).15 F 2.678(xits. This)-.15 F .178 -(option applies to)2.678 F .618(the shell en)184 364.8 R .617 +(option applies to)2.678 F .618(the shell en)184 376.8 R .617 (vironment and each subshell en)-.4 F .617(vironment separately \(see) --.4 F F3 .617(COMMAND EXE-)3.117 F .642(CUTION ENVIR)184 376.8 R(ONMENT) +-.4 F F3 .617(COMMAND EXE-)3.117 F .642(CUTION ENVIR)184 388.8 R(ONMENT) -.27 E F0(abo)2.893 E -.15(ve)-.15 G .643 (\), and may cause subshells to e).15 F .643(xit before e)-.15 F -.15 -(xe)-.15 G .643(cuting all).15 F(the commands in the subshell.)184 388.8 -Q .999(If a compound command or shell function e)184 406.8 R -.15(xe) +(xe)-.15 G .643(cuting all).15 F(the commands in the subshell.)184 400.8 +Q .999(If a compound command or shell function e)184 418.8 R -.15(xe) -.15 G .999(cutes in a conte).15 F .998(xt where)-.15 F F1<ad65>3.498 E F0 .998(is being ig-)3.498 F .089(nored, none of the commands e)184 -418.8 R -.15(xe)-.15 G .089 +430.8 R -.15(xe)-.15 G .089 (cuted within the compound command or function body).15 F .503 -(will be af)184 430.8 R .503(fected by the)-.25 F F1<ad65>3.002 E F0 +(will be af)184 442.8 R .503(fected by the)-.25 F F1<ad65>3.002 E F0 .502(setting, e)3.002 F -.15(ve)-.25 G 3.002(ni).15 G(f)-3.002 E F1 <ad65>3.002 E F0 .502(is set and a command returns a f)3.002 F .502 -(ailure sta-)-.1 F 4.183(tus. If)184 442.8 R 4.183(ac)4.183 G 1.683 +(ailure sta-)-.1 F 4.183(tus. If)184 454.8 R 4.183(ac)4.183 G 1.683 (ompound command or shell function sets)-4.183 F F1<ad65>4.184 E F0 1.684(while e)4.184 F -.15(xe)-.15 G 1.684(cuting in a conte).15 F(xt) --.15 E(where)184 454.8 Q F1<ad65>3.154 E F0 .654 +-.15 E(where)184 466.8 Q F1<ad65>3.154 E F0 .654 (is ignored, that setting will not ha)3.154 F .953 -.15(ve a)-.2 H .953 -.15(ny e).15 H -.25(ff).15 G .653(ect until the compound command).25 F -(or the command containing the function call completes.)184 466.8 Q F1 -<ad66>144 478.8 Q F0(Disable pathname e)184 478.8 Q(xpansion.)-.15 E F1 -<ad68>144 490.8 Q F0 .988(Remember the location of commands as the)184 -490.8 R 3.488(ya)-.15 G .988(re look)-3.488 F .988(ed up for e)-.1 F +(or the command containing the function call completes.)184 478.8 Q F1 +<ad66>144 490.8 Q F0(Disable pathname e)184 490.8 Q(xpansion.)-.15 E F1 +<ad68>144 502.8 Q F0 .988(Remember the location of commands as the)184 +502.8 R 3.488(ya)-.15 G .988(re look)-3.488 F .988(ed up for e)-.1 F -.15(xe)-.15 G 3.488(cution. This).15 F .988(is en-)3.488 F -(abled by def)184 502.8 Q(ault.)-.1 E F1<ad6b>144 514.8 Q F0 .514 -(All ar)184 514.8 R .514 +(abled by def)184 514.8 Q(ault.)-.1 E F1<ad6b>144 526.8 Q F0 .514 +(All ar)184 526.8 R .514 (guments in the form of assignment statements are placed in the en)-.18 F .513(vironment for a)-.4 F -(command, not just those that precede the command name.)184 526.8 Q F1 -<ad6d>144 538.8 Q F0 .148(Monitor mode.)184 538.8 R .148 +(command, not just those that precede the command name.)184 538.8 Q F1 +<ad6d>144 550.8 Q F0 .148(Monitor mode.)184 550.8 R .148 (Job control is enabled.)5.148 F .149(This option is on by def)5.148 F .149(ault for interacti)-.1 F .449 -.15(ve s)-.25 H(hells).15 E .651 -(on systems that support it \(see)184 550.8 R F3 .651(JOB CONTR)3.151 F +(on systems that support it \(see)184 562.8 R F3 .651(JOB CONTR)3.151 F (OL)-.27 E F0(abo)2.901 E -.15(ve)-.15 G 3.151(\). All).15 F .65 -(processes run in a separate)3.151 F .678(process group.)184 562.8 R +(processes run in a separate)3.151 F .678(process group.)184 574.8 R .679(When a background job completes, the shell prints a line containin\ -g its)5.678 F -.15(ex)184 574.8 S(it status.).15 E F1<ad6e>144 586.8 Q -F0 .653(Read commands b)184 586.8 R .653(ut do not e)-.2 F -.15(xe)-.15 +g its)5.678 F -.15(ex)184 586.8 S(it status.).15 E F1<ad6e>144 598.8 Q +F0 .653(Read commands b)184 598.8 R .653(ut do not e)-.2 F -.15(xe)-.15 G .653(cute them.).15 F .652 (This may be used to check a shell script for)5.653 F(syntax errors.)184 -598.8 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 -E F1<ad6f>144 610.8 Q F2(option\255name)2.5 E F0(The)184 622.8 Q F2 +610.8 Q(This is ignored by interacti)5 E .3 -.15(ve s)-.25 H(hells.).15 +E F1<ad6f>144 622.8 Q F2(option\255name)2.5 E F0(The)184 634.8 Q F2 (option\255name)2.5 E F0(can be one of the follo)2.5 E(wing:)-.25 E F1 -(allexport)184 634.8 Q F0(Same as)224 646.8 Q F1<ad61>2.5 E F0(.)A F1 -(braceexpand)184 658.8 Q F0(Same as)224 670.8 Q F1<ad42>2.5 E F0(.)A F1 -(emacs)184 682.8 Q F0 .089 -(Use an emacs-style command line editing interf)224 682.8 R 2.589 +(allexport)184 646.8 Q F0(Same as)224 658.8 Q F1<ad61>2.5 E F0(.)A F1 +(braceexpand)184 670.8 Q F0(Same as)224 682.8 Q F1<ad42>2.5 E F0(.)A F1 +(emacs)184 694.8 Q F0 .089 +(Use an emacs-style command line editing interf)224 694.8 R 2.589 (ace. This)-.1 F .089(is enabled by def)2.589 F(ault)-.1 E .95 -(when the shell is interacti)224 694.8 R -.15(ve)-.25 G 3.45(,u).15 G +(when the shell is interacti)224 706.8 R -.15(ve)-.25 G 3.45(,u).15 G .95(nless the shell is started with the)-3.45 F F1(\255\255noediting) -3.45 E F0 2.5(option. This)224 706.8 R(also af)2.5 E +3.45 E F0 2.5(option. This)224 718.8 R(also af)2.5 E (fects the editing interf)-.25 E(ace used for)-.1 E F1 -.18(re)2.5 G -(ad \255e).18 E F0(.)A F1(err)184 718.8 Q(exit)-.18 E F0(Same as)224 -718.8 Q F1<ad65>2.5 E F0(.)A(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E -(15)198.725 E 0 Cg EP +(ad \255e).18 E F0(.)A(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(15) +198.725 E 0 Cg EP %%Page: 16 16 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(errtrace)184 84 Q F0 -(Same as)224 84 Q F1<ad45>2.5 E F0(.)A F1(functrace)184 96 Q F0(Same as) -224 108 Q F1<ad54>2.5 E F0(.)A F1(hashall)184 120 Q F0(Same as)224 120 Q -F1<ad68>2.5 E F0(.)A F1(histexpand)184 132 Q F0(Same as)224 144 Q F1 -<ad48>2.5 E F0(.)A F1(history)184 156 Q F0 .586(Enable command history) -224 156 R 3.087(,a)-.65 G 3.087(sd)-3.087 G .587(escribed abo)-3.087 F -.887 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(HIST)3.087 E(OR) --.162 E(Y)-.315 E/F3 9/Times-Roman@0 SF(.)A F0 .587(This option is)5.087 -F(on by def)224 168 Q(ault in interacti)-.1 E .3 -.15(ve s)-.25 H -(hells.).15 E F1(ignor)184 180 Q(eeof)-.18 E F0 1.657(The ef)224 192 R -1.657(fect is as if the shell command)-.25 F/F4 10/Courier@0 SF -(IGNOREEOF=10)4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted) -.15 E(\(see)224 204 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15 -(ve)-.15 G(\).).15 E F1 -.1(ke)184 216 S(yw).1 E(ord)-.1 E F0(Same as) -224 228 Q F1<ad6b>2.5 E F0(.)A F1(monitor)184 240 Q F0(Same as)224 240 Q -F1<ad6d>2.5 E F0(.)A F1(noclob)184 252 Q(ber)-.1 E F0(Same as)224 264 Q -F1<ad43>2.5 E F0(.)A F1(noexec)184 276 Q F0(Same as)224 276 Q F1<ad6e> -2.5 E F0(.)A F1(noglob)184 288 Q F0(Same as)224 288 Q F1<ad66>2.5 E F0 -(.)A F1(nolog)184 300 Q F0(Currently ignored.)224 300 Q F1(notify)184 -312 Q F0(Same as)224 312 Q F1<ad62>2.5 E F0(.)A F1(nounset)184 324 Q F0 -(Same as)224 324 Q F1<ad75>2.5 E F0(.)A F1(onecmd)184 336 Q F0(Same as) -224 336 Q F1<ad74>2.5 E F0(.)A F1(ph)184 348 Q(ysical)-.15 E F0(Same as) -224 348 Q F1<ad50>2.5 E F0(.)A F1(pipefail)184 360 Q F0 1.029 -(If set, the return v)224 360 R 1.029(alue of a pipeline is the v)-.25 F -1.03(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 372 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(err)184 84 Q(exit) +-.18 E F0(Same as)224 84 Q F1<ad65>2.5 E F0(.)A F1(errtrace)184 96 Q F0 +(Same as)224 96 Q F1<ad45>2.5 E F0(.)A F1(functrace)184 108 Q F0 +(Same as)224 120 Q F1<ad54>2.5 E F0(.)A F1(hashall)184 132 Q F0(Same as) +224 132 Q F1<ad68>2.5 E F0(.)A F1(histexpand)184 144 Q F0(Same as)224 +156 Q F1<ad48>2.5 E F0(.)A F1(history)184 168 Q F0 .586 +(Enable command history)224 168 R 3.087(,a)-.65 G 3.087(sd)-3.087 G .587 +(escribed abo)-3.087 F .887 -.15(ve u)-.15 H(nder).15 E/F2 9 +/Times-Bold@0 SF(HIST)3.087 E(OR)-.162 E(Y)-.315 E/F3 9/Times-Roman@0 SF +(.)A F0 .587(This option is)5.087 F(on by def)224 180 Q +(ault in interacti)-.1 E .3 -.15(ve s)-.25 H(hells.).15 E F1(ignor)184 +192 Q(eeof)-.18 E F0 1.657(The ef)224 204 R 1.657 +(fect is as if the shell command)-.25 F/F4 10/Courier@0 SF(IGNOREEOF=10) +4.156 E F0 1.656(had been e)4.156 F -.15(xe)-.15 G(cuted).15 E(\(see)224 +216 Q F1(Shell V)2.5 E(ariables)-.92 E F0(abo)2.5 E -.15(ve)-.15 G(\).) +.15 E F1 -.1(ke)184 228 S(yw).1 E(ord)-.1 E F0(Same as)224 240 Q F1 +<ad6b>2.5 E F0(.)A F1(monitor)184 252 Q F0(Same as)224 252 Q F1<ad6d>2.5 +E F0(.)A F1(noclob)184 264 Q(ber)-.1 E F0(Same as)224 276 Q F1<ad43>2.5 +E F0(.)A F1(noexec)184 288 Q F0(Same as)224 288 Q F1<ad6e>2.5 E F0(.)A +F1(noglob)184 300 Q F0(Same as)224 300 Q F1<ad66>2.5 E F0(.)A F1(nolog) +184 312 Q F0(Currently ignored.)224 312 Q F1(notify)184 324 Q F0 +(Same as)224 324 Q F1<ad62>2.5 E F0(.)A F1(nounset)184 336 Q F0(Same as) +224 336 Q F1<ad75>2.5 E F0(.)A F1(onecmd)184 348 Q F0(Same as)224 348 Q +F1<ad74>2.5 E F0(.)A F1(ph)184 360 Q(ysical)-.15 E F0(Same as)224 360 Q +F1<ad50>2.5 E F0(.)A F1(pipefail)184 372 Q F0 1.029 +(If set, the return v)224 372 R 1.029(alue of a pipeline is the v)-.25 F +1.03(alue of the last \(rightmost\) com-)-.25 F 1.137(mand to e)224 384 R 1.136 (xit with a non-zero status, or zero if all commands in the pipeline) --.15 F -.15(ex)224 384 S(it successfully).15 E 5(.T)-.65 G -(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 396 Q F0 -2.09(Change the beha)224 396 R 2.091(vior of)-.2 F F1(bash)4.591 E F0 +-.15 F -.15(ex)224 396 S(it successfully).15 E 5(.T)-.65 G +(his option is disabled by def)-5 E(ault.)-.1 E F1(posix)184 408 Q F0 +2.09(Change the beha)224 408 R 2.091(vior of)-.2 F F1(bash)4.591 E F0 2.091(where the def)4.591 F 2.091(ault operation dif)-.1 F 2.091 (fers from the)-.25 F 1.212(POSIX standard to match the standard \()224 -408 R/F5 10/Times-Italic@0 SF 1.212(posix mode)B F0 3.712(\). See)B F2 +420 R/F5 10/Times-Italic@0 SF 1.212(posix mode)B F0 3.712(\). See)B F2 1.212(SEE ALSO)3.712 F F0(belo)3.462 E(w)-.25 E .954 -(for a reference to a document that details ho)224 420 R 3.455(wp)-.25 G +(for a reference to a document that details ho)224 432 R 3.455(wp)-.25 G .955(osix mode af)-3.455 F .955(fects bash')-.25 F 3.455(sb)-.55 G(e-) --3.455 E(ha)224 432 Q(vior)-.2 E(.)-.55 E F1(pri)184 444 Q(vileged)-.1 E -F0(Same as)224 456 Q F1<ad70>2.5 E F0(.)A F1 -.1(ve)184 468 S(rbose).1 E -F0(Same as)224 468 Q F1<ad76>2.5 E F0(.)A F1(vi)184 480 Q F0 .209 -(Use a vi-style command line editing interf)224 480 R 2.709(ace. This) +-3.455 E(ha)224 444 Q(vior)-.2 E(.)-.55 E F1(pri)184 456 Q(vileged)-.1 E +F0(Same as)224 468 Q F1<ad70>2.5 E F0(.)A F1 -.1(ve)184 480 S(rbose).1 E +F0(Same as)224 480 Q F1<ad76>2.5 E F0(.)A F1(vi)184 492 Q F0 .209 +(Use a vi-style command line editing interf)224 492 R 2.709(ace. This) -.1 F .209(also af)2.709 F .209(fects the editing in-)-.25 F(terf)224 -492 Q(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1 -(xtrace)184 504 Q F0(Same as)224 504 Q F1<ad78>2.5 E F0(.)A(If)184 522 Q +504 Q(ace used for)-.1 E F1 -.18(re)2.5 G(ad \255e).18 E F0(.)A F1 +(xtrace)184 516 Q F0(Same as)224 516 Q F1<ad78>2.5 E F0(.)A(If)184 534 Q F1<ad6f>3.052 E F0 .552(is supplied with no)3.052 F F5(option\255name) 3.053 E F0 3.053(,t)C .553(he v)-3.053 F .553 (alues of the current options are printed.)-.25 F(If)5.553 E F1(+o)184 -534 Q F0 1.072(is supplied with no)3.572 F F5(option\255name)3.572 E F0 +546 Q F0 1.072(is supplied with no)3.572 F F5(option\255name)3.572 E F0 3.572(,a)C 1.071(series of)-.001 F F1(set)3.571 E F0 1.071 (commands to recreate the current)3.571 F -(option settings is displayed on the standard output.)184 546 Q F1<ad70> -144 558 Q F0 -.45(Tu)184 558 S 1.071(rn on).45 F F5(privile)4.821 E -.1 +(option settings is displayed on the standard output.)184 558 Q F1<ad70> +144 570 Q F0 -.45(Tu)184 570 S 1.071(rn on).45 F F5(privile)4.821 E -.1 (ge)-.4 G(d).1 E F0 3.572(mode. In)4.341 F 1.072(this mode, the)3.572 F F2($ENV)3.572 E F0(and)3.322 E F2($B)3.572 E(ASH_ENV)-.27 E F0 1.072 (\214les are not pro-)3.322 F 1.501 -(cessed, shell functions are not inherited from the en)184 570 R 1.5 -(vironment, and the)-.4 F F2(SHELLOPTS)4 E F3(,)A F2 -.27(BA)184 582 S +(cessed, shell functions are not inherited from the en)184 582 R 1.5 +(vironment, and the)-.4 F F2(SHELLOPTS)4 E F3(,)A F2 -.27(BA)184 594 S (SHOPTS).27 E F3(,)A F2(CDP)2.774 E -.855(AT)-.666 G(H).855 E F3(,)A F0 (and)2.774 E F2(GLOBIGNORE)3.024 E F0 -.25(va)2.774 G .524 (riables, if the).25 F 3.025(ya)-.15 G .525(ppear in the en)-3.025 F -(vironment,)-.4 E .38(are ignored.)184 594 R .38 +(vironment,)-.4 E .38(are ignored.)184 606 R .38 (If the shell is started with the ef)5.38 F(fecti)-.25 E .679 -.15(ve u) -.25 H .379(ser \(group\) id not equal to the real).15 F .461 -(user \(group\) id, and the)184 606 R F1<ad70>2.961 E F0 .461 +(user \(group\) id, and the)184 618 R F1<ad70>2.961 E F0 .461 (option is not supplied, these actions are tak)2.961 F .462 -(en and the ef)-.1 F(fec-)-.25 E(ti)184 618 Q .695 -.15(ve u)-.25 H .395 +(en and the ef)-.1 F(fec-)-.25 E(ti)184 630 Q .695 -.15(ve u)-.25 H .395 (ser id is set to the real user id.).15 F .395(If the)5.395 F F1<ad70> 2.895 E F0 .394(option is supplied at startup, the ef)2.895 F(fecti)-.25 -E -.15(ve)-.25 G .386(user id is not reset.)184 630 R -.45(Tu)5.386 G +E -.15(ve)-.25 G .386(user id is not reset.)184 642 R -.45(Tu)5.386 G .386(rning this option of).45 F 2.886(fc)-.25 G .387(auses the ef)-2.886 F(fecti)-.25 E .687 -.15(ve u)-.25 H .387(ser and group ids to be).15 F -(set to the real user and group ids.)184 642 Q F1<ad74>144 654 Q F0 -(Exit after reading and e)184 654 Q -.15(xe)-.15 G(cuting one command.) -.15 E F1<ad75>144 666 Q F0 -.35(Tr)184 666 S .044(eat unset v).35 F .044 +(set to the real user and group ids.)184 654 Q F1<ad74>144 666 Q F0 +(Exit after reading and e)184 666 Q -.15(xe)-.15 G(cuting one command.) +.15 E F1<ad75>144 678 Q F0 -.35(Tr)184 678 S .044(eat unset v).35 F .044 (ariables and parameters other than the special parameters "@" and "*" \ -as an)-.25 F .182(error when performing parameter e)184 678 R 2.682 +as an)-.25 F .182(error when performing parameter e)184 690 R 2.682 (xpansion. If)-.15 F -.15(ex)2.682 G .183 (pansion is attempted on an unset v).15 F(ari-)-.25 E .746 -(able or parameter)184 690 R 3.246(,t)-.4 G .746 +(able or parameter)184 702 R 3.246(,t)-.4 G .746 (he shell prints an error message, and, if not interacti)-3.246 F -.15 (ve)-.25 G 3.246(,e).15 G .746(xits with a)-3.396 F(non-zero status.)184 -702 Q F1<ad76>144 714 Q F0(Print shell input lines as the)184 714 Q 2.5 -(ya)-.15 G(re read.)-2.5 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E -(16)198.725 E 0 Cg EP +714 Q(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(16)198.725 E 0 Cg EP %%Page: 17 17 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad78>144 84 Q F0 .315 -(After e)184 84 R .315(xpanding each)-.15 F/F2 10/Times-Italic@0 SF .315 -(simple command)2.815 F F0(,)A F1 -.25(fo)2.815 G(r).25 E F0(command,) -2.815 E F1(case)2.815 E F0(command,)2.815 E F1(select)2.815 E F0 -(command,)2.815 E 1.236(or arithmetic)184 96 R F1 -.25(fo)3.736 G(r).25 -E F0 1.236(command, display the e)3.736 F 1.236(xpanded v)-.15 F 1.236 -(alue of)-.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E/F4 9/Times-Roman@0 SF -(,)A F0(follo)3.486 E 1.236(wed by the com-)-.25 F(mand and its e)184 -108 Q(xpanded ar)-.15 E(guments or associated w)-.18 E(ord list.)-.1 E -F1<ad42>144 120 Q F0 1.205(The shell performs brace e)184 120 R 1.205 -(xpansion \(see)-.15 F F1 1.205(Brace Expansion)3.705 F F0(abo)3.705 E --.15(ve)-.15 G 3.706(\). This).15 F 1.206(is on by de-)3.706 F -.1(fa) -184 132 S(ult.).1 E F1<ad43>144 144 Q F0 .214(If set,)184 144 R F1(bash) -2.714 E F0 .214(does not o)2.714 F -.15(ve)-.15 G .214(rwrite an e).15 F -.214(xisting \214le with the)-.15 F F1(>)2.714 E F0(,)A F1(>&)2.714 E F0 -2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213(redirection opera-)2.713 F -3.053(tors. This)184 156 R .553(may be o)3.053 F -.15(ve)-.15 G .553 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad76>144 84 Q F0 +(Print shell input lines as the)184 84 Q 2.5(ya)-.15 G(re read.)-2.5 E +F1<ad78>144 96 Q F0 .315(After e)184 96 R .315(xpanding each)-.15 F/F2 +10/Times-Italic@0 SF .315(simple command)2.815 F F0(,)A F1 -.25(fo)2.815 +G(r).25 E F0(command,)2.815 E F1(case)2.815 E F0(command,)2.815 E F1 +(select)2.815 E F0(command,)2.815 E 1.236(or arithmetic)184 108 R F1 +-.25(fo)3.736 G(r).25 E F0 1.236(command, display the e)3.736 F 1.236 +(xpanded v)-.15 F 1.236(alue of)-.25 F/F3 9/Times-Bold@0 SF(PS4)3.736 E +/F4 9/Times-Roman@0 SF(,)A F0(follo)3.486 E 1.236(wed by the com-)-.25 F +(mand and its e)184 120 Q(xpanded ar)-.15 E(guments or associated w)-.18 +E(ord list.)-.1 E F1<ad42>144 132 Q F0 1.205(The shell performs brace e) +184 132 R 1.205(xpansion \(see)-.15 F F1 1.205(Brace Expansion)3.705 F +F0(abo)3.705 E -.15(ve)-.15 G 3.706(\). This).15 F 1.206(is on by de-) +3.706 F -.1(fa)184 144 S(ult.).1 E F1<ad43>144 156 Q F0 .214(If set,)184 +156 R F1(bash)2.714 E F0 .214(does not o)2.714 F -.15(ve)-.15 G .214 +(rwrite an e).15 F .214(xisting \214le with the)-.15 F F1(>)2.714 E F0 +(,)A F1(>&)2.714 E F0 2.713(,a)C(nd)-2.713 E F1(<>)2.713 E F0 .213 +(redirection opera-)2.713 F 3.053(tors. This)184 168 R .553(may be o) +3.053 F -.15(ve)-.15 G .553 (rridden when creating output \214les by using the redirection opera-) -.15 F(tor)184 168 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 -<ad45>144 180 Q F0 .104(If set, an)184 180 R 2.604(yt)-.15 G .104 +.15 F(tor)184 180 Q F1(>|)2.5 E F0(instead of)2.5 E F1(>)2.5 E F0(.)A F1 +<ad45>144 192 Q F0 .104(If set, an)184 192 R 2.604(yt)-.15 G .104 (rap on)-2.604 F F1(ERR)2.604 E F0 .103 (is inherited by shell functions, command substitutions, and com-)2.604 -F .838(mands e)184 192 R -.15(xe)-.15 G .838(cuted in a subshell en).15 +F .838(mands e)184 204 R -.15(xe)-.15 G .838(cuted in a subshell en).15 F 3.338(vironment. The)-.4 F F1(ERR)3.338 E F0 .839 -(trap is normally not inherited in)3.339 F(such cases.)184 204 Q F1 -<ad48>144 216 Q F0(Enable)184 216 Q F1(!)3.032 E F0 .532 +(trap is normally not inherited in)3.339 F(such cases.)184 216 Q F1 +<ad48>144 228 Q F0(Enable)184 228 Q F1(!)3.032 E F0 .532 (style history substitution.)5.532 F .531(This option is on by def)5.532 -F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 228 Q -.15 -(ve)-.25 G(.).15 E F1<ad50>144 240 Q F0 .959 -(If set, the shell does not resolv)184 240 R 3.459(es)-.15 G .959 +F .531(ault when the shell is inter)-.1 F(-)-.2 E(acti)184 240 Q -.15 +(ve)-.25 G(.).15 E F1<ad50>144 252 Q F0 .959 +(If set, the shell does not resolv)184 252 R 3.459(es)-.15 G .959 (ymbolic links when e)-3.459 F -.15(xe)-.15 G .96 (cuting commands such as).15 F F1(cd)3.46 E F0 1.453 -(that change the current w)184 252 R 1.453(orking directory)-.1 F 6.453 +(that change the current w)184 264 R 1.453(orking directory)-.1 F 6.453 (.I)-.65 G 3.952(tu)-6.453 G 1.452(ses the ph)-3.952 F 1.452 -(ysical directory structure in-)-.05 F 3.334(stead. By)184 264 R(def) +(ysical directory structure in-)-.05 F 3.334(stead. By)184 276 R(def) 3.334 E(ault,)-.1 E F1(bash)3.334 E F0(follo)3.334 E .834 (ws the logical chain of directories when performing com-)-.25 F -(mands which change the current directory)184 276 Q(.)-.65 E F1<ad54>144 -288 Q F0 .89(If set, an)184 288 R 3.39(yt)-.15 G .89(raps on)-3.39 F F1 +(mands which change the current directory)184 288 Q(.)-.65 E F1<ad54>144 +300 Q F0 .89(If set, an)184 300 R 3.39(yt)-.15 G .89(raps on)-3.39 F F1 (DEB)3.39 E(UG)-.1 E F0(and)3.39 E F1(RETURN)3.39 E F0 .89 (are inherited by shell functions, command)3.39 F 1.932 -(substitutions, and commands e)184 300 R -.15(xe)-.15 G 1.932 +(substitutions, and commands e)184 312 R -.15(xe)-.15 G 1.932 (cuted in a subshell en).15 F 4.432(vironment. The)-.4 F F1(DEB)4.432 E -(UG)-.1 E F0(and)4.432 E F1(RETURN)184 312 Q F0 -(traps are normally not inherited in such cases.)2.5 E F1<adad>144 324 Q -F0 .401(If no ar)184 324 R .401(guments follo)-.18 F 2.901(wt)-.25 G +(UG)-.1 E F0(and)4.432 E F1(RETURN)184 324 Q F0 +(traps are normally not inherited in such cases.)2.5 E F1<adad>144 336 Q +F0 .401(If no ar)184 336 R .401(guments follo)-.18 F 2.901(wt)-.25 G .401(his option, then the positional parameters are unset.)-2.901 F -(Otherwise,)5.4 E(the positional parameters are set to the)184 336 Q F2 +(Otherwise,)5.4 E(the positional parameters are set to the)184 348 Q F2 (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 (ome of them be)-2.5 E(gin with a)-.15 E F1<ad>2.5 E F0(.)A F1<ad>144 -348 Q F0 .796(Signal the end of options, cause all remaining)184 348 R +360 Q F0 .796(Signal the end of options, cause all remaining)184 360 R F2(ar)3.297 E(g)-.37 E F0 3.297(st)C 3.297(ob)-3.297 G 3.297(ea)-3.297 G -.797(ssigned to the positional pa-)-3.297 F 3.022(rameters. The)184 360 +.797(ssigned to the positional pa-)-3.297 F 3.022(rameters. The)184 372 R F1<ad78>3.022 E F0(and)3.022 E F1<ad76>3.022 E F0 .522 (options are turned of)3.022 F 3.022(f. If)-.25 F .522(there are no) 3.022 F F2(ar)3.022 E(g)-.37 E F0 .521(s, the positional pa-)B -(rameters remain unchanged.)184 372 Q .425(The options are of)144 388.8 +(rameters remain unchanged.)184 384 Q .425(The options are of)144 400.8 R 2.925(fb)-.25 G 2.925(yd)-2.925 G(ef)-2.925 E .425 (ault unless otherwise noted.)-.1 F .425 (Using + rather than \255 causes these options)5.425 F .178 -(to be turned of)144 400.8 R 2.678(f. The)-.25 F .178 +(to be turned of)144 412.8 R 2.678(f. The)-.25 F .178 (options can also be speci\214ed as ar)2.678 F .178(guments to an in) -.18 F -.2(vo)-.4 G .177(cation of the shell.).2 F(The)5.177 E .066 -(current set of options may be found in)144 412.8 R F1<24ad>2.566 E F0 +(current set of options may be found in)144 424.8 R F1<24ad>2.566 E F0 5.066(.T)C .066(he return status is al)-5.066 F -.1(wa)-.1 G .066 (ys true unless an in).1 F -.25(va)-.4 G .067(lid option).25 F -(is encountered.)144 424.8 Q F1(shift)108 441.6 Q F0([)2.5 E F2(n)A F0 -(])A .429(The positional parameters from)144 453.6 R F2(n)2.929 E F0 +(is encountered.)144 436.8 Q F1(shift)108 453.6 Q F0([)2.5 E F2(n)A F0 +(])A .429(The positional parameters from)144 465.6 R F2(n)2.929 E F0 .429(+1 ... are renamed to)B F1 .429($1 ....)2.929 F F0 -.15(Pa)5.428 G -.428(rameters represented by the num-).15 F(bers)144 465.6 Q F1($#)2.582 +.428(rameters represented by the num-).15 F(bers)144 477.6 Q F1($#)2.582 E F0(do)2.582 E .082(wn to)-.25 F F1($#)2.582 E F0<ad>A F2(n)A F0 .082 (+1 are unset.)B F2(n)5.442 E F0 .082(must be a non-ne)2.822 F -.05(ga) -.15 G(ti).05 E .383 -.15(ve n)-.25 H .083(umber less than or equal to) .15 F F1($#)2.583 E F0 5.083(.I)C(f)-5.083 E F2(n)2.943 E F0 .06 -(is 0, no parameters are changed.)144 477.6 R(If)5.06 E F2(n)2.92 E F0 +(is 0, no parameters are changed.)144 489.6 R(If)5.06 E F2(n)2.92 E F0 .06(is not gi)2.8 F -.15(ve)-.25 G .06(n, it is assumed to be 1.).15 F (If)5.06 E F2(n)2.92 E F0 .06(is greater than)2.8 F F1($#)2.56 E F0 2.56 -(,t)C(he)-2.56 E .143(positional parameters are not changed.)144 489.6 R +(,t)C(he)-2.56 E .143(positional parameters are not changed.)144 501.6 R .144(The return status is greater than zero if)5.143 F F2(n)3.004 E F0 .144(is greater than)2.884 F F1($#)2.644 E F0 -(or less than zero; otherwise 0.)144 501.6 Q F1(shopt)108 518.4 Q F0([) +(or less than zero; otherwise 0.)144 513.6 Q F1(shopt)108 530.4 Q F0([) 2.5 E F1(\255pqsu)A F0 2.5(][)C F1<ad6f>-2.5 E F0 2.5(][)C F2(optname) --2.5 E F0(...])2.5 E -.8(To)144 530.4 S .64(ggle the v).8 F .639 +-2.5 E F0(...])2.5 E -.8(To)144 542.4 S .64(ggle the v).8 F .639 (alues of settings controlling optional shell beha)-.25 F(vior)-.2 E 5.639(.T)-.55 G .639(he settings can be either those)-5.639 F .374 -(listed belo)144 542.4 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H +(listed belo)144 554.4 R 1.674 -.65(w, o)-.25 H 1.174 -.4(r, i).65 H 2.874(ft).4 G(he)-2.874 E F1<ad6f>2.874 E F0 .375 (option is used, those a)2.875 F -.25(va)-.2 G .375(ilable with the).25 F F1<ad6f>2.875 E F0 .375(option to the)2.875 F F1(set)2.875 E F0 -.2 -(bu)2.875 G .375(iltin com-).2 F 2.566(mand. W)144 554.4 R .066 +(bu)2.875 G .375(iltin com-).2 F 2.566(mand. W)144 566.4 R .066 (ith no options, or with the)-.4 F F1<ad70>2.566 E F0 .066 (option, a list of all settable options is displayed, with an in-)2.566 -F .074(dication of whether or not each is set; if)144 566.4 R F2 +F .074(dication of whether or not each is set; if)144 578.4 R F2 (optnames)2.574 E F0 .074 (are supplied, the output is restricted to those op-)2.574 F 3.105 -(tions. The)144 578.4 R F1<ad70>3.105 E F0 .605(option causes output to\ +(tions. The)144 590.4 R F1<ad70>3.105 E F0 .605(option causes output to\ be displayed in a form that may be reused as input.)3.105 F(Other)5.605 -E(options ha)144 590.4 Q .3 -.15(ve t)-.2 H(he follo).15 E -(wing meanings:)-.25 E F1<ad73>144 602.4 Q F0(Enable \(set\) each)180 -602.4 Q F2(optname)2.5 E F0(.)A F1<ad75>144 614.4 Q F0 -(Disable \(unset\) each)180 614.4 Q F2(optname)2.5 E F0(.)A F1<ad71>144 -626.4 Q F0 .003(Suppresses normal output \(quiet mode\); the return sta\ -tus indicates whether the)180 626.4 R F2(optname)2.504 E F0(is)2.504 E -.256(set or unset.)180 638.4 R .256(If multiple)5.256 F F2(optname)2.756 +E(options ha)144 602.4 Q .3 -.15(ve t)-.2 H(he follo).15 E +(wing meanings:)-.25 E F1<ad73>144 614.4 Q F0(Enable \(set\) each)180 +614.4 Q F2(optname)2.5 E F0(.)A F1<ad75>144 626.4 Q F0 +(Disable \(unset\) each)180 626.4 Q F2(optname)2.5 E F0(.)A F1<ad71>144 +638.4 Q F0 .003(Suppresses normal output \(quiet mode\); the return sta\ +tus indicates whether the)180 638.4 R F2(optname)2.504 E F0(is)2.504 E +.256(set or unset.)180 650.4 R .256(If multiple)5.256 F F2(optname)2.756 E F0(ar)2.756 E .256(guments are gi)-.18 F -.15(ve)-.25 G 2.756(nw).15 G (ith)-2.756 E F1<ad71>2.756 E F0 2.755(,t)C .255 -(he return status is zero if)-2.755 F(all)180 650.4 Q F2(optnames)2.5 E -F0(are enabled; non-zero otherwise.)2.5 E F1<ad6f>144 662.4 Q F0 -(Restricts the v)180 662.4 Q(alues of)-.25 E F2(optname)2.5 E F0 +(he return status is zero if)-2.755 F(all)180 662.4 Q F2(optnames)2.5 E +F0(are enabled; non-zero otherwise.)2.5 E F1<ad6f>144 674.4 Q F0 +(Restricts the v)180 674.4 Q(alues of)-.25 E F2(optname)2.5 E F0 (to be those de\214ned for the)2.5 E F1<ad6f>2.5 E F0(option to the)2.5 -E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .624(If either)144 679.2 R F1 +E F1(set)2.5 E F0 -.2(bu)2.5 G(iltin.).2 E .624(If either)144 691.2 R F1 <ad73>3.124 E F0(or)3.124 E F1<ad75>3.124 E F0 .624(is used with no) 3.124 F F2(optname)3.124 E F0(ar)3.124 E(guments,)-.18 E F1(shopt)3.124 E F0(sho)3.124 E .624(ws only those options which are)-.25 F .984 -(set or unset, respecti)144 691.2 R -.15(ve)-.25 G(ly).15 E 5.984(.U) +(set or unset, respecti)144 703.2 R -.15(ve)-.25 G(ly).15 E 5.984(.U) -.65 G .984(nless otherwise noted, the)-5.984 F F1(shopt)3.484 E F0 .983 -(options are disabled \(unset\) by de-)3.483 F -.1(fa)144 703.2 S(ult.) -.1 E 1.544(The return status when listing options is zero if all)144 720 -R F2(optnames)4.044 E F0 1.545(are enabled, non-zero otherwise.)4.045 F -(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(17)198.725 E 0 Cg EP +(options are disabled \(unset\) by de-)3.483 F -.1(fa)144 715.2 S(ult.) +.1 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(17)198.725 E 0 Cg EP %%Page: 18 18 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E .696 +E(UIL)-.1 E(TINS\(1\))-.92 E 1.544 +(The return status when listing options is zero if all)144 84 R/F1 10 +/Times-Italic@0 SF(optnames)4.044 E F0 1.545 +(are enabled, non-zero otherwise.)4.045 F .696 (When setting or unsetting options, the return status is zero unless an) -144 84 R/F1 10/Times-Italic@0 SF(optname)3.196 E F0 .696(is not a v) -3.196 F .695(alid shell)-.25 F(option.)144 96 Q(The list of)144 112.8 Q -/F2 10/Times-Bold@0 SF(shopt)2.5 E F0(options is:)2.5 E F2 -(assoc_expand_once)144 130.8 Q F0 1.944 -(If set, the shell suppresses multiple e)184 142.8 R -.25(va)-.25 G +144 96 R F1(optname)3.196 E F0 .696(is not a v)3.196 F .695(alid shell) +-.25 F(option.)144 108 Q(The list of)144 124.8 Q/F2 10/Times-Bold@0 SF +(shopt)2.5 E F0(options is:)2.5 E F2(assoc_expand_once)144 142.8 Q F0 +1.944(If set, the shell suppresses multiple e)184 154.8 R -.25(va)-.25 G 1.945(luation of associati).25 F 2.245 -.15(ve a)-.25 H 1.945 -(rray subscripts during).15 F .885(arithmetic e)184 154.8 R .885 +(rray subscripts during).15 F .885(arithmetic e)184 166.8 R .885 (xpression e)-.15 F -.25(va)-.25 G .885(luation, while e).25 F -.15(xe) -.15 G .885(cuting b).15 F .885(uiltins that can perform v)-.2 F .885 -(ariable as-)-.25 F(signments, and while e)184 166.8 Q -.15(xe)-.15 G +(ariable as-)-.25 F(signments, and while e)184 178.8 Q -.15(xe)-.15 G (cuting b).15 E(uiltins that perform array dereferencing.)-.2 E F2 -(autocd)144 178.8 Q F0 .199 -(If set, a command name that is the name of a directory is e)184 178.8 R +(autocd)144 190.8 Q F0 .199 +(If set, a command name that is the name of a directory is e)184 190.8 R -.15(xe)-.15 G .2(cuted as if it were the ar).15 F(gu-)-.18 E -(ment to the)184 190.8 Q F2(cd)2.5 E F0 2.5(command. This)2.5 F +(ment to the)184 202.8 Q F2(cd)2.5 E F0 2.5(command. This)2.5 F (option is only used by interacti)2.5 E .3 -.15(ve s)-.25 H(hells.).15 E -F2(cdable_v)144 202.8 Q(ars)-.1 E F0 .156(If set, an ar)184 214.8 R .156 +F2(cdable_v)144 214.8 Q(ars)-.1 E F0 .156(If set, an ar)184 226.8 R .156 (gument to the)-.18 F F2(cd)2.656 E F0 -.2(bu)2.656 G .155 (iltin command that is not a directory is assumed to be the).2 F -(name of a v)184 226.8 Q(ariable whose v)-.25 E -(alue is the directory to change to.)-.25 E F2(cdspell)144 238.8 Q F0 +(name of a v)184 238.8 Q(ariable whose v)-.25 E +(alue is the directory to change to.)-.25 E F2(cdspell)144 250.8 Q F0 1.055 (If set, minor errors in the spelling of a directory component in a)184 -238.8 R F2(cd)3.555 E F0 1.055(command will be)3.555 F 3.988 -(corrected. The)184 250.8 R 1.488(errors check)3.988 F 1.487 +250.8 R F2(cd)3.555 E F0 1.055(command will be)3.555 F 3.988 +(corrected. The)184 262.8 R 1.488(errors check)3.988 F 1.487 (ed for are transposed characters, a missing character)-.1 F 3.987(,a) --.4 G(nd)-3.987 E .77(one character too man)184 262.8 R 4.57 -.65(y. I) +-.4 G(nd)-3.987 E .77(one character too man)184 274.8 R 4.57 -.65(y. I) -.15 H 3.27(fac).65 G .77 (orrection is found, the corrected \214lename is printed, and)-3.27 F -(the command proceeds.)184 274.8 Q +(the command proceeds.)184 286.8 Q (This option is only used by interacti)5 E .3 -.15(ve s)-.25 H(hells.) -.15 E F2(checkhash)144 286.8 Q F0 .737(If set,)184 298.8 R F2(bash)3.237 +.15 E F2(checkhash)144 298.8 Q F0 .737(If set,)184 310.8 R F2(bash)3.237 E F0 .736(checks that a command found in the hash table e)3.237 F .736 (xists before trying to e)-.15 F -.15(xe)-.15 G(-).15 E(cute it.)184 -310.8 Q(If a hashed command no longer e)5 E -(xists, a normal path search is performed.)-.15 E F2(checkjobs)144 322.8 -Q F0 .448(If set,)184 334.8 R F2(bash)2.948 E F0 .448 +322.8 Q(If a hashed command no longer e)5 E +(xists, a normal path search is performed.)-.15 E F2(checkjobs)144 334.8 +Q F0 .448(If set,)184 346.8 R F2(bash)2.948 E F0 .448 (lists the status of an)2.948 F 2.949(ys)-.15 G .449 (topped and running jobs before e)-2.949 F .449(xiting an interacti)-.15 -F -.15(ve)-.25 G 2.662(shell. If)184 346.8 R(an)2.662 E 2.661(yj)-.15 G +F -.15(ve)-.25 G 2.662(shell. If)184 358.8 R(an)2.662 E 2.661(yj)-.15 G .161(obs are running, this causes the e)-2.661 F .161 (xit to be deferred until a second e)-.15 F .161(xit is at-)-.15 F 1.472 -(tempted without an interv)184 358.8 R 1.473(ening command \(see)-.15 F +(tempted without an interv)184 370.8 R 1.473(ening command \(see)-.15 F /F3 9/Times-Bold@0 SF 1.473(JOB CONTR)3.973 F(OL)-.27 E F0(abo)3.723 E -.15(ve)-.15 G 3.973(\). The).15 F 1.473(shell al-)3.973 F -.1(wa)184 -370.8 S(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G -(obs are stopped.)-2.5 E F2(checkwinsize)144 382.8 Q F0 1.09(If set,)184 -394.8 R F2(bash)3.59 E F0 1.09(checks the windo)3.59 F 3.59(ws)-.25 G +382.8 S(ys postpones e).1 E(xiting if an)-.15 E 2.5(yj)-.15 G +(obs are stopped.)-2.5 E F2(checkwinsize)144 394.8 Q F0 1.09(If set,)184 +406.8 R F2(bash)3.59 E F0 1.09(checks the windo)3.59 F 3.59(ws)-.25 G 1.09(ize after each e)-3.59 F 1.09(xternal \(non-b)-.15 F 1.09 -(uiltin\) command and, if)-.2 F(necessary)184 406.8 Q 3.35(,u)-.65 G .85 +(uiltin\) command and, if)-.2 F(necessary)184 418.8 Q 3.35(,u)-.65 G .85 (pdates the v)-3.35 F .85(alues of)-.25 F F3(LINES)3.35 E F0(and)3.1 E F3(COLUMNS)3.35 E/F4 9/Times-Roman@0 SF(.)A F0 .85 -(This option is enabled by de-)5.35 F -.1(fa)184 418.8 S(ult.).1 E F2 -(cmdhist)144 430.8 Q F0 .173(If set,)184 430.8 R F2(bash)2.673 E F0 .173 +(This option is enabled by de-)5.35 F -.1(fa)184 430.8 S(ult.).1 E F2 +(cmdhist)144 442.8 Q F0 .173(If set,)184 442.8 R F2(bash)2.673 E F0 .173 (attempts to sa)2.673 F .473 -.15(ve a)-.2 H .172 (ll lines of a multiple-line command in the same history en-).15 F(try) -184 442.8 Q 5.596(.T)-.65 G .597(his allo)-5.596 F .597 +184 454.8 Q 5.596(.T)-.65 G .597(his allo)-5.596 F .597 (ws easy re-editing of multi-line commands.)-.25 F .597 -(This option is enabled by de-)5.597 F -.1(fa)184 454.8 S 1.288(ult, b) +(This option is enabled by de-)5.597 F -.1(fa)184 466.8 S 1.288(ult, b) .1 F 1.288(ut only has an ef)-.2 F 1.288 (fect if command history is enabled, as described abo)-.25 F 1.587 -.15 -(ve u)-.15 H(nder).15 E F3(HIST)184 466.8 Q(OR)-.162 E(Y)-.315 E F4(.)A -F2(compat31)144 478.8 Q(compat32)144 490.8 Q(compat40)144 502.8 Q -(compat41)144 514.8 Q(compat42)144 526.8 Q(compat43)144 538.8 Q -(compat44)144 550.8 Q F0 .889(These control aspects of the shell')184 -562.8 R 3.389(sc)-.55 G .889(ompatibility mode \(see)-3.389 F F3 .889 -(SHELL COMP)3.389 F -.855(AT)-.666 G(IBILITY).855 E(MODE)184 574.8 Q F0 -(belo)2.25 E(w\).)-.25 E F2(complete_fullquote)144 591.6 Q F0 .654 -(If set,)184 603.6 R F2(bash)3.153 E F0 .653(quotes all shell metachara\ +(ve u)-.15 H(nder).15 E F3(HIST)184 478.8 Q(OR)-.162 E(Y)-.315 E F4(.)A +F2(compat31)144 490.8 Q(compat32)144 502.8 Q(compat40)144 514.8 Q +(compat41)144 526.8 Q(compat42)144 538.8 Q(compat43)144 550.8 Q +(compat44)144 562.8 Q F0 .889(These control aspects of the shell')184 +574.8 R 3.389(sc)-.55 G .889(ompatibility mode \(see)-3.389 F F3 .889 +(SHELL COMP)3.389 F -.855(AT)-.666 G(IBILITY).855 E(MODE)184 586.8 Q F0 +(belo)2.25 E(w\).)-.25 E F2(complete_fullquote)144 603.6 Q F0 .654 +(If set,)184 615.6 R F2(bash)3.153 E F0 .653(quotes all shell metachara\ cters in \214lenames and directory names when per)3.153 F(-)-.2 E 1.524 -(forming completion.)184 615.6 R 1.524(If not set,)6.524 F F2(bash)4.024 +(forming completion.)184 627.6 R 1.524(If not set,)6.524 F F2(bash)4.024 E F0(remo)4.024 E -.15(ve)-.15 G 4.024(sm).15 G 1.524 (etacharacters such as the dollar sign)-4.024 F 2.667(from the set of c\ haracters that will be quoted in completed \214lenames when these)184 -627.6 R .028(metacharacters appear in shell v)184 639.6 R .028 +639.6 R .028(metacharacters appear in shell v)184 651.6 R .028 (ariable references in w)-.25 F .029(ords to be completed.)-.1 F .029 -(This means)5.029 F 1.073(that dollar signs in v)184 651.6 R 1.073 +(This means)5.029 F 1.073(that dollar signs in v)184 663.6 R 1.073 (ariable names that e)-.25 F 1.073 (xpand to directories will not be quoted; ho)-.15 F(w-)-.25 E -2.15 -.25 -(ev e)184 663.6 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123 +(ev e)184 675.6 T 1.922 -.4(r, a).25 H 1.422 -.15(ny d).4 H 1.123 (ollar signs appearing in \214lenames will not be quoted, either).15 F 6.123(.T)-.55 G 1.123(his is acti)-6.123 F -.15(ve)-.25 G .59 (only when bash is using backslashes to quote completed \214lenames.)184 -675.6 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 687.6 Q +687.6 R .59(This v)5.59 F .59(ariable is set)-.25 F(by def)184 699.6 Q (ault, which is the def)-.1 E(ault bash beha)-.1 E(vior in v)-.2 E -(ersions through 4.2.)-.15 E F2(dir)144 704.4 Q(expand)-.18 E F0 .486 -(If set,)184 716.4 R F2(bash)2.986 E F0 .486 -(replaces directory names with the results of w)2.986 F .486(ord e)-.1 F -.487(xpansion when perform-)-.15 F .18(ing \214lename completion.)184 -728.4 R .179(This changes the contents of the readline editing b)5.18 F -(uf)-.2 E(fer)-.25 E 5.179(.I)-.55 G 2.679(fn)-5.179 G(ot)-2.679 E -(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(18)198.725 E 0 Cg EP +(ersions through 4.2.)-.15 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E +(18)198.725 E 0 Cg EP %%Page: 19 19 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E(set,)184 84 Q/F1 10/Times-Bold@0 SF(bash) -2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G(hat the user typed.) --2.5 E F1(dirspell)144 100.8 Q F0 .858(If set,)184 100.8 R F1(bash)3.358 -E F0 .858(attempts spelling correction on directory names during w)3.358 -F .859(ord completion if)-.1 F -(the directory name initially supplied does not e)184 112.8 Q(xist.)-.15 -E F1(dotglob)144 129.6 Q F0 .165(If set,)184 129.6 R F1(bash)2.665 E F0 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(dir)144 84 Q(expand) +-.18 E F0 .486(If set,)184 96 R F1(bash)2.986 E F0 .486 +(replaces directory names with the results of w)2.986 F .486(ord e)-.1 F +.487(xpansion when perform-)-.15 F .18(ing \214lename completion.)184 +108 R .179(This changes the contents of the readline editing b)5.18 F +(uf)-.2 E(fer)-.25 E 5.179(.I)-.55 G 2.679(fn)-5.179 G(ot)-2.679 E(set,) +184 120 Q F1(bash)2.5 E F0(attempts to preserv)2.5 E 2.5(ew)-.15 G +(hat the user typed.)-2.5 E F1(dirspell)144 136.8 Q F0 .858(If set,)184 +136.8 R F1(bash)3.358 E F0 .858 +(attempts spelling correction on directory names during w)3.358 F .859 +(ord completion if)-.1 F +(the directory name initially supplied does not e)184 148.8 Q(xist.)-.15 +E F1(dotglob)144 165.6 Q F0 .165(If set,)184 165.6 R F1(bash)2.665 E F0 .165(includes \214lenames be)2.665 F .165(ginning with a `.)-.15 F 2.665 ('i)-.7 G 2.665(nt)-2.665 G .165(he results of pathname e)-2.665 F -(xpansion.)-.15 E(The \214lenames)184 141.6 Q F1 -.63(``)2.5 G -.55(.') +(xpansion.)-.15 E(The \214lenames)184 177.6 Q F1 -.63(``)2.5 G -.55(.') .63 G(')-.08 E F0(and)5 E F1 -.63(``)2.5 G(..).63 E -.63('')-.55 G F0 (must al)5.63 E -.1(wa)-.1 G(ys be matched e).1 E(xplicitly)-.15 E 2.5 (,e)-.65 G -.15(ve)-2.75 G 2.5(ni).15 G(f)-2.5 E F1(dotglob)2.5 E F0 -(is set.)2.5 E F1(execfail)144 158.4 Q F0 .516(If set, a non-interacti) -184 158.4 R .816 -.15(ve s)-.25 H .516(hell will not e).15 F .516 +(is set.)2.5 E F1(execfail)144 194.4 Q F0 .516(If set, a non-interacti) +184 194.4 R .816 -.15(ve s)-.25 H .516(hell will not e).15 F .516 (xit if it cannot e)-.15 F -.15(xe)-.15 G .517 (cute the \214le speci\214ed as an ar).15 F(-)-.2 E(gument to the)184 -170.4 Q F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E(An interacti)5 +206.4 Q F1(exec)2.5 E F0 -.2(bu)2.5 G(iltin command.).2 E(An interacti)5 E .3 -.15(ve s)-.25 H(hell does not e).15 E(xit if)-.15 E F1(exec)2.5 E -F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 187.2 Q F0 .717 -(If set, aliases are e)184 199.2 R .717(xpanded as described abo)-.15 F +F0 -.1(fa)2.5 G(ils.).1 E F1(expand_aliases)144 223.2 Q F0 .717 +(If set, aliases are e)184 235.2 R .717(xpanded as described abo)-.15 F 1.017 -.15(ve u)-.15 H(nder).15 E/F2 9/Times-Bold@0 SF(ALIASES)3.217 E /F3 9/Times-Roman@0 SF(.)A F0 .716(This option is enabled)5.217 F -(by def)184 211.2 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) -.15 E F1(extdeb)144 228 Q(ug)-.2 E F0 .17(If set at shell in)184 240 R +(by def)184 247.2 Q(ault for interacti)-.1 E .3 -.15(ve s)-.25 H(hells.) +.15 E F1(extdeb)144 264 Q(ug)-.2 E F0 .17(If set at shell in)184 276 R -.2(vo)-.4 G .17(cation, or in a shell startup \214le, arrange to e).2 F -.15(xe)-.15 G .17(cute the deb).15 F .17(ugger pro\214le)-.2 F 1.082 -(before the shell starts, identical to the)184 252 R F1<adad646562>3.582 +(before the shell starts, identical to the)184 288 R F1<adad646562>3.582 E(ugger)-.2 E F0 3.581(option. If)3.581 F 1.081(set after in)3.581 F -.2 -(vo)-.4 G 1.081(cation, be-).2 F(ha)184 264 Q +(vo)-.4 G 1.081(cation, be-).2 F(ha)184 300 Q (vior intended for use by deb)-.2 E(uggers is enabled:)-.2 E F1(1.)184 -280.8 Q F0(The)220 280.8 Q F1<ad46>4.25 E F0 1.75(option to the)4.25 F +316.8 Q F0(The)220 316.8 Q F1<ad46>4.25 E F0 1.75(option to the)4.25 F F1(declar)4.251 E(e)-.18 E F0 -.2(bu)4.251 G 1.751 (iltin displays the source \214le name and line).2 F -(number corresponding to each function name supplied as an ar)220 292.8 -Q(gument.)-.18 E F1(2.)184 309.6 Q F0 1.667(If the command run by the) -220 309.6 R F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v) +(number corresponding to each function name supplied as an ar)220 328.8 +Q(gument.)-.18 E F1(2.)184 345.6 Q F0 1.667(If the command run by the) +220 345.6 R F1(DEB)4.167 E(UG)-.1 E F0 1.667(trap returns a non-zero v) 4.167 F 1.667(alue, the ne)-.25 F(xt)-.15 E -(command is skipped and not e)220 321.6 Q -.15(xe)-.15 G(cuted.).15 E F1 -(3.)184 338.4 Q F0 .84(If the command run by the)220 338.4 R F1(DEB)3.34 +(command is skipped and not e)220 357.6 Q -.15(xe)-.15 G(cuted.).15 E F1 +(3.)184 374.4 Q F0 .84(If the command run by the)220 374.4 R F1(DEB)3.34 E(UG)-.1 E F0 .841(trap returns a v)3.341 F .841 -(alue of 2, and the shell is)-.25 F -.15(exe)220 350.4 S .488 +(alue of 2, and the shell is)-.25 F -.15(exe)220 386.4 S .488 (cuting in a subroutine \(a shell function or a shell script e).15 F -.15(xe)-.15 G .488(cuted by the).15 F F1(.)2.988 E F0(or)2.988 E F1 -(sour)220 362.4 Q(ce)-.18 E F0 -.2(bu)2.5 G +(sour)220 398.4 Q(ce)-.18 E F0 -.2(bu)2.5 G (iltins\), the shell simulates a call to).2 E F1 -.18(re)2.5 G(tur).18 E -(n)-.15 E F0(.)A F1(4.)184 379.2 Q F2 -.27(BA)220 379.2 S(SH_ARGC).27 E +(n)-.15 E F0(.)A F1(4.)184 415.2 Q F2 -.27(BA)220 415.2 S(SH_ARGC).27 E F0(and)3.153 E F2 -.27(BA)3.403 G(SH_ARGV).27 E F0 .904 -(are updated as described in their descriptions)3.154 F(abo)220 391.2 Q --.15(ve)-.15 G(.).15 E F1(5.)184 408 Q F0 1.637(Function tracing is ena\ -bled: command substitution, shell functions, and sub-)220 408 R -(shells in)220 420 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1 +(are updated as described in their descriptions)3.154 F(abo)220 427.2 Q +-.15(ve)-.15 G(.).15 E F1(5.)184 444 Q F0 1.637(Function tracing is ena\ +bled: command substitution, shell functions, and sub-)220 444 R +(shells in)220 456 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1 (\()2.5 E/F4 10/Times-Italic@0 SF(command)2.5 E F1(\))2.5 E F0 (inherit the)2.5 E F1(DEB)2.5 E(UG)-.1 E F0(and)2.5 E F1(RETURN)2.5 E F0 -(traps.)2.5 E F1(6.)184 436.8 Q F0 1.082(Error tracing is enabled: comm\ -and substitution, shell functions, and subshells)220 436.8 R(in)220 -448.8 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4 +(traps.)2.5 E F1(6.)184 472.8 Q F0 1.082(Error tracing is enabled: comm\ +and substitution, shell functions, and subshells)220 472.8 R(in)220 +484.8 Q -.2(vo)-.4 G -.1(ke).2 G 2.5(dw).1 G(ith)-2.5 E F1(\()2.5 E F4 (command)2.5 E F1(\))2.5 E F0(inherit the)2.5 E F1(ERR)2.5 E F0(trap.) -2.5 E F1(extglob)144 465.6 Q F0 .4(If set, the e)184 465.6 R .4 +2.5 E F1(extglob)144 501.6 Q F0 .4(If set, the e)184 501.6 R .4 (xtended pattern matching features described abo)-.15 F .7 -.15(ve u) --.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 477.6 Q -F0(are enabled.)2.5 E F1(extquote)144 494.4 Q F0 .86(If set,)184 506.4 R +-.15 H(nder).15 E F1 -.1(Pa)2.9 G .4(thname Expan-).1 F(sion)184 513.6 Q +F0(are enabled.)2.5 E F1(extquote)144 530.4 Q F0 .86(If set,)184 542.4 R F1($)3.36 E F0<08>A F4(string)A F0 3.36<0861>C(nd)-3.36 E F1($)3.36 E F0 (")A F4(string)A F0 3.36("q)C .86(uoting is performed within)-3.36 F F1 (${)3.36 E F4(par)A(ameter)-.15 E F1(})A F0 -.15(ex)3.36 G .86 -(pansions en-).15 F(closed in double quotes.)184 518.4 Q -(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 535.2 Q -F0 .243(If set, patterns which f)184 535.2 R .243 +(pansions en-).15 F(closed in double quotes.)184 554.4 Q +(This option is enabled by def)5 E(ault.)-.1 E F1(failglob)144 571.2 Q +F0 .243(If set, patterns which f)184 571.2 R .243 (ail to match \214lenames during pathname e)-.1 F .243 -(xpansion result in an e)-.15 F(x-)-.15 E(pansion error)184 547.2 Q(.) --.55 E F1 -.25(fo)144 564 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 -.936(If set, the suf)184 576 R<8c78>-.25 E .936(es speci\214ed by the) +(xpansion result in an e)-.15 F(x-)-.15 E(pansion error)184 583.2 Q(.) +-.55 E F1 -.25(fo)144 600 S -.18(rc).25 G(e_\214gnor).18 E(e)-.18 E F0 +.936(If set, the suf)184 612 R<8c78>-.25 E .936(es speci\214ed by the) -.15 F F2(FIGNORE)3.436 E F0 .936(shell v)3.186 F .936(ariable cause w) --.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 588 R .32 +-.25 F .937(ords to be ignored)-.1 F .32(when performing w)184 624 R .32 (ord completion e)-.1 F -.15(ve)-.25 G 2.82(ni).15 G 2.82(ft)-2.82 G .32 (he ignored w)-2.82 F .32(ords are the only possible com-)-.1 F 2.947 -(pletions. See)184 600 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0 +(pletions. See)184 636 R F2 .447(SHELL V)2.947 F(ARIABLES)-1.215 E F0 (abo)2.697 E .747 -.15(ve f)-.15 H .448(or a description of).15 F F2 (FIGNORE)2.948 E F3(.)A F0 .448(This option is)4.948 F(enabled by def) -184 612 Q(ault.)-.1 E F1(globasciiranges)144 628.8 Q F0 2.519 -(If set, range e)184 640.8 R 2.519 +184 648 Q(ault.)-.1 E F1(globasciiranges)144 664.8 Q F0 2.519 +(If set, range e)184 676.8 R 2.519 (xpressions used in pattern matching brack)-.15 F 2.518(et e)-.1 F 2.518 (xpressions \(see)-.15 F F2 -.09(Pa)5.018 G(tter).09 E(n)-.135 E -(Matching)184 652.8 Q F0(abo)2.964 E -.15(ve)-.15 G 3.214(\)b).15 G(eha) +(Matching)184 688.8 Q F0(abo)2.964 E -.15(ve)-.15 G 3.214(\)b).15 G(eha) -3.214 E 1.014 -.15(ve a)-.2 H 3.214(si).15 G 3.214(fi)-3.214 G 3.214 (nt)-3.214 G .714(he traditional C locale when performing comparisons.) --3.214 F 1.02(That is, the current locale')184 664.8 R 3.52(sc)-.55 G +-3.214 F 1.02(That is, the current locale')184 700.8 R 3.52(sc)-.55 G 1.02(ollating sequence is not tak)-3.52 F 1.02(en into account, so)-.1 F -F1(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 676.8 R F1 +F1(b)3.52 E F0 1.02(will not)3.52 F .956(collate between)184 712.8 R F1 (A)3.456 E F0(and)3.456 E F1(B)3.456 E F0 3.457(,a)C .957(nd upper) -3.457 F .957(-case and lo)-.2 F(wer)-.25 E .957 -(-case ASCII characters will collate)-.2 F(together)184 688.8 Q(.)-.55 E -F1(globstar)144 705.6 Q F0 .519(If set, the pattern)184 705.6 R F1(**) -3.019 E F0 .519(used in a pathname e)3.019 F .519(xpansion conte)-.15 F -.518(xt will match all \214les and zero)-.15 F .431 -(or more directories and subdirectories.)184 717.6 R .431 -(If the pattern is follo)5.431 F .432(wed by a)-.25 F F1(/)2.932 E F0 -2.932(,o)C .432(nly directories)-2.932 F(and subdirectories match.)184 -729.6 Q(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(19)198.725 E 0 Cg EP +(-case ASCII characters will collate)-.2 F(together)184 724.8 Q(.)-.55 E +(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(19)198.725 E 0 Cg EP %%Page: 20 20 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(gnu_errfmt)144 84 Q -F0(If set, shell error messages are written in the standard GNU error m\ -essage format.)184 96 Q F1(histappend)144 112.8 Q F0 .676 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(globstar)144 84 Q F0 +.519(If set, the pattern)184 84 R F1(**)3.019 E F0 .519 +(used in a pathname e)3.019 F .519(xpansion conte)-.15 F .518 +(xt will match all \214les and zero)-.15 F .431 +(or more directories and subdirectories.)184 96 R .431 +(If the pattern is follo)5.431 F .432(wed by a)-.25 F F1(/)2.932 E F0 +2.932(,o)C .432(nly directories)-2.932 F(and subdirectories match.)184 +108 Q F1(gnu_errfmt)144 124.8 Q F0(If set, shell error messages are wri\ +tten in the standard GNU error message format.)184 136.8 Q F1 +(histappend)144 153.6 Q F0 .676 (If set, the history list is appended to the \214le named by the v)184 -124.8 R .676(alue of the)-.25 F/F2 9/Times-Bold@0 SF(HISTFILE)3.176 E F0 --.25(va)2.926 G(ri-).25 E(able when the shell e)184 136.8 Q +165.6 R .676(alue of the)-.25 F/F2 9/Times-Bold@0 SF(HISTFILE)3.176 E F0 +-.25(va)2.926 G(ri-).25 E(able when the shell e)184 177.6 Q (xits, rather than o)-.15 E -.15(ve)-.15 G(rwriting the \214le.).15 E F1 -(histr)144 153.6 Q(eedit)-.18 E F0 .575(If set, and)184 165.6 R F1 -.18 +(histr)144 194.4 Q(eedit)-.18 E F0 .575(If set, and)184 206.4 R F1 -.18 (re)3.075 G(adline).18 E F0 .575(is being used, a user is gi)3.075 F -.15(ve)-.25 G 3.075(nt).15 G .576(he opportunity to re-edit a f)-3.075 -F .576(ailed his-)-.1 F(tory substitution.)184 177.6 Q F1(histv)144 -194.4 Q(erify)-.1 E F0 .403(If set, and)184 206.4 R F1 -.18(re)2.903 G +F .576(ailed his-)-.1 F(tory substitution.)184 218.4 Q F1(histv)144 +235.2 Q(erify)-.1 E F0 .403(If set, and)184 247.2 R F1 -.18(re)2.903 G (adline).18 E F0 .403 (is being used, the results of history substitution are not immediately) -2.903 F .661(passed to the shell parser)184 218.4 R 5.661(.I)-.55 G .662 +2.903 F .661(passed to the shell parser)184 259.2 R 5.661(.I)-.55 G .662 (nstead, the resulting line is loaded into the)-5.661 F F1 -.18(re)3.162 -G(adline).18 E F0(editing)3.162 E -.2(bu)184 230.4 S -.25(ff).2 G(er).25 +G(adline).18 E F0(editing)3.162 E -.2(bu)184 271.2 S -.25(ff).2 G(er).25 E 2.5(,a)-.4 G(llo)-2.5 E(wing further modi\214cation.)-.25 E F1 -(hostcomplete)144 247.2 Q F0 1.182(If set, and)184 259.2 R F1 -.18(re) -3.682 G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 -1.181(will attempt to perform hostname completion)3.681 F 1.38(when a w) -184 271.2 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 +(hostcomplete)144 288 Q F0 1.182(If set, and)184 300 R F1 -.18(re)3.682 +G(adline).18 E F0 1.182(is being used,)3.682 F F1(bash)3.682 E F0 1.181 +(will attempt to perform hostname completion)3.681 F 1.38(when a w)184 +312 R 1.38(ord containing a)-.1 F F1(@)3.881 E F0 1.381 (is being completed \(see)3.881 F F1(Completing)3.881 E F0(under)3.881 E -F2(READLINE)3.881 E F0(abo)184 283.2 Q -.15(ve)-.15 G 2.5(\). This).15 F -(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 300 Q F0(If set,) -184 312 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 +F2(READLINE)3.881 E F0(abo)184 324 Q -.15(ve)-.15 G 2.5(\). This).15 F +(is enabled by def)2.5 E(ault.)-.1 E F1(huponexit)144 340.8 Q F0 +(If set,)184 352.8 Q F1(bash)2.5 E F0(will send)2.5 E F2(SIGHUP)2.5 E F0 (to all jobs when an interacti)2.25 E .3 -.15(ve l)-.25 H(ogin shell e) -.15 E(xits.)-.15 E F1(inherit_err)144 328.8 Q(exit)-.18 E F0 .22 -(If set, command substitution inherits the v)184 340.8 R .219 +.15 E(xits.)-.15 E F1(inherit_err)144 369.6 Q(exit)-.18 E F0 .22 +(If set, command substitution inherits the v)184 381.6 R .219 (alue of the)-.25 F F1(err)2.719 E(exit)-.18 E F0 .219 -(option, instead of unsetting)2.719 F(it in the subshell en)184 352.8 Q +(option, instead of unsetting)2.719 F(it in the subshell en)184 393.6 Q 2.5(vironment. This)-.4 F(option is enabled when)2.5 E/F3 10 /Times-Italic@0 SF(posix mode)2.5 E F0(is enabled.)2.5 E F1(interacti) -144 369.6 Q -.1(ve)-.1 G(_comments).1 E F0 .33(If set, allo)184 381.6 R +144 410.4 Q -.1(ve)-.1 G(_comments).1 E F0 .33(If set, allo)184 422.4 R 2.83(waw)-.25 G .33(ord be)-2.93 F .33(ginning with)-.15 F F1(#)2.83 E F0 .33(to cause that w)2.83 F .33(ord and all remaining characters on) --.1 F .967(that line to be ignored in an interacti)184 393.6 R 1.267 +-.1 F .967(that line to be ignored in an interacti)184 434.4 R 1.267 -.15(ve s)-.25 H .967(hell \(see).15 F F2(COMMENTS)3.467 E F0(abo)3.217 E -.15(ve)-.15 G 3.467(\). This).15 F .967(option is)3.467 F -(enabled by def)184 405.6 Q(ault.)-.1 E F1(lastpipe)144 422.4 Q F0 .066 -(If set, and job control is not acti)184 422.4 R -.15(ve)-.25 G 2.566 +(enabled by def)184 446.4 Q(ault.)-.1 E F1(lastpipe)144 463.2 Q F0 .066 +(If set, and job control is not acti)184 463.2 R -.15(ve)-.25 G 2.566 (,t).15 G .066(he shell runs the last command of a pipeline not e)-2.566 F -.15(xe)-.15 G(-).15 E -(cuted in the background in the current shell en)184 434.4 Q(vironment.) --.4 E F1(lithist)144 451.2 Q F0 .655(If set, and the)184 451.2 R F1 -(cmdhist)3.155 E F0 .654(option is enabled, multi-line commands are sa) -3.154 F -.15(ve)-.2 G 3.154(dt).15 G 3.154(ot)-3.154 G .654(he history) --3.154 F(with embedded ne)184 463.2 Q +(cuted in the background in the current shell en)184 475.2 Q(vironment.) +-.4 E F1(lithist)144 492 Q F0 .655(If set, and the)184 492 R F1(cmdhist) +3.155 E F0 .654(option is enabled, multi-line commands are sa)3.154 F +-.15(ve)-.2 G 3.154(dt).15 G 3.154(ot)-3.154 G .654(he history)-3.154 F +(with embedded ne)184 504 Q (wlines rather than using semicolon separators where possible.)-.25 E F1 -(localv)144 480 Q(ar_inherit)-.1 E F0 .421(If set, local v)184 492 R +(localv)144 520.8 Q(ar_inherit)-.1 E F0 .421(If set, local v)184 532.8 R .422(ariables inherit the v)-.25 F .422(alue and attrib)-.25 F .422 (utes of a v)-.2 F .422(ariable of the same name that)-.25 F -.15(ex)184 -504 S .174(ists at a pre).15 F .174(vious scope before an)-.25 F 2.673 +544.8 S .174(ists at a pre).15 F .174(vious scope before an)-.25 F 2.673 (yn)-.15 G .673 -.25(ew va)-2.673 H .173(lue is assigned.).25 F .173 -(The nameref attrib)5.173 F .173(ute is not)-.2 F(inherited.)184 516 Q -F1(localv)144 532.8 Q(ar_unset)-.1 E F0 .328(If set, calling)184 544.8 R +(The nameref attrib)5.173 F .173(ute is not)-.2 F(inherited.)184 556.8 Q +F1(localv)144 573.6 Q(ar_unset)-.1 E F0 .328(If set, calling)184 585.6 R F1(unset)2.828 E F0 .328(on local v)2.828 F .329(ariables in pre)-.25 F .329(vious function scopes marks them so subse-)-.25 F .543(quent looku\ ps \214nd them unset until that function returns. This is identical to \ -the beha)184 556.8 R(v-)-.2 E(ior of unsetting local v)184 568.8 Q -(ariables at the current function scope.)-.25 E F1(login_shell)144 585.6 +the beha)184 597.6 R(v-)-.2 E(ior of unsetting local v)184 609.6 Q +(ariables at the current function scope.)-.25 E F1(login_shell)144 626.4 Q F0 .486 (The shell sets this option if it is started as a login shell \(see)184 -597.6 R F2(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo)2.737 E -.15(ve) --.15 G 2.987(\). The).15 F -.25(va)184 609.6 S(lue may not be changed.) -.25 E F1(mailwar)144 626.4 Q(n)-.15 E F0 .815(If set, and a \214le that) -184 638.4 R F1(bash)3.315 E F0 .814 +638.4 R F2(INV)2.987 E(OCA)-.405 E(TION)-.855 E F0(abo)2.737 E -.15(ve) +-.15 G 2.987(\). The).15 F -.25(va)184 650.4 S(lue may not be changed.) +.25 E F1(mailwar)144 667.2 Q(n)-.15 E F0 .815(If set, and a \214le that) +184 679.2 R F1(bash)3.315 E F0 .814 (is checking for mail has been accessed since the last time it)3.315 F --.1(wa)184 650.4 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E +-.1(wa)184 691.2 S 2.5(sc).1 G(heck)-2.5 E(ed, the message `)-.1 E (`The mail in)-.74 E F3(mail\214le)2.5 E F0(has been read')2.5 E 2.5('i) --.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E F1(no_empty_cmd_completion)144 -667.2 Q F0 .324(If set, and)184 679.2 R F1 -.18(re)2.824 G(adline).18 E -F0 .324(is being used,)2.824 F F1(bash)2.824 E F0 .324 -(will not attempt to search the)2.824 F F2 -.666(PA)2.825 G(TH)-.189 E -F0 .325(for possible)2.575 F -(completions when completion is attempted on an empty line.)184 691.2 Q -(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(20)198.725 E 0 Cg EP +-.74 G 2.5(sd)-2.5 G(isplayed.)-2.5 E(GNU Bash 5.0)72 768 Q(2004 Apr 20) +149.565 E(20)198.725 E 0 Cg EP %%Page: 21 21 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(nocaseglob)144 84 Q -F0 .437(If set,)184 96 R F1(bash)2.937 E F0 .436 -(matches \214lenames in a case\255insensiti)2.937 F .736 -.15(ve f)-.25 -H .436(ashion when performing pathname).05 F -.15(ex)184 108 S +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF +(no_empty_cmd_completion)144 84 Q F0 .324(If set, and)184 96 R F1 -.18 +(re)2.824 G(adline).18 E F0 .324(is being used,)2.824 F F1(bash)2.824 E +F0 .324(will not attempt to search the)2.824 F/F2 9/Times-Bold@0 SF +-.666(PA)2.825 G(TH)-.189 E F0 .325(for possible)2.575 F +(completions when completion is attempted on an empty line.)184 108 Q F1 +(nocaseglob)144 124.8 Q F0 .437(If set,)184 136.8 R F1(bash)2.937 E F0 +.436(matches \214lenames in a case\255insensiti)2.937 F .736 -.15(ve f) +-.25 H .436(ashion when performing pathname).05 F -.15(ex)184 148.8 S (pansion \(see).15 E F1 -.1(Pa)2.5 G(thname Expansion).1 E F0(abo)2.5 E --.15(ve)-.15 G(\).).15 E F1(nocasematch)144 124.8 Q F0 1.193(If set,)184 -136.8 R F1(bash)3.693 E F0 1.194 +-.15(ve)-.15 G(\).).15 E F1(nocasematch)144 165.6 Q F0 1.193(If set,)184 +177.6 R F1(bash)3.693 E F0 1.194 (matches patterns in a case\255insensiti)3.693 F 1.494 -.15(ve f)-.25 H -1.194(ashion when performing matching).05 F .551(while e)184 148.8 R +1.194(ashion when performing matching).05 F .551(while e)184 189.6 R -.15(xe)-.15 G(cuting).15 E F1(case)3.051 E F0(or)3.051 E F1([[)3.051 E F0 .551(conditional commands, when performing pattern substitution)3.051 -F -.1(wo)184 160.8 S .622(rd e).1 F .623(xpansions, or when \214ltering\ +F -.1(wo)184 201.6 S .622(rd e).1 F .623(xpansions, or when \214ltering\ possible completions as part of programmable com-)-.15 F(pletion.)184 -172.8 Q F1(nullglob)144 189.6 Q F0 .855(If set,)184 201.6 R F1(bash) +213.6 Q F1(nullglob)144 230.4 Q F0 .855(If set,)184 242.4 R F1(bash) 3.355 E F0(allo)3.355 E .855(ws patterns which match no \214les \(see) -.25 F F1 -.1(Pa)3.354 G .854(thname Expansion).1 F F0(abo)3.354 E -.15 -(ve)-.15 G 3.354(\)t).15 G(o)-3.354 E -.15(ex)184 213.6 S +(ve)-.15 G 3.354(\)t).15 G(o)-3.354 E -.15(ex)184 254.4 S (pand to a null string, rather than themselv).15 E(es.)-.15 E F1(pr)144 -230.4 Q(ogcomp)-.18 E F0 .676(If set, the programmable completion f)184 -242.4 R .677(acilities \(see)-.1 F F1(Pr)3.177 E .677 +271.2 Q(ogcomp)-.18 E F0 .676(If set, the programmable completion f)184 +283.2 R .677(acilities \(see)-.1 F F1(Pr)3.177 E .677 (ogrammable Completion)-.18 F F0(abo)3.177 E -.15(ve)-.15 G(\)).15 E -(are enabled.)184 254.4 Q(This option is enabled by def)5 E(ault.)-.1 E -F1(pr)144 271.2 Q(ogcomp_alias)-.18 E F0 2.124 -(If set, and programmable completion is enabled,)184 283.2 R F1(bash) -4.624 E F0 2.124(treats a command name that)4.624 F(doesn')184 295.2 Q -3.288(th)-.18 G -2.25 -.2(av e)-3.288 H(an)3.488 E 3.288(yc)-.15 G .789 +(are enabled.)184 295.2 Q(This option is enabled by def)5 E(ault.)-.1 E +F1(pr)144 312 Q(ogcomp_alias)-.18 E F0 2.124 +(If set, and programmable completion is enabled,)184 324 R F1(bash)4.624 +E F0 2.124(treats a command name that)4.624 F(doesn')184 336 Q 3.288(th) +-.18 G -2.25 -.2(av e)-3.288 H(an)3.488 E 3.288(yc)-.15 G .789 (ompletions as a possible alias and attempts alias e)-3.288 F .789 -(xpansion. If it has)-.15 F 1.473(an alias,)184 307.2 R F1(bash)3.973 E -F0 1.473(attempts programmable completion using the command w)3.973 F -1.473(ord resulting)-.1 F(from the e)184 319.2 Q(xpanded alias.)-.15 E -F1(pr)144 336 Q(omptv)-.18 E(ars)-.1 E F0 1.447 -(If set, prompt strings under)184 348 R 1.448(go parameter e)-.18 F -1.448(xpansion, command substitution, arithmetic)-.15 F -.15(ex)184 360 -S .171(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G .17 -(fter being e)-2.67 F .17(xpanded as described in)-.15 F/F2 9 -/Times-Bold@0 SF(PR)2.67 E(OMPTING)-.27 E F0(abo)2.42 E -.15(ve)-.15 G -(.).15 E(This option is enabled by def)184 372 Q(ault.)-.1 E F1 -.18(re) -144 388.8 S(stricted_shell).18 E F0 1.069 +(xpansion. If it has)-.15 F 1.473(an alias,)184 348 R F1(bash)3.973 E F0 +1.473(attempts programmable completion using the command w)3.973 F 1.473 +(ord resulting)-.1 F(from the e)184 360 Q(xpanded alias.)-.15 E F1(pr) +144 376.8 Q(omptv)-.18 E(ars)-.1 E F0 1.447 +(If set, prompt strings under)184 388.8 R 1.448(go parameter e)-.18 F +1.448(xpansion, command substitution, arithmetic)-.15 F -.15(ex)184 +400.8 S .171(pansion, and quote remo).15 F -.25(va)-.15 G 2.67(la).25 G +.17(fter being e)-2.67 F .17(xpanded as described in)-.15 F F2(PR)2.67 E +(OMPTING)-.27 E F0(abo)2.42 E -.15(ve)-.15 G(.).15 E +(This option is enabled by def)184 412.8 Q(ault.)-.1 E F1 -.18(re)144 +429.6 S(stricted_shell).18 E F0 1.069 (The shell sets this option if it is started in restricted mode \(see) -184 400.8 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 412.8 Q 2.86 +184 441.6 R F2 1.069(RESTRICTED SHELL)3.569 F F0(belo)184 453.6 Q 2.86 (w\). The)-.25 F -.25(va)2.86 G .36(lue may not be changed.).25 F .36 (This is not reset when the startup \214les are e)5.36 F -.15(xe)-.15 G -(-).15 E(cuted, allo)184 424.8 Q(wing the startup \214les to disco)-.25 +(-).15 E(cuted, allo)184 465.6 Q(wing the startup \214les to disco)-.25 E -.15(ve)-.15 G 2.5(rw).15 G(hether or not a shell is restricted.)-2.5 -E F1(shift_v)144 441.6 Q(erbose)-.1 E F0 .501(If set, the)184 453.6 R F1 +E F1(shift_v)144 482.4 Q(erbose)-.1 E F0 .501(If set, the)184 494.4 R F1 (shift)3.001 E F0 -.2(bu)3.001 G .501 (iltin prints an error message when the shift count e).2 F .502 -(xceeds the number)-.15 F(of positional parameters.)184 465.6 Q F1(sour) -144 482.4 Q(cepath)-.18 E F0 .771(If set, the)184 494.4 R F1(sour)3.271 +(xceeds the number)-.15 F(of positional parameters.)184 506.4 Q F1(sour) +144 523.2 Q(cepath)-.18 E F0 .771(If set, the)184 535.2 R F1(sour)3.271 E(ce)-.18 E F0(\()3.271 E F1(.)A F0 3.271(\)b)C .771(uiltin uses the v) -3.471 F .771(alue of)-.25 F F2 -.666(PA)3.27 G(TH)-.189 E F0 .77 (to \214nd the directory containing the)3.02 F(\214le supplied as an ar) -184 506.4 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E -(ault.)-.1 E F1(xpg_echo)144 523.2 Q F0(If set, the)184 535.2 Q F1(echo) -2.5 E F0 -.2(bu)2.5 G(iltin e).2 E -(xpands backslash-escape sequences by def)-.15 E(ault.)-.1 E F1(suspend) -108 552 Q F0([)2.5 E F1<ad66>A F0(])A 1.001(Suspend the e)144 564 R -.15 -(xe)-.15 G 1.001(cution of this shell until it recei).15 F -.15(ve)-.25 -G 3.501(sa).15 G F2(SIGCONT)A F0 3.502(signal. A)3.252 F 1.002 -(login shell cannot be)3.502 F .023(suspended; the)144 576 R F1<ad66> -2.523 E F0 .023(option can be used to o)2.523 F -.15(ve)-.15 G .022 +184 547.2 Q 2.5(gument. This)-.18 F(option is enabled by def)2.5 E +(ault.)-.1 E F1(xpg_echo)144 564 Q F0(If set, the)184 576 Q F1(echo)2.5 +E F0 -.2(bu)2.5 G(iltin e).2 E(xpands backslash-escape sequences by def) +-.15 E(ault.)-.1 E F1(suspend)108 592.8 Q F0([)2.5 E F1<ad66>A F0(])A +1.001(Suspend the e)144 604.8 R -.15(xe)-.15 G 1.001 +(cution of this shell until it recei).15 F -.15(ve)-.25 G 3.501(sa).15 G +F2(SIGCONT)A F0 3.502(signal. A)3.252 F 1.002(login shell cannot be) +3.502 F .023(suspended; the)144 616.8 R F1<ad66>2.523 E F0 .023 +(option can be used to o)2.523 F -.15(ve)-.15 G .022 (rride this and force the suspension.).15 F .022(The return status is) -5.022 F 2.5(0u)144 588 S(nless the shell is a login shell and)-2.5 E F1 -<ad66>2.5 E F0(is not supplied, or if job control is not enabled.)2.5 E -F1(test)108 604.8 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([) -108 616.8 Q F3 -.2(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877 -(Return a status of 0 \(true\) or 1 \(f)144 616.8 R .878 +5.022 F 2.5(0u)144 628.8 S(nless the shell is a login shell and)-2.5 E +F1<ad66>2.5 E F0(is not supplied, or if job control is not enabled.)2.5 +E F1(test)108 645.6 Q/F3 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1([) +108 657.6 Q F3 -.2(ex)2.5 G(pr).2 E F1(])2.5 E F0 .877 +(Return a status of 0 \(true\) or 1 \(f)144 657.6 R .878 (alse\) depending on the e)-.1 F -.25(va)-.25 G .878 -(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 628.8 +(luation of the conditional e).25 F(xpression)-.15 E F3 -.2(ex)144 669.6 S(pr).2 E F0 5.53(.E).73 G .53 (ach operator and operand must be a separate ar)-5.53 F 3.03 (gument. Expressions)-.18 F .53(are composed of the)3.03 F .072 -(primaries described in the)144 640.8 R F1(bash)2.573 E F0 .073 +(primaries described in the)144 681.6 R F1(bash)2.573 E F0 .073 (manual page under)2.573 F F2(CONDITION)2.573 E .073(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(.)A F1(test)4.573 E F0 .073(does not)2.573 F -.695(accept an)144 652.8 R 3.195(yo)-.15 G .695 +.695(accept an)144 693.6 R 3.195(yo)-.15 G .695 (ptions, nor does it accept and ignore an ar)-3.195 F .694(gument of) -.18 F F1<adad>3.194 E F0 .694(as signifying the end of op-)3.194 F -(tions.)144 664.8 Q .785(Expressions may be combined using the follo)144 -682.8 R .786(wing operators, listed in decreasing order of prece-)-.25 F -3.412(dence. The)144 694.8 R -.25(eva)3.412 G .912 -(luation depends on the number of ar).25 F .911(guments; see belo)-.18 F -4.711 -.65(w. O)-.25 H .911(perator precedence is).65 F -(used when there are \214v)144 706.8 Q 2.5(eo)-.15 G 2.5(rm)-2.5 G -(ore ar)-2.5 E(guments.)-.18 E F1(!)144 718.8 Q F3 -.2(ex)2.5 G(pr).2 E -F0 -.35(Tr)180 718.8 S(ue if).35 E F3 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 -E(alse.)-.1 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(21)198.725 E 0 -Cg EP +(tions.)144 705.6 Q 3.141(Expressions may be combined using the follo) +144 723.6 R 3.141(wing operators, listed in decreasing order of)-.25 F +(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(21)198.725 E 0 Cg EP %%Page: 22 22 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(\()144 84 Q/F2 10 -/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26 -(Returns the v)180 84 R .26(alue of)-.25 F F2 -.2(ex)2.76 G(pr).2 E F0 -5.26(.T)C .26(his may be used to o)-5.26 F -.15(ve)-.15 G .26 -(rride the normal precedence of opera-).15 F(tors.)180 96 Q F2 -.2(ex) -144 108 S(pr1).2 E F0<ad>2.5 E F1(a)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35 -(Tr)180 120 S(ue if both).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F2 --.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F2 -.2(ex)144 132 S(pr1).2 E -F0<ad>2.5 E F1(o)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 144 S +E(UIL)-.1 E(TINS\(1\))-.92 E 4.114(precedence. The)144 84 R -.25(eva) +4.114 G 1.613(luation depends on the number of ar).25 F 1.613 +(guments; see belo)-.18 F 5.413 -.65(w. O)-.25 H 1.613(perator prece-) +.65 F(dence is used when there are \214v)144 96 Q 2.5(eo)-.15 G 2.5(rm) +-2.5 G(ore ar)-2.5 E(guments.)-.18 E/F1 10/Times-Bold@0 SF(!)144 108 Q +/F2 10/Times-Italic@0 SF -.2(ex)2.5 G(pr).2 E F0 -.35(Tr)180 108 S +(ue if).35 E F2 -.2(ex)2.5 G(pr).2 E F0(is f)3.23 E(alse.)-.1 E F1(\() +144 120 Q F2 -.2(ex)2.5 G(pr).2 E F1(\))2.5 E F0 .26(Returns the v)180 +120 R .26(alue of)-.25 F F2 -.2(ex)2.76 G(pr).2 E F0 5.26(.T)C .26 +(his may be used to o)-5.26 F -.15(ve)-.15 G .26 +(rride the normal precedence of opera-).15 F(tors.)180 132 Q F2 -.2(ex) +144 144 S(pr1).2 E F0<ad>2.5 E F1(a)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35 +(Tr)180 156 S(ue if both).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(and)2.5 E F2 +-.2(ex)2.5 G(pr2).2 E F0(are true.)2.52 E F2 -.2(ex)144 168 S(pr1).2 E +F0<ad>2.5 E F1(o)A F2 -.2(ex)2.5 G(pr2).2 E F0 -.35(Tr)180 180 S (ue if either).35 E F2 -.2(ex)2.5 G(pr1).2 E F0(or)2.5 E F2 -.2(ex)2.5 G -(pr2).2 E F0(is true.)2.52 E F1(test)144 160.8 Q F0(and)2.5 E F1([)2.5 E +(pr2).2 E F0(is true.)2.52 E F1(test)144 196.8 Q F0(and)2.5 E F1([)2.5 E F0 -.25(eva)2.5 G(luate conditional e).25 E (xpressions using a set of rules based on the number of ar)-.15 E -(guments.)-.18 E 2.5(0a)144 178.8 S -.18(rg)-2.5 G(uments).18 E(The e) -180 190.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 202.8 S -.18 -(rg)-2.5 G(ument).18 E(The e)180 214.8 Q +(guments.)-.18 E 2.5(0a)144 214.8 S -.18(rg)-2.5 G(uments).18 E(The e) +180 226.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(1a)144 238.8 S -.18 +(rg)-2.5 G(ument).18 E(The e)180 250.8 Q (xpression is true if and only if the ar)-.15 E(gument is not null.)-.18 -E 2.5(2a)144 226.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) -180 238.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 +E 2.5(2a)144 262.8 S -.18(rg)-2.5 G(uments).18 E .37(If the \214rst ar) +180 274.8 R .37(gument is)-.18 F F1(!)2.87 E F0 2.87(,t)C .37(he e)-2.87 F .37(xpression is true if and only if the second ar)-.15 F .37 -(gument is null.)-.18 F .379(If the \214rst ar)180 250.8 R .38 +(gument is null.)-.18 F .379(If the \214rst ar)180 286.8 R .38 (gument is one of the unary conditional operators listed abo)-.18 F .68 -.15(ve u)-.15 H(nder).15 E/F3 9/Times-Bold@0 SF(CONDI-)2.88 E(TION)180 -262.8 Q .553(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 +298.8 Q .553(AL EXPRESSIONS)-.18 F/F4 9/Times-Roman@0 SF(,)A F0 .552 (the e)2.802 F .552(xpression is true if the unary test is true.)-.15 F -.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 274.8 Q +.552(If the \214rst ar)5.552 F(gu-)-.18 E(ment is not a v)180 310.8 Q (alid unary conditional operator)-.25 E 2.5(,t)-.4 G(he e)-2.5 E -(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 286.8 S -.18(rg)-2.5 G -(uments).18 E .236(The follo)180 298.8 R .236 +(xpression is f)-.15 E(alse.)-.1 E 2.5(3a)144 322.8 S -.18(rg)-2.5 G +(uments).18 E .236(The follo)180 334.8 R .236 (wing conditions are applied in the order listed.)-.25 F .236 (If the second ar)5.236 F .236(gument is one of)-.18 F .855 -(the binary conditional operators listed abo)180 310.8 R 1.155 -.15 +(the binary conditional operators listed abo)180 346.8 R 1.155 -.15 (ve u)-.15 H(nder).15 E F3(CONDITION)3.355 E .855(AL EXPRESSIONS)-.18 F -F4(,)A F0(the)3.104 E .578(result of the e)180 322.8 R .578(xpression i\ +F4(,)A F0(the)3.104 E .578(result of the e)180 358.8 R .578(xpression i\ s the result of the binary test using the \214rst and third ar)-.15 F -(guments)-.18 E 1.333(as operands.)180 334.8 R(The)6.333 E F1<ad61>3.833 +(guments)-.18 E 1.333(as operands.)180 370.8 R(The)6.333 E F1<ad61>3.833 E F0(and)3.833 E F1<ad6f>3.832 E F0 1.332 (operators are considered binary operators when there are)3.832 F .558 -(three ar)180 346.8 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 +(three ar)180 382.8 R 3.058(guments. If)-.18 F .558(the \214rst ar)3.058 F .558(gument is)-.18 F F1(!)3.058 E F0 3.058(,t)C .558(he v)-3.058 F .558(alue is the ne)-.25 F -.05(ga)-.15 G .558(tion of the tw).05 F (o-ar)-.1 E(gument)-.18 E .521(test using the second and third ar)180 -358.8 R 3.021(guments. If)-.18 F .521(the \214rst ar)3.021 F .52 +394.8 R 3.021(guments. If)-.18 F .521(the \214rst ar)3.021 F .52 (gument is e)-.18 F(xactly)-.15 E F1(\()3.02 E F0 .52(and the third)3.02 -F(ar)180 370.8 Q .485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 +F(ar)180 406.8 Q .485(gument is e)-.18 F(xactly)-.15 E F1(\))2.985 E F0 2.985(,t)C .485(he result is the one-ar)-2.985 F .485 (gument test of the second ar)-.18 F 2.985(gument. Other)-.18 F(-)-.2 E -(wise, the e)180 382.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 -394.8 S -.18(rg)-2.5 G(uments).18 E .385(If the \214rst ar)180 406.8 R +(wise, the e)180 418.8 Q(xpression is f)-.15 E(alse.)-.1 E 2.5(4a)144 +430.8 S -.18(rg)-2.5 G(uments).18 E .385(If the \214rst ar)180 442.8 R .385(gument is)-.18 F F1(!)2.885 E F0 2.885(,t)C .385 (he result is the ne)-2.885 F -.05(ga)-.15 G .384(tion of the three-ar) .05 F .384(gument e)-.18 F .384(xpression com-)-.15 F .284 -(posed of the remaining ar)180 418.8 R 2.784(guments. Otherwise,)-.18 F +(posed of the remaining ar)180 454.8 R 2.784(guments. Otherwise,)-.18 F .284(the e)2.784 F .284(xpression is parsed and e)-.15 F -.25(va)-.25 G .285(luated ac-).25 F(cording to precedence using the rules listed abo) -180 430.8 Q -.15(ve)-.15 G(.).15 E 2.5(5o)144 442.8 S 2.5(rm)-2.5 G -(ore ar)-2.5 E(guments)-.18 E 1.635(The e)180 454.8 R 1.635 +180 466.8 Q -.15(ve)-.15 G(.).15 E 2.5(5o)144 478.8 S 2.5(rm)-2.5 G +(ore ar)-2.5 E(guments)-.18 E 1.635(The e)180 490.8 R 1.635 (xpression is parsed and e)-.15 F -.25(va)-.25 G 1.635 (luated according to precedence using the rules listed).25 F(abo)180 -466.8 Q -.15(ve)-.15 G(.).15 E(When used with)144 484.8 Q F1(test)2.5 E +502.8 Q -.15(ve)-.15 G(.).15 E(When used with)144 520.8 Q F1(test)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 E F1 (>)2.5 E F0(operators sort le)2.5 E -(xicographically using ASCII ordering.)-.15 E F1(times)108 501.6 Q F0 +(xicographically using ASCII ordering.)-.15 E F1(times)108 537.6 Q F0 1.229(Print the accumulated user and system times for the shell and for\ - processes run from the shell.)144 501.6 R(The return status is 0.)144 -513.6 Q F1(trap)108 530.4 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E + processes run from the shell.)144 537.6 R(The return status is 0.)144 +549.6 Q F1(trap)108 566.4 Q F0([)2.5 E F1(\255lp)A F0 2.5(][)C([)-2.5 E F2(ar)A(g)-.37 E F0(])A F2(sigspec)2.5 E F0(...])2.5 E .683(The command) -144 542.4 R F2(ar)3.513 E(g)-.37 E F0 .683(is to be read and e)3.403 F +144 578.4 R F2(ar)3.513 E(g)-.37 E F0 .683(is to be read and e)3.403 F -.15(xe)-.15 G .682(cuted when the shell recei).15 F -.15(ve)-.25 G 3.182(ss).15 G(ignal\(s\))-3.182 E F2(sigspec)3.522 E F0 5.682(.I).31 G (f)-5.682 E F2(ar)3.512 E(g)-.37 E F0(is)3.402 E .608 -(absent \(and there is a single)144 554.4 R F2(sigspec)3.108 E F0 3.108 +(absent \(and there is a single)144 590.4 R F2(sigspec)3.108 E F0 3.108 (\)o)C(r)-3.108 E F1<ad>3.108 E F0 3.108(,e)C .608 (ach speci\214ed signal is reset to its original disposition)-3.108 F -.659(\(the v)144 566.4 R .659(alue it had upon entrance to the shell\).) +.659(\(the v)144 602.4 R .659(alue it had upon entrance to the shell\).) -.25 F(If)5.658 E F2(ar)3.488 E(g)-.37 E F0 .658 (is the null string the signal speci\214ed by each)3.378 F F2(sigspec) -144.34 578.4 Q F0 .58(is ignored by the shell and by the commands it in) +144.34 614.4 Q F0 .58(is ignored by the shell and by the commands it in) 3.39 F -.2(vo)-.4 G -.1(ke).2 G 3.081(s. If).1 F F2(ar)3.411 E(g)-.37 E F0 .581(is not present and)3.301 F F1<ad70>3.081 E F0(has)3.081 E 1.215 -(been supplied, then the trap commands associated with each)144 590.4 R +(been supplied, then the trap commands associated with each)144 626.4 R F2(sigspec)4.054 E F0 1.214(are displayed.)4.024 F 1.214(If no ar)6.214 -F(gu-)-.18 E .86(ments are supplied or if only)144 602.4 R F1<ad70>3.36 +F(gu-)-.18 E .86(ments are supplied or if only)144 638.4 R F1<ad70>3.36 E F0 .86(is gi)3.36 F -.15(ve)-.25 G(n,).15 E F1(trap)3.36 E F0 .86 (prints the list of commands associated with each)3.36 F 2.83 -(signal. The)144 614.4 R F1<ad6c>2.83 E F0 .33(option causes the shell \ +(signal. The)144 650.4 R F1<ad6c>2.83 E F0 .33(option causes the shell \ to print a list of signal names and their corresponding num-)2.83 F 4.31 -(bers. Each)144 626.4 R F2(sigspec)4.65 E F0 1.811 +(bers. Each)144 662.4 R F2(sigspec)4.65 E F0 1.811 (is either a signal name de\214ned in <)4.62 F F2(signal.h)A F0 1.811 (>, or a signal number)B 6.811(.S)-.55 G(ignal)-6.811 E -(names are case insensiti)144 638.4 Q .3 -.15(ve a)-.25 H(nd the).15 E -F3(SIG)2.5 E F0(pre\214x is optional.)2.25 E .667(If a)144 656.4 R F2 +(names are case insensiti)144 674.4 Q .3 -.15(ve a)-.25 H(nd the).15 E +F3(SIG)2.5 E F0(pre\214x is optional.)2.25 E .667(If a)144 692.4 R F2 (sigspec)3.507 E F0(is)3.477 E F3(EXIT)3.167 E F0 .667 (\(0\) the command)2.917 F F2(ar)3.496 E(g)-.37 E F0 .666(is e)3.386 F -.15(xe)-.15 G .666(cuted on e).15 F .666(xit from the shell.)-.15 F .666(If a)5.666 F F2(sigspec)3.506 E F0(is)3.476 E F3(DE-)3.166 E -.09 -(BU)144 668.4 S(G).09 E F4(,)A F0 .483(the command)2.733 F F2(ar)3.313 E +(BU)144 704.4 S(G).09 E F4(,)A F0 .483(the command)2.733 F F2(ar)3.313 E (g)-.37 E F0 .483(is e)3.203 F -.15(xe)-.15 G .484(cuted before e).15 F -.15(ve)-.25 G(ry).15 E F2 .484(simple command)2.984 F F0(,)A F2(for) 2.984 E F0(command,)2.984 E F2(case)2.984 E F0(command,)2.984 E F2 -(select)144 680.4 Q F0 .563(command, e)3.063 F -.15(ve)-.25 G .563 +(select)144 716.4 Q F0 .563(command, e)3.063 F -.15(ve)-.25 G .563 (ry arithmetic).15 F F2(for)3.063 E F0 .563 (command, and before the \214rst command e)3.063 F -.15(xe)-.15 G .562 -(cutes in a shell).15 F .622(function \(see)144 692.4 R F3 .622 +(cutes in a shell).15 F .622(function \(see)144 728.4 R F3 .622 (SHELL GRAMMAR)3.122 F F0(abo)2.872 E -.15(ve)-.15 G 3.122(\). Refer).15 F .622(to the description of the)3.122 F F1(extdeb)3.122 E(ug)-.2 E F0 -.622(option to the)3.122 F F1(shopt)144 704.4 Q F0 -.2(bu)2.996 G .496 -(iltin for details of its ef).2 F .496(fect on the)-.25 F F1(DEB)2.996 E -(UG)-.1 E F0 2.996(trap. If)2.996 F(a)2.996 E F2(sigspec)3.336 E F0(is) -3.306 E F3(RETURN)2.996 E F4(,)A F0 .496(the command)2.746 F F2(ar) -144.33 716.4 Q(g)-.37 E F0 .18(is e)2.9 F -.15(xe)-.15 G .18 -(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G .18 -(cuted with the).15 F F1(.)2.68 E F0(or)2.68 E F1(sour)2.68 E(ce)-.18 E -F0 -.2(bu)2.68 G .18(iltins \214nishes).2 F -.15(exe)144 728.4 S -(cuting.).15 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(22)198.725 E -0 Cg EP +.622(option to the)3.122 F(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E +(22)198.725 E 0 Cg EP %%Page: 23 23 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E .961(If a)144 84 R/F1 10/Times-Italic@0 SF -(sigspec)3.801 E F0(is)3.771 E/F2 9/Times-Bold@0 SF(ERR)3.461 E/F3 9 -/Times-Roman@0 SF(,)A F0 .961(the command)3.211 F F1(ar)3.791 E(g)-.37 E -F0 .961(is e)3.681 F -.15(xe)-.15 G .961(cuted whene).15 F -.15(ve)-.25 -G 3.461(ra).15 G .96(pipeline \(which may consist of a)-.001 F .185(sin\ -gle simple command\), a list, or a compound command returns a non\255ze\ -ro e)144 96 R .185(xit status, subject to)-.15 F .452(the follo)144 108 -R .452(wing conditions.)-.25 F(The)5.452 E F2(ERR)2.952 E F0 .451 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(shopt)144 84 Q F0 -.2 +(bu)2.996 G .496(iltin for details of its ef).2 F .496(fect on the)-.25 +F F1(DEB)2.996 E(UG)-.1 E F0 2.996(trap. If)2.996 F(a)2.996 E/F2 10 +/Times-Italic@0 SF(sigspec)3.336 E F0(is)3.306 E/F3 9/Times-Bold@0 SF +(RETURN)2.996 E/F4 9/Times-Roman@0 SF(,)A F0 .496(the command)2.746 F F2 +(ar)144.33 96 Q(g)-.37 E F0 .18(is e)2.9 F -.15(xe)-.15 G .18 +(cuted each time a shell function or a script e).15 F -.15(xe)-.15 G .18 +(cuted with the).15 F F1(.)2.68 E F0(or)2.68 E F1(sour)2.68 E(ce)-.18 E +F0 -.2(bu)2.68 G .18(iltins \214nishes).2 F -.15(exe)144 108 S(cuting.) +.15 E .961(If a)144 126 R F2(sigspec)3.801 E F0(is)3.771 E F3(ERR)3.461 +E F4(,)A F0 .961(the command)3.211 F F2(ar)3.791 E(g)-.37 E F0 .961 +(is e)3.681 F -.15(xe)-.15 G .961(cuted whene).15 F -.15(ve)-.25 G 3.461 +(ra).15 G .96(pipeline \(which may consist of a)-.001 F .185(single sim\ +ple command\), a list, or a compound command returns a non\255zero e)144 +138 R .185(xit status, subject to)-.15 F .452(the follo)144 150 R .452 +(wing conditions.)-.25 F(The)5.452 E F3(ERR)2.952 E F0 .451 (trap is not e)2.701 F -.15(xe)-.15 G .451(cuted if the f).15 F .451 (ailed command is part of the com-)-.1 F .387 -(mand list immediately follo)144 120 R .387(wing a)-.25 F/F4 10 -/Times-Bold@0 SF(while)2.887 E F0(or)2.887 E F4(until)2.888 E F0 -.1(ke) -2.888 G(yw)-.05 E .388(ord, part of the test in an)-.1 F F1(if)2.898 E -F0 .388(statement, part)4.848 F .778(of a command e)144 132 R -.15(xe) --.15 G .778(cuted in a).15 F F4(&&)3.278 E F0(or)3.278 E F4(||)3.278 E -F0 .778(list e)3.278 F .778(xcept the command follo)-.15 F .778 -(wing the \214nal)-.25 F F4(&&)3.278 E F0(or)3.278 E F4(||)3.277 E F0 -3.277(,a)C -.15(ny)-3.277 G 1.28(command in a pipeline b)144 144 R 1.28 +(mand list immediately follo)144 162 R .387(wing a)-.25 F F1(while)2.887 +E F0(or)2.887 E F1(until)2.888 E F0 -.1(ke)2.888 G(yw)-.05 E .388 +(ord, part of the test in an)-.1 F F2(if)2.898 E F0 .388 +(statement, part)4.848 F .778(of a command e)144 174 R -.15(xe)-.15 G +.778(cuted in a).15 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.278 E F0 .778 +(list e)3.278 F .778(xcept the command follo)-.15 F .778 +(wing the \214nal)-.25 F F1(&&)3.278 E F0(or)3.278 E F1(||)3.277 E F0 +3.277(,a)C -.15(ny)-3.277 G 1.28(command in a pipeline b)144 186 R 1.28 (ut the last, or if the command')-.2 F 3.78(sr)-.55 G 1.28(eturn v)-3.78 -F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F F4(!) -3.78 E F0(.)A(These are the same conditions obe)144 156 Q(yed by the) --.15 E F4(err)2.5 E(exit)-.18 E F0(\()2.5 E F4<ad65>A F0 2.5(\)o)C +F 1.28(alue is being in)-.25 F -.15(ve)-.4 G 1.28(rted using).15 F F1(!) +3.78 E F0(.)A(These are the same conditions obe)144 198 Q(yed by the) +-.15 E F1(err)2.5 E(exit)-.18 E F0(\()2.5 E F1<ad65>A F0 2.5(\)o)C (ption.)-2.5 E .133 (Signals ignored upon entry to the shell cannot be trapped or reset.)144 -174 R -.35(Tr)5.132 G .132(apped signals that are not be-).35 F .117 -(ing ignored are reset to their original v)144 186 R .117 +216 R -.35(Tr)5.132 G .132(apped signals that are not be-).35 F .117 +(ing ignored are reset to their original v)144 228 R .117 (alues in a subshell or subshell en)-.25 F .117 -(vironment when one is cre-)-.4 F 2.5(ated. The)144 198 R -(return status is f)2.5 E(alse if an)-.1 E(y)-.15 E F1(sigspec)2.84 E F0 -(is in)2.81 E -.25(va)-.4 G(lid; otherwise).25 E F4(trap)2.5 E F0 -(returns true.)2.5 E F4(type)108 214.8 Q F0([)2.5 E F4(\255aftpP)A F0(]) -A F1(name)2.5 E F0([)2.5 E F1(name)A F0(...])2.5 E -.4(Wi)144 226.8 S -.174(th no options, indicate ho).4 F 2.674(we)-.25 G(ach)-2.674 E F1 +(vironment when one is cre-)-.4 F 2.5(ated. The)144 240 R +(return status is f)2.5 E(alse if an)-.1 E(y)-.15 E F2(sigspec)2.84 E F0 +(is in)2.81 E -.25(va)-.4 G(lid; otherwise).25 E F1(trap)2.5 E F0 +(returns true.)2.5 E F1(type)108 256.8 Q F0([)2.5 E F1(\255aftpP)A F0(]) +A F2(name)2.5 E F0([)2.5 E F2(name)A F0(...])2.5 E -.4(Wi)144 268.8 S +.174(th no options, indicate ho).4 F 2.674(we)-.25 G(ach)-2.674 E F2 (name)3.034 E F0 -.1(wo)2.854 G .173 (uld be interpreted if used as a command name.).1 F .173(If the)5.173 F -F4<ad74>144 238.8 Q F0 .715(option is used,)3.215 F F4(type)3.215 E F0 -.715(prints a string which is one of)3.215 F F1(alias)3.545 E F0(,).27 E -F1 -.1(ke)3.215 G(ywor)-.2 E(d)-.37 E F0(,).77 E F1(function)5.185 E F0 -(,).24 E F1 -.2(bu)3.215 G(iltin).2 E F0 3.215(,o).24 G(r)-3.215 E F1 -(\214le)5.125 E F0(if)3.395 E F1(name)144.36 250.8 Q F0 .087 +F1<ad74>144 280.8 Q F0 .715(option is used,)3.215 F F1(type)3.215 E F0 +.715(prints a string which is one of)3.215 F F2(alias)3.545 E F0(,).27 E +F2 -.1(ke)3.215 G(ywor)-.2 E(d)-.37 E F0(,).77 E F2(function)5.185 E F0 +(,).24 E F2 -.2(bu)3.215 G(iltin).2 E F0 3.215(,o).24 G(r)-3.215 E F2 +(\214le)5.125 E F0(if)3.395 E F2(name)144.36 292.8 Q F0 .087 (is an alias, shell reserv)2.767 F .087(ed w)-.15 F .087 (ord, function, b)-.1 F .086(uiltin, or disk \214le, respecti)-.2 F -.15 -(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F1 +(ve)-.25 G(ly).15 E 5.086(.I)-.65 G 2.586(ft)-5.086 G(he)-2.586 E F2 (name)2.946 E F0 .086(is not)2.766 F .118 -(found, then nothing is printed, and an e)144 262.8 R .118 +(found, then nothing is printed, and an e)144 304.8 R .118 (xit status of f)-.15 F .118(alse is returned.)-.1 F .119(If the)5.119 F -F4<ad70>2.619 E F0 .119(option is used,)2.619 F F4(type)2.619 E F0 .855 -(either returns the name of the disk \214le that w)144 274.8 R .855 -(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F1(name)3.715 E F0 +F1<ad70>2.619 E F0 .119(option is used,)2.619 F F1(type)2.619 E F0 .855 +(either returns the name of the disk \214le that w)144 316.8 R .855 +(ould be e)-.1 F -.15(xe)-.15 G .855(cuted if).15 F F2(name)3.715 E F0 .855(were speci\214ed as a com-)3.535 F .528(mand name, or nothing if) -144 286.8 R/F5 10/Courier@0 SF .528(type -t name)3.028 F F0 -.1(wo)3.028 -G .528(uld not return).1 F F1(\214le)4.938 E F0 5.528(.T).18 G(he)-5.528 -E F4<ad50>3.028 E F0 .529(option forces a)3.028 F F2 -.666(PA)3.029 G -(TH)-.189 E F0 .007(search for each)144 298.8 R F1(name)2.507 E F0 2.507 +144 328.8 R/F5 10/Courier@0 SF .528(type -t name)3.028 F F0 -.1(wo)3.028 +G .528(uld not return).1 F F2(\214le)4.938 E F0 5.528(.T).18 G(he)-5.528 +E F1<ad50>3.028 E F0 .529(option forces a)3.028 F F3 -.666(PA)3.029 G +(TH)-.189 E F0 .007(search for each)144 340.8 R F2(name)2.507 E F0 2.507 (,e)C -.15(ve)-2.757 G 2.507(ni).15 G(f)-2.507 E F5 .007(type -t name) -2.507 F F0 -.1(wo)2.507 G .007(uld not return).1 F F1(\214le)4.417 E F0 -5.006(.I).18 G 2.506(fac)-5.006 G .006(ommand is hashed,)-2.506 F F4 -<ad70>2.506 E F0(and)144 310.8 Q F4<ad50>3.23 E F0 .73 +2.507 F F0 -.1(wo)2.507 G .007(uld not return).1 F F2(\214le)4.417 E F0 +5.006(.I).18 G 2.506(fac)-5.006 G .006(ommand is hashed,)-2.506 F F1 +<ad70>2.506 E F0(and)144 352.8 Q F1<ad50>3.23 E F0 .73 (print the hashed v)3.23 F .731 (alue, which is not necessarily the \214le that appears \214rst in)-.25 -F F2 -.666(PA)3.231 G(TH)-.189 E F3(.)A F0 .731(If the)5.231 F F4<ad61> -144 322.8 Q F0 .824(option is used,)3.324 F F4(type)3.324 E F0 .824 +F F3 -.666(PA)3.231 G(TH)-.189 E F4(.)A F0 .731(If the)5.231 F F1<ad61> +144 364.8 Q F0 .824(option is used,)3.324 F F1(type)3.324 E F0 .824 (prints all of the places that contain an e)3.324 F -.15(xe)-.15 G .823 -(cutable named).15 F F1(name)3.683 E F0 5.823(.T).18 G .823(his in-) +(cutable named).15 F F2(name)3.683 E F0 5.823(.T).18 G .823(his in-) -5.823 F 1.176(cludes aliases and functions, if and only if the)144 -334.8 R F4<ad70>3.676 E F0 1.176(option is not also used.)3.676 F 1.177 +376.8 R F1<ad70>3.676 E F0 1.176(option is not also used.)3.676 F 1.177 (The table of hashed)6.176 F 1.223(commands is not consulted when using) -144 346.8 R F4<ad61>3.723 E F0 6.223(.T)C(he)-6.223 E F4<ad66>3.723 E F0 +144 388.8 R F1<ad61>3.723 E F0 6.223(.T)C(he)-6.223 E F1<ad66>3.723 E F0 1.223(option suppresses shell function lookup, as)3.723 F .325(with the) -144 358.8 R F4(command)2.825 E F0 -.2(bu)2.825 G(iltin.).2 E F4(type) +144 400.8 R F1(command)2.825 E F0 -.2(bu)2.825 G(iltin.).2 E F1(type) 5.325 E F0 .325(returns true if all of the ar)2.825 F .326 (guments are found, f)-.18 F .326(alse if an)-.1 F 2.826(ya)-.15 G .326 -(re not)-2.826 F(found.)144 370.8 Q F4(ulimit)108 387.6 Q F0([)2.5 E F4 -(\255HSabcde\214klmnpqrstuvxPR)A(T)-.4 E F0([)2.5 E F1(limit)A F0(]])A -(Pro)144 399.6 Q .244(vides control o)-.15 F -.15(ve)-.15 G 2.744(rt).15 +(re not)-2.826 F(found.)144 412.8 Q F1(ulimit)108 429.6 Q F0([)2.5 E F1 +(\255HSabcde\214klmnpqrstuvxPR)A(T)-.4 E F0([)2.5 E F2(limit)A F0(]])A +(Pro)144 441.6 Q .244(vides control o)-.15 F -.15(ve)-.15 G 2.744(rt).15 G .244(he resources a)-2.744 F -.25(va)-.2 G .244 (ilable to the shell and to processes started by it, on systems).25 F -.943(that allo)144 411.6 R 3.443(ws)-.25 G .943(uch control.)-3.443 F -(The)5.943 E F4<ad48>3.443 E F0(and)3.443 E F4<ad53>3.444 E F0 .944 +.943(that allo)144 453.6 R 3.443(ws)-.25 G .943(uch control.)-3.443 F +(The)5.943 E F1<ad48>3.443 E F0(and)3.443 E F1<ad53>3.444 E F0 .944 (options specify that the hard or soft limit is set for the)3.444 F(gi) -144 423.6 Q -.15(ve)-.25 G 2.709(nr).15 G 2.709(esource. A)-2.709 F .208 +144 465.6 Q -.15(ve)-.25 G 2.709(nr).15 G 2.709(esource. A)-2.709 F .208 (hard limit cannot be increased by a non-root user once it is set; a so\ -ft limit may)2.709 F .425(be increased up to the v)144 435.6 R .425 -(alue of the hard limit.)-.25 F .426(If neither)5.425 F F4<ad48>2.926 E -F0(nor)2.926 E F4<ad53>2.926 E F0 .426 +ft limit may)2.709 F .425(be increased up to the v)144 477.6 R .425 +(alue of the hard limit.)-.25 F .426(If neither)5.425 F F1<ad48>2.926 E +F0(nor)2.926 E F1<ad53>2.926 E F0 .426 (is speci\214ed, both the soft and)2.926 F .139(hard limits are set.)144 -447.6 R .139(The v)5.139 F .139(alue of)-.25 F F1(limit)2.729 E F0 .139 +489.6 R .139(The v)5.139 F .139(alue of)-.25 F F2(limit)2.729 E F0 .139 (can be a number in the unit speci\214ed for the resource or one)3.319 F -.741(of the special v)144 459.6 R(alues)-.25 E F4(hard)3.241 E F0(,)A F4 -(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F4(unlimited)3.241 E F0 3.241(,w) +.741(of the special v)144 501.6 R(alues)-.25 E F1(hard)3.241 E F0(,)A F1 +(soft)3.241 E F0 3.241(,o)C(r)-3.241 E F1(unlimited)3.241 E F0 3.241(,w) C .741(hich stand for the current hard limit, the current)-3.241 F .024 -(soft limit, and no limit, respecti)144 471.6 R -.15(ve)-.25 G(ly).15 E -5.023(.I)-.65 G(f)-5.023 E F1(limit)2.613 E F0 .023 +(soft limit, and no limit, respecti)144 513.6 R -.15(ve)-.25 G(ly).15 E +5.023(.I)-.65 G(f)-5.023 E F2(limit)2.613 E F0 .023 (is omitted, the current v)3.203 F .023 (alue of the soft limit of the re-)-.25 F .984 -(source is printed, unless the)144 483.6 R F4<ad48>3.484 E F0 .984 +(source is printed, unless the)144 525.6 R F1<ad48>3.484 E F0 .984 (option is gi)3.484 F -.15(ve)-.25 G 3.484(n. When).15 F .985 (more than one resource is speci\214ed, the)3.484 F -(limit name and unit are printed before the v)144 495.6 Q 2.5 -(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F4 -<ad61>144 507.6 Q F0(All current limits are reported)180 507.6 Q F4 -<ad62>144 519.6 Q F0(The maximum sock)180 519.6 Q(et b)-.1 E(uf)-.2 E -(fer size)-.25 E F4<ad63>144 531.6 Q F0 -(The maximum size of core \214les created)180 531.6 Q F4<ad64>144 543.6 -Q F0(The maximum size of a process')180 543.6 Q 2.5(sd)-.55 G(ata se) --2.5 E(gment)-.15 E F4<ad65>144 555.6 Q F0 -(The maximum scheduling priority \("nice"\))180 555.6 Q F4<ad66>144 -567.6 Q F0 +(limit name and unit are printed before the v)144 537.6 Q 2.5 +(alue. Other)-.25 F(options are interpreted as follo)2.5 E(ws:)-.25 E F1 +<ad61>144 549.6 Q F0(All current limits are reported)180 549.6 Q F1 +<ad62>144 561.6 Q F0(The maximum sock)180 561.6 Q(et b)-.1 E(uf)-.2 E +(fer size)-.25 E F1<ad63>144 573.6 Q F0 +(The maximum size of core \214les created)180 573.6 Q F1<ad64>144 585.6 +Q F0(The maximum size of a process')180 585.6 Q 2.5(sd)-.55 G(ata se) +-2.5 E(gment)-.15 E F1<ad65>144 597.6 Q F0 +(The maximum scheduling priority \("nice"\))180 597.6 Q F1<ad66>144 +609.6 Q F0 (The maximum size of \214les written by the shell and its children)180 -567.6 Q F4<ad69>144 579.6 Q F0(The maximum number of pending signals)180 -579.6 Q F4<ad6b>144 591.6 Q F0 -(The maximum number of kqueues that may be allocated)180 591.6 Q F4 -<ad6c>144 603.6 Q F0(The maximum size that may be lock)180 603.6 Q -(ed into memory)-.1 E F4<ad6d>144 615.6 Q F0 -(The maximum resident set size \(man)180 615.6 Q 2.5(ys)-.15 G -(ystems do not honor this limit\))-2.5 E F4<ad6e>144 627.6 Q F0 .791(Th\ +609.6 Q F1<ad69>144 621.6 Q F0(The maximum number of pending signals)180 +621.6 Q F1<ad6b>144 633.6 Q F0 +(The maximum number of kqueues that may be allocated)180 633.6 Q F1 +<ad6c>144 645.6 Q F0(The maximum size that may be lock)180 645.6 Q +(ed into memory)-.1 E F1<ad6d>144 657.6 Q F0 +(The maximum resident set size \(man)180 657.6 Q 2.5(ys)-.15 G +(ystems do not honor this limit\))-2.5 E F1<ad6e>144 669.6 Q F0 .791(Th\ e maximum number of open \214le descriptors \(most systems do not allo) -180 627.6 R 3.29(wt)-.25 G .79(his v)-3.29 F .79(alue to)-.25 F -(be set\))180 639.6 Q F4<ad70>144 651.6 Q F0 -(The pipe size in 512-byte blocks \(this may not be set\))180 651.6 Q F4 -<ad71>144 663.6 Q F0 -(The maximum number of bytes in POSIX message queues)180 663.6 Q F4 -<ad72>144 675.6 Q F0(The maximum real-time scheduling priority)180 675.6 -Q F4<ad73>144 687.6 Q F0(The maximum stack size)180 687.6 Q F4<ad74>144 -699.6 Q F0(The maximum amount of cpu time in seconds)180 699.6 Q F4 -<ad75>144 711.6 Q F0(The maximum number of processes a)180 711.6 Q -.25 -(va)-.2 G(ilable to a single user).25 E(GNU Bash 5.0)72 768 Q -(2004 Apr 20)149.565 E(23)198.725 E 0 Cg EP +180 669.6 R 3.29(wt)-.25 G .79(his v)-3.29 F .79(alue to)-.25 F +(be set\))180 681.6 Q F1<ad70>144 693.6 Q F0 +(The pipe size in 512-byte blocks \(this may not be set\))180 693.6 Q F1 +<ad71>144 705.6 Q F0 +(The maximum number of bytes in POSIX message queues)180 705.6 Q F1 +<ad72>144 717.6 Q F0(The maximum real-time scheduling priority)180 717.6 +Q(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(23)198.725 E 0 Cg EP %%Page: 24 24 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad76>144 84 Q F0 .47 -(The maximum amount of virtual memory a)180 84 R -.25(va)-.2 G .47 -(ilable to the shell and, on some systems, to).25 F(its children)180 96 -Q F1<ad78>144 108 Q F0(The maximum number of \214le locks)180 108 Q F1 -<ad50>144 120 Q F0(The maximum number of pseudoterminals)180 120 Q F1 -<ad52>144 132 Q F0(The maximum time a real-time process can run before \ -blocking, in microseconds)180 132 Q F1<ad54>144 144 Q F0 -(The maximum number of threads)180 144 Q(If)144 160.8 Q/F2 10 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF<ad73>144 84 Q F0 +(The maximum stack size)180 84 Q F1<ad74>144 96 Q F0 +(The maximum amount of cpu time in seconds)180 96 Q F1<ad75>144 108 Q F0 +(The maximum number of processes a)180 108 Q -.25(va)-.2 G +(ilable to a single user).25 E F1<ad76>144 120 Q F0 .47 +(The maximum amount of virtual memory a)180 120 R -.25(va)-.2 G .47 +(ilable to the shell and, on some systems, to).25 F(its children)180 132 +Q F1<ad78>144 144 Q F0(The maximum number of \214le locks)180 144 Q F1 +<ad50>144 156 Q F0(The maximum number of pseudoterminals)180 156 Q F1 +<ad52>144 168 Q F0(The maximum time a real-time process can run before \ +blocking, in microseconds)180 168 Q F1<ad54>144 180 Q F0 +(The maximum number of threads)180 180 Q(If)144 196.8 Q/F2 10 /Times-Italic@0 SF(limit)3.058 E F0 .468(is gi)3.648 F -.15(ve)-.25 G .468(n, and the).15 F F1<ad61>2.968 E F0 .468(option is not used,)2.968 F F2(limit)2.968 E F0 .468(is the ne)2.968 F 2.968(wv)-.25 G .468 (alue of the speci\214ed resource.)-3.218 F(If)5.468 E .044 -(no option is gi)144 172.8 R -.15(ve)-.25 G .044(n, then).15 F F1<ad66> +(no option is gi)144 208.8 R -.15(ve)-.25 G .044(n, then).15 F F1<ad66> 2.544 E F0 .045(is assumed.)2.545 F -1.11(Va)5.045 G .045 (lues are in 1024-byte increments, e)1.11 F .045(xcept for)-.15 F F1 <ad74>2.545 E F0 2.545(,w)C .045(hich is)-2.545 F .67(in seconds;)144 -184.8 R F1<ad52>3.17 E F0 3.17(,w)C .67(hich is in microseconds;)-3.17 F +220.8 R F1<ad52>3.17 E F0 3.17(,w)C .67(hich is in microseconds;)-3.17 F F1<ad70>3.17 E F0 3.17(,w)C .67(hich is in units of 512-byte blocks;) -3.17 F F1<ad50>3.17 E F0(,)A F1<ad54>3.17 E F0(,)A F1<ad62>3.17 E F0(,) -A F1<ad6b>144 196.8 Q F0(,)A F1<ad6e>3.736 E F0 3.736(,a)C(nd)-3.736 E +A F1<ad6b>144 232.8 Q F0(,)A F1<ad6e>3.736 E F0 3.736(,a)C(nd)-3.736 E F1<ad75>3.736 E F0 3.736(,w)C 1.236(hich are unscaled v)-3.736 F 1.236 (alues; and, when in posix mode,)-.25 F F1<ad63>3.736 E F0(and)3.736 E F1<ad66>3.736 E F0 3.736(,w)C 1.237(hich are in)-3.736 F .239 -(512-byte increments.)144 208.8 R .238 +(512-byte increments.)144 244.8 R .238 (The return status is 0 unless an in)5.239 F -.25(va)-.4 G .238 (lid option or ar).25 F .238(gument is supplied, or an)-.18 F -(error occurs while setting a ne)144 220.8 Q 2.5(wl)-.25 G(imit.)-2.5 E -F1(umask)108 237.6 Q F0([)2.5 E F1<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 +(error occurs while setting a ne)144 256.8 Q 2.5(wl)-.25 G(imit.)-2.5 E +F1(umask)108 273.6 Q F0([)2.5 E F1<ad70>A F0 2.5(][)C F1<ad53>-2.5 E F0 2.5(][)C F2(mode)-2.5 E F0(])A .18 -(The user \214le-creation mask is set to)144 249.6 R F2(mode)3.06 E F0 +(The user \214le-creation mask is set to)144 285.6 R F2(mode)3.06 E F0 5.18(.I).18 G(f)-5.18 E F2(mode)3.06 E F0(be)2.86 E .18 (gins with a digit, it is interpreted as an octal)-.15 F .066(number; o\ therwise it is interpreted as a symbolic mode mask similar to that acce\ -pted by)144 261.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 -273.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 +pted by)144 297.6 R F2 -.15(ch)2.566 G(mod).15 E F0(\(1\).).77 E(If)144 +309.6 Q F2(mode)3.262 E F0 .382(is omitted, the current v)3.062 F .382 (alue of the mask is printed.)-.25 F(The)5.382 E F1<ad53>2.882 E F0 .382 (option causes the mask to be)2.882 F .547 -(printed in symbolic form; the def)144 285.6 R .547 +(printed in symbolic form; the def)144 321.6 R .547 (ault output is an octal number)-.1 F 5.547(.I)-.55 G 3.047(ft)-5.547 G (he)-3.047 E F1<ad70>3.047 E F0 .547(option is supplied, and)3.047 F F2 -(mode)144.38 297.6 Q F0 .551 +(mode)144.38 333.6 Q F0 .551 (is omitted, the output is in a form that may be reused as input.)3.231 -F .552(The return status is 0 if the)5.552 F(mode w)144 309.6 Q +F .552(The return status is 0 if the)5.552 F(mode w)144 345.6 Q (as successfully changed or if no)-.1 E F2(mode)2.5 E F0(ar)2.5 E (gument w)-.18 E(as supplied, and f)-.1 E(alse otherwise.)-.1 E F1 -(unalias)108 326.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 -(...])2.5 E(Remo)144 338.4 Q 1.058 -.15(ve e)-.15 H(ach).15 E F2(name) +(unalias)108 362.4 Q F0<5bad>2.5 E F1(a)A F0 2.5(][)C F2(name)-2.5 E F0 +(...])2.5 E(Remo)144 374.4 Q 1.058 -.15(ve e)-.15 H(ach).15 E F2(name) 3.258 E F0 .758(from the list of de\214ned aliases.)3.258 F(If)5.758 E F1<ad61>3.258 E F0 .757(is supplied, all alias de\214nitions are re-) -3.258 F(mo)144 350.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E +3.258 F(mo)144 386.4 Q -.15(ve)-.15 G 2.5(d. The).15 F(return v)2.5 E (alue is true unless a supplied)-.25 E F2(name)2.86 E F0 -(is not a de\214ned alias.)2.68 E F1(unset)108 367.2 Q F0<5bad>2.5 E F1 +(is not a de\214ned alias.)2.68 E F1(unset)108 403.2 Q F0<5bad>2.5 E F1 (fv)A F0 2.5(][)C<ad>-2.5 E F1(n)A F0 2.5(][)C F2(name)-2.5 E F0(...]) -2.5 E -.15(Fo)144 379.2 S 3.803(re).15 G(ach)-3.803 E F2(name)4.163 E F0 +2.5 E -.15(Fo)144 415.2 S 3.803(re).15 G(ach)-3.803 E F2(name)4.163 E F0 3.803(,r).18 G(emo)-3.803 E 1.603 -.15(ve t)-.15 H 1.303 (he corresponding v).15 F 1.303(ariable or function.)-.25 F 1.303 (If the)6.303 F F1<ad76>3.804 E F0 1.304(option is gi)3.804 F -.15(ve) --.25 G 1.304(n, each).15 F F2(name)144.36 391.2 Q F0 .465 +-.25 G 1.304(n, each).15 F F2(name)144.36 427.2 Q F0 .465 (refers to a shell v)3.145 F .464(ariable, and that v)-.25 F .464 (ariable is remo)-.25 F -.15(ve)-.15 G 2.964(d. Read-only).15 F -.25(va) -2.964 G .464(riables may not be un-).25 F 2.768(set. If)144 403.2 R F1 +2.964 G .464(riables may not be un-).25 F 2.768(set. If)144 439.2 R F1 <ad66>2.768 E F0 .269(is speci\214ed, each)2.768 F F2(name)3.129 E F0 .269(refers to a shell function, and the function de\214nition is remo) -2.949 F -.15(ve)-.15 G(d.).15 E .404(If the)144 415.2 R F1<ad6e>2.904 E +2.949 F -.15(ve)-.15 G(d.).15 E .404(If the)144 451.2 R F1<ad6e>2.904 E F0 .404(option is supplied, and)2.904 F F2(name)2.904 E F0 .404(is a v) 2.904 F .404(ariable with the)-.25 F F2(namer)2.904 E(ef)-.37 E F0 (attrib)2.904 E(ute,)-.2 E F2(name)2.904 E F0 .403(will be unset)2.904 F -.719(rather than the v)144 427.2 R .719(ariable it references.)-.25 F F1 +.719(rather than the v)144 463.2 R .719(ariable it references.)-.25 F F1 <ad6e>5.719 E F0 .719(has no ef)3.219 F .719(fect if the)-.25 F F1<ad66> 3.22 E F0 .72(option is supplied.)3.22 F .72(If no options)5.72 F .737 -(are supplied, each)144 439.2 R F2(name)3.237 E F0 .737(refers to a v) +(are supplied, each)144 475.2 R F2(name)3.237 E F0 .737(refers to a v) 3.237 F .737(ariable; if there is no v)-.25 F .736 (ariable by that name, a function with)-.25 F 1.761(that name, if an)144 -451.2 R 3.061 -.65(y, i)-.15 H 4.261(su).65 G 4.261(nset. Each)-4.261 F +487.2 R 3.061 -.65(y, i)-.15 H 4.261(su).65 G 4.261(nset. Each)-4.261 F 1.761(unset v)4.261 F 1.761(ariable or function is remo)-.25 F -.15(ve) -.15 G 4.262(df).15 G 1.762(rom the en)-4.262 F(vironment)-.4 E 3.172 -(passed to subsequent commands.)144 463.2 R 3.172(If an)8.172 F 5.672 +(passed to subsequent commands.)144 499.2 R 3.172(If an)8.172 F 5.672 (yo)-.15 G(f)-5.672 E/F3 9/Times-Bold@0 SF -.27(BA)5.672 G(SH_ALIASES) .27 E/F4 9/Times-Roman@0 SF(,)A F3 -.27(BA)5.421 G(SH_ARGV0).27 E F4(,)A -F3 -.27(BA)5.421 G(SH_CMDS).27 E F4(,)A F3 -.27(BA)144 475.2 S +F3 -.27(BA)5.421 G(SH_CMDS).27 E F4(,)A F3 -.27(BA)144 511.2 S (SH_COMMAND).27 E F4(,)A F3 -.27(BA)11.481 G(SH_SUBSHELL).27 E F4(,)A F3 -.27(BA)11.482 G(SHPID).27 E F4(,)A F3(COMP_W)11.482 E(ORDBREAKS)-.09 E F4(,)A F3(DIRST)11.482 E -.495(AC)-.81 G(K).495 E F4(,)A F3(EPOCHREAL) -144 487.2 Q(TIME)-.828 E F4(,)A F3(EPOCHSECONDS)2.67 E F4(,)A F3(FUNCN) +144 523.2 Q(TIME)-.828 E F4(,)A F3(EPOCHSECONDS)2.67 E F4(,)A F3(FUNCN) 2.67 E(AME)-.18 E F4(,)A F3(GR)2.67 E(OUPS)-.27 E F4(,)A F3(HISTCMD)2.67 E F4(,)A F3(LINENO)2.67 E F4(,)A F3(RANDOM)2.67 E F4(,)A F3(SECONDS)144 -499.2 Q F4(,)A F0(or)4.029 E F3(SRANDOM)4.279 E F0 1.779(are unset, the) +535.2 Q F4(,)A F0(or)4.029 E F3(SRANDOM)4.279 E F0 1.779(are unset, the) 4.029 F 4.279(yl)-.15 G 1.779(ose their special properties, e)-4.279 F -.15(ve)-.25 G 4.279(ni).15 G 4.28(ft)-4.279 G(he)-4.28 E 4.28(ya)-.15 G -1.78(re subse-)-4.28 F(quently reset.)144 511.2 Q(The e)5 E +1.78(re subse-)-4.28 F(quently reset.)144 547.2 Q(The e)5 E (xit status is true unless a)-.15 E F2(name)2.86 E F0(is readonly)2.68 E -(.)-.65 E F1(wait)108 528 Q F0([)2.5 E F1(\255fn)A F0 2.5(][)C F1<ad70> +(.)-.65 E F1(wait)108 564 Q F0([)2.5 E F1(\255fn)A F0 2.5(][)C F1<ad70> -2.5 E F2(varname)2.5 E F0 2.5(][)C F2(id ...)-2.5 E F0(])A -.8(Wa)144 -540 S .659(it for each speci\214ed child process and return its termina\ +576 S .659(it for each speci\214ed child process and return its termina\ tion status.).8 F(Each)5.659 E F2(id)3.169 E F0 .658(may be a process) -3.928 F .008(ID or a job speci\214cation; if a job spec is gi)144 552 R +3.928 F .008(ID or a job speci\214cation; if a job spec is gi)144 588 R -.15(ve)-.25 G .009(n, all processes in that job').15 F 2.509(sp)-.55 G .009(ipeline are w)-2.509 F .009(aited for)-.1 F 5.009(.I)-.55 G(f) --5.009 E F2(id)144.01 564 Q F0 .442(is not gi)3.712 F -.15(ve)-.25 G(n,) +-5.009 E F2(id)144.01 600 Q F0 .442(is not gi)3.712 F -.15(ve)-.25 G(n,) .15 E F1(wait)2.942 E F0 -.1(wa)2.942 G .441 (its for all running background jobs and the last-e).1 F -.15(xe)-.15 G .441(cuted process substitu-).15 F .597 -(tion, if its process id is the same as)144 576 R F1($!)3.098 E F0 3.098 +(tion, if its process id is the same as)144 612 R F1($!)3.098 E F0 3.098 (,a)C .598(nd the return status is zero.)-3.098 F .598(If the)5.598 F F1 -<ad6e>3.098 E F0 .598(option is supplied,)3.098 F F1(wait)144 588 Q F0 +<ad6e>3.098 E F0 .598(option is supplied,)3.098 F F1(wait)144 624 Q F0 -.1(wa)3.083 G .583(its for a single job from the list of).1 F F2(id) 3.083 E F0 3.083(so)C 1.383 -.4(r, i)-3.083 H 3.083(fn).4 G(o)-3.083 E F2(id)3.083 E F0 3.083(sa)C .583(re supplied, an)-3.083 F 3.083(yj)-.15 -G .582(ob, to complete and)-3.083 F .403(returns its e)144 600 R .403 +G .582(ob, to complete and)-3.083 F .403(returns its e)144 636 R .403 (xit status.)-.15 F .403(If none of the supplied ar)5.403 F .403 (guments is a child of the shell, or if no ar)-.18 F(guments)-.18 E .573 -(are supplied and the shell has no unw)144 612 R .573 +(are supplied and the shell has no unw)144 648 R .573 (aited-for children, the e)-.1 F .573(xit status is 127.)-.15 F .572 (If the)5.573 F F1<ad70>3.072 E F0 .572(option is)3.072 F .39 (supplied, the process or job identi\214er of the job for which the e) -144 624 R .39(xit status is returned is assigned to)-.15 F .905(the v) -144 636 R(ariable)-.25 E F2(varname)3.405 E F0 .905 +144 660 R .39(xit status is returned is assigned to)-.15 F .905(the v) +144 672 R(ariable)-.25 E F2(varname)3.405 E F0 .905 (named by the option ar)3.405 F 3.405(gument. The)-.18 F -.25(va)3.405 G .905(riable will be unset initially).25 F 3.405(,b)-.65 G(efore)-3.405 E -(an)144 648 Q 3.89(ya)-.15 G 3.89(ssignment. This)-3.89 F 1.39 +(an)144 684 Q 3.89(ya)-.15 G 3.89(ssignment. This)-3.89 F 1.39 (is useful only when the)3.89 F F1<ad6e>3.89 E F0 1.39 (option is supplied.)3.89 F 1.39(Supplying the)6.39 F F1<ad66>3.89 E F0 -(option,)3.89 E .575(when job control is enabled, forces)144 660 R F1 +(option,)3.89 E .575(when job control is enabled, forces)144 696 R F1 (wait)3.075 E F0 .575(to w)3.075 F .575(ait for)-.1 F F2(id)3.075 E F0 .574(to terminate before returning its status, in-)3.075 F .635 -(stead of returning when it changes status.)144 672 R(If)5.635 E F2(id) +(stead of returning when it changes status.)144 708 R(If)5.635 E F2(id) 3.145 E F0 .635(speci\214es a non-e)3.905 F .635 -(xistent process or job, the return)-.15 F(status is 127.)144 684 Q +(xistent process or job, the return)-.15 F(status is 127.)144 720 Q (Otherwise, the return status is the e)5 E (xit status of the last process or job w)-.15 E(aited for)-.1 E(.)-.55 E -/F5 10.95/Times-Bold@0 SF(SHELL COMP)72 700.8 Q -1.04(AT)-.81 G -(IBILITY MODE)1.04 E F0 .912 -(Bash-4.0 introduced the concept of a `shell compatibility le)108 712.8 -R -.15(ve)-.25 G .912(l', speci\214ed as a set of options to the shopt) -.15 F -.2(bu)108 724.8 S(iltin).2 E F1(compat31)3.377 E F0(,)A F1 -(compat32)3.377 E F0(,)A F1(compat40)3.377 E F0(,)A F1(compat41)3.377 E -F0 3.378(,a)C .878(nd so on\).)-3.378 F .878 -(There is only one current compatibility)5.878 F(GNU Bash 5.0)72 768 Q -(2004 Apr 20)149.565 E(24)198.725 E 0 Cg EP +(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(24)198.725 E 0 Cg EP %%Page: 25 25 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E(le)108 84 Q -.15(ve)-.25 G 3.254(l-).15 G -3.254(-e)-3.254 G .754(ach option is mutually e)-3.254 F(xclusi)-.15 E --.15(ve)-.25 G 5.754(.T).15 G .754(he compatibility le)-5.754 F -.15(ve) --.25 G 3.253(li).15 G 3.253(si)-3.253 G .753(ntended to allo)-3.253 F -3.253(wu)-.25 G .753(sers to select be-)-3.253 F(ha)108 96 Q 1.083 -(vior from pre)-.2 F 1.083(vious v)-.25 F 1.083 -(ersions that is incompatible with ne)-.15 F 1.083(wer v)-.25 F 1.083 -(ersions while the)-.15 F 3.584(ym)-.15 G 1.084(igrate scripts to use) --3.584 F(current features and beha)108 108 Q(vior)-.2 E 2.5(.I)-.55 G -(t')-2.5 E 2.5(si)-.55 G(ntended to be a temporary solution.)-2.5 E -1.457(This section does not mention beha)108 124.8 R 1.457 +E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10.95/Times-Bold@0 SF(SHELL COMP)72 84 Q +-1.04(AT)-.81 G(IBILITY MODE)1.04 E F0 .912 +(Bash-4.0 introduced the concept of a `shell compatibility le)108 96 R +-.15(ve)-.25 G .912(l', speci\214ed as a set of options to the shopt).15 +F -.2(bu)108 108 S(iltin).2 E/F2 10/Times-Bold@0 SF(compat31)3.377 E F0 +(,)A F2(compat32)3.377 E F0(,)A F2(compat40)3.377 E F0(,)A F2(compat41) +3.377 E F0 3.378(,a)C .878(nd so on\).)-3.378 F .878 +(There is only one current compatibility)5.878 F(le)108 120 Q -.15(ve) +-.25 G 3.254(l-).15 G 3.254(-e)-3.254 G .754(ach option is mutually e) +-3.254 F(xclusi)-.15 E -.15(ve)-.25 G 5.754(.T).15 G .754 +(he compatibility le)-5.754 F -.15(ve)-.25 G 3.253(li).15 G 3.253(si) +-3.253 G .753(ntended to allo)-3.253 F 3.253(wu)-.25 G .753 +(sers to select be-)-3.253 F(ha)108 132 Q 1.083(vior from pre)-.2 F +1.083(vious v)-.25 F 1.083(ersions that is incompatible with ne)-.15 F +1.083(wer v)-.25 F 1.083(ersions while the)-.15 F 3.584(ym)-.15 G 1.084 +(igrate scripts to use)-3.584 F(current features and beha)108 144 Q +(vior)-.2 E 2.5(.I)-.55 G(t')-2.5 E 2.5(si)-.55 G +(ntended to be a temporary solution.)-2.5 E 1.457 +(This section does not mention beha)108 160.8 R 1.457 (vior that is standard for a particular v)-.2 F 1.456 -(ersion \(e.g., setting)-.15 F/F1 10/Times-Bold@0 SF(compat32)3.956 E F0 -.886(means that quoting the rhs of the re)108 136.8 R(ge)-.15 E .886 +(ersion \(e.g., setting)-.15 F F2(compat32)3.956 E F0 .886 +(means that quoting the rhs of the re)108 172.8 R(ge)-.15 E .886 (xp matching operator quotes special re)-.15 F(ge)-.15 E .887 -(xp characters in the w)-.15 F(ord,)-.1 E(which is def)108 148.8 Q +(xp characters in the w)-.15 F(ord,)-.1 E(which is def)108 184.8 Q (ault beha)-.1 E(vior in bash-3.2 and abo)-.2 E -.15(ve)-.15 G(\).).15 E -.523(If a user enables, say)108 165.6 R(,)-.65 E F1(compat32)3.023 E F0 +.523(If a user enables, say)108 201.6 R(,)-.65 E F2(compat32)3.023 E F0 3.023(,i)C 3.023(tm)-3.023 G .523(ay af)-3.023 F .523(fect the beha)-.25 F .523(vior of other compatibility le)-.2 F -.15(ve)-.25 G .522 (ls up to and includ-).15 F .259(ing the current compatibility le)108 -177.6 R -.15(ve)-.25 G 2.759(l. The).15 F .259 +213.6 R -.15(ve)-.25 G 2.759(l. The).15 F .259 (idea is that each compatibility le)2.759 F -.15(ve)-.25 G 2.76(lc).15 G .26(ontrols beha)-2.76 F .26(vior that changed)-.2 F 1.646(in that v)108 -189.6 R 1.646(ersion of)-.15 F F1(bash)4.146 E F0 4.146(,b)C 1.646 +225.6 R 1.646(ersion of)-.15 F F2(bash)4.146 E F0 4.146(,b)C 1.646 (ut that beha)-4.346 F 1.646(vior may ha)-.2 F 1.946 -.15(ve b)-.2 H 1.646(een present in earlier v).15 F 4.146(ersions. F)-.15 F 1.645 (or instance, the)-.15 F .76 -(change to use locale-based comparisons with the)108 201.6 R F1([[)3.261 +(change to use locale-based comparisons with the)108 237.6 R F2([[)3.261 E F0 .761(command came in bash-4.1, and earlier v)3.261 F .761 (ersions used)-.15 F 1.905(ASCII-based comparisons, so enabling)108 -213.6 R F1(compat32)4.405 E F0 1.904 +249.6 R F2(compat32)4.405 E F0 1.904 (will enable ASCII-based comparisons as well.)4.405 F(That)6.904 E .295 -(granularity may not be suf)108 225.6 R .296 +(granularity may not be suf)108 261.6 R .296 (\214cient for all uses, and as a result users should emplo)-.25 F 2.796 (yc)-.1 G .296(ompatibility le)-2.796 F -.15(ve)-.25 G .296(ls care-).15 -F(fully)108 237.6 Q 5(.R)-.65 G(ead the documentation for a particular \ +F(fully)108 273.6 Q 5(.R)-.65 G(ead the documentation for a particular \ feature to \214nd out the current beha)-5 E(vior)-.2 E(.)-.55 E .532 -(Bash-4.3 introduced a ne)108 254.4 R 3.032(ws)-.25 G .531(hell v)-3.032 -F(ariable:)-.25 E/F2 9/Times-Bold@0 SF -.27(BA)3.031 G(SH_COMP).27 E --.855(AT)-.666 G/F3 9/Times-Roman@0 SF(.).855 E F0 .531(The v)5.031 F +(Bash-4.3 introduced a ne)108 290.4 R 3.032(ws)-.25 G .531(hell v)-3.032 +F(ariable:)-.25 E/F3 9/Times-Bold@0 SF -.27(BA)3.031 G(SH_COMP).27 E +-.855(AT)-.666 G/F4 9/Times-Roman@0 SF(.).855 E F0 .531(The v)5.031 F .531(alue assigned to this v)-.25 F .531(ariable \(a decimal)-.25 F -.15 -(ve)108 266.4 S .107(rsion number lik).15 F 2.607(e4)-.1 G .107 -(.2, or an inte)-2.607 F .107(ger corresponding to the)-.15 F F1(compat) -2.608 E/F4 10/Times-Italic@0 SF(NN)A F0 .108(option, lik)2.608 F 2.608 -(e4)-.1 G .108(2\) determines the com-)-2.608 F(patibility le)108 278.4 +(ve)108 302.4 S .107(rsion number lik).15 F 2.607(e4)-.1 G .107 +(.2, or an inte)-2.607 F .107(ger corresponding to the)-.15 F F2(compat) +2.608 E/F5 10/Times-Italic@0 SF(NN)A F0 .108(option, lik)2.608 F 2.608 +(e4)-.1 G .108(2\) determines the com-)-2.608 F(patibility le)108 314.4 Q -.15(ve)-.25 G(l.).15 E .388(Starting with bash-4.4, Bash has be)108 -295.2 R .388(gun deprecating older compatibility le)-.15 F -.15(ve)-.25 +331.2 R .388(gun deprecating older compatibility le)-.15 F -.15(ve)-.25 G 2.887(ls. Ev).15 F(entually)-.15 E 2.887(,t)-.65 G .387 -(he options will)-2.887 F(be remo)108 307.2 Q -.15(ve)-.15 G 2.5(di).15 -G 2.5(nf)-2.5 G -.2(avo)-2.6 G 2.5(ro).2 G(f)-2.5 E F2 -.27(BA)2.5 G -(SH_COMP).27 E -.855(AT)-.666 G F3(.).855 E F0 1.163 -(Bash-5.0 is the \214nal v)108 324 R 1.163 +(he options will)-2.887 F(be remo)108 343.2 Q -.15(ve)-.15 G 2.5(di).15 +G 2.5(nf)-2.5 G -.2(avo)-2.6 G 2.5(ro).2 G(f)-2.5 E F3 -.27(BA)2.5 G +(SH_COMP).27 E -.855(AT)-.666 G F4(.).855 E F0 1.163 +(Bash-5.0 is the \214nal v)108 360 R 1.163 (ersion for which there will be an indi)-.15 F 1.164 (vidual shopt option for the pre)-.25 F 1.164(vious v)-.25 F(ersion.) --.15 E(Users should use)108 336 Q F2 -.27(BA)2.5 G(SH_COMP).27 E -.855 +-.15 E(Users should use)108 372 Q F3 -.27(BA)2.5 G(SH_COMP).27 E -.855 (AT)-.666 G F0(on bash-5.0 and later v)3.105 E(ersions.)-.15 E 1.614 -(The follo)108 352.8 R 1.613(wing table describes the beha)-.25 F 1.613 +(The follo)108 388.8 R 1.613(wing table describes the beha)-.25 F 1.613 (vior changes controlled by each compatibility le)-.2 F -.15(ve)-.25 G -4.113(ls).15 G 4.113(etting. The)-4.113 F F1(compat)108 364.8 Q F4(NN)A +4.113(ls).15 G 4.113(etting. The)-4.113 F F2(compat)108 400.8 Q F5(NN)A F0 1.186(tag is used as shorthand for setting the compatibility le)3.685 -F -.15(ve)-.25 G 3.686(lt).15 G(o)-3.686 E F4(NN)3.686 E F0 1.186 +F -.15(ve)-.25 G 3.686(lt).15 G(o)-3.686 E F5(NN)3.686 E F0 1.186 (using one of the follo)3.686 F(wing)-.25 E 3.807(mechanisms. F)108 -376.8 R 1.307(or v)-.15 F 1.307 +412.8 R 1.307(or v)-.15 F 1.307 (ersions prior to bash-5.0, the compatibility le)-.15 F -.15(ve)-.25 G -3.806(lm).15 G 1.306(ay be set using the corresponding)-3.806 F F1 -(compat)108 388.8 Q F4(NN)A F0 .502(shopt option.)3.002 F -.15(Fo)5.502 +3.806(lm).15 G 1.306(ay be set using the corresponding)-3.806 F F2 +(compat)108 424.8 Q F5(NN)A F0 .502(shopt option.)3.002 F -.15(Fo)5.502 G 3.002(rb).15 G .502(ash-4.3 and later v)-3.002 F .502(ersions, the) --.15 F F2 -.27(BA)3.002 G(SH_COMP).27 E -.855(AT)-.666 G F0 -.25(va) +-.15 F F3 -.27(BA)3.002 G(SH_COMP).27 E -.855(AT)-.666 G F0 -.25(va) 3.607 G .502(riable is preferred, and it).25 F -(is required for bash-5.1 and later v)108 400.8 Q(ersions.)-.15 E F1 -(compat31)108 417.6 Q F0<83>144 429.6 Q(quoting the rhs of the)180 429.6 -Q F1([[)2.5 E F0(command')2.5 E 2.5(sr)-.55 G -.15(eg)-2.5 G -.15(ex).15 +(is required for bash-5.1 and later v)108 436.8 Q(ersions.)-.15 E F2 +(compat31)108 453.6 Q F0<83>144 465.6 Q(quoting the rhs of the)180 465.6 +Q F2([[)2.5 E F0(command')2.5 E 2.5(sr)-.55 G -.15(eg)-2.5 G -.15(ex).15 G 2.5(pm).15 G(atching operator \(=~\) has no special ef)-2.5 E(fect) --.25 E F1(compat32)108 446.4 Q F0<83>144 458.4 Q .35 -(interrupting a command list such as "a ; b ; c" causes the e)180 458.4 +-.25 E F2(compat32)108 482.4 Q F0<83>144 494.4 Q .35 +(interrupting a command list such as "a ; b ; c" causes the e)180 494.4 R -.15(xe)-.15 G .35(cution of the ne).15 F .35(xt command)-.15 F .017 -(in the list \(in bash-4.0 and later v)180 470.4 R .018 +(in the list \(in bash-4.0 and later v)180 506.4 R .018 (ersions, the shell acts as if it recei)-.15 F -.15(ve)-.25 G 2.518(dt) .15 G .018(he interrupt, so in-)-2.518 F -(terrupting one command in a list aborts the e)180 482.4 Q -.15(xe)-.15 -G(cution of the entire list\)).15 E F1(compat40)108 499.2 Q F0<83>144 -511.2 Q(the)180 511.2 Q F1(<)2.674 E F0(and)2.674 E F1(>)2.673 E F0 .173 -(operators to the)2.673 F F1([[)2.673 E F0 .173 +(terrupting one command in a list aborts the e)180 518.4 Q -.15(xe)-.15 +G(cution of the entire list\)).15 E F2(compat40)108 535.2 Q F0<83>144 +547.2 Q(the)180 547.2 Q F2(<)2.674 E F0(and)2.674 E F2(>)2.673 E F0 .173 +(operators to the)2.673 F F2([[)2.673 E F0 .173 (command do not consider the current locale when compar)2.673 F(-)-.2 E -.067(ing strings; the)180 523.2 R 2.567(yu)-.15 G .067 +.067(ing strings; the)180 559.2 R 2.567(yu)-.15 G .067 (se ASCII ordering.)-2.567 F .068(Bash v)5.068 F .068 -(ersions prior to bash-4.1 use ASCII collation)-.15 F(and)180 535.2 Q F4 +(ersions prior to bash-4.1 use ASCII collation)-.15 F(and)180 571.2 Q F5 (str)4.743 E(cmp)-.37 E F0 1.903 (\(3\); bash-4.1 and later use the current locale').19 F 4.402(sc)-.55 G -1.902(ollation sequence and)-4.402 F F4(str)4.742 E(-)-.2 E(coll)180 -547.2 Q F0(\(3\).).51 E F1(compat41)108 564 Q F0<83>144 576 Q(in)180 576 -Q F4(posix)3.79 E F0(mode,)3.79 E F1(time)3.79 E F0 1.29(may be follo) +1.902(ollation sequence and)-4.402 F F5(str)4.742 E(-)-.2 E(coll)180 +583.2 Q F0(\(3\).).51 E F2(compat41)108 600 Q F0<83>144 612 Q(in)180 612 +Q F5(posix)3.79 E F0(mode,)3.79 E F2(time)3.79 E F0 1.29(may be follo) 3.79 F 1.29(wed by options and still be recognized as a reserv)-.25 F -(ed)-.15 E -.1(wo)180 588 S(rd \(this is POSIX interpretation 267\)).1 E -<83>144 600 Q(in)180 600 Q F4(posix)2.709 E F0 .208 +(ed)-.15 E -.1(wo)180 624 S(rd \(this is POSIX interpretation 267\)).1 E +<83>144 636 Q(in)180 636 Q F5(posix)2.709 E F0 .208 (mode, the parser requires that an e)2.709 F -.15(ve)-.25 G 2.708(nn).15 -G .208(umber of single quotes occur in the)-2.708 F F4(wor)2.708 E(d) --.37 E F0 .281(portion of a double-quoted parameter e)180 612 R .282 +G .208(umber of single quotes occur in the)-2.708 F F5(wor)2.708 E(d) +-.37 E F0 .281(portion of a double-quoted parameter e)180 648 R .282 (xpansion and treats them specially)-.15 F 2.782(,s)-.65 G 2.782(ot) -2.782 G .282(hat charac-)-2.782 F(ters within the single quotes are co\ -nsidered quoted \(this is POSIX interpretation 221\))180 624 Q F1 -(compat42)108 640.8 Q F0<83>144 652.8 Q 1.056(the replacement string in\ - double-quoted pattern substitution does not under)180 652.8 R 1.055 -(go quote re-)-.18 F(mo)180 664.8 Q -.25(va)-.15 G(l, as it does in v) -.25 E(ersions after bash-4.2)-.15 E<83>144 676.8 Q .021 -(in posix mode, single quotes are considered special when e)180 676.8 R -.021(xpanding the)-.15 F F4(wor)2.521 E(d)-.37 E F0 .021(portion of a) -2.521 F .018(double-quoted parameter e)180 688.8 R .017 -(xpansion and can be used to quote a closing brace or other spe-)-.15 F -.998(cial character \(this is part of POSIX interpretation 221\); in la\ -ter v)180 700.8 R .999(ersions, single quotes)-.15 F -(are not special within double-quoted w)180 712.8 Q(ord e)-.1 E -(xpansions)-.15 E(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(25)198.725 -E 0 Cg EP +nsidered quoted \(this is POSIX interpretation 221\))180 660 Q F2 +(compat42)108 676.8 Q F0<83>144 688.8 Q 1.056(the replacement string in\ + double-quoted pattern substitution does not under)180 688.8 R 1.055 +(go quote re-)-.18 F(mo)180 700.8 Q -.25(va)-.15 G(l, as it does in v) +.25 E(ersions after bash-4.2)-.15 E<83>144 712.8 Q .021 +(in posix mode, single quotes are considered special when e)180 712.8 R +.021(xpanding the)-.15 F F5(wor)2.521 E(d)-.37 E F0 .021(portion of a) +2.521 F 1.493(double-quoted parameter e)180 724.8 R 1.492 +(xpansion and can be used to quote a closing brace or other)-.15 F +(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(25)198.725 E 0 Cg EP %%Page: 26 26 %%BeginPageSetup BP %%EndPageSetup /F0 10/Times-Roman@0 SF -.35(BA)72 48 S(SH_B).35 E(UIL)-.1 E 87.61 (TINS\(1\) General)-.92 F(Commands Manual)2.5 E -.35(BA)90.11 G(SH_B).35 -E(UIL)-.1 E(TINS\(1\))-.92 E/F1 10/Times-Bold@0 SF(compat43)108 84 Q F0 -<83>144 96 Q 1.071(the shell does not print a w)180 96 R 1.07 +E(UIL)-.1 E(TINS\(1\))-.92 E 2.355(special character \(this is part of \ +POSIX interpretation 221\); in later v)180 84 R 2.355(ersions, single) +-.15 F(quotes are not special within double-quoted w)180 96 Q(ord e)-.1 +E(xpansions)-.15 E/F1 10/Times-Bold@0 SF(compat43)108 112.8 Q F0<83>144 +124.8 Q 1.071(the shell does not print a w)180 124.8 R 1.07 (arning message if an attempt is made to use a quoted com-)-.1 F .248 -(pound assignment as an ar)180 108 R .249 +(pound assignment as an ar)180 136.8 R .249 (gument to declare \(declare -a foo='\(1 2\)'\). Later v)-.18 F .249 -(ersions w)-.15 F(arn)-.1 E(that this usage is deprecated)180 120 Q<83> -144 132 Q -.1(wo)180 132 S .501(rd e).1 F .501 +(ersions w)-.15 F(arn)-.1 E(that this usage is deprecated)180 148.8 Q +<83>144 160.8 Q -.1(wo)180 160.8 S .501(rd e).1 F .501 (xpansion errors are considered non-f)-.15 F .501 -(atal errors that cause the current command to)-.1 F -.1(fa)180 144 S +(atal errors that cause the current command to)-.1 F -.1(fa)180 172.8 S .605(il, e).1 F -.15(ve)-.25 G 3.105(ni).15 G 3.105(np)-3.105 G .605 (osix mode \(the def)-3.105 F .605(ault beha)-.1 F .605(vior is to mak) -.2 F 3.105(et)-.1 G .605(hem f)-3.105 F .605 -(atal errors that cause the)-.1 F(shell to e)180 156 Q(xit\))-.15 E<83> -144 168 Q .355(when e)180 168 R -.15(xe)-.15 G .354 +(atal errors that cause the)-.1 F(shell to e)180 184.8 Q(xit\))-.15 E +<83>144 196.8 Q .355(when e)180 196.8 R -.15(xe)-.15 G .354 (cuting a shell function, the loop state \(while/until/etc.\)).15 F .354 (is not reset, so)5.354 F F1(br)2.854 E(eak)-.18 E F0(or)2.854 E F1 -(continue)180 180 Q F0 .052 +(continue)180 208.8 Q F0 .052 (in that function will break or continue loops in the calling conte) 2.552 F .053(xt. Bash-4.4 and)-.15 F(later reset the loop state to pre) -180 192 Q -.15(ve)-.25 G(nt this).15 E F1(compat44)108 208.8 Q F0<83>144 -220.8 Q .719(the shell sets up the v)180 220.8 R .719(alues used by)-.25 -F/F2 9/Times-Bold@0 SF -.27(BA)3.219 G(SH_ARGV).27 E F0(and)2.969 E F2 --.27(BA)3.219 G(SH_ARGC).27 E F0 .719(so the)2.969 F 3.218(yc)-.15 G -.718(an e)-3.218 F(xpand)-.15 E(to the shell')180 232.8 Q 2.5(sp)-.55 G +180 220.8 Q -.15(ve)-.25 G(nt this).15 E F1(compat44)108 237.6 Q F0<83> +144 249.6 Q .719(the shell sets up the v)180 249.6 R .719(alues used by) +-.25 F/F2 9/Times-Bold@0 SF -.27(BA)3.219 G(SH_ARGV).27 E F0(and)2.969 E +F2 -.27(BA)3.219 G(SH_ARGC).27 E F0 .719(so the)2.969 F 3.218(yc)-.15 G +.718(an e)-3.218 F(xpand)-.15 E(to the shell')180 261.6 Q 2.5(sp)-.55 G (ositional parameters e)-2.5 E -.15(ve)-.25 G 2.5(ni).15 G 2.5(fe)-2.5 G -(xtended deb)-2.65 E(ugging mode is not enabled)-.2 E<83>144 244.8 Q -2.634(as)180 244.8 S .134(ubshell inherits loops from its parent conte) +(xtended deb)-2.65 E(ugging mode is not enabled)-.2 E<83>144 273.6 Q +2.634(as)180 273.6 S .134(ubshell inherits loops from its parent conte) -2.634 F .135(xt, so)-.15 F F1(br)2.635 E(eak)-.18 E F0(or)2.635 E F1 (continue)2.635 E F0 .135(will cause the sub-)2.635 F(shell to e)180 -256.8 Q 2.5(xit. Bash-5.0)-.15 F(and later reset the loop state to pre) -2.5 E -.15(ve)-.25 G(nt the e).15 E(xit)-.15 E<83>144 268.8 Q -.25(va) -180 268.8 S .619(riable assignments preceding b).25 F .618(uiltins lik) +285.6 Q 2.5(xit. Bash-5.0)-.15 F(and later reset the loop state to pre) +2.5 E -.15(ve)-.25 G(nt the e).15 E(xit)-.15 E<83>144 297.6 Q -.25(va) +180 297.6 S .619(riable assignments preceding b).25 F .618(uiltins lik) -.2 F(e)-.1 E F1(export)3.118 E F0(and)3.118 E F1 -.18(re)3.118 G (adonly).18 E F0 .618(that set attrib)3.118 F .618(utes con-)-.2 F .119 -(tinue to af)180 280.8 R .119(fect v)-.25 F .119 +(tinue to af)180 309.6 R .119(fect v)-.25 F .119 (ariables with the same name in the calling en)-.25 F .12(vironment e) -.4 F -.15(ve)-.25 G 2.62(ni).15 G 2.62(ft)-2.62 G .12(he shell is)-2.62 -F(not in posix mode)180 292.8 Q F1(compat50)108 309.6 Q F0<83>144 321.6 -Q 1.209(Bash-5.1 changed the w)180 321.6 R(ay)-.1 E F2($RANDOM)3.709 E +F(not in posix mode)180 321.6 Q F1(compat50)108 338.4 Q F0<83>144 350.4 +Q 1.209(Bash-5.1 changed the w)180 350.4 R(ay)-.1 E F2($RANDOM)3.709 E F0 1.209(is generated to introduce slightly more random-)3.459 F 1.018 -(ness. If the shell compatibility le)180 333.6 R -.15(ve)-.25 G 3.518 +(ness. If the shell compatibility le)180 362.4 R -.15(ve)-.25 G 3.518 (li).15 G 3.518(ss)-3.518 G 1.018(et to 50 or lo)-3.518 F(wer)-.25 E 3.518(,i)-.4 G 3.518(tr)-3.518 G -2.15 -.25(ev e)-3.518 H 1.019 -(rts to the method from).25 F .733(bash-5.0 and pre)180 345.6 R .733 +(rts to the method from).25 F .733(bash-5.0 and pre)180 374.4 R .733 (vious v)-.25 F .732 (ersions, so seeding the random number generator by assigning a)-.15 F --.25(va)180 357.6 S(lue to).25 E F2(RANDOM)2.5 E F0 -(will produce the same sequence as in bash-5.0)2.25 E/F3 10.95 -/Times-Bold@0 SF(SEE ALSO)72 374.4 Q F0(bash\(1\), sh\(1\))108 386.4 Q -(GNU Bash 5.0)72 768 Q(2004 Apr 20)149.565 E(26)198.725 E 0 Cg EP +-.25(va)180 386.4 S(lue to).25 E F2(RANDOM)2.5 E F0 +(will produce the same sequence as in bash-5.0)2.25 E<83>144 398.4 Q +.695(If the command hash table is empty)180 398.4 R 3.196(,b)-.65 G .696 +(ash v)-3.196 F .696(ersions prior to bash-5.1 printed an informa-)-.15 +F 1.321(tional message to that ef)180 410.4 R 1.321(fect, e)-.25 F -.15 +(ve)-.25 G 3.821(nw).15 G 1.321 +(hen producing output that can be reused as input.)-3.821 F +(Bash-5.1 suppresses that message when the)180 422.4 Q F1<ad6c>2.5 E F0 +(option is supplied.)2.5 E/F3 10.95/Times-Bold@0 SF(SEE ALSO)72 439.2 Q +F0(bash\(1\), sh\(1\))108 451.2 Q(GNU Bash 5.0)72 768 Q(2004 Apr 20) +149.565 E(26)198.725 E 0 Cg EP %%Trailer end %%EOF |