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