#!/bin/sh

TM=$1
if [ ! -f $TM ] ; then
   make $TM
fi

skip_to_line=`grep -n "function{tess_auto_summarize}" $TM | cut -d: -f1`
tail +$skip_to_line $TM > ${TM}.tmp
mv ${TM}.tmp $TM
