From ba0a646be7f8ca36dfd6e5f6e0c5fdf3bdc14f91 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 4 Aug 2016 11:34:30 +1200 Subject: Change igex(1) into POSIX sh, simplify --- man/man1/igex.1 | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'man') 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 -- cgit v1.2.3