In maverick, lucid, and other even way older releases, I could use tab completion on a filename with characters with special meaning to the shell (e.g. spaces):
matt@lemmankinan:/tmp/complete-test$ ls
File with spaces.txt
matt@lemmankinan:/tmp/complete-test$ mv File\ with\ spaces.txt ..
(on second line, type "mv F<tab> .."
However, in natty, this is broken for many (though strangely not all) commands:
matt@sampo:/tmp/complete-test$ ls
File with spaces.txt
matt@sampo:/tmp/complete-test$ mv File with spaces.txt ..
mv: cannot stat `File': No such file or directory
mv: cannot stat `with': No such file or directory
mv: cannot stat `spaces.txt': No such file or directory
(again, typing "mv F<tab> .."
If I start with a quote, e.g. "mv 'F<tab> .." that will work.
There's also an additional problem with directory names. If I e.g. mkdir -p abc/def/ghi and try to move the above file, if I tab-complete the "abc" directory, it will end with a space instead of a slash, so I cannot complete further directories. Again, this works just fine in older releases.
Binary package hint: bash
In maverick, lucid, and other even way older releases, I could use tab completion on a filename with characters with special meaning to the shell (e.g. spaces):
matt@lemmankina n:/tmp/ complete- test$ ls n:/tmp/ complete- test$ mv File\ with\ spaces.txt ..
File with spaces.txt
matt@lemmankina
(on second line, type "mv F<tab> .."
However, in natty, this is broken for many (though strangely not all) commands:
matt@sampo: /tmp/complete- test$ ls /tmp/complete- test$ mv File with spaces.txt ..
File with spaces.txt
matt@sampo:
mv: cannot stat `File': No such file or directory
mv: cannot stat `with': No such file or directory
mv: cannot stat `spaces.txt': No such file or directory
(again, typing "mv F<tab> .."
If I start with a quote, e.g. "mv 'F<tab> .." that will work.
There's also an additional problem with directory names. If I e.g. mkdir -p abc/def/ghi and try to move the above file, if I tab-complete the "abc" directory, it will end with a space instead of a slash, so I cannot complete further directories. Again, this works just fine in older releases.
ProblemType: Bug ature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sun Apr 24 08:43:09 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Beta i386 (20110413)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)