summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-11-18 00:05:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-11-18 00:05:29 +0000
commit5c831a2c95d5f842056417aa34a5a8610f302826 (patch)
tree9fa538154b00f7907ba4b0fe9b698f3a31e356e2 /regress
parentd61772fd2a28c4d68abf20354d6a30324357f557 (diff)
Fix four small whitespace issues related to trailing punctuation
reported by Nicolas Joly <njoly at pasteur dot fr>: - add EOS spacing after trailing punctuation after .Cd, .Fc, and .Lb - suppress spacing before trailing punctuation after .Fd
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/eos.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Cd/eos.out_ascii9
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/eos.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fd/eos.out_ascii10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/Makefile6
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/eos.in15
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/eos.out_ascii10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Lb/Makefile4
-rw-r--r--regress/usr.bin/mandoc/mdoc/Lb/eos.in10
-rw-r--r--regress/usr.bin/mandoc/mdoc/Lb/eos.out_ascii9
12 files changed, 95 insertions, 8 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/Makefile b/regress/usr.bin/mandoc/mdoc/Cd/Makefile
index 24e03a34e5c..c4a874f256f 100644
--- a/regress/usr.bin/mandoc/mdoc/Cd/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Cd/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $
+# $OpenBSD: Makefile,v 1.4 2012/11/18 00:05:28 schwarze Exp $
-REGRESS_TARGETS = noarg font
+REGRESS_TARGETS = noarg font eos
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/eos.in b/regress/usr.bin/mandoc/mdoc/Cd/eos.in
new file mode 100644
index 00000000000..9f83b8fc9be
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Cd/eos.in
@@ -0,0 +1,10 @@
+.Dd November 17, 2012
+.Dt CD-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Cd-eos
+.Nd end of sentence handling after the configuration directive macro
+.Sh DESCRIPTION
+Do not use
+.Cd options INSECURE .
+It is insecure.
diff --git a/regress/usr.bin/mandoc/mdoc/Cd/eos.out_ascii b/regress/usr.bin/mandoc/mdoc/Cd/eos.out_ascii
new file mode 100644
index 00000000000..7a708a00660
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Cd/eos.out_ascii
@@ -0,0 +1,9 @@
+CD-EOS(1) OpenBSD Reference Manual CD-EOS(1)
+
+NNAAMMEE
+ CCdd--eeooss - end of sentence handling after the configuration directive macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Do not use ooppttiioonnss IINNSSEECCUURREE. It is insecure.
+
+OpenBSD November 17, 2012 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/Makefile b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
index aebcffbadd8..18ce23ac96d 100644
--- a/regress/usr.bin/mandoc/mdoc/Fd/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fd/Makefile
@@ -1,5 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2012/07/09 23:52:47 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2012/11/18 00:05:28 schwarze Exp $
-REGRESS_TARGETS = break font
+REGRESS_TARGETS = break font eos
+
+SKIP_TMAN = eos
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/eos.in b/regress/usr.bin/mandoc/mdoc/Fd/eos.in
new file mode 100644
index 00000000000..f2efb028280
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fd/eos.in
@@ -0,0 +1,10 @@
+.Dd November 17, 2012
+.Dt FD-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fd-eos
+.Nd end of sentence handling after the legacy include macro
+.Sh DESCRIPTION
+Let's use
+.Fd string.h .
+And then something else.
diff --git a/regress/usr.bin/mandoc/mdoc/Fd/eos.out_ascii b/regress/usr.bin/mandoc/mdoc/Fd/eos.out_ascii
new file mode 100644
index 00000000000..deb09b50b78
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fd/eos.out_ascii
@@ -0,0 +1,10 @@
+FD-EOS(1) OpenBSD Reference Manual FD-EOS(1)
+
+NNAAMMEE
+ FFdd--eeooss - end of sentence handling after the legacy include macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Let's use ssttrriinngg..hh ..
+ And then something else.
+
+OpenBSD November 17, 2012 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/Makefile b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
index d9da91a2621..48facb8351c 100644
--- a/regress/usr.bin/mandoc/mdoc/Fo/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Fo/Makefile
@@ -1,9 +1,11 @@
-# $OpenBSD: Makefile,v 1.5 2012/07/09 17:52:09 schwarze Exp $
+# $OpenBSD: Makefile,v 1.6 2012/11/18 00:05:28 schwarze Exp $
-REGRESS_TARGETS = basic section noarg font
+REGRESS_TARGETS = basic section noarg font eos
# groff 1.21 does not handle .nr nS
SKIP_GROFF ?= section
+SKIP_TMAN = eos
+
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/eos.in b/regress/usr.bin/mandoc/mdoc/Fo/eos.in
new file mode 100644
index 00000000000..a97e00f9442
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/eos.in
@@ -0,0 +1,15 @@
+.Dd November 17, 2012
+.Dt FO-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fo-eos
+.Nd end of sentence handling after a function block
+.Sh DESCRIPTION
+As an example of a trigonometric function, let us consider
+.Fn "double sin" "double x" .
+Or do you prefer
+.Ft double
+.Fo cos
+.Fa double x
+.Fc .
+Either will do.
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/eos.out_ascii b/regress/usr.bin/mandoc/mdoc/Fo/eos.out_ascii
new file mode 100644
index 00000000000..3690acafb7a
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/eos.out_ascii
@@ -0,0 +1,10 @@
+FO-EOS(1) OpenBSD Reference Manual FO-EOS(1)
+
+NNAAMMEE
+ FFoo--eeooss - end of sentence handling after a function block
+
+DDEESSCCRRIIPPTTIIOONN
+ As an example of a trigonometric function, let us consider ddoouubbllee
+ ssiinn(_d_o_u_b_l_e _x). Or do you prefer _d_o_u_b_l_e ccooss(_d_o_u_b_l_e, _x). Either will do.
+
+OpenBSD November 17, 2012 OpenBSD
diff --git a/regress/usr.bin/mandoc/mdoc/Lb/Makefile b/regress/usr.bin/mandoc/mdoc/Lb/Makefile
index b3a6bc02761..db35db4b92f 100644
--- a/regress/usr.bin/mandoc/mdoc/Lb/Makefile
+++ b/regress/usr.bin/mandoc/mdoc/Lb/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.4 2012/07/07 14:10:55 schwarze Exp $
+# $OpenBSD: Makefile,v 1.5 2012/11/18 00:05:28 schwarze Exp $
-REGRESS_TARGETS=break badargs
+REGRESS_TARGETS = break badargs eos
.include <bsd.regress.mk>
diff --git a/regress/usr.bin/mandoc/mdoc/Lb/eos.in b/regress/usr.bin/mandoc/mdoc/Lb/eos.in
new file mode 100644
index 00000000000..73a5cdcc569
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Lb/eos.in
@@ -0,0 +1,10 @@
+.Dd November 17, 2012
+.Dt LB-EOS 1
+.Os OpenBSD
+.Sh NAME
+.Nm Lb-eos
+.Nd end of sentence handling after the library macro
+.Sh DESCRIPTION
+Let's use the
+.Lb libm .
+And some other libraries.
diff --git a/regress/usr.bin/mandoc/mdoc/Lb/eos.out_ascii b/regress/usr.bin/mandoc/mdoc/Lb/eos.out_ascii
new file mode 100644
index 00000000000..1d868d70c8d
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Lb/eos.out_ascii
@@ -0,0 +1,9 @@
+LB-EOS(1) OpenBSD Reference Manual LB-EOS(1)
+
+NNAAMMEE
+ LLbb--eeooss - end of sentence handling after the library macro
+
+DDEESSCCRRIIPPTTIIOONN
+ Let's use the Math Library (libm, -lm). And some other libraries.
+
+OpenBSD November 17, 2012 OpenBSD