Problem with bash filename completetion

Joachim Backes joachim.backes at rhrk.uni-kl.de
Thu Oct 15 11:10:37 UTC 2015


On 15.10.2015 12:47, Jon Ingason wrote:
> Den 2015-10-15 kl. 10:44, skrev Joachim Backes:
>> Hi F23 testers,
>>
>> having a directory xyz with a subdir called
>>
>> vb-2015-10-15_07:51:53-win10
>>
>> This subdir has some entries:
>>
>> drwxrwxr-x 3 backes backes        4096 Oct 12 18:01 Machines
>> drwx------ 4 backes backes        4096 Oct 15 06:59 VirtualBox VMs
>> -rw------- 1 backes backes 20409483264 Oct 15 07:35 win10.vdi
>>
>> 1.cd to xyz.
>> 2.ls -l vb-2015-10-15_07:51:53-win10/M<TAB>
>>     will not complete to vb-2015-10-15_07:51:53-win10/Machines, and I
>>     don't understand, why. Is this a bug in the filename completetion?
>>
>> No problem, if renaming
>>
>> vb-2015-10-15_07:51:53-win10 to
>> vb-2015-10-15_07-51-53-win10
>>
>> So it seems that the ":" in the filename "vb-2015-10-15_07:51:53-win10"
>> is the culprit.
>
> : is a builtin command in sh (and all derivative), see man builtins.

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.

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