tab completion no longer escapes filenames and completes dirnames incorrectly (space instead of slash)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acroread (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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
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:
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
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)
EDIT: A solution is in comment 10.
tags: | added: amd64 |
tags: | removed: amd64 i386 |
description: | updated |
summary: |
- tab completion no longer escapes filenames + tab completion no longer escapes filenames and completes dirnames + incorrectly (space instead of slash) |
no longer affects: | bash-completion (Ubuntu) |
tags: | removed: natty |
Confirming based on comment 2 in bug 742041.