#!//bin/ksh

PRG=`whence $0` >/dev/null 2>&1
THISTLE_HOME=`dirname $PRG`/..


export SPECSPATHS=${THISTLE_HOME}/Specs

thistle=${THISTLE_HOME}/bin/thistle

#
# Here are the collections of different examples.

# drskr.spec

drskregs="${THISTLE_HOME}/Examples/drskr*sgml"

drskrscripts="${THISTLE_HOME}/Examples/drskr*script"

for f in ${drskregs} 
do
	thistle -c drskr.spec $f	
done

for f in ${drskrscripts} 
do
	thistle -c drskr.spec -s $f	
done

######################################################################

hpsgegs="${THISTLE_HOME}/Examples/hpsg.*sgml"
hpsgscripts="${THISTLE_HOME}/Examples/hpsg*script"

for f in ${hpsgegs}
do
	thistle -c hpsg94.spec $f
done

for f in ${hpsgscripts}
do
	thistle -c hpsg94.spec -s $f
done
