Annotation of 43BSDReno/games/wargames/wargames.sh, revision 1.1

1.1     ! root        1: #!/bin/sh -
        !             2: #
        !             3: # Copyright (c) 1985 The Regents of the University of California.
        !             4: # All rights reserved.
        !             5: #
        !             6: # Redistribution and use in source and binary forms are permitted
        !             7: # provided that: (1) source distributions retain this entire copyright
        !             8: # notice and comment, and (2) distributions including binaries display
        !             9: # the following acknowledgement:  ``This product includes software
        !            10: # developed by the University of California, Berkeley and its contributors''
        !            11: # in the documentation or other materials provided with the distribution
        !            12: # and in all advertising materials mentioning features or use of this
        !            13: # software. Neither the name of the University nor the names of its
        !            14: # contributors may be used to endorse or promote products derived
        !            15: # from this software without specific prior written permission.
        !            16: # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
        !            17: # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
        !            18: # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            19: #
        !            20: #      @(#)wargames.sh 5.4 (Berkeley) 6/1/90
        !            21: #
        !            22: echo -n "Would you like to play a game? "
        !            23: read x
        !            24: 
        !            25: if [ -f /usr/games/$x ] ; then
        !            26:        tput cl
        !            27:        exec /usr/games/$x
        !            28: else
        !            29:        echo "Funny, the only way to win is not to play at all."
        !            30: fi
        !            31: exit 0

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.