]>
Commit | Line | Data |
---|---|---|
628b594d ER |
1 | match Usage filters from PLD Linux initscripts |
2 | sample initscript template can be found from here: | |
3 | ||
4 | http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/trunk/rc.d/init.d/template.init?rev=HEAD&view=log | |
5 | ||
6 | -- | |
7 | Signed-off-by: Elan Ruusamäe <glen@delfi.ee> | |
8 | ||
6d5de388 ER |
9 | --- bash-completion-1.0/bash_completion~ 2009-05-12 12:05:37.000000000 +0300 |
10 | +++ bash-completion-1.0/bash_completion 2009-05-12 12:07:58.771759678 +0300 | |
11 | @@ -751,7 +751,7 @@ | |
12 | _services | |
13 | else | |
14 | COMPREPLY=( $( compgen -W '`sed -ne "y/|/ /; \ | |
15 | - s/^.*Usage.*{\(.*\)}.*$/\1/p" \ | |
16 | + s/^.*\(U\|msg_u\)sage.*{\(.*\)}.*$/\2/p" \ | |
17 | $sysvdir/${prev##*/} 2>/dev/null`' -- $cur ) ) | |
18 | fi | |
19 |