diff options
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/Makefile | 6 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/position.in | 17 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii | 12 |
3 files changed, 32 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Ns/Makefile b/regress/usr.bin/mandoc/mdoc/Ns/Makefile index 5a71b25cf28..f10e864b552 100644 --- a/regress/usr.bin/mandoc/mdoc/Ns/Makefile +++ b/regress/usr.bin/mandoc/mdoc/Ns/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2011/02/06 00:18:58 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2011/02/06 17:33:21 schwarze Exp $ -REGRESS_TARGETS=punct -GROFF_TARGETS=punct +REGRESS_TARGETS=position punct +GROFF_TARGETS=position punct .include <bsd.regress.mk> diff --git a/regress/usr.bin/mandoc/mdoc/Ns/position.in b/regress/usr.bin/mandoc/mdoc/Ns/position.in new file mode 100644 index 00000000000..5798a9b4edb --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ns/position.in @@ -0,0 +1,17 @@ +.Dd February 6, 2011 +.Dt NS-POSITION 1 +.Os +.Sh NAME +.Nm Ns-position +.Nd effect of the position of the no space macro on the line +.Sh DESCRIPTION +In the middle of a macro line: +.Oo before Oc Ns Op after +.Pp +At the beginning of a macro line: +.Op before +.Ns Op after +.Pp +At the end of a macro line: +.Oo before Oc Ns +.Op after diff --git a/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii b/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii new file mode 100644 index 00000000000..34de43b45c3 --- /dev/null +++ b/regress/usr.bin/mandoc/mdoc/Ns/position.out_ascii @@ -0,0 +1,12 @@ +NS-POSITION(1) OpenBSD Reference Manual NS-POSITION(1) + +NNAAMMEE + NNss--ppoossiittiioonn - effect of the position of the no space macro on the line + +DDEESSCCRRIIPPTTIIOONN + In the middle of a macro line: [before][after] + + At the beginning of a macro line: [before] [after] + + At the end of a macro line: [before][after] + |