xref: /freebsd/contrib/one-true-awk/testdir/T.chem (revision 02e9120893770924227138ba49df1edb3896112a)
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