«ack -l —text ‘[ \t]+$’ | xargs perl -pi -e ‘s/[ \t]+$//’»

#stopthetwitching