#!/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