if test ! -f exitval; then return 1; fi
if test 1 -ne $(cat exitval); then return 1; fi
if test ! -f stoppattern; then return 1; fi
if grep -v  $'Recognized different word.*\xcf\xcf\xcf\xcf\xcf\xcf' stoppattern > /dev/null; then return 1; fi
return 0