xref: /freebsd/contrib/one-true-awk/testdir/T.chem (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1echo T.chem:  test chem.awk
2
3awk=${awk-../a.out}
4oldawk=${oldawk-awk}
5
6for i in lsd1.p penicil.p res.p
7do
8	$awk -f chem.awk $i >foo1
9	$oldawk -f chem.awk $i >foo2
10	diff foo1 foo2 || echo "BAD: T.chem on $i"
11done
12