summaryrefslogtreecommitdiffstats
path: root/regress/man/PP
diff options
context:
space:
mode:
Diffstat (limited to 'regress/man/PP')
-rw-r--r--regress/man/PP/Makefile6
-rw-r--r--regress/man/PP/args.in11
-rw-r--r--regress/man/PP/args.out_ascii19
-rw-r--r--regress/man/PP/args.out_lint3
-rw-r--r--regress/man/PP/empty.in15
-rw-r--r--regress/man/PP/empty.out_ascii19
-rw-r--r--regress/man/PP/empty.out_lint3
7 files changed, 76 insertions, 0 deletions
diff --git a/regress/man/PP/Makefile b/regress/man/PP/Makefile
new file mode 100644
index 00000000..7655d294
--- /dev/null
+++ b/regress/man/PP/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.4 2014/07/04 16:11:41 schwarze Exp $
+
+REGRESS_TARGETS = args empty
+LINT_TARGETS = args empty
+
+.include <bsd.regress.mk>
diff --git a/regress/man/PP/args.in b/regress/man/PP/args.in
new file mode 100644
index 00000000..e608d9b9
--- /dev/null
+++ b/regress/man/PP/args.in
@@ -0,0 +1,11 @@
+.TH PP-ARG 1 "July 4, 2014" OpenBSD
+.SH NAME
+PP-arg \- paragraphs macros with arguments
+.SH DESCRIPTION
+PP with argument:
+.PP arg
+LP with arguments:
+.LP arg1 arg2
+P with argument:
+.P arg
+final text
diff --git a/regress/man/PP/args.out_ascii b/regress/man/PP/args.out_ascii
new file mode 100644
index 00000000..10cb1774
--- /dev/null
+++ b/regress/man/PP/args.out_ascii
@@ -0,0 +1,19 @@
+PP-ARG(1) General Commands Manual PP-ARG(1)
+
+
+
+NNAAMMEE
+ PP-arg - paragraphs macros with arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ PP with argument:
+
+ LP with arguments:
+
+ P with argument:
+
+ final text
+
+
+
+OpenBSD July 4, 2014 PP-ARG(1)
diff --git a/regress/man/PP/args.out_lint b/regress/man/PP/args.out_lint
new file mode 100644
index 00000000..f2862245
--- /dev/null
+++ b/regress/man/PP/args.out_lint
@@ -0,0 +1,3 @@
+mandoc: args.in:6:2: ERROR: skipping all arguments: PP arg
+mandoc: args.in:8:2: ERROR: skipping all arguments: LP arg1 ...
+mandoc: args.in:10:2: ERROR: skipping all arguments: P arg
diff --git a/regress/man/PP/empty.in b/regress/man/PP/empty.in
new file mode 100644
index 00000000..a6ac538f
--- /dev/null
+++ b/regress/man/PP/empty.in
@@ -0,0 +1,15 @@
+.TH PP-EMPTY 1 "May 24, 2010" OpenBSD
+.SH NAME
+PP-empty \- handling of empty paragraphs
+.SH DESCRIPTION
+.PP
+empty PP between two PPs:
+.PP
+.PP
+empty PP between PP and IP:
+.PP
+.IP head
+empty PP between IP and PP:
+.PP
+.PP
+the end
diff --git a/regress/man/PP/empty.out_ascii b/regress/man/PP/empty.out_ascii
new file mode 100644
index 00000000..ec770f2d
--- /dev/null
+++ b/regress/man/PP/empty.out_ascii
@@ -0,0 +1,19 @@
+PP-EMPTY(1) General Commands Manual PP-EMPTY(1)
+
+
+
+NNAAMMEE
+ PP-empty - handling of empty paragraphs
+
+DDEESSCCRRIIPPTTIIOONN
+ empty PP between two PPs:
+
+ empty PP between PP and IP:
+
+ head empty PP between IP and PP:
+
+ the end
+
+
+
+OpenBSD May 24, 2010 PP-EMPTY(1)
diff --git a/regress/man/PP/empty.out_lint b/regress/man/PP/empty.out_lint
new file mode 100644
index 00000000..6af9e658
--- /dev/null
+++ b/regress/man/PP/empty.out_lint
@@ -0,0 +1,3 @@
+mandoc: empty.in:7:2: WARNING: skipping paragraph macro: PP empty
+mandoc: empty.in:10:2: WARNING: skipping paragraph macro: PP empty
+mandoc: empty.in:13:2: WARNING: skipping paragraph macro: PP empty