#!/bin/sh
MF=../../mf
DIFFC="gnudiff -c"
PATH=../mfware:$PATH

rm -f trap.log trapin.log trap.mf trap.72270gf trap.tfm trap.base trap.typ
ln -s $MF/trap.mf .

./trapmf <<EOF >/dev/null 2>&1
trap
EOF

mv trap.log trapin.log
$DIFFC $MF/trapin.log trapin.log

./trapmf <<EOF >/dev/null 2>&1
 &trap  trap
EOF

$DIFFC $MF/trap.log trap.log

gftype trap.72270gf >trap.typ <<EOF 2>/dev/null
true
true
EOF

$DIFFC $MF/trap.typ trap.typ
