very tiny script to remove tabs and trailing whitespace from patches

Originally committed as revision 4310 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-05-26 12:58:54 +00:00
parent ded78ac086
commit c66a443401

2
clean-diff Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
sed '/^+[^+]/!s/ /TaBBaT/g' | expand -t `seq -s , 9 8 200` | sed 's/TaBBaT/ /g' | sed '/^+[^+]/s/ * $//'