[Bash-completion-devel] Bug#481244: bash-completion: "tar" completion fooled on directory named "tgz"

David Paleino d.paleino at gmail.com
Fri May 16 21:35:38 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20080516/1e4c5803/attachment-0002.pgp 


More information about the Bash-completion-devel mailing list