1*9a7741deSElliott Hughesecho T.chem: test chem.awk 2*9a7741deSElliott Hughes 3*9a7741deSElliott Hughesawk=${awk-../a.out} 4*9a7741deSElliott Hughesoldawk=${oldawk-awk} 5*9a7741deSElliott Hughes 6*9a7741deSElliott Hughesfor i in lsd1.p penicil.p res.p 7*9a7741deSElliott Hughesdo 8*9a7741deSElliott Hughes $awk -f chem.awk $i >foo1 9*9a7741deSElliott Hughes $oldawk -f chem.awk $i >foo2 10*9a7741deSElliott Hughes diff foo1 foo2 || echo "BAD: T.chem on $i" 11*9a7741deSElliott Hughesdone 12