1#! /bin/sh 2# 3# @(#)do_sort 8.1 (Berkeley) 5/31/93 4# 5# an aggressive little script for sorting the fortune files 6# depends on octal 02 and 03 not being anywhere in the files. 7 8sp="/usr/bin/sort -dfu -T /var/tmp" 9 10sed 's/^%$//' | tr '\12' '\3' | tr '\2' '\12' | 11 sed -e 's/^//' -e '/^$/d' -e 's/$/%/' | 12 $sp | tr '\3' '\12' 13