[Bash-completion-devel] Bug#497540:

Santiago M. Mola cooldwind at gmail.com
Thu Jan 29 19:53:11 UTC 2009


I can't reproduce the original issue. The old code:
  ps axo command | sed -ne "1d; s/^\[\?\([^-][^] ]*\).*$/\1/p" | sed -e
"s/.*\///"
outputs dbus-daemon correctly.

Could someone post the 'ps axo command' output from Debian? Can anyone
actually confirm the original bug?

By the way, both the old and new code get some commands wrong (noticed
those '0' and '1' one the completion?). Something like this might work
better:
  ps axo command |sed -e "1d; s: .*$::g; s:^/.*/::g; s/:$//g; s:^-::g;
s:^\[::g; s:\]$::g; s:/.*::g"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
 digitalmente
Url : http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090129/d2775fef/attachment-0001.pgp 


More information about the Bash-completion-devel mailing list