OpenBSD manual page server

Manual Page Search Parameters
RANDOM(6) Games Manual RANDOM(6)

randomrandom lines from a file or random numbers

random [-er] [denominator]

random reads lines from the standard input and copies them to the standard output with a probability of 1/denominator. The denominator must be at least 1, its default value is 2.

The options are as follows:

If the -e option is specified, random does not read or write anything, and simply exits with a random exit value of 0 to the minimum of 255 and denominator - 1, inclusive.
The -r option guarantees that the output is unbuffered.

fortune(6)

August 23, 2022 OpenBSD-current