commit bash-20111118 snapshot

This commit is contained in:
Chet Ramey
2012-01-09 08:33:08 -05:00
parent 084c952b61
commit 4b82d1cde7
21 changed files with 1888 additions and 50 deletions
+12 -6
View File
@@ -5306,13 +5306,16 @@ The name of the file to which the command history is saved. The
default value is @file{~/.bash_history}.
@item HISTFILESIZE
The maximum number of lines contained in the history file. When this
variable is assigned a value, the history file is truncated, if
necessary, by removing the oldest entries,
to contain no more than that number of lines.
The maximum number of lines contained in the history file.
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.
The default value is 500.
If the value is 0, the history file is truncated to zero size.
Numeric values less than zero inhibit truncation.
The shell sets the default value to the value of @env{HISTSIZE}
after reading any startup files.
@item HISTIGNORE
A colon-separated list of patterns used to decide which command
@@ -5336,7 +5339,10 @@ provides the functionality of @code{ignoreboth}.
@item HISTSIZE
The maximum number of commands to remember on the history list.
The default value is 500.
If the value is 0, commands are not saved in the history list.
Numeric values less than zero result in every command being saved
on the history list (there is no limit).
The shell sets the default value to 500 after reading any startup files.
@item HISTTIMEFORMAT
If this variable is set and not null, its value is used as a format string