random

Autres langues

Langue: en

Version: 51059 (openSuse - 09/10/07)

Section: 6 (Jeux)


BSD mandoc

NAME

random - random lines from a file or random numbers

SYNOPSIS

[-er ] [denominator ]

DESCRIPTION

reads lines from the standard input and copies them to the standard 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, does not read or write anything, and simply exits with a random exit value of 0 to denominator -1 inclusive.
-r
The -r option guarantees that the output is unbuffered.

SEE ALSO

fortune(6)