You're right. It seems to work when you're not using the bash-completion
package. If you do however, then it's still broken.

I'm not sure yet wether it's a quoting problem or a genuine bug in bash:

[EMAIL PROTECTED]:~/rrr(1)$ compgen -f "1\'"
1'2 2
1'1 1
[EMAIL PROTECTED]:~/rrr$ compgen -f "1\'2"
[EMAIL PROTECTED]:~/rrr(1)$ compgen -f "1\\'2"
[EMAIL PROTECTED]:~/rrr(1)$ compgen -f "1\\\'2"
[EMAIL PROTECTED]:~/rrr(1)$ compgen -f "1\\\\'2"
[EMAIL PROTECTED]:~/rrr(1)$ compgen -f "1\\\\\'2"
1'2 2

-- 
tab completion fails when files have same prefix that ends in a 
quote/escapable-char
https://bugs.launchpad.net/bugs/123665
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to