aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/cond/string.in
blob: 6d19f4ce2b889265e114084c675532ce35f222e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.TH STRING 1 "June 14, 2017" OpenBSD
.SH NAME
string \- conditional testing whether a string is defined
.SH DESCRIPTION
.ie d mystr OOPS
.el mystr not yet defined
.br
.ds mystr mystrval
.ie d mystr now defined
.el OOPS
.if !d mystr OOPS
.PP
.ie d mymac OOPS
.el mymac not yet defined
.br
.de mymac
mymacval
..
.ie dmymac now defined
.el OOPS
.if !d  mymac OOPS
.PP
.ie d myren OOPS
.el myren not yet defined
.br
.rn SM myren
.ie d myren now defined
.el OOPS
.if !d myren OOPS