Update find_bad_words.sh 74/45274/2
authorColin Dixon <colin@colindixon.com>
Tue, 6 Sep 2016 21:05:50 +0000 (17:05 -0400)
committerColin Dixon <colin@colindixon.com>
Tue, 6 Sep 2016 21:07:30 +0000 (17:07 -0400)
Change-Id: I7e80bae2b3a61acc953e29a94dde89cf9a79637e
Signed-off-by: Colin Dixon <colin@colindixon.com>
find_bad_words.sh

index 265e1b37fd39dd11d712933e4e4da9fb436ee464..e556f25137117137272addd8dbe84872b7149c8b 100755 (executable)
@@ -1,3 +1,6 @@
-egrep --color -nir --include=*.{adoc,rst} beryllium\|lithium .
-egrep --color -nir --include=*.{adoc,rst} open\ ?flow . | grep -v OpenFlow | grep -v openflow: | grep -v \-openflow\- | grep -v openflowplugin | grep -v openflowjava | grep -v Openflow13 | grep -v \_OPENFLOW | grep -v OpenflowNode | grep --color -i OpenFlow
-egrep --color -nir --include=*.{adoc,rst} open\ ?daylight . | grep -v OpenDaylight | grep -v \.opendaylight\. | grep -v \/opendaylight | grep -v \=opendaylight | grep --color -i OpenDaylight
+egrep --color -nir --include=*.rst beryllium\|lithium docs
+egrep --color -nir --include=*.rst open\ ?flow docs | grep -v OpenFlow | grep -v openflow: | grep -v \-openflow\- | grep -v openflowplugin | grep -v openflowjava | grep -v Openflow13 | grep -v \_OPENFLOW | grep -v OpenflowNode | grep --color -i OpenFlow
+egrep --color -nir --include=*.rst open\ ?daylight docs | grep -v OpenDaylight | grep -v \.opendaylight\. | grep -v \/opendaylight | grep -v \=opendaylight | grep --color -i OpenDaylight
+egrep --color -nir --include=*.rst [^-]acl[^-_\":] docs | grep -v ACL | grep -vi maclearn | grep -vi oracle | grep --color -i acl
+#the ovs[db] search seemed to produce only false positives
+#egrep --color -nir --include=*.rst [^-/_\"\']ovs[^-:k_] docs | grep -v OVS | egrep -v ovsdb[:-] | grep --color -i ovs