Debian Bug report logs - #511149
Doesn't handle escaped spaces in /etc/fstab well

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: James Westby <james.westby@canonical.com>

Date: Wed, 7 Jan 2009 19:39:02 UTC

Severity: minor

Tags: confirmed, fixed-upstream, pending

Found in version bash-completion/20080705

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

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://alioth.debian.org/tracker/index.php?func=detail&aid=311410&group_id=100114&atid=413095

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#511149; Package bash-completion. (Wed, 07 Jan 2009 19:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to James Westby <james.westby@canonical.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Wed, 07 Jan 2009 19:39:04 GMT) (full text, mbox, link).


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

From: James Westby <james.westby@canonical.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Doesn't handle escaped spaces in /etc/fstab well
Date: Wed, 07 Jan 2009 19:35:16 +0000
Package: bash-completion
Version: 20080705
Severity: minor

Hi,

In https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/219971
Danil Ilinykh reported that the handling of escaped spaces in /etc/fstab
is not ideal.

"Because of I can't use "/some path" or /some\ path in fstab, I write
some\040path as mount point. I write "mount /some" in bash and press
Tab, I see "mount /some\\040path" instead of "mount /some\ path""

I can verify this behaviour on sid.

Thanks,

James




Information stored :
Bug#511149; Package bash-completion. (Wed, 07 Jan 2009 20:06:06 GMT) (full text, mbox, link).


Acknowledgement sent to David Paleino <d.paleino@gmail.com>:
Extra info received and filed, but not forwarded. (Wed, 07 Jan 2009 20:06:06 GMT) (full text, mbox, link).


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

From: David Paleino <d.paleino@gmail.com>
To: James Westby <james.westby@canonical.com>
Cc: 511149-quiet@bugs.debian.org, Bash-Completion Developers <bash-completion-devel@lists.alioth.debian.org>
Subject: Re: Bug#511149: Doesn't handle escaped spaces in /etc/fstab well
Date: Wed, 7 Jan 2009 21:04:16 +0100
[Message part 1 (text/plain, inline)]
Hello James,

On Wed, 07 Jan 2009 19:35:16 +0000, James Westby wrote:

> Package: bash-completion
> Version: 20080705
> Severity: minor
> 
> Hi,
> 
> In https://bugs.launchpad.net/ubuntu/+source/bash-completion/+bug/219971
> Danil Ilinykh reported that the handling of escaped spaces in /etc/fstab
> is not ideal.
> 
> "Because of I can't use "/some path" or /some\ path in fstab, I write
> some\040path as mount point. I write "mount /some" in bash and press
> Tab, I see "mount /some\\040path" instead of "mount /some\ path""

About \040 becoming \\040, we can't really do anything, sorry -- that's Bash
escaping special chars ("\" in this case).

About handling whitespace in mountpoints, I will work on it.

Thank you,
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)]

Noted your statement that Bug has been forwarded to http://alioth.debian.org/tracker/index.php?func=detail&aid=311410&group_id=100114&atid=413095. Request was from David Paleino <d.paleino@gmail.com> to control@bugs.debian.org. (Fri, 30 Jan 2009 09:28:03 GMT) (full text, mbox, link).


Added tag(s) fixed-upstream. Request was from bts-link-upstream@lists.alioth.debian.org to control@bugs.debian.org. (Mon, 15 Feb 2010 17:06:32 GMT) (full text, mbox, link).


Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 16 Jun 2010 17:21:11 GMT) (full text, mbox, link).


