RANDOM(6) BSD Games Manual RANDOM(6)
NAME
random(3,4,6) -- random(3,4,6) lines from a file(1,n) or random(3,4,6) numbers
SYNOPSIS
random(3,4,6) [-er] [denominator]
DESCRIPTION
random(3,4,6) reads lines from the standard input and copies them to the stan-
dard output with a probability of 1/denominator. The default value for
denominator is 2.
The options are as follows:
-e If the -e option is specified, random(3,4,6) does not read(2,n,1 builtins) or write(1,2) any-
thing, and simply exits with a random(3,4,6) exit(3,n,1 builtins) value of 0 to
denominator-1, inclusive.
-r The -r option guarantees that the output is unbuffered.
SEE ALSO
fortune(6)
BSD March 31, 1994 BSD