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

if [ -f $2/${1%fs}i ]
then
    execs=$(grep '^// exec:' $2/${1%fs}i | cut -f3- -d' ')
fi

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