diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-10-18 08:53:40 +0000 |
commit | d6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch) | |
tree | ece253b876159b39c620e62b6c9b1174642e070e /games/fortune/tools/Do_troff |
initial import of NetBSD tree
Diffstat (limited to 'games/fortune/tools/Do_troff')
-rw-r--r-- | games/fortune/tools/Do_troff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/fortune/tools/Do_troff b/games/fortune/tools/Do_troff new file mode 100644 index 00000000000..6df4ee623de --- /dev/null +++ b/games/fortune/tools/Do_troff @@ -0,0 +1,11 @@ +#!/bin/csh -f +# $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 |