aboutsummaryrefslogblamecommitdiff
path: root/man/man1/igex.1df
blob: d2920c05477174d42bbd8ff72e11fa939a79030c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                 



                                                      
                                              

                                                                          

                                                                              
  


                              

                               
.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>