Debian Bug report logs - #549284
matching fails to expand after a space in the path

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: Joseph Nahmias <joe@nahmias.net>

Date: Fri, 2 Oct 2009 03:24:01 UTC

Severity: important

Tags: confirmed, fixed-upstream

Merged with 543982, 544024, 544956, 547349, 548454, 549548, 550186, 556224

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

Fixed in version bash-completion/1:1.1-1

Done: David Paleino <d.paleino@gmail.com>

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#549284; Package bash-completion. (Fri, 02 Oct 2009 03:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Joseph Nahmias <joe@nahmias.net>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Fri, 02 Oct 2009 03:24:04 GMT) (full text, mbox, link).


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

From: Joseph Nahmias <joe@nahmias.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: matching fails to expand after a space in the path
Date: Thu, 01 Oct 2009 22:57:07 -0400
Package: bash-completion
Version: 1:1.0-3
Severity: normal

Hi,

As the subject says, bash-completion is failing to expand files or
directories after the path has an embedded space.

Here's a couple of simple test-cases that fail:

$ mkdir /tmp/foo\ bar
$ touch /tmp/foo\ bar/blah
$ cat /tmp/foo\ bar/b[TAB]
## Doesn't expand to /tmp/foo\ bar/blah !!
## NB: compgen doesn't have this problem...
$ compgen -f /tmp/foo\ bar/b
/tmp/foo bar/blah

$ mkdir -p /tmp/a\ b/cde
$ cd /tmp/a\ b/c[TAB]
## Doesn't expand to /tmp/a\ b/cde !!
## NB: compgen doesn't have this problem...
$ compgen -d /tmp/a\ b/c
/tmp/a b/cde


Thanks,
--Joe

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

Kernel: Linux 2.6.30-1-686 (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-completion depends on:
ii  bash                          4.0-4      The GNU Bourne Again SHell

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information




Severity set to 'important' from 'normal' Request was from Freddy Vulto <fvulto@gmail.com> to control@bugs.debian.org. (Fri, 02 Oct 2009 12:04:16 GMT) (full text, mbox, link).


Added tag(s) confirmed, pending, and fixed-upstream. Request was from Freddy Vulto <fvulto@gmail.com> to control@bugs.debian.org. (Fri, 02 Oct 2009 12:04:17 GMT) (full text, mbox, link).


Merged 544024 547349 549284. Request was from Freddy Vulto <fvulto@gmail.com> to control@bugs.debian.org. (Fri, 02 Oct 2009 12:04:20 GMT) (full text, mbox, link).


Merged 544024 547349 549284 549548. Request was from Freddy Vulto <fvulto@gmail.com> to control@bugs.debian.org. (Mon, 05 Oct 2009 21:09:11 GMT) (full text, mbox, link).


Merged 544024 547349 549284 549548 550186. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Thu, 08 Oct 2009 20:00:12 GMT) (full text, mbox, link).


Forcibly Merged 544024 547349 549284 549548 550186 556224. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Sat, 14 Nov 2009 17:06:07 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 24 Dec 2009 07:29:49 GMT) (full text, mbox, link).


Bug unarchived. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 09 Dec 2010 04:27:09 GMT) (full text, mbox, link).


Forcibly Merged 543982 544024 544956 547349 548454 549284 549548 550186 556224. Request was from Jonathan Nieder <jrnieder@gmail.com> to control@bugs.debian.org. (Thu, 09 Dec 2010 04:27:13 GMT) (full text, mbox, link).


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:09 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.