bug-bash
[Top][All Lists]
Advanced

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

Re: Bug#740971: completion fails on file names with special characters


From: Uwe Storbeck
Subject: Re: Bug#740971: completion fails on file names with special characters
Date: Fri, 28 Mar 2014 00:11:34 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Mar 27, Chet Ramey wrote:
> Since that line, as you entered it above, is a syntax error, it's not
> clear what bash should do with it (probably nothing).  What do you
> expect to happen?

The same as if you would try to complete any non-existing file
name, nothing? The completion should not append an "a" to the
typed in "a(". Instead the cursor should stay in the same
position (after the parenthesis) and bash should beep.

When you try to complete "ls ab" with <TAB> in the same example
with the two files "aa" and "a(" in a directory bash-completion
handles it correctly. It only fails because of the parenthesis
(and maybe also with other special characters).

Uwe



reply via email to

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