autocolors 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,13 @@
1
+ #!/bin/bash
2
+ set -u
3
+ set -x
4
+ export LC_ALL=C
5
+ locate -i '*.vim' | xargs egrep -sIhi '^[ ]*hi' | tr -u '\011' ' ' \
6
+ | grep -v '<' | egrep -v '[ ]clear([ ]|$)' \
7
+ | sed -E -e 's/[ ]*".*//g' -e 's/^[ ]*//g' -e 's/[ ]+/ /g' -e 's/
8
+ -e 's/^[hH][iI]([gG][hH][lL][iI][gG][hH][tT])?([ ]*[dD][eE][fF]([aA][uU][lL][tT])?)?/hi/g' \
9
+ -e 's/^hi!?[ ]*[lL][iI][nN][kK]/map/g' -e 's/^hi([^ ].*|$)//g' \
10
+ -e 's/^hi[ ][^ ]+$//g' -e 's/^hi/def/g' \
11
+ >> ./statements.list
12
+ sort -o ./tmpstatements.list -u ./statements.list
13
+ mv ./tmpstatements.list ./statements.list