1#!/bin/sh - 2# 3# Copyright (c) 1985 The Regents of the University of California. 4# All rights reserved. 5# 6# %sccs.include.redist.sh% 7# 8# @(#)wargames.sh 5.4 (Berkeley) 06/01/90 9# 10echo -n "Would you like to play a game? " 11read x 12 13if [ -f /usr/games/$x ] ; then 14 tput cl 15 exec /usr/games/$x 16else 17 echo "Funny, the only way to win is not to play at all." 18fi 19exit 0 20