ipv6 wildcard code
[mirrors/Programs.git] / bash / hhgame / include.sh
1 #!/bin/bash
2
3 function shell_commands() {
4 case "$1" in
5 "exit") exit ;;
6 "logout") exit ;;
7 "clear") clear ;;
8
9 "help") echo Try \"man hhgame\"... ;;
10 "man") echo Which man page\? ;;
11 "man hhgame") more man/hhgame.txt ;;
12 "man game") more man/game.txt ;;
13
14 "lsgames") ls games ;;
15
16 "winners") more var/log/winners ;;
17
18 *) echo hhgame: $1: command not found
19 esac
20 }
21
22 function game_commands() {
23 case "$1" in
24 "exit") exit ;;
25 "logout") echo bash: logout: not login shell: use \`exit\' && continue ;;
26 "abort") echo Such early\? && exit ;;
27 esac
28 }
29
This page took 0.375666 seconds and 4 git commands to generate.