[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bash-bug
Subject:    Re: Resolving quoted COMP_CWORD on bash-4
From:       Chet Ramey <chet.ramey () case ! edu>
Date:       2009-09-28 1:02:41
Message-ID: 4AC00B31.7000801 () case ! edu
[Download RAW message or body]

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/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic