]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/register.in
Dummy implementation of the roff(7) \V (interpolate environment variable)
[mandoc.git] / regress / roff / cond / register.in
1 .\" $OpenBSD: register.in,v 1.3 2019/02/06 20:54:28 schwarze Exp $
2 .TH REGISTER 1 "February 6, 2019"
3 .SH NAME
4 register \- conditional testing whether a register is defined
5 .SH DESCRIPTION
6 .ie rmyreg OOPS
7 .el not yet defined
8 .br
9 .nr myreg 0
10 .ie rmyreg now defined
11 .el OOPS
12 .if !rmyreg OOPS
13 .PP
14 identifier + identifier:
15 .ie rmyreg myreg is defined
16 .el OOPS
17 .PP
18 escape sequence after identifier:
19 .ie rmyreg\(enmyreg is defined
20 .el OOPS