summaryrefslogtreecommitdiffstats
path: root/fortune/tools/Do_troff
diff options
context:
space:
mode:
Diffstat (limited to 'fortune/tools/Do_troff')
-rw-r--r--fortune/tools/Do_troff10
1 files changed, 10 insertions, 0 deletions
diff --git a/fortune/tools/Do_troff b/fortune/tools/Do_troff
new file mode 100644
index 00000000..dc2000e3
--- /dev/null
+++ b/fortune/tools/Do_troff
@@ -0,0 +1,10 @@
+#!/bin/csh -f
+#
+# @(#)Do_troff 5.4 (Berkeley) 4/8/91
+#
+
+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