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