diff options
author | leot <leot@NetBSD.org> | 2017-05-21 16:47:26 +0000 |
---|---|---|
committer | leot <leot@NetBSD.org> | 2017-05-21 16:47:26 +0000 |
commit | f5228c7e8453860f0a16bfd7969a0a79a4e3e203 (patch) | |
tree | c4c7e5725dc64c9bad6b327eb2694ba2989bec9c /wargames | |
parent | ebf5607d13ea61beb26b2e17e57679c826c26933 (diff) | |
download | bsdgames-darwin-f5228c7e8453860f0a16bfd7969a0a79a4e3e203.tar.gz bsdgames-darwin-f5228c7e8453860f0a16bfd7969a0a79a4e3e203.tar.zst bsdgames-darwin-f5228c7e8453860f0a16bfd7969a0a79a4e3e203.zip |
Permit Prof. Steven Falcon [sic] to play hals_end(6) (or, more
seriously: also permit games that contain underscores to be invoked
via wargames(6))
Diffstat (limited to 'wargames')
-rw-r--r-- | wargames/wargames.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wargames/wargames.sh b/wargames/wargames.sh index c8172a6c..92d3ebb5 100644 --- a/wargames/wargames.sh +++ b/wargames/wargames.sh @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: wargames.sh,v 1.4 2001/09/19 04:54:06 lukem Exp $ +# $NetBSD: wargames.sh,v 1.5 2017/05/21 16:47:26 leot Exp $ # # Copyright (c) 1985, 1993 # The Regents of the University of California. All rights reserved. @@ -37,7 +37,7 @@ echo -n "Would you like to play a game? " read x -x=`echo $x | sed 's/[^a-z0-9]//g'` +x=`echo $x | sed 's/[^a-z0-9_]//g'` if [ -f /usr/games/$x ] ; then tput cl |