xref: /openbsd-src/regress/usr.bin/mandoc/roff/args/mdoc.in (revision f2da64fbbbf1b03f09f390ab01267c93dfd77c4c)
1.Dd November 19, 2014
2.Dt ARGS-MDOC 1
3.Os OpenBSD
4.Sh NAME
5.Nm args-mdoc
6.Nd arguments to mdoc macros
7.Sh DESCRIPTION
8standard unquoted:
9.Fl one two
10text
11.br
12escaped blanks:
13.Fl one\ one two\ two
14text
15.br
16escaped 'e' character:
17.Fl one\eone two
18text
19.br
20.\"escaped backslash before blank:
21.\"Fl one\\ two
22.\"text
23.\"br
24escaped backslash before 'e' character:
25.Fl one\\e two
26text
27.br
28double inter-argument space:
29.Fl one  two
30text
31.br
32triple inter-argument space:
33.Fl one   two
34text
35.br
36single eol blank:
37.Fl one two
38text
39.br
40double eol blank:
41.Fl one two
42text
43.br
44triple eol blank:
45.Fl one two
46text
47.br
48standard quoted:
49.Fl "one" "two"
50text
51.br
52quoted quotes:
53.Fl "one""one" """two"""
54text
55.br
56quoted whitespace:
57.Fl "one one" "two two"
58text
59.br
60escaped 'e' characters:
61.Fl "one \e one" "\e"
62text
63.br
64.\"escaped backslash before blank:
65.\"Fl "one\\ one" "\\ "
66.\"text
67.\"br
68.\"escaped backslash before 'e' character:
69.\"Fl "one\\eone" "\\e"
70.\"text
71.\"br
72double inter-argument space:
73.Fl "one one"  "two two"
74text
75.br
76triple inter-argument space:
77.Fl "one one"   "two two"
78text
79.br
80missing inter-argument space:
81.Fl "one one"two\ two
82text
83.br
84single eol blank:
85.Fl "one one" "two two"
86text
87.br
88double eol blank:
89.Fl "one one" "two two"
90text
91.br
92triple eol blank:
93.Fl "one one" "two two"
94text
95.br
96trailing blanks in arguments:
97.Fl "one " "two "
98text
99.br
100unterminated quotes:
101.Fl "one
102.Fl one "two
103text
104.br
105single trailing blank in unterminated quotes:
106.Fl "one
107.Fl one "two
108text
109.br
110double trailing blank in unterminated quotes:
111.Fl "one
112.Fl one "two
113text
114.br
115tab after macro:
116.Fl	one two
117text
118.br
119escape sequence after macro:
120.Fl\(lqone two
121text
122.br
123backslash at eol:
124.Fl one two\
125