135943Sbostic#!/bin/sh - 28918Speter# 3*60773Sbostic# Copyright (c) 1983, 1988, 1993 4*60773Sbostic# The Regents of the University of California. All rights reserved. 58918Speter# 647855Sbostic# %sccs.include.proprietary.sh% 735943Sbostic# 8*60773Sbostic# @(#)ching.sh 8.1 (Berkeley) 05/31/93 947855Sbostic# 1035943Sbostic 1141173Sbosticcd /usr/games 1241173SbosticDIR=/usr/share/games/ching 138918Spetercase $1 in 148918Speter [6-9]*) H=$1;shift;; 158918Speteresac 1635943Sbosticif test $H; then 1741173Sbostic ./ching.phx $H | nroff $* $DIR/macros - | ${PAGER-more} 1835943Sbosticelse 1941173Sbostic ./ching.cno > "/tmp/#$$" 2012567Speter echo " " 2141173Sbostic ./ching.phx < "/tmp/#$$" | nroff $* $DIR/macros - | ${PAGER-more} 2212567Speter rm "/tmp/#$$" 238918Speterfi 24