aboutsummaryrefslogtreecommitdiff
path: root/bin/try
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/try
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/try')
-rwxr-xr-xbin/try16
1 files changed, 1 insertions, 15 deletions
diff --git a/bin/try b/bin/try
index 6efc0aab..25e9fadd 100755
--- a/bin/try
+++ b/bin/try
@@ -1,19 +1,5 @@
#!/usr/bin/env bash
-
-#
-# try(1) -- Attempt a certain number of times to perform a task, stopping after
-# the first success, and only print collected stderr if all the attempts
-# failed. Designed for running from systems like cron(8) where blips and
-# short-term failures can be ignored.
-#
-# -h gives help, -v gives you diagnostics on stdout, -i sets an optional number
-# of seconds between each attempt, -n sets the number of attempts (defaults to
-# 3).
-#
-# Author: Tom Ryder <tom@sanctum.geek.nz>
-# Copyright: 2016
-# License: Public domain
-#
+# Attempt a certain number of times to perform a task
self=try
# Print usage information