Also somewhat related, deleting a range of history only works if it's
specified oldest to newest. Deleting in the other direction is a noop
(no diagnostic either), e.g.:
history -d 20-10
does nothing if the range 10-20 exists, or prints an `out of range`
error otherwise. It probably makes sense to either print an error, or do
the deletion although the latter would technically be a breaking change.
Just my 2c...
Regards,
Chris
On 02/26/2021 11:53 am, Chet Ramey wrote:
Thanks for the report and fix.
Chet