On 08/12/09 09:50, Martyn Russell wrote:
I would like to try to make sure this is the case in the code and at the same time remove any trailing white space.
I have just created a patch to give people an idea of how much *trailing whitespace* there is in our code base (master). I have attached the patch here. I created this using:
egrep -rl --exclude-dir='po' --exclude-dir='extensions' --exclude='NEWS' --exclude='ChangeLog.pre-0-6-93' '\s$' * | xargs perl -pi -e 's/\s+\n/\n/'
It is normally ~500k. -- Regards, Martyn
Attachment:
trailing-whitespace.diff.bz2
Description: Binary data