]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/esc/E1.in
With the improved escape sequence parser, it becomes easy to also improve
[mandoc.git] / regress / roff / esc / E1.in
1 .\" $OpenBSD: E1.in,v 1.1 2022/04/13 13:11:33 schwarze Exp $
2 .Dd $Mdocdate: April 13 2022 $
3 .Dt ESC-E 1
4 .Os
5 .Sh NAME
6 .Nm esc-E
7 .Nd copy-mode escaping of backslashes
8 .Sh DESCRIPTION
9 .ds myvar myval
10 .nr myreg 1 1
11 initial text
12 .Pp
13 string expansion: \*[myvar] \E*[myvar] \EE*[myvar] \EEE*[myvar]
14 .Pp
15 output device: \*(.T \E*[.T] \EE*(.T \EEE*(.T
16 .Pp
17 numerical expression test: \B'1' \EB'X' \EEB'2' \EEEB'Y'
18 .Pp
19 register:
20 \n[myreg]
21 \En+[myreg]
22 \EEn+[myreg]
23 \EEEn[myreg]
24 .Pp
25 special character: \(<= \E(>= \EE(<< \EEE(>>
26 .Pp
27 final text