summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Oo
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Oo')
-rw-r--r--regress/mdoc/Oo/Makefile5
-rw-r--r--regress/mdoc/Oo/punct.in23
-rw-r--r--regress/mdoc/Oo/punct.out_ascii13
3 files changed, 41 insertions, 0 deletions
diff --git a/regress/mdoc/Oo/Makefile b/regress/mdoc/Oo/Makefile
new file mode 100644
index 00000000..086f9bdf
--- /dev/null
+++ b/regress/mdoc/Oo/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/07/07 14:10:55 schwarze Exp $
+
+REGRESS_TARGETS=punct
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Oo/punct.in b/regress/mdoc/Oo/punct.in
new file mode 100644
index 00000000..c9e9d732
--- /dev/null
+++ b/regress/mdoc/Oo/punct.in
@@ -0,0 +1,23 @@
+.Dd July 6, 2012
+.Dt OO-PUNCT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Oo-punct
+.Nd punctuation handling by the Oo macro
+.Sh DESCRIPTION
+at the beginning:
+.Oo ( z
+.Oo | z
+.Oo . z
+.Oc Oc Oc
+.Pp
+in the middle:
+.Oo a ( z
+.Oo a | z
+.Oo a . z
+.Oc Oc Oc
+.Pp
+at the end:
+.Oo Oo a (
+.Oc |
+.Oc
diff --git a/regress/mdoc/Oo/punct.out_ascii b/regress/mdoc/Oo/punct.out_ascii
new file mode 100644
index 00000000..ca487cf6
--- /dev/null
+++ b/regress/mdoc/Oo/punct.out_ascii
@@ -0,0 +1,13 @@
+OO-PUNCT(1) General Commands Manual OO-PUNCT(1)
+
+NNAAMMEE
+ OOoo--ppuunncctt - punctuation handling by the Oo macro
+
+DDEESSCCRRIIPPTTIIOONN
+ at the beginning: ([z [| z [. z]]]
+
+ in the middle: [a (z [a | z [a. z]]]
+
+ at the end: [[a (] |]
+
+OpenBSD July 6, 2012 OpenBSD