No description
| .gitignore | initial | |
| da.h | use dynamic arrays & add option to read from a file | |
| LICENSE | add LICENSE | |
| Makefile | initial | |
| mkfile | fix documentation and plan9 build | |
| r.c | fix documentation and plan9 build | |
| README.org | fix documentation and plan9 build | |
rtd
About
I wrote this because I often need a random choice. I never uploaded it to git but am deciding to now for archival purposes
Usage
Output of rtd --help
USAGE: rtd [FLAGS] [NAMES]
-max x: Sets the maximum random value to x.
-min x: Sets the minimum random value to x.
-f x: Read file x and take names from each line.
-v: Print version and exit.
-h: Print this message end exit.
rtd on its own prints a random number (default from 0..100, inclusive), if
passed some arguments, it will generate a random number for each and rank them
based on how high a roll it was.