diff options
Diffstat (limited to 'regress/man/SH')
-rw-r--r-- | regress/man/SH/Makefile | 16 | ||||
-rw-r--r-- | regress/man/SH/broken.in | 6 | ||||
-rw-r--r-- | regress/man/SH/broken.out_ascii | 13 | ||||
-rw-r--r-- | regress/man/SH/broken.out_lint | 1 | ||||
-rw-r--r-- | regress/man/SH/broken_eline.in | 7 | ||||
-rw-r--r-- | regress/man/SH/broken_eline.out_ascii | 13 | ||||
-rw-r--r-- | regress/man/SH/broken_eline.out_lint | 2 | ||||
-rw-r--r-- | regress/man/SH/empty_before.in | 6 | ||||
-rw-r--r-- | regress/man/SH/empty_before.out_ascii | 13 | ||||
-rw-r--r-- | regress/man/SH/empty_before.out_lint | 1 | ||||
-rw-r--r-- | regress/man/SH/longarg.in | 9 | ||||
-rw-r--r-- | regress/man/SH/longarg.out_ascii | 17 | ||||
-rw-r--r-- | regress/man/SH/noarg.in | 42 | ||||
-rw-r--r-- | regress/man/SH/noarg.out_ascii | 32 | ||||
-rw-r--r-- | regress/man/SH/noarg.out_lint | 13 |
15 files changed, 191 insertions, 0 deletions
diff --git a/regress/man/SH/Makefile b/regress/man/SH/Makefile new file mode 100644 index 00000000..f94a4cae --- /dev/null +++ b/regress/man/SH/Makefile @@ -0,0 +1,16 @@ +# $OpenBSD: Makefile,v 1.4 2015/04/04 18:52:12 schwarze Exp $ + +REGRESS_TARGETS = broken broken_eline empty_before longarg noarg +LINT_TARGETS = broken broken_eline empty_before noarg + +# groff-1.22.3 defects: +# - .SH without args just before EOF causes two additional blank lines. +# - Empty .SH heads cause additional vertical spacing. +# - If .TP or .IP breaks .SH, the tag becomes bold. +# - If .HP breaks .SH, a line is broken after the next input line. +# - If .RS/RE/nf/fi breaks .SH, the next input line becomes bold. +# - .UR does not break .SH. + +SKIP_GROFF = broken broken_eline noarg + +.include <bsd.regress.mk> diff --git a/regress/man/SH/broken.in b/regress/man/SH/broken.in new file mode 100644 index 00000000..3d963ae1 --- /dev/null +++ b/regress/man/SH/broken.in @@ -0,0 +1,6 @@ +.TH SH-BROKEN 1 "July 30, 2014" OpenBSD +.SH NAME +SH-broken \- section header line scope broken by end of file +.SH DESCRIPTION +some text +.SH diff --git a/regress/man/SH/broken.out_ascii b/regress/man/SH/broken.out_ascii new file mode 100644 index 00000000..eec4694e --- /dev/null +++ b/regress/man/SH/broken.out_ascii @@ -0,0 +1,13 @@ +SH-BROKEN(1) General Commands Manual SH-BROKEN(1) + + + +NNAAMMEE + SH-broken - section header line scope broken by end of file + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SH-BROKEN(1) diff --git a/regress/man/SH/broken.out_lint b/regress/man/SH/broken.out_lint new file mode 100644 index 00000000..70ab7537 --- /dev/null +++ b/regress/man/SH/broken.out_lint @@ -0,0 +1 @@ +mandoc: broken.in:6:2: WARNING: line scope broken: EOF breaks SH diff --git a/regress/man/SH/broken_eline.in b/regress/man/SH/broken_eline.in new file mode 100644 index 00000000..262be276 --- /dev/null +++ b/regress/man/SH/broken_eline.in @@ -0,0 +1,7 @@ +.TH SH-BROKEN_ELINE 1 "July 30, 2014" OpenBSD +.SH NAME +SH-broken_eline \- section and element line scope broken by eof +.SH DESCRIPTION +some text +.SH +.B diff --git a/regress/man/SH/broken_eline.out_ascii b/regress/man/SH/broken_eline.out_ascii new file mode 100644 index 00000000..6590e858 --- /dev/null +++ b/regress/man/SH/broken_eline.out_ascii @@ -0,0 +1,13 @@ +SH-BROKEN_ELINE(1) General Commands Manual SH-BROKEN_ELINE(1) + + + +NNAAMMEE + SH-broken_eline - section and element line scope broken by eof + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD July 30, 2014 SH-BROKEN_ELINE(1) diff --git a/regress/man/SH/broken_eline.out_lint b/regress/man/SH/broken_eline.out_lint new file mode 100644 index 00000000..089bf875 --- /dev/null +++ b/regress/man/SH/broken_eline.out_lint @@ -0,0 +1,2 @@ +mandoc: broken_eline.in:7:2: WARNING: line scope broken: EOF breaks B +mandoc: broken_eline.in:6:2: WARNING: line scope broken: EOF breaks SH diff --git a/regress/man/SH/empty_before.in b/regress/man/SH/empty_before.in new file mode 100644 index 00000000..af1e4ac7 --- /dev/null +++ b/regress/man/SH/empty_before.in @@ -0,0 +1,6 @@ +.TH SH-EMPTY_BEFORE 1 "August 18, 2014" OpenBSD +.PP +.SH NAME +SH-empty_before \- empty paragraph before first section header +.SH DESCRIPTION +some text diff --git a/regress/man/SH/empty_before.out_ascii b/regress/man/SH/empty_before.out_ascii new file mode 100644 index 00000000..14218a13 --- /dev/null +++ b/regress/man/SH/empty_before.out_ascii @@ -0,0 +1,13 @@ +SH-EMPTY_BEFORE(1) General Commands Manual SH-EMPTY_BEFORE(1) + + + +NNAAMMEE + SH-empty_before - empty paragraph before first section header + +DDEESSCCRRIIPPTTIIOONN + some text + + + +OpenBSD August 18, 2014 SH-EMPTY_BEFORE(1) diff --git a/regress/man/SH/empty_before.out_lint b/regress/man/SH/empty_before.out_lint new file mode 100644 index 00000000..b10c421a --- /dev/null +++ b/regress/man/SH/empty_before.out_lint @@ -0,0 +1 @@ +mandoc: empty_before.in:2:2: WARNING: skipping paragraph macro: PP empty diff --git a/regress/man/SH/longarg.in b/regress/man/SH/longarg.in new file mode 100644 index 00000000..54fa474f --- /dev/null +++ b/regress/man/SH/longarg.in @@ -0,0 +1,9 @@ +.TH SH-LONGARG 1 "April 4, 2015" OpenBSD +.SH NAME +SH-longarg \- long section header lines +.SH +DESCRIPTION +initial text +.SH "This section has a really ridiculously long title\ + which won't even fit on the line." +custom section text diff --git a/regress/man/SH/longarg.out_ascii b/regress/man/SH/longarg.out_ascii new file mode 100644 index 00000000..cb45e2a3 --- /dev/null +++ b/regress/man/SH/longarg.out_ascii @@ -0,0 +1,17 @@ +SH-LONGARG(1) General Commands Manual SH-LONGARG(1) + + + +NNAAMMEE + SH-longarg - long section header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + +TThhiiss sseeccttiioonn hhaass aa rreeaallllyy rriiddiiccuulloouussllyy lloonngg ttiittllee wwhhiicchh wwoonn''tt eevveenn ffiitt oonn tthhee + lliinnee.. + custom section text + + + +OpenBSD April 4, 2015 SH-LONGARG(1) diff --git a/regress/man/SH/noarg.in b/regress/man/SH/noarg.in new file mode 100644 index 00000000..58ccac7c --- /dev/null +++ b/regress/man/SH/noarg.in @@ -0,0 +1,42 @@ +.TH SH-NOARG 1 "March 20, 2015" OpenBSD +.SH NAME +SH-noarg \- empty header lines +.SH +.SH +DESCRIPTION +initial text +.SH +.SS Subsection +subsection text +.SH +.TP 6n +tag +tagged list +.SH +.IP tag 6n +indented list +.SH +.HP 6n +This is a hanged paragraph. +A bit more text is needed to see the effect. +.SH +.PP +normal paragraph +.SH +.RS 6n +indented paragraph +.SH +.RE +after the end of the indented paragraph +.SH +.UR www.openbsd.org +hyperlink +.SH +.UE +after the end of the hyperlink +.SH +.nf +no-fill mode +.SH +.fi +back in fill mode diff --git a/regress/man/SH/noarg.out_ascii b/regress/man/SH/noarg.out_ascii new file mode 100644 index 00000000..bc3490df --- /dev/null +++ b/regress/man/SH/noarg.out_ascii @@ -0,0 +1,32 @@ +SH-NOARG(1) General Commands Manual SH-NOARG(1) + + + +NNAAMMEE + SH-noarg - empty header lines + +DDEESSCCRRIIPPTTIIOONN + initial text + + SSuubbsseeccttiioonn + subsection text + + tag tagged list + + tag indented list + + This is a hanged paragraph. A bit more text is needed to see the + effect. + + normal paragraph + indented paragraph + after the end of the indented paragraph hyperlink <www.openbsd.org> + after the end of the hyperlink + + no-fill mode + + back in fill mode + + + +OpenBSD March 20, 2015 SH-NOARG(1) diff --git a/regress/man/SH/noarg.out_lint b/regress/man/SH/noarg.out_lint new file mode 100644 index 00000000..a1bb39b4 --- /dev/null +++ b/regress/man/SH/noarg.out_lint @@ -0,0 +1,13 @@ +mandoc: noarg.in:4:2: WARNING: line scope broken: SH breaks SH +mandoc: noarg.in:8:2: WARNING: line scope broken: SS breaks SH +mandoc: noarg.in:11:2: WARNING: line scope broken: TP breaks SH +mandoc: noarg.in:15:2: WARNING: line scope broken: IP breaks SH +mandoc: noarg.in:18:2: WARNING: line scope broken: HP breaks SH +mandoc: noarg.in:22:2: WARNING: line scope broken: PP breaks SH +mandoc: noarg.in:25:2: WARNING: line scope broken: RS breaks SH +mandoc: noarg.in:28:2: WARNING: line scope broken: RE breaks SH +mandoc: noarg.in:29:2: ERROR: skipping end of block that is not open: RE +mandoc: noarg.in:31:2: WARNING: line scope broken: UR breaks SH +mandoc: noarg.in:34:2: WARNING: line scope broken: UE breaks SH +mandoc: noarg.in:35:2: ERROR: skipping end of block that is not open: UE +mandoc: noarg.in:41:2: WARNING: fill mode already enabled, skipping: fi |