aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/ds/quoting.in
blob: 11c3393d92cce4cd4c76ef20dd48db9072961caa (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
.\" $OpenBSD: quoting.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
.Dd $Mdocdate: July 4 2017 $
.Dt DS-QUOTING 1
.Os
.Sh NAME
.Nm ds-quoting
.Nd quote handling by the define string request
.Sh DESCRIPTION
.ds foo initial definition
no quoting: \*[foo]
.br
.ds foo redefinition
still no quoting: \*[foo]
.br
.ds foo "string value
leading quotes: \*[foo]
.br
.ds foo "string value"
leading and trailing quotes: \*[foo]
.br
.ds foo "string" value
leading and middle quotes: \*[foo]
.br
.ds foo 'string value"
leading apostrophe, trailing quotes: \*[foo]
.br
.ds foo  string value"
leading blank, trailing quotes: \*[foo]
.br
.ds foo
empty string: x\*[foo]x
.br
end of test document