Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site rna.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!cmcl2!rna!dan
From: dan@rna.UUCP (Dan Ts'o)
Newsgroups: net.sources.bugs
Subject: Tiny Hack bug...
Message-ID: <343@rna.UUCP>
Date: Tue, 18-Dec-84 22:58:47 EST
Article-I.D.: rna.343
Posted: Tue Dec 18 22:58:47 1984
Date-Received: Thu, 20-Dec-84 02:36:03 EST
Organization: Rockefeller Neurobiology, NYC
Lines: 22

x
	Hack seems like a good somewhat improved Rogue. Bringing up on
4.2BSD wasn't too hard. There is a tiny bug (among others) in the
shell script "hack.sh". HACK needs a "-d" option in front of the first
argument which should be the HACK directory.

#!/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