Replace bare numbers with variables for readability
Whitespace

    for F in `ack -f`; do cp $F $F.tmp && cat $F.tmp | perl -pe 's/[\t ]+$//' | sed -a '$a\' > $F && rm $F.tmp; done