summaryrefslogtreecommitdiffstats
path: root/regress/roff/cond/register.in
blob: 879c573c2d91d468af2e1dc01a9f4ee9d6f91fe0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.\" $OpenBSD: register.in,v 1.3 2019/02/06 20:54:28 schwarze Exp $
.TH REGISTER 1 "February 6, 2019"
.SH NAME
register \- conditional testing whether a register is defined
.SH DESCRIPTION
.ie rmyreg OOPS
.el not yet defined
.br
.nr myreg 0
.ie rmyreg now defined
.el OOPS
.if !rmyreg OOPS
.PP
identifier + identifier:
.ie rmyreg	myreg is defined
.el OOPS
.PP
escape sequence after identifier:
.ie rmyreg\(enmyreg is defined
.el OOPS