[BACK]Return to ie.in CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc / regress / roff / cond

File: [cvsweb.bsd.lv] / mandoc / regress / roff / cond / ie.in (download)

Revision 1.3, Tue Jul 4 22:52:01 2017 UTC (6 years, 10 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_6, VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, HEAD
Changes since 1.2: +10 -2 lines

Fix handling of \} on roff request lines.
Cures bogus error messages in pages generated with pod2man(1).

.\" $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\}