Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > 7a758bdd2160a4d147292e91e454880b > files > 43

wv-devel-0.6.5-2mdk.i586.rpm

#!/bin/sh

#the idea here is test all the word docs looking for a crash
#im using this on my 
#
#C.

for filename in *
	do
	echo filename is $filename
    wvSimpleCLX "$filename" 
	test=$?
	echo status is $test
	if [ "$test" = "0" ] ; then
	echo $filename >> /tmp/simple
	fi
	if [ "$test" = "1" ] ; then
	echo $filename >> /tmp/complex
	fi
	if [ "$test" = "2" ] ; then
	echo $filename >> /tmp/neither
	fi
	done