mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 04:30:44 +02:00
commit bash-20210224 snapshot
This commit is contained in:
@@ -214,8 +214,9 @@ end of the history, and an index of @samp{-1} refers to the current
|
||||
@code{history -d} command.
|
||||
|
||||
@item -d @var{start}-@var{end}
|
||||
Delete the history entries between positions @var{start} and @var{end},
|
||||
inclusive. Positive and negative values for @var{start} and @var{end}
|
||||
Delete the range of history entries between positions @var{start} and
|
||||
@var{end}, inclusive.
|
||||
Positive and negative values for @var{start} and @var{end}
|
||||
are interpreted as described above.
|
||||
|
||||
@item -a
|
||||
@@ -250,6 +251,11 @@ used, if @var{filename}
|
||||
is given, then it is used as the history file. If not, then
|
||||
the value of the @env{HISTFILE} variable is used.
|
||||
|
||||
The return value is 0 unless an invalid option is encountered, an
|
||||
error occurs while reading or writing the history file, an invalid
|
||||
@var{offset} or range is supplied as an argument to @option{-d}, or the
|
||||
history expansion supplied as an argument to @option{-p} fails.
|
||||
|
||||
@end table
|
||||
@end ifset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user