On 2/25/21 2:06 PM, Christopher Gurnee wrote:
Bash Version: 5.1
Patch Level: 4
Release Status: release
Git Commit: f3a35a2d (current master)

I don't really know the contribution rules for bash; my apologies in advance if I'm missing anything or otherwise doing something wrong.

Description:

`history -d -#` can sometimes fail with the error `-bash: history: -#: history position out of range` even when the history entry is present.

Thanks for the report and fix.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to