phpbb/phpbb3 — pull request #630 by callumacrae (2012-03-17 20:14:26+00:00)
Title: [ticket/10710] Removed all trailing whitespace.

http://tracker.phpbb.com/browse/PHPBB3-10710

Bash script used to do this:

```bash
for i in `ack -l '\s\n'`
do
sed -i -e "s/[	]*$//" $i
done
find . -name *-e -exec rm {} \;
```

OS X or BSD only, requires ack (which you should all have installed anyway). It could probably be better, but hey.