Your message dated Fri, 16 Apr 2010 03:20:07 +0200
with message-id <1271380807.4858.469.ca...@adrastea.tcw.local>
and subject line bug doesn't happen anymore
has caused the Debian Bug report #502577,
regarding bash-completion breaks with "sudo"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
502577: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502577
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: bash
Version: 3.2-4
Severity: minor

Hi,

this bug is rather known (seen it on the ubuntu bts), see this 
demonstration:

mschm...@kalyke:/tmp/Test_Verzeichnis2$ sudo mount -o loop test
test datei.iso  test_datei.iso  
mschm...@kalyke:/tmp/Test_Verzeichnis2$ sudo mount -o loop test\ dgrep: 
Trailing backslash
grep: Trailing backslash

mschm...@kalyke:/tmp/Test_Verzeichnis2$ mount test\ datei.iso 
mschm...@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



--- End Message ---
--- Begin Message ---
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



--- End Message ---
_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to