aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/cond/string.in
blob: b3bf14b450dc5509beb804f95ea86f70c43fdc05 (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
30
31
32
33
34
.\" $OpenBSD: string.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $
.TH STRING 1 "June 14, 2017"
.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
.PP
standard macro is
.ie d PP defined
.el not defined \(em OOPS