summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/incr.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-21 17:47:01 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-21 17:47:01 +0000
commit2323d7c890449cb408f3426d7aba02eee9174b26 (patch)
tree4cf25710d7512a3f9f5a43ca694a2032541db99a /regress/roff/nr/incr.in
parentaa202260e540ec4a7df78e75b104f0a1c7d0c197 (diff)
downloadmandoc-2323d7c890449cb408f3426d7aba02eee9174b26.tar.gz
merge a test update from OpenBSD that was forgotten in April
Diffstat (limited to 'regress/roff/nr/incr.in')
-rw-r--r--regress/roff/nr/incr.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/roff/nr/incr.in b/regress/roff/nr/incr.in
index a03493ff..d802c126 100644
--- a/regress/roff/nr/incr.in
+++ b/regress/roff/nr/incr.in
@@ -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]