1: 2# 3# Copyright 1992 by Jutta Degener and Carsten Bormann, Technische 4# Universitaet Berlin. See the accompanying file "COPYRIGHT" for 5# details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE. 6# 7if [ ! -f 1.inp ] ; then 8 echo Sorry, but we cannot provide the test data with this release. 9 exit 10fi 11 12echo -n 'Linear to code: ' 13for i in 1 2 3 4 14do 15 echo -n $i.. 16 ./lin2cod < $i.inp | cmp - $i.cod 17done 18echo "" 19 20echo -n 'Code to linear: ' 21for i in 1 2 3 4 22do 23 echo -n $i.. 24 ./cod2lin < $i.cod | cmp - $i.out 25done 26echo "" 27 28echo -n 'Toast: ' 29for i in 1 2 3 4 30do 31 echo -n $i.. 32 ../bin/toast -l < $i.inp | ../bin/toast -dl | cmp - $i.out 33done 34echo "" 35