diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 10:36:17 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-08 10:36:17 +1200 |
commit | 1c8ca068e92d1d4e3b63e45310d972c74d6aeb6f (patch) | |
tree | 43f53de57029bd31fe704e7be344288fe478d390 /man | |
parent | Sort plenv modules list (diff) | |
download | dotfiles-1c8ca068e92d1d4e3b63e45310d972c74d6aeb6f.tar.gz dotfiles-1c8ca068e92d1d4e3b63e45310d972c74d6aeb6f.zip |
Change try(1) to POSIX sh(1)
Diffstat (limited to 'man')
-rw-r--r-- | man/man1/try.1 | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/man/man1/try.1 b/man/man1/try.1 index 15182436..dc559285 100644 --- a/man/man1/try.1 +++ b/man/man1/try.1 @@ -1,20 +1,21 @@ -.TH TRY 1 "February 2016" "Manual page for try" +.TH TRY 1 "August 2016" "Manual page for try" .SH NAME .B try \- attempt a command up to a certain number of times until it succeeds .SH USAGE -.B try [-hv] [-i INTERVAL] [-n ATTEMPTS] [--] COMMAND... +.B try +[-n ATTEMPTS] [-s SLEEP] [--] COMMAND... .SH DESCRIPTION Runs the given command up to a fixed number of times until it exits zero. If all attempts fail, writes buffered error output from all attempts to stderr. .P -Option -h gives help, option -v turns on verbose output, option -i specifies an -optional number of seconds between attempts, and option -n specifies the number -of attempts; defaults to 3. Options may be terminated with --. The remaining -arguments are the command to run. +Option -n specifies the number of attempts, defaulting to 3; option -s +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 gms - $ try -v -n3 myb + $ try myb + $ try -n5 -s10 gms .SH SEE ALSO myb(1) .SH AUTHOR |