summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Ar
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
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/mdoc/Ar
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/mdoc/Ar')
-rw-r--r--regress/mdoc/Ar/Makefile5
-rw-r--r--regress/mdoc/Ar/font.in10
-rw-r--r--regress/mdoc/Ar/font.out_ascii9
-rw-r--r--regress/mdoc/Ar/punct.in39
-rw-r--r--regress/mdoc/Ar/punct.out_ascii12
5 files changed, 75 insertions, 0 deletions
diff --git a/regress/mdoc/Ar/Makefile b/regress/mdoc/Ar/Makefile
new file mode 100644
index 00000000..2d1d895c
--- /dev/null
+++ b/regress/mdoc/Ar/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $
+
+REGRESS_TARGETS = punct font
+
+.include <bsd.regress.mk>
diff --git a/regress/mdoc/Ar/font.in b/regress/mdoc/Ar/font.in
new file mode 100644
index 00000000..aa14b7d8
--- /dev/null
+++ b/regress/mdoc/Ar/font.in
@@ -0,0 +1,10 @@
+.Dd July 9, 2012
+.Dt AR-FONT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ar-font
+.Nd changing fonts inside the argument macro
+.Sh DESCRIPTION
+normal text
+.Ar emphasis\\fBbold\\fPback
+trailing text
diff --git a/regress/mdoc/Ar/font.out_ascii b/regress/mdoc/Ar/font.out_ascii
new file mode 100644
index 00000000..c30d0078
--- /dev/null
+++ b/regress/mdoc/Ar/font.out_ascii
@@ -0,0 +1,9 @@
+AR-FONT(1) General Commands Manual AR-FONT(1)
+
+NNAAMMEE
+ AArr--ffoonntt - changing fonts inside the argument macro
+
+DDEESSCCRRIIPPTTIIOONN
+ normal text _e_m_p_h_a_s_i_sbboolldd_b_a_c_k trailing text
+
+OpenBSD July 9, 2012 OpenBSD
diff --git a/regress/mdoc/Ar/punct.in b/regress/mdoc/Ar/punct.in
new file mode 100644
index 00000000..963f7535
--- /dev/null
+++ b/regress/mdoc/Ar/punct.in
@@ -0,0 +1,39 @@
+.Dd August 21, 2014
+.Dt AR-PUNCT 1
+.Os OpenBSD
+.Sh NAME
+.Nm Ar-punct
+.Nd punctuation handling by the Ar macro
+.Sh DESCRIPTION
+closing punctuation
+.Ar a )
+only one
+.Ar )
+only more than one
+.Ar ) )
+middle
+.Ar a ) z
+start
+.Ar ) z
+dot
+.Ar . z
+comma
+.Ar , z
+semicolon
+.Ar ; z
+colon
+.Ar : z
+quest
+.Ar ? z
+excl
+.Ar ! z
+paren
+.Ar ) z
+bracket
+.Ar ] z
+bar
+.Ar | m
+op paren
+.Ar ( a
+op bracket
+.Ar [ a
diff --git a/regress/mdoc/Ar/punct.out_ascii b/regress/mdoc/Ar/punct.out_ascii
new file mode 100644
index 00000000..d780dbcf
--- /dev/null
+++ b/regress/mdoc/Ar/punct.out_ascii
@@ -0,0 +1,12 @@
+AR-PUNCT(1) General Commands Manual AR-PUNCT(1)
+
+NNAAMMEE
+ AArr--ppuunncctt - punctuation handling by the Ar macro
+
+DDEESSCCRRIIPPTTIIOONN
+ closing punctuation _a) only one _f_i_l_e _._._.) only more than one _f_i_l_e _._._.))
+ middle _a) _z start _f_i_l_e _._._.) _z dot _f_i_l_e _._._.. _z comma _f_i_l_e _._._., _z semicolon
+ _f_i_l_e _._._.; _z colon _f_i_l_e _._._.: _z quest _f_i_l_e _._._.? _z excl _f_i_l_e _._._.! _z paren
+ _f_i_l_e _._._.) _z bracket _f_i_l_e _._._.] _z bar | _m op paren (_a op bracket [_a
+
+OpenBSD August 21, 2014 OpenBSD