#!/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.tex rm $DEATHTABLE $TABLE