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