Still broken in 14.04, bash-completion 1:2.1-4, even with the fixes for
bug 1387057 and bug 1390061 applied.
Even the fallback minimal completion function fails for that directory from the
OP.
mkdir -- $'--$`\! *@ \a\b\e\E\f\r\t\v\\\"\' \n'
echo ./-[TAB]bash: bad substitution: no closing "`" in `\! *@
\"'
-\$\`\\\!\ \*@\ ^G^H^[^[^L^M\ ^K\\\"\'\
and the completed filename isn't the correct filename. (changing echo
to ls or rm gives no such file or directory).
So even making things easy by starting the filename with ./ isn't
enough. I guess the problem isn't that it starts with --.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/692554
Title:
Autocomplete fails on some filenames
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/692554/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs