bug-bash
[Top][All Lists]
Advanced

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

Re: TAB strips wildcards


From: Chet Ramey
Subject: Re: TAB strips wildcards
Date: Thu, 13 Sep 2007 21:51:30 -0400
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

jidanni@jidanni.org wrote:
> Here is a true case of what happens when you hit TAB with a wildcard:
> $ shar /tmp/logs/*/*/*<TAB>
> access.log  access.log
> $ shar /tmp/logs/
> Yes, it strips the wildcards!

Yes, it does.  Readline completion replaces the word on which completion
is attempted with the longest common prefix of the matches.  The
show-all-if-ambiguous option doesn't change that behavior; it just causes
the possible completions to be listed instead of ringing the bell.

I will take a look and see what can be done, but this behavior is fairly
basic.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
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]