]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/cond/string.in
273984be9e74ed79d86a8518add1aeabf70613e0
[mandoc.git] / regress / roff / cond / string.in
1 .\" $OpenBSD: string.in,v 1.4 2019/02/06 20:54:28 schwarze Exp $
2 .TH STRING 1 "February 6, 2019"
3 .SH NAME
4 string \- conditional testing whether a string is defined
5 .SH DESCRIPTION
6 .ie d mystr OOPS
7 .el mystr not yet defined
8 .br
9 .ds mystr mystrval
10 .ie d mystr now defined
11 .el OOPS
12 .if !d mystr OOPS
13 .PP
14 .ie d mymac OOPS
15 .el mymac not yet defined
16 .br
17 .de mymac
18 mymacval
19 ..
20 .ie dmymac now defined
21 .el OOPS
22 .if !d mymac OOPS
23 .PP
24 .ie d myren OOPS
25 .el myren not yet defined
26 .br
27 .rn SM myren
28 .ie d myren now defined
29 .el OOPS
30 .if !d myren OOPS
31 .PP
32 standard macro is
33 .ie d PP defined
34 .el not defined \(em OOPS
35 .PP
36 identifier and tab:
37 .ie d mystr mystr is defined
38 .el OOPS
39 .PP
40 escape sequence after identifier:
41 .ie d mystr\(enmystr is defined
42 .el OOPS