On Mär 31 2022, Chet Ramey wrote:
> 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?
Yes. Afterwards, I see this history:
1 echo 1
2 echo 24
3 echo 3
4 history
5 echo 1
6 history
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."