very tiny script to remove tabs and trailing whitespace from patches
[ffmpeg.git] / clean-diff
1 #!/bin/sh
2 sed '/^+[^+]/!s/        /TaBBaT/g' | expand -t `seq -s , 9 8 200` | sed 's/TaBBaT/      /g' | sed '/^+[^+]/s/ * $//'