* Corrected cost of slime. Closes: #110782

* Added '-' to character class, so wargames can launch moon-buggy.
     This is clearly a vital fix, but I hesitate to increase the severity of
     this upload. Closes: #93638


git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5165 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2001-09-17 17:44:30 +00:00
parent 010aa052e1
commit 3ef5c81d80
4 changed files with 19 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh -
# $NetBSD: wargames.sh,v 1.2 1995/04/22 07:53:44 cgd Exp $
# $NetBSD: wargames.sh,v 1.3 1999/11/16 17:27:14 abs Exp $
#
# Copyright (c) 1985, 1993
# The Regents of the University of California. All rights reserved.
@@ -37,10 +37,13 @@
echo -n "Would you like to play a game? "
read x
x=`echo $x | sed 's/[^-a-z0-9]//g'`
if [ -f /usr/games/$x ] ; then
tput clear
exec /usr/games/$x
else
echo "Funny, the only way to win is not to play at all."
# Original quote "Strange game, the only winning move is not to play."
echo "Strange, the only winning move is not to play."
fi
exit 0