diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-02 14:37:21 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-02 14:37:21 +1200 |
commit | fc55a56c067d55c63991ddb416be4e742745450f (patch) | |
tree | c3dd11d53e50f4f42eacf4abe00d19e0e0c8663c /bin/maybe | |
parent | Separate flag from line test in slsf(1) (diff) | |
download | dotfiles-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-x | bin/maybe | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -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 |