diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | d9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch) | |
tree | c07efd74ac58650949dc67576001a720e688319f /regress/roff/cond/ie.in | |
parent | cdbb1fca07752eb230e5219c22e9e65075c85b82 (diff) | |
download | mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip |
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this,
literally for years.
Diffstat (limited to 'regress/roff/cond/ie.in')
-rw-r--r-- | regress/roff/cond/ie.in | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/regress/roff/cond/ie.in b/regress/roff/cond/ie.in new file mode 100644 index 00000000..f9ab8bc0 --- /dev/null +++ b/regress/roff/cond/ie.in @@ -0,0 +1,30 @@ +.TH IE 1 "December 16, 2014" OpenBSD +.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 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\} |