diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-10 01:48:53 +0000 |
commit | 81aa584b2fb42578083c3724876f0d11d9e09e4d (patch) | |
tree | 542564f1972e19ff89c99a2408036b552424ca0a /regress/mdoc/Ux | |
parent | 0a22b0c0a17ed600835a33cebfe2cc2affd8ffc8 (diff) | |
download | mandoc-81aa584b2fb42578083c3724876f0d11d9e09e4d.tar.gz |
style message about missing blank before trailing delimiter;
inspired by mdoclint(1), and jmc@ considers it useful
Diffstat (limited to 'regress/mdoc/Ux')
-rw-r--r-- | regress/mdoc/Ux/Makefile | 3 | ||||
-rw-r--r-- | regress/mdoc/Ux/punct.in | 15 | ||||
-rw-r--r-- | regress/mdoc/Ux/punct.out_ascii | 11 | ||||
-rw-r--r-- | regress/mdoc/Ux/punct.out_lint | 5 | ||||
-rw-r--r-- | regress/mdoc/Ux/punct.out_markdown | 18 |
5 files changed, 51 insertions, 1 deletions
diff --git a/regress/mdoc/Ux/Makefile b/regress/mdoc/Ux/Makefile index c945b5e6..1461f618 100644 --- a/regress/mdoc/Ux/Makefile +++ b/regress/mdoc/Ux/Makefile @@ -1,5 +1,6 @@ # $OpenBSD: Makefile,v 1.2 2013/12/22 14:06:29 schwarze Exp $ -REGRESS_TARGETS = spacing eos +REGRESS_TARGETS = eos punct spacing +LINT_TARGETS = punct .include <bsd.regress.mk> diff --git a/regress/mdoc/Ux/punct.in b/regress/mdoc/Ux/punct.in new file mode 100644 index 00000000..9cf2b5e4 --- /dev/null +++ b/regress/mdoc/Ux/punct.in @@ -0,0 +1,15 @@ +.Dd June 9, 2017 +.Dt UX-PUNCT 1 +.Os OpenBSD +.Sh NAME +.Nm Ux-punct +.Nd trailing delimiters in Unix macro arguments +.Sh DESCRIPTION +In June 2017, the latest release of various Unix-like +operating systems were +.Bsx 5.1, +.Dx 4.8.0, +.Fx 11.0, +.Nx 7.1, +and +.Ox 6.1. diff --git a/regress/mdoc/Ux/punct.out_ascii b/regress/mdoc/Ux/punct.out_ascii new file mode 100644 index 00000000..123bc9b9 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_ascii @@ -0,0 +1,11 @@ +UX-PUNCT(1) General Commands Manual UX-PUNCT(1) + +NNAAMMEE + UUxx--ppuunncctt - trailing delimiters in Unix macro arguments + +DDEESSCCRRIIPPTTIIOONN + In June 2017, the latest release of various Unix-like operating systems + were BSD/OS 5.1, DragonFly 4.8.0, FreeBSD 11.0, NetBSD 7.1, and + OpenBSD 6.1. + +OpenBSD June 9, 2017 OpenBSD diff --git a/regress/mdoc/Ux/punct.out_lint b/regress/mdoc/Ux/punct.out_lint new file mode 100644 index 00000000..0c7c8622 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_lint @@ -0,0 +1,5 @@ +mandoc: punct.in:10:9: STYLE: no blank before trailing delimiter: Bsx 5.1, +mandoc: punct.in:11:10: STYLE: no blank before trailing delimiter: Dx 4.8.0, +mandoc: punct.in:12:9: STYLE: no blank before trailing delimiter: Fx 11.0, +mandoc: punct.in:13:8: STYLE: no blank before trailing delimiter: Nx 7.1, +mandoc: punct.in:15:8: STYLE: no blank before trailing delimiter: Ox 6.1. diff --git a/regress/mdoc/Ux/punct.out_markdown b/regress/mdoc/Ux/punct.out_markdown new file mode 100644 index 00000000..fd4df824 --- /dev/null +++ b/regress/mdoc/Ux/punct.out_markdown @@ -0,0 +1,18 @@ +UX-PUNCT(1) - General Commands Manual + +# NAME + +**Ux-punct** - trailing delimiters in Unix macro arguments + +# DESCRIPTION + +In June 2017, the latest release of various Unix-like +operating systems were +BSD/OS 5.1, +DragonFly 4.8.0, +FreeBSD 11.0, +NetBSD 7.1, +and +OpenBSD 6.1. + +OpenBSD - June 9, 2017 |