1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-05 18:59:59 +02:00
ffmpeg/clean-diff
Michael Niedermayer c62112ff06 remove some purely cosmetical hunks
Originally committed as revision 4345 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-06-03 11:38:49 +00:00

11 lines
323 B
Bash
Executable File

#!/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'