]> git.pld-linux.org Git - packages/bash-completion.git/blame - bash-completion-service.patch
- use just one path: s#/var/cache/rpmpkgs.txt#/var/log/rpmpkgs#g
[packages/bash-completion.git] / bash-completion-service.patch
CommitLineData
628b594d
ER
1match Usage filters from PLD Linux initscripts
2sample initscript template can be found from here:
3
4http://svn.pld-linux.org/cgi-bin/viewsvn/rc-scripts/trunk/rc.d/init.d/template.init?rev=HEAD&view=log
5
6--
7Signed-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
This page took 0.078705 seconds and 4 git commands to generate.