Debian Bug report logs - #529357
bash-completion: Fail to complete file with something between square brackets

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Leandro Lucarella <llucarella@integratech.com.ar>

Date: Mon, 18 May 2009 20:21:07 UTC

Severity: normal

Tags: unreproducible

Found in version bash-completion/1:1.0-2

Fixed in version 1:1.1-3

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#529357; Package bash-completion. (Mon, 18 May 2009 20:21:09 GMT) (full text, mbox, link).


Acknowledgement sent to Leandro Lucarella <llucarella@integratech.com.ar>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Mon, 18 May 2009 20:21:09 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Leandro Lucarella <llucarella@integratech.com.ar>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: Fail to complete file with something between square brackets
Date: Mon, 18 May 2009 17:19:36 -0300
Package: bash-completion
Version: 1:1.0-2
Severity: normal


luca@azazel:~$ touch /tmp/'['
luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
luca@azazel:~$ touch /tmp/'[]'
luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  
luca@azazel:~$ touch /tmp/'[2]'
luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  
luca@azazel:~$ vi /tmp/\[ # 'vi /tmp/['<tab> written
[   []  
luca@azazel:~$ cd /tmp/\[ # 'cd /tmp/['<tab> written
[   []  
luca@azazel:~$ touch /tmp/'[a]'
luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
[   []  

As you can see, '[2]' and '[a]' fails to complete. The other files with
'[' and '[]' work well.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (75, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1
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-5      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#529357; Package bash-completion. (Wed, 20 May 2009 20:33:06 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 20 May 2009 20:33:06 GMT) (full text, mbox, link).


Message #10 received at 529357@bugs.debian.org (full text, mbox, reply):

From: David Paleino <d.paleino@gmail.com>
To: bash-completion-devel@lists.alioth.debian.org
Cc: Leandro Lucarella <llucarella@integratech.com.ar>, 529357@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#529357: bash-completion: Fail to complete file with something between square brackets
Date: Wed, 20 May 2009 22:31:00 +0200
[Message part 1 (text/plain, inline)]
tags 529357 unreproducible
thanks

Hello Leandro,
I can't really reproduce the bug here, with the current development version:

On Mon, 18 May 2009 17:19:36 -0300, Leandro Lucarella wrote:

> luca@azazel:~$ touch /tmp/'['
> luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written

$ touch [
$ ls [<TAB>
$ ls \[<TAB>
[
$ ls \[ 

> luca@azazel:~$ touch /tmp/'[]'
> luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
> [   []  

$ touch []
$ ls [<TAB>
$ ls \[<TAB>
[   []  
$ ls \[

> luca@azazel:~$ touch /tmp/'[2]'
> luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
> [   []  

$ touch [2]
$ ls [<TAB>
$ ls \[<TAB>
[    []   [2]  
$ ls \[

> luca@azazel:~$ vi /tmp/\[ # 'vi /tmp/['<tab> written
> [   []  

$ vi [<TAB>
$ vi \[<TAB>
[    []   [2] 
$ vi \[

> luca@azazel:~$ cd /tmp/\[ # 'cd /tmp/['<tab> written
> [   []  

Not tested -- and that shouldn't have worked for you. `cd' should only complete
on directories, and with "touch" you didn't create directories:

$ cd [<TAB>
$ cd [

> luca@azazel:~$ touch /tmp/'[a]'
> luca@azazel:~$ ls /tmp/\[ # 'ls /tmp/['<tab> written
> [   []  

$ touch [a]
$ ls [<TAB>
$ ls \[
$ ls \[<TAB>
[    []   [2]  [a]  
$ ls \[

> As you can see, '[2]' and '[a]' fails to complete. The other files with
> '[' and '[]' work well.

I can't really see this behaviour, thus marking this bug as unreproducible.
Would you please try the current development version?

  http://git.debian.org/?p=bash-completion/bash-completion.git;a=blob_plain;f=bash_completion;hb=HEAD

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)]

Tags added: unreproducible Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Wed, 20 May 2009 20:33:07 GMT) (full text, mbox, link).


Tags added: unreproducible Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Fri, 05 Jun 2009 06:00:07 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Sun, 27 Dec 2009 16:45:07 GMT) (full text, mbox, link).


Notification sent to Leandro Lucarella <llucarella@integratech.com.ar>:
Bug acknowledged by developer. (Sun, 27 Dec 2009 16:45:07 GMT) (full text, mbox, link).


Message #19 received at 529357-done@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: Leandro Lucarella <llucarella@integratech.com.ar>
Cc: 529357-done@bugs.debian.org
Subject: Re: bash-completion: Fail to complete file with something between square brackets
Date: Sun, 27 Dec 2009 17:39:54 +0100
[Message part 1 (text/plain, inline)]
Version: 1:1.1-3

Seems fixed already.

David

-- 
 . ''`.   Debian developer | 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, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Jan 2010 07:41:08 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:16:48 2023; Machine Name: buxtehude

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.