dionisos


Inspired
r866391

r866391 | hwright | 2007-08-25 20:04:48 -0500 (Sat, 25 Aug 2007)

Channeling Erik Hülsmann, remove all trailing whitespace within our source
tree:

for extsn in c h cpp java py pl rb; do
sed -i -e 's/[ \t]*$//' `find . -name "*.$extsn" | xargs grep '[ \t]$' -l`
done

Inspired by: dionisos