home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD2.bin
/
bbs
/
gnu
/
gawk-2.15.5-src.lha
/
gawk-2.15.5
/
test
/
regtest
< prev
next >
Wrap
Text File
|
1993-10-20
|
265b
|
19 lines
#! /bin/sh
case "$AWK" in
"") AWK=../gawk ;;
esac
#AWK=${AWK:-../gawk}
for i in reg/*.awk
do
it=`basename $i .awk`
$AWK -f $i <reg/$it.in >reg/$it.out 2>&1
if cmp -s reg/$it.out reg/$it.good
then
rm -f reg/$it.out
else
echo "regtest: $it fails"
fi
done