![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME
randm - get numbers from the RANDOM.ORG random number service.
SYNOPSIS
randm [MIN] [MAX] [NUM]
DESCRIPTION
randm simplifies Richard Frankel's original random command by using
positional parameters-- Thanks fuska. Just enter the lesser (minimum)
number followed by the greater (maximum) number to get a random number
that is between them.
It returns only one number by default, but you have the option to specify
how many random numbers with an additional parameter.
EXAMPLES
Example: randm
Result: error: the max must be greater than the min parameter
Example: randm 1 10
Result: Returns a random number between 1 and 10.
Example: randm 1 10 3
Result: Returns 3 random numbers between 1 and 10.
SEE ALSO
http://www.random.org/randomness/
AUTHOR
Paul M. Boren
pmboren AT gmail DOT com