pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/mdoclint/files Remove new sentence, new line ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4fa0b2adb209
branches: trunk
changeset: 363385:4fa0b2adb209
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jun 07 19:17:29 2017 +0000
description:
Remove new sentence, new line warning. mandoc learned it.
>From Ingo Schwarze.
Ride bump.
diffstat:
textproc/mdoclint/files/mdoclint | 8 +-------
textproc/mdoclint/files/mdoclint.1 | 7 +++----
2 files changed, 4 insertions(+), 11 deletions(-)
diffs (47 lines):
diff -r bcaf9dec5b37 -r 4fa0b2adb209 textproc/mdoclint/files/mdoclint
--- a/textproc/mdoclint/files/mdoclint Wed Jun 07 19:10:05 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint Wed Jun 07 19:17:29 2017 +0000
@@ -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 @@
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 -r bcaf9dec5b37 -r 4fa0b2adb209 textproc/mdoclint/files/mdoclint.1
--- a/textproc/mdoclint/files/mdoclint.1 Wed Jun 07 19:10:05 2017 +0000
+++ b/textproc/mdoclint/files/mdoclint.1 Wed Jun 07 19:17:29 2017 +0000
@@ -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 @@
.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