summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/incr.out_ascii
blob: c7ca925848588e0614095473e04145e027fb064d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)