mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20070517 snapshot
This commit is contained in:
+332
-327
@@ -11,7 +11,7 @@
|
||||
%DVIPSWebPage: (www.radicaleye.com)
|
||||
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
|
||||
%DVIPSParameters: dpi=600
|
||||
%DVIPSSource: TeX output 2007.01.16:1115
|
||||
%DVIPSSource: TeX output 2007.05.11:1618
|
||||
%%BeginProcSet: tex.pro 0 0
|
||||
%!
|
||||
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
|
||||
@@ -4560,7 +4560,7 @@ letter
|
||||
TeXDict begin 1 0 bop 150 1318 a Fu(Bash)64 b(Reference)j(Man)-5
|
||||
b(ual)p 150 1385 3600 34 v 2361 1481 a Ft(Reference)31
|
||||
b(Do)s(cumen)m(tation)i(for)d(Bash)2428 1589 y(Edition)h(3.2,)g(for)f
|
||||
Fs(Bash)g Ft(V)-8 b(ersion)31 b(3.2.)3218 1697 y(Jan)m(uary)f(2007)150
|
||||
Fs(Bash)g Ft(V)-8 b(ersion)31 b(3.2.)3364 1697 y(Ma)m(y)g(2007)150
|
||||
4935 y Fr(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 b(estern)46
|
||||
b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 y(Brian)f(F)-11
|
||||
b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F)-11
|
||||
@@ -4568,21 +4568,21 @@ b(oundation)p 150 5141 3600 17 v eop end
|
||||
%%Page: 2 2
|
||||
TeXDict begin 2 1 bop 150 2889 a Ft(This)35 b(text)h(is)g(a)g(brief)f
|
||||
(description)h(of)f(the)h(features)g(that)g(are)g(presen)m(t)g(in)f
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.2,)c(12)f(Jan)m(uary)f
|
||||
(2007\).)150 3133 y(This)j(is)g(Edition)g(3.2,)j(last)e(up)s(dated)e
|
||||
(12)i(Jan)m(uary)f(2007,)j(of)e Fq(The)e(GNU)i(Bash)g(Reference)g(Man)m
|
||||
(ual)p Ft(,)150 3243 y(for)c Fs(Bash)p Ft(,)g(V)-8 b(ersion)31
|
||||
b(3.2.)150 3377 y(Cop)m(yrigh)m(t)602 3374 y(c)577 3377
|
||||
y Fp(\015)f Ft(1988-2005)k(F)-8 b(ree)32 b(Soft)m(w)m(are)f(F)-8
|
||||
b(oundation,)32 b(Inc.)150 3512 y(P)m(ermission)g(is)h(gran)m(ted)g(to)
|
||||
f(mak)m(e)i(and)d(distribute)h(v)m(erbatim)h(copies)g(of)f(this)g(man)m
|
||||
(ual)h(pro)m(vided)f(the)150 3621 y(cop)m(yrigh)m(t)g(notice)f(and)f
|
||||
(this)g(p)s(ermission)g(notice)h(are)g(preserv)m(ed)f(on)h(all)g
|
||||
(copies.)390 3756 y(P)m(ermission)k(is)h(gran)m(ted)f(to)h(cop)m(y)-8
|
||||
b(,)38 b(distribute)d(and/or)g(mo)s(dify)f(this)h(do)s(cumen)m(t)g
|
||||
(under)390 3866 y(the)j(terms)g(of)g(the)g(GNU)h(F)-8
|
||||
b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8 b(ersion)39
|
||||
b(1.2)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28
|
||||
(the)h(Bash)f(shell)h(\(v)m(ersion)150 2999 y(3.2,)c(1)e(Ma)m(y)i
|
||||
(2007\).)150 3133 y(This)38 b(is)g(Edition)h(3.2,)j(last)d(up)s(dated)e
|
||||
(1)i(Ma)m(y)h(2007,)j(of)38 b Fq(The)g(GNU)h(Bash)g(Reference)g(Man)m
|
||||
(ual)p Ft(,)j(for)150 3243 y Fs(Bash)p Ft(,)29 b(V)-8
|
||||
b(ersion)31 b(3.2.)150 3377 y(Cop)m(yrigh)m(t)602 3374
|
||||
y(c)577 3377 y Fp(\015)f Ft(1988-2005)k(F)-8 b(ree)32
|
||||
b(Soft)m(w)m(are)f(F)-8 b(oundation,)32 b(Inc.)150 3512
|
||||
y(P)m(ermission)g(is)h(gran)m(ted)g(to)f(mak)m(e)i(and)d(distribute)h
|
||||
(v)m(erbatim)h(copies)g(of)f(this)g(man)m(ual)h(pro)m(vided)f(the)150
|
||||
3621 y(cop)m(yrigh)m(t)g(notice)f(and)f(this)g(p)s(ermission)g(notice)h
|
||||
(are)g(preserv)m(ed)f(on)h(all)g(copies.)390 3756 y(P)m(ermission)k(is)
|
||||
h(gran)m(ted)f(to)h(cop)m(y)-8 b(,)38 b(distribute)d(and/or)g(mo)s
|
||||
(dify)f(this)h(do)s(cumen)m(t)g(under)390 3866 y(the)j(terms)g(of)g
|
||||
(the)g(GNU)h(F)-8 b(ree)39 b(Do)s(cumen)m(tation)h(License,)g(V)-8
|
||||
b(ersion)39 b(1.2)g(or)f(an)m(y)g(later)390 3975 y(v)m(ersion)28
|
||||
b(published)d(b)m(y)j(the)f(F)-8 b(ree)29 b(Soft)m(w)m(are)f(F)-8
|
||||
b(oundation;)30 b(with)d(no)g(In)m(v)-5 b(arian)m(t)28
|
||||
b(Sections,)390 4085 y(with)i(the)h(F)-8 b(ron)m(t-Co)m(v)m(er)33
|
||||
@@ -5770,60 +5770,61 @@ y(the)34 b(p)s(ortion)f(of)h(the)f(string)h(matc)m(hing)g(the)g(en)m
|
||||
408 y(of)39 b Fs(BASH_REMATCH)c Ft(with)j(index)g Fq(n)f
|
||||
Ft(is)i(the)f(p)s(ortion)g(of)h(the)f(string)h(matc)m(hing)g(the)g
|
||||
Fq(n)p Ft(th)630 518 y(paren)m(thesized)31 b(sub)s(expression.)630
|
||||
662 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h
|
||||
659 y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h
|
||||
(follo)m(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630
|
||||
772 y(order)30 b(of)g(precedence:)630 950 y Fs(\()g Fj(expression)38
|
||||
b Fs(\))1110 1060 y Ft(Returns)30 b(the)h(v)-5 b(alue)31
|
||||
768 y(order)30 b(of)g(precedence:)630 940 y Fs(\()g Fj(expression)38
|
||||
b Fs(\))1110 1049 y Ft(Returns)30 b(the)h(v)-5 b(alue)31
|
||||
b(of)g Fq(expression)p Ft(.)42 b(This)30 b(ma)m(y)i(b)s(e)e(used)g(to)i
|
||||
(o)m(v)m(erride)g(the)1110 1170 y(normal)e(precedence)h(of)g(op)s
|
||||
(erators.)630 1348 y Fs(!)f Fj(expression)1110 1458 y
|
||||
(o)m(v)m(erride)g(the)1110 1159 y(normal)e(precedence)h(of)g(op)s
|
||||
(erators.)630 1331 y Fs(!)f Fj(expression)1110 1440 y
|
||||
Ft(T)-8 b(rue)30 b(if)g Fq(expression)g Ft(is)h(false.)630
|
||||
1637 y Fj(expression1)38 b Fs(&&)30 b Fj(expression2)1110
|
||||
1746 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g Fq(expression1)38
|
||||
1612 y Fj(expression1)38 b Fs(&&)30 b Fj(expression2)1110
|
||||
1721 y Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g Fq(expression1)38
|
||||
b Ft(and)29 b Fq(expression2)38 b Ft(are)31 b(true.)630
|
||||
1925 y Fj(expression1)38 b Fs(||)30 b Fj(expression2)1110
|
||||
2034 y Ft(T)-8 b(rue)30 b(if)g(either)h Fq(expression1)38
|
||||
1893 y Fj(expression1)38 b Fs(||)30 b Fj(expression2)1110
|
||||
2003 y Ft(T)-8 b(rue)30 b(if)g(either)h Fq(expression1)38
|
||||
b Ft(or)30 b Fq(expression2)38 b Ft(is)30 b(true.)630
|
||||
2213 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f Ft(op)s(erators)i(do)f(not)h
|
||||
2174 y(The)25 b Fs(&&)g Ft(and)g Fs(||)f Ft(op)s(erators)i(do)f(not)h
|
||||
(ev)-5 b(aluate)27 b Fq(expression2)33 b Ft(if)26 b(the)f(v)-5
|
||||
b(alue)26 b(of)g Fq(expression1)630 2323 y Ft(is)k(su\016cien)m(t)h(to)
|
||||
b(alue)26 b(of)g Fq(expression1)630 2284 y Ft(is)k(su\016cien)m(t)h(to)
|
||||
g(determine)g(the)f(return)g(v)-5 b(alue)31 b(of)f(the)h(en)m(tire)g
|
||||
(conditional)h(expression.)150 2585 y Fk(3.2.4.3)63 b(Grouping)43
|
||||
b(Commands)275 2849 y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m
|
||||
(conditional)h(expression.)150 2532 y Fk(3.2.4.3)63 b(Grouping)43
|
||||
b(Commands)275 2789 y Ft(Bash)22 b(pro)m(vides)g(t)m(w)m(o)h(w)m(a)m
|
||||
(ys)g(to)g(group)f(a)g(list)h(of)f(commands)g(to)g(b)s(e)g(executed)h
|
||||
(as)f(a)h(unit.)37 b(When)22 b(com-)150 2958 y(mands)30
|
||||
(as)f(a)h(unit.)37 b(When)22 b(com-)150 2898 y(mands)30
|
||||
b(are)i(group)s(ed,)f(redirections)h(ma)m(y)g(b)s(e)e(applied)i(to)g
|
||||
(the)f(en)m(tire)h(command)g(list.)44 b(F)-8 b(or)32
|
||||
b(example,)150 3068 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g
|
||||
b(example,)150 3008 y(the)f(output)f(of)g(all)h(the)g(commands)f(in)g
|
||||
(the)h(list)g(ma)m(y)g(b)s(e)e(redirected)i(to)g(a)g(single)g(stream.)
|
||||
150 3256 y Fs(\(\))870 3400 y(\()47 b Fj(list)58 b Fs(\))630
|
||||
3545 y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i
|
||||
150 3186 y Fs(\(\))870 3326 y(\()47 b Fj(list)58 b Fs(\))630
|
||||
3467 y Ft(Placing)30 b(a)f(list)g(of)g(commands)f(b)s(et)m(w)m(een)i
|
||||
(paren)m(theses)e(causes)i(a)f(subshell)e(en)m(vironmen)m(t)630
|
||||
3654 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d
|
||||
(Execution)i(En)m(vironmen)m(t],)g(page)f(30\),)630 3764
|
||||
3576 y(to)k(b)s(e)e(created)j(\(see)f(Section)g(3.7.3)h([Command)d
|
||||
(Execution)i(En)m(vironmen)m(t],)g(page)f(30\),)630 3686
|
||||
y(and)d(eac)m(h)i(of)e(the)h(commands)f(in)g Fq(list)j
|
||||
Ft(to)f(b)s(e)e(executed)h(in)f(that)h(subshell.)39 b(Since)28
|
||||
b(the)f Fq(list)630 3873 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5
|
||||
b(the)f Fq(list)630 3796 y Ft(is)i(executed)g(in)f(a)h(subshell,)g(v)-5
|
||||
b(ariable)29 b(assignmen)m(ts)g(do)g(not)g(remain)f(in)g(e\013ect)j
|
||||
(after)e(the)630 3983 y(subshell)g(completes.)150 4162
|
||||
y Fs({})870 4306 y({)47 b Fj(list)11 b Fs(;)46 b(})630
|
||||
4450 y Ft(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h
|
||||
(after)e(the)630 3905 y(subshell)g(completes.)150 4077
|
||||
y Fs({})870 4217 y({)47 b Fj(list)11 b Fs(;)46 b(})630
|
||||
4358 y Ft(Placing)30 b(a)g(list)g(of)g(commands)f(b)s(et)m(w)m(een)h
|
||||
(curly)f(braces)g(causes)h(the)f(list)h(to)g(b)s(e)f(executed)630
|
||||
4560 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42
|
||||
4468 y(in)d(the)h(curren)m(t)g(shell)f(con)m(text.)42
|
||||
b(No)27 b(subshell)f(is)g(created.)41 b(The)26 b(semicolon)i(\(or)f
|
||||
(newline\))630 4669 y(follo)m(wing)32 b Fq(list)h Ft(is)d(required.)275
|
||||
4857 y(In)i(addition)h(to)g(the)g(creation)i(of)e(a)g(subshell,)g
|
||||
(there)g(is)g(a)g(subtle)f(di\013erence)i(b)s(et)m(w)m(een)f(these)h(t)
|
||||
m(w)m(o)150 4967 y(constructs)43 b(due)f(to)h(historical)h(reasons.)77
|
||||
b(The)42 b(braces)h(are)g Fs(reserved)28 b(words)p Ft(,)45
|
||||
b(so)d(they)h(m)m(ust)g(b)s(e)150 5077 y(separated)33
|
||||
b(from)f(the)g Fq(list)k Ft(b)m(y)c Fs(blank)p Ft(s.)45
|
||||
b(The)32 b(paren)m(theses)h(are)g Fs(operators)p Ft(,)d(and)i(are)h
|
||||
(recognized)h(as)150 5186 y(separate)d(tok)m(ens)h(b)m(y)e(the)h(shell)
|
||||
f(ev)m(en)h(if)f(they)h(are)g(not)f(separated)h(from)f(the)h
|
||||
Fq(list)i Ft(b)m(y)d(whitespace.)275 5340 y(The)f(exit)j(status)e(of)h
|
||||
(b)s(oth)f(of)g(these)h(constructs)g(is)f(the)h(exit)g(status)f(of)h
|
||||
Fq(list)p Ft(.)p eop end
|
||||
(newline\))630 4577 y(follo)m(wing)32 b Fq(list)h Ft(is)d(required.)275
|
||||
4755 y(In)44 b(addition)h(to)h(the)f(creation)i(of)e(a)g(subshell,)j
|
||||
(there)e(is)f(a)g(subtle)g(di\013erence)h(b)s(et)m(w)m(een)f(these)150
|
||||
4864 y(t)m(w)m(o)c(constructs)e(due)g(to)g(historical)i(reasons.)67
|
||||
b(The)39 b(braces)g(are)h Fs(reserved)28 b(words)p Ft(,)40
|
||||
b(so)g(they)f(m)m(ust)150 4974 y(b)s(e)d(separated)h(from)f(the)g
|
||||
Fq(list)j Ft(b)m(y)e Fs(blank)p Ft(s)e(or)h(other)h(shell)f(metac)m
|
||||
(haracters.)62 b(The)36 b(paren)m(theses)h(are)150 5084
|
||||
y Fs(operators)p Ft(,)23 b(and)h(are)g(recognized)i(as)e(separate)i
|
||||
(tok)m(ens)f(b)m(y)f(the)g(shell)h(ev)m(en)g(if)f(they)g(are)h(not)f
|
||||
(separated)150 5193 y(from)30 b(the)g Fq(list)j Ft(b)m(y)e(whitespace.)
|
||||
275 5340 y(The)e(exit)j(status)e(of)h(b)s(oth)f(of)g(these)h
|
||||
(constructs)g(is)f(the)h(exit)g(status)f(of)h Fq(list)p
|
||||
Ft(.)p eop end
|
||||
%%Page: 14 20
|
||||
TeXDict begin 14 19 bop 150 -116 a Ft(14)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)150 299 y Fr(3.3)68 b(Shell)45
|
||||
@@ -5873,12 +5874,13 @@ i(in)e(the)g(b)s(o)s(dy)-8 b(.)275 2856 y(Note)22 b(that)f(for)f
|
||||
(dy)f(b)m(y)h Fs(blank)p Ft(s)f(or)h(newlines.)62 b(This)150
|
||||
3075 y(is)38 b(b)s(ecause)g(the)h(braces)f(are)h(reserv)m(ed)f(w)m
|
||||
(ords)g(and)f(are)i(only)f(recognized)i(as)e(suc)m(h)g(when)f(they)i
|
||||
(are)150 3185 y(separated)e(b)m(y)g(whitespace.)61 b(Also,)39
|
||||
b(when)d(using)g(the)h(braces,)i(the)e Fq(list)j Ft(m)m(ust)c(b)s(e)g
|
||||
(terminated)i(b)m(y)f(a)150 3294 y(semicolon,)32 b(a)f(`)p
|
||||
Fs(&)p Ft(',)f(or)h(a)g(newline.)275 3440 y(When)h(a)i(function)f(is)g
|
||||
(executed,)i(the)e(argumen)m(ts)h(to)g(the)f(function)g(b)s(ecome)g
|
||||
(the)h(p)s(ositional)g(pa-)150 3550 y(rameters)42 b(during)e(its)i
|
||||
(are)150 3185 y(separated)26 b(from)f(the)h(command)f(list)i(b)m(y)e
|
||||
(whitespace)h(or)g(another)g(shell)g(metac)m(haracter.)41
|
||||
b(Also,)28 b(when)150 3294 y(using)i(the)g(braces,)h(the)g
|
||||
Fq(list)i Ft(m)m(ust)d(b)s(e)g(terminated)h(b)m(y)f(a)h(semicolon,)h(a)
|
||||
e(`)p Fs(&)p Ft(',)h(or)g(a)f(newline.)275 3440 y(When)i(a)i(function)f
|
||||
(is)g(executed,)i(the)e(argumen)m(ts)h(to)g(the)f(function)g(b)s(ecome)
|
||||
g(the)h(p)s(ositional)g(pa-)150 3550 y(rameters)42 b(during)e(its)i
|
||||
(execution)h(\(see)f(Section)g(3.4.1)h([P)m(ositional)h(P)m
|
||||
(arameters],)i(page)c(15\).)75 b(The)150 3660 y(sp)s(ecial)37
|
||||
b(parameter)f(`)p Fs(#)p Ft(')g(that)h(expands)e(to)i(the)f(n)m(um)m(b)
|
||||
@@ -7666,64 +7668,67 @@ b(If)32 b Fq(n)g Ft(is)h(not)f(supplied,)h(it)g(is)f(assumed)g(to)h(b)s
|
||||
(e)f(1.)48 b(The)32 b(return)g(status)h(is)f(zero)630
|
||||
408 y(unless)e Fq(n)f Ft(is)i(greater)g(than)g Fs($#)e
|
||||
Ft(or)i(less)f(than)h(zero,)g(non-zero)g(otherwise.)150
|
||||
578 y Fs(test)150 687 y([)432 b Ft(Ev)-5 b(aluate)32
|
||||
558 y Fs(test)150 667 y([)432 b Ft(Ev)-5 b(aluate)32
|
||||
b(a)f(conditional)h(expression)e Fq(expr)p Ft(.)41 b(Eac)m(h)31
|
||||
b(op)s(erator)g(and)f(op)s(erand)g(m)m(ust)h(b)s(e)f(a)630
|
||||
797 y(separate)d(argumen)m(t.)40 b(Expressions)25 b(are)i(comp)s(osed)e
|
||||
777 y(separate)d(argumen)m(t.)40 b(Expressions)25 b(are)i(comp)s(osed)e
|
||||
(of)i(the)f(primaries)g(describ)s(ed)f(b)s(elo)m(w)630
|
||||
907 y(in)34 b(Section)g(6.4)h([Bash)g(Conditional)f(Expressions],)h
|
||||
887 y(in)34 b(Section)g(6.4)h([Bash)g(Conditional)f(Expressions],)h
|
||||
(page)g(75.)52 b Fs(test)33 b Ft(do)s(es)g(not)h(accept)630
|
||||
1016 y(an)m(y)27 b(options,)i(nor)d(do)s(es)h(it)g(accept)i(and)d
|
||||
996 y(an)m(y)27 b(options,)i(nor)d(do)s(es)h(it)g(accept)i(and)d
|
||||
(ignore)i(an)f(argumen)m(t)g(of)g(`)p Fs(--)p Ft(')g(as)h(signifying)f
|
||||
(the)630 1126 y(end)j(of)g(options.)630 1265 y(When)g(the)h
|
||||
(the)630 1106 y(end)j(of)g(options.)630 1235 y(When)g(the)h
|
||||
Fs([)f Ft(form)g(is)g(used,)g(the)g(last)i(argumen)m(t)e(to)i(the)e
|
||||
(command)g(m)m(ust)h(b)s(e)e(a)i Fs(])p Ft(.)630 1405
|
||||
(command)g(m)m(ust)h(b)s(e)e(a)i Fs(])p Ft(.)630 1365
|
||||
y(Expressions)23 b(ma)m(y)h(b)s(e)e(com)m(bined)i(using)f(the)h(follo)m
|
||||
(wing)h(op)s(erators,)g(listed)f(in)f(decreasing)630
|
||||
1514 y(order)30 b(of)g(precedence.)630 1684 y Fs(!)g
|
||||
Fj(expr)210 b Ft(T)-8 b(rue)30 b(if)g Fq(expr)37 b Ft(is)30
|
||||
b(false.)630 1853 y Fs(\()g Fj(expr)40 b Fs(\))122 b
|
||||
Ft(Returns)23 b(the)i(v)-5 b(alue)25 b(of)f Fq(expr)p
|
||||
1474 y(order)30 b(of)h(precedence.)43 b(The)30 b(ev)-5
|
||||
b(aluation)33 b(dep)s(ends)28 b(on)j(the)g(n)m(um)m(b)s(er)f(of)h
|
||||
(argumen)m(ts;)g(see)630 1584 y(b)s(elo)m(w.)630 1733
|
||||
y Fs(!)f Fj(expr)210 b Ft(T)-8 b(rue)30 b(if)g Fq(expr)37
|
||||
b Ft(is)30 b(false.)630 1883 y Fs(\()g Fj(expr)40 b Fs(\))122
|
||||
b Ft(Returns)23 b(the)i(v)-5 b(alue)25 b(of)f Fq(expr)p
|
||||
Ft(.)38 b(This)24 b(ma)m(y)h(b)s(e)e(used)h(to)h(o)m(v)m(erride)g(the)g
|
||||
(normal)1110 1963 y(precedence)31 b(of)f(op)s(erators.)630
|
||||
2132 y Fj(expr1)39 b Fs(-a)30 b Fj(expr2)1110 2242 y
|
||||
(normal)1110 1993 y(precedence)31 b(of)f(op)s(erators.)630
|
||||
2142 y Fj(expr1)39 b Fs(-a)30 b Fj(expr2)1110 2252 y
|
||||
Ft(T)-8 b(rue)30 b(if)g(b)s(oth)g Fq(expr1)37 b Ft(and)30
|
||||
b Fq(expr2)38 b Ft(are)30 b(true.)630 2411 y Fj(expr1)39
|
||||
b Fs(-o)30 b Fj(expr2)1110 2521 y Ft(T)-8 b(rue)30 b(if)g(either)h
|
||||
b Fq(expr2)38 b Ft(are)30 b(true.)630 2401 y Fj(expr1)39
|
||||
b Fs(-o)30 b Fj(expr2)1110 2511 y Ft(T)-8 b(rue)30 b(if)g(either)h
|
||||
Fq(expr1)38 b Ft(or)30 b Fq(expr2)37 b Ft(is)31 b(true.)630
|
||||
2690 y(The)37 b Fs(test)f Ft(and)g Fs([)h Ft(builtins)g(ev)-5
|
||||
2660 y(The)37 b Fs(test)f Ft(and)g Fs([)h Ft(builtins)g(ev)-5
|
||||
b(aluate)39 b(conditional)f(expressions)f(using)g(a)g(set)h(of)f(rules)
|
||||
630 2800 y(based)30 b(on)g(the)h(n)m(um)m(b)s(er)e(of)h(argumen)m(ts.)
|
||||
630 2969 y(0)h(argumen)m(ts)1110 3078 y(The)f(expression)g(is)g(false.)
|
||||
630 3248 y(1)h(argumen)m(t)1110 3357 y(The)f(expression)g(is)g(true)h
|
||||
630 2770 y(based)30 b(on)g(the)h(n)m(um)m(b)s(er)e(of)h(argumen)m(ts.)
|
||||
630 2919 y(0)h(argumen)m(ts)1110 3029 y(The)f(expression)g(is)g(false.)
|
||||
630 3178 y(1)h(argumen)m(t)1110 3288 y(The)f(expression)g(is)g(true)h
|
||||
(if)f(and)g(only)g(if)h(the)f(argumen)m(t)h(is)f(not)h(n)m(ull.)630
|
||||
3527 y(2)g(argumen)m(ts)1110 3636 y(If)f(the)h(\014rst)f(argumen)m(t)h
|
||||
3437 y(2)g(argumen)m(ts)1110 3547 y(If)f(the)h(\014rst)f(argumen)m(t)h
|
||||
(is)g(`)p Fs(!)p Ft(',)g(the)g(expression)g(is)g(true)f(if)h(and)f
|
||||
(only)h(if)g(the)1110 3746 y(second)j(argumen)m(t)f(is)h(n)m(ull.)50
|
||||
(only)h(if)g(the)1110 3656 y(second)j(argumen)m(t)f(is)h(n)m(ull.)50
|
||||
b(If)33 b(the)h(\014rst)e(argumen)m(t)i(is)g(one)g(of)f(the)h(unary)
|
||||
1110 3856 y(conditional)42 b(op)s(erators)f(\(see)g(Section)h(6.4)f
|
||||
([Bash)g(Conditional)g(Expres-)1110 3965 y(sions],)34
|
||||
1110 3766 y(conditional)42 b(op)s(erators)f(\(see)g(Section)h(6.4)f
|
||||
([Bash)g(Conditional)g(Expres-)1110 3875 y(sions],)34
|
||||
b(page)f(75\),)i(the)e(expression)f(is)h(true)g(if)g(the)g(unary)e
|
||||
(test)j(is)f(true.)47 b(If)1110 4075 y(the)33 b(\014rst)g(argumen)m(t)h
|
||||
(test)j(is)f(true.)47 b(If)1110 3985 y(the)33 b(\014rst)g(argumen)m(t)h
|
||||
(is)f(not)g(a)h(v)-5 b(alid)34 b(unary)e(op)s(erator,)i(the)g
|
||||
(expression)f(is)1110 4184 y(false.)630 4354 y(3)e(argumen)m(ts)1110
|
||||
4463 y(If)k(the)g(second)g(argumen)m(t)g(is)g(one)h(of)f(the)g(binary)f
|
||||
(conditional)j(op)s(erators)1110 4573 y(\(see)23 b(Section)g(6.4)f
|
||||
(expression)f(is)1110 4095 y(false.)630 4244 y(3)e(argumen)m(ts)1110
|
||||
4354 y(If)k(the)g(second)g(argumen)m(t)g(is)g(one)h(of)f(the)g(binary)f
|
||||
(conditional)j(op)s(erators)1110 4463 y(\(see)23 b(Section)g(6.4)f
|
||||
([Bash)h(Conditional)f(Expressions],)h(page)g(75\),)i(the)d(result)1110
|
||||
4682 y(of)44 b(the)h(expression)f(is)g(the)g(result)g(of)h(the)f
|
||||
(binary)g(test)h(using)e(the)i(\014rst)1110 4792 y(and)33
|
||||
b(third)g(argumen)m(ts)h(as)g(op)s(erands.)50 b(If)33
|
||||
b(the)h(\014rst)g(argumen)m(t)g(is)g(`)p Fs(!)p Ft(',)h(the)1110
|
||||
4902 y(v)-5 b(alue)25 b(is)g(the)g(negation)h(of)f(the)g(t)m(w)m
|
||||
(o-argumen)m(t)i(test)f(using)e(the)h(second)g(and)1110
|
||||
5011 y(third)32 b(argumen)m(ts.)47 b(If)33 b(the)f(\014rst)g(argumen)m
|
||||
(t)h(is)g(exactly)h(`)p Fs(\()p Ft(')f(and)f(the)h(third)1110
|
||||
5121 y(argumen)m(t)h(is)g(exactly)h(`)p Fs(\))p Ft(',)g(the)f(result)f
|
||||
(is)h(the)g(one-argumen)m(t)g(test)h(of)f(the)1110 5230
|
||||
y(second)d(argumen)m(t.)45 b(Otherwise,)31 b(the)h(expression)f(is)g
|
||||
(false.)44 b(The)31 b(`)p Fs(-a)p Ft(')h(and)1110 5340
|
||||
y(`)p Fs(-o)p Ft(')e(op)s(erators)h(are)g(considered)f(binary)f(op)s
|
||||
(erators)i(in)f(this)g(case.)p eop end
|
||||
4573 y(of)44 b(the)h(expression)f(is)g(the)g(result)g(of)h(the)f
|
||||
(binary)g(test)h(using)e(the)i(\014rst)1110 4682 y(and)31
|
||||
b(third)g(argumen)m(ts)i(as)f(op)s(erands.)44 b(The)31
|
||||
b(`)p Fs(-a)p Ft(')h(and)g(`)p Fs(-o)p Ft(')f(op)s(erators)i(are)1110
|
||||
4792 y(considered)25 b(binary)g(op)s(erators)g(when)f(there)i(are)f
|
||||
(three)h(argumen)m(ts.)39 b(If)25 b(the)1110 4902 y(\014rst)j(argumen)m
|
||||
(t)h(is)g(`)p Fs(!)p Ft(',)h(the)f(v)-5 b(alue)29 b(is)g(the)g
|
||||
(negation)i(of)e(the)g(t)m(w)m(o-argumen)m(t)1110 5011
|
||||
y(test)38 b(using)f(the)g(second)g(and)g(third)f(argumen)m(ts.)61
|
||||
b(If)37 b(the)g(\014rst)f(argumen)m(t)1110 5121 y(is)j(exactly)i(`)p
|
||||
Fs(\()p Ft(')f(and)f(the)g(third)g(argumen)m(t)h(is)f(exactly)i(`)p
|
||||
Fs(\))p Ft(',)h(the)e(result)f(is)1110 5230 y(the)46
|
||||
b(one-argumen)m(t)g(test)h(of)f(the)f(second)h(argumen)m(t.)86
|
||||
b(Otherwise,)50 b(the)1110 5340 y(expression)30 b(is)h(false.)p
|
||||
eop end
|
||||
%%Page: 40 46
|
||||
TeXDict begin 40 45 bop 150 -116 a Ft(40)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)630 299 y(4)g(argumen)m(ts)1110
|
||||
@@ -11413,319 +11418,319 @@ f(the)i(eigh)m(th)g(bit)f(and)g(pre\014xing)f(an)1110
|
||||
643 V 1268 625 a Fg(i)1332 628 y Ft(c)m(haracter,)36
|
||||
b(con)m(v)m(erting)g(them)e(to)g(a)h(meta-pre\014xed)f(k)m(ey)g
|
||||
(sequence.)1110 737 y(The)c(default)g(v)-5 b(alue)31
|
||||
b(is)g(`)p Fs(on)p Ft('.)630 883 y Fs(disable-completion)1110
|
||||
993 y Ft(If)36 b(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g
|
||||
b(is)g(`)p Fs(on)p Ft('.)630 902 y Fs(disable-completion)1110
|
||||
1011 y Ft(If)36 b(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g
|
||||
(inhibit)f(w)m(ord)h(completion.)60 b(Completion)1110
|
||||
1103 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h(in)m(to)h(the)g
|
||||
1121 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h(in)m(to)h(the)g
|
||||
(line)f(as)g(if)g(they)h(had)e(b)s(een)g(mapp)s(ed)1110
|
||||
1212 y(to)31 b Fs(self-insert)p Ft(.)38 b(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 1358 y Fs(editing-mode)1110 1468 y
|
||||
1230 y(to)31 b Fs(self-insert)p Ft(.)38 b(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 1395 y Fs(editing-mode)1110 1504 y
|
||||
Ft(The)d Fs(editing-mode)e Ft(v)-5 b(ariable)29 b(con)m(trols)h(whic)m
|
||||
(h)e(default)h(set)h(of)e(k)m(ey)i(bind-)1110 1577 y(ings)25
|
||||
(h)e(default)h(set)h(of)e(k)m(ey)i(bind-)1110 1614 y(ings)25
|
||||
b(is)g(used.)38 b(By)26 b(default,)g(Readline)g(starts)f(up)f(in)h
|
||||
(Emacs)g(editing)h(mo)s(de,)1110 1687 y(where)j(the)g(k)m(eystrok)m(es)
|
||||
(Emacs)g(editing)h(mo)s(de,)1110 1724 y(where)j(the)g(k)m(eystrok)m(es)
|
||||
i(are)e(most)h(similar)f(to)h(Emacs.)40 b(This)29 b(v)-5
|
||||
b(ariable)30 b(can)1110 1797 y(b)s(e)g(set)h(to)g(either)g(`)p
|
||||
Fs(emacs)p Ft(')e(or)h(`)p Fs(vi)p Ft('.)630 1943 y Fs(enable-keypad)
|
||||
1110 2052 y Ft(When)23 b(set)h(to)g(`)p Fs(on)p Ft(',)h(Readline)f
|
||||
b(ariable)30 b(can)1110 1833 y(b)s(e)g(set)h(to)g(either)g(`)p
|
||||
Fs(emacs)p Ft(')e(or)h(`)p Fs(vi)p Ft('.)630 1998 y Fs(enable-keypad)
|
||||
1110 2107 y Ft(When)23 b(set)h(to)g(`)p Fs(on)p Ft(',)h(Readline)f
|
||||
(will)g(try)f(to)h(enable)g(the)f(application)i(k)m(eypad)1110
|
||||
2162 y(when)h(it)h(is)f(called.)41 b(Some)27 b(systems)f(need)h(this)f
|
||||
(to)h(enable)g(the)g(arro)m(w)g(k)m(eys.)1110 2271 y(The)j(default)g
|
||||
(is)h(`)p Fs(off)p Ft('.)630 2418 y Fs(expand-tilde)1110
|
||||
2527 y Ft(If)c(set)h(to)h(`)p Fs(on)p Ft(',)f(tilde)g(expansion)g(is)f
|
||||
(p)s(erformed)f(when)h(Readline)h(attempts)1110 2637
|
||||
2217 y(when)h(it)h(is)f(called.)41 b(Some)27 b(systems)f(need)h(this)f
|
||||
(to)h(enable)g(the)g(arro)m(w)g(k)m(eys.)1110 2326 y(The)j(default)g
|
||||
(is)h(`)p Fs(off)p Ft('.)630 2491 y Fs(expand-tilde)1110
|
||||
2600 y Ft(If)c(set)h(to)h(`)p Fs(on)p Ft(',)f(tilde)g(expansion)g(is)f
|
||||
(p)s(erformed)f(when)h(Readline)h(attempts)1110 2710
|
||||
y(w)m(ord)i(completion.)42 b(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 2783 y Fs(history-preserve-point)1110
|
||||
2892 y Ft(If)e(set)i(to)f(`)p Fs(on)p Ft(',)g(the)g(history)g(co)s(de)g
|
||||
(attempts)g(to)h(place)f(p)s(oin)m(t)g(at)h(the)f(same)1110
|
||||
3002 y(lo)s(cation)35 b(on)e(eac)m(h)i(history)e(line)h(retriev)m(ed)g
|
||||
(with)f Fs(previous-history)c Ft(or)1110 3112 y Fs(next-history)p
|
||||
Ft(.)37 b(The)30 b(default)h(is)f(`)p Fs(off)p Ft('.)630
|
||||
3258 y Fs(horizontal-scroll-mode)1110 3367 y Ft(This)35
|
||||
b(v)-5 b(ariable)37 b(can)f(b)s(e)f(set)h(to)h(either)f(`)p
|
||||
Fs(on)p Ft(')g(or)g(`)p Fs(off)p Ft('.)57 b(Setting)36
|
||||
b(it)g(to)h(`)p Fs(on)p Ft(')1110 3477 y(means)26 b(that)h(the)f(text)h
|
||||
Fs(off)p Ft('.)630 2874 y Fs(history-preserve-point)1110
|
||||
2984 y Ft(If)41 b(set)h(to)h(`)p Fs(on)p Ft(',)i(the)c(history)h(co)s
|
||||
(de)g(attempts)h(to)f(place)h(the)f(p)s(oin)m(t)f(\(the)1110
|
||||
3093 y(curren)m(t)35 b(cursor)g(p)s(osition\))g(at)h(the)g(same)f(lo)s
|
||||
(cation)i(on)e(eac)m(h)h(history)g(line)1110 3203 y(retriev)m(ed)h
|
||||
(with)f Fs(previous-history)c Ft(or)37 b Fs(next-history)p
|
||||
Ft(.)55 b(The)36 b(default)1110 3313 y(is)30 b(`)p Fs(off)p
|
||||
Ft('.)630 3477 y Fs(horizontal-scroll-mode)1110 3587
|
||||
y Ft(This)35 b(v)-5 b(ariable)37 b(can)f(b)s(e)f(set)h(to)h(either)f(`)
|
||||
p Fs(on)p Ft(')g(or)g(`)p Fs(off)p Ft('.)57 b(Setting)36
|
||||
b(it)g(to)h(`)p Fs(on)p Ft(')1110 3696 y(means)26 b(that)h(the)f(text)h
|
||||
(of)g(the)f(lines)g(b)s(eing)g(edited)h(will)f(scroll)h(horizon)m
|
||||
(tally)1110 3587 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i
|
||||
(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 3696
|
||||
(tally)1110 3806 y(on)32 b(a)g(single)g(screen)g(line)g(when)e(they)i
|
||||
(are)g(longer)h(than)e(the)h(width)f(of)h(the)1110 3915
|
||||
y(screen,)27 b(instead)g(of)f(wrapping)f(on)m(to)i(a)f(new)g(screen)g
|
||||
(line.)39 b(By)27 b(default,)g(this)1110 3806 y(v)-5
|
||||
(line.)39 b(By)27 b(default,)g(this)1110 4025 y(v)-5
|
||||
b(ariable)31 b(is)g(set)f(to)i(`)p Fs(off)p Ft('.)630
|
||||
3952 y Fs(input-meta)1110 4061 y Ft(If)f(set)g(to)h(`)p
|
||||
4189 y Fs(input-meta)1110 4299 y Ft(If)f(set)g(to)h(`)p
|
||||
Fs(on)p Ft(',)g(Readline)g(will)f(enable)h(eigh)m(t-bit)h(input)d(\(it)
|
||||
i(will)f(not)h(clear)1110 4171 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h
|
||||
i(will)f(not)h(clear)1110 4408 y(the)40 b(eigh)m(th)g(bit)g(in)f(the)h
|
||||
(c)m(haracters)h(it)f(reads\),)j(regardless)c(of)h(what)g(the)1110
|
||||
4281 y(terminal)g(claims)h(it)g(can)f(supp)s(ort.)68
|
||||
4518 y(terminal)g(claims)h(it)g(can)f(supp)s(ort.)68
|
||||
b(The)39 b(default)h(v)-5 b(alue)40 b(is)g(`)p Fs(off)p
|
||||
Ft('.)69 b(The)1110 4390 y(name)30 b Fs(meta-flag)e Ft(is)j(a)f(synon)m
|
||||
(ym)g(for)g(this)h(v)-5 b(ariable.)630 4536 y Fs(isearch-terminators)
|
||||
1110 4646 y Ft(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e
|
||||
(terminate)j(an)f(incremen)m(tal)1110 4755 y(searc)m(h)25
|
||||
Ft('.)69 b(The)1110 4628 y(name)30 b Fs(meta-flag)e Ft(is)j(a)f(synon)m
|
||||
(ym)g(for)g(this)h(v)-5 b(ariable.)630 4792 y Fs(isearch-terminators)
|
||||
1110 4902 y Ft(The)51 b(string)h(of)g(c)m(haracters)h(that)f(should)e
|
||||
(terminate)j(an)f(incremen)m(tal)1110 5011 y(searc)m(h)25
|
||||
b(without)g(subsequen)m(tly)g(executing)h(the)f(c)m(haracter)h(as)f(a)g
|
||||
(command)1110 4865 y(\(see)42 b(Section)f(8.2.5)i([Searc)m(hing],)i
|
||||
(command)1110 5121 y(\(see)42 b(Section)f(8.2.5)i([Searc)m(hing],)i
|
||||
(page)c(94\).)73 b(If)41 b(this)g(v)-5 b(ariable)41 b(has)g(not)1110
|
||||
4975 y(b)s(een)31 b(giv)m(en)h(a)g(v)-5 b(alue,)32 b(the)g(c)m
|
||||
(haracters)2494 4972 y Fg(h)p 2518 4919 V 2518 4975 a
|
||||
Ff(ESC)p 2518 4990 V 2652 4972 a Fg(i)2713 4975 y Ft(and)f
|
||||
Fj(C-J)g Ft(will)h(terminate)g(an)1110 5084 y(incremen)m(tal)g(searc)m
|
||||
(h.)630 5230 y Fs(keymap)192 b Ft(Sets)39 b(Readline's)g(idea)h(of)f
|
||||
(the)g(curren)m(t)f(k)m(eymap)h(for)g(k)m(ey)g(binding)f(com-)1110
|
||||
5340 y(mands.)81 b(Acceptable)47 b Fs(keymap)42 b Ft(names)i(are)h
|
||||
Fs(emacs)p Ft(,)i Fs(emacs-standard)p Ft(,)p eop end
|
||||
5230 y(b)s(een)31 b(giv)m(en)h(a)g(v)-5 b(alue,)32 b(the)g(c)m
|
||||
(haracters)2494 5227 y Fg(h)p 2518 5174 V 2518 5230 a
|
||||
Ff(ESC)p 2518 5246 V 2652 5227 a Fg(i)2713 5230 y Ft(and)f
|
||||
Fj(C-J)g Ft(will)h(terminate)g(an)1110 5340 y(incremen)m(tal)g(searc)m
|
||||
(h.)p eop end
|
||||
%%Page: 97 103
|
||||
TeXDict begin 97 102 bop 150 -116 a Ft(Chapter)30 b(8:)41
|
||||
b(Command)29 b(Line)i(Editing)2107 b(97)1110 299 y Fs(emacs-meta)p
|
||||
Ft(,)99 b Fs(emacs-ctlx)p Ft(,)f Fs(vi)p Ft(,)j Fs(vi-move)p
|
||||
Ft(,)f Fs(vi-command)p Ft(,)f(and)1110 408 y Fs(vi-insert)p
|
||||
Ft(.)64 b Fs(vi)38 b Ft(is)h(equiv)-5 b(alen)m(t)41 b(to)e
|
||||
Fs(vi-command)p Ft(;)i Fs(emacs)c Ft(is)i(equiv)-5 b(alen)m(t)1110
|
||||
518 y(to)33 b Fs(emacs-standard)p Ft(.)41 b(The)31 b(default)h(v)-5
|
||||
b(Command)29 b(Line)i(Editing)2107 b(97)630 299 y Fs(keymap)192
|
||||
b Ft(Sets)39 b(Readline's)g(idea)h(of)f(the)g(curren)m(t)f(k)m(eymap)h
|
||||
(for)g(k)m(ey)g(binding)f(com-)1110 408 y(mands.)81 b(Acceptable)47
|
||||
b Fs(keymap)42 b Ft(names)i(are)h Fs(emacs)p Ft(,)i Fs(emacs-standard)p
|
||||
Ft(,)1110 518 y Fs(emacs-meta)p Ft(,)99 b Fs(emacs-ctlx)p
|
||||
Ft(,)f Fs(vi)p Ft(,)j Fs(vi-move)p Ft(,)f Fs(vi-command)p
|
||||
Ft(,)f(and)1110 628 y Fs(vi-insert)p Ft(.)64 b Fs(vi)38
|
||||
b Ft(is)h(equiv)-5 b(alen)m(t)41 b(to)e Fs(vi-command)p
|
||||
Ft(;)i Fs(emacs)c Ft(is)i(equiv)-5 b(alen)m(t)1110 737
|
||||
y(to)33 b Fs(emacs-standard)p Ft(.)41 b(The)31 b(default)h(v)-5
|
||||
b(alue)32 b(is)g Fs(emacs)p Ft(.)44 b(The)31 b(v)-5 b(alue)33
|
||||
b(of)f(the)1110 628 y Fs(editing-mode)27 b Ft(v)-5 b(ariable)31
|
||||
b(also)h(a\013ects)f(the)g(default)f(k)m(eymap.)630 774
|
||||
y Fs(mark-directories)1110 883 y Ft(If)38 b(set)g(to)h(`)p
|
||||
b(of)f(the)1110 847 y Fs(editing-mode)27 b Ft(v)-5 b(ariable)31
|
||||
b(also)h(a\013ects)f(the)g(default)f(k)m(eymap.)630 1017
|
||||
y Fs(mark-directories)1110 1127 y Ft(If)38 b(set)g(to)h(`)p
|
||||
Fs(on)p Ft(',)i(completed)e(directory)f(names)g(ha)m(v)m(e)i(a)e(slash)
|
||||
g(app)s(ended.)1110 993 y(The)30 b(default)g(is)h(`)p
|
||||
Fs(on)p Ft('.)630 1139 y Fs(mark-modified-lines)1110
|
||||
1249 y Ft(This)k(v)-5 b(ariable,)38 b(when)d(set)h(to)h(`)p
|
||||
g(app)s(ended.)1110 1236 y(The)30 b(default)g(is)h(`)p
|
||||
Fs(on)p Ft('.)630 1407 y Fs(mark-modified-lines)1110
|
||||
1517 y Ft(This)k(v)-5 b(ariable,)38 b(when)d(set)h(to)h(`)p
|
||||
Fs(on)p Ft(',)g(causes)g(Readline)f(to)h(displa)m(y)f(an)f(as-)1110
|
||||
1358 y(terisk)f(\(`)p Fs(*)p Ft('\))h(at)f(the)g(start)g(of)g(history)g
|
||||
1626 y(terisk)f(\(`)p Fs(*)p Ft('\))h(at)f(the)g(start)g(of)g(history)g
|
||||
(lines)g(whic)m(h)f(ha)m(v)m(e)i(b)s(een)e(mo)s(di\014ed.)1110
|
||||
1468 y(This)d(v)-5 b(ariable)31 b(is)f(`)p Fs(off)p Ft(')g(b)m(y)g
|
||||
(default.)630 1614 y Fs(mark-symlinked-directori)o(es)1110
|
||||
1724 y Ft(If)44 b(set)h(to)h(`)p Fs(on)p Ft(',)i(completed)e(names)f
|
||||
1736 y(This)d(v)-5 b(ariable)31 b(is)f(`)p Fs(off)p Ft(')g(b)m(y)g
|
||||
(default.)630 1906 y Fs(mark-symlinked-directori)o(es)1110
|
||||
2016 y Ft(If)44 b(set)h(to)h(`)p Fs(on)p Ft(',)i(completed)e(names)f
|
||||
(whic)m(h)f(are)h(sym)m(b)s(olic)g(links)g(to)g(di-)1110
|
||||
1833 y(rectories)j(ha)m(v)m(e)f(a)g(slash)f(app)s(ended)e(\(sub)5
|
||||
2125 y(rectories)j(ha)m(v)m(e)f(a)g(slash)f(app)s(ended)e(\(sub)5
|
||||
b(ject)47 b(to)g(the)f(v)-5 b(alue)47 b(of)f Fs(mark-)1110
|
||||
1943 y(directories)p Ft(\).)38 b(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 2089 y Fs(match-hidden-files)1110
|
||||
2198 y Ft(This)21 b(v)-5 b(ariable,)25 b(when)d(set)g(to)h(`)p
|
||||
2235 y(directories)p Ft(\).)38 b(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 2405 y Fs(match-hidden-files)1110
|
||||
2515 y Ft(This)21 b(v)-5 b(ariable,)25 b(when)d(set)g(to)h(`)p
|
||||
Fs(on)p Ft(',)h(causes)f(Readline)g(to)g(matc)m(h)g(\014les)f(whose)
|
||||
1110 2308 y(names)44 b(b)s(egin)g(with)g(a)g(`)p Fs(.)p
|
||||
1110 2625 y(names)44 b(b)s(egin)g(with)g(a)g(`)p Fs(.)p
|
||||
Ft(')g(\(hidden)f(\014les\))i(when)e(p)s(erforming)g(\014lename)1110
|
||||
2418 y(completion,)j(unless)41 b(the)g(leading)h(`)p
|
||||
2734 y(completion,)j(unless)41 b(the)g(leading)h(`)p
|
||||
Fs(.)p Ft(')g(is)g(supplied)e(b)m(y)h(the)h(user)f(in)g(the)1110
|
||||
2527 y(\014lename)31 b(to)g(b)s(e)e(completed.)42 b(This)30
|
||||
2844 y(\014lename)31 b(to)g(b)s(e)e(completed.)42 b(This)30
|
||||
b(v)-5 b(ariable)31 b(is)f(`)p Fs(on)p Ft(')h(b)m(y)f(default.)630
|
||||
2673 y Fs(output-meta)1110 2783 y Ft(If)35 b(set)h(to)g(`)p
|
||||
3014 y Fs(output-meta)1110 3124 y Ft(If)35 b(set)h(to)g(`)p
|
||||
Fs(on)p Ft(',)h(Readline)f(will)g(displa)m(y)f(c)m(haracters)i(with)e
|
||||
(the)h(eigh)m(th)g(bit)1110 2892 y(set)h(directly)g(rather)f(than)g(as)
|
||||
(the)h(eigh)m(th)g(bit)1110 3233 y(set)h(directly)g(rather)f(than)g(as)
|
||||
h(a)g(meta-pre\014xed)f(escap)s(e)h(sequence.)59 b(The)1110
|
||||
3002 y(default)31 b(is)f(`)p Fs(off)p Ft('.)630 3148
|
||||
y Fs(page-completions)1110 3258 y Ft(If)j(set)i(to)f(`)p
|
||||
3343 y(default)31 b(is)f(`)p Fs(off)p Ft('.)630 3513
|
||||
y Fs(page-completions)1110 3623 y Ft(If)j(set)i(to)f(`)p
|
||||
Fs(on)p Ft(',)h(Readline)g(uses)e(an)h(in)m(ternal)h
|
||||
Fs(more)p Ft(-lik)m(e)f(pager)g(to)h(displa)m(y)1110
|
||||
3367 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.)
|
||||
3733 y(a)e(screenful)f(of)g(p)s(ossible)g(completions)i(at)f(a)g(time.)
|
||||
47 b(This)31 b(v)-5 b(ariable)34 b(is)e(`)p Fs(on)p Ft(')1110
|
||||
3477 y(b)m(y)e(default.)630 3623 y Fs(print-completions-horizo)o(ntal)o
|
||||
(ly)1110 3733 y Ft(If)23 b(set)i(to)g(`)p Fs(on)p Ft(',)g(Readline)g
|
||||
3842 y(b)m(y)e(default.)630 4013 y Fs(print-completions-horizo)o(ntal)o
|
||||
(ly)1110 4122 y Ft(If)23 b(set)i(to)g(`)p Fs(on)p Ft(',)g(Readline)g
|
||||
(will)f(displa)m(y)g(completions)h(with)f(matc)m(hes)h(sorted)1110
|
||||
3842 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c
|
||||
(than)g(do)m(wn)g(the)h(screen.)1110 3952 y(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 4098 y Fs(show-all-if-ambiguous)1110
|
||||
4208 y Ft(This)e(alters)i(the)f(default)g(b)s(eha)m(vior)g(of)g(the)h
|
||||
(completion)g(functions.)40 b(If)29 b(set)1110 4317 y(to)f(`)p
|
||||
4232 y(horizon)m(tally)45 b(in)e(alphab)s(etical)i(order,)i(rather)c
|
||||
(than)g(do)m(wn)g(the)h(screen.)1110 4341 y(The)30 b(default)g(is)h(`)p
|
||||
Fs(off)p Ft('.)630 4512 y Fs(show-all-if-ambiguous)1110
|
||||
4622 y Ft(This)e(alters)i(the)f(default)g(b)s(eha)m(vior)g(of)g(the)h
|
||||
(completion)g(functions.)40 b(If)29 b(set)1110 4731 y(to)f(`)p
|
||||
Fs(on)p Ft(',)g(w)m(ords)f(whic)m(h)g(ha)m(v)m(e)i(more)f(than)f(one)h
|
||||
(p)s(ossible)f(completion)h(cause)1110 4427 y(the)39
|
||||
(p)s(ossible)f(completion)h(cause)1110 4841 y(the)39
|
||||
b(matc)m(hes)h(to)g(b)s(e)e(listed)h(immediately)i(instead)e(of)g
|
||||
(ringing)g(the)g(b)s(ell.)1110 4536 y(The)30 b(default)g(v)-5
|
||||
b(alue)31 b(is)g(`)p Fs(off)p Ft('.)630 4682 y Fs
|
||||
(show-all-if-unmodified)1110 4792 y Ft(This)38 b(alters)h(the)g
|
||||
(ringing)g(the)g(b)s(ell.)1110 4950 y(The)30 b(default)g(v)-5
|
||||
b(alue)31 b(is)g(`)p Fs(off)p Ft('.)630 5121 y Fs
|
||||
(show-all-if-unmodified)1110 5230 y Ft(This)38 b(alters)h(the)g
|
||||
(default)g(b)s(eha)m(vior)g(of)f(the)h(completion)h(functions)e(in)h(a)
|
||||
1110 4902 y(fashion)25 b(similar)h(to)g Fq(sho)m(w-all-if-am)m(biguous)
|
||||
1110 5340 y(fashion)25 b(similar)h(to)g Fq(sho)m(w-all-if-am)m(biguous)
|
||||
p Ft(.)41 b(If)25 b(set)h(to)h(`)p Fs(on)p Ft(',)f(w)m(ords)f(whic)m(h)
|
||||
1110 5011 y(ha)m(v)m(e)32 b(more)f(than)f(one)i(p)s(ossible)e
|
||||
(completion)i(without)f(an)m(y)g(p)s(ossible)f(par-)1110
|
||||
5121 y(tial)43 b(completion)h(\(the)f(p)s(ossible)f(completions)h
|
||||
(don't)f(share)g(a)h(common)1110 5230 y(pre\014x\))30
|
||||
b(cause)g(the)h(matc)m(hes)g(to)g(b)s(e)f(listed)g(immediately)i
|
||||
(instead)e(of)h(ring-)1110 5340 y(ing)g(the)f(b)s(ell.)41
|
||||
b(The)30 b(default)g(v)-5 b(alue)31 b(is)f(`)p Fs(off)p
|
||||
Ft('.)p eop end
|
||||
p eop end
|
||||
%%Page: 98 104
|
||||
TeXDict begin 98 103 bop 150 -116 a Ft(98)2572 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)630 299 y Fs(visible-stats)1110
|
||||
408 y Ft(If)g(set)i(to)f(`)p Fs(on)p Ft(',)h(a)f(c)m(haracter)i
|
||||
b(Reference)g(Man)m(ual)1110 299 y(ha)m(v)m(e)h(more)f(than)f(one)i(p)s
|
||||
(ossible)e(completion)i(without)f(an)m(y)g(p)s(ossible)f(par-)1110
|
||||
408 y(tial)43 b(completion)h(\(the)f(p)s(ossible)f(completions)h(don't)
|
||||
f(share)g(a)h(common)1110 518 y(pre\014x\))30 b(cause)g(the)h(matc)m
|
||||
(hes)g(to)g(b)s(e)f(listed)g(immediately)i(instead)e(of)h(ring-)1110
|
||||
628 y(ing)g(the)f(b)s(ell.)41 b(The)30 b(default)g(v)-5
|
||||
b(alue)31 b(is)f(`)p Fs(off)p Ft('.)630 781 y Fs(visible-stats)1110
|
||||
891 y Ft(If)h(set)i(to)f(`)p Fs(on)p Ft(',)h(a)f(c)m(haracter)i
|
||||
(denoting)e(a)g(\014le's)g(t)m(yp)s(e)g(is)g(app)s(ended)e(to)j(the)
|
||||
1110 518 y(\014lename)e(when)e(listing)i(p)s(ossible)f(completions.)42
|
||||
b(The)30 b(default)g(is)h(`)p Fs(off)p Ft('.)150 675
|
||||
y(Key)f(Bindings)630 784 y(The)41 b(syn)m(tax)i(for)f(con)m(trolling)h
|
||||
1110 1000 y(\014lename)e(when)e(listing)i(p)s(ossible)f(completions.)42
|
||||
b(The)30 b(default)g(is)h(`)p Fs(off)p Ft('.)150 1154
|
||||
y(Key)f(Bindings)630 1263 y(The)41 b(syn)m(tax)i(for)f(con)m(trolling)h
|
||||
(k)m(ey)g(bindings)e(in)h(the)g(init)g(\014le)g(is)g(simple.)75
|
||||
b(First)43 b(y)m(ou)630 894 y(need)27 b(to)i(\014nd)d(the)i(name)f(of)h
|
||||
(the)g(command)f(that)i(y)m(ou)f(w)m(an)m(t)g(to)g(c)m(hange.)41
|
||||
b(The)27 b(follo)m(wing)630 1003 y(sections)37 b(con)m(tain)g(tables)g
|
||||
b(First)43 b(y)m(ou)630 1373 y(need)27 b(to)i(\014nd)d(the)i(name)f(of)
|
||||
h(the)g(command)f(that)i(y)m(ou)f(w)m(an)m(t)g(to)g(c)m(hange.)41
|
||||
b(The)27 b(follo)m(wing)630 1482 y(sections)37 b(con)m(tain)g(tables)g
|
||||
(of)f(the)g(command)f(name,)j(the)e(default)g(k)m(eybinding,)h(if)f(an)
|
||||
m(y)-8 b(,)630 1113 y(and)30 b(a)h(short)f(description)g(of)h(what)f
|
||||
(the)g(command)h(do)s(es.)630 1246 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g
|
||||
m(y)-8 b(,)630 1592 y(and)30 b(a)h(short)f(description)g(of)h(what)f
|
||||
(the)g(command)h(do)s(es.)630 1724 y(Once)36 b(y)m(ou)g(kno)m(w)g(the)g
|
||||
(name)g(of)g(the)g(command,)h(simply)f(place)h(on)e(a)i(line)f(in)g
|
||||
(the)g(init)630 1356 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m
|
||||
(the)g(init)630 1833 y(\014le)e(the)g(name)f(of)h(the)g(k)m(ey)g(y)m
|
||||
(ou)g(wish)f(to)h(bind)f(the)h(command)f(to,)i(a)f(colon,)i(and)d(then)
|
||||
630 1465 y(the)f(name)h(of)f(the)g(command.)46 b(There)32
|
||||
630 1943 y(the)f(name)h(of)f(the)g(command.)46 b(There)32
|
||||
b(can)g(b)s(e)g(no)g(space)g(b)s(et)m(w)m(een)h(the)f(k)m(ey)h(name)g
|
||||
(and)630 1575 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m
|
||||
(and)630 2052 y(the)41 b(colon)h({)f(that)g(will)g(b)s(e)g(in)m
|
||||
(terpreted)g(as)g(part)f(of)h(the)g(k)m(ey)h(name.)72
|
||||
b(The)40 b(name)h(of)630 1684 y(the)35 b(k)m(ey)g(can)g(b)s(e)f
|
||||
b(The)40 b(name)h(of)630 2162 y(the)35 b(k)m(ey)g(can)g(b)s(e)f
|
||||
(expressed)f(in)i(di\013eren)m(t)g(w)m(a)m(ys,)h(dep)s(ending)d(on)h
|
||||
(what)h(y)m(ou)g(\014nd)e(most)630 1794 y(comfortable.)630
|
||||
1927 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h
|
||||
(what)h(y)m(ou)g(\014nd)e(most)630 2271 y(comfortable.)630
|
||||
2403 y(In)i(addition)h(to)h(command)f(names,)i(readline)e(allo)m(ws)h
|
||||
(k)m(eys)g(to)g(b)s(e)e(b)s(ound)f(to)j(a)f(string)630
|
||||
2037 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g
|
||||
(\(a)h Fq(macro)5 b Ft(\).)630 2170 y(The)42 b Fs(bind)30
|
||||
2513 y(that)31 b(is)f(inserted)h(when)e(the)i(k)m(ey)g(is)f(pressed)g
|
||||
(\(a)h Fq(macro)5 b Ft(\).)630 2644 y(The)42 b Fs(bind)30
|
||||
b(-p)42 b Ft(command)h(displa)m(ys)g(Readline)g(function)g(names)g(and)
|
||||
f(bindings)g(in)h(a)630 2279 y(format)37 b(that)h(can)f(put)f(directly)
|
||||
f(bindings)g(in)h(a)630 2754 y(format)37 b(that)h(can)f(put)f(directly)
|
||||
i(in)m(to)g(an)f(initialization)j(\014le.)60 b(See)38
|
||||
b(Section)f(4.2)i([Bash)630 2389 y(Builtins],)31 b(page)g(41.)630
|
||||
2545 y Fq(k)m(eyname)5 b Ft(:)42 b Fq(function-name)35
|
||||
b Ft(or)c Fq(macro)1110 2655 y(k)m(eyname)k Ft(is)29
|
||||
b(Section)f(4.2)i([Bash)630 2863 y(Builtins],)31 b(page)g(41.)630
|
||||
3017 y Fq(k)m(eyname)5 b Ft(:)42 b Fq(function-name)35
|
||||
b Ft(or)c Fq(macro)1110 3126 y(k)m(eyname)k Ft(is)29
|
||||
b(the)f(name)h(of)g(a)g(k)m(ey)h(sp)s(elled)e(out)h(in)g(English.)39
|
||||
b(F)-8 b(or)30 b(example:)1350 2788 y Fs(Control-u:)45
|
||||
b(universal-argument)1350 2898 y(Meta-Rubout:)f(backward-kill-word)1350
|
||||
3007 y(Control-o:)h(">)i(output")1110 3140 y Ft(In)38
|
||||
b(F)-8 b(or)30 b(example:)1350 3258 y Fs(Control-u:)45
|
||||
b(universal-argument)1350 3367 y(Meta-Rubout:)f(backward-kill-word)1350
|
||||
3477 y(Control-o:)h(">)i(output")1110 3608 y Ft(In)38
|
||||
b(the)h(ab)s(o)m(v)m(e)h(example,)h Fj(C-u)d Ft(is)h(b)s(ound)d(to)k
|
||||
(the)e(function)h Fs(universal-)1110 3250 y(argument)p
|
||||
(the)e(function)h Fs(universal-)1110 3718 y(argument)p
|
||||
Ft(,)f Fj(M-DEL)e Ft(is)i(b)s(ound)e(to)i(the)g(function)g
|
||||
Fs(backward-kill-word)p Ft(,)1110 3360 y(and)g Fj(C-o)g
|
||||
Fs(backward-kill-word)p Ft(,)1110 3828 y(and)g Fj(C-o)g
|
||||
Ft(is)h(b)s(ound)e(to)j(run)d(the)j(macro)f(expressed)g(on)f(the)i
|
||||
(righ)m(t)f(hand)1110 3469 y(side)30 b(\(that)i(is,)e(to)h(insert)g
|
||||
(righ)m(t)f(hand)1110 3937 y(side)30 b(\(that)i(is,)e(to)h(insert)g
|
||||
(the)f(text)i(`)p Fs(>)e(output)p Ft(')f(in)m(to)i(the)g(line\).)1110
|
||||
3602 y(A)37 b(n)m(um)m(b)s(er)f(of)h(sym)m(b)s(olic)g(c)m(haracter)i
|
||||
(names)e(are)g(recognized)h(while)f(pro-)1110 3712 y(cessing)24
|
||||
4069 y(A)37 b(n)m(um)m(b)s(er)f(of)h(sym)m(b)s(olic)g(c)m(haracter)i
|
||||
(names)e(are)g(recognized)h(while)f(pro-)1110 4178 y(cessing)24
|
||||
b(this)g(k)m(ey)g(binding)f(syn)m(tax:)37 b Fq(DEL)p
|
||||
Ft(,)24 b Fq(ESC)p Ft(,)f Fq(ESCAPE)p Ft(,)g Fq(LFD)p
|
||||
Ft(,)h Fq(NEW-)1110 3821 y(LINE)p Ft(,)30 b Fq(RET)p
|
||||
Ft(,)h Fq(NEW-)1110 4288 y(LINE)p Ft(,)30 b Fq(RET)p
|
||||
Ft(,)g Fq(RETURN)p Ft(,)h Fq(R)m(UBOUT)p Ft(,)g Fq(SP)-8
|
||||
b(A)m(CE)p Ft(,)30 b Fq(SPC)p Ft(,)g(and)f Fq(T)-8 b(AB)p
|
||||
Ft(.)630 3978 y Fs(")p Fq(k)m(eyseq)r Fs(")p Ft(:)41
|
||||
b Fq(function-name)36 b Ft(or)30 b Fq(macro)1110 4088
|
||||
Ft(.)630 4441 y Fs(")p Fq(k)m(eyseq)r Fs(")p Ft(:)41
|
||||
b Fq(function-name)36 b Ft(or)30 b Fq(macro)1110 4551
|
||||
y(k)m(eyseq)k Ft(di\013ers)d(from)f Fq(k)m(eyname)37
|
||||
b Ft(ab)s(o)m(v)m(e)32 b(in)f(that)h(strings)f(denoting)g(an)g(en-)1110
|
||||
4197 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s(e)f(sp)s(eci\014ed,)h(b)m
|
||||
(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in)1110 4307
|
||||
4661 y(tire)j(k)m(ey)h(sequence)f(can)g(b)s(e)f(sp)s(eci\014ed,)h(b)m
|
||||
(y)f(placing)i(the)f(k)m(ey)g(sequence)g(in)1110 4770
|
||||
y(double)29 b(quotes.)41 b(Some)29 b Fl(gnu)h Ft(Emacs)f(st)m(yle)i(k)m
|
||||
(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as)1110 4416
|
||||
(ey)f(escap)s(es)g(can)g(b)s(e)f(used,)g(as)1110 4880
|
||||
y(in)k(the)h(follo)m(wing)i(example,)f(but)e(the)h(sp)s(ecial)h(c)m
|
||||
(haracter)g(names)f(are)g(not)1110 4526 y(recognized.)1350
|
||||
4659 y Fs("\\C-u":)46 b(universal-argument)1350 4769
|
||||
y("\\C-x\\C-r":)f(re-read-init-file)1350 4878 y("\\e[11~":)g("Function)
|
||||
h(Key)g(1")1110 5011 y Ft(In)64 b(the)g(ab)s(o)m(v)m(e)i(example,)74
|
||||
b Fj(C-u)64 b Ft(is)g(again)i(b)s(ound)c(to)k(the)e(function)1110
|
||||
5121 y Fs(universal-argument)39 b Ft(\(just)k(as)h(it)g(w)m(as)g(in)g
|
||||
(the)f(\014rst)g(example\),)49 b(`)p Fj(C-x)1110 5230
|
||||
y(C-r)p Ft(')41 b(is)g(b)s(ound)e(to)j(the)f(function)g
|
||||
Fs(re-read-init-file)p Ft(,)e(and)i(`)3462 5227 y Fg(h)p
|
||||
3486 5174 139 4 v 3486 5230 a Ff(ESC)p 3486 5246 V 3620
|
||||
5227 a Fg(i)31 b(h)p 3705 5174 20 4 v 3705 5230 a Ff([)p
|
||||
3705 5247 V 3720 5227 a Fg(i)1110 5337 y(h)p 1134 5284
|
||||
36 4 v 1134 5340 a Ff(1)p 1134 5355 V 1165 5337 a Fg(i)f(h)p
|
||||
1250 5284 V 1250 5340 a Ff(1)p 1250 5355 V 1281 5337
|
||||
a Fg(i)g(h)p 1365 5284 48 4 v 1365 5340 a Fs(~)p 1365
|
||||
5355 V 1409 5337 a Fg(i)1438 5340 y Ft(')h(is)f(b)s(ound)f(to)i(insert)
|
||||
f(the)h(text)g(`)p Fs(Function)d(Key)i(1)p Ft('.)p eop
|
||||
end
|
||||
(haracter)g(names)f(are)g(not)1110 4989 y(recognized.)1350
|
||||
5121 y Fs("\\C-u":)46 b(universal-argument)1350 5230
|
||||
y("\\C-x\\C-r":)f(re-read-init-file)1350 5340 y("\\e[11~":)g("Function)
|
||||
h(Key)g(1")p eop end
|
||||
%%Page: 99 105
|
||||
TeXDict begin 99 104 bop 150 -116 a Ft(Chapter)30 b(8:)41
|
||||
b(Command)29 b(Line)i(Editing)2107 b(99)630 299 y(The)29
|
||||
b(follo)m(wing)i Fl(gnu)f Ft(Emacs)g(st)m(yle)h(escap)s(e)f(sequences)g
|
||||
(are)g(a)m(v)-5 b(ailable)32 b(when)d(sp)s(ecifying)630
|
||||
408 y(k)m(ey)i(sequences:)630 572 y Fj(\\C-)336 b Ft(con)m(trol)32
|
||||
b(pre\014x)630 736 y Fj(\\M-)336 b Ft(meta)31 b(pre\014x)630
|
||||
899 y Fj(\\e)384 b Ft(an)30 b(escap)s(e)h(c)m(haracter)630
|
||||
1063 y Fj(\\\\)384 b Ft(bac)m(kslash)630 1226 y Fj(\\)p
|
||||
Fs(")1110 1223 y Fg(h)p 1134 1170 48 4 v 1134 1226 a
|
||||
Fs(")p 1134 1241 V 1178 1223 a Fg(i)1208 1226 y Ft(,)30
|
||||
b(a)h(double)f(quotation)h(mark)630 1390 y Fj(\\')1110
|
||||
1387 y Fg(h)p 1134 1334 20 4 v 1134 1390 a Ff(')p 1134
|
||||
1405 V 1150 1387 a Fg(i)1179 1390 y Ft(,)g(a)g(single)g(quote)g(or)f
|
||||
(ap)s(ostrophe)630 1553 y(In)d(addition)h(to)g(the)g
|
||||
Fl(gnu)f Ft(Emacs)h(st)m(yle)h(escap)s(e)f(sequences,)h(a)f(second)f
|
||||
(set)h(of)g(bac)m(kslash)630 1663 y(escap)s(es)j(is)f(a)m(v)-5
|
||||
b(ailable:)630 1826 y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630
|
||||
1990 y Fs(\\b)384 b Ft(bac)m(kspace)630 2153 y Fs(\\d)g
|
||||
Ft(delete)630 2317 y Fs(\\f)g Ft(form)30 b(feed)630 2480
|
||||
y Fs(\\n)384 b Ft(newline)630 2644 y Fs(\\r)g Ft(carriage)32
|
||||
b(return)630 2807 y Fs(\\t)384 b Ft(horizon)m(tal)32
|
||||
b(tab)630 2971 y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630
|
||||
3134 y Fs(\\)p Fj(nnn)288 b Ft(the)35 b(eigh)m(t-bit)h(c)m(haracter)g
|
||||
(whose)e(v)-5 b(alue)35 b(is)g(the)f(o)s(ctal)i(v)-5
|
||||
b(alue)35 b Fq(nnn)e Ft(\(one)i(to)1110 3244 y(three)c(digits\))630
|
||||
3407 y Fs(\\x)p Fj(HH)288 b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g
|
||||
(whose)e(v)-5 b(alue)39 b(is)h(the)f(hexadecimal)i(v)-5
|
||||
b(alue)40 b Fq(HH)1110 3517 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e
|
||||
(digits\))630 3681 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g
|
||||
(macro,)i(single)e(or)f(double)g(quotes)h(m)m(ust)f(b)s(e)g(used)f(to)
|
||||
630 3790 y(indicate)23 b(a)e(macro)h(de\014nition.)38
|
||||
b(Unquoted)21 b(text)i(is)e(assumed)g(to)h(b)s(e)f(a)h(function)f
|
||||
(name.)38 b(In)630 3900 y(the)22 b(macro)f(b)s(o)s(dy)-8
|
||||
b(,)23 b(the)e(bac)m(kslash)h(escap)s(es)g(describ)s(ed)e(ab)s(o)m(v)m
|
||||
(e)j(are)e(expanded.)37 b(Bac)m(kslash)630 4009 y(will)j(quote)h(an)m
|
||||
(y)f(other)g(c)m(haracter)i(in)d(the)i(macro)f(text,)k(including)39
|
||||
b(Command)29 b(Line)i(Editing)2107 b(99)1110 299 y(In)64
|
||||
b(the)g(ab)s(o)m(v)m(e)i(example,)74 b Fj(C-u)64 b Ft(is)g(again)i(b)s
|
||||
(ound)c(to)k(the)e(function)1110 408 y Fs(universal-argument)39
|
||||
b Ft(\(just)k(as)h(it)g(w)m(as)g(in)g(the)f(\014rst)g(example\),)49
|
||||
b(`)p Fj(C-x)1110 518 y(C-r)p Ft(')41 b(is)g(b)s(ound)e(to)j(the)f
|
||||
(function)g Fs(re-read-init-file)p Ft(,)e(and)i(`)3462
|
||||
515 y Fg(h)p 3486 462 139 4 v 3486 518 a Ff(ESC)p 3486
|
||||
533 V 3620 515 a Fg(i)31 b(h)p 3705 462 20 4 v 3705 518
|
||||
a Ff([)p 3705 535 V 3720 515 a Fg(i)1110 625 y(h)p 1134
|
||||
572 36 4 v 1134 628 a Ff(1)p 1134 643 V 1165 625 a Fg(i)f(h)p
|
||||
1250 572 V 1250 628 a Ff(1)p 1250 643 V 1281 625 a Fg(i)g(h)p
|
||||
1365 572 48 4 v 1365 628 a Fs(~)p 1365 643 V 1409 625
|
||||
a Fg(i)1438 628 y Ft(')h(is)f(b)s(ound)f(to)i(insert)f(the)h(text)g(`)p
|
||||
Fs(Function)d(Key)i(1)p Ft('.)630 786 y(The)f(follo)m(wing)i
|
||||
Fl(gnu)f Ft(Emacs)g(st)m(yle)h(escap)s(e)f(sequences)g(are)g(a)m(v)-5
|
||||
b(ailable)32 b(when)d(sp)s(ecifying)630 896 y(k)m(ey)i(sequences:)630
|
||||
1055 y Fj(\\C-)336 b Ft(con)m(trol)32 b(pre\014x)630
|
||||
1213 y Fj(\\M-)336 b Ft(meta)31 b(pre\014x)630 1372 y
|
||||
Fj(\\e)384 b Ft(an)30 b(escap)s(e)h(c)m(haracter)630
|
||||
1531 y Fj(\\\\)384 b Ft(bac)m(kslash)630 1689 y Fj(\\)p
|
||||
Fs(")1110 1686 y Fg(h)p 1134 1633 V 1134 1689 a Fs(")p
|
||||
1134 1705 V 1178 1686 a Fg(i)1208 1689 y Ft(,)30 b(a)h(double)f
|
||||
(quotation)h(mark)630 1848 y Fj(\\')1110 1845 y Fg(h)p
|
||||
1134 1792 20 4 v 1134 1848 a Ff(')p 1134 1864 V 1150
|
||||
1845 a Fg(i)1179 1848 y Ft(,)g(a)g(single)g(quote)g(or)f(ap)s(ostrophe)
|
||||
630 2007 y(In)d(addition)h(to)g(the)g Fl(gnu)f Ft(Emacs)h(st)m(yle)h
|
||||
(escap)s(e)f(sequences,)h(a)f(second)f(set)h(of)g(bac)m(kslash)630
|
||||
2116 y(escap)s(es)j(is)f(a)m(v)-5 b(ailable:)630 2275
|
||||
y Fs(\\a)384 b Ft(alert)31 b(\(b)s(ell\))630 2434 y Fs(\\b)384
|
||||
b Ft(bac)m(kspace)630 2593 y Fs(\\d)g Ft(delete)630 2751
|
||||
y Fs(\\f)g Ft(form)30 b(feed)630 2910 y Fs(\\n)384 b
|
||||
Ft(newline)630 3069 y Fs(\\r)g Ft(carriage)32 b(return)630
|
||||
3227 y Fs(\\t)384 b Ft(horizon)m(tal)32 b(tab)630 3386
|
||||
y Fs(\\v)384 b Ft(v)m(ertical)32 b(tab)630 3545 y Fs(\\)p
|
||||
Fj(nnn)288 b Ft(the)35 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e(v)-5
|
||||
b(alue)35 b(is)g(the)f(o)s(ctal)i(v)-5 b(alue)35 b Fq(nnn)e
|
||||
Ft(\(one)i(to)1110 3654 y(three)c(digits\))630 3813 y
|
||||
Fs(\\x)p Fj(HH)288 b Ft(the)40 b(eigh)m(t-bit)h(c)m(haracter)g(whose)e
|
||||
(v)-5 b(alue)39 b(is)h(the)f(hexadecimal)i(v)-5 b(alue)40
|
||||
b Fq(HH)1110 3923 y Ft(\(one)31 b(or)f(t)m(w)m(o)i(hex)e(digits\))630
|
||||
4081 y(When)37 b(en)m(tering)h(the)g(text)g(of)g(a)g(macro,)i(single)e
|
||||
(or)f(double)g(quotes)h(m)m(ust)f(b)s(e)g(used)f(to)630
|
||||
4191 y(indicate)23 b(a)e(macro)h(de\014nition.)38 b(Unquoted)21
|
||||
b(text)i(is)e(assumed)g(to)h(b)s(e)f(a)h(function)f(name.)38
|
||||
b(In)630 4301 y(the)22 b(macro)f(b)s(o)s(dy)-8 b(,)23
|
||||
b(the)e(bac)m(kslash)h(escap)s(es)g(describ)s(ed)e(ab)s(o)m(v)m(e)j
|
||||
(are)e(expanded.)37 b(Bac)m(kslash)630 4410 y(will)j(quote)h(an)m(y)f
|
||||
(other)g(c)m(haracter)i(in)d(the)i(macro)f(text,)k(including)39
|
||||
b(`)p Fs(")p Ft(')h(and)g(`)p Fs(')p Ft('.)69 b(F)-8
|
||||
b(or)630 4119 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i
|
||||
b(or)630 4520 y(example,)28 b(the)e(follo)m(wing)h(binding)d(will)i
|
||||
(mak)m(e)h(`)p Fj(C-x)j Fs(\\)p Ft(')c(insert)f(a)h(single)h(`)p
|
||||
Fs(\\)p Ft(')f(in)m(to)g(the)g(line:)870 4255 y Fs("\\C-x\\\\":)45
|
||||
b("\\\\")150 4488 y Fk(8.3.2)63 b(Conditional)41 b(Init)g(Constructs)
|
||||
275 4736 y Ft(Readline)36 b(implemen)m(ts)f(a)h(facilit)m(y)i(similar)d
|
||||
Fs(\\)p Ft(')f(in)m(to)g(the)g(line:)870 4654 y Fs("\\C-x\\\\":)45
|
||||
b("\\\\")150 4877 y Fk(8.3.2)63 b(Conditional)41 b(Init)g(Constructs)
|
||||
275 5121 y Ft(Readline)36 b(implemen)m(ts)f(a)h(facilit)m(y)i(similar)d
|
||||
(in)g(spirit)g(to)h(the)g(conditional)h(compilation)g(features)150
|
||||
4846 y(of)e(the)f(C)g(prepro)s(cessor)g(whic)m(h)g(allo)m(ws)i(k)m(ey)f
|
||||
5230 y(of)e(the)f(C)g(prepro)s(cessor)g(whic)m(h)g(allo)m(ws)i(k)m(ey)f
|
||||
(bindings)e(and)h(v)-5 b(ariable)35 b(settings)h(to)f(b)s(e)f(p)s
|
||||
(erformed)f(as)150 4955 y(the)e(result)f(of)g(tests.)42
|
||||
b(There)30 b(are)h(four)e(parser)h(directiv)m(es)i(used.)150
|
||||
5121 y Fs($if)336 b Ft(The)31 b Fs($if)f Ft(construct)i(allo)m(ws)h
|
||||
(bindings)d(to)i(b)s(e)e(made)i(based)f(on)g(the)g(editing)h(mo)s(de,)g
|
||||
(the)630 5230 y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g
|
||||
(application)h(using)f(Readline.)64 b(The)38 b(text)h(of)f(the)g(test)
|
||||
630 5340 y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m
|
||||
(haracters)i(are)f(required)e(to)i(isolate)i(it.)p eop
|
||||
end
|
||||
(erformed)f(as)150 5340 y(the)e(result)f(of)g(tests.)42
|
||||
b(There)30 b(are)h(four)e(parser)h(directiv)m(es)i(used.)p
|
||||
eop end
|
||||
%%Page: 100 106
|
||||
TeXDict begin 100 105 bop 150 -116 a Ft(100)2527 b(Bash)31
|
||||
b(Reference)g(Man)m(ual)630 299 y Fs(mode)288 b Ft(The)20
|
||||
b Fs(mode=)g Ft(form)g(of)h(the)g Fs($if)f Ft(directiv)m(e)j(is)e(used)
|
||||
f(to)h(test)h(whether)e(Readline)1110 408 y(is)29 b(in)h
|
||||
Fs(emacs)e Ft(or)h Fs(vi)g Ft(mo)s(de.)40 b(This)29 b(ma)m(y)h(b)s(e)e
|
||||
(used)h(in)g(conjunction)h(with)f(the)1110 518 y(`)p
|
||||
Fs(set)h(keymap)p Ft(')c(command,)i(for)f(instance,)i(to)f(set)g
|
||||
(bindings)f(in)g(the)h Fs(emacs-)1110 628 y(standard)23
|
||||
b(Reference)g(Man)m(ual)150 299 y Fs($if)336 b Ft(The)31
|
||||
b Fs($if)f Ft(construct)i(allo)m(ws)h(bindings)d(to)i(b)s(e)e(made)i
|
||||
(based)f(on)g(the)g(editing)h(mo)s(de,)g(the)630 408
|
||||
y(terminal)39 b(b)s(eing)e(used,)j(or)e(the)g(application)h(using)f
|
||||
(Readline.)64 b(The)38 b(text)h(of)f(the)g(test)630 518
|
||||
y(extends)30 b(to)h(the)g(end)f(of)g(the)h(line;)g(no)f(c)m(haracters)i
|
||||
(are)f(required)e(to)i(isolate)i(it.)630 677 y Fs(mode)288
|
||||
b Ft(The)20 b Fs(mode=)g Ft(form)g(of)h(the)g Fs($if)f
|
||||
Ft(directiv)m(e)j(is)e(used)f(to)h(test)h(whether)e(Readline)1110
|
||||
787 y(is)29 b(in)h Fs(emacs)e Ft(or)h Fs(vi)g Ft(mo)s(de.)40
|
||||
b(This)29 b(ma)m(y)h(b)s(e)e(used)h(in)g(conjunction)h(with)f(the)1110
|
||||
897 y(`)p Fs(set)h(keymap)p Ft(')c(command,)i(for)f(instance,)i(to)f
|
||||
(set)g(bindings)f(in)g(the)h Fs(emacs-)1110 1006 y(standard)23
|
||||
b Ft(and)h Fs(emacs-ctlx)f Ft(k)m(eymaps)i(only)g(if)g(Readline)h(is)f
|
||||
(starting)h(out)1110 737 y(in)k Fs(emacs)f Ft(mo)s(de.)630
|
||||
897 y Fs(term)288 b Ft(The)26 b Fs(term=)g Ft(form)g(ma)m(y)i(b)s(e)e
|
||||
(starting)h(out)1110 1116 y(in)k Fs(emacs)f Ft(mo)s(de.)630
|
||||
1275 y Fs(term)288 b Ft(The)26 b Fs(term=)g Ft(form)g(ma)m(y)i(b)s(e)e
|
||||
(used)g(to)i(include)f(terminal-sp)s(eci\014c)g(k)m(ey)h(bind-)1110
|
||||
1006 y(ings,)38 b(p)s(erhaps)c(to)j(bind)e(the)h(k)m(ey)h(sequences)f
|
||||
(output)g(b)m(y)g(the)g(terminal's)1110 1116 y(function)24
|
||||
1385 y(ings,)38 b(p)s(erhaps)c(to)j(bind)e(the)h(k)m(ey)h(sequences)f
|
||||
(output)g(b)m(y)g(the)g(terminal's)1110 1494 y(function)24
|
||||
b(k)m(eys.)39 b(The)23 b(w)m(ord)h(on)f(the)i(righ)m(t)f(side)g(of)g
|
||||
(the)g(`)p Fs(=)p Ft(')g(is)g(tested)h(against)1110 1225
|
||||
(the)g(`)p Fs(=)p Ft(')g(is)g(tested)h(against)1110 1604
|
||||
y(b)s(oth)k(the)h(full)g(name)g(of)g(the)g(terminal)h(and)e(the)i(p)s
|
||||
(ortion)e(of)h(the)g(terminal)1110 1335 y(name)k(b)s(efore)f(the)g
|
||||
(ortion)e(of)h(the)g(terminal)1110 1714 y(name)k(b)s(efore)f(the)g
|
||||
(\014rst)g(`)p Fs(-)p Ft('.)50 b(This)33 b(allo)m(ws)i
|
||||
Fs(sun)e Ft(to)h(matc)m(h)g(b)s(oth)f Fs(sun)g Ft(and)1110
|
||||
1445 y Fs(sun-cmd)p Ft(,)c(for)h(instance.)630 1604 y
|
||||
Fs(application)1110 1714 y Ft(The)21 b Fq(application)j
|
||||
1823 y Fs(sun-cmd)p Ft(,)c(for)h(instance.)630 1983 y
|
||||
Fs(application)1110 2092 y Ft(The)21 b Fq(application)j
|
||||
Ft(construct)e(is)g(used)f(to)i(include)f(application-sp)s(eci\014c)h
|
||||
(set-)1110 1823 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h
|
||||
(set-)1110 2202 y(tings.)39 b(Eac)m(h)26 b(program)e(using)g(the)h
|
||||
(Readline)g(library)g(sets)g(the)g Fq(application)1110
|
||||
1933 y(name)p Ft(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h
|
||||
2311 y(name)p Ft(,)g(and)e(y)m(ou)g(can)h(test)g(for)f(a)g(particular)h
|
||||
(v)-5 b(alue.)39 b(This)22 b(could)h(b)s(e)g(used)f(to)1110
|
||||
2042 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h
|
||||
(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 2152
|
||||
2421 y(bind)32 b(k)m(ey)h(sequences)g(to)h(functions)e(useful)g(for)h
|
||||
(a)g(sp)s(eci\014c)f(program.)48 b(F)-8 b(or)1110 2531
|
||||
y(instance,)35 b(the)e(follo)m(wing)h(command)f(adds)f(a)i(k)m(ey)f
|
||||
(sequence)h(that)f(quotes)1110 2262 y(the)e(curren)m(t)f(or)g(previous)
|
||||
g(w)m(ord)g(in)g(Bash:)1350 2396 y Fs($if)47 b(Bash)1350
|
||||
2506 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350
|
||||
2615 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 2725 y($endif)150
|
||||
2884 y($endif)192 b Ft(This)29 b(command,)i(as)f(seen)h(in)f(the)g
|
||||
(sequence)h(that)f(quotes)1110 2640 y(the)e(curren)m(t)f(or)g(previous)
|
||||
g(w)m(ord)g(in)g(Bash:)1350 2775 y Fs($if)47 b(Bash)1350
|
||||
2884 y(#)g(Quote)g(the)g(current)f(or)h(previous)e(word)1350
|
||||
2994 y("\\C-xq":)h("\\eb\\"\\ef\\"")1350 3103 y($endif)150
|
||||
3263 y($endif)192 b Ft(This)29 b(command,)i(as)f(seen)h(in)f(the)g
|
||||
(previous)g(example,)h(terminates)g(an)g Fs($if)e Ft(command.)150
|
||||
3044 y Fs($else)240 b Ft(Commands)29 b(in)h(this)h(branc)m(h)e(of)i
|
||||
3422 y Fs($else)240 b Ft(Commands)29 b(in)h(this)h(branc)m(h)e(of)i
|
||||
(the)f Fs($if)g Ft(directiv)m(e)i(are)f(executed)g(if)f(the)h(test)g
|
||||
(fails.)150 3203 y Fs($include)96 b Ft(This)43 b(directiv)m(e)i(tak)m
|
||||
(fails.)150 3582 y Fs($include)96 b Ft(This)43 b(directiv)m(e)i(tak)m
|
||||
(es)g(a)e(single)i(\014lename)e(as)h(an)f(argumen)m(t)h(and)f(reads)g
|
||||
(commands)630 3313 y(and)38 b(bindings)f(from)h(that)i(\014le.)65
|
||||
(commands)630 3691 y(and)38 b(bindings)f(from)h(that)i(\014le.)65
|
||||
b(F)-8 b(or)39 b(example,)j(the)d(follo)m(wing)h(directiv)m(e)g(reads)e
|
||||
(from)630 3422 y(`)p Fs(/etc/inputrc)p Ft(':)870 3557
|
||||
y Fs($include)46 b(/etc/inputrc)150 3781 y Fk(8.3.3)63
|
||||
b(Sample)41 b(Init)g(File)275 4025 y Ft(Here)31 b(is)f(an)g(example)i
|
||||
(from)630 3801 y(`)p Fs(/etc/inputrc)p Ft(':)870 3935
|
||||
y Fs($include)46 b(/etc/inputrc)150 4159 y Fk(8.3.3)63
|
||||
b(Sample)41 b(Init)g(File)275 4403 y Ft(Here)31 b(is)f(an)g(example)i
|
||||
(of)e(an)g Fq(inputrc)35 b Ft(\014le.)42 b(This)29 b(illustrates)j(k)m
|
||||
(ey)f(binding,)f(v)-5 b(ariable)31 b(assignmen)m(t,)150
|
||||
4134 y(and)f(conditional)h(syn)m(tax.)p eop end
|
||||
4513 y(and)f(conditional)h(syn)m(tax.)p eop end
|
||||
%%Page: 101 107
|
||||
TeXDict begin 101 106 bop 150 -116 a Ft(Chapter)30 b(8:)41
|
||||
b(Command)29 b(Line)i(Editing)2062 b(101)390 408 y Fs(#)47
|
||||
@@ -15043,7 +15048,7 @@ g(.)h(.)f(.)g(.)g(.)h(.)f(.)34 b Fb(64)2025 3218 y Fe
|
||||
b Fb(96)2025 3453 y Fr(K)2025 3569 y Fe(keymap)10 b Fc(.)j(.)f(.)h(.)f
|
||||
(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)
|
||||
f(.)g(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)35
|
||||
b Fb(96)2025 3822 y Fr(L)2025 3939 y Fe(LANG)13 b Fc(.)g(.)f(.)g(.)g(.)
|
||||
b Fb(97)2025 3822 y Fr(L)2025 3939 y Fe(LANG)13 b Fc(.)g(.)f(.)g(.)g(.)
|
||||
h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g
|
||||
(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)h(.)f(.)g(.)g(.)h(.)f(.)g(.)h(.)
|
||||
38 b Fb(64)2025 4027 y Fe(LC_ALL)10 b Fc(.)j(.)f(.)h(.)f(.)g(.)h(.)f(.)
|
||||
|
||||
Reference in New Issue
Block a user