aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/roff/nr/incr.out_ascii
blob: 28797ca4463cdb56e6aa514c3911f33bde2fe89b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
NR-INCR(1)                  General Commands Manual                 NR-INCR(1)



NNAAMMEE
       nr-incr - increment a number register by accessing it

DDEESSCCRRIIPPTTIIOONN
       Roff can count by merely accessing a number register: 1 2 3

       It can also change the step size: 5 7 9

       It can also count down: 6 3 0 -3

       Down in negative steps is up: -1 1 3 5

       Go to some other value, then continue incrementing with an unchanged
       (negative) step size: 40 38 36



OpenBSD                         April 10, 2018                      NR-INCR(1)