#!/bin/sh
# Get the structure of tth.
EXCL=`sed -n -e "s/%x //p" <tth.lex`
echo Exclusives: $EXCL
for STATE in $EXCL; do egrep [\<,]$STATE tth.lex; done
echo
ADDN=`sed -n -e "s/^%s //p" <tth.lex`
echo "Additionals:" $ADDN
for STATE in $ADDN; do egrep [\<,]$STATE tth.lex; done
