summaryrefslogtreecommitdiffstats
path: root/regress/roff/nr/incr.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-04-10 00:52:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-04-10 00:52:30 +0000
commit37f94bbdf74663ed1f212a4a0aa87e4faf4ca885 (patch)
tree2fa8495fcc4d028ad7c5b27d0950eb9637149e7f /regress/roff/nr/incr.out_ascii
parent272b0bdc5c87bfffd9b9864eac579487de6636ea (diff)
downloadmandoc-37f94bbdf74663ed1f212a4a0aa87e4faf4ca885.tar.gz
Two new low-level roff(7) features:
* .nr optional third argument (auto-increment step size) * \n+ and \n- numerical register auto-increment and -decrement bentley@ reported on Dec 9, 2013 that lang/sbcl(1) uses these.
Diffstat (limited to 'regress/roff/nr/incr.out_ascii')
-rw-r--r--regress/roff/nr/incr.out_ascii19
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/roff/nr/incr.out_ascii b/regress/roff/nr/incr.out_ascii
new file mode 100644
index 00000000..d039d5b1
--- /dev/null
+++ b/regress/roff/nr/incr.out_ascii
@@ -0,0 +1,19 @@
+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
+
+
+
+OpenBSD April 10, 2018 NR-INCR(1)