Problem with bash filename completetion

Samuel Sieb samuel at sieb.net
Thu Oct 15 16:15:11 UTC 2015


On 10/15/2015 04:10 AM, Joachim Backes wrote:
> On 15.10.2015 12:47, Jon Ingason wrote:
>> Den 2015-10-15 kl. 10:44, skrev Joachim Backes:
>>> 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.
>
No, it has nothing to do with the internal command.  It's part of the 
bash completion system.  A colon is used as some sort of separator for 
completion.  Lookup COMP_WORDBREAKS for more info.


More information about the test mailing list