bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash-5.2-alpha available


From: Chet Ramey
Subject: Re: Bash-5.2-alpha available
Date: Thu, 31 Mar 2022 11:56:56 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

On 3/31/22 5:14 AM, Andreas Schwab wrote:
Unfortunately I still see clobbered history lines.  When moving to a
previous history line, editing it, and then invoking
history-search-backward and accepting it, the editing remains on this
line (as of before history-search-backward), without a way to undo it
(the undo list is empty).

So is this the scenario? If you have

echo 1
echo 2
echo 3
history

in your history, type ^P^P^P to get back to the `echo 2'. Add `24' to
the end, type ^A^F so the cursor is after the `e', then run
history-search-backward? Hit the `echo 1' and accept-line?

--
``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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]