Pthread multi
[mirrors/Programs.git] / bash / hhgame / include.sh
CommitLineData
21c4e167
H
1#!/bin/bash
2
3function 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
22function 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.770909 seconds and 4 git commands to generate.