On 10/31/20 11:00 AM, Detlef Vollmann wrote: > Hello, > > since Bash-5.1-rc1 <CTRL-R> doesn't work for me as previously. > I have the following entries in my history: > man a > man b > > Now I type '<CTRL-R> m a n' and get: > (reverse-i-search)`man': man b > > Now I type '<CTRL-R>' again. > What I would expect (and what I got with 5.0) is: > (reverse-i-search)`man': man a > > Instead I get > (reverse-i-search)`': man b > > Note the empty search string.
Thanks for the report. It's not easy to reproduce, and, as you later note, requires the `C' or `POSIX' locales and things to be done in a certain order, but I believe I was able to track it down. It will be fixed in bash-5.1-rc2. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/