aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-02-12 16:53:20 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-02-12 16:53:20 +1300
commitcd3e8631255561d8ab21352b8cb691c05ca47fcb (patch)
treeb90146674996b1efb79c06203b19a354b7eaacf9 /README.markdown
parentUpdate submodules (diff)
downloaddotfiles-cd3e8631255561d8ab21352b8cb691c05ca47fcb.tar.gz
dotfiles-cd3e8631255561d8ab21352b8cb691c05ca47fcb.zip
Add try(1) and maybe(1)
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index b8086fe2..b03ae954 100644
--- a/README.markdown
+++ b/README.markdown
@@ -282,9 +282,14 @@ Scripts
* `han(1)` provides a `keywordprg` for Vim's Bash script filetype that will
look for `help` topics. You could use it from the shell too. It also has a
brief manual.
+* `maybe(1)` is like `true(1)` or `false(1)`; given a probability of success,
+ it exits with success or failure. Good for quick tests.
* `sue(8)` execs `sudoedit(8)` as the owner of all the file arguments given,
perhaps in cases where you may not necessarily have `root` `sudo(8)`
privileges.
+* `try(1)` repeats a command up to a given number of times until it succeeds,
+ only printing error output if all three attempts failed. Good for
+ tolerating blips or temporary failures in `cron(8)` scripts.
* `vis(1)` edits executable script files in `VISPATH`, defaulting to
`~/.local/bin`, for personal scripting snippets.