1#!/bin/sh - 2# 3# Copyright (c) 1988 Regents of the University of California. 4# All rights reserved. The Berkeley software License Agreement 5# specifies the terms and conditions for redistribution. 6# 7# @(#)ching.sh 4.3 (Berkeley) 10/19/88 8# 9 10cd /usr/games/ching.d 11case $1 in 12 [6-9]*) H=$1;shift;; 13esac 14if test $H; then 15 ./phx $H | nroff $* macros - | ${PAGER-more} 16else 17 ./cno > "/tmp/#$$" 18 echo " " 19 ./phx < "/tmp/#$$" | nroff $* macros - | ${PAGER-more} 20 rm "/tmp/#$$" 21fi 22