bug-bash
[Top][All Lists]
Advanced

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

Re: bash behaves improperly with colons in programmable completion


From: Paul Jarc
Subject: Re: bash behaves improperly with colons in programmable completion
Date: Fri, 11 Oct 2002 11:46:19 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

jeremy-bash@batray.net wrote:
>       c) if you have typed up to the colon and stopped, bash will display all
>          entries with <TAB><TAB>, whether matching or not.
>       d) if you have typed past the colon, bash will not complete at all.

Unquoted colon is intentionally treated like whitespace for
convenience with PATH-like values.

>       b) if you have not yet typed the colon, bash will correctly comple the
>          common prefix of the entries in the wordlist, but this leads to
>          the c) & d) situation.

I've only tried with path completion, but for me, a colon supplied by
completion is \-escaped, so it won't be treated as whitespace, and it
won't lead to those situations.  Are you sure the same doesn't happen
for you?


paul




reply via email to

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