commit bash-20170825 snapshot

This commit is contained in:
Chet Ramey
2017-08-25 15:12:43 -04:00
parent 6016e31f04
commit 560db36b30
95 changed files with 35786 additions and 25841 deletions
+121 -115
View File
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
%%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software
%%Creator: dvips(k) 5.997 Copyright 2017 Radical Eye Software
%%Title: bashref.dvi
%%CreationDate: Mon Jun 26 09:16:48 2017
%%CreationDate: Wed Aug 23 20:02:50 2017
%%Pages: 182
%%PageOrder: Ascend
%%BoundingBox: 0 0 612 792
@@ -12,7 +12,7 @@
%DVIPSWebPage: (www.radicaleye.com)
%DVIPSCommandLine: dvips -D 600 -t letter -o bashref.ps bashref.dvi
%DVIPSParameters: dpi=600
%DVIPSSource: TeX output 2017.06.26:0916
%DVIPSSource: TeX output 2017.08.23:1602
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -11212,30 +11212,31 @@ b(Builtin)150 828 y(commands)f(are)h(necessary)g(to)g(implemen)m(t)g
1868 y(Man)m(y)f(of)f(the)h(builtins)e(ha)m(v)m(e)j(b)s(een)e(extended)
g(b)m(y)g Fm(posix)g Fu(or)g(Bash.)275 1996 y(Unless)20
b(otherwise)h(noted,)h(eac)m(h)g(builtin)e(command)g(do)s(cumen)m(ted)g
(as)h(accepting)h(options)e(preceded)150 2105 y(b)m(y)29
b(`)p Ft(-)p Fu(')g(accepts)i(`)p Ft(--)p Fu(')e(to)h(signify)f(the)g
(end)g(of)g(the)h(options.)40 b(The)29 b Ft(:)p Fu(,)g
Ft(true)p Fu(,)g Ft(false)p Fu(,)f(and)h Ft(test)f Fu(builtins)150
2215 y(do)34 b(not)h(accept)h(options)f(and)f(do)g(not)h(treat)h(`)p
Ft(--)p Fu(')e(sp)s(ecially)-8 b(.)54 b(The)34 b Ft(exit)p
Fu(,)h Ft(logout)p Fu(,)f Ft(return)p Fu(,)g Ft(break)p
Fu(,)150 2325 y Ft(continue)p Fu(,)22 b Ft(let)p Fu(,)i(and)e
Ft(shift)f Fu(builtins)h(accept)i(and)e(pro)s(cess)g(argumen)m(ts)h(b)s
(eginning)f(with)g(`)p Ft(-)p Fu(')h(without)150 2434
y(requiring)41 b(`)p Ft(--)p Fu('.)74 b(Other)41 b(builtins)g(that)h
(accept)h(argumen)m(ts)e(but)g(are)h(not)g(sp)s(eci\014ed)f(as)g
(accepting)150 2544 y(options)25 b(in)m(terpret)f(argumen)m(ts)h(b)s
(eginning)e(with)h(`)p Ft(-)p Fu(')h(as)f(in)m(v)-5 b(alid)25
b(options)g(and)e(require)h(`)p Ft(--)p Fu(')g(to)h(prev)m(en)m(t)150
2653 y(this)30 b(in)m(terpretation.)150 2880 y Fs(4.1)68
b(Bourne)45 b(Shell)g(Builtins)150 3040 y Fu(The)22 b(follo)m(wing)j
(shell)d(builtin)h(commands)f(are)h(inherited)g(from)f(the)h(Bourne)g
(Shell.)38 b(These)22 b(commands)150 3149 y(are)31 b(implemen)m(ted)g
(as)f(sp)s(eci\014ed)g(b)m(y)g(the)h Fm(posix)e Fu(standard.)150
3295 y Ft(:)h Fu(\(a)h(colon\))870 3405 y Ft(:)47 b([)p
Fj(arguments)p Ft(])630 3532 y Fu(Do)c(nothing)f(b)s(ey)m(ond)g
(expanding)f Fr(argumen)m(ts)46 b Fu(and)c(p)s(erforming)f
(redirections.)76 b(The)630 3642 y(return)29 b(status)i(is)f(zero.)150
(as)h(accepting)h(options)e(preceded)150 2105 y(b)m(y)42
b(`)p Ft(-)p Fu(')g(accepts)h(`)p Ft(--)p Fu(')f(to)h(signify)f(the)g
(end)f(of)h(the)g(options.)76 b(The)41 b Ft(:)p Fu(,)k
Ft(true)p Fu(,)f Ft(false)p Fu(,)g(and)d Ft(test)p Fu(/)p
Ft([)150 2215 y Fu(builtins)32 b(do)g(not)h(accept)h(options)f(and)f
(do)g(not)h(treat)g(`)p Ft(--)p Fu(')g(sp)s(ecially)-8
b(.)48 b(The)32 b Ft(exit)p Fu(,)g Ft(logout)p Fu(,)f
Ft(return)p Fu(,)150 2325 y Ft(break)p Fu(,)38 b Ft(continue)p
Fu(,)f Ft(let)p Fu(,)i(and)d Ft(shift)g Fu(builtins)h(accept)i(and)e
(pro)s(cess)g(argumen)m(ts)h(b)s(eginning)e(with)150
2434 y(`)p Ft(-)p Fu(')h(without)f(requiring)g(`)p Ft(--)p
Fu('.)59 b(Other)36 b(builtins)g(that)h(accept)h(argumen)m(ts)f(but)f
(are)h(not)g(sp)s(eci\014ed)f(as)150 2544 y(accepting)28
b(options)f(in)m(terpret)g(argumen)m(ts)g(b)s(eginning)e(with)i(`)p
Ft(-)p Fu(')f(as)h(in)m(v)-5 b(alid)27 b(options)g(and)f(require)g(`)p
Ft(--)p Fu(')150 2653 y(to)31 b(prev)m(en)m(t)g(this)f(in)m
(terpretation.)150 2880 y Fs(4.1)68 b(Bourne)45 b(Shell)g(Builtins)150
3040 y Fu(The)22 b(follo)m(wing)j(shell)d(builtin)h(commands)f(are)h
(inherited)g(from)f(the)h(Bourne)g(Shell.)38 b(These)22
b(commands)150 3149 y(are)31 b(implemen)m(ted)g(as)f(sp)s(eci\014ed)g
(b)m(y)g(the)h Fm(posix)e Fu(standard.)150 3295 y Ft(:)h
Fu(\(a)h(colon\))870 3405 y Ft(:)47 b([)p Fj(arguments)p
Ft(])630 3532 y Fu(Do)c(nothing)f(b)s(ey)m(ond)g(expanding)f
Fr(argumen)m(ts)46 b Fu(and)c(p)s(erforming)f(redirections.)76
b(The)630 3642 y(return)29 b(status)i(is)f(zero.)150
3788 y Ft(.)g Fu(\(a)h(p)s(erio)s(d\))870 3897 y Ft(.)47
b Fj(filename)f Ft([)p Fj(arguments)p Ft(])630 4025 y
Fu(Read)34 b(and)f(execute)i(commands)e(from)g(the)h
@@ -11359,24 +11360,26 @@ Fr(command)p Fu(.)630 1110 y(If)c Fr(command)j Fu(cannot)e(b)s(e)f
(executed)h(for)f(some)g(reason,)h(a)g(non-in)m(teractiv)m(e)i(shell)d
(exits,)630 1219 y(unless)27 b(the)g Ft(execfail)e Fu(shell)i(option)h
(is)f(enabled.)40 b(In)27 b(that)g(case,)j(it)d(returns)f(failure.)40
b(An)630 1329 y(in)m(teractiv)m(e)d(shell)c(returns)g(failure)h(if)f
(the)h(\014le)g(cannot)g(b)s(e)f(executed.)52 b(If)33
b(no)h Fr(command)630 1439 y Fu(is)27 b(sp)s(eci\014ed,)g(redirections)
h(ma)m(y)f(b)s(e)g(used)f(to)i(a\013ect)g(the)f(curren)m(t)g(shell)g
(en)m(vironmen)m(t.)40 b(If)630 1548 y(there)34 b(are)h(no)f
(redirection)h(errors,)g(the)f(return)f(status)i(is)f(zero;)j
(otherwise)e(the)f(return)630 1658 y(status)d(is)f(non-zero.)150
1811 y Ft(exit)870 1943 y(exit)47 b([)p Fj(n)p Ft(])630
2074 y Fu(Exit)30 b(the)g(shell,)h(returning)d(a)j(status)f(of)g
Fr(n)f Fu(to)h(the)g(shell's)g(paren)m(t.)41 b(If)30
b Fr(n)f Fu(is)h(omitted,)h(the)630 2184 y(exit)c(status)g(is)g(that)g
(of)g(the)g(last)g(command)f(executed.)41 b(An)m(y)26
b(trap)h(on)f Ft(EXIT)f Fu(is)i(executed)630 2293 y(b)s(efore)j(the)h
(shell)f(terminates.)150 2447 y Ft(export)870 2578 y(export)46
b([-fn])g([-p])h([)p Fj(name)p Ft([=)p Fj(value)p Ft(]])630
2710 y Fu(Mark)40 b(eac)m(h)h Fr(name)k Fu(to)40 b(b)s(e)f(passed)g(to)
i(c)m(hild)f(pro)s(cesses)f(in)g(the)h(en)m(vironmen)m(t.)70
b(If)39 b(the)630 2819 y Ft(-f)33 b Fu(option)h(is)g(supplied,)f(the)h
b(An)630 1329 y(in)m(teractiv)m(e)35 b(shell)d(returns)f(failure)h(if)g
(the)g(\014le)g(cannot)h(b)s(e)e(executed.)47 b(A)32
b(subshell)f(exits)630 1439 y(unconditionally)j(if)g
Ft(exec)f Fu(fails.)52 b(If)33 b(no)h Fr(command)j Fu(is)d(sp)s
(eci\014ed,)h(redirections)f(ma)m(y)h(b)s(e)630 1548
y(used)30 b(to)i(a\013ect)g(the)f(curren)m(t)g(shell)g(en)m(vironmen)m
(t.)43 b(If)30 b(there)i(are)f(no)g(redirection)g(errors,)630
1658 y(the)g(return)e(status)i(is)f(zero;)h(otherwise)g(the)g(return)e
(status)i(is)f(non-zero.)150 1811 y Ft(exit)870 1943
y(exit)47 b([)p Fj(n)p Ft(])630 2074 y Fu(Exit)30 b(the)g(shell,)h
(returning)d(a)j(status)f(of)g Fr(n)f Fu(to)h(the)g(shell's)g(paren)m
(t.)41 b(If)30 b Fr(n)f Fu(is)h(omitted,)h(the)630 2184
y(exit)c(status)g(is)g(that)g(of)g(the)g(last)g(command)f(executed.)41
b(An)m(y)26 b(trap)h(on)f Ft(EXIT)f Fu(is)i(executed)630
2293 y(b)s(efore)j(the)h(shell)f(terminates.)150 2447
y Ft(export)870 2578 y(export)46 b([-fn])g([-p])h([)p
Fj(name)p Ft([=)p Fj(value)p Ft(]])630 2710 y Fu(Mark)40
b(eac)m(h)h Fr(name)k Fu(to)40 b(b)s(e)f(passed)g(to)i(c)m(hild)f(pro)s
(cesses)f(in)g(the)h(en)m(vironmen)m(t.)70 b(If)39 b(the)630
2819 y Ft(-f)33 b Fu(option)h(is)g(supplied,)f(the)h
Fr(name)5 b Fu(s)33 b(refer)g(to)i(shell)e(functions;)i(otherwise)f
(the)g(names)630 2929 y(refer)c(to)h(shell)g(v)-5 b(ariables.)41
b(The)30 b Ft(-n)f Fu(option)i(means)f(to)h(no)f(longer)h(mark)f(eac)m
@@ -14165,72 +14168,73 @@ TeXDict begin 85 90 bop 150 -116 a Fu(Chapter)30 b(6:)41
b(Bash)30 b(F)-8 b(eatures)2484 b(85)150 299 y Ft(--restricted)630
408 y Fu(Mak)m(e)54 b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h
(Section)g(6.10)h([The)d(Restricted)j(Shell],)630 518
y(page)31 b(97\).)150 687 y Ft(--verbose)630 796 y Fu(Equiv)-5
y(page)31 b(97\).)150 677 y Ft(--verbose)630 787 y Fu(Equiv)-5
b(alen)m(t)31 b(to)g Ft(-v)p Fu(.)41 b(Prin)m(t)30 b(shell)g(input)g
(lines)g(as)h(they're)g(read.)150 965 y Ft(--version)630
1074 y Fu(Sho)m(w)d(v)m(ersion)g(information)g(for)g(this)g(instance)h
(of)f(Bash)g(on)g(the)g(standard)f(output)h(and)630 1184
y(exit)j(successfully)-8 b(.)275 1357 y(There)28 b(are)i(sev)m(eral)g
(lines)g(as)h(they're)g(read.)150 946 y Ft(--version)630
1056 y Fu(Sho)m(w)d(v)m(ersion)g(information)g(for)g(this)g(instance)h
(of)f(Bash)g(on)g(the)g(standard)f(output)h(and)630 1166
y(exit)j(successfully)-8 b(.)275 1325 y(There)28 b(are)i(sev)m(eral)g
(single-c)m(haracter)i(options)d(that)h(ma)m(y)g(b)s(e)e(supplied)g(at)
i(in)m(v)m(o)s(cation)h(whic)m(h)e(are)150 1467 y(not)i(a)m(v)-5
i(in)m(v)m(o)s(cation)h(whic)m(h)e(are)150 1435 y(not)i(a)m(v)-5
b(ailable)32 b(with)e(the)h Ft(set)e Fu(builtin.)150
1640 y Ft(-c)384 b Fu(Read)66 b(and)f(execute)i(commands)e(from)g(the)h
(\014rst)e(non-option)i(argumen)m(t)g Fr(com-)630 1749
y(mand)p 859 1749 28 4 v 39 w(string)p Fu(,)34 b(then)e(exit.)49
1594 y Ft(-c)384 b Fu(Read)66 b(and)f(execute)i(commands)e(from)g(the)h
(\014rst)e(non-option)i(argumen)m(t)g Fr(com-)630 1704
y(mand)p 859 1704 28 4 v 39 w(string)p Fu(,)34 b(then)e(exit.)49
b(If)32 b(there)h(are)g(argumen)m(ts)g(after)g(the)g
Fr(command)p 3303 1749 V 40 w(string)p Fu(,)h(the)630
1859 y(\014rst)e(argumen)m(t)h(is)g(assigned)g(to)h Ft($0)e
Fr(command)p 3303 1704 V 40 w(string)p Fu(,)h(the)630
1813 y(\014rst)e(argumen)m(t)h(is)g(assigned)g(to)h Ft($0)e
Fu(and)h(an)m(y)g(remaining)g(argumen)m(ts)g(are)g(assigned)g(to)630
1968 y(the)38 b(p)s(ositional)h(parameters.)65 b(The)37
1923 y(the)38 b(p)s(ositional)h(parameters.)65 b(The)37
b(assignmen)m(t)i(to)g Ft($0)f Fu(sets)g(the)h(name)f(of)g(the)g
(shell,)630 2078 y(whic)m(h)30 b(is)h(used)e(in)h(w)m(arning)g(and)g
(error)g(messages.)150 2247 y Ft(-i)384 b Fu(F)-8 b(orce)22
(shell,)630 2032 y(whic)m(h)30 b(is)h(used)e(in)h(w)m(arning)g(and)g
(error)g(messages.)150 2192 y Ft(-i)384 b Fu(F)-8 b(orce)22
b(the)g(shell)f(to)g(run)f(in)m(teractiv)m(ely)-8 b(.)41
b(In)m(teractiv)m(e)23 b(shells)e(are)h(describ)s(ed)d(in)i(Section)h
(6.3)630 2356 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(87.)150
2525 y Ft(-l)384 b Fu(Mak)m(e)33 b(this)e(shell)h(act)g(as)g(if)f(it)h
(6.3)630 2301 y([In)m(teractiv)m(e)33 b(Shells],)e(page)g(87.)150
2461 y Ft(-l)384 b Fu(Mak)m(e)33 b(this)e(shell)h(act)g(as)g(if)f(it)h
(had)f(b)s(een)f(directly)i(in)m(v)m(ok)m(ed)h(b)m(y)f(login.)44
b(When)31 b(the)h(shell)630 2634 y(is)37 b(in)m(teractiv)m(e,)43
b(When)31 b(the)h(shell)630 2570 y(is)37 b(in)m(teractiv)m(e,)43
b(this)37 b(is)g(equiv)-5 b(alen)m(t)39 b(to)f(starting)h(a)e(login)i
(shell)e(with)g(`)p Ft(exec)30 b(-l)g(bash)p Fu('.)630
2744 y(When)h(the)g(shell)h(is)f(not)g(in)m(teractiv)m(e,)k(the)c
2680 y(When)h(the)g(shell)h(is)f(not)g(in)m(teractiv)m(e,)k(the)c
(login)h(shell)g(startup)f(\014les)g(will)g(b)s(e)g(executed.)630
2853 y(`)p Ft(exec)e(bash)h(-l)p Fu(')43 b(or)h(`)p Ft(exec)29
2790 y(`)p Ft(exec)e(bash)h(-l)p Fu(')43 b(or)h(`)p Ft(exec)29
b(bash)g(--login)p Fu(')42 b(will)i(replace)h(the)f(curren)m(t)f(shell)
h(with)g(a)630 2963 y(Bash)26 b(login)g(shell.)39 b(See)26
h(with)g(a)630 2899 y(Bash)26 b(login)g(shell.)39 b(See)26
b(Section)g(6.2)h([Bash)e(Startup)g(Files],)j(page)e(86,)i(for)d(a)h
(description)630 3073 y(of)31 b(the)f(sp)s(ecial)h(b)s(eha)m(vior)g(of)
f(a)h(login)g(shell.)150 3241 y Ft(-r)384 b Fu(Mak)m(e)54
(description)630 3009 y(of)31 b(the)f(sp)s(ecial)h(b)s(eha)m(vior)g(of)
f(a)h(login)g(shell.)150 3168 y Ft(-r)384 b Fu(Mak)m(e)54
b(the)e(shell)g(a)h(restricted)g(shell)f(\(see)h(Section)g(6.10)h([The)
d(Restricted)j(Shell],)630 3351 y(page)31 b(97\).)150
3519 y Ft(-s)384 b Fu(If)24 b(this)h(option)h(is)f(presen)m(t,)h(or)f
d(Restricted)j(Shell],)630 3278 y(page)31 b(97\).)150
3437 y Ft(-s)384 b Fu(If)24 b(this)h(option)h(is)f(presen)m(t,)h(or)f
(if)g(no)f(argumen)m(ts)i(remain)e(after)i(option)f(pro)s(cessing,)h
(then)630 3629 y(commands)i(are)h(read)g(from)f(the)h(standard)f
(then)630 3547 y(commands)i(are)h(read)g(from)f(the)h(standard)f
(input.)39 b(This)28 b(option)h(allo)m(ws)h(the)f(p)s(ositional)630
3738 y(parameters)i(to)g(b)s(e)f(set)g(when)g(in)m(v)m(oking)h(an)g(in)
m(teractiv)m(e)i(shell.)150 3907 y Ft(-D)384 b Fu(A)37
b(list)g(of)f(all)i(double-quoted)e(strings)g(preceded)g(b)m(y)h(`)p
Ft($)p Fu(')f(is)h(prin)m(ted)f(on)g(the)h(standard)630
4017 y(output.)63 b(These)38 b(are)g(the)g(strings)g(that)h(are)f(sub)5
b(ject)38 b(to)h(language)g(translation)g(when)630 4126
3656 y(parameters)i(to)h(b)s(e)e(set)i(when)d(in)m(v)m(oking)k(an)d(in)
m(teractiv)m(e)k(shell)d(or)g(when)f(reading)h(input)630
3766 y(through)f(a)g(pip)s(e.)150 3925 y Ft(-D)384 b
Fu(A)37 b(list)g(of)f(all)i(double-quoted)e(strings)g(preceded)g(b)m(y)
h(`)p Ft($)p Fu(')f(is)h(prin)m(ted)f(on)g(the)h(standard)630
4035 y(output.)63 b(These)38 b(are)g(the)g(strings)g(that)h(are)f(sub)5
b(ject)38 b(to)h(language)g(translation)g(when)630 4144
y(the)e(curren)m(t)g(lo)s(cale)h(is)f(not)g Ft(C)g Fu(or)f
Ft(POSIX)g Fu(\(see)h(Section)h(3.1.2.5)h([Lo)s(cale)g(T)-8
b(ranslation],)630 4236 y(page)31 b(7\).)42 b(This)29
b(ranslation],)630 4254 y(page)31 b(7\).)42 b(This)29
b(implies)i(the)f Ft(-n)g Fu(option;)h(no)f(commands)g(will)h(b)s(e)f
(executed.)150 4404 y Ft([-+]O)f([)p Fj(shopt_option)p
Ft(])630 4514 y Fr(shopt)p 854 4514 V 40 w(option)44
(executed.)150 4413 y Ft([-+]O)f([)p Fj(shopt_option)p
Ft(])630 4523 y Fr(shopt)p 854 4523 V 40 w(option)44
b Fu(is)g(one)h(of)f(the)g(shell)h(options)f(accepted)h(b)m(y)f(the)h
Ft(shopt)d Fu(builtin)i(\(see)630 4623 y(Section)32 b(4.3.2)h([The)e
Ft(shopt)d Fu(builtin)i(\(see)630 4633 y(Section)32 b(4.3.2)h([The)e
(Shopt)f(Builtin],)i(page)g(65\).)44 b(If)31 b Fr(shopt)p
2724 4623 V 40 w(option)g Fu(is)g(presen)m(t,)h Ft(-O)f
Fu(sets)630 4733 y(the)24 b(v)-5 b(alue)24 b(of)g(that)h(option;)h
2724 4633 V 40 w(option)g Fu(is)g(presen)m(t,)h Ft(-O)f
Fu(sets)630 4742 y(the)24 b(v)-5 b(alue)24 b(of)g(that)h(option;)h
Ft(+O)e Fu(unsets)f(it.)39 b(If)23 b Fr(shopt)p 2423
4733 V 40 w(option)h Fu(is)g(not)g(supplied,)g(the)g(names)630
4843 y(and)31 b(v)-5 b(alues)32 b(of)g(the)g(shell)g(options)g
4742 V 40 w(option)h Fu(is)g(not)g(supplied,)g(the)g(names)630
4852 y(and)31 b(v)-5 b(alues)32 b(of)g(the)g(shell)g(options)g
(accepted)h(b)m(y)f Ft(shopt)e Fu(are)i(prin)m(ted)f(on)h(the)g
(standard)630 4952 y(output.)40 b(If)29 b(the)h(in)m(v)m(o)s(cation)h
(standard)630 4961 y(output.)40 b(If)29 b(the)h(in)m(v)m(o)s(cation)h
(option)f(is)f Ft(+O)p Fu(,)h(the)f(output)g(is)h(displa)m(y)m(ed)g(in)
f(a)h(format)f(that)630 5062 y(ma)m(y)i(b)s(e)f(reused)f(as)i(input.)
f(a)h(format)f(that)630 5071 y(ma)m(y)i(b)s(e)f(reused)f(as)i(input.)
150 5230 y Ft(--)384 b Fu(A)38 b Ft(--)g Fu(signals)g(the)h(end)e(of)i
(options)f(and)g(disables)g(further)f(option)h(pro)s(cessing.)64
b(An)m(y)630 5340 y(argumen)m(ts)31 b(after)g(the)f Ft(--)g
@@ -17277,50 +17281,52 @@ b(Command)29 b(Line)i(Editing)2062 b(130)150 299 y Ft
(pathname)h(expansion,)g(with)g(an)630 518 y(asterisk)d(implicitly)h
(app)s(ended.)37 b(This)23 b(pattern)i(is)f(used)g(to)h(generate)h(a)e
(list)h(of)g(matc)m(hing)630 628 y(\014le)30 b(names)h(for)f(p)s
(ossible)g(completions.)150 790 y Ft(glob-expand-word)c(\(C-x)j(*\))630
900 y Fu(The)40 b(w)m(ord)g(b)s(efore)g(p)s(oin)m(t)h(is)g(treated)g
(ossible)g(completions.)150 781 y Ft(glob-expand-word)c(\(C-x)j(*\))630
891 y Fu(The)40 b(w)m(ord)g(b)s(efore)g(p)s(oin)m(t)h(is)g(treated)g
(as)g(a)g(pattern)g(for)f(pathname)g(expansion,)k(and)630
1009 y(the)c(list)g(of)f(matc)m(hing)i(\014le)e(names)g(is)h(inserted,)
1000 y(the)c(list)g(of)f(matc)m(hing)i(\014le)e(names)g(is)h(inserted,)
h(replacing)g(the)e(w)m(ord.)67 b(If)39 b(a)h(n)m(umeric)630
1119 y(argumen)m(t)31 b(is)f(supplied,)g(a)g(`)p Ft(*)p
1110 y(argumen)m(t)31 b(is)f(supplied,)g(a)g(`)p Ft(*)p
Fu(')h(is)f(app)s(ended)f(b)s(efore)h(pathname)g(expansion.)150
1281 y Ft(glob-list-expansions)25 b(\(C-x)k(g\))630 1391
1263 y Ft(glob-list-expansions)25 b(\(C-x)k(g\))630 1373
y Fu(The)k(list)h(of)f(expansions)g(that)h(w)m(ould)f(ha)m(v)m(e)h(b)s
(een)f(generated)h(b)m(y)f Ft(glob-expand-word)630 1501
(een)f(generated)h(b)m(y)f Ft(glob-expand-word)630 1482
y Fu(is)h(displa)m(y)m(ed,)h(and)e(the)h(line)g(is)f(redra)m(wn.)50
b(If)33 b(a)h(n)m(umeric)g(argumen)m(t)g(is)f(supplied,)h(a)g(`)p
Ft(*)p Fu(')630 1610 y(is)c(app)s(ended)f(b)s(efore)h(pathname)g
(expansion.)150 1773 y Ft(display-shell-version)25 b(\(C-x)k(C-v\))630
1882 y Fu(Displa)m(y)j(v)m(ersion)e(information)h(ab)s(out)f(the)h
(curren)m(t)f(instance)h(of)f(Bash.)150 2045 y Ft(shell-expand-line)c
(\(M-C-e\))630 2154 y Fu(Expand)34 b(the)h(line)h(as)g(the)f(shell)h
Ft(*)p Fu(')630 1592 y(is)c(app)s(ended)f(b)s(efore)h(pathname)g
(expansion.)150 1746 y Ft(display-shell-version)25 b(\(C-x)k(C-v\))630
1855 y Fu(Displa)m(y)j(v)m(ersion)e(information)h(ab)s(out)f(the)h
(curren)m(t)f(instance)h(of)f(Bash.)150 2009 y Ft(shell-expand-line)c
(\(M-C-e\))630 2118 y Fu(Expand)34 b(the)h(line)h(as)g(the)f(shell)h
(do)s(es.)55 b(This)34 b(p)s(erforms)g(alias)i(and)f(history)g
(expansion)630 2264 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m
(expansion)630 2228 y(as)f(w)m(ell)g(as)g(all)h(of)e(the)h(shell)g(w)m
(ord)f(expansions)g(\(see)i(Section)f(3.5)h([Shell)e(Expansions],)630
2373 y(page)e(22\).)150 2536 y Ft(history-expand-line)25
b(\(M-^\))630 2645 y Fu(P)m(erform)30 b(history)h(expansion)f(on)g(the)
h(curren)m(t)f(line.)150 2808 y Ft(magic-space)d(\(\))630
2917 y Fu(P)m(erform)c(history)g(expansion)g(on)g(the)g(curren)m(t)g
2337 y(page)e(22\).)150 2491 y Ft(history-expand-line)25
b(\(M-^\))630 2600 y Fu(P)m(erform)30 b(history)h(expansion)f(on)g(the)
h(curren)m(t)f(line.)150 2754 y Ft(magic-space)d(\(\))630
2863 y Fu(P)m(erform)c(history)g(expansion)g(on)g(the)g(curren)m(t)g
(line)g(and)g(insert)g(a)g(space)h(\(see)g(Section)g(9.3)630
3027 y([History)31 b(In)m(teraction],)i(page)e(142\).)150
3190 y Ft(alias-expand-line)26 b(\(\))630 3299 y Fu(P)m(erform)i(alias)
2973 y([History)31 b(In)m(teraction],)i(page)e(142\).)150
3126 y Ft(alias-expand-line)26 b(\(\))630 3236 y Fu(P)m(erform)i(alias)
i(expansion)e(on)g(the)h(curren)m(t)f(line)h(\(see)g(Section)g(6.6)h
([Aliases],)g(page)f(92\).)150 3462 y Ft(history-and-alias-expand)o
(-lin)o(e)24 b(\(\))630 3571 y Fu(P)m(erform)30 b(history)h(and)e
([Aliases],)g(page)f(92\).)150 3390 y Ft(history-and-alias-expand)o
(-lin)o(e)24 b(\(\))630 3499 y Fu(P)m(erform)30 b(history)h(and)e
(alias)j(expansion)e(on)g(the)h(curren)m(t)f(line.)150
3734 y Ft(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630
3843 y Fu(A)g(synon)m(ym)g(for)g Ft(yank-last-arg)p Fu(.)150
4006 y Ft(operate-and-get-next)25 b(\(C-o\))630 4115
3653 y Ft(insert-last-argument)25 b(\(M-.)k(or)h(M-_\))630
3762 y Fu(A)g(synon)m(ym)g(for)g Ft(yank-last-arg)p Fu(.)150
3916 y Ft(operate-and-get-next)25 b(\(C-o\))630 4025
y Fu(Accept)42 b(the)e(curren)m(t)h(line)f(for)h(execution)g(and)f
(fetc)m(h)i(the)e(next)h(line)g(relativ)m(e)i(to)e(the)630
4225 y(curren)m(t)30 b(line)h(from)f(the)g(history)h(for)f(editing.)41
b(An)m(y)31 b(argumen)m(t)f(is)h(ignored.)150 4387 y
Ft(edit-and-execute-command)24 b(\(C-x)29 b(C-e\))630
4497 y Fu(In)m(v)m(ok)m(e)34 b(an)f(editor)g(on)g(the)g(curren)m(t)f
4135 y(curren)m(t)h(line)h(from)g(the)f(history)h(for)f(editing.)79
b(A)42 b(n)m(umeric)h(argumen)m(t,)j(if)d(supplied,)630
4244 y(sp)s(eci\014es)30 b(the)h(history)f(en)m(try)h(to)g(use)f
(instead)g(of)h(the)f(curren)m(t)h(line.)150 4398 y Ft
(edit-and-execute-command)24 b(\(C-x)29 b(C-e\))630 4507
y Fu(In)m(v)m(ok)m(e)34 b(an)f(editor)g(on)g(the)g(curren)m(t)f
(command)h(line,)h(and)e(execute)i(the)f(result)g(as)g(shell)630
4606 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h
4617 y(commands.)81 b(Bash)44 b(attempts)h(to)g(in)m(v)m(ok)m(e)h
Ft($VISUAL)p Fu(,)f Ft($EDITOR)p Fu(,)h(and)d Ft(emacs)g
Fu(as)h(the)630 4716 y(editor,)31 b(in)f(that)h(order.)150
Fu(as)h(the)630 4727 y(editor,)31 b(in)f(that)h(order.)150
4961 y Fs(8.5)68 b(Readline)47 b(vi)e(Mo)t(de)150 5121
y Fu(While)32 b(the)g(Readline)g(library)f(do)s(es)g(not)h(ha)m(v)m(e)h
(a)f(full)f(set)h(of)g Ft(vi)f Fu(editing)h(functions,)f(it)h(do)s(es)g