[Top][All Lists]

[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 (Macintosh/20070728)

address@hidden 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

``The lyf so short, the craft so long to lerne.'' - Chaucer
                       Live Strong.  No day but today.
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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