1 2 3 4 5 6 7 8 9 10
#!/bin/sh i=0 while test $i -lt 11; do ./check$i e=$? if test $e -ne 0; then echo "method $i: $e errors found"; fi i=$(($i+1)) done echo "done."