]> git.pld-linux.org Git - packages/bash-completion.git/blob - bash-completion-service.patch
b8e5fa7db66dc3284a0e398bcb6c58ad664fcd68
[packages/bash-completion.git] / bash-completion-service.patch
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
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  
This page took 0.059289 seconds and 2 git commands to generate.