Problem with bash filename completetion

Joachim Backes joachim.backes at rhrk.uni-kl.de
Thu Oct 15 13:35:09 UTC 2015


On 15.10.2015 14:04, Ed Greshko wrote:
> On 10/15/2015 07:10 PM, Joachim Backes wrote:
>> This can't be the problem! Otherwise, I would have similar problems with filenames containing "." (dots) in the names, because "." is a builtin command too.
>
> I think it is a problem....  Why?
>
> If I
>
> mkdir vb-2015-10-15_07:51:53-win10   and then do
>
> touch vb-2015<TAB>   I get it expanded to....
>
> touch vb-2015-10-15_07\:51\:53-win10/
>
> notice the : are being escaped.

My question is: why?

For example:

"mkdir a:b:c " runs without escaping the ":" chars!
And then "ls a:b:c" runs without escaping ":" too.

Kind regards

Joachim Backes

-- 

Fedora release 23 (Twenty Three)
Kernel-4.2.3-300.fc23.x86_64


Joachim Backes <joachim.backes at rhrk.uni-kl.de>
http://www-user.rhrk.uni-kl.de/~backes/


More information about the test mailing list