]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/esc/bs_man.in
Implement the roff .break request (break out of a .while loop).
[mandoc.git] / regress / roff / esc / bs_man.in
1 .\" $OpenBSD: bs_man.in,v 1.1 2019/01/17 06:29:14 schwarze Exp $
2 .TH ESC-BS_MAN 1 "January 17, 2019"
3 .SH NAME
4 esc-bs_man \- escaped backslashes in man(7) code
5 .SH DESCRIPTION
6 .ds usestr (initial)
7 .de testmac
8 prefix\*[usestr]suffix
9 prefix\\*[usestr]suffix
10 ..
11 .ds teststr prefix\*[usestr]middle\\*[usestr]suffix
12 .ds usestr (later)
13 on a text line: prefix\\suffix
14 .PP
15 in a macro definition:
16 .testmac
17 .PP
18 in a string definition: \*[teststr]
19 .PP
20 in a high-level macro argument:
21 .IB prefix ##\\*[usestr]## suffix
22 .PP
23 .de argmac
24 {\\$1}
25 ..
26 in a user-defined macro argument:
27 .argmac prefix\\*[usestr]suffix