diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-04 15:24:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-04 15:24:36 +0000 |
commit | 2ab7deeb36296dfb6dee301dc3560af24219a22f (patch) | |
tree | 4bc8a91cabb31cc075ec6a68a99c34ef3bd823f8 /regress/mdoc/Dt | |
parent | 75fcdc8f6e5fb48e822f9835879d7bfbfcddab03 (diff) | |
download | mandoc-2ab7deeb36296dfb6dee301dc3560af24219a22f.tar.gz |
Messages of the -Wbase level now print STYLE:. Since this
causes horrible churn anyway, profit of the opportunity to stop
excessive testing, such that this is hopefully the last instance
of such churn. Consistently use OpenBSD RCS tags, blank .Os,
blank fourth .TH argument, and Mdocdate like everywhere else.
Use -Ios=OpenBSD for platform-independent predictable output.
Diffstat (limited to 'regress/mdoc/Dt')
38 files changed, 58 insertions, 78 deletions
diff --git a/regress/mdoc/Dt/badsec.in b/regress/mdoc/Dt/badsec.in index 47af859f..58f9ac1d 100644 --- a/regress/mdoc/Dt/badsec.in +++ b/regress/mdoc/Dt/badsec.in @@ -1,6 +1,7 @@ -.Dd June 13, 2014 +.\" $OpenBSD: badsec.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt DT-BADSEC foo -.Os OpenBSD +.Os .Sh NAME .Nm Dt-badsec .Nd unknown manual section diff --git a/regress/mdoc/Dt/badsec.out_lint b/regress/mdoc/Dt/badsec.out_lint index ba3a3c17..e6606e8b 100644 --- a/regress/mdoc/Dt/badsec.out_lint +++ b/regress/mdoc/Dt/badsec.out_lint @@ -1,4 +1 @@ -mandoc: badsec.in:2:15: WARNING: unknown manual section: Dt ... foo -mandoc: badsec.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: badsec.in:1:5: BASE: Mdocdate missing: Dd June (OpenBSD) -mandoc: badsec.in: BASE: RCS id missing: (OpenBSD) +mandoc: badsec.in:3:15: WARNING: unknown manual section: Dt ... foo diff --git a/regress/mdoc/Dt/case.in b/regress/mdoc/Dt/case.in index 88b2df3b..b8164d60 100644 --- a/regress/mdoc/Dt/case.in +++ b/regress/mdoc/Dt/case.in @@ -1,6 +1,7 @@ -.Dd June 13, 2014 +.\" $OpenBSD: case.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt Dt-case 1 -.Os OpenBSD +.Os .Sh NAME .Nm Dt-case .Nd document title is not all caps diff --git a/regress/mdoc/Dt/case.out_ascii b/regress/mdoc/Dt/case.out_ascii index 0eb21827..0978147d 100644 --- a/regress/mdoc/Dt/case.out_ascii +++ b/regress/mdoc/Dt/case.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD June 13, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/case.out_lint b/regress/mdoc/Dt/case.out_lint index 0d75124d..7a39ec2f 100644 --- a/regress/mdoc/Dt/case.out_lint +++ b/regress/mdoc/Dt/case.out_lint @@ -1,4 +1 @@ -mandoc: case.in:2:6: WARNING: lower case character in document title: Dt Dt-case -mandoc: case.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: case.in:1:5: BASE: Mdocdate missing: Dd June (OpenBSD) -mandoc: case.in: BASE: RCS id missing: (OpenBSD) +mandoc: case.in:3:6: WARNING: lower case character in document title: Dt Dt-case diff --git a/regress/mdoc/Dt/case.out_markdown b/regress/mdoc/Dt/case.out_markdown index d6bc4c45..9739fb3e 100644 --- a/regress/mdoc/Dt/case.out_markdown +++ b/regress/mdoc/Dt/case.out_markdown @@ -8,4 +8,4 @@ Dt-case(1) - General Commands Manual some text -OpenBSD - June 13, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/dupe.in b/regress/mdoc/Dt/dupe.in index c46e3d77..938e64d7 100644 --- a/regress/mdoc/Dt/dupe.in +++ b/regress/mdoc/Dt/dupe.in @@ -1,6 +1,7 @@ -.Dd August 5, 2014 +.\" $OpenBSD: dupe.in,v 1.4 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt DT-FIRST 2 first_arch -.Os OpenBSD +.Os .Dt DT-DUPE 1 .Sh NAME .Nm Dt-order diff --git a/regress/mdoc/Dt/dupe.out_ascii b/regress/mdoc/Dt/dupe.out_ascii index 0d2ba0e6..09548e72 100644 --- a/regress/mdoc/Dt/dupe.out_ascii +++ b/regress/mdoc/Dt/dupe.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN inital text final text -OpenBSD August 5, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/dupe.out_lint b/regress/mdoc/Dt/dupe.out_lint index 1e926412..534a8eec 100644 --- a/regress/mdoc/Dt/dupe.out_lint +++ b/regress/mdoc/Dt/dupe.out_lint @@ -1,5 +1,2 @@ -mandoc: dupe.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: dupe.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD) -mandoc: dupe.in:4:2: WARNING: duplicate prologue macro: Dt -mandoc: dupe.in:10:2: WARNING: skipping late title macro: Dt -mandoc: dupe.in: BASE: RCS id missing: (OpenBSD) +mandoc: dupe.in:5:2: WARNING: duplicate prologue macro: Dt +mandoc: dupe.in:11:2: WARNING: skipping late title macro: Dt diff --git a/regress/mdoc/Dt/dupe.out_markdown b/regress/mdoc/Dt/dupe.out_markdown index 3dec7eca..16eba874 100644 --- a/regress/mdoc/Dt/dupe.out_markdown +++ b/regress/mdoc/Dt/dupe.out_markdown @@ -9,4 +9,4 @@ DT-DUPE(1) - General Commands Manual inital text final text -OpenBSD - August 5, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/fourargs.in b/regress/mdoc/Dt/fourargs.in index 9b4293ae..0a9b4a22 100644 --- a/regress/mdoc/Dt/fourargs.in +++ b/regress/mdoc/Dt/fourargs.in @@ -1,6 +1,7 @@ -.Dd February 16, 2015 +.\" $OpenBSD: fourargs.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt DT-FOURARGS 1 amd64 bogus -.Os OpenBSD +.Os .Sh NAME .Nm Dt-fourargs .Nd too many arguments after the \&Dt macro diff --git a/regress/mdoc/Dt/fourargs.out_ascii b/regress/mdoc/Dt/fourargs.out_ascii index 9fc075e1..56660fc1 100644 --- a/regress/mdoc/Dt/fourargs.out_ascii +++ b/regress/mdoc/Dt/fourargs.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD February 16, 2015 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/fourargs.out_lint b/regress/mdoc/Dt/fourargs.out_lint index 2abe70ea..789af9c7 100644 --- a/regress/mdoc/Dt/fourargs.out_lint +++ b/regress/mdoc/Dt/fourargs.out_lint @@ -1,4 +1 @@ -mandoc: fourargs.in:2:25: ERROR: skipping excess arguments: Dt ... bogus -mandoc: fourargs.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: fourargs.in:1:5: BASE: Mdocdate missing: Dd February (OpenBSD) -mandoc: fourargs.in: BASE: RCS id missing: (OpenBSD) +mandoc: fourargs.in:3:25: ERROR: skipping excess arguments: Dt ... bogus diff --git a/regress/mdoc/Dt/fourargs.out_markdown b/regress/mdoc/Dt/fourargs.out_markdown index 5d8a6f2f..f31786b7 100644 --- a/regress/mdoc/Dt/fourargs.out_markdown +++ b/regress/mdoc/Dt/fourargs.out_markdown @@ -8,4 +8,4 @@ DT-FOURARGS(1) - General Commands Manual (amd64) some text -OpenBSD - February 16, 2015 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/late.in b/regress/mdoc/Dt/late.in index 2043eebe..85023012 100644 --- a/regress/mdoc/Dt/late.in +++ b/regress/mdoc/Dt/late.in @@ -1,5 +1,6 @@ -.Dd August 5, 2014 -.Os OpenBSD +.\" $OpenBSD: late.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ +.Os .Sh NAME .Nm Dt-late .Nd late title macro diff --git a/regress/mdoc/Dt/late.out_ascii b/regress/mdoc/Dt/late.out_ascii index c1830f2b..040aeb5c 100644 --- a/regress/mdoc/Dt/late.out_ascii +++ b/regress/mdoc/Dt/late.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN inital text final text -OpenBSD August 5, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/late.out_lint b/regress/mdoc/Dt/late.out_lint index e29d9391..8c109bfb 100644 --- a/regress/mdoc/Dt/late.out_lint +++ b/regress/mdoc/Dt/late.out_lint @@ -1,5 +1,2 @@ -mandoc: late.in:2:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: late.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD) -mandoc: late.in:8:2: WARNING: skipping late title macro: Dt +mandoc: late.in:9:2: WARNING: skipping late title macro: Dt mandoc: late.in: WARNING: missing manual title, using UNTITLED: EOF -mandoc: late.in: BASE: RCS id missing: (OpenBSD) diff --git a/regress/mdoc/Dt/late.out_markdown b/regress/mdoc/Dt/late.out_markdown index 262acf0d..bb325953 100644 --- a/regress/mdoc/Dt/late.out_markdown +++ b/regress/mdoc/Dt/late.out_markdown @@ -9,4 +9,4 @@ UNTITLED - LOCAL inital text final text -OpenBSD - August 5, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/missing.in b/regress/mdoc/Dt/missing.in index 997eab63..ead4f381 100644 --- a/regress/mdoc/Dt/missing.in +++ b/regress/mdoc/Dt/missing.in @@ -1,5 +1,6 @@ -.Dd August 5, 2014 -.Os OpenBSD +.\" $OpenBSD: missing.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ +.Os .Sh NAME .Nm Dt-missing .Nd no title macro at all diff --git a/regress/mdoc/Dt/missing.out_ascii b/regress/mdoc/Dt/missing.out_ascii index b2dd22a3..54951f7b 100644 --- a/regress/mdoc/Dt/missing.out_ascii +++ b/regress/mdoc/Dt/missing.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD August 5, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/missing.out_lint b/regress/mdoc/Dt/missing.out_lint index 5e0efeb2..283a60d5 100644 --- a/regress/mdoc/Dt/missing.out_lint +++ b/regress/mdoc/Dt/missing.out_lint @@ -1,4 +1 @@ -mandoc: missing.in:2:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: missing.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD) mandoc: missing.in: WARNING: missing manual title, using UNTITLED: EOF -mandoc: missing.in: BASE: RCS id missing: (OpenBSD) diff --git a/regress/mdoc/Dt/missing.out_markdown b/regress/mdoc/Dt/missing.out_markdown index 792db2ad..a0461058 100644 --- a/regress/mdoc/Dt/missing.out_markdown +++ b/regress/mdoc/Dt/missing.out_markdown @@ -8,4 +8,4 @@ UNTITLED - LOCAL some text -OpenBSD - August 5, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/noarg.in b/regress/mdoc/Dt/noarg.in index 9fddfc6b..c3ffd102 100644 --- a/regress/mdoc/Dt/noarg.in +++ b/regress/mdoc/Dt/noarg.in @@ -1,6 +1,7 @@ -.Dd August 5, 2014 +.\" $OpenBSD: noarg.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt -.Os OpenBSD +.Os .Sh NAME .Nm Dt-noarg .Nd title macro without arguments diff --git a/regress/mdoc/Dt/noarg.out_ascii b/regress/mdoc/Dt/noarg.out_ascii index bf6b7ed2..a5fd3fbd 100644 --- a/regress/mdoc/Dt/noarg.out_ascii +++ b/regress/mdoc/Dt/noarg.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD August 5, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/noarg.out_lint b/regress/mdoc/Dt/noarg.out_lint index c5cd8cfd..6604e632 100644 --- a/regress/mdoc/Dt/noarg.out_lint +++ b/regress/mdoc/Dt/noarg.out_lint @@ -1,5 +1,2 @@ -mandoc: noarg.in:2:2: WARNING: missing manual title, using UNTITLED: Dt -mandoc: noarg.in:2:2: WARNING: missing manual section, using "": Dt UNTITLED -mandoc: noarg.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: noarg.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD) -mandoc: noarg.in: BASE: RCS id missing: (OpenBSD) +mandoc: noarg.in:3:2: WARNING: missing manual title, using UNTITLED: Dt +mandoc: noarg.in:3:2: WARNING: missing manual section, using "": Dt UNTITLED diff --git a/regress/mdoc/Dt/noarg.out_markdown b/regress/mdoc/Dt/noarg.out_markdown index 81c27a0f..6e4acef1 100644 --- a/regress/mdoc/Dt/noarg.out_markdown +++ b/regress/mdoc/Dt/noarg.out_markdown @@ -8,4 +8,4 @@ UNTITLED - LOCAL some text -OpenBSD - August 5, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/nobody.in b/regress/mdoc/Dt/nobody.in index cc184f9c..71028948 100644 --- a/regress/mdoc/Dt/nobody.in +++ b/regress/mdoc/Dt/nobody.in @@ -1,3 +1,4 @@ -.Dd June 20, 2014 +.\" $OpenBSD: nobody.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt DT-NOBODY 1 -.Os OpenBSD +.Os diff --git a/regress/mdoc/Dt/nobody.out_ascii b/regress/mdoc/Dt/nobody.out_ascii index 1de2b81a..edac8b0b 100644 --- a/regress/mdoc/Dt/nobody.out_ascii +++ b/regress/mdoc/Dt/nobody.out_ascii @@ -1,3 +1,3 @@ DT-NOBODY(1) General Commands Manual DT-NOBODY(1) -OpenBSD June 20, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/nobody.out_lint b/regress/mdoc/Dt/nobody.out_lint index c797a44b..f5439fcd 100644 --- a/regress/mdoc/Dt/nobody.out_lint +++ b/regress/mdoc/Dt/nobody.out_lint @@ -1,4 +1 @@ -mandoc: nobody.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: nobody.in:1:5: BASE: Mdocdate missing: Dd June (OpenBSD) -mandoc: nobody.in: BASE: RCS id missing: (OpenBSD) mandoc: nobody.in: WARNING: no document body diff --git a/regress/mdoc/Dt/nobody.out_markdown b/regress/mdoc/Dt/nobody.out_markdown index 5b86c64c..c85ee61c 100644 --- a/regress/mdoc/Dt/nobody.out_markdown +++ b/regress/mdoc/Dt/nobody.out_markdown @@ -1,3 +1,3 @@ DT-NOBODY(1) - General Commands Manual -OpenBSD - June 20, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/nosec.in b/regress/mdoc/Dt/nosec.in index 6873c46b..c013c053 100644 --- a/regress/mdoc/Dt/nosec.in +++ b/regress/mdoc/Dt/nosec.in @@ -1,6 +1,7 @@ -.Dd August 5, 2014 +.\" $OpenBSD: nosec.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ .Dt DT-NOSEC -.Os OpenBSD +.Os .Sh NAME .Nm Dt-nosec .Nd title macro without manual section diff --git a/regress/mdoc/Dt/nosec.out_ascii b/regress/mdoc/Dt/nosec.out_ascii index 028db82e..ae2ab8bd 100644 --- a/regress/mdoc/Dt/nosec.out_ascii +++ b/regress/mdoc/Dt/nosec.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD August 5, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/nosec.out_lint b/regress/mdoc/Dt/nosec.out_lint index 36ff892f..008819eb 100644 --- a/regress/mdoc/Dt/nosec.out_lint +++ b/regress/mdoc/Dt/nosec.out_lint @@ -1,4 +1 @@ -mandoc: nosec.in:2:2: WARNING: missing manual section, using "": Dt DT-NOSEC -mandoc: nosec.in:3:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: nosec.in:1:5: BASE: Mdocdate missing: Dd August (OpenBSD) -mandoc: nosec.in: BASE: RCS id missing: (OpenBSD) +mandoc: nosec.in:3:2: WARNING: missing manual section, using "": Dt DT-NOSEC diff --git a/regress/mdoc/Dt/nosec.out_markdown b/regress/mdoc/Dt/nosec.out_markdown index cebe8e63..6f67320b 100644 --- a/regress/mdoc/Dt/nosec.out_markdown +++ b/regress/mdoc/Dt/nosec.out_markdown @@ -8,4 +8,4 @@ DT-NOSEC - LOCAL some text -OpenBSD - August 5, 2014 +OpenBSD - July 4, 2017 diff --git a/regress/mdoc/Dt/order.in b/regress/mdoc/Dt/order.in index 04bbaa51..5c0ea7c1 100644 --- a/regress/mdoc/Dt/order.in +++ b/regress/mdoc/Dt/order.in @@ -1,5 +1,6 @@ -.Dd June 13, 2014 -.Os OpenBSD +.\" $OpenBSD: order.in,v 1.2 2017/07/04 14:53:25 schwarze Exp $ +.Dd $Mdocdate$ +.Os .Dt DT-ORDER 1 .Sh NAME .Nm Dt-order diff --git a/regress/mdoc/Dt/order.out_ascii b/regress/mdoc/Dt/order.out_ascii index 6524bcab..49bd969e 100644 --- a/regress/mdoc/Dt/order.out_ascii +++ b/regress/mdoc/Dt/order.out_ascii @@ -6,4 +6,4 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN some text -OpenBSD June 13, 2014 OpenBSD +OpenBSD July 4, 2017 OpenBSD diff --git a/regress/mdoc/Dt/order.out_lint b/regress/mdoc/Dt/order.out_lint index e393ccb6..bad1c316 100644 --- a/regress/mdoc/Dt/order.out_lint +++ b/regress/mdoc/Dt/order.out_lint @@ -1,4 +1 @@ -mandoc: order.in:2:5: BASE: operating system explicitly specified: Os OpenBSD (OpenBSD) -mandoc: order.in:1:5: BASE: Mdocdate missing: Dd June (OpenBSD) -mandoc: order.in:3:2: WARNING: prologue macros out of order: Dt after Os -mandoc: order.in: BASE: RCS id missing: (OpenBSD) +mandoc: order.in:4:2: WARNING: prologue macros out of order: Dt after Os diff --git a/regress/mdoc/Dt/order.out_markdown b/regress/mdoc/Dt/order.out_markdown index 7d55fe99..f4b8afaa 100644 --- a/regress/mdoc/Dt/order.out_markdown +++ b/regress/mdoc/Dt/order.out_markdown @@ -8,4 +8,4 @@ DT-ORDER(1) - General Commands Manual some text -OpenBSD - June 13, 2014 +OpenBSD - July 4, 2017 |