autocolors 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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