[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: history -d fails to check for shortened list in loops
From: |
Chet Ramey |
Subject: |
Re: history -d fails to check for shortened list in loops |
Date: |
Mon, 13 May 2019 15:37:45 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 5/5/19 7:19 PM, jr@saturn.site wrote:
> Bash Version: 4.4
> Patch Level: 23
> Release Status: release
>
> Description:
> `history -d` doesn't check for "history position out of range" until
> bash returns to prompt
Thanks for the report. There's an off-by-one error there that inhibits the
diagnostic from being printed.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/