The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on March 17, 2020, 08:05:48 AM

Title: Remove trailing whitespace
Post by: ceeac on March 17, 2020, 08:05:48 AM
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]*$//"
Title: Re: Remove trailing whitespace
Post by: prissi on March 17, 2020, 01:50:16 PM
We had once a trailing whitespace check s a hook in svn. Maybe I should add it again.
Title: Re: Remove trailing whitespace
Post by: Dwachs on March 29, 2020, 10:23:15 AM
thanks, in rr8995