summaryrefslogtreecommitdiff
path: root/doc/bashref.ps
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bashref.ps')
-rw-r--r--doc/bashref.ps65
1 files changed, 35 insertions, 30 deletions
diff --git a/doc/bashref.ps b/doc/bashref.ps
index 6caabd93..aac39732 100644
--- a/doc/bashref.ps
+++ b/doc/bashref.ps
@@ -1,7 +1,7 @@
%!PS-Adobe-2.0
-%%Creator: dvips(k) 5.995 Copyright 2015 Radical Eye Software
+%%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software
%%Title: bashref.dvi
-%%CreationDate: Mon Jun 20 15:38:16 2016
+%%CreationDate: Thu Jul 14 11:47:59 2016
%%Pages: 177
%%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 2016.06.20:1538
+%DVIPSSource: TeX output 2016.07.14:1147
%%BeginProcSet: tex.pro 0 0
%!
/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -10497,49 +10497,54 @@ y(The)31 b(w)m(ord)h(follo)m(wing)i(the)f(redirection)g(op)s(erator)f
518 y(substitution,)31 b(arithmetic)h(expansion,)f(quote)h(remo)m(v)-5
b(al,)33 b(\014lename)e(expansion,)g(and)f(w)m(ord)h(splitting.)150
628 y(If)f(it)h(expands)e(to)i(more)g(than)f(one)h(w)m(ord,)f(Bash)h
-(rep)s(orts)e(an)h(error.)275 790 y(Note)h(that)g(the)g(order)f(of)g
+(rep)s(orts)e(an)h(error.)275 778 y(Note)h(that)g(the)g(order)f(of)g
(redirections)h(is)g(signi\014can)m(t.)41 b(F)-8 b(or)31
-b(example,)h(the)e(command)390 953 y Ft(ls)47 b(>)h Fj(dirlist)d
-Ft(2>&1)150 1115 y Fu(directs)28 b(b)s(oth)f(standard)g(output)g
+b(example,)h(the)e(command)390 928 y Ft(ls)47 b(>)h Fj(dirlist)d
+Ft(2>&1)150 1079 y Fu(directs)28 b(b)s(oth)f(standard)g(output)g
(\(\014le)h(descriptor)f(1\))i(and)e(standard)f(error)i(\(\014le)g
-(descriptor)f(2\))h(to)h(the)150 1225 y(\014le)h Fr(dirlist)p
-Fu(,)h(while)f(the)h(command)390 1388 y Ft(ls)47 b(2>&1)g(>)g
-Fj(dirlist)150 1550 y Fu(directs)28 b(only)f(the)h(standard)e(output)i
+(descriptor)f(2\))h(to)h(the)150 1188 y(\014le)h Fr(dirlist)p
+Fu(,)h(while)f(the)h(command)390 1339 y Ft(ls)47 b(2>&1)g(>)g
+Fj(dirlist)150 1489 y Fu(directs)28 b(only)f(the)h(standard)e(output)i
(to)g(\014le)f Fr(dirlist)p Fu(,)h(b)s(ecause)g(the)f(standard)g(error)
-g(w)m(as)h(made)f(a)h(cop)m(y)150 1660 y(of)j(the)f(standard)g(output)g
+g(w)m(as)h(made)f(a)h(cop)m(y)150 1599 y(of)j(the)f(standard)g(output)g
(b)s(efore)g(the)g(standard)g(output)g(w)m(as)g(redirected)h(to)g
-Fr(dirlist)p Fu(.)275 1822 y(Bash)26 b(handles)f(sev)m(eral)j
+Fr(dirlist)p Fu(.)275 1749 y(Bash)26 b(handles)f(sev)m(eral)j
(\014lenames)e(sp)s(ecially)h(when)f(they)g(are)g(used)g(in)g
-(redirections,)i(as)e(describ)s(ed)150 1932 y(in)k(the)h(follo)m(wing)g
-(table:)150 2133 y Ft(/dev/fd/)p Fj(fd)630 2243 y Fu(If)f
-Fr(fd)j Fu(is)d(a)h(v)-5 b(alid)31 b(in)m(teger,)h(\014le)e(descriptor)
-h Fr(fd)i Fu(is)d(duplicated.)150 2431 y Ft(/dev/stdin)630
-2540 y Fu(File)i(descriptor)e(0)h(is)f(duplicated.)150
-2728 y Ft(/dev/stdout)630 2837 y Fu(File)i(descriptor)e(1)h(is)f
-(duplicated.)150 3025 y Ft(/dev/stderr)630 3134 y Fu(File)i(descriptor)
-e(2)h(is)f(duplicated.)150 3322 y Ft(/dev/tcp/)p Fj(host)p
-Ft(/)p Fj(port)630 3431 y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5
+(redirections,)i(as)e(describ)s(ed)150 1859 y(in)38 b(the)h(follo)m
+(wing)h(table.)66 b(If)38 b(the)h(op)s(erating)g(system)f(on)h(whic)m
+(h)f(Bash)h(is)f(running)f(pro)m(vides)h(these)150 1968
+y(sp)s(ecial)27 b(\014les,)g(bash)e(will)i(use)f(them;)h(otherwise)g
+(it)f(will)h(em)m(ulate)h(them)e(in)m(ternally)h(with)f(the)g(b)s(eha)m
+(vior)150 2078 y(describ)s(ed)j(b)s(elo)m(w.)150 2261
+y Ft(/dev/fd/)p Fj(fd)630 2371 y Fu(If)h Fr(fd)j Fu(is)d(a)h(v)-5
+b(alid)31 b(in)m(teger,)h(\014le)e(descriptor)h Fr(fd)i
+Fu(is)d(duplicated.)150 2546 y Ft(/dev/stdin)630 2656
+y Fu(File)i(descriptor)e(0)h(is)f(duplicated.)150 2831
+y Ft(/dev/stdout)630 2941 y Fu(File)i(descriptor)e(1)h(is)f
+(duplicated.)150 3116 y Ft(/dev/stderr)630 3226 y Fu(File)i(descriptor)
+e(2)h(is)f(duplicated.)150 3401 y Ft(/dev/tcp/)p Fj(host)p
+Ft(/)p Fj(port)630 3511 y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5
b(alid)41 b(hostname)h(or)f(In)m(ternet)h(address,)i(and)c
-Fr(p)s(ort)j Fu(is)f(an)f(in)m(teger)i(p)s(ort)630 3541
+Fr(p)s(ort)j Fu(is)f(an)f(in)m(teger)i(p)s(ort)630 3620
y(n)m(um)m(b)s(er)23 b(or)i(service)h(name,)g(Bash)f(attempts)h(to)f
(op)s(en)f(the)h(corresp)s(onding)f(TCP)g(so)s(c)m(k)m(et.)150
-3728 y Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)630 3838
+3795 y Ft(/dev/udp/)p Fj(host)p Ft(/)p Fj(port)630 3905
y Fu(If)41 b Fr(host)i Fu(is)f(a)g(v)-5 b(alid)41 b(hostname)h(or)f(In)
m(ternet)h(address,)i(and)c Fr(p)s(ort)j Fu(is)f(an)f(in)m(teger)i(p)s
-(ort)630 3948 y(n)m(um)m(b)s(er)23 b(or)h(service)h(name,)h(Bash)e
+(ort)630 4015 y(n)m(um)m(b)s(er)23 b(or)h(service)h(name,)h(Bash)e
(attempts)h(to)g(op)s(en)f(the)g(corresp)s(onding)f(UDP)i(so)s(c)m(k)m
-(et.)275 4149 y(A)30 b(failure)h(to)g(op)s(en)e(or)i(create)h(a)e
+(et.)275 4198 y(A)30 b(failure)h(to)g(op)s(en)e(or)i(create)h(a)e
(\014le)h(causes)g(the)f(redirection)h(to)g(fail.)275
-4312 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f
+4348 y(Redirections)f(using)e(\014le)i(descriptors)f(greater)h(than)f
(9)h(should)e(b)s(e)h(used)f(with)h(care,)h(as)g(they)f(ma)m(y)150
-4421 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f
-(in)m(ternally)-8 b(.)150 4649 y Fk(3.6.1)63 b(Redirecting)40
-b(Input)150 4796 y Fu(Redirection)35 b(of)f(input)f(causes)i(the)f
+4458 y(con\015ict)i(with)f(\014le)h(descriptors)f(the)g(shell)h(uses)f
+(in)m(ternally)-8 b(.)150 4673 y Fk(3.6.1)63 b(Redirecting)40
+b(Input)150 4820 y Fu(Redirection)35 b(of)f(input)f(causes)i(the)f
(\014le)g(whose)g(name)g(results)g(from)g(the)g(expansion)g(of)g
-Fr(w)m(ord)k Fu(to)d(b)s(e)150 4905 y(op)s(ened)d(for)g(reading)g(on)g
+Fr(w)m(ord)k Fu(to)d(b)s(e)150 4930 y(op)s(ened)d(for)g(reading)g(on)g
(\014le)h(descriptor)f Ft(n)p Fu(,)h(or)f(the)g(standard)g(input)f
(\(\014le)i(descriptor)f(0\))h(if)f Ft(n)g Fu(is)h(not)150
-5015 y(sp)s(eci\014ed.)275 5177 y(The)c(general)j(format)e(for)h
+5039 y(sp)s(eci\014ed.)275 5190 y(The)c(general)j(format)e(for)h
(redirecting)g(input)e(is:)390 5340 y Ft([)p Fj(n)p Ft(]<)p
Fj(word)p eop end
%%Page: 34 40