freebsd-skq/usr.bin/fortune/tools/Do_troff
Colin Percival 6ae1554a5d Final step of eliminating the "games" distribution: Merge src/games
(or what's left of it, at least) into src/usr.bin.

This change will not be MFCed.

Discussed at:   EuroBSDCon 2014
Committed from: EuroBSDCon 2015
2015-10-02 10:08:11 +00:00

11 lines
194 B
Tcsh

#!/bin/csh -f
#
# @(#)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