mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
create and populate "tools" directory
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
11
tools/clean-diff
Executable file
11
tools/clean-diff
Executable file
@@ -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' '<27>' |\
|
||||
sed 's/\(@@[^@]*@@<40>[^@]*\)/\n\1/g' |\
|
||||
egrep -v '@@[^@]*@@<40>(( [^<5E>]*<2A>)|([+-][[:space:]]*<2A>)|(-[[:space:]]*([^<5E>]*)<29>\+[[:space:]]*\5<>))*$' |\
|
||||
tr -d '\n' |\
|
||||
tr '<27>' '\n'
|
||||
Reference in New Issue
Block a user