Checkout
hwright
committed
on 26 Aug 07
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]*… Show more
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: ehu

Show less