bug-bash
[Top][All Lists]
Advanced

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

Re: Resolving quoted COMP_CWORD on bash-4


From: Chet Ramey
Subject: Re: Resolving quoted COMP_CWORD on bash-4
Date: Sun, 27 Sep 2009 21:02:41 -0400
User-agent: Thunderbird 2.0.0.23 (Macintosh/20090812)

Freddy Vulto wrote:

> I just found a corner case bug, but that seems to be in bash-3 as
> well.  The command:
> 
>    $ b'<TAB>
> 
> doesn't complete with commands but with local filenames, although this
> is a valid command:
> 
>    $ b'ash'

That will never work.  It's fundamental readline behavior that it performs
separate completion on quoted substrings, where the substrings are defined
by the characters in rl_completer_quote_characters.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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