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