]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/args/roff.in
Rename mandoc_getarg() to roff_getarg() and pass it the roff parser
[mandoc.git] / regress / roff / args / roff.in
1 .\" $OpenBSD: roff.in,v 1.6 2018/08/19 23:55:40 schwarze Exp $
2 .TH ARGS-ROFF 1 "February 21, 2015"
3 .SH NAME
4 args-roff - arguments to roff macros
5 .SH DESCRIPTION
6 .de test
7 .BI (\\$1) "(\\$2)"
8 .br
9 ..
10 arguments containing quotes:
11 .test a"b a"b
12 .de test
13 (\\$1) (\\$2)
14 .br
15 ..
16 standard unquoted:
17 .test one two
18 escaped blanks:
19 .test one\ one two\ two
20 escaped 'e' character:
21 .test one\eone two
22 .\" escaped backslash before blank: -- broken for unknown reasons
23 .\" .test one\\ two
24 escaped backslash before 'e' character:
25 .test one\\e two
26 double inter-argument space:
27 .test one two
28 triple inter-argument space:
29 .test one two
30 single eol blank:
31 .test one two
32 double eol blank:
33 .test one two
34 triple eol blank:
35 .test one two
36 standard quoted:
37 .test "one" "two"
38 quoted quotes:
39 .test "one""one" """two"""
40 quoted whitespace:
41 .test "one one" "two two"
42 escaped 'e' characters:
43 .test "one \e one" "\e"
44 escaped backslash before blank:
45 .test "one\\ one" "\\ "
46 escaped backslash before 'e' character:
47 .test "one\\eone" "\\e"
48 double inter-argument space:
49 .test "one one" "two two"
50 triple inter-argument space:
51 .test "one one" "two two"
52 missing inter-argument space:
53 .test "one one"two\ two
54 single eol blank:
55 .test "one one" "two two"
56 double eol blank:
57 .test "one one" "two two"
58 triple eol blank:
59 .test "one one" "two two"
60 trailing blanks in arguments:
61 .test "one " "two "
62 unterminated quotes:
63 .test "one
64 .test one "two
65 single trailing blank in unterminated quotes:
66 .test "one
67 .test one "two
68 double trailing blank in unterminated quotes:
69 .test "one
70 .test one "two
71 backslash at eol:
72 .test one two\