NetBSD/games/fortune/tools/Do_troff

12 lines
250 B
Plaintext
Raw Normal View History

1993-03-21 12:45:37 +03:00
#!/bin/csh -f
# $NetBSD: Do_troff,v 1.2 1995/03/23 08:28:52 cgd Exp $
1993-03-21 12:45:37 +03:00
#
1995-03-21 18:48:18 +03:00
# @(#)Do_troff 8.1 (Berkeley) 5/31/93
1993-03-21 12:45:37 +03:00
#
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