diff options
author | Måns Rullgård <mans@mansr.com> | 2007-07-13 21:33:24 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-07-13 21:33:24 +0000 |
commit | c07ed8c8a22c1427323dccb7722b2b094f95e728 (patch) | |
tree | 429fe6bdd3616d542e709792dfdcb6c7f86e3fdd /tools/clean-diff | |
parent | fdc1973e30b5ccafaa2443053fd65a35fdbd9d5a (diff) | |
download | ffmpeg-c07ed8c8a22c1427323dccb7722b2b094f95e728.tar.gz |
create and populate "tools" directory
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tools/clean-diff')
-rwxr-xr-x | tools/clean-diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/clean-diff b/tools/clean-diff new file mode 100755 index 0000000000..98e26a79f9 --- /dev/null +++ b/tools/clean-diff @@ -0,0 +1,11 @@ +#!/bin/sh +sed '/^+[^+]/!s/ /TaBBaT/g' |\ + expand -t `seq -s , 9 8 200` |\ + sed 's/TaBBaT/ /g' |\ + sed '/^+[^+]/s/ * $//' |\ + tr -d '\015' |\ + tr '\n' '°' |\ + sed 's/\(@@[^@]*@@°[^@]*\)/\n\1/g' |\ + egrep -v '@@[^@]*@@°(( [^°]*°)|([+-][[:space:]]*°)|(-[[:space:]]*([^°]*)°\+[[:space:]]*\5°))*$' |\ + tr -d '\n' |\ + tr '°' '\n' |