[net.sources] unsorting program

oscar@utcsrgv.UUCP (Oscar M. Nierstrasz) (11/23/83)

This program randomly scrambles lines of a text file.
Believe it or not, this is sometimes useful!
Source to follow.
----------------------------------------------------------------------
.TH UNSORT 1
.UC
.SH NAME
unsort \- unsort a file
.SH SYNOPSIS
.B unsort 
[file] ..
.SH DESCRIPTION
.I Unsort
scrambles a file in linear time, listing its lines in a pseudo-random order.
It is the spiritual inverse of sort(1).
The output of
.I unsort
is different every time it is used (within reason).
.SH DIAGNOSTICS
Quits if the input is too large.
Warns you about null input.
.SH BUGS
There is an arbitrary limit of 100000 characters and 10000 lines on the input.
(There is no limit on line length.)
.I Unsort
must be recompiled too handle larger files.
.SH AUTHOR
Oscar Nierstrasz at the University of Toronto.
.SH SEE ALSO
sort(1), rand(3), time(2).
-- 

UUCP	{ ihnp4 cornell decwrl watmath uw-beaver ubc-vision sask 
		garfield qucis linus mcgill-vision }!utcsrgv!oscar
  or	{ allegra decvax duke floyd }!utzoo!utcsrgv!oscar