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