minix/games/fortune/tools/Do_troff
Thomas Cort bd0f8badfa Importing games/fortune
Replaces commands/fortune. No Minix specific changes needed.

Change-Id: Iac79ea82dedd12e80377c85954da5e2d8eee74af
2014-07-28 17:05:16 +02:00

11 lines
250 B
Tcsh

#!/bin/csh -f
# $NetBSD: Do_troff,v 1.2 1995/03/23 08:28:52 cgd Exp $
#
# @(#)Do_troff 8.1 (Berkeley) 5/31/93
#
set file=$1
shift
( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
$* -me >& $file.tr
echo troff output in $file.tr