#!/bin/sh
if [ -z "$1" ]; then 
    for f in *.direct-vs-sensitive; do
      ln -s $f data; gnuplot < gnuplot_commands; rm data; mv plot.eps $f.plot.eps
    done
else
    f="$1"
    ln -s $f data; gnuplot < gnuplot_commands; rm data; mv plot.eps $f.plot.eps
fi
