MirOS Manual: random(6)

RANDOM(6)                    BSD Reference Manual                    RANDOM(6)


     random - random lines from a file or random numbers


     random [-er] [denominator]


     random 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 does not read or write any-
             thing, and simply exits with a random exit value of 0 to
             denominator - 1, inclusive.

     -r      The -r option guarantees that the output is unbuffered.



MirOS BSD #10-current           March 31, 1994                               1

Generated on 2016-04-09 20:35:54 by $MirOS: src/scripts/roff2htm,v 1.83 2016/03/26 23:38:28 tg Exp $

These manual pages and other documentation are copyrighted by their respective writers; their source is available at our CVSweb, AnonCVS, and other mirrors. The rest is Copyright © 2002–2016 The MirOS Project, Germany.
This product includes material provided by mirabilos.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.