blob: 7f137c9c1671f0668748b573e68dfb9d0c6a8af2 (
plain) (
tree)
|
|
.\" $OpenBSD: register.in,v 1.4 2022/06/03 11:50:25 schwarze Exp $
.TH REGISTER 1 "June 3, 2022"
.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
tab after identifier:
.ie rmyreg myreg is defined
.el OOPS
.PP
escape sequence after identifier:
.ie rmyreg\(enmyreg is defined
.el OOPS
.PP
backslash in name:
.nr \\ 0
.ie r\\ \e is defined
.el OOPS
.rr \\
.if r\\ is still defined!?
.PP
dot in name:
.nr . 0
.ie r. \&. is defined
.el OOPS
.ie r\. \e. is defined
.el OOPS
.rr \.
.if r. is still defined!?
.PP
invalid escape in name:
.nr G 0
.ie rG G is defined
.el OOPS
.ie r\G \eG is defined
.el OOPS
.rr \G
.if rG is still defined!?
|