bug-bash
[Top][All Lists]
Advanced

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

reverse-i-search doesn't show true current search string


From: Dan Jacobson
Subject: reverse-i-search doesn't show true current search string
Date: Wed, 10 Sep 2003 06:37:21 +0800

Unlike real emacs' isearch-backward, bash's reverse-i-search's echo
area doesn't reflect the true state of what bash is currently
searching.

$ echo zyxw
zyxw
$ ^Rzx
(reverse-i-search)`z': echo zyxw

We are actually searching for zx at this point. If we were searching
for just z now, we could add a y and match, but in fact we must use a
DEL first.

So it should say zx...

Bash Version: 2.05b




reply via email to

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