#!/bin/sh
# this file is in the public domain

execs=$(grep '^// prep:' $2/${1%-fsi.c+}.i | cut -f3- -d' ')

if [ -z "$execs" ]
then
    cat $1
else
    cat $1 | eval $execs
fi
