Debian Bug report logs -
#481244
bash-completion: "tar" completion fooled on directory named "tgz" Package: bash-completion
Reported by: Hervé Cauwelier <debian@oursours.net>
Date: Wed, 14 May 2008 18:51:01 UTC
Severity: normal
Tags: confirmed
Found in version bash-completion/20060301-4
Fixed in version 20080617.4
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, Luk Claes <luk@debian.org>:
Bug#481244; Package bash-completion.
(full text, mbox, link).
Acknowledgement sent to Hervé Cauwelier <debian@oursours.net>:
New Bug report received and forwarded. Copy sent to Luk Claes <luk@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash-completion
Version: 20060301-4
Severity: normal
We use a directory named "tgz" containing archives. One school suffix
their archives with ".tar.gz" while the other one suffix them with
".tgz".
I've just discovered that bash is unable to complete on "tgz/*.tar.gz".
A test case to reproduce it:
$ mkdir tgz
$ touch tgz/foobar.tar.gz
$ touch tgz/foobar.tgz
$ tar xf tgz/foo<TAB>
bash-completion will autocomplete foobar.tgz, ignoring the other one.
Rename the directory "tgz" into "blah", redo the test and
bash-completion will autocomplete up to "tgz/foobar.t". Another <TAB>
and it is now proposing the two choices.
Definitely renaming the "tgz" directory is a workaround already done.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash-completion depends on:
ii bash 3.2-1 The GNU Bourne Again SHell
ii ucf 3.006 Update Configuration File:
preserv
bash-completion recommends no packages.
-- no debconf information
Tags added: confirmed
Request was from David Paleino <d.paleino@gmail.com>
to control@bugs.debian.org.
(Fri, 16 May 2008 21:45:26 GMT) (full text, mbox, link).
Acknowledgement sent to Bash-Completion Developers <bash-completion-devel@lists.alioth.debian.org>:
Extra info received and filed, but not forwarded.
(full text, mbox, link).
Message #12 received at 481244-quiet@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
tags 481244 confirmed
thanks
Hi Hervé,
On Wed, 14 May 2008 20:44:31 +0200, Hervé Cauwelier wrote:
> We use a directory named "tgz" containing archives. One school suffix
> their archives with ".tar.gz" while the other one suffix them with
> ".tgz".
>
> I've just discovered that bash is unable to complete on "tgz/*.tar.gz".
>
> A test case to reproduce it:
> [..]
>
> bash-completion will autocomplete foobar.tgz, ignoring the other one.
>
> Rename the directory "tgz" into "blah", redo the test and
> bash-completion will autocomplete up to "tgz/foobar.t". Another <TAB>
> and it is now proposing the two choices.
I can confirm this bug.
Thanks for your report, we'll work on this.
Kindly,
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
[signature.asc (application/pgp-signature, attachment)]
Reply sent to Luk Claes <luk@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Hervé Cauwelier <debian@oursours.net>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #17 received at 481244-done@bugs.debian.org (full text, mbox, reply):
Version: 20080617.4
Hi
I can't confirm this bug anymore in the above version, so I'm closing it...
Cheers
Luk
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 29 Jul 2008 07:32:52 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:14:56 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.