Public bug reported:

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.

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- tab completion fails when files have same prefix ending in a 
quote/escapable-char
+ tab completion fails when files have same prefix that ends in a 
quote/escapable-char

** Description changed:

  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. It does
- *not* happen with spaces. I haven't tested any other cases.
+ This occurs with single- and double-quotes, and backslashes -- but *not*
+ with with spaces. Other cases are untested.
  
- This happens on feisty and gutsy so far.
+ Checked as problematic on feisty and gutsy.

-- 
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 the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to