randtable - pick random rows from an starbase data table .

SYNOPSYS

randtable [n=<nlines>] file

DESCRIPTION

randtable outputs n random rows from its input table (or tables). If the optional parameter n is not given rand outputs all of the input rows in a random order.

SEE ALSO

headtable
head an starbase data table
tailtable
tail an starbase data table.
rand
a line randomizer.

NOTES

randtable is implimented by stripping off the table header and calling rand. rand itself is implimented in awk and may be of questionable use for large input files.