summaryrefslogtreecommitdiffstats
path: root/games/fortune/tools/do_sort
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2015-10-02 10:08:11 +0000
committercperciva <cperciva@FreeBSD.org>2015-10-02 10:08:11 +0000
commit8cc71b38c27f2be8ba4c227078a51c63847a89de (patch)
tree0bbcb3f392def57bae56978c0da09362f7d6b426 /games/fortune/tools/do_sort
parent0c2e89c50542aa374d776ce0787b4a06e0de1be2 (diff)
downloadFreeBSD-src-8cc71b38c27f2be8ba4c227078a51c63847a89de.zip
FreeBSD-src-8cc71b38c27f2be8ba4c227078a51c63847a89de.tar.gz
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
Diffstat (limited to 'games/fortune/tools/do_sort')
-rw-r--r--games/fortune/tools/do_sort13
1 files changed, 0 insertions, 13 deletions
diff --git a/games/fortune/tools/do_sort b/games/fortune/tools/do_sort
deleted file mode 100644
index 07e301b..0000000
--- a/games/fortune/tools/do_sort
+++ /dev/null
@@ -1,13 +0,0 @@
-#! /bin/sh
-#
-# @(#)do_sort 8.1 (Berkeley) 5/31/93
-# $FreeBSD$
-#
-# 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 -dfu -T /var/tmp"
-
-sed 's/^%$//' | tr '\12' '\3' | tr '\2' '\12' |
- sed -e 's/^//' -e '/^$/d' -e 's/$/%/' |
- $sp | tr '\3' '\12'
OpenPOWER on IntegriCloud