[Nagiosplug-checkins] CVS: nagiosplug/tools oneliners,NONE,1.1

Karl DeBisschop kdebisschop at users.sourceforge.net
Thu Nov 7 23:19:01 CET 2002


Update of /cvsroot/nagiosplug/nagiosplug/tools
In directory usw-pr-cvs1:/tmp/cvs-serv11863/tools

Added Files:
	oneliners 
Log Message:
some useful onliners

--- NEW FILE ---
perl -ne '(m/AC_DEFINE(_UNQUOTED)?\(([^,]+)/) && print "$2\n";' configure.in | sort | uniq > DEFS
perl -ne '(m/^.undef (.*)$/) && print "$1\n";' plugins/config.h.in | sort | uniq | diff - DEFS | grep '>'
for f in plugins/check_*; do if test -x $f ; then ./$f --help > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
for f in plugins/check_*; do if test -x $f ; then ./$f --version > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
for f in check_*; do if test -x $f ; then ./$f --help > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done
for f in check_*; do if test -x $f ; then ./$f --version > /dev/null; if [ $? -gt 0 ]; then echo $f failed; fi; fi; done





More information about the Commits mailing list