diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-26 12:13:03 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-26 12:50:25 +1200 |
commit | cde1926a3c65830bceed5e8e76cd94e81b19386c (patch) | |
tree | 5abe782d2c9567f3d7c3affa8fc077fb3d5d5e5c /man/man1/rndi.1df | |
parent | Add notifications to dmp(1) (diff) | |
download | dotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.tar.gz dotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.zip |
Put dotfiles manuals into their own section
This probably contains a few mistakes
Diffstat (limited to 'man/man1/rndi.1df')
-rw-r--r-- | man/man1/rndi.1df | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/man/man1/rndi.1df b/man/man1/rndi.1df new file mode 100644 index 00000000..767ad148 --- /dev/null +++ b/man/man1/rndi.1df @@ -0,0 +1,25 @@ +.TH RNDI 1df "August 2016" "Manual page for rndi" +.SH NAME +.B rndi +\- return a low-quality random integer +.SH SYNOPSIS +.B rndi +0 10 +.br +.B rndi +0 10 "$(rnds)" +.SH DESCRIPTION +.B rndi +returns a random integer ranging from the first argument to the second argument +in a POSIX-compliant way (using awk), using the optional third argument as a +seed. +.P +The answer returned is low-quality; given some implementations of awk and no +properly random seed, it may even return the same result if run within the same +second. This should not be used in any sort of security or statistical context. +The author wrote it to support scripts to choose a random background image from +a directory. +.SH SEE ALSO +rnda(1df), rndf(1df), rndl(1df), rnds(1df), rndn(6df) +.SH AUTHOR +Tom Ryder <tom@sanctum.geek.nz> |