[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] Support POSIX pattern matching in history search
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] Support POSIX pattern matching in history search |
Date: |
Thu, 18 Aug 2016 10:15:12 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 8/17/16 5:44 PM, John W wrote:
> The issue is well described here: http://unix.stackexchange.com/a/292967
> I just wanted to make sure there was a bug for it.
>
> POSIX apparently specifies that shell glob characters can be used in
> history search (such as '*'), but it is not yet implemented in
> readline.
Thanks for the report. This is apparently a feature that was added to
Posix after the initial readline vi mode implementation (the original
1992 standard specified only string matching, so I suspect it was issue 6
in 2004). I will add this feature after bash-4.4/readline-7.0 are
released.
> It seems that both emacs and vi mode are affected (though I only use vi mode).
Posix only specifies vi mode.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/