[Bug 883268] [NEW] bash ls tab completion broken for files/dirs with spaces in name

Dan Kegel dank at kegel.com
Fri Oct 28 20:48:38 UTC 2011


Public bug reported:

Running updated ubuntu 11.10, tab completion fails to escape spaces in
filenames for some commands.

To repeat:
mkdir "abc def"
touch "abc def"/xyz
ls ab<TAB><ENTER>
Expected: 
xyz
Observed: 
ls: cannot access abc: No such file or directory
ls: cannot access def: No such file or directory

Also affects tab completion for 'touch', but not for 'echo' or when
looking for commands.

This worked fine in ubuntu 11.04.

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

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

Title:
  bash ls tab completion broken for files/dirs with spaces in name

Status in “bash-completion” package in Ubuntu:
  New

Bug description:
  Running updated ubuntu 11.10, tab completion fails to escape spaces in
  filenames for some commands.

  To repeat:
  mkdir "abc def"
  touch "abc def"/xyz
  ls ab<TAB><ENTER>
  Expected: 
  xyz
  Observed: 
  ls: cannot access abc: No such file or directory
  ls: cannot access def: No such file or directory

  Also affects tab completion for 'touch', but not for 'echo' or when
  looking for commands.

  This worked fine in ubuntu 11.04.

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




More information about the foundations-bugs mailing list