Re: Problem with bash filename completetion

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

 



On 15.10.2015 16:12, Jon Ingason wrote:
Den 2015-10-15 kl. 15:35, skrev Joachim Backes:
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.

Here you are not using the bash shell to interpret the argument. Instead
you are using /usr/bin/mkdir and /usr/bin/ls.

I think, we should stop the discussion here. Nobody contributing to this thread could give me a solid explanation for the special treatment of ":" during filename comptetion.

Nevertheless, thanks to all for their comments.

Kind regards

Joachim Backes

--

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


Joachim Backes <joachim.backes@xxxxxxxxxxxxxx>
http://www-user.rhrk.uni-kl.de/~backes/
--
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux