[Bash-completion-devel] [bash-completion-Bugs][314630] Processus names completion: fixme for processus module names
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Tue Mar 18 22:33:56 UTC 2014
bash-completion-Bugs item #314630, was opened at 2014-03-18 23:33 by Samuel BAUER
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314630&group_id=100114
Status: Open
Priority: 3
Submitted By: Samuel BAUER (mazes_80-guest)
Assigned to: Nobody (None)
Summary: Processus names completion: fixme for processus module names
Distribution: Gentoo
Originally reported in: Debian BTS
Milestone: None
Status: None
Original bug number:
Initial Comment:
# FIXME: completes "[kblockd/0]" to "0". Previously it was completed
# to "kblockd" which isn't correct either. "kblockd/0" would be
# arguably most correct, but killall from psmisc 22 treats arguments
# containing "/" specially unless -r is given so that wouldn't quite
# work either. Perhaps it'd be best to not complete these to anything
# for now.
In bash_completion script, doesn't point to any opened bug, sorry if there's already one.
The attached patch replace "s:.*/::"
by "/^[^[]/s:.*/::"
Who won't match modules, and output desired kblockd/0
I only tested it with bash-completion-1.3 (current stable in gentoo).
Hope being helpful.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=314630&group_id=100114
More information about the Bash-completion-devel
mailing list