[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kdetestscripts
From: Benjamin Meyer <benjamin () csh ! rit ! edu>
Date: 2005-03-17 16:45:13
Message-ID: 20050317164513.D82601853F () office ! kde ! org
[Download RAW message or body]
CVS commit by bmeyer:
Add more words to find
M +2 -8 donot 1.2
--- kdenonbeta/kdetestscripts/donot #1.1:1.2
@@ -8,6 +8,4 @@
for file in `find . -name '*.cpp' -o -name '*.cc' -o -name '*.c' -o -name '*.h' -o \
-name '*.cxx' -o -name '*.py' -o -name '*.docbook'` ; do
- # awk '{tolower($0)} /don\\'t/ {print $0; exit 1}' $file
-
# C++ comment
grep "\/\/" $file >> /dev/null
@@ -26,10 +24,6 @@
if [ $? = 1 ] ; then
- grep don\'t $file
- if [ $? = 0 ] ; then
- echo "Possible warning in: $file"
- fi
-
- grep doesn\'t $file
+ grep -e "\(don't\|havn't\|won't\|we'll\|doesn't\|can't\)" $file
+ #grep -e "\(don't\|doesn't\)" $file
if [ $? = 0 ] ; then
echo "Possible warning in: $file"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic