diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-11 19:45:05 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-11 19:45:05 +0000 |
commit | a5a030b2a85c4c47900de8929746330fe2f1aee5 (patch) | |
tree | 9cd7be2fba665301b1ae74a9ecbc2d14be5d9412 | |
parent | b96c4feac3240b0841c9ecf67b07da0607aa27b5 (diff) | |
download | mandoc-a5a030b2a85c4c47900de8929746330fe2f1aee5.tar.gz |
Style message about legacy man(7) date format in mdoc(7) documents
and operating system dependent messages about missing or unexpected
Mdocdate; inspired by mdoclint(1).
59 files changed, 59 insertions, 0 deletions
diff --git a/regress/mdoc/Oo/punct.out_lint b/regress/mdoc/Oo/punct.out_lint index fa02f065..f2bdac03 100644 --- a/regress/mdoc/Oo/punct.out_lint +++ b/regress/mdoc/Oo/punct.out_lint @@ -1 +1,2 @@ +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: punct.in:26:6: STYLE: no blank before trailing delimiter: Oo a. diff --git a/regress/mdoc/Op/break.out_lint b/regress/mdoc/Op/break.out_lint index 49c0fd12..9ac3ad69 100644 --- a/regress/mdoc/Op/break.out_lint +++ b/regress/mdoc/Op/break.out_lint @@ -1,3 +1,4 @@ mandoc: break.in:9:2: WARNING: blocks badly nested: Op breaks Do mandoc: break.in:15:7: WARNING: blocks badly nested: Op breaks Do mandoc: break.in:15:2: WARNING: blocks badly nested: Op breaks Do +mandoc: break.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/mdoc/Op/broken.out_lint b/regress/mdoc/Op/broken.out_lint index f82e1bda..b33fb668 100644 --- a/regress/mdoc/Op/broken.out_lint +++ b/regress/mdoc/Op/broken.out_lint @@ -1,2 +1,3 @@ mandoc: broken.in:10:17: WARNING: blocks badly nested: Do breaks Op mandoc: broken.in:15:15: WARNING: blocks badly nested: Do breaks Op +mandoc: broken.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/mdoc/Op/punct.out_lint b/regress/mdoc/Op/punct.out_lint index fff31aea..e4c3b3f9 100644 --- a/regress/mdoc/Op/punct.out_lint +++ b/regress/mdoc/Op/punct.out_lint @@ -1 +1,2 @@ +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: punct.in:34:6: STYLE: no blank before trailing delimiter: Op a. diff --git a/regress/mdoc/Pa/punct.out_lint b/regress/mdoc/Pa/punct.out_lint index 5c50094f..8fa38b4d 100644 --- a/regress/mdoc/Pa/punct.out_lint +++ b/regress/mdoc/Pa/punct.out_lint @@ -1 +1,2 @@ +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Pa a. diff --git a/regress/mdoc/Pf/spacing.out_lint b/regress/mdoc/Pf/spacing.out_lint index 8444f0dd..ccc98067 100644 --- a/regress/mdoc/Pf/spacing.out_lint +++ b/regress/mdoc/Pf/spacing.out_lint @@ -1,3 +1,4 @@ mandoc: spacing.in:24:2: WARNING: nothing follows prefix: Pf prefixed mandoc: spacing.in:27:9: WARNING: nothing follows prefix: Pf . mandoc: spacing.in:31:9: WARNING: nothing follows prefix: Pf at eol +mandoc: spacing.in:1:5: STYLE: Mdocdate missing: Dd November diff --git a/regress/mdoc/Pp/arg.out_lint b/regress/mdoc/Pp/arg.out_lint index 048f13fa..135e39f6 100644 --- a/regress/mdoc/Pp/arg.out_lint +++ b/regress/mdoc/Pp/arg.out_lint @@ -1,3 +1,4 @@ mandoc: arg.in:11:5: ERROR: skipping all arguments: br drop this mandoc: arg.in:13:8: ERROR: skipping excess arguments: sp ... drop this +mandoc: arg.in:1:5: STYLE: Mdocdate missing: Dd February mandoc: arg.in:9:2: ERROR: skipping all arguments: Pp drop diff --git a/regress/mdoc/Qq/empty.out_lint b/regress/mdoc/Qq/empty.out_lint index 4d0f7932..1e1ce1a8 100644 --- a/regress/mdoc/Qq/empty.out_lint +++ b/regress/mdoc/Qq/empty.out_lint @@ -1,2 +1,3 @@ +mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: empty.in:11:18: STYLE: no blank before trailing delimiter: Qq user@host) mandoc: empty.in:14:13: STYLE: no blank before trailing delimiter: Qo full) diff --git a/regress/mdoc/Rs/allch.out_lint b/regress/mdoc/Rs/allch.out_lint index d8f8988f..08c3b9a1 100644 --- a/regress/mdoc/Rs/allch.out_lint +++ b/regress/mdoc/Rs/allch.out_lint @@ -1,3 +1,4 @@ +mandoc: allch.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: allch.in:14:1: WARNING: invalid content in Rs block: text mandoc: allch.in:19:2: WARNING: invalid content in Rs block: Em mandoc: allch.in:20:1: WARNING: invalid content in Rs block: text diff --git a/regress/mdoc/Rs/args.out_lint b/regress/mdoc/Rs/args.out_lint index f5bccd15..796b893b 100644 --- a/regress/mdoc/Rs/args.out_lint +++ b/regress/mdoc/Rs/args.out_lint @@ -1,2 +1,3 @@ mandoc: args.in:9:5: ERROR: skipping all arguments: Rs bogus mandoc: args.in:14:5: ERROR: skipping all arguments: Rs Sy +mandoc: args.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/mdoc/Rs/empty.out_lint b/regress/mdoc/Rs/empty.out_lint index afaf9a10..a83fa520 100644 --- a/regress/mdoc/Rs/empty.out_lint +++ b/regress/mdoc/Rs/empty.out_lint @@ -1,2 +1,3 @@ +mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd February mandoc: empty.in:9:2: WARNING: empty reference block: Rs mandoc: empty.in:14:2: WARNING: empty reference block: Rs diff --git a/regress/mdoc/Rv/noname.out_lint b/regress/mdoc/Rv/noname.out_lint index a0eec12a..13baf647 100644 --- a/regress/mdoc/Rv/noname.out_lint +++ b/regress/mdoc/Rv/noname.out_lint @@ -1 +1,2 @@ +mandoc: noname.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: noname.in:5:2: ERROR: missing manual name, using "": Nm diff --git a/regress/mdoc/Rv/nostd.out_lint b/regress/mdoc/Rv/nostd.out_lint index c58122e0..16acaba6 100644 --- a/regress/mdoc/Rv/nostd.out_lint +++ b/regress/mdoc/Rv/nostd.out_lint @@ -1,3 +1,4 @@ +mandoc: nostd.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: nostd.in:9:2: WARNING: missing -std argument, adding it: Rv mandoc: nostd.in:12:2: WARNING: missing -std argument, adding it: Rv mandoc: nostd.in:15:2: WARNING: missing -std argument, adding it: Rv diff --git a/regress/mdoc/Sh/badNAME.out_lint b/regress/mdoc/Sh/badNAME.out_lint index 9fbbf668..9f008a18 100644 --- a/regress/mdoc/Sh/badNAME.out_lint +++ b/regress/mdoc/Sh/badNAME.out_lint @@ -1,2 +1,3 @@ +mandoc: badNAME.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: badNAME.in:5:2: WARNING: bad NAME section content: Em mandoc: badNAME.in:4:2: WARNING: NAME section without description diff --git a/regress/mdoc/Sh/before.out_lint b/regress/mdoc/Sh/before.out_lint index 314acb29..7cfe763e 100644 --- a/regress/mdoc/Sh/before.out_lint +++ b/regress/mdoc/Sh/before.out_lint @@ -1 +1,2 @@ +mandoc: before.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: before.in:4:1: WARNING: content before first section header: text diff --git a/regress/mdoc/Sh/empty.out_lint b/regress/mdoc/Sh/empty.out_lint index 28d05c97..1672d581 100644 --- a/regress/mdoc/Sh/empty.out_lint +++ b/regress/mdoc/Sh/empty.out_lint @@ -1 +1,2 @@ mandoc: empty.in:9:2: ERROR: inserting missing end of block: Sh breaks Xo +mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd November diff --git a/regress/mdoc/Sh/emptyNAME.out_lint b/regress/mdoc/Sh/emptyNAME.out_lint index c6da49bb..45804744 100644 --- a/regress/mdoc/Sh/emptyNAME.out_lint +++ b/regress/mdoc/Sh/emptyNAME.out_lint @@ -1,2 +1,3 @@ +mandoc: emptyNAME.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: emptyNAME.in:4:2: WARNING: NAME section without Nm before Nd mandoc: emptyNAME.in:4:2: WARNING: NAME section without description diff --git a/regress/mdoc/Sh/first.out_lint b/regress/mdoc/Sh/first.out_lint index df39e0d0..c19ec77d 100644 --- a/regress/mdoc/Sh/first.out_lint +++ b/regress/mdoc/Sh/first.out_lint @@ -1 +1,2 @@ +mandoc: first.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: first.in:4:2: WARNING: first section is not "NAME": Sh DESCRIPTION diff --git a/regress/mdoc/Sh/nohead.out_lint b/regress/mdoc/Sh/nohead.out_lint index b93f65e6..78e046c6 100644 --- a/regress/mdoc/Sh/nohead.out_lint +++ b/regress/mdoc/Sh/nohead.out_lint @@ -1,2 +1,3 @@ mandoc: nohead.in:9:2: WARNING: skipping empty macro: Sh mandoc: nohead.in:11:2: WARNING: skipping empty macro: Ss +mandoc: nohead.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/mdoc/Sh/order.out_lint b/regress/mdoc/Sh/order.out_lint index 67aa5db8..52f42595 100644 --- a/regress/mdoc/Sh/order.out_lint +++ b/regress/mdoc/Sh/order.out_lint @@ -1,3 +1,4 @@ +mandoc: order.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: order.in:9:2: WARNING: sections out of conventional order: Sh SYNOPSIS mandoc: order.in:10:2: WARNING: duplicate section title: Sh SYNOPSIS mandoc: order.in:11:2: WARNING: unexpected section: Sh ERRORS for 2, 3, 4, 9 only diff --git a/regress/mdoc/Sh/orderNAME.out_lint b/regress/mdoc/Sh/orderNAME.out_lint index 0049023d..5b3a88cd 100644 --- a/regress/mdoc/Sh/orderNAME.out_lint +++ b/regress/mdoc/Sh/orderNAME.out_lint @@ -1,2 +1,3 @@ +mandoc: orderNAME.in:1:5: STYLE: Mdocdate missing: Dd January mandoc: orderNAME.in:5:2: WARNING: description not at the end of NAME mandoc: orderNAME.in:4:2: WARNING: NAME section without Nm before Nd diff --git a/regress/mdoc/Sh/parbefore.out_lint b/regress/mdoc/Sh/parbefore.out_lint index fcb61942..86e6c69d 100644 --- a/regress/mdoc/Sh/parbefore.out_lint +++ b/regress/mdoc/Sh/parbefore.out_lint @@ -1 +1,2 @@ +mandoc: parbefore.in:1:5: STYLE: Mdocdate missing: Dd April mandoc: parbefore.in:4:2: WARNING: skipping paragraph macro: Pp before Sh diff --git a/regress/mdoc/Sh/parborder.out_lint b/regress/mdoc/Sh/parborder.out_lint index cd6c5c23..60404cab 100644 --- a/regress/mdoc/Sh/parborder.out_lint +++ b/regress/mdoc/Sh/parborder.out_lint @@ -1,3 +1,4 @@ +mandoc: parborder.in:1:5: STYLE: Mdocdate missing: Dd April mandoc: parborder.in:8:2: WARNING: skipping paragraph macro: Pp after Sh mandoc: parborder.in:10:2: WARNING: skipping paragraph macro: Pp at the end of Sh mandoc: parborder.in:12:2: WARNING: skipping paragraph macro: Pp after Sh diff --git a/regress/mdoc/Sh/punctNAME.out_lint b/regress/mdoc/Sh/punctNAME.out_lint index 9ed95e4e..36ea06c2 100644 --- a/regress/mdoc/Sh/punctNAME.out_lint +++ b/regress/mdoc/Sh/punctNAME.out_lint @@ -1,3 +1,4 @@ +mandoc: punctNAME.in:1:5: STYLE: Mdocdate missing: Dd January mandoc: punctNAME.in:6:2: WARNING: missing comma before name: Nm second_name mandoc: punctNAME.in:6:17: WARNING: bad NAME section content: text mandoc: punctNAME.in:7:2: WARNING: missing comma before name: Nm third_name diff --git a/regress/mdoc/Sh/subbefore.out_lint b/regress/mdoc/Sh/subbefore.out_lint index fd497d25..7200899f 100644 --- a/regress/mdoc/Sh/subbefore.out_lint +++ b/regress/mdoc/Sh/subbefore.out_lint @@ -1 +1,2 @@ +mandoc: subbefore.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: subbefore.in:4:2: WARNING: content before first section header: Ss diff --git a/regress/mdoc/Sm/badarg.out_lint b/regress/mdoc/Sm/badarg.out_lint index 54644f34..e355625c 100644 --- a/regress/mdoc/Sm/badarg.out_lint +++ b/regress/mdoc/Sm/badarg.out_lint @@ -1,2 +1,3 @@ +mandoc: badarg.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: badarg.in:11:5: WARNING: invalid Boolean argument: Sm bad mandoc: badarg.in:13:5: WARNING: invalid Boolean argument: Sm bad diff --git a/regress/mdoc/Sm/twoarg.out_lint b/regress/mdoc/Sm/twoarg.out_lint index 581a5500..ff639a7a 100644 --- a/regress/mdoc/Sm/twoarg.out_lint +++ b/regress/mdoc/Sm/twoarg.out_lint @@ -1 +1,2 @@ +mandoc: twoarg.in:1:5: STYLE: Mdocdate missing: Dd November mandoc: twoarg.in:16:5: WARNING: invalid Boolean argument: Sm bad diff --git a/regress/mdoc/Sq/empty.out_lint b/regress/mdoc/Sq/empty.out_lint index 450c70b9..27efbfd8 100644 --- a/regress/mdoc/Sq/empty.out_lint +++ b/regress/mdoc/Sq/empty.out_lint @@ -1,2 +1,3 @@ +mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: empty.in:11:18: STYLE: no blank before trailing delimiter: Sq user@host) mandoc: empty.in:14:13: STYLE: no blank before trailing delimiter: So full) diff --git a/regress/mdoc/St/badargs.out_lint b/regress/mdoc/St/badargs.out_lint index ae74aa1a..02904eac 100644 --- a/regress/mdoc/St/badargs.out_lint +++ b/regress/mdoc/St/badargs.out_lint @@ -1,2 +1,3 @@ mandoc: badargs.in:15:2: WARNING: skipping empty macro: St +mandoc: badargs.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: badargs.in:12:5: ERROR: unknown standard specifier: St -murks diff --git a/regress/mdoc/St/call.out_lint b/regress/mdoc/St/call.out_lint index 6bf60a71..1a51ebc8 100644 --- a/regress/mdoc/St/call.out_lint +++ b/regress/mdoc/St/call.out_lint @@ -1 +1,2 @@ mandoc: call.in:9:2: WARNING: skipping empty macro: St +mandoc: call.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/mdoc/Sx/noarg.out_lint b/regress/mdoc/Sx/noarg.out_lint index 3bdfa389..9c420488 100644 --- a/regress/mdoc/Sx/noarg.out_lint +++ b/regress/mdoc/Sx/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sx +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd January diff --git a/regress/mdoc/Sy/noarg.out_lint b/regress/mdoc/Sy/noarg.out_lint index de7bf597..1fd12f57 100644 --- a/regress/mdoc/Sy/noarg.out_lint +++ b/regress/mdoc/Sy/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Sy +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd January diff --git a/regress/mdoc/Sy/punct.out_lint b/regress/mdoc/Sy/punct.out_lint index af0021a1..2aa1fe34 100644 --- a/regress/mdoc/Sy/punct.out_lint +++ b/regress/mdoc/Sy/punct.out_lint @@ -23,4 +23,5 @@ mandoc: punct.in:71:7: WARNING: skipping empty macro: Sy mandoc: punct.in:74:7: WARNING: skipping empty macro: Sy mandoc: punct.in:75:7: WARNING: skipping empty macro: Sy mandoc: punct.in:83:2: WARNING: skipping empty macro: Sy +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: punct.in:86:6: STYLE: no blank before trailing delimiter: Sy a. diff --git a/regress/mdoc/Tn/noarg.out_lint b/regress/mdoc/Tn/noarg.out_lint index 340a3502..a2980eca 100644 --- a/regress/mdoc/Tn/noarg.out_lint +++ b/regress/mdoc/Tn/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Tn +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd January mandoc: noarg.in:9:2: STYLE: useless macro: Tn diff --git a/regress/mdoc/Ud/arg.out_lint b/regress/mdoc/Ud/arg.out_lint index eac1710f..cb1e4188 100644 --- a/regress/mdoc/Ud/arg.out_lint +++ b/regress/mdoc/Ud/arg.out_lint @@ -1,3 +1,4 @@ +mandoc: arg.in:1:5: STYLE: Mdocdate missing: Dd January mandoc: arg.in:9:2: STYLE: useless macro: Ud mandoc: arg.in:11:2: STYLE: useless macro: Bt mandoc: arg.in:15:2: STYLE: useless macro: Ud diff --git a/regress/mdoc/Ux/punct.out_lint b/regress/mdoc/Ux/punct.out_lint index 0c7c8622..7037ae94 100644 --- a/regress/mdoc/Ux/punct.out_lint +++ b/regress/mdoc/Ux/punct.out_lint @@ -1,3 +1,4 @@ +mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: punct.in:10:9: STYLE: no blank before trailing delimiter: Bsx 5.1, mandoc: punct.in:11:10: STYLE: no blank before trailing delimiter: Dx 4.8.0, mandoc: punct.in:12:9: STYLE: no blank before trailing delimiter: Fx 11.0, diff --git a/regress/mdoc/Va/noarg.out_lint b/regress/mdoc/Va/noarg.out_lint index 1541c742..b8334764 100644 --- a/regress/mdoc/Va/noarg.out_lint +++ b/regress/mdoc/Va/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:12:2: WARNING: skipping empty macro: Va +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: noarg.in:10:10: STYLE: no blank before trailing delimiter: Va errno. diff --git a/regress/mdoc/Vt/noarg.out_lint b/regress/mdoc/Vt/noarg.out_lint index 3774062e..64f3a0c5 100644 --- a/regress/mdoc/Vt/noarg.out_lint +++ b/regress/mdoc/Vt/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Vt +mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: noarg.in:9:15: STYLE: no blank before trailing delimiter: Vt ... int. diff --git a/regress/mdoc/Xr/args.out_lint b/regress/mdoc/Xr/args.out_lint index 672b87bb..c88a40ac 100644 --- a/regress/mdoc/Xr/args.out_lint +++ b/regress/mdoc/Xr/args.out_lint @@ -1,5 +1,6 @@ mandoc: args.in:28:2: WARNING: skipping empty macro: Xr mandoc: args.in:30:2: WARNING: skipping empty macro: Xr +mandoc: args.in:1:5: STYLE: Mdocdate missing: Dd June mandoc: args.in:22:13: STYLE: no blank before trailing delimiter: Xr ... 1) mandoc: args.in:24:2: WARNING: missing section argument: Xr echo mandoc: args.in:26:2: WARNING: missing section argument: Xr echo, diff --git a/regress/mdoc/blank/comment.out_lint b/regress/mdoc/blank/comment.out_lint index f5599f67..8234dd2b 100644 --- a/regress/mdoc/blank/comment.out_lint +++ b/regress/mdoc/blank/comment.out_lint @@ -1 +1,2 @@ mandoc: comment.in:11:3: WARNING: bad comment style +mandoc: comment.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/mdoc/blank/line.out_lint b/regress/mdoc/blank/line.out_lint index 6e439442..14678b54 100644 --- a/regress/mdoc/blank/line.out_lint +++ b/regress/mdoc/blank/line.out_lint @@ -7,6 +7,7 @@ mandoc: line.in:60:1: WARNING: blank line in fill mode, using .sp mandoc: line.in:62:1: WARNING: blank line in fill mode, using .sp mandoc: line.in:65:1: WARNING: blank line in fill mode, using .sp mandoc: line.in:66:1: WARNING: blank line in fill mode, using .sp +mandoc: line.in:1:5: STYLE: Mdocdate missing: Dd February mandoc: line.in:18:2: WARNING: skipping paragraph macro: br after br mandoc: line.in:20:2: WARNING: skipping paragraph macro: br before Pp mandoc: line.in:24:2: WARNING: skipping paragraph macro: br after Pp diff --git a/regress/mdoc/blank/list.out_lint b/regress/mdoc/blank/list.out_lint index a90d91a4..084d20fe 100644 --- a/regress/mdoc/blank/list.out_lint +++ b/regress/mdoc/blank/list.out_lint @@ -1,3 +1,4 @@ +mandoc: list.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: list.in:19:2: WARNING: skipping paragraph macro: Pp before It mandoc: list.in:22:2: WARNING: moving paragraph macro out of list: Pp mandoc: list.in:34:2: WARNING: moving paragraph macro out of list: Pp diff --git a/regress/mdoc/break/brokenbreaker.out_lint b/regress/mdoc/break/brokenbreaker.out_lint index 16e7a2ba..a52459a1 100644 --- a/regress/mdoc/break/brokenbreaker.out_lint +++ b/regress/mdoc/break/brokenbreaker.out_lint @@ -1,3 +1,4 @@ mandoc: brokenbreaker.in:10:2: WARNING: blocks badly nested: Po breaks Ao mandoc: brokenbreaker.in:12:2: ERROR: skipping end of block that is not open: Pc mandoc: brokenbreaker.in:13:2: WARNING: blocks badly nested: Ao breaks Bo +mandoc: brokenbreaker.in:1:5: STYLE: Mdocdate missing: Dd December diff --git a/regress/mdoc/break/notopen.out_lint b/regress/mdoc/break/notopen.out_lint index e70b2f6f..6faaf818 100644 --- a/regress/mdoc/break/notopen.out_lint +++ b/regress/mdoc/break/notopen.out_lint @@ -1 +1,2 @@ mandoc: notopen.in:10:2: ERROR: skipping end of block that is not open: Pc +mandoc: notopen.in:1:5: STYLE: Mdocdate missing: Dd August diff --git a/regress/mdoc/break/tail.out_lint b/regress/mdoc/break/tail.out_lint index d6449913..1ab147d9 100644 --- a/regress/mdoc/break/tail.out_lint +++ b/regress/mdoc/break/tail.out_lint @@ -3,3 +3,4 @@ mandoc: tail.in:15:2: WARNING: blocks badly nested: Ao breaks Bo mandoc: tail.in:20:2: WARNING: blocks badly nested: Aq breaks Bo mandoc: tail.in:22:2: WARNING: blocks badly nested: Aq breaks Bo mandoc: tail.in:46:2: WARNING: blocks badly nested: Bro breaks Po +mandoc: tail.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/mdoc/break/twice.out_lint b/regress/mdoc/break/twice.out_lint index 150800e9..01e818c2 100644 --- a/regress/mdoc/break/twice.out_lint +++ b/regress/mdoc/break/twice.out_lint @@ -8,4 +8,5 @@ mandoc: twice.in:32:11: WARNING: blocks badly nested: Bo breaks Aq mandoc: twice.in:32:17: WARNING: blocks badly nested: Bo breaks Aq mandoc: twice.in:36:8: WARNING: blocks badly nested: Bq breaks Po mandoc: twice.in:36:2: WARNING: blocks badly nested: Aq breaks Po +mandoc: twice.in:1:5: STYLE: Mdocdate missing: Dd February mandoc: twice.in:36:2: WARNING: moving content out of list: Aq diff --git a/regress/mdoc/break/two.out_lint b/regress/mdoc/break/two.out_lint index 79346fe3..eb67d6c0 100644 --- a/regress/mdoc/break/two.out_lint +++ b/regress/mdoc/break/two.out_lint @@ -6,3 +6,4 @@ mandoc: two.in:29:2: WARNING: blocks badly nested: Aq breaks Bro mandoc: two.in:30:2: WARNING: blocks badly nested: Bo breaks Bro mandoc: two.in:36:2: WARNING: blocks badly nested: Ao breaks Bo mandoc: two.in:41:2: WARNING: blocks badly nested: Aq breaks Bo +mandoc: two.in:1:5: STYLE: Mdocdate missing: Dd February diff --git a/regress/roff/args/mdoc.out_lint b/regress/roff/args/mdoc.out_lint index a622c6c7..a9b014fc 100644 --- a/regress/roff/args/mdoc.out_lint +++ b/regress/roff/args/mdoc.out_lint @@ -11,3 +11,4 @@ mandoc: mdoc.in:107:14: WARNING: unterminated quoted argument mandoc: mdoc.in:111:11: WARNING: unterminated quoted argument mandoc: mdoc.in:112:15: WARNING: unterminated quoted argument mandoc: mdoc.in:120:1: ERROR: escaped character not allowed in a name: Fl\( +mandoc: mdoc.in:1:5: STYLE: Mdocdate missing: Dd November diff --git a/regress/roff/de/escname.out_lint b/regress/roff/de/escname.out_lint index f0fd2109..eb454210 100644 --- a/regress/roff/de/escname.out_lint +++ b/regress/roff/de/escname.out_lint @@ -6,3 +6,4 @@ mandoc: escname.in:37:5: ERROR: skipping excess arguments: .de ... excess argume mandoc: escname.in:40:1: ERROR: escaped character not allowed in a name: witharg\( mandoc: escname.in:42:1: ERROR: escaped character not allowed in a name: de\e mandoc: escname.in:42:2: WARNING: skipping empty request: de +mandoc: escname.in:1:5: STYLE: Mdocdate missing: Dd June diff --git a/regress/roff/de/indir.out_lint b/regress/roff/de/indir.out_lint index 96f42d1d..5cb1bd84 100644 --- a/regress/roff/de/indir.out_lint +++ b/regress/roff/de/indir.out_lint @@ -2,3 +2,4 @@ mandoc: indir.in:18:11: WARNING: undefined string, using "": myie mandoc: indir.in:25:6: WARNING: undefined string, using "": myim mandoc: indir.in:25:2: WARNING: skipping empty request: dei mandoc: indir.in:29:2: WARNING: skipping empty request: dei +mandoc: indir.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/roff/de/infinite.out_lint b/regress/roff/de/infinite.out_lint index 7cea727c..59a19713 100644 --- a/regress/roff/de/infinite.out_lint +++ b/regress/roff/de/infinite.out_lint @@ -1,2 +1,3 @@ mandoc: infinite.in:13:5: ERROR: input stack limit exceeded, infinite loop? mandoc: infinite.in:19:5: ERROR: input stack limit exceeded, infinite loop? +mandoc: infinite.in:1:5: STYLE: Mdocdate missing: Dd March diff --git a/regress/roff/esc/B.out_lint b/regress/roff/esc/B.out_lint index 6159b1c5..f7ddc99f 100644 --- a/regress/roff/esc/B.out_lint +++ b/regress/roff/esc/B.out_lint @@ -1 +1,2 @@ mandoc: B.in:36:23: WARNING: invalid escape sequence: \B'1+1 +mandoc: B.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint index 6d591e38..6e2eb342 100644 --- a/regress/roff/esc/h.out_lint +++ b/regress/roff/esc/h.out_lint @@ -1 +1,2 @@ mandoc: h.in:18:21: WARNING: invalid escape sequence: \h- +mandoc: h.in:1:5: STYLE: Mdocdate missing: Dd May diff --git a/regress/roff/esc/ignore.out_lint b/regress/roff/esc/ignore.out_lint index c163d60d..688685f5 100644 --- a/regress/roff/esc/ignore.out_lint +++ b/regress/roff/esc/ignore.out_lint @@ -1 +1,2 @@ mandoc: ignore.in:14:60: WARNING: invalid escape sequence: \s- +mandoc: ignore.in:1:5: STYLE: Mdocdate missing: Dd January diff --git a/regress/roff/esc/w.out_lint b/regress/roff/esc/w.out_lint index a1b91722..1dc300e0 100644 --- a/regress/roff/esc/w.out_lint +++ b/regress/roff/esc/w.out_lint @@ -1 +1,2 @@ mandoc: w.in:16:15: WARNING: invalid escape sequence: \w'foo +mandoc: w.in:1:5: STYLE: Mdocdate missing: Dd April diff --git a/regress/roff/ft/badargs-mdoc.out_lint b/regress/roff/ft/badargs-mdoc.out_lint index d5f526e6..d3da07f6 100644 --- a/regress/roff/ft/badargs-mdoc.out_lint +++ b/regress/roff/ft/badargs-mdoc.out_lint @@ -1,2 +1,3 @@ mandoc: badargs-mdoc.in:13:7: ERROR: skipping excess arguments: ft ... bogus +mandoc: badargs-mdoc.in:1:5: STYLE: Mdocdate missing: Dd May mandoc: badargs-mdoc.in:11:2: WARNING: unknown font, skipping request: ft foo diff --git a/regress/roff/ig/basic.out_lint b/regress/roff/ig/basic.out_lint index 7c068e87..026e3726 100644 --- a/regress/roff/ig/basic.out_lint +++ b/regress/roff/ig/basic.out_lint @@ -1,3 +1,4 @@ mandoc: basic.in:19:5: ERROR: skipping excess arguments: .ig ... excess mandoc: basic.in:24:2: ERROR: skipping end of block that is not open: .. mandoc: basic.in:26:2: ERROR: appending missing end of block: ig +mandoc: basic.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/roff/it/badarg.out_lint b/regress/roff/it/badarg.out_lint index ac526c6b..c553000b 100644 --- a/regress/roff/it/badarg.out_lint +++ b/regress/roff/it/badarg.out_lint @@ -1,2 +1,3 @@ mandoc: badarg.in:12:2: ERROR: skipping request without numeric argument: it mytrap mandoc: badarg.in:15:2: ERROR: skipping request without numeric argument: it +mandoc: badarg.in:1:5: STYLE: Mdocdate missing: Dd July diff --git a/regress/roff/string/name.out_lint b/regress/roff/string/name.out_lint index c4c757f5..1468df4b 100644 --- a/regress/roff/string/name.out_lint +++ b/regress/roff/string/name.out_lint @@ -15,3 +15,4 @@ mandoc: name.in:33:6: WARNING: undefined string, using "": ble mandoc: name.in:33:5: WARNING: whitespace at end of input line mandoc: name.in:35:5: WARNING: undefined string, using "": bl mandoc: name.in:35:4: WARNING: whitespace at end of input line +mandoc: name.in:1:5: STYLE: Mdocdate missing: Dd January |