Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2012 21:34:19 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305939 - head/Tools/scripts
Message-ID:  <201210152134.q9FLYJqE078235@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Mon Oct 15 21:34:19 2012
New Revision: 305939
URL: http://svn.freebsd.org/changeset/ports/305939

Log:
  Add MOVEDLint checks for some of the other formatting problems
  seen in MOVED lines.
  
  Feature safe:	yes

Modified:
  head/Tools/scripts/MOVEDlint.awk

Modified: head/Tools/scripts/MOVEDlint.awk
==============================================================================
--- head/Tools/scripts/MOVEDlint.awk	Mon Oct 15 21:09:25 2012	(r305938)
+++ head/Tools/scripts/MOVEDlint.awk	Mon Oct 15 21:34:19 2012	(r305939)
@@ -82,6 +82,13 @@ $3 !~ /^20[0-3][0-9]-[01][0-9]-[0-3][0-9
             missing[$2] = NR
         else
             delete resurrected[$2]
+
+#    Produces too many false positives
+#    if ($4 ~ /^[a-z].*/)
+#       printf "Initial value of 'reason' is lowercase: %5d (%s)\n", NR, $4
+
+    if ($4 ~ /\.$/)
+        printf "Final character is a dot: %5d (%s)\n", NR, $4
 }
 
 END {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210152134.q9FLYJqE078235>