[Bug 123665] Re: tab completion fails when files have same prefix that ends in a quote/escapable-char
Mathew Hodson
mathew.hodson at gmail.com
Mon Oct 19 18:38:09 UTC 2015
** Tags added: testcase
** Changed in: bash-completion (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash-completion in Ubuntu.
https://bugs.launchpad.net/bugs/123665
Title:
tab completion fails when files have same prefix that ends in a quote
/escapable-char
Status in bash-completion package in Ubuntu:
Fix Released
Status in bash-completion package in Debian:
Unknown
Bug description:
Binary package hint: bash
If two (or more) files have the same prefix that ends in a quote
(double, single, take your pick), or some other escapable character
(back-slash is my test case), but then something else, tab completion
will fail! Here's how to reproduce:
1. Run: touch "1'1 1" "1'2 2"
2. Type: rm 1\'
3. Attempt to tab complete. bash will suggest the two files.
4. Give a hint by entering 1.
5. Attempt to tab complete again. bash is dumb-founded.
This occurs with single- and double-quotes, and backslashes -- but
*not* with with spaces. Other cases are untested.
Checked as problematic on feisty and gutsy.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/123665/+subscriptions
More information about the foundations-bugs
mailing list