Debian Bug report logs -
#502577
bash-completion breaks with "sudo"
Reported by: Michael Schmitt <mschmitt@unixkiste.org>
Date: Sat, 18 Oct 2008 02:03:02 UTC
Severity: minor
Done: Michael Schmitt <mschmitt@unixkiste.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, mschmitt@unixkiste.org, Matthias Klose <doko@debian.org>:
Bug#502577; Package bash.
(Sat, 18 Oct 2008 02:03:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Schmitt <mschmitt@unixkiste.org>:
New Bug report received and forwarded. Copy sent to mschmitt@unixkiste.org, Matthias Klose <doko@debian.org>.
(Sat, 18 Oct 2008 02:03:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: bash
Version: 3.2-4
Severity: minor
Hi,
this bug is rather known (seen it on the ubuntu bts), see this
demonstration:
mschmitt@kalyke:/tmp/Test_Verzeichnis2$ sudo mount -o loop test
test datei.iso test_datei.iso
mschmitt@kalyke:/tmp/Test_Verzeichnis2$ sudo mount -o loop test\ dgrep:
Trailing backslash
grep: Trailing backslash
mschmitt@kalyke:/tmp/Test_Verzeichnis2$ mount test\ datei.iso
mschmitt@kalyke:/tmp/Test_Verzeichnis2$
I tried to let bash autocomplete after I typed test\ d...
So as it seems, it will not work correctly when the file to complete
contains a whitespace AND if I use sudo.
There is a note in /etc/bash_completion about sudo:
# A meta-command completion function for commands like sudo(8), which
need to
# first complete on a command, then complete according to that command's
own
# completion definition - currently not quite foolproof (e.g. mount and
umount
# don't work properly), but still quite useful.
yeah, not so foolproof ;) it would be nice if someone would have an idea
how to improve the really nice completion feature there.
greetings
Michael
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-etchnhalf.1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bash depends on:
ii base-files 4.0.5 Debian base system miscellaneous f
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libncurses5 5.6+20080925-1 shared libraries for terminal hand
Versions of packages bash recommends:
pn bash-completion <none> (no description available)
Versions of packages bash suggests:
pn bash-doc <none> (no description available)
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Matthias Klose <doko@debian.org>:
Bug#502577; Package bash.
(Fri, 24 Jul 2009 18:42:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Luk Claes <luk@debian.org>:
Extra info received and forwarded to list. Copy sent to Matthias Klose <doko@debian.org>.
(Fri, 24 Jul 2009 18:42:04 GMT) (full text, mbox, link).
Message #10 received at 502577@bugs.debian.org (full text, mbox, reply):
# Automatically generated email from bts, devscripts version 2.10.25~bpo40+1
# completion bug
reassign 502577 bash-completion
Bug reassigned from package 'bash' to 'bash-completion'.
Request was from Luk Claes <luk@debian.org>
to control@bugs.debian.org.
(Fri, 24 Jul 2009 18:42:06 GMT) (full text, mbox, link).
Bug No longer marked as found in versions bash/3.2-4.
Request was from Luk Claes <luk@debian.org>
to control@bugs.debian.org.
(Fri, 24 Jul 2009 18:42:07 GMT) (full text, mbox, link).
Reply sent
to Michael Schmitt <mschmitt@unixkiste.org>:
You have taken responsibility.
(Fri, 16 Apr 2010 01:54:06 GMT) (full text, mbox, link).
Notification sent
to Michael Schmitt <mschmitt@unixkiste.org>:
Bug acknowledged by developer.
(Fri, 16 Apr 2010 01:54:06 GMT) (full text, mbox, link).
Message #19 received at 502577-done@bugs.debian.org (full text, mbox, reply):
Hi,
I just tested the same thing as in 2008, no idea when or what did fix it
but now bash-completion works as expected, hence I close the bug.
regards
Michael
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 14 May 2010 07:40:03 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:41:21 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.