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

Dan Kegel dank at kegel.com
Sat Oct 29 13:20:51 UTC 2011


This does not affect the 'cd' command's tab expansion.

Also, on the affected commands, a space instead of a slash is the last
character of a directory completion.

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