ledger/test/prove.sh
2009-02-28 06:18:21 -04:00

11 lines
251 B
Bash
Executable file

#!/bin/sh
if [ -n "$1" ]; then
ledger --seed=$1 --actual --args-only generate > /tmp/cout
else
ledger --actual --args-only generate > /tmp/cout
fi
ledger -f /tmp/cout --actual --args-only print > /tmp/print
diff -w -U3 /tmp/cout /tmp/print