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