Problem with bash filename completetion

Jon Ingason jon.ingason at telia.com
Thu Oct 15 10:47:29 UTC 2015


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.

> 
> The bash command "complete" gives no help!
> 
> Any comments are welcome.
> 
> Kind regards
> 
> Joachim Backes.
> 


-- 
Regards

Jon Ingason



More information about the test mailing list