summaryrefslogtreecommitdiffstats
path: root/regress/char/bar
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/char/bar
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/char/bar')
-rw-r--r--regress/char/bar/Makefile5
-rw-r--r--regress/char/bar/man.in12
-rw-r--r--regress/char/bar/man.out_ascii21
-rw-r--r--regress/char/bar/mdoc.in37
-rw-r--r--regress/char/bar/mdoc.out_ascii31
5 files changed, 106 insertions, 0 deletions
diff --git a/regress/char/bar/Makefile b/regress/char/bar/Makefile
new file mode 100644
index 00000000..0245631c
--- /dev/null
+++ b/regress/char/bar/Makefile
@@ -0,0 +1,5 @@
+# $OpenBSD: Makefile,v 1.1 2012/07/18 10:36:20 schwarze Exp $
+
+REGRESS_TARGETS = man mdoc
+
+.include <bsd.regress.mk>
diff --git a/regress/char/bar/man.in b/regress/char/bar/man.in
new file mode 100644
index 00000000..acabf501
--- /dev/null
+++ b/regress/char/bar/man.in
@@ -0,0 +1,12 @@
+.TH bar-man 1 "July 17, 2012" OpenBSD
+.SH NAME
+\fBbar-man\fR - formatting the vertical bar symbol
+.SH DESCRIPTION
+.SS normal bar
+Manually switching fonts: \fIitalic\fRroman|roman\fPitalic
+.PP
+.B prefix | suffix
+.SS special character
+Manually switching fonts: \fIitalic\fRroman\(baroman\fPitalic
+.PP
+.B prefix \(ba suffix
diff --git a/regress/char/bar/man.out_ascii b/regress/char/bar/man.out_ascii
new file mode 100644
index 00000000..b18c089e
--- /dev/null
+++ b/regress/char/bar/man.out_ascii
@@ -0,0 +1,21 @@
+bar-man(1) General Commands Manual bar-man(1)
+
+
+
+NNAAMMEE
+ bbaarr--mmaann - formatting the vertical bar symbol
+
+DDEESSCCRRIIPPTTIIOONN
+ nnoorrmmaall bbaarr
+ Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c
+
+ pprreeffiixx || ssuuffffiixx
+
+ ssppeecciiaall cchhaarraacctteerr
+ Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c
+
+ pprreeffiixx || ssuuffffiixx
+
+
+
+OpenBSD July 17, 2012 bar-man(1)
diff --git a/regress/char/bar/mdoc.in b/regress/char/bar/mdoc.in
new file mode 100644
index 00000000..5e9afa0a
--- /dev/null
+++ b/regress/char/bar/mdoc.in
@@ -0,0 +1,37 @@
+.Dd July 17, 2012
+.Dt BAR-MDOC 1
+.Os OpenBSD
+.Sh NAME
+.Nm bar-mdoc
+.Nd formatting the vertical bar symbol
+.Sh DESCRIPTION
+.Ss normal bar
+Manually switching fonts: \fIitalic\fRroman|roman\fPitalic\fR
+.Pp
+.Fl isolated | em|bedded \fR|\fP formatted
+.br
+.Sy isolated | em|bedded \fR|\fP formatted
+.br
+.Ar isolated | em|bedded \fR|\fP formatted
+.br
+.Em isolated | em|bedded \fR|\fP formatted
+.Ss special character
+Manually switching fonts: \fIitalic\fRroman\(baroman\fPitalic\fR
+.Pp
+.Fl isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold
+.br
+.Sy isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold
+.br
+.Ar isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold
+.br
+.Em isolated \(ba em\(babedded \fR\(ba\fP formatted \fB\(ba\fP bold
+.Ss predefined string
+Manually switching fonts: \fIitalic\fRroman\*(Baroman\fPbroken\fR
+.Pp
+.Fl isolated \*(Ba em\*(Babedded
+.br
+.Sy isolated \*(Ba em\*(Babedded
+.br
+.Ar isolated \*(Ba em\*(Babedded
+.br
+.Em isolated \*(Ba em\*(Babedded
diff --git a/regress/char/bar/mdoc.out_ascii b/regress/char/bar/mdoc.out_ascii
new file mode 100644
index 00000000..8d98160a
--- /dev/null
+++ b/regress/char/bar/mdoc.out_ascii
@@ -0,0 +1,31 @@
+BAR-MDOC(1) General Commands Manual BAR-MDOC(1)
+
+NNAAMMEE
+ bbaarr--mmddoocc - formatting the vertical bar symbol
+
+DDEESSCCRRIIPPTTIIOONN
+ nnoorrmmaall bbaarr
+ Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c
+
+ --iissoollaatteedd | --eemm||bbeeddddeedd | --ffoorrmmaatttteedd
+ iissoollaatteedd | eemm||bbeeddddeedd | ffoorrmmaatttteedd
+ _i_s_o_l_a_t_e_d | _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d
+ _i_s_o_l_a_t_e_d | _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d
+
+ ssppeecciiaall cchhaarraacctteerr
+ Manually switching fonts: _i_t_a_l_i_croman|roman_i_t_a_l_i_c
+
+ --iissoollaatteedd --|| --eemm||bbeeddddeedd --| --ffoorrmmaatttteedd --|| --bboolldd
+ iissoollaatteedd || eemm||bbeeddddeedd | ffoorrmmaatttteedd || bboolldd
+ _i_s_o_l_a_t_e_d _| _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d || _b_o_l_d
+ _i_s_o_l_a_t_e_d _| _e_m_|_b_e_d_d_e_d | _f_o_r_m_a_t_t_e_d || _b_o_l_d
+
+ pprreeddeeffiinneedd ssttrriinngg
+ Manually switching fonts: _i_t_a_l_i_croman|romanbroken
+
+ --iissoollaatteedd | --eemm|bbeeddddeedd
+ iissoollaatteedd | eemm|bbeeddddeedd
+ _i_s_o_l_a_t_e_d | _e_m|_b_e_d_d_e_d
+ _i_s_o_l_a_t_e_d | _e_m|_b_e_d_d_e_d
+
+OpenBSD July 17, 2012 OpenBSD