Notification sent to James Westby <james.westby@canonical.com>:
Bug acknowledged by developer. (Wed, 16 Jun 2010 17:21:11 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: 511149-close@bugs.debian.org
Subject: Bug#511149: fixed in bash-completion 1:1.2-1
Date: Wed, 16 Jun 2010 17:17:09 +0000
Source: bash-completion
Source-Version: 1:1.2-1

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_1.2-1.debian.tar.gz
  to main/b/bash-completion/bash-completion_1.2-1.debian.tar.gz
bash-completion_1.2-1.dsc
  to main/b/bash-completion/bash-completion_1.2-1.dsc
bash-completion_1.2-1_all.deb
  to main/b/bash-completion/bash-completion_1.2-1_all.deb
bash-completion_1.2.orig.tar.gz
  to main/b/bash-completion/bash-completion_1.2.orig.tar.gz



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 511149@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <dapal@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: Wed, 16 Jun 2010 19:03:06 +0200
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:1.2-1
Distribution: unstable
Urgency: low
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 501479 511149 511788 545530 547361 550590 550943 552109 552631 553371 557436 565447 572000 579471
Changes: 
 bash-completion (1:1.2-1) unstable; urgency=low
 .
   * New upstream release
     - contrib/munin-node fixed (Closes: #550943)
     - contrib/dpkg fixed -W and --show completing on .?(u)deb's
       (Closes: #552109)
     - added munindoc completion to contrib/munin-node, thanks to Tom
       Feiner (Closes: #553371)
     - contrib/cpio: added missing completions for -?, --help, --license,
       --usage, --version and (-p) --to-stdout (Closes: #557436)
     - added .okular completion to okular (Closes: #545530)
     - refreshed reportbug completion, added --from-buildd (Closes: #579471)
     - special-case "apt-get source" (Closes: #572000)
     - added lintian completion (Closes: #547361)
     - protect various completions from unusual user input by not embedding the
       input in external command arguments (Closes: #552631)
     - awk and sed usage portability fixes (Closes: #501479)
     - fix completion of usernames (Closes: #511788)
     - fix mount handling of escapes (LP: #219971, Closes: #511149)
     - update find completion (LP: #570113)
   * debian/patches/* removed, merged upstream
   * debian/control:
     - add Conflicts/Replaces on xen-tools (<= 4.1-1) (Closes: #550590)
     - Standards-Version bumped to 3.8.4, no changes needed
   * debian/links: remove dangling symlink in /usr/share/doc/bash
     (Closes: #565447)
   * debian/watch: fix regex to avoid old timestamp-based releases
   * debian/preinst: definitely remove anything in /usr/share/doc/bash/
   * debian/source/format: using 3.0 (quilt)
   * debin/rules made minimal
Checksums-Sha1: 
 3051093e01e885ee8c8345142c92f9344cad710b 1317 bash-completion_1.2-1.dsc
 7de7b5e786b0e908f7ee0bfac90ed70dfd96c675 242978 bash-completion_1.2.orig.tar.gz
 3ce2e743d6b92c05cab5e2e82dd0b50c163c3862 16552 bash-completion_1.2-1.debian.tar.gz
 3f59a75c329bb83589938b5a0c070bd0e4c9591e 137456 bash-completion_1.2-1_all.deb
Checksums-Sha256: 
 bda1ce86323dc93dac999b2e589d2a1fe193f4401b4713ba5424e96ca1c63405 1317 bash-completion_1.2-1.dsc
 ab24999e7ba29a0287e4d3d3faaf068904b81bc4f9ea8c79f6b130983b4c6ceb 242978 bash-completion_1.2.orig.tar.gz
 fae01e9e57e233c285f31522aab2239b997efd9339409566a09dd6e25cdc8513 16552 bash-completion_1.2-1.debian.tar.gz
 2a964117a7b81b6b1b0c51d6e23fa2eb46b09c6b1f816f9ae953d6437dbef8bb 137456 bash-completion_1.2-1_all.deb
Files: 
 4773d26304a9eab165a000191115ed26 1317 shells standard bash-completion_1.2-1.dsc
 457c8808ed54f2b2cdd737b1f37ffa24 242978 shells standard bash-completion_1.2.orig.tar.gz
 0b846b5cae5db3d27cf7cc7cc78e0ea6 16552 shells standard bash-completion_1.2-1.debian.tar.gz
 13fee2ae3efbfd95f3d4d5f4fb3574ea 137456 shells standard bash-completion_1.2-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwZBIgACgkQ5qqQFxOSsXST3gCfRvqWvKwyJVEZ72DXs6h6IqVf
1MEAoKDsW0uHf8mBnMzZqysMgsVBP2Nz
=wxHC
-----END PGP SIGNATURE-----





Added tag(s) confirmed and pending. Request was from David Paleino <dapal@debian.org> to control@bugs.debian.org. (Wed, 16 Jun 2010 17:33:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 15 Jul 2010 07:34:26 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:46:47 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.