aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/EX
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commitd9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch)
treec07efd74ac58650949dc67576001a720e688319f /regress/man/EX
parentcdbb1fca07752eb230e5219c22e9e65075c85b82 (diff)
downloadmandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/man/EX')
-rw-r--r--regress/man/EX/Makefile5
-rw-r--r--regress/man/EX/args.in12
-rw-r--r--regress/man/EX/args.out_ascii16
-rw-r--r--regress/man/EX/nested.in18
-rw-r--r--regress/man/EX/nested.out_ascii19
-rw-r--r--regress/man/EX/spacing.in35
-rw-r--r--regress/man/EX/spacing.out_ascii27
7 files changed, 132 insertions, 0 deletions
diff --git a/regress/man/EX/Makefile b/regress/man/EX/Makefile
new file mode 100644
index 00000000..8837c524
--- /dev/null
+++ b/regress/man/EX/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/06/02 20:07:09 schwarze Exp $
+
+REGRESS_TARGETS=spacing nested args
+
+.include <bsd.regress.mk>
diff --git a/regress/man/EX/args.in b/regress/man/EX/args.in
new file mode 100644
index 00000000..ac88a38a
--- /dev/null
+++ b/regress/man/EX/args.in
@@ -0,0 +1,12 @@
+.TH EX-ARGS 1 "June 3, 2012" OpenBSD
+.SH NAME
+EX-args \- example macro with arguments
+.SH DESCRIPTION
+regular
+text
+.EX arg1 arg2 arg3
+literal
+text
+.EE arg1 arg2 arg3
+regular
+text
diff --git a/regress/man/EX/args.out_ascii b/regress/man/EX/args.out_ascii
new file mode 100644
index 00000000..c30bfb31
--- /dev/null
+++ b/regress/man/EX/args.out_ascii
@@ -0,0 +1,16 @@
+EX-ARGS(1) General Commands Manual EX-ARGS(1)
+
+
+
+NNAAMMEE
+ EX-args - example macro with arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ literal
+ text
+ regular text
+
+
+
+OpenBSD June 3, 2012 EX-ARGS(1)
diff --git a/regress/man/EX/nested.in b/regress/man/EX/nested.in
new file mode 100644
index 00000000..8ecf0ca2
--- /dev/null
+++ b/regress/man/EX/nested.in
@@ -0,0 +1,18 @@
+.TH EX-NESTED 1 "June 3, 2012" OpenBSD
+.SH NAME
+EX-nested \- nested example macros
+.SH DESCRIPTION
+regular
+text
+.EX
+outer
+example
+.EX
+inner
+example
+.EE
+outer
+example
+.EE
+regular
+text
diff --git a/regress/man/EX/nested.out_ascii b/regress/man/EX/nested.out_ascii
new file mode 100644
index 00000000..3d639b28
--- /dev/null
+++ b/regress/man/EX/nested.out_ascii
@@ -0,0 +1,19 @@
+EX-NESTED(1) General Commands Manual EX-NESTED(1)
+
+
+
+NNAAMMEE
+ EX-nested - nested example macros
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ outer
+ example
+ inner
+ example
+ outer example
+ regular text
+
+
+
+OpenBSD June 3, 2012 EX-NESTED(1)
diff --git a/regress/man/EX/spacing.in b/regress/man/EX/spacing.in
new file mode 100644
index 00000000..aa307d05
--- /dev/null
+++ b/regress/man/EX/spacing.in
@@ -0,0 +1,35 @@
+.TH EX-SPACING 1 "June 3, 2012" OpenBSD
+.SH NAME
+EX-spacing \- spacing around the example macro
+.SH DESCRIPTION
+regular
+text
+.EX
+example
+text
+.EE
+regular
+text
+.nf
+literal
+text
+.EX
+example
+text
+.EE
+regular
+text
+.PP
+.EX
+after PP, before nf
+.EE
+.nf
+.EX
+after nf, before fi
+.EE
+.fi
+after fi, before PP
+.EE
+.PP
+regular
+text
diff --git a/regress/man/EX/spacing.out_ascii b/regress/man/EX/spacing.out_ascii
new file mode 100644
index 00000000..0dd2527f
--- /dev/null
+++ b/regress/man/EX/spacing.out_ascii
@@ -0,0 +1,27 @@
+EX-SPACING(1) General Commands Manual EX-SPACING(1)
+
+
+
+NNAAMMEE
+ EX-spacing - spacing around the example macro
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ example
+ text
+ regular text
+ literal
+ text
+ example
+ text
+ regular text
+
+ after PP, before nf
+ after nf, before fi
+ after fi, before PP
+
+ regular text
+
+
+
+OpenBSD June 3, 2012 EX-SPACING(1)