Debian Bug report logs -
#487571
bash-completion: fails to complete vim /et[tab]
Reported by: Stefan Lippers-Hollmann <s.L-H@gmx.de>
Date: Sun, 22 Jun 2008 18:54:02 UTC
Severity: normal
Tags: confirmed
Merged with 487535,
487609,
487616
Found in versions bash-completion/20080617.1, bash-completion/20080617.2
Fixed in version bash-completion/20080617.3
Done: Luk Claes <luk@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.debian.org>:
Bug#487571; Package bash-completion.
(full text, mbox, link).
Acknowledgement sent to Stefan Lippers-Hollmann <s.L-H@gmx.de>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: bash-completion
Version: 20080617.2
Severity: normal
Hi
There seems to be another issue in bash-completion 20080617.2 with
expanding arguments for "vim /et[tab]".
$ bash -x
$ vim /et+ local IFS cur xspec
+ IFS='\t\n'
+ COMPREPLY=()
++ _get_cword
++ local i
++ local LC_CTYPE=C
++ local 'WORDBREAKS=
"'\''><=;|&(:'
++ '[' -n ']'
++ (( i=0 ))
++ (( i<0 ))
++ local 'cur=vim /et'
++ local 'tmp=vim /et'
+++ expr 'vim /et' : '.*[
"'\''><=;|&(:]'
++ local word_start=4
++ '[' 4 -ge 2 ']'
++ local char=m
++ '[' m '!=' '\' ']'
++ break
++ cur=/et
++ echo /et
+ cur=/et
+ _expand
+ '[' /et '!=' /et ']'
+ [[ /et == \~*/* ]]
+ [[ /et == \~* ]]
++ sed -ne '/^complete .*[ ]vim\([ ]\|$\)/{p;q;}' /e c/bash_comple io
sed: can't read /e: No such file or directory
sed: can't read c/bash_comple: No such file or directory
sed: can't read io: No such file or directory
+ xspec=
+ xspec=
+ xspec=
+ COMPREPLY=($( eval compgen -f -X "$xspec" -- \"${cur#[\`\"\']}\" 2>/dev/null ) $( compgen -d -- $cur ))
++ eval compgen -f -X '' -- '"/e' '"'
++ compgen -d -- /e
The attached patch fixes this for me.
Regards
Stefan Lippers-Hollmann
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.25-7.slh.2-sidux-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 3.2-4 The GNU Bourne Again SHell
ii ucf 3.007 Update Configuration File: preserv
bash-completion recommends no packages.
-- no debconf information
[bash-completion_20080617.2_filedir_xspec.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Tags added: confirmed, pending
Request was from David Paleino <d.paleino@gmail.com>
to control@bugs.debian.org.
(Sun, 22 Jun 2008 19:57:03 GMT) (full text, mbox, link).
Merged 487535 487571.
Request was from Luk Claes <luk@debian.org>
to control@bugs.debian.org.
(Sun, 22 Jun 2008 20:30:09 GMT) (full text, mbox, link).
Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.debian.org>:
Bug#487571; Package bash-completion.
(full text, mbox, link).
Acknowledgement sent to Leandro Lucarella <luca@llucax.com.ar>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.debian.org>.
(full text, mbox, link).
Message #14 received at 487571@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 20080617.1
Followup-For: Bug #487571
I just wanted to confirm both the bug and the patch (I have the bug and
it's fixed applying the patch).
Thank you.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (99, 'experimental'), (50, 'testing'), (9, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25.7
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 3.2-4 The GNU Bourne Again SHell
ii ucf 3.007 Update Configuration File: preserv
bash-completion recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.debian.org>:
Bug#487571; Package bash-completion.
(full text, mbox, link).
Acknowledgement sent to Seth Arnold <sarnold@sarnold.org>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.debian.org>.
(full text, mbox, link).
Message #19 received at 487571@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 20080617.2
Followup-For: Bug #487571
This attached patch also fixed this problem for me. (Not only /etc/ was
affected; vim <anything><tab> seemed broken. ls and cd could use
completion without trouble before, so be careful how you test the
problem report and bug fix.)
Thanks for the patch!
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bash-completion depends on:
ii bash 3.2-4 The GNU Bourne Again SHell
ii ucf 3.007 Update Configuration File: preserv
bash-completion recommends no packages.
-- no debconf information
Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Stefan Lippers-Hollmann <s.L-H@gmx.de>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #26 received at 487571-close@bugs.debian.org (full text, mbox, reply):
Source: bash-completion
Source-Version: 20080617.3
We believe that the bug you reported is fixed in the latest version of
bash-completion, which is due to be installed in the Debian FTP archive:
bash-completion_20080617.3.dsc
to pool/main/b/bash-completion/bash-completion_20080617.3.dsc
bash-completion_20080617.3.tar.gz
to pool/main/b/bash-completion/bash-completion_20080617.3.tar.gz
bash-completion_20080617.3_all.deb
to pool/main/b/bash-completion/bash-completion_20080617.3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 487571@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Luk Claes <luk@debian.org> (supplier of updated bash-completion package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 23 Jun 2008 07:24:21 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 20080617.3
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.debian.org>
Changed-By: Luk Claes <luk@debian.org>
Description:
bash-completion - programmable completion for the bash shell
Closes: 487571
Changes:
bash-completion (20080617.3) unstable; urgency=low
.
[ David Paleino ]
* Fixed IFS for filedir_xspec - Thanks to Stefan Lippers-Hollmann
(Closes: #487571)
.
[ Luk Claes ]
* Install dh-bash-completion to ease installation of completions.
Checksums-Sha1:
dc69f38d3d4f0d56cdefa7aae4ad51b96a3fcf9f 868 bash-completion_20080617.3.dsc
eac17ac295302de1b93fe9b8a85cc68b17584ec9 99550 bash-completion_20080617.3.tar.gz
d190d86107c5b9d35bcc5818670393f0ec628416 86652 bash-completion_20080617.3_all.deb
Checksums-Sha256:
d5835e9df5fbb60428e859562b5a2d35da200eed147a397e659ca632704a8a9a 868 bash-completion_20080617.3.dsc
da777dad417b9318d7652b917ca7af8e095280febac573e9f3a7199a0c94ecfd 99550 bash-completion_20080617.3.tar.gz
b69db4cda7e6f97e03bfd9f0a7f34d16a4bd78d6d3fada2cfd206b5a349ec625 86652 bash-completion_20080617.3_all.deb
Files:
200db23a39c678c098c9b9ce375233c9 868 shells standard bash-completion_20080617.3.dsc
3791a02595a130958a28fd537ef438aa 99550 shells standard bash-completion_20080617.3.tar.gz
cff8f27dd7c52455f7cd11cf36651f0e 86652 shells standard bash-completion_20080617.3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkhfM9EACgkQ5UTeB5t8Mo1/KQCgiNXwkbCIlWNzX2kZOSrszCLf
HfMAn0uIyXYPAv2jHXeu6GM/0Db6VYrm
=XEc1
-----END PGP SIGNATURE-----
Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Huy <huy.dao@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Michael Gilbert <michael.s.gilbert@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Kevin Mitchell <kevmitch@gmail.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 22 Jul 2008 07:27:23 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 09:24:38 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.