1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add MOVEDLint checks for some of the other formatting problems

seen in MOVED lines.

Feature safe:	yes
This commit is contained in:
Eitan Adler 2012-10-15 21:34:19 +00:00
parent 52e9a748e3
commit e61f04a29c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=305939

View File

@ -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 {