[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: history-search-backward clobbers history
From: |
Andreas Schwab |
Subject: |
Re: history-search-backward clobbers history |
Date: |
Mon, 01 Jul 2024 09:54:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
On Jun 27 2024, Chet Ramey wrote:
> It took me a long time to figure this out, and it's completely dependent
> on this particular set of data. You have `histappend' set (it's set by
> default, but this would happen anyway because you have fewer history lines
> added during that shell session than are in the history list). Bash adds
> four commands to the history list during this session, starting with the
> `echo 21234' (it doesn't know about readline's changes to the history
> list). It appends those four commands to the history file, which happens to
> leave the `echo 3456' unchanged -- coincidentally the first history entry
> changed by moving around the history list and editing.
So what did change in 5.3 that this is now broken?
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
- Re: history-search-backward clobbers history,
Andreas Schwab <=