blob: 5f4c767adcd886efbb418e3ba07b6a9acf8fcd81 (
plain) (
tree)
|
|
NR-EVAL(1) General Commands Manual NR-EVAL(1)
NNAAMMEE
nr-eval - numeric expressions in assignments to number registers
DDEESSCCRRIIPPTTIIOONN
1: 1
nonumber: 1
3X: 3
4+: 3
2+3: 5
1+1:: 5
10-3: 7
4*2: 8
27/3: 9
58%16: 10
11<?20: 11
30<?12: 12
7>?13: 13
14>?6: 14
2+3*3: 15
para at eol: 15
unclosed para: 17
(18): 18
( 25 - 6 ): 19
11+( 3*3 ): 20
3+(3*(5==5*2)*4)+(3*5)/2: 21
OpenBSD April 7, 2014 NR-EVAL(1)
|