diff options
author | wiz <wiz> | 2017-06-07 19:17:29 +0000 |
---|---|---|
committer | wiz <wiz> | 2017-06-07 19:17:29 +0000 |
commit | 8ff1efd09d9c966d238302924c8458f60f4285b2 (patch) | |
tree | a6f9fc5effef1ff2482bb2d9a9d1b5726b6eff44 /textproc/mdoclint/files | |
parent | e5111b314197023580f1d2507af18db3c1da4339 (diff) | |
download | pkgsrc-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-x | textproc/mdoclint/files/mdoclint | 8 | ||||
-rwxr-xr-x | textproc/mdoclint/files/mdoclint.1 | 7 |
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 |