X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=find_bad_words.sh;h=03976401775631b63e79a50ce191ce4dee4a910d;hb=f47699c697944e9ad4b268cc1ffa0eea495b99fa;hp=e556f25137117137272addd8dbe84872b7149c8b;hpb=951b27e44af8f3cbc36997b5cac0a8090d86c4f5;p=docs.git diff --git a/find_bad_words.sh b/find_bad_words.sh index e556f2513..039764017 100755 --- a/find_bad_words.sh +++ b/find_bad_words.sh @@ -1,6 +1,23 @@ +#Search for older releases egrep --color -nir --include=*.rst beryllium\|lithium docs + +#Search for misspellings and miss-capitalizations of OpenFlow 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 + +#Search for misspellings and miss-capitalizations of OpenDaylight egrep --color -nir --include=*.rst open\ ?daylight docs | grep -v OpenDaylight | grep -v \.opendaylight\. | grep -v \/opendaylight | grep -v \=opendaylight | grep --color -i OpenDaylight + +#Search for misspellings and miss-capitalizations of ACL 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 + +#Search for git.opendaylight.org links to the next release as opposed the current release +# Note that past releases are caught above +egrep --color -nir --include=*.rst hb=HEAD docs +egrep --color -nir --include=*.rst hb=master docs + +#Search for links to jenkins.opendaylight.org and logs.opendaylight.org, which are temporary +egrep --color -nir --include=*.rst jenkins\.opendaylight\.org docs +egrep --color -nir --include=*.rst logs\.opendaylight\.org docs