pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/mdoclint/files



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jun  7 19:17:29 UTC 2017

Modified Files:
        pkgsrc/textproc/mdoclint/files: mdoclint mdoclint.1

Log Message:
Remove new sentence, new line warning. mandoc learned it.

>From Ingo Schwarze.

Ride bump.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/textproc/mdoclint/files/mdoclint
cvs rdiff -u -r1.21 -r1.22 pkgsrc/textproc/mdoclint/files/mdoclint.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/mdoclint/files/mdoclint
diff -u pkgsrc/textproc/mdoclint/files/mdoclint:1.75 pkgsrc/textproc/mdoclint/files/mdoclint:1.76
--- pkgsrc/textproc/mdoclint/files/mdoclint:1.75        Wed Jun  7 19:09:55 2017
+++ pkgsrc/textproc/mdoclint/files/mdoclint     Wed Jun  7 19:17:29 2017
@@ -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 ",

Index: pkgsrc/textproc/mdoclint/files/mdoclint.1
diff -u pkgsrc/textproc/mdoclint/files/mdoclint.1:1.21 pkgsrc/textproc/mdoclint/files/mdoclint.1:1.22
--- pkgsrc/textproc/mdoclint/files/mdoclint.1:1.21      Wed Jun  7 19:09:55 2017
+++ pkgsrc/textproc/mdoclint/files/mdoclint.1   Wed Jun  7 19:17:29 2017
@@ -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



Home | Main Index | Thread Index | Old Index