summaryrefslogtreecommitdiff
path: root/textproc/mdoclint/files
diff options
context:
space:
mode:
authorwiz <wiz>2017-06-07 19:17:29 +0000
committerwiz <wiz>2017-06-07 19:17:29 +0000
commit8ff1efd09d9c966d238302924c8458f60f4285b2 (patch)
treea6f9fc5effef1ff2482bb2d9a9d1b5726b6eff44 /textproc/mdoclint/files
parente5111b314197023580f1d2507af18db3c1da4339 (diff)
downloadpkgsrc-8ff1efd09d9c966d238302924c8458f60f4285b2.tar.gz
Remove new sentence, new line warning. mandoc learned it.
From Ingo Schwarze. Ride bump.
Diffstat (limited to 'textproc/mdoclint/files')
-rwxr-xr-xtextproc/mdoclint/files/mdoclint8
-rwxr-xr-xtextproc/mdoclint/files/mdoclint.17
2 files changed, 4 insertions, 11 deletions
diff --git a/textproc/mdoclint/files/mdoclint b/textproc/mdoclint/files/mdoclint
index 992d175335c..0f83e310725 100755
--- a/textproc/mdoclint/files/mdoclint
+++ b/textproc/mdoclint/files/mdoclint
@@ -1,7 +1,7 @@
#!@PERL5@
#
# $OpenBSD: mdoclint,v 1.48 2016/01/24 20:10:48 schwarze Exp $
-# $NetBSD: mdoclint,v 1.75 2017/06/07 19:09:55 wiz Exp $
+# $NetBSD: mdoclint,v 1.76 2017/06/07 19:17:29 wiz Exp $
#
# Copyright (c) 2001-2017 Thomas Klausner
# All rights reserved.
@@ -434,12 +434,6 @@ sub process_line
if (/^\.Os\s+(.+)/o) {
$s->warning(".Os used with argument `$1'") if $opt_o;
}
-
- if (/(\w\w)\.\s+[A-Z]/o and not /^.%T/ and not $s->{inliteral}) {
- if ("$1" ne "St") {
- $s->warning("new sentence, new line: `$_'") if $opt_p;
- }
- }
if (/^\... .*[^\s][\.();,\[\]\{\}:]$/o
and not /\s\.\.\.$/o and not /\\&.$/o) {
$s->warning("punctuation in format string ",
diff --git a/textproc/mdoclint/files/mdoclint.1 b/textproc/mdoclint/files/mdoclint.1
index 684ce9c1205..580336b2afb 100755
--- a/textproc/mdoclint/files/mdoclint.1
+++ b/textproc/mdoclint/files/mdoclint.1
@@ -1,5 +1,5 @@
.\" $OpenBSD: mdoclint.1,v 1.7 2009/04/13 19:06:38 jmc Exp $
-.\" $NetBSD: mdoclint.1,v 1.21 2017/06/07 19:09:55 wiz Exp $
+.\" $NetBSD: mdoclint.1,v 1.22 2017/06/07 19:17:29 wiz Exp $
.\"
.\" Copyright (c) 2001-2013 Thomas Klausner
.\" All rights reserved.
@@ -69,9 +69,8 @@ least in the base system, because on
.Nx
the current version is default).
.It Fl p
-Warn about possible punctuation problems at the end of macro arguments,
-abuse of .Ns to get punctuation directly next to a word,
-and sentences not starting on a new line.
+Warn about possible punctuation problems at the end of macro arguments
+and abuse of .Ns to get punctuation directly next to a word.
.It Fl r
Warn about missing RCS Id.
.It Fl S