[Bug 476968] Re: completion errors while using single and double quotes

Mathew Hodson mathew.hodson at gmail.com
Mon Nov 9 03:39:28 UTC 2015


** Tags added: karmic 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/476968

Title:
  completion errors while using single and double quotes

Status in bash-completion package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: bash-completion

  I experienced some completion errors while using both single and
  double quotes. Here is what happens:

  luca at luca-laptop:~$ mkdir foo\ bar
  luca at luca-laptop:~$ touch foo\ bar/file
  luca at luca-laptop:~$ cat "fo<TAB>
  luca at luca-laptop:~$ cat "foo bar"/<TAB>
  luca at luca-laptop:~$ cat /

  If I move the slash inside the quotes, and press tab right after it,
  the completion shows the files in current dir, not the written one

  luca at luca-laptop:~$ cat "foo bar/<TAB>"
  <list of files in home>

  If I move the slash inside the quotes, and press tab after them, this
  is what I get:

  luca at luca-laptop:~$ cat "foo bar/"<TAB>
  luca at luca-laptop:~$ cat \"foo\ bar/\"

  This didn't happen in Jaunty, seems to be a regression.

  System: Ubuntu 9.10
  bash: 4.0-5ubuntu2
  bash-completion: 1:1.0-3ubuntu2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/476968/+subscriptions



More information about the foundations-bugs mailing list