summaryrefslogtreecommitdiffstats
path: root/regress/roff/while/break.out_ascii
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-04-21 22:48:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-04-21 22:48:58 +0000
commitee05fc6b9d7afc49d5425027d5c9fd1a99e75ca8 (patch)
tree1a0ec30ac83c53723a156c4e3f5c28b0c525bfb0 /regress/roff/while/break.out_ascii
parent06197a5b46b695be6f9f5bf8f2cd0ef405e227b8 (diff)
downloadmandoc-ee05fc6b9d7afc49d5425027d5c9fd1a99e75ca8.tar.gz
Implement the roff .break request (break out of a .while loop).
Jan Stary <hans at stare dot cz> found it in an ancient groffer(1) manual page (version 1.19) on MacOS X Mojave. Having .break not implemented wasn't a particularly bright idea because obviously, it tended to cause infinite loops.
Diffstat (limited to 'regress/roff/while/break.out_ascii')
-rw-r--r--regress/roff/while/break.out_ascii9
1 files changed, 9 insertions, 0 deletions
diff --git a/regress/roff/while/break.out_ascii b/regress/roff/while/break.out_ascii
new file mode 100644
index 00000000..8e3f39b9
--- /dev/null
+++ b/regress/roff/while/break.out_ascii
@@ -0,0 +1,9 @@
+WHILE-BREAK(1) General Commands Manual WHILE-BREAK(1)
+
+NNAAMMEE
+ wwhhiillee--bbrreeaakk - break request inside a while loop
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text 10 - 9 - 8 - 7 - 6 - 5 - 4 - 3 - 2 - 1 - 0 final text
+
+OpenBSD April 21, 2019 OpenBSD