aboutsummaryrefslogtreecommitdiff
path: root/man/man1/maybe.1
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-26 12:13:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-26 12:50:25 +1200
commitcde1926a3c65830bceed5e8e76cd94e81b19386c (patch)
tree5abe782d2c9567f3d7c3affa8fc077fb3d5d5e5c /man/man1/maybe.1
parentAdd notifications to dmp(1) (diff)
downloaddotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.tar.gz
dotfiles-cde1926a3c65830bceed5e8e76cd94e81b19386c.zip
Put dotfiles manuals into their own section
This probably contains a few mistakes
Diffstat (limited to 'man/man1/maybe.1')
-rw-r--r--man/man1/maybe.127
1 files changed, 0 insertions, 27 deletions
diff --git a/man/man1/maybe.1 b/man/man1/maybe.1
deleted file mode 100644
index 3d27901b..00000000
--- a/man/man1/maybe.1
+++ /dev/null
@@ -1,27 +0,0 @@
-.TH MAYBE 1 "August 2016" "Manual page for maybe"
-.SH NAME
-.B maybe
-\- possibly exit with success
-.SH USAGE
-.B maybe
-.br
-.B maybe
-DENOMINATOR
-.br
-.B maybe
-NUMERATOR DENOMINATOR
-.SH DESCRIPTION
-Like true(1) or false(1), but exits with success randomly with a given
-probability. Good for using in tests. Exits with 2 rather than 1 on usage
-errors.
-.P
-The numerator default to 1 and the denominator to 2 for a roughly equal chance
-of success or failure. rndi(1) is used for the randomness.
-.P
- $ maybe
- $ maybe 3
- $ maybe 2 5
-.SH SEE ALSO
-true(1), false(1), try(1), rndi(1)
-.SH AUTHOR
-Tom Ryder <tom@sanctum.geek.nz>