]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/de/escname.in
delete the two pairs of extra blank lines from expected man(7) terminal
[mandoc.git] / regress / roff / de / escname.in
1 .\" $OpenBSD: escname.in,v 1.4 2017/07/04 14:53:27 schwarze Exp $
2 .Dd $Mdocdate: July 4 2017 $
3 .Dt DE-ESCNAME 1
4 .Os
5 .Sh NAME
6 .Nm de-escname
7 .Nd escape sequences in macro names
8 .Sh DESCRIPTION
9 initial text
10 .Pp
11 define second = val2
12 .de second
13 val2
14 ..
15 .Pp
16 define first\esecond = val3
17 .de first\\second end3
18 val3
19 .end3
20 .Pp
21 define first = val1
22 .de first\esecond
23 val1
24 ..
25 .Pp
26 Values (first, second, first\esecond):
27 .first
28 .second
29 .first\\second
30 .Pp
31 Remove all but second:
32 .rm first\\second first\esecond second
33 .first
34 .second
35 .first\\second
36 .Pp
37 macro seperated from argument by an escape sequence:
38 .de witharg end4 excess arguments
39 .Dq \\$1
40 .end4 tail argument
41 .witharg\(enargument
42 .Pp
43 .de\e
44 final text