summaryrefslogtreecommitdiffstats
path: root/regress/man/nf
diff options
context:
space:
mode:
Diffstat (limited to 'regress/man/nf')
-rw-r--r--regress/man/nf/Makefile6
-rw-r--r--regress/man/nf/args.in12
-rw-r--r--regress/man/nf/args.out_ascii16
-rw-r--r--regress/man/nf/args.out_lint2
-rw-r--r--regress/man/nf/dupe.in17
-rw-r--r--regress/man/nf/dupe.out_ascii19
-rw-r--r--regress/man/nf/dupe.out_lint2
-rw-r--r--regress/man/nf/indent.in21
-rw-r--r--regress/man/nf/indent.out_ascii25
-rw-r--r--regress/man/nf/userdef.in21
-rw-r--r--regress/man/nf/userdef.out_ascii19
-rw-r--r--regress/man/nf/vert.in28
-rw-r--r--regress/man/nf/vert.out_ascii24
13 files changed, 212 insertions, 0 deletions
diff --git a/regress/man/nf/Makefile b/regress/man/nf/Makefile
new file mode 100644
index 00000000..3f984661
--- /dev/null
+++ b/regress/man/nf/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.7 2015/02/06 08:28:04 schwarze Exp $
+
+REGRESS_TARGETS = indent args vert dupe userdef
+LINT_TARGETS = args dupe
+
+.include <bsd.regress.mk>
diff --git a/regress/man/nf/args.in b/regress/man/nf/args.in
new file mode 100644
index 00000000..8d0c7e58
--- /dev/null
+++ b/regress/man/nf/args.in
@@ -0,0 +1,12 @@
+.TH NF-ARGS 1 "January 16, 2011" OpenBSD
+.SH NAME
+nf-args \- filling macros with arguments
+.SH DESCRIPTION
+regular
+text
+.nf arg1 arg2 arg3
+literal
+text
+.fi arg1 arg2 arg3
+regular
+text
diff --git a/regress/man/nf/args.out_ascii b/regress/man/nf/args.out_ascii
new file mode 100644
index 00000000..114d2fb8
--- /dev/null
+++ b/regress/man/nf/args.out_ascii
@@ -0,0 +1,16 @@
+NF-ARGS(1) General Commands Manual NF-ARGS(1)
+
+
+
+NNAAMMEE
+ nf-args - filling macros with arguments
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ literal
+ text
+ regular text
+
+
+
+OpenBSD January 16, 2011 NF-ARGS(1)
diff --git a/regress/man/nf/args.out_lint b/regress/man/nf/args.out_lint
new file mode 100644
index 00000000..dc11881a
--- /dev/null
+++ b/regress/man/nf/args.out_lint
@@ -0,0 +1,2 @@
+mandoc: args.in:7:5: ERROR: skipping all arguments: nf arg1 arg2 arg3
+mandoc: args.in:10:5: ERROR: skipping all arguments: fi arg1 arg2 arg3
diff --git a/regress/man/nf/dupe.in b/regress/man/nf/dupe.in
new file mode 100644
index 00000000..dfa1acbb
--- /dev/null
+++ b/regress/man/nf/dupe.in
@@ -0,0 +1,17 @@
+.TH NF-DUPE 1 "July 2, 2014" OpenBSD
+.SH NAME
+nf-dupe \- duplicate filling macros
+.SH DESCRIPTION
+regular
+text
+.fi
+still
+regular
+text
+.nf
+literal
+text
+.nf
+still
+literal
+text
diff --git a/regress/man/nf/dupe.out_ascii b/regress/man/nf/dupe.out_ascii
new file mode 100644
index 00000000..ce7f153d
--- /dev/null
+++ b/regress/man/nf/dupe.out_ascii
@@ -0,0 +1,19 @@
+NF-DUPE(1) General Commands Manual NF-DUPE(1)
+
+
+
+NNAAMMEE
+ nf-dupe - duplicate filling macros
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ still regular text
+ literal
+ text
+ still
+ literal
+ text
+
+
+
+OpenBSD July 2, 2014 NF-DUPE(1)
diff --git a/regress/man/nf/dupe.out_lint b/regress/man/nf/dupe.out_lint
new file mode 100644
index 00000000..b33d44c6
--- /dev/null
+++ b/regress/man/nf/dupe.out_lint
@@ -0,0 +1,2 @@
+mandoc: dupe.in:7:2: WARNING: fill mode already enabled, skipping: fi
+mandoc: dupe.in:14:2: WARNING: fill mode already disabled, skipping: nf
diff --git a/regress/man/nf/indent.in b/regress/man/nf/indent.in
new file mode 100644
index 00000000..8c6aedbb
--- /dev/null
+++ b/regress/man/nf/indent.in
@@ -0,0 +1,21 @@
+.TH NF-INDENT 1 "January 4, 2011" OpenBSD
+.SH NAME
+nf-indent \- indentation of literal blocks
+.SH DESCRIPTION
+Here comes
+an indented block:
+.nf
+oneword
+two words
+and three words
+This is a very long line; because it is indented, it is a bit too long to fit.
+blank line:
+
+line with only a zero-width space:
+\&
+line with only a normal space character:
+
+end of literal
+.fi
+He is some more
+regular text.
diff --git a/regress/man/nf/indent.out_ascii b/regress/man/nf/indent.out_ascii
new file mode 100644
index 00000000..4c63327b
--- /dev/null
+++ b/regress/man/nf/indent.out_ascii
@@ -0,0 +1,25 @@
+NF-INDENT(1) General Commands Manual NF-INDENT(1)
+
+
+
+NNAAMMEE
+ nf-indent - indentation of literal blocks
+
+DDEESSCCRRIIPPTTIIOONN
+ Here comes an indented block:
+ oneword
+ two words
+ and three words
+ This is a very long line; because it is indented, it is a bit too long to fit.
+ blank line:
+
+ line with only a zero-width space:
+
+ line with only a normal space character:
+
+ end of literal
+ He is some more regular text.
+
+
+
+OpenBSD January 4, 2011 NF-INDENT(1)
diff --git a/regress/man/nf/userdef.in b/regress/man/nf/userdef.in
new file mode 100644
index 00000000..93422469
--- /dev/null
+++ b/regress/man/nf/userdef.in
@@ -0,0 +1,21 @@
+.TH NF-USERDEF 1 "March 8, 2014" OpenBSD
+.SH NAME
+nf-userdef \- setting unfilled mode via user-defined macros
+.SH DESCRIPTION
+filled
+text
+.nf
+unfilled
+text
+.fi
+filled
+text
+.de MYBLOCK
+.nf
+unfilled
+text
+.fi
+filled
+text
+..
+.MYBLOCK
diff --git a/regress/man/nf/userdef.out_ascii b/regress/man/nf/userdef.out_ascii
new file mode 100644
index 00000000..8b7c42ff
--- /dev/null
+++ b/regress/man/nf/userdef.out_ascii
@@ -0,0 +1,19 @@
+NF-USERDEF(1) General Commands Manual NF-USERDEF(1)
+
+
+
+NNAAMMEE
+ nf-userdef - setting unfilled mode via user-defined macros
+
+DDEESSCCRRIIPPTTIIOONN
+ filled text
+ unfilled
+ text
+ filled text
+ unfilled
+ text
+ filled text
+
+
+
+OpenBSD March 8, 2014 NF-USERDEF(1)
diff --git a/regress/man/nf/vert.in b/regress/man/nf/vert.in
new file mode 100644
index 00000000..3241e6af
--- /dev/null
+++ b/regress/man/nf/vert.in
@@ -0,0 +1,28 @@
+.TH NF-VERT 1 "June 2, 2012" OpenBSD
+.SH NAME
+nf-vert \- spacing around filling macros
+.SH DESCRIPTION
+regular
+text
+.nf
+literal
+text
+.fi
+regular
+text
+.br
+.nf
+literal
+text
+.br
+.fi
+regular
+text
+.sp
+.nf
+literal
+text
+.sp
+.fi
+regular
+text
diff --git a/regress/man/nf/vert.out_ascii b/regress/man/nf/vert.out_ascii
new file mode 100644
index 00000000..2f8732c9
--- /dev/null
+++ b/regress/man/nf/vert.out_ascii
@@ -0,0 +1,24 @@
+NF-VERT(1) General Commands Manual NF-VERT(1)
+
+
+
+NNAAMMEE
+ nf-vert - spacing around filling macros
+
+DDEESSCCRRIIPPTTIIOONN
+ regular text
+ literal
+ text
+ regular text
+ literal
+ text
+ regular text
+
+ literal
+ text
+
+ regular text
+
+
+
+OpenBSD June 2, 2012 NF-VERT(1)