diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-16 05:34:19 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-16 05:34:19 +0800 |
commit | a9fa089bde2b623f3249560a107971ae0c6a9cf2 (patch) | |
tree | b26498608221128eee254a4294ee82a86b18e45c /Tools/scripts/MOVEDlint.awk | |
parent | aec23dacb3cef5f993de648f4759f1746e121851 (diff) | |
download | freebsd-ports-gnome-a9fa089bde2b623f3249560a107971ae0c6a9cf2.tar.gz freebsd-ports-gnome-a9fa089bde2b623f3249560a107971ae0c6a9cf2.tar.zst freebsd-ports-gnome-a9fa089bde2b623f3249560a107971ae0c6a9cf2.zip |
Add MOVEDLint checks for some of the other formatting problems
seen in MOVED lines.
Feature safe: yes
Diffstat (limited to 'Tools/scripts/MOVEDlint.awk')
-rwxr-xr-x | Tools/scripts/MOVEDlint.awk | 7 |
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 { |