diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz |
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'regress')
151 files changed, 402 insertions, 200 deletions
diff --git a/regress/mdoc/Ad/noarg.in b/regress/mdoc/Ad/noarg.in index 65f8167b..b0881dc7 100644 --- a/regress/mdoc/Ad/noarg.in +++ b/regress/mdoc/Ad/noarg.in @@ -1,4 +1,4 @@ -.Dd January 19, 2011 +.Dd June 9, 2017 .Dt AD-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd address macro without an argument .Sh DESCRIPTION with address: -.Ad 0x3bc +.Ad 0x3bc. no address: .Ad end of test document diff --git a/regress/mdoc/Ad/noarg.out_ascii b/regress/mdoc/Ad/noarg.out_ascii index 6ad60d8a..b0703dd0 100644 --- a/regress/mdoc/Ad/noarg.out_ascii +++ b/regress/mdoc/Ad/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE AAdd--nnooaarrgg - address macro without an argument DDEESSCCRRIIPPTTIIOONN - with address: _0_x_3_b_c no address: end of test document + with address: _0_x_3_b_c_. no address: end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ad/noarg.out_lint b/regress/mdoc/Ad/noarg.out_lint index 180985aa..01d37fa1 100644 --- a/regress/mdoc/Ad/noarg.out_lint +++ b/regress/mdoc/Ad/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ad +mandoc: noarg.in:9:10: STYLE: no blank before trailing delimiter: Ad 0x3bc. diff --git a/regress/mdoc/Ad/noarg.out_markdown b/regress/mdoc/Ad/noarg.out_markdown index de7b6c64..285a9711 100644 --- a/regress/mdoc/Ad/noarg.out_markdown +++ b/regress/mdoc/Ad/noarg.out_markdown @@ -7,8 +7,8 @@ AD-NOARG(1) - General Commands Manual # DESCRIPTION with address: -*0x3bc* +*0x3bc.* no address: end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/An/break.in b/regress/mdoc/An/break.in index ff96c547..70f5b1b7 100644 --- a/regress/mdoc/An/break.in +++ b/regress/mdoc/An/break.in @@ -40,7 +40,7 @@ trailing .Pp inline: .An Kristaps "," -.An Ingo , +.An Ingo, and .An Joerg . empty diff --git a/regress/mdoc/An/break.out_lint b/regress/mdoc/An/break.out_lint index 25622fd1..7c88ccea 100644 --- a/regress/mdoc/An/break.out_lint +++ b/regress/mdoc/An/break.out_lint @@ -8,5 +8,6 @@ mandoc: break.in:36:2: WARNING: skipping empty macro: An mandoc: break.in:38:2: WARNING: skipping empty macro: An mandoc: break.in:39:14: WARNING: skipping duplicate argument: An -split mandoc: break.in:39:21: ERROR: skipping excess arguments: An ... bogus +mandoc: break.in:43:9: STYLE: no blank before trailing delimiter: An Ingo, mandoc: break.in:47:2: WARNING: skipping empty macro: An mandoc: break.in:49:2: WARNING: skipping empty macro: An diff --git a/regress/mdoc/Aq/Makefile b/regress/mdoc/Aq/Makefile index ae347ad3..e51ca408 100644 --- a/regress/mdoc/Aq/Makefile +++ b/regress/mdoc/Aq/Makefile @@ -2,5 +2,6 @@ REGRESS_TARGETS = author empty UTF8_TARGETS = author empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Aq/empty.in b/regress/mdoc/Aq/empty.in index 1fa5a61b..7b2d1681 100644 --- a/regress/mdoc/Aq/empty.in +++ b/regress/mdoc/Aq/empty.in @@ -1,4 +1,4 @@ -.Dd August 6, 2010 +.Dd June 9, 2017 .Dt AQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Aq and a full -.Aq user@host +.Aq user@host: return path. And another -.Ao full Ac one "Sy" bold . +.Ao full: Ac one "Sy" bold . diff --git a/regress/mdoc/Aq/empty.out_ascii b/regress/mdoc/Aq/empty.out_ascii index 236c0625..15ef4e6d 100644 --- a/regress/mdoc/Aq/empty.out_ascii +++ b/regress/mdoc/Aq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE AAqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty <> and a full <user@host> return path. And another <full> one + An empty <> and a full <user@host:> return path. And another <full:> one bboolldd. -OpenBSD August 6, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Aq/empty.out_lint b/regress/mdoc/Aq/empty.out_lint new file mode 100644 index 00000000..78d88141 --- /dev/null +++ b/regress/mdoc/Aq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:11:14: STYLE: no blank before trailing delimiter: Aq user@host: +mandoc: empty.in:14:9: STYLE: no blank before trailing delimiter: Ao full: diff --git a/regress/mdoc/Aq/empty.out_markdown b/regress/mdoc/Aq/empty.out_markdown index dc396481..752a723b 100644 --- a/regress/mdoc/Aq/empty.out_markdown +++ b/regress/mdoc/Aq/empty.out_markdown @@ -9,9 +9,9 @@ AQ-EMPTY(1) - General Commands Manual An empty <> and a full -<user@host> +<user@host:> return path. And another -<full> one **bold**. +<full:> one **bold**. -OpenBSD - August 6, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Aq/empty.out_utf8 b/regress/mdoc/Aq/empty.out_utf8 index 0a81608b..cb950c95 100644 --- a/regress/mdoc/Aq/empty.out_utf8 +++ b/regress/mdoc/Aq/empty.out_utf8 @@ -4,7 +4,7 @@ NNAAMMEE AAqq--eemmppttyy – empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty ⟨⟩ and a full ⟨user@host⟩ return path. And another ⟨full⟩ one + An empty ⟨⟩ and a full ⟨user@host:⟩ return path. And another ⟨full:⟩ one bboolldd. -OpenBSD August 6, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ar/Makefile b/regress/mdoc/Ar/Makefile index 2d1d895c..0acd2e05 100644 --- a/regress/mdoc/Ar/Makefile +++ b/regress/mdoc/Ar/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.3 2012/07/09 17:52:09 schwarze Exp $ REGRESS_TARGETS = punct font +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Ar/punct.in b/regress/mdoc/Ar/punct.in index 51044001..71abc258 100644 --- a/regress/mdoc/Ar/punct.in +++ b/regress/mdoc/Ar/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt AR-PUNCT 1 .Os OpenBSD .Sh NAME @@ -40,3 +40,6 @@ op bracket .Pp quoted punctuation: .Ar a "(" b "|" c ")" d "," "Sy" bold . +.Pp +missing blank: +.Ar arg. diff --git a/regress/mdoc/Ar/punct.out_ascii b/regress/mdoc/Ar/punct.out_ascii index 01426c58..e34b3fdc 100644 --- a/regress/mdoc/Ar/punct.out_ascii +++ b/regress/mdoc/Ar/punct.out_ascii @@ -11,4 +11,6 @@ DDEESSCCRRIIPPTTIIOONN quoted punctuation: _a (_b | _c) _d, bboolldd. -OpenBSD August 21, 2014 OpenBSD + missing blank: _a_r_g_. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ar/punct.out_lint b/regress/mdoc/Ar/punct.out_lint new file mode 100644 index 00000000..73e9ca6e --- /dev/null +++ b/regress/mdoc/Ar/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:45:8: STYLE: no blank before trailing delimiter: Ar arg. diff --git a/regress/mdoc/Ar/punct.out_markdown b/regress/mdoc/Ar/punct.out_markdown index 932b8660..ab03a7b5 100644 --- a/regress/mdoc/Ar/punct.out_markdown +++ b/regress/mdoc/Ar/punct.out_markdown @@ -42,4 +42,7 @@ op bracket quoted punctuation: *a* (*b* | *c*) *d*, **bold**. -OpenBSD - August 21, 2014 +missing blank: +*arg.* + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Bl/breakingIt.in b/regress/mdoc/Bl/breakingIt.in index 025ea257..6e75fcf4 100644 --- a/regress/mdoc/Bl/breakingIt.in +++ b/regress/mdoc/Bl/breakingIt.in @@ -9,14 +9,14 @@ .Bl -tag -width Ds Stray text. .Ao -More stray text. +More stray text .It tag Tagged text. .El .Bl -bullet Stray text. .Ao -More stray text. +More stray text .It Bullet point. .El @@ -24,7 +24,7 @@ Bullet point. .It tag Tagged text. .Ao -More tagged text. +More tagged text .It tag2 Yet more tagged text. .El @@ -32,7 +32,7 @@ Yet more tagged text. .It Item text. .Ao -More item text. +More item text .It Bullet point. .El diff --git a/regress/mdoc/Bl/breakingIt.out_ascii b/regress/mdoc/Bl/breakingIt.out_ascii index afb57973..9c8fd722 100644 --- a/regress/mdoc/Bl/breakingIt.out_ascii +++ b/regress/mdoc/Bl/breakingIt.out_ascii @@ -5,18 +5,18 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN BBrreeaakkiinngg ppaarrttiiaall eexxpplliicciitt mmaaccrrooss - Stray text. <More stray text.> + Stray text. <More stray text> tag Tagged text. - Stray text. <More stray text.> + Stray text. <More stray text> ++oo Bullet point. - tag Tagged text. <More tagged text.> + tag Tagged text. <More tagged text> tag2 Yet more tagged text. - ++oo Item text. <More item text.> + ++oo Item text. <More item text> ++oo Bullet point. diff --git a/regress/mdoc/Bl/breakingIt.out_markdown b/regress/mdoc/Bl/breakingIt.out_markdown index c6c3de6a..5739522d 100644 --- a/regress/mdoc/Bl/breakingIt.out_markdown +++ b/regress/mdoc/Bl/breakingIt.out_markdown @@ -9,28 +9,28 @@ BL-BREAKINGIT(1) - General Commands Manual ## Breaking partial explicit macros Stray text. -<More stray text.> +<More stray text> tag > Tagged text. Stray text. -<More stray text.> +<More stray text> * Bullet point. tag > Tagged text. -> <More tagged text.> +> <More tagged text> tag2 > Yet more tagged text. * Item text. - <More item text.> + <More item text> * Bullet point. diff --git a/regress/mdoc/Bl/noIt.in b/regress/mdoc/Bl/noIt.in index 46d8c0d2..05835b5d 100644 --- a/regress/mdoc/Bl/noIt.in +++ b/regress/mdoc/Bl/noIt.in @@ -7,14 +7,14 @@ .Sh DESCRIPTION .Bl -tag -width Ds Stray text. -.Em More stray text. +.Em More stray text .It tag Tagged text. .El .Bl -bullet Stray text. .Sm off -.Em More Sy stray Em text. +.Em More Sy stray Em text .Sm on .It Bullet point. diff --git a/regress/mdoc/Bl/noIt.out_ascii b/regress/mdoc/Bl/noIt.out_ascii index 9f603f1c..5b56cde5 100644 --- a/regress/mdoc/Bl/noIt.out_ascii +++ b/regress/mdoc/Bl/noIt.out_ascii @@ -4,10 +4,10 @@ NNAAMMEE BBll--nnooIItt - list missing item macros DDEESSCCRRIIPPTTIIOONN - Stray text. _M_o_r_e _s_t_r_a_y _t_e_x_t_. + Stray text. _M_o_r_e _s_t_r_a_y _t_e_x_t tag Tagged text. - Stray text. _M_o_r_essttrraayy_t_e_x_t_. + Stray text. _M_o_r_essttrraayy_t_e_x_t ++oo Bullet point. Stray text only. diff --git a/regress/mdoc/Bl/noIt.out_markdown b/regress/mdoc/Bl/noIt.out_markdown index a2fc0876..96d4b7af 100644 --- a/regress/mdoc/Bl/noIt.out_markdown +++ b/regress/mdoc/Bl/noIt.out_markdown @@ -7,14 +7,14 @@ BL-NOIT(1) - General Commands Manual # DESCRIPTION Stray text. -*More stray text.* +*More stray text* tag > Tagged text. Stray text. -*More*‌**stray**‌*text.* +*More*‌**stray**‌*text* * Bullet point. diff --git a/regress/mdoc/Brq/Makefile b/regress/mdoc/Brq/Makefile index 755b036a..716f480f 100644 --- a/regress/mdoc/Brq/Makefile +++ b/regress/mdoc/Brq/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ REGRESS_TARGETS = empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Brq/empty.in b/regress/mdoc/Brq/empty.in index 5d317474..4677820d 100644 --- a/regress/mdoc/Brq/empty.in +++ b/regress/mdoc/Brq/empty.in @@ -1,4 +1,4 @@ -.Dd October 21, 2010 +.Dd June 9, 2017 .Dt BRQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Brq and a full -.Brq "(" user@host +.Brq "(" user@host) quotation. And another -.Bro "(" full Brc one "Sy" bold . +.Bro "(" full) Brc one "Sy" bold . diff --git a/regress/mdoc/Brq/empty.out_ascii b/regress/mdoc/Brq/empty.out_ascii index 9d638d0c..31cdd9e1 100644 --- a/regress/mdoc/Brq/empty.out_ascii +++ b/regress/mdoc/Brq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE BBrrqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty {} and a full ({user@host} quotation. And another ({full} one + An empty {} and a full ({user@host)} quotation. And another ({full)} one bboolldd. -OpenBSD October 21, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Brq/empty.out_lint b/regress/mdoc/Brq/empty.out_lint new file mode 100644 index 00000000..15ca12f6 --- /dev/null +++ b/regress/mdoc/Brq/empty.out_lint @@ -0,0 +1,2 @@ +mandoc: empty.in:11:19: STYLE: no blank before trailing delimiter: Brq user@host) +mandoc: empty.in:14:14: STYLE: no blank before trailing delimiter: Bro full) diff --git a/regress/mdoc/Brq/empty.out_markdown b/regress/mdoc/Brq/empty.out_markdown index a335a57c..82b1dd7e 100644 --- a/regress/mdoc/Brq/empty.out_markdown +++ b/regress/mdoc/Brq/empty.out_markdown @@ -9,9 +9,9 @@ BRQ-EMPTY(1) - General Commands Manual An empty {} and a full -({user@host} +({user@host)} quotation. And another -({full} one **bold**. +({full)} one **bold**. -OpenBSD - October 21, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Bx/Makefile b/regress/mdoc/Bx/Makefile index 6d49f63a..03e9990c 100644 --- a/regress/mdoc/Bx/Makefile +++ b/regress/mdoc/Bx/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.2 2011/11/17 16:28:45 schwarze Exp $ REGRESS_TARGETS = args +LINT_TARGETS = args .include <bsd.regress.mk> diff --git a/regress/mdoc/Bx/args.in b/regress/mdoc/Bx/args.in index d4479275..d6f8ff5e 100644 --- a/regress/mdoc/Bx/args.in +++ b/regress/mdoc/Bx/args.in @@ -1,4 +1,4 @@ -.Dd January 30, 2011 +.Dd June 9, 2017 .Dt BX-ARGS 1 .Os OpenBSD .Sh NAME @@ -12,7 +12,7 @@ one standard argument: .Bx 4.4 "." .Pp one non-standard argument: -.Bx nett +.Bx nett. .Pp one semi-standard argument: .Bx 4.1c diff --git a/regress/mdoc/Bx/args.out_ascii b/regress/mdoc/Bx/args.out_ascii index 24e03ffe..d7c1e769 100644 --- a/regress/mdoc/Bx/args.out_ascii +++ b/regress/mdoc/Bx/args.out_ascii @@ -8,7 +8,7 @@ DDEESSCCRRIIPPTTIIOONN one standard argument: 4.4BSD. - one non-standard argument: nettBSD + one non-standard argument: nett.BSD one semi-standard argument: 4.1cBSD @@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN end of test document -OpenBSD January 30, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Bx/args.out_lint b/regress/mdoc/Bx/args.out_lint new file mode 100644 index 00000000..4f5dbcd9 --- /dev/null +++ b/regress/mdoc/Bx/args.out_lint @@ -0,0 +1 @@ +mandoc: args.in:15:9: STYLE: no blank before trailing delimiter: Bx nett. diff --git a/regress/mdoc/Bx/args.out_markdown b/regress/mdoc/Bx/args.out_markdown index 5450ee51..e2316621 100644 --- a/regress/mdoc/Bx/args.out_markdown +++ b/regress/mdoc/Bx/args.out_markdown @@ -13,7 +13,7 @@ one standard argument: 4\.4BSD. one non-standard argument: -nettBSD +nett.BSD one semi-standard argument: 4\.1cBSD @@ -26,4 +26,4 @@ more arguments: end of test document -OpenBSD - January 30, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Cm/noarg.in b/regress/mdoc/Cm/noarg.in index 750ce84c..8347997b 100644 --- a/regress/mdoc/Cm/noarg.in +++ b/regress/mdoc/Cm/noarg.in @@ -1,4 +1,4 @@ -.Dd July 2, 2014 +.Dd June 9, 2017 .Dt CM-NOARG 1 .Os OpenBSD .Sh NAME @@ -9,4 +9,4 @@ end of line: .Nm mt Fl f Ar device Cm .Pp middle of line: -.Nm ps Fl x Cm Fl o Cm command +.Nm ps Fl x Cm Fl o Cm command. diff --git a/regress/mdoc/Cm/noarg.out_ascii b/regress/mdoc/Cm/noarg.out_ascii index 83186d1c..2b6dea57 100644 --- a/regress/mdoc/Cm/noarg.out_ascii +++ b/regress/mdoc/Cm/noarg.out_ascii @@ -6,6 +6,6 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN end of line: mmtt --ff _d_e_v_i_c_e - middle of line: ppss --xx --oo ccoommmmaanndd + middle of line: ppss --xx --oo ccoommmmaanndd.. -OpenBSD July 2, 2014 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Cm/noarg.out_lint b/regress/mdoc/Cm/noarg.out_lint index 3a828e5a..6568e687 100644 --- a/regress/mdoc/Cm/noarg.out_lint +++ b/regress/mdoc/Cm/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:9:23: WARNING: skipping empty macro: Cm mandoc: noarg.in:12:13: WARNING: skipping empty macro: Cm +mandoc: noarg.in:12:31: STYLE: no blank before trailing delimiter: Cm command. diff --git a/regress/mdoc/Cm/noarg.out_markdown b/regress/mdoc/Cm/noarg.out_markdown index 6aff6353..05ceb960 100644 --- a/regress/mdoc/Cm/noarg.out_markdown +++ b/regress/mdoc/Cm/noarg.out_markdown @@ -10,6 +10,6 @@ end of line: **mt** **-f** *device* middle of line: -**ps** **-x** **-o** **command** +**ps** **-x** **-o** **command.** -OpenBSD - July 2, 2014 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Dq/Makefile b/regress/mdoc/Dq/Makefile index 755b036a..716f480f 100644 --- a/regress/mdoc/Dq/Makefile +++ b/regress/mdoc/Dq/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ REGRESS_TARGETS = empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Dq/empty.in b/regress/mdoc/Dq/empty.in index 1d072d5e..2e0282e4 100644 --- a/regress/mdoc/Dq/empty.in +++ b/regress/mdoc/Dq/empty.in @@ -1,4 +1,4 @@ -.Dd October 21, 2010 +.Dd June 9, 2017 .Dt DQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Dq and a full -.Dq "(" user@host +.Dq "(" user@host) quotation. And another -.Do "(" full Dc one "Sy" bold . +.Do "(" full) Dc one "Sy" bold . diff --git a/regress/mdoc/Dq/empty.out_ascii b/regress/mdoc/Dq/empty.out_ascii index 9f7c8bbe..a5614e9e 100644 --- a/regress/mdoc/Dq/empty.out_ascii +++ b/regress/mdoc/Dq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE DDqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty "" and a full ("user@host" quotation. And another ("full" one + An empty "" and a full ("user@host)" quotation. And another ("full)" one bboolldd. -OpenBSD October 21, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Dq/empty.out_markdown b/regress/mdoc/Dq/empty.out_markdown index b6188f5c..927dacc8 100644 --- a/regress/mdoc/Dq/empty.out_markdown +++ b/regress/mdoc/Dq/empty.out_markdown @@ -9,9 +9,9 @@ DQ-EMPTY(1) - General Commands Manual An empty "" and a full -("user@host" +("user@host)" quotation. And another -("full" one **bold**. +("full)" one **bold**. -OpenBSD - October 21, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Dv/noarg.in b/regress/mdoc/Dv/noarg.in index 86155b3a..a2b54d86 100644 --- a/regress/mdoc/Dv/noarg.in +++ b/regress/mdoc/Dv/noarg.in @@ -1,4 +1,4 @@ -.Dd July 2, 2014 +.Dd June 9, 2017 .Dt DV-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd defined variable macro without an argument .Sh DESCRIPTION with variable: -.Dv NULL +.Dv NULL. no variable: .Dv end of test document diff --git a/regress/mdoc/Dv/noarg.out_ascii b/regress/mdoc/Dv/noarg.out_ascii index b40d6635..7e934d63 100644 --- a/regress/mdoc/Dv/noarg.out_ascii +++ b/regress/mdoc/Dv/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE DDvv--nnooaarrgg - defined variable macro without an argument DDEESSCCRRIIPPTTIIOONN - with variable: NULL no variable: end of test document + with variable: NULL. no variable: end of test document -OpenBSD July 2, 2014 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Dv/noarg.out_lint b/regress/mdoc/Dv/noarg.out_lint index cac45101..6e6ad765 100644 --- a/regress/mdoc/Dv/noarg.out_lint +++ b/regress/mdoc/Dv/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Dv +mandoc: noarg.in:9:9: STYLE: no blank before trailing delimiter: Dv NULL. diff --git a/regress/mdoc/Dv/noarg.out_markdown b/regress/mdoc/Dv/noarg.out_markdown index 7d1f29d1..6cb859d1 100644 --- a/regress/mdoc/Dv/noarg.out_markdown +++ b/regress/mdoc/Dv/noarg.out_markdown @@ -7,8 +7,8 @@ DV-NOARG(1) - General Commands Manual # DESCRIPTION with variable: -`NULL` +`NULL.` no variable: end of test document -OpenBSD - July 2, 2014 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Em/punct.in b/regress/mdoc/Em/punct.in index a8e012e7..5d3cc514 100644 --- a/regress/mdoc/Em/punct.in +++ b/regress/mdoc/Em/punct.in @@ -1,4 +1,4 @@ -.Dd November 17, 2014 +.Dd June 9, 2017 .Dt EM-PUNCT 1 .Os OpenBSD .Sh NAME @@ -81,3 +81,6 @@ Quoted: .Em "a . b Nm" "Sy" bold .Em ". b Nm" .Em "." +.Pp +Missing blank: +.Em a. diff --git a/regress/mdoc/Em/punct.out_ascii b/regress/mdoc/Em/punct.out_ascii index e0f60dbe..7ab059cb 100644 --- a/regress/mdoc/Em/punct.out_ascii +++ b/regress/mdoc/Em/punct.out_ascii @@ -23,4 +23,6 @@ DDEESSCCRRIIPPTTIIOONN Quoted: _a _. _b _N_m bboolldd _. _b _N_m . -OpenBSD November 17, 2014 OpenBSD + Missing blank: _a_. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Em/punct.out_lint b/regress/mdoc/Em/punct.out_lint index cfcc04a7..6408d240 100644 --- a/regress/mdoc/Em/punct.out_lint +++ b/regress/mdoc/Em/punct.out_lint @@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping empty macro: Em mandoc: punct.in:74:7: WARNING: skipping empty macro: Em mandoc: punct.in:75:7: WARNING: skipping empty macro: Em mandoc: punct.in:83:2: WARNING: skipping empty macro: Em +mandoc: punct.in:86:6: STYLE: no blank before trailing delimiter: Em a. diff --git a/regress/mdoc/Em/punct.out_markdown b/regress/mdoc/Em/punct.out_markdown index 6cf5402d..114a1ac2 100644 --- a/regress/mdoc/Em/punct.out_markdown +++ b/regress/mdoc/Em/punct.out_markdown @@ -83,4 +83,7 @@ Quoted: *. b Nm* . -OpenBSD - November 17, 2014 +Missing blank: +*a.* + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Er/noarg.in b/regress/mdoc/Er/noarg.in index 6dc2aea6..646d3d54 100644 --- a/regress/mdoc/Er/noarg.in +++ b/regress/mdoc/Er/noarg.in @@ -1,4 +1,4 @@ -.Dd January 19, 2011 +.Dd June 9, 2017 .Dt ER-NOARG 1 .Os OpenBSD .Sh NAME @@ -7,6 +7,7 @@ .Sh DESCRIPTION with error: .Er ENOENT ";" "Sy" bold ; +.Er EIO. no error: .Er end of test document diff --git a/regress/mdoc/Er/noarg.out_ascii b/regress/mdoc/Er/noarg.out_ascii index cd8cc77b..ed7b16a9 100644 --- a/regress/mdoc/Er/noarg.out_ascii +++ b/regress/mdoc/Er/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE EErr--nnooaarrgg - error constant macro without an argument DDEESSCCRRIIPPTTIIOONN - with error: ENOENT; bboolldd; no error: end of test document + with error: ENOENT; bboolldd; EIO. no error: end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Er/noarg.out_lint b/regress/mdoc/Er/noarg.out_lint index b8594294..46b31363 100644 --- a/regress/mdoc/Er/noarg.out_lint +++ b/regress/mdoc/Er/noarg.out_lint @@ -1 +1,2 @@ -mandoc: noarg.in:11:2: WARNING: skipping empty macro: Er +mandoc: noarg.in:12:2: WARNING: skipping empty macro: Er +mandoc: noarg.in:10:8: STYLE: no blank before trailing delimiter: Er EIO. diff --git a/regress/mdoc/Er/noarg.out_markdown b/regress/mdoc/Er/noarg.out_markdown index 17dba3d4..47d378d8 100644 --- a/regress/mdoc/Er/noarg.out_markdown +++ b/regress/mdoc/Er/noarg.out_markdown @@ -8,7 +8,8 @@ ER-NOARG(1) - General Commands Manual with error: `ENOENT`; **bold**; +`EIO.` no error: end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Ev/noarg.in b/regress/mdoc/Ev/noarg.in index 84c1815d..953986b7 100644 --- a/regress/mdoc/Ev/noarg.in +++ b/regress/mdoc/Ev/noarg.in @@ -1,4 +1,4 @@ -.Dd July 2, 2014 +.Dd June 9, 2017 .Dt EV-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd environment variable macro without an argument .Sh DESCRIPTION with variable: -.Ev HOME +.Ev HOME. no variable: .Ev end of test document diff --git a/regress/mdoc/Ev/noarg.out_ascii b/regress/mdoc/Ev/noarg.out_ascii index 11705a38..f5dc1ad4 100644 --- a/regress/mdoc/Ev/noarg.out_ascii +++ b/regress/mdoc/Ev/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE EEvv--nnooaarrgg - environment variable macro without an argument DDEESSCCRRIIPPTTIIOONN - with variable: HOME no variable: end of test document + with variable: HOME. no variable: end of test document -OpenBSD July 2, 2014 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ev/noarg.out_lint b/regress/mdoc/Ev/noarg.out_lint index a41541b0..c08c135b 100644 --- a/regress/mdoc/Ev/noarg.out_lint +++ b/regress/mdoc/Ev/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ev +mandoc: noarg.in:9:9: STYLE: no blank before trailing delimiter: Ev HOME. diff --git a/regress/mdoc/Ev/noarg.out_markdown b/regress/mdoc/Ev/noarg.out_markdown index fbba3683..aad020eb 100644 --- a/regress/mdoc/Ev/noarg.out_markdown +++ b/regress/mdoc/Ev/noarg.out_markdown @@ -7,8 +7,8 @@ EV-NOARG(1) - General Commands Manual # DESCRIPTION with variable: -`HOME` +`HOME.` no variable: end of test document -OpenBSD - July 2, 2014 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Fl/Makefile b/regress/mdoc/Fl/Makefile index e9e01a19..f2b2a9aa 100644 --- a/regress/mdoc/Fl/Makefile +++ b/regress/mdoc/Fl/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.8 2014/08/21 12:56:24 schwarze Exp $ REGRESS_TARGETS = noarg multiarg parsed punct font +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Fl/punct.in b/regress/mdoc/Fl/punct.in index 8cc4c2fe..a4da35fb 100644 --- a/regress/mdoc/Fl/punct.in +++ b/regress/mdoc/Fl/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt FL-PUNCT 1 .Os OpenBSD .Sh NAME @@ -40,3 +40,6 @@ op bracket .Pp quoted punctuation: .Fl a "(" b "|" c ")" d "," "Em" italic . +.Pp +trailing delimiter: +.Fl a. diff --git a/regress/mdoc/Fl/punct.out_ascii b/regress/mdoc/Fl/punct.out_ascii index 1ef60d4d..cf8a15c2 100644 --- a/regress/mdoc/Fl/punct.out_ascii +++ b/regress/mdoc/Fl/punct.out_ascii @@ -11,4 +11,6 @@ DDEESSCCRRIIPPTTIIOONN quoted punctuation: --aa (--bb | --cc) --dd, _i_t_a_l_i_c. -OpenBSD August 21, 2014 OpenBSD + trailing delimiter: --aa.. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Fl/punct.out_lint b/regress/mdoc/Fl/punct.out_lint new file mode 100644 index 00000000..a792bbf7 --- /dev/null +++ b/regress/mdoc/Fl/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Fl a. diff --git a/regress/mdoc/Fl/punct.out_markdown b/regress/mdoc/Fl/punct.out_markdown index 54d10ae5..562ff295 100644 --- a/regress/mdoc/Fl/punct.out_markdown +++ b/regress/mdoc/Fl/punct.out_markdown @@ -42,4 +42,7 @@ op bracket quoted punctuation: **-a** (**-b** | **-c**) **-d**, *italic*. -OpenBSD - August 21, 2014 +trailing delimiter: +**-a.** + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Fo/Makefile b/regress/mdoc/Fo/Makefile index 71242c8e..09941a52 100644 --- a/regress/mdoc/Fo/Makefile +++ b/regress/mdoc/Fo/Makefile @@ -2,7 +2,7 @@ REGRESS_TARGETS = basic break eos font noarg nohead REGRESS_TARGETS += obsolete punct section warn -LINT_TARGETS = noarg nohead obsolete warn +LINT_TARGETS = noarg nohead obsolete punct warn # groff-1.22.3 defects: # - .Fo without an argument prints unbalanced parentheses diff --git a/regress/mdoc/Fo/punct.in b/regress/mdoc/Fo/punct.in index e1657ec7..d17b5330 100644 --- a/regress/mdoc/Fo/punct.in +++ b/regress/mdoc/Fo/punct.in @@ -6,8 +6,8 @@ .Nd punctuation on function input lines .Sh DESCRIPTION .Ft double -.Fn sin "," cos "Em" italic +.Fn sin. "," cos "Em" italic .Pp -.Fa x "," y "Sy" bold +.Fa x "," y: "Sy" bold .Pp -.Ft int "," float "Sy" bold +.Ft int "," float: "Sy" bold diff --git a/regress/mdoc/Fo/punct.out_ascii b/regress/mdoc/Fo/punct.out_ascii index febf646e..26c31776 100644 --- a/regress/mdoc/Fo/punct.out_ascii +++ b/regress/mdoc/Fo/punct.out_ascii @@ -4,10 +4,10 @@ NNAAMMEE FFoo--ppuunncctt - punctuation on function input lines DDEESSCCRRIIPPTTIIOONN - _d_o_u_b_l_e ssiinn(), cos _i_t_a_l_i_c + _d_o_u_b_l_e ssiinn..(), cos _i_t_a_l_i_c - _x, _y bboolldd + _x, _y_: bboolldd - _i_n_t, _f_l_o_a_t bboolldd + _i_n_t, _f_l_o_a_t_: bboolldd OpenBSD May 20, 2017 OpenBSD diff --git a/regress/mdoc/Fo/punct.out_lint b/regress/mdoc/Fo/punct.out_lint new file mode 100644 index 00000000..a39cf959 --- /dev/null +++ b/regress/mdoc/Fo/punct.out_lint @@ -0,0 +1,3 @@ +mandoc: punct.in:9:8: STYLE: no blank before trailing delimiter: Fn sin. +mandoc: punct.in:11:12: STYLE: no blank before trailing delimiter: Fa y: +mandoc: punct.in:13:18: STYLE: no blank before trailing delimiter: Ft float: diff --git a/regress/mdoc/Fo/punct.out_markdown b/regress/mdoc/Fo/punct.out_markdown index 88524f6f..6e9fe5ff 100644 --- a/regress/mdoc/Fo/punct.out_markdown +++ b/regress/mdoc/Fo/punct.out_markdown @@ -7,10 +7,10 @@ FO-PUNCT(1) - General Commands Manual # DESCRIPTION *double* -**sin**(), cos *italic* +**sin.**(), cos *italic* -*x*, *y* **bold** +*x*, *y:* **bold** -*int*, *float* **bold** +*int*, *float:* **bold** OpenBSD - May 20, 2017 diff --git a/regress/mdoc/Ic/noarg.in b/regress/mdoc/Ic/noarg.in index 76c22e7b..2c4bf670 100644 --- a/regress/mdoc/Ic/noarg.in +++ b/regress/mdoc/Ic/noarg.in @@ -1,4 +1,4 @@ -.Dd January 19, 2011 +.Dd June 9, 2017 .Dt IC-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd interactive command without an argument .Sh DESCRIPTION with command: -.Ic ls +.Ic ls. no command: .Ic end of test document diff --git a/regress/mdoc/Ic/noarg.out_ascii b/regress/mdoc/Ic/noarg.out_ascii index c5dda265..8899a951 100644 --- a/regress/mdoc/Ic/noarg.out_ascii +++ b/regress/mdoc/Ic/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE IIcc--nnooaarrgg - interactive command without an argument DDEESSCCRRIIPPTTIIOONN - with command: llss no command: end of test document + with command: llss.. no command: end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ic/noarg.out_lint b/regress/mdoc/Ic/noarg.out_lint index 5ae495bd..9520793e 100644 --- a/regress/mdoc/Ic/noarg.out_lint +++ b/regress/mdoc/Ic/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ic +mandoc: noarg.in:9:7: STYLE: no blank before trailing delimiter: Ic ls. diff --git a/regress/mdoc/Ic/noarg.out_markdown b/regress/mdoc/Ic/noarg.out_markdown index de7e6143..38162de3 100644 --- a/regress/mdoc/Ic/noarg.out_markdown +++ b/regress/mdoc/Ic/noarg.out_markdown @@ -7,8 +7,8 @@ IC-NOARG(1) - General Commands Manual # DESCRIPTION with command: -**ls** +**ls.** no command: end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/In/noarg.in b/regress/mdoc/In/noarg.in index f443637a..1952e868 100644 --- a/regress/mdoc/In/noarg.in +++ b/regress/mdoc/In/noarg.in @@ -12,7 +12,7 @@ .Ft double .Fn cos "double x" .Sh DESCRIPTION -.In math.h +.In math.h: .Ft double .Fn sin "double x" .In diff --git a/regress/mdoc/In/noarg.out_ascii b/regress/mdoc/In/noarg.out_ascii index 1a86acd6..7a4bf173 100644 --- a/regress/mdoc/In/noarg.out_ascii +++ b/regress/mdoc/In/noarg.out_ascii @@ -13,6 +13,6 @@ SSYYNNOOPPSSIISS ccooss(_d_o_u_b_l_e _x); DDEESSCCRRIIPPTTIIOONN - <_m_a_t_h_._h> _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) _d_o_u_b_l_e ccooss(_d_o_u_b_l_e _x) + <_m_a_t_h_._h_:> _d_o_u_b_l_e ssiinn(_d_o_u_b_l_e _x) _d_o_u_b_l_e ccooss(_d_o_u_b_l_e _x) OpenBSD February 5, 2015 OpenBSD diff --git a/regress/mdoc/In/noarg.out_lint b/regress/mdoc/In/noarg.out_lint index 3b4e6d22..17f80404 100644 --- a/regress/mdoc/In/noarg.out_lint +++ b/regress/mdoc/In/noarg.out_lint @@ -1,2 +1,3 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: In mandoc: noarg.in:18:2: WARNING: skipping empty macro: In +mandoc: noarg.in:15:11: STYLE: no blank before trailing delimiter: In math.h: diff --git a/regress/mdoc/In/noarg.out_markdown b/regress/mdoc/In/noarg.out_markdown index 81970226..8a39b83a 100644 --- a/regress/mdoc/In/noarg.out_markdown +++ b/regress/mdoc/In/noarg.out_markdown @@ -16,7 +16,7 @@ IN-NOARG(2) - System Calls Manual # DESCRIPTION -<*math.h*> +<*math.h:*> *double* **sin**(*double x*) *double* diff --git a/regress/mdoc/Lb/badargs.in b/regress/mdoc/Lb/badargs.in index f1fea204..558eef2f 100644 --- a/regress/mdoc/Lb/badargs.in +++ b/regress/mdoc/Lb/badargs.in @@ -1,10 +1,10 @@ -.Dd January 2, 2011 +.Dd June 9, 2017 .Dt LB-BADARGS 3 .Os OpenBSD .Sh NAME .Nm Lb-badargs .Nd bad arguments to the library macro .Sh LIBRARY -.Lb murks +.Lb murks. .Lb -.Lb mylib another +.Lb mylib another. diff --git a/regress/mdoc/Lb/badargs.out_ascii b/regress/mdoc/Lb/badargs.out_ascii index cfc2b0ff..db55ffd1 100644 --- a/regress/mdoc/Lb/badargs.out_ascii +++ b/regress/mdoc/Lb/badargs.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE LLbb--bbaaddaarrggss - bad arguments to the library macro LLIIBBRRAARRYY - library "murks" - library "mylib" another + library "murks." + library "mylib" another. -OpenBSD January 2, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Lb/badargs.out_lint b/regress/mdoc/Lb/badargs.out_lint index d41489ed..1bcca249 100644 --- a/regress/mdoc/Lb/badargs.out_lint +++ b/regress/mdoc/Lb/badargs.out_lint @@ -1,3 +1,5 @@ mandoc: badargs.in:9:2: WARNING: skipping empty macro: Lb +mandoc: badargs.in:8:10: STYLE: no blank before trailing delimiter: Lb murks. +mandoc: badargs.in:10:18: STYLE: no blank before trailing delimiter: Lb ... another. mandoc: badargs.in:8:5: WARNING: unknown library name: Lb murks mandoc: badargs.in:10:5: WARNING: unknown library name: Lb mylib diff --git a/regress/mdoc/Lb/badargs.out_markdown b/regress/mdoc/Lb/badargs.out_markdown index 132b2f9f..9eebe89e 100644 --- a/regress/mdoc/Lb/badargs.out_markdown +++ b/regress/mdoc/Lb/badargs.out_markdown @@ -6,7 +6,7 @@ LB-BADARGS(3) - Library Functions Manual # LIBRARY -library “murks” -library “mylib” another +library “murks.” +library “mylib” another. -OpenBSD - January 2, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Li/punct.in b/regress/mdoc/Li/punct.in index 02565770..434b7e6f 100644 --- a/regress/mdoc/Li/punct.in +++ b/regress/mdoc/Li/punct.in @@ -1,4 +1,4 @@ -.Dd November 17, 2014 +.Dd June 9, 2017 .Dt LI-PUNCT 1 .Os OpenBSD .Sh NAME @@ -81,3 +81,6 @@ Quoted: .Li "a . b Nm" "Sy" bold .Li ". b Nm" .Li "." +.Pp +Missing blank: +.Li a. diff --git a/regress/mdoc/Li/punct.out_ascii b/regress/mdoc/Li/punct.out_ascii index d0de6c9a..da684890 100644 --- a/regress/mdoc/Li/punct.out_ascii +++ b/regress/mdoc/Li/punct.out_ascii @@ -23,4 +23,6 @@ DDEESSCCRRIIPPTTIIOONN Quoted: a . b Nm bboolldd . b Nm . -OpenBSD November 17, 2014 OpenBSD + Missing blank: a. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Li/punct.out_lint b/regress/mdoc/Li/punct.out_lint index bdce45c6..fc2a2110 100644 --- a/regress/mdoc/Li/punct.out_lint +++ b/regress/mdoc/Li/punct.out_lint @@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping empty macro: Li mandoc: punct.in:74:7: WARNING: skipping empty macro: Li mandoc: punct.in:75:7: WARNING: skipping empty macro: Li mandoc: punct.in:83:2: WARNING: skipping empty macro: Li +mandoc: punct.in:86:6: STYLE: no blank before trailing delimiter: Li a. diff --git a/regress/mdoc/Li/punct.out_markdown b/regress/mdoc/Li/punct.out_markdown index 97110e22..fde70399 100644 --- a/regress/mdoc/Li/punct.out_markdown +++ b/regress/mdoc/Li/punct.out_markdown @@ -83,4 +83,7 @@ Quoted: `. b Nm` . -OpenBSD - November 17, 2014 +Missing blank: +`a.` + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Lk/noarg.in b/regress/mdoc/Lk/noarg.in index 910f641c..19d9d30c 100644 --- a/regress/mdoc/Lk/noarg.in +++ b/regress/mdoc/Lk/noarg.in @@ -1,4 +1,4 @@ -.Dd January 19, 2011 +.Dd June 9, 2017 .Dt LK-NOARG 1 .Os OpenBSD .Sh NAME @@ -9,9 +9,9 @@ multiple arguments .Lk http://www.bsd.lv/ the bsd.lv project , .Lk http://www.gnu.org/software/groff/ GNU troff "," two arguments -.Lk http://mdocml.bsd.lv/ mandoc +.Lk http://mdocml.bsd.lv/ mandoc, one argument -.Lk http://www.openbsd.org/ +.Lk http://www.openbsd.org/, no argument .Lk .Pp diff --git a/regress/mdoc/Lk/noarg.out_ascii b/regress/mdoc/Lk/noarg.out_ascii index a0cec52a..5347cf7b 100644 --- a/regress/mdoc/Lk/noarg.out_ascii +++ b/regress/mdoc/Lk/noarg.out_ascii @@ -6,9 +6,9 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN multiple arguments _t_h_e _b_s_d_._l_v _p_r_o_j_e_c_t: hhttttpp::////wwwwww..bbssdd..llvv//, _G_N_U _t_r_o_f_f: hhttttpp::////wwwwww..ggnnuu..oorrgg//ssooffttwwaarree//ggrrooffff//, - two arguments _m_a_n_d_o_c: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument - hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg// no argument + two arguments _m_a_n_d_o_c_,: hhttttpp::////mmddooccmmll..bbssdd..llvv// one argument + hhttttpp::////wwwwww..ooppeennbbssdd..oorrgg//,, no argument end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Lk/noarg.out_lint b/regress/mdoc/Lk/noarg.out_lint index ff99c357..47c5b9ca 100644 --- a/regress/mdoc/Lk/noarg.out_lint +++ b/regress/mdoc/Lk/noarg.out_lint @@ -1 +1,3 @@ mandoc: noarg.in:16:2: WARNING: skipping empty macro: Lk +mandoc: noarg.in:12:33: STYLE: no blank before trailing delimiter: Lk ... mandoc, +mandoc: noarg.in:14:28: STYLE: no blank before trailing delimiter: Lk http://www.openbsd.org/, diff --git a/regress/mdoc/Lk/noarg.out_markdown b/regress/mdoc/Lk/noarg.out_markdown index 27aaec2c..56964f69 100644 --- a/regress/mdoc/Lk/noarg.out_markdown +++ b/regress/mdoc/Lk/noarg.out_markdown @@ -10,11 +10,11 @@ multiple arguments [the bsd.lv project](http://www.bsd.lv/), [GNU troff](http://www.gnu.org/software/groff/), two arguments -[mandoc](http://mdocml.bsd.lv/) +[mandoc,](http://mdocml.bsd.lv/) one argument -[http://www.openbsd.org/](http://www.openbsd.org/) +[http://www.openbsd.org/,](http://www.openbsd.org/,) no argument end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Ms/noarg.in b/regress/mdoc/Ms/noarg.in index ae283587..9c9d83f6 100644 --- a/regress/mdoc/Ms/noarg.in +++ b/regress/mdoc/Ms/noarg.in @@ -1,12 +1,12 @@ -.Dd January 19, 2011 +.Dd June 19, 2017 .Dt MS-NOARG 1 .Os OpenBSD .Sh NAME .Nm Ms-noarg .Nd mathematical symbol without an argument .Sh DESCRIPTION -with command: -.Ms alpha -no command: +with symbol: +.Ms alpha. +no symbol: .Ms end of test document diff --git a/regress/mdoc/Ms/noarg.out_ascii b/regress/mdoc/Ms/noarg.out_ascii index fa90d0f3..7f219925 100644 --- a/regress/mdoc/Ms/noarg.out_ascii +++ b/regress/mdoc/Ms/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE MMss--nnooaarrgg - mathematical symbol without an argument DDEESSCCRRIIPPTTIIOONN - with command: aallpphhaa no command: end of test document + with symbol: aallpphhaa.. no symbol: end of test document -OpenBSD January 19, 2011 OpenBSD +OpenBSD June 19, 2017 OpenBSD diff --git a/regress/mdoc/Ms/noarg.out_lint b/regress/mdoc/Ms/noarg.out_lint index 265fb3e6..8535ec9c 100644 --- a/regress/mdoc/Ms/noarg.out_lint +++ b/regress/mdoc/Ms/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Ms +mandoc: noarg.in:9:10: STYLE: no blank before trailing delimiter: Ms alpha. diff --git a/regress/mdoc/Ms/noarg.out_markdown b/regress/mdoc/Ms/noarg.out_markdown index 5146653e..65c8466d 100644 --- a/regress/mdoc/Ms/noarg.out_markdown +++ b/regress/mdoc/Ms/noarg.out_markdown @@ -6,9 +6,9 @@ MS-NOARG(1) - General Commands Manual # DESCRIPTION -with command: -**alpha** -no command: +with symbol: +**alpha.** +no symbol: end of test document -OpenBSD - January 19, 2011 +OpenBSD - June 19, 2017 diff --git a/regress/mdoc/Mt/Makefile b/regress/mdoc/Mt/Makefile index fbeff8b9..bfb496d5 100644 --- a/regress/mdoc/Mt/Makefile +++ b/regress/mdoc/Mt/Makefile @@ -1,6 +1,7 @@ # $OpenBSD: Makefile,v 1.5 2012/07/09 17:52:09 schwarze Exp $ REGRESS_TARGETS = simple font +LINT_TARGETS = simple # it's unclear what font changes in link destinations should do diff --git a/regress/mdoc/Mt/simple.in b/regress/mdoc/Mt/simple.in index 16afb2da..8e7a70ba 100644 --- a/regress/mdoc/Mt/simple.in +++ b/regress/mdoc/Mt/simple.in @@ -1,4 +1,4 @@ -.Dd February 17, 2010 +.Dd June 9, 2017 .Dt MT-SIMPLE 1 .Os OpenBSD .Sh NAME @@ -8,5 +8,8 @@ Please send mail to .Mt schwarze@openbsd.org ";" "Sy" bold . .Pp +Pay attention to +.Mt punctuation@localhost. +.Pp Do not send mail to .Mt . diff --git a/regress/mdoc/Mt/simple.out_ascii b/regress/mdoc/Mt/simple.out_ascii index 7b2ea545..364a6af6 100644 --- a/regress/mdoc/Mt/simple.out_ascii +++ b/regress/mdoc/Mt/simple.out_ascii @@ -6,6 +6,8 @@ NNAAMMEE DDEESSCCRRIIPPTTIIOONN Please send mail to _s_c_h_w_a_r_z_e_@_o_p_e_n_b_s_d_._o_r_g; bboolldd. + Pay attention to _p_u_n_c_t_u_a_t_i_o_n_@_l_o_c_a_l_h_o_s_t_. + Do not send mail to _~. -OpenBSD February 17, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Mt/simple.out_lint b/regress/mdoc/Mt/simple.out_lint new file mode 100644 index 00000000..d8e4a1e3 --- /dev/null +++ b/regress/mdoc/Mt/simple.out_lint @@ -0,0 +1 @@ +mandoc: simple.in:12:26: STYLE: no blank before trailing delimiter: Mt punctuation@localhost. diff --git a/regress/mdoc/Mt/simple.out_markdown b/regress/mdoc/Mt/simple.out_markdown index 9281fee5..d00df48d 100644 --- a/regress/mdoc/Mt/simple.out_markdown +++ b/regress/mdoc/Mt/simple.out_markdown @@ -9,7 +9,10 @@ MT-SIMPLE(1) - General Commands Manual Please send mail to [schwarze@openbsd.org](mailto:schwarze@openbsd.org); **bold**. +Pay attention to +[punctuation@localhost.](mailto:punctuation@localhost.) + Do not send mail to [~](mailto:~). -OpenBSD - February 17, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Nm/Makefile b/regress/mdoc/Nm/Makefile index 136d744d..8ec7606f 100644 --- a/regress/mdoc/Nm/Makefile +++ b/regress/mdoc/Nm/Makefile @@ -4,7 +4,7 @@ REGRESS_TARGETS = badNAME badNAMEuse break broken REGRESS_TARGETS += empty emptyNAME emptyNAMEuse REGRESS_TARGETS += font long par parns punct -LINT_TARGETS = badNAME badNAMEuse break broken +LINT_TARGETS = badNAME badNAMEuse break broken punct # groff-1.22.3/mandoc differences: # - When the head of an Nm block in the SYNOPSIS is broken by an diff --git a/regress/mdoc/Nm/punct.in b/regress/mdoc/Nm/punct.in index 254adfdf..4cc3574b 100644 --- a/regress/mdoc/Nm/punct.in +++ b/regress/mdoc/Nm/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt NM-PUNCT 1 .Os OpenBSD .Sh NAME @@ -37,3 +37,6 @@ op paren .Nm ( a op bracket .Nm [ a +.Pp +Missing blank: +.Nm Nm-punct. diff --git a/regress/mdoc/Nm/punct.out_ascii b/regress/mdoc/Nm/punct.out_ascii index 74cb98f4..76d1c1f6 100644 --- a/regress/mdoc/Nm/punct.out_ascii +++ b/regress/mdoc/Nm/punct.out_ascii @@ -9,4 +9,6 @@ DDEESSCCRRIIPPTTIIOONN NNmm--ppuunncctt; z colon NNmm--ppuunncctt: z quest NNmm--ppuunncctt? z excl NNmm--ppuunncctt! z paren NNmm--ppuunncctt) z bracket NNmm--ppuunncctt] z bar | mm op paren (aa op bracket [aa -OpenBSD August 21, 2014 OpenBSD + Missing blank: NNmm--ppuunncctt.. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Nm/punct.out_lint b/regress/mdoc/Nm/punct.out_lint new file mode 100644 index 00000000..45f906b3 --- /dev/null +++ b/regress/mdoc/Nm/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:42:13: STYLE: no blank before trailing delimiter: Nm Nm-punct. diff --git a/regress/mdoc/Nm/punct.out_markdown b/regress/mdoc/Nm/punct.out_markdown index ad848240..132275ab 100644 --- a/regress/mdoc/Nm/punct.out_markdown +++ b/regress/mdoc/Nm/punct.out_markdown @@ -39,4 +39,7 @@ op paren op bracket \[**a** -OpenBSD - August 21, 2014 +Missing blank: +**Nm-punct.** + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/No/punct.in b/regress/mdoc/No/punct.in index c952c7c4..06615231 100644 --- a/regress/mdoc/No/punct.in +++ b/regress/mdoc/No/punct.in @@ -1,4 +1,4 @@ -.Dd November 17, 2014 +.Dd June 9, 2017 .Dt NO-PUNCT 1 .Os OpenBSD .Sh NAME @@ -81,3 +81,6 @@ Quoted: .No "a . b Nm" "Sy" bold .No ". b Nm" .No "." +.Pp +Missing blank: +.No a. diff --git a/regress/mdoc/No/punct.out_ascii b/regress/mdoc/No/punct.out_ascii index 94252d88..0cf3d7f4 100644 --- a/regress/mdoc/No/punct.out_ascii +++ b/regress/mdoc/No/punct.out_ascii @@ -23,4 +23,6 @@ DDEESSCCRRIIPPTTIIOONN Quoted: a . b Nm bboolldd . b Nm . -OpenBSD November 17, 2014 OpenBSD + Missing blank: a. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/No/punct.out_lint b/regress/mdoc/No/punct.out_lint index e46cd67f..15430486 100644 --- a/regress/mdoc/No/punct.out_lint +++ b/regress/mdoc/No/punct.out_lint @@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping empty macro: No mandoc: punct.in:74:7: WARNING: skipping empty macro: No mandoc: punct.in:75:7: WARNING: skipping empty macro: No mandoc: punct.in:83:2: WARNING: skipping empty macro: No +mandoc: punct.in:86:6: STYLE: no blank before trailing delimiter: No a. diff --git a/regress/mdoc/No/punct.out_markdown b/regress/mdoc/No/punct.out_markdown index 6dd09c85..daa2f923 100644 --- a/regress/mdoc/No/punct.out_markdown +++ b/regress/mdoc/No/punct.out_markdown @@ -83,4 +83,7 @@ a . b Nm **bold** . b Nm . -OpenBSD - November 17, 2014 +Missing blank: +a. + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Oo/Makefile b/regress/mdoc/Oo/Makefile index 67bf2449..e98c9475 100644 --- a/regress/mdoc/Oo/Makefile +++ b/regress/mdoc/Oo/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1 2012/07/07 14:10:55 schwarze Exp $ REGRESS_TARGETS = punct +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Oo/punct.in b/regress/mdoc/Oo/punct.in index 59ea4bb7..80e2da6e 100644 --- a/regress/mdoc/Oo/punct.in +++ b/regress/mdoc/Oo/punct.in @@ -1,4 +1,4 @@ -.Dd July 6, 2012 +.Dd June 9, 2017 .Dt OO-PUNCT 1 .Os OpenBSD .Sh NAME @@ -21,3 +21,7 @@ at the end: .Oo Oo a ( .Oc | .Oc +.Pp +missing blank: +.Oo a. +.Oc diff --git a/regress/mdoc/Oo/punct.out_ascii b/regress/mdoc/Oo/punct.out_ascii index 68addf8d..23fabbcb 100644 --- a/regress/mdoc/Oo/punct.out_ascii +++ b/regress/mdoc/Oo/punct.out_ascii @@ -10,4 +10,6 @@ DDEESSCCRRIIPPTTIIOONN at the end: [[a (] |] -OpenBSD July 6, 2012 OpenBSD + missing blank: [a.] + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Oo/punct.out_lint b/regress/mdoc/Oo/punct.out_lint new file mode 100644 index 00000000..fa02f065 --- /dev/null +++ b/regress/mdoc/Oo/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:26:6: STYLE: no blank before trailing delimiter: Oo a. diff --git a/regress/mdoc/Oo/punct.out_markdown b/regress/mdoc/Oo/punct.out_markdown index e6525b1d..6527e5e1 100644 --- a/regress/mdoc/Oo/punct.out_markdown +++ b/regress/mdoc/Oo/punct.out_markdown @@ -20,4 +20,7 @@ at the end: \[\[a (] |] -OpenBSD - July 6, 2012 +missing blank: +\[a.] + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Op/Makefile b/regress/mdoc/Op/Makefile index ab934a4e..4a2d6fda 100644 --- a/regress/mdoc/Op/Makefile +++ b/regress/mdoc/Op/Makefile @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.3 2014/07/02 11:42:56 schwarze Exp $ REGRESS_TARGETS = break broken punct -LINT_TARGETS = break broken +LINT_TARGETS = break broken punct SKIP_GROFF = break SKIP_ASCII = break diff --git a/regress/mdoc/Op/punct.in b/regress/mdoc/Op/punct.in index 7bc99332..7c09e574 100644 --- a/regress/mdoc/Op/punct.in +++ b/regress/mdoc/Op/punct.in @@ -1,4 +1,4 @@ -.Dd June 24, 2011 +.Dd June 9, 2017 .Dt OP-PUNCT 1 .Os OpenBSD .Sh NAME @@ -29,3 +29,6 @@ more than one: .Op ( ( .Op | | .Op . . +.Pp +Missing blank: +.Op a. diff --git a/regress/mdoc/Op/punct.out_ascii b/regress/mdoc/Op/punct.out_ascii index 53251b52..3f5b22cd 100644 --- a/regress/mdoc/Op/punct.out_ascii +++ b/regress/mdoc/Op/punct.out_ascii @@ -14,4 +14,6 @@ DDEESSCCRRIIPPTTIIOONN more than one: (([] [| |] [].. -OpenBSD June 24, 2011 OpenBSD + Missing blank: [a.] + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Op/punct.out_lint b/regress/mdoc/Op/punct.out_lint new file mode 100644 index 00000000..fff31aea --- /dev/null +++ b/regress/mdoc/Op/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:34:6: STYLE: no blank before trailing delimiter: Op a. diff --git a/regress/mdoc/Op/punct.out_markdown b/regress/mdoc/Op/punct.out_markdown index 114bd7af..98ee2e72 100644 --- a/regress/mdoc/Op/punct.out_markdown +++ b/regress/mdoc/Op/punct.out_markdown @@ -31,4 +31,7 @@ more than one: \[| |] \[].. -OpenBSD - June 24, 2011 +Missing blank: +\[a.] + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Pa/Makefile b/regress/mdoc/Pa/Makefile index 5f939fd3..d94cd735 100644 --- a/regress/mdoc/Pa/Makefile +++ b/regress/mdoc/Pa/Makefile @@ -1,6 +1,7 @@ # $OpenBSD: Makefile,v 1.4 2014/08/21 12:56:24 schwarze Exp $ REGRESS_TARGETS = font punct +LINT_TARGETS = punct # XXX The FILES target doesn't currently work. diff --git a/regress/mdoc/Pa/punct.in b/regress/mdoc/Pa/punct.in index c243d742..36dac9e5 100644 --- a/regress/mdoc/Pa/punct.in +++ b/regress/mdoc/Pa/punct.in @@ -1,4 +1,4 @@ -.Dd August 21, 2014 +.Dd June 9, 2017 .Dt PA-PUNCT 1 .Os OpenBSD .Sh NAME @@ -40,3 +40,6 @@ op bracket .Pp quoted punctuation: .Pa a "(" b "|" c ")" d "," "Sy" bold . +.Pp +missing blank: +.Pa a. diff --git a/regress/mdoc/Pa/punct.out_ascii b/regress/mdoc/Pa/punct.out_ascii index ee2a7ed6..6dabc348 100644 --- a/regress/mdoc/Pa/punct.out_ascii +++ b/regress/mdoc/Pa/punct.out_ascii @@ -10,4 +10,6 @@ DDEESSCCRRIIPPTTIIOONN quoted punctuation: _a (_b | _c) _d, bboolldd. -OpenBSD August 21, 2014 OpenBSD + missing blank: _a_. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Pa/punct.out_lint b/regress/mdoc/Pa/punct.out_lint new file mode 100644 index 00000000..5c50094f --- /dev/null +++ b/regress/mdoc/Pa/punct.out_lint @@ -0,0 +1 @@ +mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Pa a. diff --git a/regress/mdoc/Pa/punct.out_markdown b/regress/mdoc/Pa/punct.out_markdown index 3730d724..6c6883a6 100644 --- a/regress/mdoc/Pa/punct.out_markdown +++ b/regress/mdoc/Pa/punct.out_markdown @@ -42,4 +42,7 @@ op bracket quoted punctuation: *a* (*b* | *c*) *d*, **bold**. -OpenBSD - August 21, 2014 +missing blank: +*a.* + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Qq/Makefile b/regress/mdoc/Qq/Makefile index 263752b9..59ca18f5 100644 --- a/regress/mdoc/Qq/Makefile +++ b/regress/mdoc/Qq/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ REGRESS_TARGETS = empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Qq/empty.in b/regress/mdoc/Qq/empty.in index 81bd207e..b7550375 100644 --- a/regress/mdoc/Qq/empty.in +++ b/regress/mdoc/Qq/empty.in @@ -1,4 +1,4 @@ -.Dd October 21, 2010 +.Dd June 9, 2017 .Dt QQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Qq and a full -.Qq "(" user@host +.Qq "(" user@host) quotation. And another -.Qo "(" full Qc one "Sy" bold . +.Qo "(" full) Qc one "Sy" bold . diff --git a/regress/mdoc/Qq/empty.out_ascii b/regress/mdoc/Qq/empty.out_ascii index a191f455..44f7960d 100644 --- a/regress/mdoc/Qq/empty.out_ascii +++ b/regress/mdoc/Qq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE QQqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty "" and a full ("user@host" quotation. And another ("full" one + An empty "" and a full ("user@host)" quotation. And another ("full)" one bboolldd. -OpenBSD October 21, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Qq/empty.out_lint b/regress/mdoc/Qq/empty.out_lint new file mode 100644 index 00000000..4d0f7932 --- /dev/null +++ b/regress/mdoc/Qq/empty.out_lint @@ -0,0 +1,2 @@ +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/Qq/empty.out_markdown b/regress/mdoc/Qq/empty.out_markdown index beb8cb30..f6dd12e7 100644 --- a/regress/mdoc/Qq/empty.out_markdown +++ b/regress/mdoc/Qq/empty.out_markdown @@ -9,9 +9,9 @@ QQ-EMPTY(1) - General Commands Manual An empty "" and a full -("user@host" +("user@host)" quotation. And another -("full" one **bold**. +("full)" one **bold**. -OpenBSD - October 21, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Sq/Makefile b/regress/mdoc/Sq/Makefile index 755b036a..716f480f 100644 --- a/regress/mdoc/Sq/Makefile +++ b/regress/mdoc/Sq/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.1.1.1 2011/12/04 03:09:25 schwarze Exp $ REGRESS_TARGETS = empty +LINT_TARGETS = empty .include <bsd.regress.mk> diff --git a/regress/mdoc/Sq/empty.in b/regress/mdoc/Sq/empty.in index 4a8cd1e1..aa521d25 100644 --- a/regress/mdoc/Sq/empty.in +++ b/regress/mdoc/Sq/empty.in @@ -1,4 +1,4 @@ -.Dd October 21, 2010 +.Dd June 9, 2017 .Dt SQ-EMPTY 1 .Os OpenBSD .Sh NAME @@ -8,7 +8,7 @@ An empty .Sq and a full -.Sq "(" user@host +.Sq "(" user@host) quotation. And another -.So "(" full Sc one "Sy" bold . +.So "(" full) Sc one "Sy" bold . diff --git a/regress/mdoc/Sq/empty.out_ascii b/regress/mdoc/Sq/empty.out_ascii index cf014420..dc38a8fb 100644 --- a/regress/mdoc/Sq/empty.out_ascii +++ b/regress/mdoc/Sq/empty.out_ascii @@ -4,7 +4,7 @@ NNAAMMEE SSqq--eemmppttyy - empty implicit enclosure macros DDEESSCCRRIIPPTTIIOONN - An empty `' and a full (`user@host' quotation. And another (`full' one + An empty `' and a full (`user@host)' quotation. And another (`full)' one bboolldd. -OpenBSD October 21, 2010 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Sq/empty.out_lint b/regress/mdoc/Sq/empty.out_lint new file mode 100644 index 00000000..450c70b9 --- /dev/null +++ b/regress/mdoc/Sq/empty.out_lint @@ -0,0 +1,2 @@ +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/Sq/empty.out_markdown b/regress/mdoc/Sq/empty.out_markdown index 1da780b4..76493a30 100644 --- a/regress/mdoc/Sq/empty.out_markdown +++ b/regress/mdoc/Sq/empty.out_markdown @@ -9,9 +9,9 @@ SQ-EMPTY(1) - General Commands Manual An empty '' and a full -('user@host' +('user@host)' quotation. And another -('full' one **bold**. +('full)' one **bold**. -OpenBSD - October 21, 2010 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Sy/punct.in b/regress/mdoc/Sy/punct.in index 764e8aba..71094c81 100644 --- a/regress/mdoc/Sy/punct.in +++ b/regress/mdoc/Sy/punct.in @@ -1,4 +1,4 @@ -.Dd November 17, 2014 +.Dd June 9, 2017 .Dt SY-PUNCT 1 .Os OpenBSD .Sh NAME @@ -81,3 +81,6 @@ Quoted: .Sy "a . b Nm" "Em" italic .Sy ". b Nm" .Sy "." +.Pp +Missing blank: +.Sy a. diff --git a/regress/mdoc/Sy/punct.out_ascii b/regress/mdoc/Sy/punct.out_ascii index 2f368573..bb2a433e 100644 --- a/regress/mdoc/Sy/punct.out_ascii +++ b/regress/mdoc/Sy/punct.out_ascii @@ -23,4 +23,6 @@ DDEESSCCRRIIPPTTIIOONN Quoted: aa .. bb NNmm _i_t_a_l_i_c .. bb NNmm . -OpenBSD November 17, 2014 OpenBSD + Missing blank: aa.. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Sy/punct.out_lint b/regress/mdoc/Sy/punct.out_lint index 31f1d565..af0021a1 100644 --- a/regress/mdoc/Sy/punct.out_lint +++ b/regress/mdoc/Sy/punct.out_lint @@ -23,3 +23,4 @@ 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:86:6: STYLE: no blank before trailing delimiter: Sy a. diff --git a/regress/mdoc/Sy/punct.out_markdown b/regress/mdoc/Sy/punct.out_markdown index 5e3a0c1c..c198163e 100644 --- a/regress/mdoc/Sy/punct.out_markdown +++ b/regress/mdoc/Sy/punct.out_markdown @@ -83,4 +83,7 @@ Quoted: **. b Nm** . -OpenBSD - November 17, 2014 +Missing blank: +**a.** + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Ux/Makefile b/regress/mdoc/Ux/Makefile index c945b5e6..1461f618 100644 --- a/regress/mdoc/Ux/Makefile +++ b/regress/mdoc/Ux/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.2 2013/12/22 14:06:29 schwarze Exp $ -REGRESS_TARGETS = spacing eos +REGRESS_TARGETS = eos punct spacing +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Ux/punct.in b/regress/mdoc/Ux/punct.in new file mode 100644 index 00000000..9cf2b5e4 --- /dev/null +++ b/regress/mdoc/Ux/punct.in @@ -0,0 +1,15 @@ +.Dd June 9, 2017 +.Dt UX-PUNCT 1 +.Os OpenBSD +.Sh NAME +.Nm Ux-punct +.Nd trailing delimiters in Unix macro arguments +.Sh DESCRIPTION +In June 2017, the latest release of various Unix-like +operating systems were +.Bsx 5.1, +.Dx 4.8.0, +.Fx 11.0, +.Nx 7.1, +and +.Ox 6.1. diff --git a/regress/mdoc/Ux/punct.out_ascii b/regress/mdoc/Ux/punct.out_ascii new file mode 100644 index 00000000..123bc9b9 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_ascii @@ -0,0 +1,11 @@ +UX-PUNCT(1) General Commands Manual UX-PUNCT(1) + +NNAAMMEE + UUxx--ppuunncctt - trailing delimiters in Unix macro arguments + +DDEESSCCRRIIPPTTIIOONN + In June 2017, the latest release of various Unix-like operating systems + were BSD/OS 5.1, DragonFly 4.8.0, FreeBSD 11.0, NetBSD 7.1, and + OpenBSD 6.1. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ux/punct.out_lint b/regress/mdoc/Ux/punct.out_lint new file mode 100644 index 00000000..0c7c8622 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_lint @@ -0,0 +1,5 @@ +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, +mandoc: punct.in:13:8: STYLE: no blank before trailing delimiter: Nx 7.1, +mandoc: punct.in:15:8: STYLE: no blank before trailing delimiter: Ox 6.1. diff --git a/regress/mdoc/Ux/punct.out_markdown b/regress/mdoc/Ux/punct.out_markdown new file mode 100644 index 00000000..fd4df824 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_markdown @@ -0,0 +1,18 @@ +UX-PUNCT(1) - General Commands Manual + +# NAME + +**Ux-punct** - trailing delimiters in Unix macro arguments + +# DESCRIPTION + +In June 2017, the latest release of various Unix-like +operating systems were +BSD/OS 5.1, +DragonFly 4.8.0, +FreeBSD 11.0, +NetBSD 7.1, +and +OpenBSD 6.1. + +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Va/noarg.in b/regress/mdoc/Va/noarg.in index f5fadad6..92d35dad 100644 --- a/regress/mdoc/Va/noarg.in +++ b/regress/mdoc/Va/noarg.in @@ -1,4 +1,4 @@ -.Dd January 20, 2011 +.Dd June 9, 2017 .Dt VA-NOARG 1 .Os OpenBSD .Sh NAME @@ -7,7 +7,7 @@ .Sh DESCRIPTION with arguments .Vt int -.Va errno +.Va errno. no arguments .Va end of test document diff --git a/regress/mdoc/Va/noarg.out_ascii b/regress/mdoc/Va/noarg.out_ascii index e7bec8c2..1992ade4 100644 --- a/regress/mdoc/Va/noarg.out_ascii +++ b/regress/mdoc/Va/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE VVaa--nnooaarrgg - variable name macro without arguments DDEESSCCRRIIPPTTIIOONN - with arguments _i_n_t _e_r_r_n_o no arguments end of test document + with arguments _i_n_t _e_r_r_n_o_. no arguments end of test document -OpenBSD January 20, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Va/noarg.out_lint b/regress/mdoc/Va/noarg.out_lint index 7d24e446..1541c742 100644 --- a/regress/mdoc/Va/noarg.out_lint +++ b/regress/mdoc/Va/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:12:2: WARNING: skipping empty macro: Va +mandoc: noarg.in:10:10: STYLE: no blank before trailing delimiter: Va errno. diff --git a/regress/mdoc/Va/noarg.out_markdown b/regress/mdoc/Va/noarg.out_markdown index 323c5e2f..157cc96f 100644 --- a/regress/mdoc/Va/noarg.out_markdown +++ b/regress/mdoc/Va/noarg.out_markdown @@ -8,8 +8,8 @@ VA-NOARG(1) - General Commands Manual with arguments *int* -*errno* +*errno.* no arguments end of test document -OpenBSD - January 20, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Vt/noarg.in b/regress/mdoc/Vt/noarg.in index 929dc05c..d849b877 100644 --- a/regress/mdoc/Vt/noarg.in +++ b/regress/mdoc/Vt/noarg.in @@ -1,4 +1,4 @@ -.Dd January 20, 2011 +.Dd June 9, 2017 .Dt VT-NOARG 1 .Os OpenBSD .Sh NAME @@ -6,7 +6,7 @@ .Nd variable type macro without arguments .Sh DESCRIPTION with arguments -.Vt signed int +.Vt signed int. no arguments .Vt end of test document diff --git a/regress/mdoc/Vt/noarg.out_ascii b/regress/mdoc/Vt/noarg.out_ascii index 04ca18dd..5549bb87 100644 --- a/regress/mdoc/Vt/noarg.out_ascii +++ b/regress/mdoc/Vt/noarg.out_ascii @@ -4,6 +4,6 @@ NNAAMMEE VVtt--nnooaarrgg - variable type macro without arguments DDEESSCCRRIIPPTTIIOONN - with arguments _s_i_g_n_e_d _i_n_t no arguments end of test document + with arguments _s_i_g_n_e_d _i_n_t_. no arguments end of test document -OpenBSD January 20, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Vt/noarg.out_lint b/regress/mdoc/Vt/noarg.out_lint index 4834a82a..3774062e 100644 --- a/regress/mdoc/Vt/noarg.out_lint +++ b/regress/mdoc/Vt/noarg.out_lint @@ -1 +1,2 @@ mandoc: noarg.in:11:2: WARNING: skipping empty macro: Vt +mandoc: noarg.in:9:15: STYLE: no blank before trailing delimiter: Vt ... int. diff --git a/regress/mdoc/Vt/noarg.out_markdown b/regress/mdoc/Vt/noarg.out_markdown index 4ed95290..d47c129c 100644 --- a/regress/mdoc/Vt/noarg.out_markdown +++ b/regress/mdoc/Vt/noarg.out_markdown @@ -7,8 +7,8 @@ VT-NOARG(1) - General Commands Manual # DESCRIPTION with arguments -*signed int* +*signed int.* no arguments end of test document -OpenBSD - January 20, 2011 +OpenBSD - June 9, 2017 diff --git a/regress/mdoc/Xr/args.in b/regress/mdoc/Xr/args.in index 3124ed51..74b9e841 100644 --- a/regress/mdoc/Xr/args.in +++ b/regress/mdoc/Xr/args.in @@ -1,4 +1,4 @@ -.Dd December 3, 2011 +.Dd June 9, 2017 .Dt XR-ARGS 1 .Os OpenBSD .Sh NAME @@ -18,8 +18,12 @@ A call, an another .Xr echo 1 . .Pp -Finally, half an +Finally, an +.Xr ( echo 1) +without a blank, half an .Xr echo , +no blank after half an +.Xr echo, no echo .Xr , and no diff --git a/regress/mdoc/Xr/args.out_ascii b/regress/mdoc/Xr/args.out_ascii index 67e8b712..10d4b468 100644 --- a/regress/mdoc/Xr/args.out_ascii +++ b/regress/mdoc/Xr/args.out_ascii @@ -11,6 +11,7 @@ DDEESSCCRRIIPPTTIIOONN A call, an (echo(1)), and another echo(1). - Finally, half an echo, no echo and no echo at all. + Finally, an (echo(1)) without a blank, half an echo, no blank after half + an echo, no echo and no echo at all. -OpenBSD December 3, 2011 OpenBSD +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Xr/args.out_lint b/regress/mdoc/Xr/args.out_lint index 8ade7488..672b87bb 100644 --- a/regress/mdoc/Xr/args.out_lint +++ b/regress/mdoc/Xr/args.out_lint @@ -1,3 +1,6 @@ -mandoc: args.in:24:2: WARNING: skipping empty macro: Xr -mandoc: args.in:26:2: WARNING: skipping empty macro: Xr -mandoc: args.in:22:2: WARNING: missing section argument: Xr echo +mandoc: args.in:28:2: WARNING: skipping empty macro: Xr +mandoc: args.in:30:2: WARNING: skipping empty macro: Xr +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, +mandoc: args.in:26:9: STYLE: no blank before trailing delimiter: Xr echo, diff --git a/regress/mdoc/Xr/args.out_markdown b/regress/mdoc/Xr/args.out_markdown index fdfaa8d3..0efd2d76 100644 --- a/regress/mdoc/Xr/args.out_markdown +++ b/regress/mdoc/Xr/args.out_markdown @@ -19,10 +19,14 @@ A call, an another echo(1). -Finally, half an +Finally, an +(echo(1)) +without a blank, half an +echo, +no blank after half an echo, no echo and no echo at all. -OpenBSD - December 3, 2011 +OpenBSD - June 9, 2017 |