Debian Bug report logs -
#543982
bash: Completion with spaces broken.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#543982; Package bash.
(Thu, 27 Aug 2009 21:48:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Philipp Weis <pweis@pweis.com>:
New Bug report received and forwarded. Copy sent to Matthias Klose <doko@debian.org>.
(Thu, 27 Aug 2009 21:48:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: bash
Version: 4.0-4
Severity: normal
Hi,
with the latest update of bash, command completion is doesn't work
anymore on my system with filenames that contain spaces.
For example, if I have a file names "aaa bbb" and I type
"ls a<TAB>"
it autocompletes to
"ls aaa\ "
but not beyond the space in the string. If I hit TAB again, nothing
happens.
This worked just fine with bash 3.2-6.
Philipp
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 5.0.0 Debian base system miscellaneous f
ii debianutils 3.2.1 Miscellaneous utilities specific t
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
Versions of packages bash recommends:
ii bash-completion 1:1.0-3 programmable completion for the ba
Versions of packages bash suggests:
ii bash-doc 4.0-4 Documentation and examples for the
-- no debconf information
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, espeoneefi@eep.dnsalias.org, Matthias Klose <doko@debian.org>:
Bug#543982; Package bash.
(Sat, 29 Aug 2009 22:48:06 GMT) (full text, mbox, link).
Acknowledgement sent
to EspeonEefi <espeoneefi@eep.dnsalias.org>:
Extra info received and forwarded to list. Copy sent to espeoneefi@eep.dnsalias.org, Matthias Klose <doko@debian.org>.
(Sat, 29 Aug 2009 22:48:06 GMT) (full text, mbox, link).
Message #10 received at 543982@bugs.debian.org (full text, mbox, reply):
Package: bash
Severity: normal
Perhaps this is related to bug #544024 [1] against bash-completion?
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544024
When I removed the sourcing of /etc/bash_completion from my ~/.bashrc,
completion of filenames with spaces worked again. I don't know whether
it's bash's or bash-completion's fault that the combination of the
current versions of both leads to broken completion of filenames that
need backslashes to escape special characters.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 5.0.0 Debian base system miscellaneous f
ii debianutils 3.2.1 Miscellaneous utilities specific t
ii libc6 2.9-25 GNU C Library: Shared libraries
ii libncurses5 5.7+20090803-2 shared libraries for terminal hand
Versions of packages bash recommends:
ii bash-completion 1:1.0-3 programmable completion for the ba
Versions of packages bash suggests:
pn bash-doc <none> (no description available)
-- no debconf information
Merged 543982 544956.
Request was from Josh Triplett <josh@joshtriplett.org>
to control@bugs.debian.org.
(Sun, 06 Sep 2009 23:18:03 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#543982; Package bash.
(Sun, 04 Oct 2009 09:33:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Chow Loong Jin <hyperair@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(Sun, 04 Oct 2009 09:33:04 GMT) (full text, mbox, link).
Message #19 received at 543982@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 543982 +patch
thanks
Here's a patch which appears to fix the issue for me, running Bash 4.0-5ubuntu2.
I haven't tested it with older versions of Bash though. Please use it as you
wish, and make further changes if necessary.
--
Kind regards,
Chow Loong Jin
[0001-Remove-all-quote_readline-usages.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]
Added tag(s) patch.
Request was from Chow Loong Jin <hyperair@gmail.com>
to control@bugs.debian.org.
(Sun, 04 Oct 2009 09:33:10 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#543982; Package bash.
(Sun, 04 Oct 2009 09:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Chow Loong Jin <hyperair@gmail.com>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(Sun, 04 Oct 2009 09:42:03 GMT) (full text, mbox, link).
Message #26 received at 543982@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tag 543982 -patch
thanks
On Sunday 04,October,2009 05:13 PM, Chow Loong Jin wrote:
> tag 543982 +patch
> thanks
>
> Here's a patch which appears to fix the issue for me, running Bash 4.0-5ubuntu2.
> I haven't tested it with older versions of Bash though. Please use it as you
> wish, and make further changes if necessary.
>
*cough*
I didn't see one of the comments pointing to a bug filed in bash-completion.
Seems it's fixed there already. Sorry for the noise.
--
Kind regards,
Chow Loong Jin
[signature.asc (application/pgp-signature, attachment)]
Removed tag(s) patch.
Request was from Chow Loong Jin <hyperair@gmail.com>
to control@bugs.debian.org.
(Sun, 04 Oct 2009 09:42:05 GMT) (full text, mbox, link).
Bug reassigned from package 'bash' to 'bash-completion'.
Request was from Jonathan Nieder <jrnieder@gmail.com>
to control@bugs.debian.org.
(Thu, 09 Dec 2010 04:27:03 GMT) (full text, mbox, link).
Bug No longer marked as found in versions bash/4.0-4.
Request was from Jonathan Nieder <jrnieder@gmail.com>
to control@bugs.debian.org.
(Thu, 09 Dec 2010 04:27:04 GMT) (full text, mbox, link).
Bug Marked as found in versions bash-completion/1:1.0-3.
Request was from Jonathan Nieder <jrnieder@gmail.com>
to control@bugs.debian.org.
(Thu, 09 Dec 2010 04:27:06 GMT) (full text, mbox, link).
Message sent on
to Philipp Weis <pweis@pweis.com>:
Bug#543982.
(Thu, 09 Dec 2010 04:27:17 GMT) (full text, mbox, link).
Message #39 received at 543982-submitter@bugs.debian.org (full text, mbox, reply):
reassign 543982 bash-completion 1:1.0-3
unarchive 544024
forcemerge 544024 543982
quit
Philipp Weis wrote:
> For example, if I have a file names "aaa bbb" and I type
>
> "ls a<TAB>"
>
> it autocompletes to
>
> "ls aaa\ "
>
> but not beyond the space in the string. If I hit TAB again, nothing
> happens.
>
> This worked just fine with bash 3.2-6.
[...]
> ii bash-completion 1:1.0-3 programmable completion for the ba
Fixed by bash-completion 1.1-1. Please let me know if that seems not
to be the case.
Thanks for reporting.
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 06 Jan 2011 07:31:57 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 10:06:25 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.