[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    playground/base/kdetestscripts
From:       Benjamin Meyer <ben () meyerhome ! net>
Date:       2005-08-22 8:52:46
Message-ID: 1124700766.753589.18989.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 451933 by bmeyer:

Ignore comments


 M  +1 -1      isempty  


--- trunk/playground/base/kdetestscripts/isempty #451932:451933
@@ -7,7 +7,7 @@
 ##
 
 for file in `find . -name '*.cpp' -o -name '*.cc'` ; do
-	awk '{gsub(/[\t]/, " ", $0); } /==[ ]*""/||/""[ ]*==/||/!=[ ]*""/||/""[ ]*!=/ { \
print NR":" $0; num++ } END { if (num > 0) exit 1 } ' $file +	awk '{gsub(/[\t]/, " ", \
$0); } /((==[ ]*"")|(""[ ]*== )|(!=[ ]*"")|(""[ ]*!=))/ { print NR":" $0; num++ } END \
{ if (num > 0) exit 1 } ' $file | awk '! /^.*:.*[ ]\/\// { print $0 }'  if [ $? == 1 \
] ; then  echo $file;
 		echo


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic