aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-07-02 23:09:08 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-07-02 23:09:08 +1200
commitfcb11d71d7d4dd7abf5af3e58106154ab2dd2212 (patch)
treec9544340f86c6b7c8d45c5d2b2db6473693779df /man
parentMerge branch 'awk-cleanup' (diff)
downloaddotfiles-fcb11d71d7d4dd7abf5af3e58106154ab2dd2212.tar.gz
dotfiles-fcb11d71d7d4dd7abf5af3e58106154ab2dd2212.zip
Correct some rndi(1df) references
Diffstat (limited to 'man')
-rw-r--r--man/man1/rndi.1df13
1 files changed, 6 insertions, 7 deletions
diff --git a/man/man1/rndi.1df b/man/man1/rndi.1df
index 767ad148..72ad0218 100644
--- a/man/man1/rndi.1df
+++ b/man/man1/rndi.1df
@@ -7,18 +7,17 @@
0 10
.br
.B rndi
-0 10 "$(rnds)"
+0 10
.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
+in a POSIX-compliant way (using awk), using rnds(1df) if available for a seed.
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.
+The answer returned is low-quality; on some platforms, 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