1for i in $* 2do 3 echo $i >/dev/tty 4 echo $i '<<<' 5 cd .. 6 echo testdir/$i: 7 ind <testdir/$i 8 a.out -f testdir/$i >drek.c 9 cat drek.c 10 make drek || ( echo $i ' ' bad compile; echo $i ' ' bad compile >/dev/tty; continue ) 11 cd testdir 12 time awk -f $i test.countries >foo1 13 time ../drek test.countries >foo2 14 cmp foo1 foo2 || ( echo $i ' ' bad; echo $i ' ' bad >/dev/tty; diff foo1 foo2 ) 15 echo '>>>' $i 16 echo 17done 18