diff options
Diffstat (limited to 'regress/mdoc/Cm')
-rw-r--r-- | regress/mdoc/Cm/Makefile | 6 | ||||
-rw-r--r-- | regress/mdoc/Cm/basic.in | 12 | ||||
-rw-r--r-- | regress/mdoc/Cm/basic.out_ascii | 11 | ||||
-rw-r--r-- | regress/mdoc/Cm/font.in | 10 | ||||
-rw-r--r-- | regress/mdoc/Cm/font.out_ascii | 9 | ||||
-rw-r--r-- | regress/mdoc/Cm/noarg.in | 12 | ||||
-rw-r--r-- | regress/mdoc/Cm/noarg.out_ascii | 11 | ||||
-rw-r--r-- | regress/mdoc/Cm/noarg.out_lint | 2 |
8 files changed, 73 insertions, 0 deletions
diff --git a/regress/mdoc/Cm/Makefile b/regress/mdoc/Cm/Makefile new file mode 100644 index 00000000..e674e756 --- /dev/null +++ b/regress/mdoc/Cm/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.3 2014/07/02 20:18:42 schwarze Exp $ + +REGRESS_TARGETS = basic font noarg +LINT_TARGETS = noarg + +.include <bsd.regress.mk> diff --git a/regress/mdoc/Cm/basic.in b/regress/mdoc/Cm/basic.in new file mode 100644 index 00000000..2fba179c --- /dev/null +++ b/regress/mdoc/Cm/basic.in @@ -0,0 +1,12 @@ +.Dd July 6, 2012 +.Dt CM-BASIC 1 +.Os OpenBSD +.Sh NAME +.Nm Cm-basic +.Nd basic usage of the Cm macro +.Sh DESCRIPTION +end of line: +.Nm mt Fl f Ar device Cm rewind +.Pp +middle of line: +.Nm ps Fl o Cm pid , Ns Cm command diff --git a/regress/mdoc/Cm/basic.out_ascii b/regress/mdoc/Cm/basic.out_ascii new file mode 100644 index 00000000..98899c00 --- /dev/null +++ b/regress/mdoc/Cm/basic.out_ascii @@ -0,0 +1,11 @@ +CM-BASIC(1) General Commands Manual CM-BASIC(1) + +NNAAMMEE + CCmm--bbaassiicc - basic usage of the Cm macro + +DDEESSCCRRIIPPTTIIOONN + end of line: mmtt --ff _d_e_v_i_c_e rreewwiinndd + + middle of line: ppss --oo ppiidd,ccoommmmaanndd + +OpenBSD July 6, 2012 OpenBSD diff --git a/regress/mdoc/Cm/font.in b/regress/mdoc/Cm/font.in new file mode 100644 index 00000000..db58f6dd --- /dev/null +++ b/regress/mdoc/Cm/font.in @@ -0,0 +1,10 @@ +.Dd July 9, 2012 +.Dt CM-FONT 1 +.Os OpenBSD +.Sh NAME +.Nm Cm-font +.Nd changing fonts inside the command modifier macro +.Sh DESCRIPTION +normal text +.Cm bold\\fIemphasis\\fPback +trailing text diff --git a/regress/mdoc/Cm/font.out_ascii b/regress/mdoc/Cm/font.out_ascii new file mode 100644 index 00000000..ae48e4b1 --- /dev/null +++ b/regress/mdoc/Cm/font.out_ascii @@ -0,0 +1,9 @@ +CM-FONT(1) General Commands Manual CM-FONT(1) + +NNAAMMEE + CCmm--ffoonntt - changing fonts inside the command modifier macro + +DDEESSCCRRIIPPTTIIOONN + normal text bboolldd_e_m_p_h_a_s_i_sbbaacckk trailing text + +OpenBSD July 9, 2012 OpenBSD diff --git a/regress/mdoc/Cm/noarg.in b/regress/mdoc/Cm/noarg.in new file mode 100644 index 00000000..750ce84c --- /dev/null +++ b/regress/mdoc/Cm/noarg.in @@ -0,0 +1,12 @@ +.Dd July 2, 2014 +.Dt CM-NOARG 1 +.Os OpenBSD +.Sh NAME +.Nm Cm-noarg +.Nd command modifier macro without arguments +.Sh DESCRIPTION +end of line: +.Nm mt Fl f Ar device Cm +.Pp +middle of line: +.Nm ps Fl x Cm Fl o Cm command diff --git a/regress/mdoc/Cm/noarg.out_ascii b/regress/mdoc/Cm/noarg.out_ascii new file mode 100644 index 00000000..83186d1c --- /dev/null +++ b/regress/mdoc/Cm/noarg.out_ascii @@ -0,0 +1,11 @@ +CM-NOARG(1) General Commands Manual CM-NOARG(1) + +NNAAMMEE + CCmm--nnooaarrgg - command modifier macro without arguments + +DDEESSCCRRIIPPTTIIOONN + end of line: mmtt --ff _d_e_v_i_c_e + + middle of line: ppss --xx --oo ccoommmmaanndd + +OpenBSD July 2, 2014 OpenBSD diff --git a/regress/mdoc/Cm/noarg.out_lint b/regress/mdoc/Cm/noarg.out_lint new file mode 100644 index 00000000..3a828e5a --- /dev/null +++ b/regress/mdoc/Cm/noarg.out_lint @@ -0,0 +1,2 @@ +mandoc: noarg.in:9:23: WARNING: skipping empty macro: Cm +mandoc: noarg.in:12:13: WARNING: skipping empty macro: Cm |