** Tags removed: amd64 i386 ** Description changed:
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@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. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: bash 4.2-0ubuntu3 ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 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 + 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) + + + EDIT: A solution is in comment 10. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/769866 Title: tab completion no longer escapes filenames -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
