1
0
Fork
You've already forked rtd
0
No description
  • C 93.5%
  • Makefile 6.5%
2025年08月27日 12:17:21 -05:00
.gitignore initial 2025年03月29日 16:17:48 -05:00
da.h use dynamic arrays & add option to read from a file 2025年07月24日 14:36:07 -05:00
LICENSE add LICENSE 2025年03月29日 16:22:22 -05:00
Makefile initial 2025年03月29日 16:17:48 -05:00
mkfile fix documentation and plan9 build 2025年08月27日 12:17:21 -05:00
r.c fix documentation and plan9 build 2025年08月27日 12:17:21 -05:00
README.org fix documentation and plan9 build 2025年08月27日 12:17:21 -05:00

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.