Format: system, convert tabs to spaces

    $ find . -type f > list
    $ for i in $(cat list); do expand --tabs=4 $i > $i.tabs; done
    $ for i in $(cat list); do mv $i.tabs $i; done
    $ grep -P '\t' -rn .
    $ git diff --ignore-space-change
    $ git diff --cached --ignore-space-change
Format: system, add EOF

    $ find . -type f > list
    $ for i in $(cat list); do echo '' >> $i; done
Format: system, remove space-at-eol

    $ grep -E ' +$' -rl . --color=none > list
    $ for i in $(cat list); do sed -i 's/[ \t]*$//g' $i; done
    $ git diff --ignore-space-change
    $ git diff --cached --ignore-space-change