randtable - pick random rows from an ascii tab 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 ascii tab table
<#tailtable>
tail an ascii tab 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.