aboutsummaryrefslogtreecommitdiff
path: root/bin/maybe
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-02 14:37:21 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-02 14:37:21 +1200
commitfc55a56c067d55c63991ddb416be4e742745450f (patch)
treec3dd11d53e50f4f42eacf4abe00d19e0e0c8663c /bin/maybe
parentSeparate flag from line test in slsf(1) (diff)
downloaddotfiles-fc55a56c067d55c63991ddb416be4e742745450f.tar.gz
dotfiles-fc55a56c067d55c63991ddb416be4e742745450f.zip
Get rid of a lot of comment boilerplate
This is all stuff that should be or is in the manpages
Diffstat (limited to 'bin/maybe')
-rwxr-xr-xbin/maybe14
1 files changed, 1 insertions, 13 deletions
diff --git a/bin/maybe b/bin/maybe
index 3ed31303..2fc75047 100755
--- a/bin/maybe
+++ b/bin/maybe
@@ -1,17 +1,5 @@
#!/usr/bin/env bash
-
-#
-# maybe(1) -- Like true(1) or false(1); exit with either success or failure
-# randomly. Good for basic testing, but doesn't use precise probabilities, just
-# fractions of RANDOM's limit. Exits with 2 on usage errors so you can tell the
-# difference.
-#
-# -h gives help, -v gives you stdout specifying success or failure.
-#
-# Author: Tom Ryder <tom@sanctum.geek.nz>
-# Copyright: 2016
-# License: Public domain
-#
+# Exit with success or failure with a given probability
self=maybe
# Print usage information