#!/bin/bash if [ $# -eq 0 ] then echo "Syntax: $0 WINEOPTS..." exit 1 fi TMP=`mktemp` CMD=$1 shift 1 echo "#!/bin/bash" > $TMP cat >> $TMP <