aboutsummaryrefslogtreecommitdiff
path: root/data/maketables.sh
blob: 0f043ad3435db408e565688bf42748476ae05471 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

export TABLE=`mktemp`
export DEATHTABLE=`mktemp`
echo $TABLE
python data.py deathtable > $DEATHTABLE
python data.py table > $TABLE
sed -e "/%%DEATHTABLE%%/{r $DEATHTABLE" -e "d}" -e "/%%MAINTABLE%%/{r $TABLE" -e "d}" <data/tables.orig.tex >data/tables.tex
rm $DEATHTABLE $TABLE