phd@harvard.ARPA (Paul Dormitzer) (12/21/84)
One other tiny bug in the shell script is that you can't pass extra arguments through it. (ie. hack -u Gandalf-W won't do anything) A fix is to put $@ after the HACKDIR but before MAXNROFPLAYERS. #!/bin/sh HACK=/usr/games/HACK HACKDIR=/usr/games/lib/hack/tmp MAXNROFPLAYERS=6 MORE=/usr/ucb/more cd $HACKDIR case x$1 in x-s*) $HACK $@ ;; x*) # /bin/cat news $HACK -d$HACKDIR $@ $MAXNROFPLAYERS $MORE ;; esac -- Paul Dormitzer ...!decvax!genrad!wjh12!harvard!phd phd@harvard.ARPA