awk/testdir/T.chem

12 lines
212 B
Plaintext
Raw Normal View History

2019-06-23 05:13:57 -04:00
echo T.chem: test chem.awk
awk=${awk-../a.out}
2019-11-08 07:36:37 -05:00
oldawk=${oldawk-awk}
2019-06-23 05:13:57 -04:00
for i in lsd1.p penicil.p res.p
do
$awk -f chem.awk $i >foo1
2019-11-08 07:36:37 -05:00
$oldawk -f chem.awk $i >foo2
2019-06-23 05:13:57 -04:00
diff foo1 foo2 || echo "BAD: T.chem on $i"
done