aboutsummaryrefslogtreecommitdiffstats
path: root/clean-diff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-05-26 12:58:54 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-26 12:58:54 +0000
commitc66a443401bbf38a3c79070d499fcb5601c95cea (patch)
tree7eeeb96f47be2d3575b62d6af907014c76de8ae4 /clean-diff
parentded78ac08615c2461e6078b1c3b599ca5b4199bc (diff)
downloadffmpeg-c66a443401bbf38a3c79070d499fcb5601c95cea.tar.gz
very tiny script to remove tabs and trailing whitespace from patches
Originally committed as revision 4310 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'clean-diff')
-rwxr-xr-xclean-diff2
1 files changed, 2 insertions, 0 deletions
diff --git a/clean-diff b/clean-diff
new file mode 100755
index 0000000000..6964d34c1a
--- /dev/null
+++ b/clean-diff
@@ -0,0 +1,2 @@
+#!/bin/sh
+sed '/^+[^+]/!s/ /TaBBaT/g' | expand -t `seq -s , 9 8 200` | sed 's/TaBBaT/ /g' | sed '/^+[^+]/s/ * $//' \ No newline at end of file