#!/bin/sh BINDIR=/usr/lib/fastdnaml/bin if [ $# -lt 1 ] ; then echo "Usage: $0 " 1>&2 echo " Existing utilities are:" ls ${BINDIR} exit 1 fi WRAPPER=$0 PROGRAM=$1 shift ARGS=$* if [ -x ${BINDIR}/${PROGRAM} ]; then exec ${BINDIR}/${PROGRAM} ${ARGS} else echo "Usage: utility ${PROGRAM} does not exist in fastDNAml" echo " Existing utilities are:" ls ${BINDIR} exit 1 fi