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"

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente

_______________________________________________
Bash-completion-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to