summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2017-07-09 08:33:12 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2017-07-09 08:33:12 +0000
commit63c2d8a858f1e94494a12539bc00fcf61a48d88e (patch)
tree4c5e077a9f7fc69e9cbb83eb901ce0d05736f2d8 /games
parent301ef29f7b226bb27f8ca368b7f86fef176240a8 (diff)
Remove old junk. From Matthew Martin
ok bentley
Diffstat (limited to 'games')
-rw-r--r--games/fortune/tools/Do_spell12
-rw-r--r--games/fortune/tools/Do_troff12
-rw-r--r--games/fortune/tools/Troff.mac29
-rw-r--r--games/fortune/tools/Troff.sed13
-rw-r--r--games/fortune/tools/do_sort13
5 files changed, 0 insertions, 79 deletions
diff --git a/games/fortune/tools/Do_spell b/games/fortune/tools/Do_spell
deleted file mode 100644
index 3f4a718207c..00000000000
--- a/games/fortune/tools/Do_spell
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh -
-# $OpenBSD: Do_spell,v 1.2 2001/01/28 23:41:41 niklas Exp $
-# $NetBSD: Do_spell,v 1.2 1995/03/23 08:28:50 cgd Exp $
-#
-# @(#)Do_spell 8.1 (Berkeley) 5/31/93
-#
-
-F=_spell.$$
-echo $1
-spell < $1 > $F
-sort $F $1.sp.ok | uniq -u | column
-rm -f $F
diff --git a/games/fortune/tools/Do_troff b/games/fortune/tools/Do_troff
deleted file mode 100644
index 39181b55a89..00000000000
--- a/games/fortune/tools/Do_troff
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/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
diff --git a/games/fortune/tools/Troff.mac b/games/fortune/tools/Troff.mac
deleted file mode 100644
index 3e82fa8ba6a..00000000000
--- a/games/fortune/tools/Troff.mac
+++ /dev/null
@@ -1,29 +0,0 @@
-.\" $OpenBSD: Troff.mac,v 1.2 2001/01/28 23:41:41 niklas Exp $
-.\" $NetBSD: Troff.mac,v 1.2 1995/03/23 08:28:53 cgd Exp $
-.\"
-.nr tp 8
-.nr hm 3v
-.nr fm 2v
-.nr tm 5v
-.nr bm 4v
-.cs R
-.sc
-.sz 6
-.ll +10n
-.lt \n(.l
-.de $h
-.tl 'Fortune Database'\\*(Se'\*(td'
-..
-.de $f
-.tl ''- % -''
-..
-.2c
-.nf
-.ta
-.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 80n
-.de %%
-.sp .3
-.ce
-\(sq\|\(sq\|\(sq\|\(sq\|\(sq\|\(sq\|\(sq\|\(sq\|\(sq
-.sp .2
-..
diff --git a/games/fortune/tools/Troff.sed b/games/fortune/tools/Troff.sed
deleted file mode 100644
index 321668123ad..00000000000
--- a/games/fortune/tools/Troff.sed
+++ /dev/null
@@ -1,13 +0,0 @@
-/^['.]/s//\\\&&/
-/^%%/s//.&/
-/--/s//\\*-/g
-/_a-squared cos 2(phi)/s//\\fIa\\fP\\u2\\d cos 2\\(*f/
-/__**\([a-zA-Z]*\)/s//\\fI\1\\fP/g
-/"\(.\)/s//\1\\*:/g
-/`\(.\)/s//\1\\*`/g
-/'\(.\)/s//\1\\*'/g
-/~\(.\)/s//\1\\*~/g
-/\^\(.\)/s//\1\\*^/g
-/,\(.\)/s//\1\\*,/g
-/\(.\)\(.\)/s//\\o_\1\2_/g
-/*/s//\\(bs/g
diff --git a/games/fortune/tools/do_sort b/games/fortune/tools/do_sort
deleted file mode 100644
index f6b51e6d67a..00000000000
--- a/games/fortune/tools/do_sort
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-# $OpenBSD: do_sort,v 1.2 2001/01/28 23:41:41 niklas Exp $
-# $NetBSD: do_sort,v 1.2 1995/03/23 08:28:54 cgd Exp $
-#
-# @(#)do_sort 8.1 (Berkeley) 5/31/93
-#
-# an aggressive little script for sorting the fortune files
-# depends on octal 02 and 03 not being anywhere in the files.
-
-sp="/usr/bin/sort -bdfu -T /var/tmp"
-
-sed 's/^%$//' | tr '\12' '\3' | tr '\2' '\12' | $sp | sed 'a\
- %' | sed -e 's/^//' -e 's/$//' | tr '\3' '\12'