[Bug 461157] Re: bash-completion fails on files that start with *

Ken Sharp 461157 at bugs.launchpad.net
Wed Sep 19 02:56:56 UTC 2012


Works in Precise.

** Changed in: bash-completion (Ubuntu)
       Status: New => Fix Released

-- 
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/461157

Title:
  bash-completion fails on files that start with *

Status in “bash-completion” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: bash-completion

  Description:	Ubuntu 9.10
  Release:	9.10

  $ apt-cache policy bash-completion
  bash-completion:
    Installed: 1:1.0-3ubuntu2
    Candidate: 1:1.0-3ubuntu2
    Version table:
   *** 1:1.0-3ubuntu2 0
          500 http://ch.archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

  
  I created a file called *.jpg:
  lbedford at stierenried:~/Pictures/Backgrounds$ touch \*.jpg

  I try to tab complete it with ls:
  lbedford at stierenried:~/Pictures/Backgrounds$ ls \*bash: [: too many arguments
  .jpbash: [: too many arguments
  bash: [: too many arguments

  bash never actually completes the filename.

  Not being sure if it was bash or bash-completion at fault, I purged bash-completion from
  my machine, and with a new bash, it worked correctly, so it appears to be
  in bash-completion somewhere.

  L.

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




More information about the foundations-bugs mailing list