]> git.cameronkatri.com Git - mandoc.git/commitdiff
merge a test update from OpenBSD that was forgotten in April
authorIngo Schwarze <schwarze@openbsd.org>
Fri, 21 Dec 2018 17:47:01 +0000 (17:47 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Fri, 21 Dec 2018 17:47:01 +0000 (17:47 +0000)
regress/roff/nr/incr.in
regress/roff/nr/incr.out_ascii

index a03493ff04c87263bd711ec9fc588026b640f6e7..d802c12668ac52c4b341cb8cedede4d2d1b71225 100644 (file)
@@ -1,4 +1,4 @@
-.\" $OpenBSD: undef.in,v 1.1 2018/04/09 22:26:25 schwarze Exp $
+.\" $OpenBSD: incr.in,v 1.1 2018/04/10 00:52:21 schwarze Exp $
 .TH NR-INCR 1 "April 10, 2018"
 .SH NAME
 nr-incr \- increment a number register by accessing it
@@ -28,3 +28,10 @@ Down in negative steps is up:
 \n-[myr]
 \n-[myr]
 \n-[myr]
+.PP
+.nr myr 42
+Go to some other value,
+then continue incrementing with an unchanged (negative) step size:
+\n+[myr]
+\n+[myr]
+\n+[myr]
index d039d5b11e4134199c54836b6256614e8412b392..28797ca4463cdb56e6aa514c3911f33bde2fe89b 100644 (file)
@@ -14,6 +14,9 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
 
        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)