aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-09 11:19:29 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-09 11:19:29 +1200
commitc80b70a994983f3ac56e73407f2a534993843c0f (patch)
tree8e1921d1666b65b04e23914359f47815e4813866
parentAdd issue grizzling about pandoc(1) (diff)
downloaddotfiles-c80b70a994983f3ac56e73407f2a534993843c0f.tar.gz
dotfiles-c80b70a994983f3ac56e73407f2a534993843c0f.zip
Rename myb(1) back to maybe(1)
Changed my mind again
-rw-r--r--README.markdown2
-rwxr-xr-xbin/maybe (renamed from bin/myb)2
-rw-r--r--man/man1/maybe.1 (renamed from man/man1/myb.1)16
-rw-r--r--man/man1/try.14
4 files changed, 12 insertions, 12 deletions
diff --git a/README.markdown b/README.markdown
index 8b7e1d54..1681e64c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -344,7 +344,7 @@ Installed by the `install-bin` target:
repository.
* `jfc(1)` adds and commits lazily to a Git repository.
* `jfcd(1)` watches a directory for changes and runs `jfc(1)` if it sees any.
-* `myb(1)` is like `true(1)` or `false(1)`; given a probability of success,
+* `maybe(1)` is like `true(1)` or `false(1)`; given a probability of success,
it exits with success or failure. Good for quick tests.
* `mkcp(1)` creates a directory and copies preceding arguments into it.
* `mkmv(1)` creates a directory and moves preceding arguments into it.
diff --git a/bin/myb b/bin/maybe
index 03937a31..86785a45 100755
--- a/bin/myb
+++ b/bin/maybe
@@ -1,6 +1,6 @@
#!/bin/sh
# Exit with success or failure with a given probability
-self=myb
+self=maybe
# Figure out numerator and denominator from arguments
case $# in
diff --git a/man/man1/myb.1 b/man/man1/maybe.1
index 39753591..3d27901b 100644
--- a/man/man1/myb.1
+++ b/man/man1/maybe.1
@@ -1,14 +1,14 @@
-.TH MYB 1 "August 2016" "Manual page for myb"
+.TH MAYBE 1 "August 2016" "Manual page for maybe"
.SH NAME
-.B myb
+.B maybe
\- possibly exit with success
.SH USAGE
-.B myb
+.B maybe
.br
-.B myb
+.B maybe
DENOMINATOR
.br
-.B myb
+.B maybe
NUMERATOR DENOMINATOR
.SH DESCRIPTION
Like true(1) or false(1), but exits with success randomly with a given
@@ -18,9 +18,9 @@ errors.
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
- $ myb
- $ myb 3
- $ myb 2 5
+ $ maybe
+ $ maybe 3
+ $ maybe 2 5
.SH SEE ALSO
true(1), false(1), try(1), rndi(1)
.SH AUTHOR
diff --git a/man/man1/try.1 b/man/man1/try.1
index dc559285..5c4459b0 100644
--- a/man/man1/try.1
+++ b/man/man1/try.1
@@ -14,9 +14,9 @@ specifies in seconds how long to sleep between attempts, defaulting to 0.
Options may be terminated with --. The remaining arguments are the command to
run.
.P
- $ try myb
+ $ try maybe
$ try -n5 -s10 gms
.SH SEE ALSO
-myb(1)
+maybe(1)
.SH AUTHOR
Tom Ryder <tom@sanctum.geek.nz>