[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix history deletion when using negative offsets (from the e
Re: [PATCH] Fix history deletion when using negative offsets (from the end)
Fri, 26 Feb 2021 11:53:14 -0500
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.8.0
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.
`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.
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU firstname.lastname@example.org http://tiswww.cwru.edu/~chet/