summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-15 21:34:19 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-15 21:34:19 +0000
commite61f04a29c17b756e77091c0f51bafeb0190f5f0 (patch)
treeb26498608221128eee254a4294ee82a86b18e45c /Tools
parent- Fix DOCS option logic (diff)
Add MOVEDLint checks for some of the other formatting problems
seen in MOVED lines. Feature safe: yes
Notes
Notes: svn path=/head/; revision=305939
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/MOVEDlint.awk7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tools/scripts/MOVEDlint.awk b/Tools/scripts/MOVEDlint.awk
index e9fe943f7d0a..883becaa44a9 100755
--- a/Tools/scripts/MOVEDlint.awk
+++ b/Tools/scripts/MOVEDlint.awk
@@ -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 {