#!/bin/sh ERRORS=0 for f in thompson/*.hs ; do /bin/sh testOne ${f%.hs}; ERRORS=$[$ERRORS+$?] ; done exit $ERRORS