bash-4.4-rc2 release

This commit is contained in:
Chet Ramey
2016-08-22 15:58:43 -04:00
parent a4eef1991c
commit 9555438775
43 changed files with 4796 additions and 3992 deletions
+393 -389
View File
File diff suppressed because it is too large Load Diff
+7 -2
View File
@@ -2288,7 +2288,9 @@ Example:
\fBMAILPATH\fP=\(aq/var/mail/bfox?"You have mail":~/shell\-mail?"$_ has mail!"\(aq
.PP
.B Bash
supplies a default value for this variable, but the location of the user
can be configured to supply
a default value for this variable (there is no value by default),
but the location of the user
mail files that it uses is system dependent (e.g., /var/mail/\fB$USER\fP).
.RE
.TP
@@ -3724,7 +3726,10 @@ before the standard output was redirected to
.IR dirlist .
.PP
\fBBash\fP handles several filenames specially when they are used in
redirections, as described in the following table:
redirections, as described in the following table.
If the operating system on which \fBbash\fP is running provides these
special files, bash will use them; otherwise it will emulate them
internally with the behavior described below.
.RS
.PP
.PD 0
+8 -3
View File
@@ -2908,7 +2908,9 @@ Example:
<B>Bash</B>
supplies a default value for this variable, but the location of the user
can be configured to supply
a default value for this variable (there is no value by default),
but the location of the user
mail files that it uses is system dependent (e.g., /var/mail/<B>$USER</B>).
</DL>
@@ -4709,7 +4711,10 @@ before the standard output was redirected to
<P>
<B>Bash</B> handles several filenames specially when they are used in
redirections, as described in the following table:
redirections, as described in the following table.
If the operating system on which <B>bash</B> is running provides these
special files, bash will use them; otherwise it will emulate them
internally with the behavior described below.
<DL COMPACT><DT><DD>
<P>
@@ -13620,6 +13625,6 @@ There may be only one active coprocess at a time.
</DL>
<HR>
This document was created by man2html from bash.1.<BR>
Time: 20 June 2016 15:38:21 EDT
Time: 14 July 2016 11:48:02 EDT
</BODY>
</HTML>
BIN
View File
Binary file not shown.
+3398 -3398
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
+4 -1
View File
@@ -3179,7 +3179,10 @@ because the standard error was made a copy of the standard output
before the standard output was redirected to <var>dirlist</var>.
</p>
<p>Bash handles several filenames specially when they are used in
redirections, as described in the following table:
redirections, as described in the following table.
If the operating system on which Bash is running provides these
special files, bash will use them; otherwise it will emulate them
internally with the behavior described below.
</p>
<dl compact="compact">
<dt><code>/dev/fd/<var>fd</var></code></dt>
+92 -89
View File
@@ -2201,7 +2201,10 @@ error was made a copy of the standard output before the standard output
was redirected to DIRLIST.
Bash handles several filenames specially when they are used in
redirections, as described in the following table:
redirections, as described in the following table. If the operating
system on which Bash is running provides these special files, bash will
use them; otherwise it will emulate them internally with the behavior
described below.
'/dev/fd/FD'
If FD is a valid integer, file descriptor FD is duplicated.
@@ -11375,93 +11378,93 @@ Node: Filename Expansion87384
Node: Pattern Matching89668
Node: Quote Removal93366
Node: Redirections93661
Node: Executing Commands102904
Node: Simple Command Expansion103574
Node: Command Search and Execution105504
Node: Command Execution Environment107840
Node: Environment110824
Node: Exit Status112483
Node: Signals114153
Node: Shell Scripts116120
Node: Shell Builtin Commands118635
Node: Bourne Shell Builtins120669
Node: Bash Builtins141269
Node: Modifying Shell Behavior169914
Node: The Set Builtin170259
Node: The Shopt Builtin180672
Node: Special Builtins196471
Node: Shell Variables197450
Node: Bourne Shell Variables197887
Node: Bash Variables199918
Node: Bash Features228298
Node: Invoking Bash229197
Node: Bash Startup Files235146
Node: Interactive Shells240249
Node: What is an Interactive Shell?240659
Node: Is this Shell Interactive?241308
Node: Interactive Shell Behavior242123
Node: Bash Conditional Expressions245498
Node: Shell Arithmetic249499
Node: Aliases252316
Node: Arrays254864
Node: The Directory Stack259948
Node: Directory Stack Builtins260732
Node: Controlling the Prompt263700
Node: The Restricted Shell266446
Node: Bash POSIX Mode268271
Node: Job Control278324
Node: Job Control Basics278784
Node: Job Control Builtins283503
Node: Job Control Variables288033
Node: Command Line Editing289189
Node: Introduction and Notation290860
Node: Readline Interaction292483
Node: Readline Bare Essentials293674
Node: Readline Movement Commands295457
Node: Readline Killing Commands296417
Node: Readline Arguments298335
Node: Searching299379
Node: Readline Init File301565
Node: Readline Init File Syntax302712
Node: Conditional Init Constructs322899
Node: Sample Init File325424
Node: Bindable Readline Commands328541
Node: Commands For Moving329745
Node: Commands For History330888
Node: Commands For Text335177
Node: Commands For Killing338566
Node: Numeric Arguments341047
Node: Commands For Completion342186
Node: Keyboard Macros346377
Node: Miscellaneous Commands347064
Node: Readline vi Mode352868
Node: Programmable Completion353775
Node: Programmable Completion Builtins361236
Node: A Programmable Completion Example371122
Node: Using History Interactively376374
Node: Bash History Facilities377058
Node: Bash History Builtins380059
Node: History Interaction384056
Node: Event Designators387020
Node: Word Designators388239
Node: Modifiers389876
Node: Installing Bash391278
Node: Basic Installation392415
Node: Compilers and Options395106
Node: Compiling For Multiple Architectures395847
Node: Installation Names397510
Node: Specifying the System Type398328
Node: Sharing Defaults399044
Node: Operation Controls399717
Node: Optional Features400675
Node: Reporting Bugs410932
Node: Major Differences From The Bourne Shell412126
Node: GNU Free Documentation License428978
Node: Indexes454155
Node: Builtin Index454609
Node: Reserved Word Index461436
Node: Variable Index463884
Node: Function Index479343
Node: Concept Index492500
Node: Executing Commands103081
Node: Simple Command Expansion103751
Node: Command Search and Execution105681
Node: Command Execution Environment108017
Node: Environment111001
Node: Exit Status112660
Node: Signals114330
Node: Shell Scripts116297
Node: Shell Builtin Commands118812
Node: Bourne Shell Builtins120846
Node: Bash Builtins141446
Node: Modifying Shell Behavior170091
Node: The Set Builtin170436
Node: The Shopt Builtin180849
Node: Special Builtins196648
Node: Shell Variables197627
Node: Bourne Shell Variables198064
Node: Bash Variables200095
Node: Bash Features228475
Node: Invoking Bash229374
Node: Bash Startup Files235323
Node: Interactive Shells240426
Node: What is an Interactive Shell?240836
Node: Is this Shell Interactive?241485
Node: Interactive Shell Behavior242300
Node: Bash Conditional Expressions245675
Node: Shell Arithmetic249676
Node: Aliases252493
Node: Arrays255041
Node: The Directory Stack260125
Node: Directory Stack Builtins260909
Node: Controlling the Prompt263877
Node: The Restricted Shell266623
Node: Bash POSIX Mode268448
Node: Job Control278501
Node: Job Control Basics278961
Node: Job Control Builtins283680
Node: Job Control Variables288210
Node: Command Line Editing289366
Node: Introduction and Notation291037
Node: Readline Interaction292660
Node: Readline Bare Essentials293851
Node: Readline Movement Commands295634
Node: Readline Killing Commands296594
Node: Readline Arguments298512
Node: Searching299556
Node: Readline Init File301742
Node: Readline Init File Syntax302889
Node: Conditional Init Constructs323076
Node: Sample Init File325601
Node: Bindable Readline Commands328718
Node: Commands For Moving329922
Node: Commands For History331065
Node: Commands For Text335354
Node: Commands For Killing338743
Node: Numeric Arguments341224
Node: Commands For Completion342363
Node: Keyboard Macros346554
Node: Miscellaneous Commands347241
Node: Readline vi Mode353045
Node: Programmable Completion353952
Node: Programmable Completion Builtins361413
Node: A Programmable Completion Example371299
Node: Using History Interactively376551
Node: Bash History Facilities377235
Node: Bash History Builtins380236
Node: History Interaction384233
Node: Event Designators387197
Node: Word Designators388416
Node: Modifiers390053
Node: Installing Bash391455
Node: Basic Installation392592
Node: Compilers and Options395283
Node: Compiling For Multiple Architectures396024
Node: Installation Names397687
Node: Specifying the System Type398505
Node: Sharing Defaults399221
Node: Operation Controls399894
Node: Optional Features400852
Node: Reporting Bugs411109
Node: Major Differences From The Bourne Shell412303
Node: GNU Free Documentation License429155
Node: Indexes454332
Node: Builtin Index454786
Node: Reserved Word Index461613
Node: Variable Index464061
Node: Function Index479520
Node: Concept Index492677

End Tag Table
BIN
View File
Binary file not shown.
+35 -30
View File
@@ -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
+4 -1
View File
@@ -2592,7 +2592,10 @@ because the standard error was made a copy of the standard output
before the standard output was redirected to @var{dirlist}.
Bash handles several filenames specially when they are used in
redirections, as described in the following table:
redirections, as described in the following table.
If the operating system on which Bash is running provides these
special files, bash will use them; otherwise it will emulate them
internally with the behavior described below.
@table @code
@item /dev/fd/@var{fd}
+1 -1
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.3
%%CreationDate: Mon Jun 20 15:38:03 2016
%%CreationDate: Thu Jul 14 11:47:50 2016
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%+ font Times-Italic
+1 -1
View File
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
%%Creator: groff version 1.22.3
%%CreationDate: Mon Jun 20 15:38:03 2016
%%CreationDate: Thu Jul 14 11:47:50 2016
%%DocumentNeededResources: font Times-Roman
%%+ font Times-Bold
%%DocumentSuppliedResources: procset grops 1.22 3