#!/bin/sh

type=$1

makekl $type long > dot.sh.$type
chmod a+x dot.sh.$type
dot.sh.$type | sed -e 's/ q/X/g' -e 's/+ /+/g' | grep -v 'balance: 0' > dot.out.$type

# makelie $type long > dot.lie.$type
# lie < dot.lie.$type | sed -e 's/^> *//' > dot.lieout.$type

diff dot.lieout.$type dot.out.$type
