Commit | Line | Data |
---|---|---|
6983d479 C |
1 | RANDOM(6) BSD Reference Manual RANDOM(6) |
2 | ||
3 | N\bNA\bAM\bME\bE | |
4 | r\bra\ban\bnd\bdo\bom\bm - random lines from a file or random numbers | |
5 | ||
6 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
7 | r\bra\ban\bnd\bdo\bom\bm [-\b-e\ber\br] [_\bd_\be_\bn_\bo_\bm_\bi_\bn_\ba_\bt_\bo_\br] | |
8 | ||
9 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
10 | R\bRa\ban\bnd\bdo\bom\bm reads lines from the standard input and copies them to the stan- | |
11 | dard output with a probability of 1/denominator. The default value for | |
12 | _\bd_\be_\bn_\bo_\bm_\bi_\bn_\ba_\bt_\bo_\br is 2. | |
13 | ||
14 | The options are as follows: | |
15 | ||
16 | -\b-e\be If the -\b-e\be option is specified, r\bra\ban\bnd\bdo\bom\bm does not read or write any- | |
17 | thing, and simply exits with a random exit value of 0 to | |
18 | _\bd_\be_\bn_\bo_\bm_\bi_\bn_\ba_\bt_\bo_\br - 1, inclusive. | |
19 | ||
20 | -\b-r\br The -\b-r\br option guarantees that the output is unbuffered. | |
21 | ||
22 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
23 | fortune(6) | |
24 | ||
25 | 4th Berkeley Distribution March 31, 1994 1 |