Autocomplete fails on embedded newlines
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash-completion (Debian) |
Confirmed
|
Unknown
|
|||
bash-completion (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: bash-completion
After creating a directory or file with the standard escape sequences available in the Bash $'' string construct, filename autocompletion fails. For example:
$ mkdir -- $'--$`\! *@ \a\b\e\
$ rm -- \-\-
[press TAB]
$ rm -- \-\-bash: [: --$`\! *@
: binary operator expected
--\$\`\\\!\ \*@\ ^G^H^[^[^L^M\ ^K\\\"\'\
The good news is, if autocomplete can handle this filename, it should be able to handle _any_ *nix filename, that is, anything that doesn't contain a null character or a slash.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: bash-completion 1:1.1-3ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-26-generic i686
Architecture: i386
Date: Mon Dec 20 14:05:33 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
PackageArchitec
ProcEnviron:
LC_PAPER=
SHELL=/bin/bash
LANG=en_US.utf8
SourcePackage: bash-completion
summary: |
- Autocomplete fails on some filenames + Autocomplete fails on embedded newlines |
tags: | added: trusty |
Changed in bash-completion (Debian): | |
status: | Unknown → Confirmed |
Changed in bash-completion (Ubuntu): | |
importance: | Undecided → Low |
There's been a lot of work on bash-completion since this bug was opened. Can you check again?
If it's still not working it may be that a newer version can be back-ported to 10.04.