xref: /freebsd/usr.bin/fortune/tools/Do_troff (revision cddbc3b40812213ff00041f79174cac0be360a2a)
1#!/bin/csh -f
2#
3#	@(#)Do_troff	8.1 (Berkeley) 5/31/93
4#
5
6set file=$1
7shift
8( echo ".ds Se $file" ; cat Troff.mac ; sed -f Troff.sed $file ) | \
9	$* -me >& $file.tr
10echo troff output in $file.tr
11