aboutsummaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-01 10:46:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-01 10:46:24 +1200
commitdb2583c7bba896b46c689c16583a42977f0449b0 (patch)
treec24a6c0f2e02bfa21b3c074aa37db6e8196e1362 /man/man1
parentChange xrbg(1) to be POSIX sh (diff)
downloaddotfiles-db2583c7bba896b46c689c16583a42977f0449b0.tar.gz
dotfiles-db2583c7bba896b46c689c16583a42977f0449b0.zip
Add rndf(1)
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/rndf.119
1 files changed, 19 insertions, 0 deletions
diff --git a/man/man1/rndf.1 b/man/man1/rndf.1
new file mode 100644
index 00000000..522d44e1
--- /dev/null
+++ b/man/man1/rndf.1
@@ -0,0 +1,19 @@
+.TH RNDF 1 "August 2016" "Manual page for rndf"
+.SH NAME
+.B rndf
+\- return a low-quality random choice of a random file in a directory
+.SH SYNOPSIS
+.B rndf
+.br
+.B rndf
+/path/to/dir
+.br
+.SH DESCRIPTION
+.B rndf
+prints the name a random file (excluding dot files) from the given directory,
+defaulting to the current directory. It uses rndi(1), which is not a
+high-quality random number source.
+.SH SEE ALSO
+rndi(1)
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>