Unnecessary end of line whitespace is generally frowned upon. In addition some editors remove end of line whitespace automatically, making diffs hard to read. This commit removes all trailing witespaces. Using some sed magic in bash: find . -name "*.*" -type f -print0 | xargs gsed -i 's/[ \t]*$//'