From cd3e8631255561d8ab21352b8cb691c05ca47fcb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 12 Feb 2016 16:53:20 +1300 Subject: Add try(1) and maybe(1) --- README.markdown | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.markdown') 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. -- cgit v1.2.3