aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/cond/ie.in
blob: 580f4270302e4c93df05f965e4555c463c889604 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.\" $OpenBSD: ie.in,v 1.6 2017/07/04 22:49:59 schwarze Exp $
.TH IE 1 "July 4, 2017"
.SH NAME
if \- the roff conditional instruction with else-clause
.SH DESCRIPTION
.el Initially, else is ignored.
.ie n One-line true condition.
.br
Text following the true condition.
.el One-line else after true.
.el Another else after true.
.br
.ie n \{\
Two-line
true condition.
.br\}
.el \{\
Two-line
else after true.
.br\}
.ie t One-line false condition.
Text following the false condition.
.br
.el \{Two-line else
after false.\}
.br
.el Another else after false.
.br
.ie
Text following an empty condition.
.el Else after empty condition.
.br
.ie !
Text following negated empty condition.
.el Else after negated empty condition.
.br
.ie n If \&.el\e{ works, nothing follows here:
.el\{dummy
BOOHOO\}