rand - choose random lines from a file.

SYNOPSYS

rand [-n ] [file]

DESCRIPTION

rand outputs n random lines from its input file (or files). If the optional parameter n is not given rand outputs all of the input lines in a random order.

NOTES

rand is implimented in awk. It may be of questionable use for large input files.