home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume6 / rpc2 / part01 / rpc / doc / runoff < prev    next >
Encoding:
Text File  |  1986-11-30  |  353 b   |  25 lines

  1. #! /bin/sh 
  2. #
  3. # usage: runoff file
  4. # output goes to stdout
  5. #
  6.  
  7. ROFF=nroff
  8. TBL=tbl
  9. EQN=neqn
  10.  
  11. case $1 in
  12.     rpc.prog)
  13.         $TBL sunhead.ms rpc.prog.p[12] | $ROFF -ms -rF1 
  14.         ;;
  15.     xdr.spec)
  16.         $TBL sunhead.ms xdr.spec.p[12] | $EQN $dev | $ROFF -ms -rF1 
  17.         ;;
  18.     rpc.spec)
  19.         $ROFF -ms -rF1 sunhead.ms rpc.spec 
  20.         ;;
  21.     *)
  22.         echo Don\'t know how to runoff $1.
  23.         ;;
  24. esac
  25.