Annotation of researchv10dc/man/adm/man1/random.1, revision 1.1.1.1

1.1       root        1: .TH RANDOM 1
                      2: .CT 1 files games
                      3: .SH NAME
                      4: random, fortune \- sample lines from a file, return cookies
                      5: .SH SYNOPSIS
                      6: .B random
                      7: [
                      8: .B -e
                      9: ]
                     10: [
                     11: .I n
                     12: ]
                     13: .PP
                     14: .B /usr/games/fortune
                     15: [
                     16: .I file
                     17: ]
                     18: .SH DESCRIPTION
                     19: .I Random
                     20: reads the standard input and copies each line to the
                     21: standard output with probability
                     22: .RI 1/ n.
                     23: The default value of
                     24: .I n
                     25: is 2.
                     26: .PP
                     27: Option
                     28: .B -e
                     29: writes no output and returns a random exit code in the
                     30: range
                     31: .RI [0, n \-1].
                     32: .PP
                     33: .I Fortune
                     34: prints a one-line aphorism chosen at random.
                     35: If a
                     36: .I file
                     37: is specified, the saying is taken from that file;
                     38: otherwise it is selected from
                     39: .FR /usr/games/lib/fortunes .
                     40: .SH FILES
                     41: .F /usr/games/lib/fortunes
                     42: .br
                     43: .F /usr/games/lib/fortunes.index
                     44: fast lookup table, maintained automatically
                     45: .SH BUGS
                     46: Successive results of option
                     47: .B -e
                     48: are highly correlated if
                     49: .I random
                     50: is called more than once per second.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.