]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/ie.in
Finally port the OpenBSD regression suite.
[mandoc.git] / regress / roff / cond / ie.in
1 .TH IE 1 "December 16, 2014" OpenBSD
2 .SH NAME
3 if \- the roff conditional instruction with else-clause
4 .SH DESCRIPTION
5 .el Initially, else is ignored.
6 .ie n One-line true condition.
7 .br
8 Text following the true condition.
9 .el One-line else after true.
10 .el Another else after true.
11 .br
12 .ie t One-line false condition.
13 Text following the false condition.
14 .br
15 .el \{Two-line else
16 after false.\}
17 .br
18 .el Another else after false.
19 .br
20 .ie
21 Text following an empty condition.
22 .el Else after empty condition.
23 .br
24 .ie !
25 Text following negated empty condition.
26 .el Else after negated empty condition.
27 .br
28 .ie n If \&.el\e{ works, nothing follows here:
29 .el\{dummy
30 BOOHOO\}