News: Portal
Our Simutrans site. You can find everything about Simutrans from here.

Remove trailing whitespace

Started by ceeac, March 17, 2020, 08:05:48 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


This patch removes trailing whitespace from source files. I used the following command:

find . -type f -name "*.h" -o -name "*.cc" | grep -v "squirrel" | xargs sed -i -e "s/[ \t]*$//"


We had once a trailing whitespace check s a hook in svn. Maybe I should add it again.


Parsley, sage, rosemary, and maggikraut.