mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-06 10:12:38 +02:00
commit bash-20120420 snapshot
This commit is contained in:
+2
-2
@@ -3470,12 +3470,12 @@ File descriptor 2 is duplicated.
|
||||
.B /dev/tcp/\fIhost\fP/\fIport\fP
|
||||
If \fIhost\fP is a valid hostname or Internet address, and \fIport\fP
|
||||
is an integer port number or service name, \fBbash\fP attempts to open
|
||||
a TCP connection to the corresponding socket.
|
||||
the corresponding TCP socket.
|
||||
.TP
|
||||
.B /dev/udp/\fIhost\fP/\fIport\fP
|
||||
If \fIhost\fP is a valid hostname or Internet address, and \fIport\fP
|
||||
is an integer port number or service name, \fBbash\fP attempts to open
|
||||
a UDP connection to the corresponding socket.
|
||||
the corresponding UDP socket.
|
||||
.PD
|
||||
.RE
|
||||
.PP
|
||||
|
||||
+3
-3
@@ -1972,7 +1972,7 @@ The name of the file in which command history is saved (see
|
||||
.SM
|
||||
.B HISTORY
|
||||
below). The default value is \fI~/.bash_history\fP. If unset, the
|
||||
command history is not saved when an interactive shell exits.
|
||||
command history is not saved when a shell exits.
|
||||
.TP
|
||||
.B HISTFILESIZE
|
||||
The maximum number of lines contained in the history file. When this
|
||||
@@ -1980,7 +1980,7 @@ variable is assigned a value, the history file is truncated, if
|
||||
necessary,
|
||||
to contain no more than that number of lines by removing the oldest entries.
|
||||
The history file is also truncated to this size after
|
||||
writing it when an interactive shell exits.
|
||||
writing it when a shell exits.
|
||||
If the value is 0, the history file is truncated to zero size.
|
||||
Non-numeric values and numeric values less than zero inhibit truncation.
|
||||
The shell sets the default value to the value of \fBHISTSIZE\fP
|
||||
@@ -6293,7 +6293,7 @@ These timestamps are optionally displayed depending on the value of the
|
||||
.SM
|
||||
.B HISTTIMEFORMAT
|
||||
variable.
|
||||
When an interactive shell exits, the last
|
||||
When a shell with history enabled exits, the last
|
||||
.SM
|
||||
.B $HISTSIZE
|
||||
lines are copied from the history list to
|
||||
|
||||
+4
-4
@@ -2338,13 +2338,13 @@ File descriptor 2 is duplicated.
|
||||
|
||||
@item /dev/tcp/@var{host}/@var{port}
|
||||
If @var{host} is a valid hostname or Internet address, and @var{port}
|
||||
is an integer port number or service name, Bash attempts to open a TCP
|
||||
connection to the corresponding socket.
|
||||
is an integer port number or service name, Bash attempts to open
|
||||
the corresponding TCP socket.
|
||||
|
||||
@item /dev/udp/@var{host}/@var{port}
|
||||
If @var{host} is a valid hostname or Internet address, and @var{port}
|
||||
is an integer port number or service name, Bash attempts to open a UDP
|
||||
connection to the corresponding socket.
|
||||
is an integer port number or service name, Bash attempts to open
|
||||
the corresponding UDP socket.
|
||||
@end table
|
||||
|
||||
A failure to open or create a file causes the redirection to fail.
|
||||
|
||||
+2
-2
@@ -5398,7 +5398,7 @@ When this variable is assigned a value, the history file is truncated,
|
||||
if necessary, to contain no more than that number of lines
|
||||
by removing the oldest entries.
|
||||
The history file is also truncated to this size after
|
||||
writing it when an interactive shell exits.
|
||||
writing it when a shell exits.
|
||||
If the value is 0, the history file is truncated to zero size.
|
||||
Non-numeric values and numeric values less than zero inhibit truncation.
|
||||
The shell sets the default value to the value of @env{HISTSIZE}
|
||||
@@ -6080,7 +6080,7 @@ Command history (@pxref{Bash History Facilities})
|
||||
and history expansion (@pxref{History Interaction})
|
||||
are enabled by default.
|
||||
Bash will save the command history to the file named by @env{$HISTFILE}
|
||||
when an interactive shell exits.
|
||||
when a shell with history enabled exits.
|
||||
|
||||
@item
|
||||
Alias expansion (@pxref{Aliases}) is performed by default.
|
||||
|
||||
Reference in New Issue
Block a user