#! /bin/sh # # @(#)ching.sh 4.6 (Berkeley) 88/02/07 # cd /usr/games/lib/ching.d PATH=:$PATH case $1 in [6-9]*) H=$1;shift;; esac if test $H then phx $H | nroff $* macros - | more -s else cno > "/tmp/#$$" echo " " phx `cat "/tmp/#$$"` | nroff $* macros - | more -s rm "/tmp/#$$" fi