diff options
Diffstat (limited to 'gen/maketables.sh')
-rwxr-xr-x | gen/maketables.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gen/maketables.sh b/gen/maketables.sh new file mode 100755 index 0000000..dffc937 --- /dev/null +++ b/gen/maketables.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +export TABLE=`mktemp` +export DEATHTABLE=`mktemp` +python python/deathtable.py > $DEATHTABLE +python python/table.py > $TABLE +sed -e "/%%DEATHTABLE%%/{r $DEATHTABLE" -e "d}" -e "/%%MAINTABLE%%/{r $TABLE" -e "d}" <data/tables.orig.tex >data/tables.tex +rm $DEATHTABLE $TABLE |