blob: eabe80ffe63fb28d8993b07032e6399d843ac256 (
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
35
36
37
|
.TH COND-STRCMP 1 "March 8, 2014" OpenBSD
.SH NAME
cond-strcmp \- roff conditions involving string comparison
.SH DESCRIPTION
empty:
.ie """ (t)
.el (f)
one char:
.ie xaxax (t)
.el (f)
three chars:
.ie xabcxabcx (t)
.el (f)
.br
mismatch:
.ie xabcxabdx (t)
.el (f)
longer:
.ie xabcxabcdx (t)
.el (f)
shorter:
.ie xabcdxabcx (t)
.el (f)
.br
no middle:
.ie xabc (t)
.el (f)
no end:
.ie xabcxabc
.el (f)
.SS Negation
match:
.ie !xabcxabcx (t)
.el (f)
mismatch:
.ie !xaxbx (t)
.el (f)
|