summaryrefslogtreecommitdiff
path: root/games/fortune/tools/Do_troff
blob: 39181b55a8947f00b71d8d90093dd579f9d4af75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/csh -f
#	$OpenBSD: Do_troff,v 1.2 2001/01/28 23:41:41 niklas Exp $
#	$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