date and time created 83/07/04 12:48:22 by sam
[unix-history] / usr / src / games / ching / ching.sh
CommitLineData
473fb73d
PK
1#! /bin/sh
2#
798963c9 3# @(#)ching.sh 4.2 (Berkeley) 83/05/19
473fb73d
PK
4#
5cd /usr/games/lib/ching.d
6PATH=:$PATH
7case $1 in
8 [6-9]*) H=$1;shift;;
9esac
10if test $H
798963c9
PK
11then phx $H | nroff $* macros - | more -s
12else cno > "/tmp/#$$"
13 echo " "
14 phx < "/tmp/#$$" | nroff $* macros - | more -s
15 rm "/tmp/#$$"
473fb73d 16fi