diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-04 11:34:30 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-04 11:34:30 +1200 |
commit | ba0a646be7f8ca36dfd6e5f6e0c5fdf3bdc14f91 (patch) | |
tree | 5b0a2ca97f493a1de644a28c23089cdec3e53bb9 /man/man1 | |
parent | Make d2u(1) and u2d(1) error out on no args (diff) | |
download | dotfiles-ba0a646be7f8ca36dfd6e5f6e0c5fdf3bdc14f91.tar.gz dotfiles-ba0a646be7f8ca36dfd6e5f6e0c5fdf3bdc14f91.zip |
Change igex(1) into POSIX sh, simplify
Diffstat (limited to 'man/man1')
-rw-r--r-- | man/man1/igex.1 | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/man/man1/igex.1 b/man/man1/igex.1 index 1c2396d4..731041c6 100644 --- a/man/man1/igex.1 +++ b/man/man1/igex.1 @@ -1,19 +1,16 @@ -.TH IGEX 1 "February 2016" "Manual page for igex" +.TH IGEX 1 "August 2016" "Manual page for igex" .SH NAME .B igex \- run a command, ignoring specified error exit values .SH USAGE -.B igex [-hv] -i IGNORE1[,IGNORE2...] [--] COMMAND [ARG1...] +.B igex VAL1[,VAL2,VAL3,...] COMMAND [ARG1...] .SH DESCRIPTION Runs the given command and checks its exit value. If it matches any of the -ignored values given in -i, exits 0. Otherwise, exits with the command's exit -value as normal. +ignored values given in the first argument, exits 0. Otherwise, exits with the +command's exit value as normal. .P -Option -h gives help, option -v turns on verbose output, option -i specifies an -the signals to ignore, comma-delimited; you must specify at least one non-zero -integer. -.P - $ igex -i1 false - $ igex -v -i24 rsync source dest + $ igex 1 false + $ igex 24 rsync source dest + $ igex 8,9 mycmd .SH AUTHOR Tom Ryder <tom@sanctum.geek.nz> |