]> git.cameronkatri.com Git - mandoc.git/blob - regress/roff/esc/B.in
Implement the roff .break request (break out of a .while loop).
[mandoc.git] / regress / roff / esc / B.in
1 .\" $OpenBSD: B.in,v 1.3 2017/07/04 14:53:27 schwarze Exp $
2 .Dd $Mdocdate: July 4 2017 $
3 .Dt ESC-B 1
4 .Os
5 .Sh NAME
6 .Nm esc-B
7 .Nd the roff escape B sequence: validate numerical expression
8 .Sh DESCRIPTION
9 empty: \B''
10 .br
11 digit: \B'0'
12 .br
13 no number: \B'no number'
14 .br
15 trailing garbage: \B'1X'
16 .br
17 trailing operator: \B'1+'
18 .br
19 infix operator: \B'1+1'
20 .br
21 infix and trailing operator: \B'1+1+'
22 .br
23 chain of operations: \B'1+2+3+4'
24 .br
25 trailing para: \B'1+('
26 .br
27 unclosed para: \B'(1'
28 .br
29 empty pair of parentheses: \B'()'
30 .br
31 parentheses containing number: \B'(42)'
32 .br
33 complex expression: \B'3+(3*(5==5*2)*4)+(3*5)/2'
34 .br
35 other delimiter: \Bx1+1x
36 .br
37 no closing delimiter: \B'1+1