aboutsummaryrefslogtreecommitdiff
path: root/man/man1/igex.1df
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/igex.1df')
-rw-r--r--man/man1/igex.1df16
1 files changed, 16 insertions, 0 deletions
diff --git a/man/man1/igex.1df b/man/man1/igex.1df
new file mode 100644
index 00000000..d2920c05
--- /dev/null
+++ b/man/man1/igex.1df
@@ -0,0 +1,16 @@
+.TH IGEX 1df "August 2016" "Manual page for igex"
+.SH NAME
+.B igex
+\- run a command, ignoring specified error exit values
+.SH USAGE
+.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 the first argument, exits 0. Otherwise, exits with the
+command's exit value as normal.
+.P
+ $ igex 1 false
+ $ igex 24 rsync source dest
+ $ igex 8,9 mycmd
+.SH AUTHOR
+Tom Ryder <tom@sanctum.geek.nz>