I've just rebased my "use gnulib' patch, part of which adds the "make syntax-check" rule. One of its checks is to ensure there are no trailing blanks in version-controlled files. That one failed with many complaints. I fixed them all with this: perl -pi -e 's/[ \t]+$//' $(git grep -E '[[:blank:]]+$')