Commit | Line | Data |
---|---|---|
1 | .TH except 1 | |
2 | .SH NAME | |
3 | except \- reverse the exit code of a program | |
4 | .SH SYNOPSIS | |
5 | .B except | |
6 | .I program | |
7 | [ | |
8 | .I arg ... | |
9 | ] | |
10 | .SH DESCRIPTION | |
11 | .B except | |
12 | runs | |
13 | .I program | |
14 | with the given arguments. | |
15 | ||
16 | If | |
17 | .I program | |
18 | exits 0, | |
19 | .B except | |
20 | exits 100. | |
21 | If | |
22 | .I program | |
23 | exits 111, | |
24 | .B except | |
25 | exits 111. | |
26 | If | |
27 | .I program | |
28 | exits anything else, | |
29 | .B except | |
30 | exits 0. | |
31 | .SH "SEE ALSO" | |
32 | bouncesaying(1), | |
33 | condredirect(1) |