|
NAMErandom —
random lines from a file or random numbers
SYNOPSIS
DESCRIPTIONRandom has two distinct modes of operations. The default
is to read lines from standard input and write them to standard output with a
probability of 1.0 / denominator.
(denominator is a real number greater than or equal to
1.0.) The default denominator for this mode of operation
is 2.0, giving each line a 50% chance of being displayed.
The second mode of operation, selected with the
The options are as follows:
SEE ALSOfortune(6)HISTORYThe functionality to randomizing lines and words was added in 2003 by Sean Chittenden <seanc@FreeBSD.org>.BUGSThis tool is a remnant of the "games" collection formerly part of FreeBSD base. It probably should have been removed to ports with the rest of that collection. It does not have a coherent purpose and the motivation for it to be a core base utility is nonobvious.No index is used when printing out tokens from the list which makes it rather slow for large files (10MB+).
Visit the GSP FreeBSD Man Page Interface. |