aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/args/mdoc.in
blob: 87272c8104ba402857a7088ab125f173b5607ce5 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
.\" $OpenBSD: mdoc.in,v 1.3 2017/07/04 14:53:26 schwarze Exp $
.Dd $Mdocdate: July 4 2017 $
.Dt ARGS-MDOC 1
.Os
.Sh NAME
.Nm args-mdoc
.Nd arguments to mdoc macros
.Sh DESCRIPTION
standard unquoted:
.Fl one two
text
.br
escaped blanks:
.Fl one\ one two\ two
text
.br
escaped 'e' character:
.Fl one\eone two
text
.br
.\"escaped backslash before blank:
.\"Fl one\\ two
.\"text
.\"br
escaped backslash before 'e' character:
.Fl one\\e two
text
.br
double inter-argument space:
.Fl one  two
text
.br
triple inter-argument space:
.Fl one   two
text
.br
single eol blank:
.Fl one two 
text
.br
double eol blank:
.Fl one two  
text
.br
triple eol blank:
.Fl one two   
text
.br
standard quoted:
.Fl "one" "two"
text
.br
quoted quotes:
.Fl "one""one" """two"""
text
.br
quoted whitespace:
.Fl "one one" "two two"
text
.br
escaped 'e' characters:
.Fl "one \e one" "\e"
text
.br
.\"escaped backslash before blank:
.\"Fl "one\\ one" "\\ "
.\"text
.\"br
.\"escaped backslash before 'e' character:
.\"Fl "one\\eone" "\\e"
.\"text
.\"br
double inter-argument space:
.Fl "one one"  "two two"
text
.br
triple inter-argument space:
.Fl "one one"   "two two"
text
.br
missing inter-argument space:
.Fl "one one"two\ two
text
.br
single eol blank:
.Fl "one one" "two two" 
text
.br
double eol blank:
.Fl "one one" "two two"  
text
.br
triple eol blank:
.Fl "one one" "two two"   
text
.br
trailing blanks in arguments:
.Fl "one " "two "
text
.br
unterminated quotes:
.Fl "one
.Fl one "two
text
.br
single trailing blank in unterminated quotes:
.Fl "one 
.Fl one "two 
text
.br
double trailing blank in unterminated quotes:
.Fl "one  
.Fl one "two  
text
.br
tab after macro:
.Fl	one two
text
.br
escape sequence after macro:
.Fl\(lqone two
text
.br
backslash at eol:
.Fl one two\