* mdocml: style message about missing blank before trailing delimiter;
@ 2017-06-10 1:49 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-06-10 1:49 UTC (permalink / raw)
To: source
Log Message:
-----------
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Modified Files:
--------------
mdocml:
mandoc.1
mandoc.h
mdoc_validate.c
read.c
mdocml/regress/mdoc/Ad:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/An:
break.in
break.out_lint
mdocml/regress/mdoc/Aq:
Makefile
empty.in
empty.out_ascii
empty.out_markdown
empty.out_utf8
mdocml/regress/mdoc/Ar:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Bl:
breakingIt.in
breakingIt.out_ascii
breakingIt.out_markdown
noIt.in
noIt.out_ascii
noIt.out_markdown
mdocml/regress/mdoc/Brq:
Makefile
empty.in
empty.out_ascii
empty.out_markdown
mdocml/regress/mdoc/Bx:
Makefile
args.in
args.out_ascii
args.out_markdown
mdocml/regress/mdoc/Cm:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Dq:
Makefile
empty.in
empty.out_ascii
empty.out_markdown
mdocml/regress/mdoc/Dv:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Em:
punct.in
punct.out_ascii
punct.out_lint
punct.out_markdown
mdocml/regress/mdoc/Er:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Ev:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Fl:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Fo:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Ic:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/In:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Lb:
badargs.in
badargs.out_ascii
badargs.out_lint
badargs.out_markdown
mdocml/regress/mdoc/Li:
punct.in
punct.out_ascii
punct.out_lint
punct.out_markdown
mdocml/regress/mdoc/Lk:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Ms:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Mt:
Makefile
simple.in
simple.out_ascii
simple.out_markdown
mdocml/regress/mdoc/Nm:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/No:
punct.in
punct.out_ascii
punct.out_lint
punct.out_markdown
mdocml/regress/mdoc/Oo:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Op:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Pa:
Makefile
punct.in
punct.out_ascii
punct.out_markdown
mdocml/regress/mdoc/Qq:
Makefile
empty.in
empty.out_ascii
empty.out_markdown
mdocml/regress/mdoc/Sq:
Makefile
empty.in
empty.out_ascii
empty.out_markdown
mdocml/regress/mdoc/Sy:
punct.in
punct.out_ascii
punct.out_lint
punct.out_markdown
mdocml/regress/mdoc/Ux:
Makefile
mdocml/regress/mdoc/Va:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Vt:
noarg.in
noarg.out_ascii
noarg.out_lint
noarg.out_markdown
mdocml/regress/mdoc/Xr:
args.in
args.out_ascii
args.out_lint
args.out_markdown
Added Files:
-----------
mdocml/regress/mdoc/Aq:
empty.out_lint
mdocml/regress/mdoc/Ar:
punct.out_lint
mdocml/regress/mdoc/Brq:
empty.out_lint
mdocml/regress/mdoc/Bx:
args.out_lint
mdocml/regress/mdoc/Fl:
punct.out_lint
mdocml/regress/mdoc/Fo:
punct.out_lint
mdocml/regress/mdoc/Mt:
simple.out_lint
mdocml/regress/mdoc/Nm:
punct.out_lint
mdocml/regress/mdoc/Oo:
punct.out_lint
mdocml/regress/mdoc/Op:
punct.out_lint
mdocml/regress/mdoc/Pa:
punct.out_lint
mdocml/regress/mdoc/Qq:
empty.out_lint
mdocml/regress/mdoc/Sq:
empty.out_lint
mdocml/regress/mdoc/Ux:
punct.in
punct.out_ascii
punct.out_lint
punct.out_markdown
Revision Data
-------------
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Va/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Va/noarg.out_lint -Lregress/mdoc/Va/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Va/noarg.out_lint
+++ 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.
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Va/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Va/noarg.in -Lregress/mdoc/Va/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Va/noarg.in
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Va/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Va/noarg.out_ascii -Lregress/mdoc/Va/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Va/noarg.out_ascii
+++ regress/mdoc/Va/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
V\bVa\ba-\b-n\bno\boa\bar\brg\bg - variable name macro without arguments
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with arguments _\bi_\bn_\bt _\be_\br_\br_\bn_\bo no arguments end of test document
+ with arguments _\bi_\bn_\bt _\be_\br_\br_\bn_\bo_\b. no arguments end of test document
-OpenBSD January 20, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Va/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Va/noarg.out_markdown -Lregress/mdoc/Va/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Va/noarg.out_markdown
+++ 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
Index: mandoc.h
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.h,v
retrieving revision 1.226
retrieving revision 1.227
diff -Lmandoc.h -Lmandoc.h -u -p -r1.226 -r1.227
--- mandoc.h
+++ mandoc.h
@@ -51,6 +51,7 @@ enum mandocerr {
MANDOCERR_ER_ORDER, /* errnos out of order: Er ... */
MANDOCERR_ER_REP, /* duplicate errno: Er ... */
MANDOCERR_ND_DOT, /* description line ends with a full stop */
+ MANDOCERR_DELIM, /* no blank before trailing delimiter: macro ... */
MANDOCERR_WARNING, /* ===== start of warnings ===== */
Index: read.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/read.c,v
retrieving revision 1.173
retrieving revision 1.174
diff -Lread.c -Lread.c -u -p -r1.173 -r1.174
--- read.c
+++ read.c
@@ -93,6 +93,7 @@ static const char * const mandocerrs[MAN
"errnos out of order",
"duplicate errno",
"description line ends with a full stop",
+ "no blank before trailing delimiter",
"generic warning",
Index: mandoc.1
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.1,v
retrieving revision 1.196
retrieving revision 1.197
diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.196 -r1.197
--- mandoc.1
+++ mandoc.1
@@ -798,6 +798,11 @@ number.
Do not use punctuation at the end of an
.Ic \&Nd
block.
+.It Sy "no blank before trailing delimiter"
+The last argument of a macro that supports trailing delimiter
+arguments is longer than one byte and ends with a trailing delimiter.
+Consider inserting a blank such that the delimiter becomes a separate
+argument, thus moving it out of the scope of the macro.
.El
.Ss Warnings related to the document prologue
.Bl -ohang
Index: mdoc_validate.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_validate.c,v
retrieving revision 1.332
retrieving revision 1.333
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.332 -r1.333
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -75,6 +75,7 @@ static void post_bx(POST_ARGS);
static void post_defaults(POST_ARGS);
static void post_display(POST_ARGS);
static void post_dd(POST_ARGS);
+static void post_delim(POST_ARGS);
static void post_dt(POST_ARGS);
static void post_en(POST_ARGS);
static void post_es(POST_ARGS);
@@ -124,33 +125,33 @@ static const v_post __mdoc_valids[MDOC_M
post_bl, /* Bl */
NULL, /* El */
post_it, /* It */
- NULL, /* Ad */
+ post_delim, /* Ad */
post_an, /* An */
NULL, /* Ap */
post_defaults, /* Ar */
NULL, /* Cd */
- NULL, /* Cm */
- NULL, /* Dv */
- NULL, /* Er */
- NULL, /* Ev */
+ post_delim, /* Cm */
+ post_delim, /* Dv */
+ post_delim, /* Er */
+ post_delim, /* Ev */
post_ex, /* Ex */
post_fa, /* Fa */
NULL, /* Fd */
- NULL, /* Fl */
+ post_delim, /* Fl */
post_fn, /* Fn */
- NULL, /* Ft */
- NULL, /* Ic */
- NULL, /* In */
+ post_delim, /* Ft */
+ post_delim, /* Ic */
+ post_delim, /* In */
post_defaults, /* Li */
post_nd, /* Nd */
post_nm, /* Nm */
- NULL, /* Op */
+ post_delim, /* Op */
post_obsolete, /* Ot */
post_defaults, /* Pa */
post_rv, /* Rv */
post_st, /* St */
- NULL, /* Va */
- NULL, /* Vt */
+ post_delim, /* Va */
+ post_delim, /* Vt */
post_xr, /* Xr */
NULL, /* %A */
post_hyph, /* %B */ /* FIXME: can be used outside Rs/Re. */
@@ -164,12 +165,12 @@ static const v_post __mdoc_valids[MDOC_M
post_hyph, /* %T */ /* FIXME: can be used outside Rs/Re. */
NULL, /* %V */
NULL, /* Ac */
- NULL, /* Ao */
- NULL, /* Aq */
+ post_delim, /* Ao */
+ post_delim, /* Aq */
post_at, /* At */
NULL, /* Bc */
post_bf, /* Bf */
- NULL, /* Bo */
+ post_delim, /* Bo */
NULL, /* Bq */
post_xx, /* Bsx */
post_bx, /* Bx */
@@ -179,50 +180,50 @@ static const v_post __mdoc_valids[MDOC_M
NULL, /* Dq */
NULL, /* Ec */
NULL, /* Ef */
- NULL, /* Em */
+ post_delim, /* Em */
NULL, /* Eo */
post_xx, /* Fx */
- NULL, /* Ms */
- NULL, /* No */
+ post_delim, /* Ms */
+ post_delim, /* No */
post_ns, /* Ns */
post_xx, /* Nx */
post_xx, /* Ox */
NULL, /* Pc */
NULL, /* Pf */
- NULL, /* Po */
- NULL, /* Pq */
+ post_delim, /* Po */
+ post_delim, /* Pq */
NULL, /* Qc */
- NULL, /* Ql */
- NULL, /* Qo */
- NULL, /* Qq */
+ post_delim, /* Ql */
+ post_delim, /* Qo */
+ post_delim, /* Qq */
NULL, /* Re */
post_rs, /* Rs */
NULL, /* Sc */
- NULL, /* So */
- NULL, /* Sq */
+ post_delim, /* So */
+ post_delim, /* Sq */
post_sm, /* Sm */
post_hyph, /* Sx */
- NULL, /* Sy */
+ post_delim, /* Sy */
post_useless, /* Tn */
post_xx, /* Ux */
NULL, /* Xc */
NULL, /* Xo */
post_fo, /* Fo */
NULL, /* Fc */
- NULL, /* Oo */
+ post_delim, /* Oo */
NULL, /* Oc */
post_bk, /* Bk */
NULL, /* Ek */
post_eoln, /* Bt */
- NULL, /* Hf */
+ post_obsolete, /* Hf */
post_obsolete, /* Fr */
post_eoln, /* Ud */
post_lb, /* Lb */
post_par, /* Lp */
- NULL, /* Lk */
+ post_delim, /* Lk */
post_defaults, /* Mt */
- NULL, /* Brq */
- NULL, /* Bro */
+ post_delim, /* Brq */
+ post_delim, /* Bro */
NULL, /* Brc */
NULL, /* %C */
post_es, /* Es */
@@ -408,6 +409,28 @@ check_bsd(struct roff_man *mdoc, int ln,
}
static void
+post_delim(POST_ARGS)
+{
+ const struct roff_node *nch;
+ const char *lc;
+ enum mdelim delim;
+
+ nch = mdoc->last->last;
+ if (nch == NULL || nch->type != ROFFT_TEXT)
+ return;
+ lc = strchr(nch->string, '\0') - 1;
+ if (lc <= nch->string)
+ return;
+ delim = mdoc_isdelim(lc);
+ if (delim == DELIM_NONE || delim == DELIM_OPEN)
+ return;
+ mandoc_vmsg(MANDOCERR_DELIM, mdoc->parse,
+ nch->line, nch->pos + (lc - nch->string),
+ "%s%s %s", roff_name[mdoc->last->tok],
+ nch == mdoc->last->child ? "" : " ...", nch->string);
+}
+
+static void
post_bl_norm(POST_ARGS)
{
struct roff_node *n;
@@ -782,6 +805,8 @@ post_lb(POST_ARGS)
struct roff_node *n;
const char *p;
+ post_delim(mdoc);
+
n = mdoc->last;
assert(n->child->type == ROFFT_TEXT);
mdoc->next = ROFF_NEXT_CHILD;
@@ -1042,6 +1067,7 @@ post_fa(POST_ARGS)
break;
}
}
+ post_delim(mdoc);
}
static void
@@ -1064,6 +1090,9 @@ post_nm(POST_ARGS)
mandoc_msg(MANDOCERR_NM_NONAME, mdoc->parse,
n->line, n->pos, "Nm");
+ if (n->type == ROFFT_ELEM)
+ post_delim(mdoc);
+
if ((n->type != ROFFT_ELEM && n->type != ROFFT_HEAD) ||
(n->child != NULL && n->child->type == ROFFT_TEXT) ||
mdoc->meta.name == NULL)
@@ -1154,17 +1183,18 @@ post_defaults(POST_ARGS)
{
struct roff_node *nn;
+ if (mdoc->last->child != NULL) {
+ post_delim(mdoc);
+ return;
+ }
+
/*
* The `Ar' defaults to "file ..." if no value is provided as an
* argument; the `Mt' and `Pa' macros use "~"; the `Li' just
* gets an empty string.
*/
- if (mdoc->last->child != NULL)
- return;
-
nn = mdoc->last;
-
switch (nn->tok) {
case MDOC_Ar:
mdoc->next = ROFF_NEXT_CHILD;
@@ -1228,6 +1258,8 @@ post_an(POST_ARGS)
if (nch == NULL)
mandoc_msg(MANDOCERR_MACRO_EMPTY, mdoc->parse,
np->line, np->pos, "An");
+ else
+ post_delim(mdoc);
} else if (nch != NULL)
mandoc_vmsg(MANDOCERR_ARG_EXCESS, mdoc->parse,
nch->line, nch->pos, "An ... %s", nch->string);
@@ -1256,6 +1288,8 @@ post_xx(POST_ARGS)
struct roff_node *n;
const char *os;
+ post_delim(mdoc);
+
n = mdoc->last;
switch (n->tok) {
case MDOC_Bsx:
@@ -2090,9 +2124,9 @@ post_xr(POST_ARGS)
if (nch->next == NULL) {
mandoc_vmsg(MANDOCERR_XR_NOSEC, mdoc->parse,
n->line, n->pos, "Xr %s", nch->string);
- return;
- }
- assert(nch->next == n->last);
+ } else
+ assert(nch->next == n->last);
+ post_delim(mdoc);
}
static void
@@ -2340,6 +2374,8 @@ post_bx(POST_ARGS)
{
struct roff_node *n, *nch;
const char *macro;
+
+ post_delim(mdoc);
n = mdoc->last;
nch = n->child;
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ad/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ad/noarg.out_lint -Lregress/mdoc/Ad/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Ad/noarg.out_lint
+++ 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.
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ad/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ad/noarg.out_markdown -Lregress/mdoc/Ad/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Ad/noarg.out_markdown
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ad/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ad/noarg.out_ascii -Lregress/mdoc/Ad/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Ad/noarg.out_ascii
+++ regress/mdoc/Ad/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
A\bAd\bd-\b-n\bno\boa\bar\brg\bg - address macro without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with address: _\b0_\bx_\b3_\bb_\bc no address: end of test document
+ with address: _\b0_\bx_\b3_\bb_\bc_\b. no address: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ad/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ad/noarg.in -Lregress/mdoc/Ad/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Ad/noarg.in
+++ 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
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Vt/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Vt/noarg.out_markdown -Lregress/mdoc/Vt/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Vt/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Vt/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Vt/noarg.out_lint -Lregress/mdoc/Vt/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Vt/noarg.out_lint
+++ 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.
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Vt/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Vt/noarg.in -Lregress/mdoc/Vt/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Vt/noarg.in
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Vt/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Vt/noarg.out_ascii -Lregress/mdoc/Vt/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Vt/noarg.out_ascii
+++ regress/mdoc/Vt/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
V\bVt\bt-\b-n\bno\boa\bar\brg\bg - variable type macro without arguments
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with arguments _\bs_\bi_\bg_\bn_\be_\bd _\bi_\bn_\bt no arguments end of test document
+ with arguments _\bs_\bi_\bg_\bn_\be_\bd _\bi_\bn_\bt_\b. no arguments end of test document
-OpenBSD January 20, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: break.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/An/break.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/An/break.out_lint -Lregress/mdoc/An/break.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/An/break.out_lint
+++ regress/mdoc/An/break.out_lint
@@ -8,5 +8,6 @@ mandoc: break.in:36:2: WARNING: skipping
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
Index: break.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/An/break.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/An/break.in -Lregress/mdoc/An/break.in -u -p -r1.2 -r1.3
--- regress/mdoc/An/break.in
+++ regress/mdoc/An/break.in
@@ -40,7 +40,7 @@ trailing
.Pp
inline:
.An Kristaps ","
-.An Ingo ,
+.An Ingo,
and
.An Joerg .
empty
Index: empty.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Aq/empty.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Aq/empty.in -Lregress/mdoc/Aq/empty.in -u -p -r1.2 -r1.3
--- regress/mdoc/Aq/empty.in
+++ 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 .
Index: empty.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Aq/empty.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Aq/empty.out_ascii -Lregress/mdoc/Aq/empty.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Aq/empty.out_ascii
+++ regress/mdoc/Aq/empty.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
A\bAq\bq-\b-e\bem\bmp\bpt\bty\by - empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- 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
b\bbo\bol\bld\bd.
-OpenBSD August 6, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: empty.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Aq/empty.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Aq/empty.out_markdown -Lregress/mdoc/Aq/empty.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Aq/empty.out_markdown
+++ 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
--- /dev/null
+++ 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:
Index: empty.out_utf8
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Aq/empty.out_utf8,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Aq/empty.out_utf8 -Lregress/mdoc/Aq/empty.out_utf8 -u -p -r1.2 -r1.3
--- regress/mdoc/Aq/empty.out_utf8
+++ regress/mdoc/Aq/empty.out_utf8
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
A\bAq\bq-\b-e\bem\bmp\bpt\bty\by – empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- 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
b\bbo\bol\bld\bd.
-OpenBSD August 6, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Aq/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/mdoc/Aq/Makefile -Lregress/mdoc/Aq/Makefile -u -p -r1.4 -r1.5
--- regress/mdoc/Aq/Makefile
+++ regress/mdoc/Aq/Makefile
@@ -2,5 +2,6 @@
REGRESS_TARGETS = author empty
UTF8_TARGETS = author empty
+LINT_TARGETS = empty
.include <bsd.regress.mk>
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ar/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Ar/Makefile -Lregress/mdoc/Ar/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Ar/Makefile
+++ 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>
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ar/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Ar/punct.out_markdown -Lregress/mdoc/Ar/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Ar/punct.out_markdown
+++ 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
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ar/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Ar/punct.in -Lregress/mdoc/Ar/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Ar/punct.in
+++ 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.
--- /dev/null
+++ regress/mdoc/Ar/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:45:8: STYLE: no blank before trailing delimiter: Ar arg.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ar/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Ar/punct.out_ascii -Lregress/mdoc/Ar/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Ar/punct.out_ascii
+++ regress/mdoc/Ar/punct.out_ascii
@@ -11,4 +11,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
quoted punctuation: _\ba (_\bb | _\bc) _\bd, b\bbo\bol\bld\bd.
-OpenBSD August 21, 2014 OpenBSD
+ missing blank: _\ba_\br_\bg_\b.
+
+OpenBSD June 9, 2017 OpenBSD
Index: breakingIt.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/breakingIt.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/breakingIt.out_ascii -Lregress/mdoc/Bl/breakingIt.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/breakingIt.out_ascii
+++ regress/mdoc/Bl/breakingIt.out_ascii
@@ -5,18 +5,18 @@ N\bNA\bAM\bME\bE
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
B\bBr\bre\bea\bak\bki\bin\bng\bg p\bpa\bar\brt\bti\bia\bal\bl e\bex\bxp\bpl\bli\bic\bci\bit\bt m\bma\bac\bcr\bro\bos\bs
- Stray text. <More stray text.>
+ Stray text. <More stray text>
tag Tagged text.
- Stray text. <More stray text.>
+ Stray text. <More stray text>
+\b+\bo\bo Bullet point.
- tag Tagged text. <More tagged text.>
+ tag Tagged text. <More tagged text>
tag2 Yet more tagged text.
- +\b+\bo\bo Item text. <More item text.>
+ +\b+\bo\bo Item text. <More item text>
+\b+\bo\bo Bullet point.
Index: noIt.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/noIt.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/noIt.out_markdown -Lregress/mdoc/Bl/noIt.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/noIt.out_markdown
+++ 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.
Index: breakingIt.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/breakingIt.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/breakingIt.out_markdown -Lregress/mdoc/Bl/breakingIt.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/breakingIt.out_markdown
+++ regress/mdoc/Bl/breakingIt.out_markdown
@@ -9,28 +9,28 @@ BL-BREAKINGIT(1) - General Commands Manu
## 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.
Index: noIt.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/noIt.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/noIt.out_ascii -Lregress/mdoc/Bl/noIt.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/noIt.out_ascii
+++ regress/mdoc/Bl/noIt.out_ascii
@@ -4,10 +4,10 @@ N\bNA\bAM\bME\bE
B\bBl\bl-\b-n\bno\boI\bIt\bt - list missing item macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- Stray text. _\bM_\bo_\br_\be _\bs_\bt_\br_\ba_\by _\bt_\be_\bx_\bt_\b.
+ Stray text. _\bM_\bo_\br_\be _\bs_\bt_\br_\ba_\by _\bt_\be_\bx_\bt
tag Tagged text.
- Stray text. _\bM_\bo_\br_\bes\bst\btr\bra\bay\by_\bt_\be_\bx_\bt_\b.
+ Stray text. _\bM_\bo_\br_\bes\bst\btr\bra\bay\by_\bt_\be_\bx_\bt
+\b+\bo\bo Bullet point.
Stray text only.
Index: breakingIt.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/breakingIt.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/breakingIt.in -Lregress/mdoc/Bl/breakingIt.in -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/breakingIt.in
+++ 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
Index: noIt.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bl/noIt.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Bl/noIt.in -Lregress/mdoc/Bl/noIt.in -u -p -r1.1 -r1.2
--- regress/mdoc/Bl/noIt.in
+++ 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.
Index: empty.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Brq/empty.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Brq/empty.out_ascii -Lregress/mdoc/Brq/empty.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Brq/empty.out_ascii
+++ regress/mdoc/Brq/empty.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
B\bBr\brq\bq-\b-e\bem\bmp\bpt\bty\by - empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- An empty {} and a full ({user@host} quotation. And another ({full} one
+ An empty {} and a full ({user@host)} quotation. And another ({full)} one
b\bbo\bol\bld\bd.
-OpenBSD October 21, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: empty.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Brq/empty.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Brq/empty.out_markdown -Lregress/mdoc/Brq/empty.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Brq/empty.out_markdown
+++ 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
Index: empty.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Brq/empty.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Brq/empty.in -Lregress/mdoc/Brq/empty.in -u -p -r1.2 -r1.3
--- regress/mdoc/Brq/empty.in
+++ 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 .
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Brq/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Brq/Makefile -Lregress/mdoc/Brq/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Brq/Makefile
+++ 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>
--- /dev/null
+++ 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)
Index: args.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bx/args.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bx/args.out_markdown -Lregress/mdoc/Bx/args.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Bx/args.out_markdown
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bx/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Bx/Makefile -Lregress/mdoc/Bx/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Bx/Makefile
+++ 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>
--- /dev/null
+++ regress/mdoc/Bx/args.out_lint
@@ -0,0 +1 @@
+mandoc: args.in:15:9: STYLE: no blank before trailing delimiter: Bx nett.
Index: args.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bx/args.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bx/args.out_ascii -Lregress/mdoc/Bx/args.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Bx/args.out_ascii
+++ regress/mdoc/Bx/args.out_ascii
@@ -8,7 +8,7 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
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 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
end of test document
-OpenBSD January 30, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: args.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Bx/args.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Bx/args.in -Lregress/mdoc/Bx/args.in -u -p -r1.2 -r1.3
--- regress/mdoc/Bx/args.in
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Cm/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/noarg.out_ascii -Lregress/mdoc/Cm/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/noarg.out_ascii
+++ regress/mdoc/Cm/noarg.out_ascii
@@ -6,6 +6,6 @@ N\bNA\bAM\bME\bE
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
end of line: m\bmt\bt -\b-f\bf _\bd_\be_\bv_\bi_\bc_\be
- middle of line: p\bps\bs -\b-x\bx -\b-o\bo c\bco\bom\bmm\bma\ban\bnd\bd
+ middle of line: p\bps\bs -\b-x\bx -\b-o\bo c\bco\bom\bmm\bma\ban\bnd\bd.\b.
-OpenBSD July 2, 2014 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Cm/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/noarg.in -Lregress/mdoc/Cm/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/noarg.in
+++ 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.
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Cm/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/noarg.out_markdown -Lregress/mdoc/Cm/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Cm/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Cm/noarg.out_lint -Lregress/mdoc/Cm/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Cm/noarg.out_lint
+++ 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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dq/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Dq/Makefile -Lregress/mdoc/Dq/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Dq/Makefile
+++ 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>
Index: empty.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dq/empty.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Dq/empty.in -Lregress/mdoc/Dq/empty.in -u -p -r1.2 -r1.3
--- regress/mdoc/Dq/empty.in
+++ 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 .
Index: empty.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dq/empty.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Dq/empty.out_markdown -Lregress/mdoc/Dq/empty.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Dq/empty.out_markdown
+++ 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
Index: empty.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dq/empty.out_ascii,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Dq/empty.out_ascii -Lregress/mdoc/Dq/empty.out_ascii -u -p -r1.3 -r1.4
--- regress/mdoc/Dq/empty.out_ascii
+++ regress/mdoc/Dq/empty.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
D\bDq\bq-\b-e\bem\bmp\bpt\bty\by - empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- An empty "" and a full ("user@host" quotation. And another ("full" one
+ An empty "" and a full ("user@host)" quotation. And another ("full)" one
b\bbo\bol\bld\bd.
-OpenBSD October 21, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dv/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Dv/noarg.out_ascii -Lregress/mdoc/Dv/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Dv/noarg.out_ascii
+++ regress/mdoc/Dv/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
D\bDv\bv-\b-n\bno\boa\bar\brg\bg - defined variable macro without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- 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
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dv/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Dv/noarg.out_markdown -Lregress/mdoc/Dv/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Dv/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dv/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Dv/noarg.out_lint -Lregress/mdoc/Dv/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Dv/noarg.out_lint
+++ 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.
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Dv/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Dv/noarg.in -Lregress/mdoc/Dv/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Dv/noarg.in
+++ 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
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Em/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/punct.in -Lregress/mdoc/Em/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Em/punct.in
+++ 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.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Em/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/punct.out_markdown -Lregress/mdoc/Em/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Em/punct.out_markdown
+++ regress/mdoc/Em/punct.out_markdown
@@ -83,4 +83,7 @@ Quoted:
*. b Nm*
.
-OpenBSD - November 17, 2014
+Missing blank:
+*a.*
+
+OpenBSD - June 9, 2017
Index: punct.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Em/punct.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/punct.out_lint -Lregress/mdoc/Em/punct.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/Em/punct.out_lint
+++ regress/mdoc/Em/punct.out_lint
@@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping
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.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Em/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Em/punct.out_ascii -Lregress/mdoc/Em/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Em/punct.out_ascii
+++ regress/mdoc/Em/punct.out_ascii
@@ -23,4 +23,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
Quoted: _\ba _\b. _\bb _\bN_\bm b\bbo\bol\bld\bd _\b. _\bb _\bN_\bm .
-OpenBSD November 17, 2014 OpenBSD
+ Missing blank: _\ba_\b.
+
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Er/noarg.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Er/noarg.out_ascii -Lregress/mdoc/Er/noarg.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Er/noarg.out_ascii
+++ regress/mdoc/Er/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
E\bEr\br-\b-n\bno\boa\bar\brg\bg - error constant macro without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with error: ENOENT; b\bbo\bol\bld\bd; no error: end of test document
+ with error: ENOENT; b\bbo\bol\bld\bd; EIO. no error: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Er/noarg.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Er/noarg.in -Lregress/mdoc/Er/noarg.in -u -p -r1.2 -r1.3
--- regress/mdoc/Er/noarg.in
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Er/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Er/noarg.out_lint -Lregress/mdoc/Er/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Er/noarg.out_lint
+++ 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.
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Er/noarg.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Er/noarg.out_markdown -Lregress/mdoc/Er/noarg.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Er/noarg.out_markdown
+++ 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
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ev/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ev/noarg.in -Lregress/mdoc/Ev/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Ev/noarg.in
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ev/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ev/noarg.out_ascii -Lregress/mdoc/Ev/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Ev/noarg.out_ascii
+++ regress/mdoc/Ev/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
E\bEv\bv-\b-n\bno\boa\bar\brg\bg - environment variable macro without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- 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
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ev/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ev/noarg.out_markdown -Lregress/mdoc/Ev/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Ev/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ev/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ev/noarg.out_lint -Lregress/mdoc/Ev/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Ev/noarg.out_lint
+++ 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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fl/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/mdoc/Fl/Makefile -Lregress/mdoc/Fl/Makefile -u -p -r1.4 -r1.5
--- regress/mdoc/Fl/Makefile
+++ 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>
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fl/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fl/punct.out_ascii -Lregress/mdoc/Fl/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Fl/punct.out_ascii
+++ regress/mdoc/Fl/punct.out_ascii
@@ -11,4 +11,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
quoted punctuation: -\b-a\ba (-\b-b\bb | -\b-c\bc) -\b-d\bd, _\bi_\bt_\ba_\bl_\bi_\bc.
-OpenBSD August 21, 2014 OpenBSD
+ trailing delimiter: -\b-a\ba.\b.
+
+OpenBSD June 9, 2017 OpenBSD
--- /dev/null
+++ regress/mdoc/Fl/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Fl a.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fl/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fl/punct.out_markdown -Lregress/mdoc/Fl/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Fl/punct.out_markdown
+++ 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
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fl/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fl/punct.in -Lregress/mdoc/Fl/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Fl/punct.in
+++ 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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fo/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Fo/Makefile -Lregress/mdoc/Fo/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Fo/Makefile
+++ 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
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fo/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fo/punct.out_markdown -Lregress/mdoc/Fo/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Fo/punct.out_markdown
+++ 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
--- /dev/null
+++ 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:
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fo/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fo/punct.in -Lregress/mdoc/Fo/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Fo/punct.in
+++ 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
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Fo/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Fo/punct.out_ascii -Lregress/mdoc/Fo/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Fo/punct.out_ascii
+++ regress/mdoc/Fo/punct.out_ascii
@@ -4,10 +4,10 @@ N\bNA\bAM\bME\bE
F\bFo\bo-\b-p\bpu\bun\bnc\bct\bt - punctuation on function input lines
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- _\bd_\bo_\bu_\bb_\bl_\be s\bsi\bin\bn(), cos _\bi_\bt_\ba_\bl_\bi_\bc
+ _\bd_\bo_\bu_\bb_\bl_\be s\bsi\bin\bn.\b.(), cos _\bi_\bt_\ba_\bl_\bi_\bc
- _\bx, _\by b\bbo\bol\bld\bd
+ _\bx, _\by_\b: b\bbo\bol\bld\bd
- _\bi_\bn_\bt, _\bf_\bl_\bo_\ba_\bt b\bbo\bol\bld\bd
+ _\bi_\bn_\bt, _\bf_\bl_\bo_\ba_\bt_\b: b\bbo\bol\bld\bd
OpenBSD May 20, 2017 OpenBSD
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ic/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ic/noarg.out_ascii -Lregress/mdoc/Ic/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Ic/noarg.out_ascii
+++ regress/mdoc/Ic/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
I\bIc\bc-\b-n\bno\boa\bar\brg\bg - interactive command without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with command: l\bls\bs no command: end of test document
+ with command: l\bls\bs.\b. no command: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ic/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ic/noarg.in -Lregress/mdoc/Ic/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Ic/noarg.in
+++ 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
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ic/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ic/noarg.out_markdown -Lregress/mdoc/Ic/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Ic/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ic/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ic/noarg.out_lint -Lregress/mdoc/Ic/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Ic/noarg.out_lint
+++ 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.
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/In/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/In/noarg.out_ascii -Lregress/mdoc/In/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/In/noarg.out_ascii
+++ regress/mdoc/In/noarg.out_ascii
@@ -13,6 +13,6 @@ S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
c\bco\bos\bs(_\bd_\bo_\bu_\bb_\bl_\be _\bx);
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- <_\bm_\ba_\bt_\bh_\b._\bh> _\bd_\bo_\bu_\bb_\bl_\be s\bsi\bin\bn(_\bd_\bo_\bu_\bb_\bl_\be _\bx) _\bd_\bo_\bu_\bb_\bl_\be c\bco\bos\bs(_\bd_\bo_\bu_\bb_\bl_\be _\bx)
+ <_\bm_\ba_\bt_\bh_\b._\bh_\b:> _\bd_\bo_\bu_\bb_\bl_\be s\bsi\bin\bn(_\bd_\bo_\bu_\bb_\bl_\be _\bx) _\bd_\bo_\bu_\bb_\bl_\be c\bco\bos\bs(_\bd_\bo_\bu_\bb_\bl_\be _\bx)
OpenBSD February 5, 2015 OpenBSD
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/In/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/In/noarg.out_markdown -Lregress/mdoc/In/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/In/noarg.out_markdown
+++ 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*
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/In/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/In/noarg.in -Lregress/mdoc/In/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/In/noarg.in
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/In/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/In/noarg.out_lint -Lregress/mdoc/In/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/In/noarg.out_lint
+++ 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:
Index: badargs.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lb/badargs.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Lb/badargs.out_ascii -Lregress/mdoc/Lb/badargs.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Lb/badargs.out_ascii
+++ regress/mdoc/Lb/badargs.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
L\bLb\bb-\b-b\bba\bad\bda\bar\brg\bgs\bs - bad arguments to the library macro
L\bLI\bIB\bBR\bRA\bAR\bRY\bY
- library "murks"
- library "mylib" another
+ library "murks."
+ library "mylib" another.
-OpenBSD January 2, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: badargs.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lb/badargs.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Lb/badargs.out_markdown -Lregress/mdoc/Lb/badargs.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Lb/badargs.out_markdown
+++ 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
Index: badargs.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lb/badargs.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Lb/badargs.out_lint -Lregress/mdoc/Lb/badargs.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/Lb/badargs.out_lint
+++ 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
Index: badargs.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lb/badargs.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Lb/badargs.in -Lregress/mdoc/Lb/badargs.in -u -p -r1.1 -r1.2
--- regress/mdoc/Lb/badargs.in
+++ 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.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Li/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Li/punct.out_ascii -Lregress/mdoc/Li/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Li/punct.out_ascii
+++ regress/mdoc/Li/punct.out_ascii
@@ -23,4 +23,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
Quoted: a . b Nm b\bbo\bol\bld\bd . b Nm .
-OpenBSD November 17, 2014 OpenBSD
+ Missing blank: a.
+
+OpenBSD June 9, 2017 OpenBSD
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Li/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Li/punct.out_markdown -Lregress/mdoc/Li/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Li/punct.out_markdown
+++ regress/mdoc/Li/punct.out_markdown
@@ -83,4 +83,7 @@ Quoted:
`. b Nm`
.
-OpenBSD - November 17, 2014
+Missing blank:
+`a.`
+
+OpenBSD - June 9, 2017
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Li/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Li/punct.in -Lregress/mdoc/Li/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Li/punct.in
+++ 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.
Index: punct.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Li/punct.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Li/punct.out_lint -Lregress/mdoc/Li/punct.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/Li/punct.out_lint
+++ regress/mdoc/Li/punct.out_lint
@@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping
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.
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lk/noarg.out_markdown,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Lk/noarg.out_markdown -Lregress/mdoc/Lk/noarg.out_markdown -u -p -r1.3 -r1.4
--- regress/mdoc/Lk/noarg.out_markdown
+++ 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
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lk/noarg.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Lk/noarg.out_lint -Lregress/mdoc/Lk/noarg.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/Lk/noarg.out_lint
+++ 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/,
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lk/noarg.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Lk/noarg.in -Lregress/mdoc/Lk/noarg.in -u -p -r1.3 -r1.4
--- regress/mdoc/Lk/noarg.in
+++ 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
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Lk/noarg.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Lk/noarg.out_ascii -Lregress/mdoc/Lk/noarg.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Lk/noarg.out_ascii
+++ regress/mdoc/Lk/noarg.out_ascii
@@ -6,9 +6,9 @@ N\bNA\bAM\bME\bE
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
multiple arguments _\bt_\bh_\be _\bb_\bs_\bd_\b._\bl_\bv _\bp_\br_\bo_\bj_\be_\bc_\bt: h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.b\bbs\bsd\bd.\b.l\blv\bv/\b/, _\bG_\bN_\bU _\bt_\br_\bo_\bf_\bf:
h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.g\bgn\bnu\bu.\b.o\bor\brg\bg/\b/s\bso\bof\bft\btw\bwa\bar\bre\be/\b/g\bgr\bro\bof\bff\bf/\b/,
- two arguments _\bm_\ba_\bn_\bd_\bo_\bc: h\bht\btt\btp\bp:\b:/\b//\b/m\bmd\bdo\boc\bcm\bml\bl.\b.b\bbs\bsd\bd.\b.l\blv\bv/\b/ one argument
- h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.o\bop\bpe\ben\bnb\bbs\bsd\bd.\b.o\bor\brg\bg/\b/ no argument
+ two arguments _\bm_\ba_\bn_\bd_\bo_\bc_\b,: h\bht\btt\btp\bp:\b:/\b//\b/m\bmd\bdo\boc\bcm\bml\bl.\b.b\bbs\bsd\bd.\b.l\blv\bv/\b/ one argument
+ h\bht\btt\btp\bp:\b:/\b//\b/w\bww\bww\bw.\b.o\bop\bpe\ben\bnb\bbs\bsd\bd.\b.o\bor\brg\bg/\b/,\b, no argument
end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: noarg.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ms/noarg.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ms/noarg.out_ascii -Lregress/mdoc/Ms/noarg.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Ms/noarg.out_ascii
+++ regress/mdoc/Ms/noarg.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
M\bMs\bs-\b-n\bno\boa\bar\brg\bg - mathematical symbol without an argument
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- with command: a\bal\blp\bph\bha\ba no command: end of test document
+ with symbol: a\bal\blp\bph\bha\ba.\b. no symbol: end of test document
-OpenBSD January 19, 2011 OpenBSD
+OpenBSD June 19, 2017 OpenBSD
Index: noarg.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ms/noarg.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ms/noarg.out_lint -Lregress/mdoc/Ms/noarg.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Ms/noarg.out_lint
+++ 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.
Index: noarg.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ms/noarg.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ms/noarg.out_markdown -Lregress/mdoc/Ms/noarg.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Ms/noarg.out_markdown
+++ 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
Index: noarg.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ms/noarg.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Ms/noarg.in -Lregress/mdoc/Ms/noarg.in -u -p -r1.1 -r1.2
--- regress/mdoc/Ms/noarg.in
+++ 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
--- /dev/null
+++ regress/mdoc/Mt/simple.out_lint
@@ -0,0 +1 @@
+mandoc: simple.in:12:26: STYLE: no blank before trailing delimiter: Mt punctuation@localhost.
Index: simple.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Mt/simple.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Mt/simple.out_ascii -Lregress/mdoc/Mt/simple.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Mt/simple.out_ascii
+++ regress/mdoc/Mt/simple.out_ascii
@@ -6,6 +6,8 @@ N\bNA\bAM\bME\bE
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
Please send mail to _\bs_\bc_\bh_\bw_\ba_\br_\bz_\be_\b@_\bo_\bp_\be_\bn_\bb_\bs_\bd_\b._\bo_\br_\bg; b\bbo\bol\bld\bd.
+ Pay attention to _\bp_\bu_\bn_\bc_\bt_\bu_\ba_\bt_\bi_\bo_\bn_\b@_\bl_\bo_\bc_\ba_\bl_\bh_\bo_\bs_\bt_\b.
+
Do not send mail to _\b~.
-OpenBSD February 17, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: simple.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Mt/simple.out_markdown,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Mt/simple.out_markdown -Lregress/mdoc/Mt/simple.out_markdown -u -p -r1.3 -r1.4
--- regress/mdoc/Mt/simple.out_markdown
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Mt/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Mt/Makefile -Lregress/mdoc/Mt/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Mt/Makefile
+++ 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
Index: simple.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Mt/simple.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Mt/simple.in -Lregress/mdoc/Mt/simple.in -u -p -r1.2 -r1.3
--- regress/mdoc/Mt/simple.in
+++ 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
@@ -7,6 +7,9 @@
.Sh DESCRIPTION
Please send mail to
.Mt schwarze@openbsd.org ";" "Sy" bold .
+.Pp
+Pay attention to
+.Mt punctuation@localhost.
.Pp
Do not send mail to
.Mt .
--- /dev/null
+++ regress/mdoc/Nm/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:42:13: STYLE: no blank before trailing delimiter: Nm Nm-punct.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Nm/punct.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Nm/punct.out_markdown -Lregress/mdoc/Nm/punct.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Nm/punct.out_markdown
+++ 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
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Nm/punct.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Nm/punct.in -Lregress/mdoc/Nm/punct.in -u -p -r1.1 -r1.2
--- regress/mdoc/Nm/punct.in
+++ 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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Nm/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/mdoc/Nm/Makefile -Lregress/mdoc/Nm/Makefile -u -p -r1.4 -r1.5
--- regress/mdoc/Nm/Makefile
+++ regress/mdoc/Nm/Makefile
@@ -4,7 +4,7 @@ REGRESS_TARGETS = badNAME badNAMEuse br
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
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Nm/punct.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Nm/punct.out_ascii -Lregress/mdoc/Nm/punct.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Nm/punct.out_ascii
+++ regress/mdoc/Nm/punct.out_ascii
@@ -9,4 +9,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt; z colon N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt: z quest N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt? z excl N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt! z paren
N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt) z bracket N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt] z bar | m\bm op paren (a\ba op bracket [a\ba
-OpenBSD August 21, 2014 OpenBSD
+ Missing blank: N\bNm\bm-\b-p\bpu\bun\bnc\bct\bt.\b.
+
+OpenBSD June 9, 2017 OpenBSD
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/No/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/No/punct.out_ascii -Lregress/mdoc/No/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/No/punct.out_ascii
+++ regress/mdoc/No/punct.out_ascii
@@ -23,4 +23,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
Quoted: a . b Nm b\bbo\bol\bld\bd . b Nm .
-OpenBSD November 17, 2014 OpenBSD
+ Missing blank: a.
+
+OpenBSD June 9, 2017 OpenBSD
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/No/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/No/punct.in -Lregress/mdoc/No/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/No/punct.in
+++ 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.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/No/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/No/punct.out_markdown -Lregress/mdoc/No/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/No/punct.out_markdown
+++ 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
Index: punct.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/No/punct.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/No/punct.out_lint -Lregress/mdoc/No/punct.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/No/punct.out_lint
+++ regress/mdoc/No/punct.out_lint
@@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping
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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Oo/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Oo/Makefile -Lregress/mdoc/Oo/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Oo/Makefile
+++ 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>
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Oo/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Oo/punct.in -Lregress/mdoc/Oo/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Oo/punct.in
+++ 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
@@ -20,4 +20,8 @@ in the middle:
at the end:
.Oo Oo a (
.Oc |
+.Oc
+.Pp
+missing blank:
+.Oo a.
.Oc
--- /dev/null
+++ regress/mdoc/Oo/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:26:6: STYLE: no blank before trailing delimiter: Oo a.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Oo/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Oo/punct.out_ascii -Lregress/mdoc/Oo/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Oo/punct.out_ascii
+++ regress/mdoc/Oo/punct.out_ascii
@@ -10,4 +10,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
at the end: [[a (] |]
-OpenBSD July 6, 2012 OpenBSD
+ missing blank: [a.]
+
+OpenBSD June 9, 2017 OpenBSD
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Oo/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Oo/punct.out_markdown -Lregress/mdoc/Oo/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Oo/punct.out_markdown
+++ 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
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Op/punct.out_ascii,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Op/punct.out_ascii -Lregress/mdoc/Op/punct.out_ascii -u -p -r1.1 -r1.2
--- regress/mdoc/Op/punct.out_ascii
+++ regress/mdoc/Op/punct.out_ascii
@@ -14,4 +14,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
more than one: (([] [| |] []..
-OpenBSD June 24, 2011 OpenBSD
+ Missing blank: [a.]
+
+OpenBSD June 9, 2017 OpenBSD
--- /dev/null
+++ regress/mdoc/Op/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:34:6: STYLE: no blank before trailing delimiter: Op a.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Op/punct.out_markdown,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Op/punct.out_markdown -Lregress/mdoc/Op/punct.out_markdown -u -p -r1.1 -r1.2
--- regress/mdoc/Op/punct.out_markdown
+++ regress/mdoc/Op/punct.out_markdown
@@ -31,4 +31,7 @@ more than one:
\[| |]
\[]..
-OpenBSD - June 24, 2011
+Missing blank:
+\[a.]
+
+OpenBSD - June 9, 2017
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Op/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Op/punct.in -Lregress/mdoc/Op/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Op/punct.in
+++ 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.
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Op/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Op/Makefile -Lregress/mdoc/Op/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Op/Makefile
+++ 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
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Pa/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Pa/punct.in -Lregress/mdoc/Pa/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Pa/punct.in
+++ 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.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Pa/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Pa/punct.out_ascii -Lregress/mdoc/Pa/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Pa/punct.out_ascii
+++ regress/mdoc/Pa/punct.out_ascii
@@ -10,4 +10,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
quoted punctuation: _\ba (_\bb | _\bc) _\bd, b\bbo\bol\bld\bd.
-OpenBSD August 21, 2014 OpenBSD
+ missing blank: _\ba_\b.
+
+OpenBSD June 9, 2017 OpenBSD
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Pa/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Pa/Makefile -Lregress/mdoc/Pa/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Pa/Makefile
+++ 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.
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Pa/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Pa/punct.out_markdown -Lregress/mdoc/Pa/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Pa/punct.out_markdown
+++ 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
--- /dev/null
+++ regress/mdoc/Pa/punct.out_lint
@@ -0,0 +1 @@
+mandoc: punct.in:45:6: STYLE: no blank before trailing delimiter: Pa a.
--- /dev/null
+++ 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)
Index: empty.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Qq/empty.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Qq/empty.in -Lregress/mdoc/Qq/empty.in -u -p -r1.2 -r1.3
--- regress/mdoc/Qq/empty.in
+++ 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 .
Index: empty.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Qq/empty.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Qq/empty.out_markdown -Lregress/mdoc/Qq/empty.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Qq/empty.out_markdown
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Qq/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Qq/Makefile -Lregress/mdoc/Qq/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Qq/Makefile
+++ 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>
Index: empty.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Qq/empty.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Qq/empty.out_ascii -Lregress/mdoc/Qq/empty.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Qq/empty.out_ascii
+++ regress/mdoc/Qq/empty.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
Q\bQq\bq-\b-e\bem\bmp\bpt\bty\by - empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- An empty "" and a full ("user@host" quotation. And another ("full" one
+ An empty "" and a full ("user@host)" quotation. And another ("full)" one
b\bbo\bol\bld\bd.
-OpenBSD October 21, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sq/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Sq/Makefile -Lregress/mdoc/Sq/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Sq/Makefile
+++ 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>
--- /dev/null
+++ 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)
Index: empty.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sq/empty.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sq/empty.in -Lregress/mdoc/Sq/empty.in -u -p -r1.2 -r1.3
--- regress/mdoc/Sq/empty.in
+++ 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 .
Index: empty.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sq/empty.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sq/empty.out_markdown -Lregress/mdoc/Sq/empty.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Sq/empty.out_markdown
+++ 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
Index: empty.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sq/empty.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sq/empty.out_ascii -Lregress/mdoc/Sq/empty.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Sq/empty.out_ascii
+++ regress/mdoc/Sq/empty.out_ascii
@@ -4,7 +4,7 @@ N\bNA\bAM\bME\bE
S\bSq\bq-\b-e\bem\bmp\bpt\bty\by - empty implicit enclosure macros
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
- An empty `' and a full (`user@host' quotation. And another (`full' one
+ An empty `' and a full (`user@host)' quotation. And another (`full)' one
b\bbo\bol\bld\bd.
-OpenBSD October 21, 2010 OpenBSD
+OpenBSD June 9, 2017 OpenBSD
Index: punct.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sy/punct.out_lint,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sy/punct.out_lint -Lregress/mdoc/Sy/punct.out_lint -u -p -r1.2 -r1.3
--- regress/mdoc/Sy/punct.out_lint
+++ regress/mdoc/Sy/punct.out_lint
@@ -23,3 +23,4 @@ mandoc: punct.in:71:7: WARNING: skipping
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.
Index: punct.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sy/punct.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sy/punct.out_ascii -Lregress/mdoc/Sy/punct.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Sy/punct.out_ascii
+++ regress/mdoc/Sy/punct.out_ascii
@@ -23,4 +23,6 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
Quoted: a\ba .\b. b\bb N\bNm\bm _\bi_\bt_\ba_\bl_\bi_\bc .\b. b\bb N\bNm\bm .
-OpenBSD November 17, 2014 OpenBSD
+ Missing blank: a\ba.\b.
+
+OpenBSD June 9, 2017 OpenBSD
Index: punct.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sy/punct.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sy/punct.out_markdown -Lregress/mdoc/Sy/punct.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Sy/punct.out_markdown
+++ regress/mdoc/Sy/punct.out_markdown
@@ -83,4 +83,7 @@ Quoted:
**. b Nm**
.
-OpenBSD - November 17, 2014
+Missing blank:
+**a.**
+
+OpenBSD - June 9, 2017
Index: punct.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Sy/punct.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Sy/punct.in -Lregress/mdoc/Sy/punct.in -u -p -r1.2 -r1.3
--- regress/mdoc/Sy/punct.in
+++ 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.
--- /dev/null
+++ 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
Index: Makefile
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Ux/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lregress/mdoc/Ux/Makefile -Lregress/mdoc/Ux/Makefile -u -p -r1.3 -r1.4
--- regress/mdoc/Ux/Makefile
+++ 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>
--- /dev/null
+++ regress/mdoc/Ux/punct.out_ascii
@@ -0,0 +1,11 @@
+UX-PUNCT(1) General Commands Manual UX-PUNCT(1)
+
+N\bNA\bAM\bME\bE
+ U\bUx\bx-\b-p\bpu\bun\bnc\bct\bt - trailing delimiters in Unix macro arguments
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ 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
--- /dev/null
+++ 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.
--- /dev/null
+++ 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.
Index: args.out_ascii
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Xr/args.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Xr/args.out_ascii -Lregress/mdoc/Xr/args.out_ascii -u -p -r1.2 -r1.3
--- regress/mdoc/Xr/args.out_ascii
+++ regress/mdoc/Xr/args.out_ascii
@@ -11,6 +11,7 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
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
Index: args.out_lint
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Xr/args.out_lint,v
retrieving revision 1.1
retrieving revision 1.2
diff -Lregress/mdoc/Xr/args.out_lint -Lregress/mdoc/Xr/args.out_lint -u -p -r1.1 -r1.2
--- regress/mdoc/Xr/args.out_lint
+++ 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,
Index: args.out_markdown
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Xr/args.out_markdown,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Xr/args.out_markdown -Lregress/mdoc/Xr/args.out_markdown -u -p -r1.2 -r1.3
--- regress/mdoc/Xr/args.out_markdown
+++ 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
Index: args.in
===================================================================
RCS file: /home/cvs/mdocml/mdocml/regress/mdoc/Xr/args.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/mdoc/Xr/args.in -Lregress/mdoc/Xr/args.in -u -p -r1.2 -r1.3
--- regress/mdoc/Xr/args.in
+++ 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
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-10 1:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-10 1:49 mdocml: style message about missing blank before trailing delimiter; schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).