summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/eval.in
blob: d8bc3ae8b4601f254ea36295904a95a8d3d71792 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
.\" $OpenBSD: eval.in,v 1.2 2017/07/04 14:53:27 schwarze Exp $
.TH NR-EVAL 1 "April 7, 2014"
.SH NAME
nr-eval \- numeric expressions in assignments to number registers
.SH DESCRIPTION
.nr mr 1
1: \n(mr
.br
.nr mr nonumber
nonumber: \n(mr
.br
.nr mr 3X
3X: \n(mr
.br
.nr mr 4+
4+: \n(mr
.br
.nr mr 2+3
2+3: \n(mr
.br
.nr mr 1+1:
1+1:: \n(mr
.br
.nr mr 10-3
10-3: \n(mr
.br
.nr mr 4*2
4*2: \n(mr
.br
.nr mr 27/3
27/3: \n(mr
.br
.nr mr 58%16
58%16: \n(mr
.br
.nr mr 11<?20
11<?20: \n(mr
.br
.nr mr 30<?12
30<?12: \n(mr
.br
.nr mr 7>?13
7>?13: \n(mr
.br
.nr mr 14>?6
14>?6: \n(mr
.br
.nr mr 2+3*3
2+3*3: \n(mr
.br
.nr mr 16+(
para at eol: \n(mr
.br
.nr mr (17
unclosed para: \n(mr
.br
.nr mr (18)
(18): \n(mr
.br
.nr mr ( 25 - 6 )
( 25 - 6 ): \n(mr
.br
.nr mr 11+( 3*3 )
11+( 3*3 ): \n(mr
.br
.nr mr 3+(3*(5==5*2)*4)+(3*5)/2
3+(3*(5==5*2)*4)+(3*5)/2: \n(mr
.br