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