1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
FFmpeg/clean-diff
Diego Biurrun 2805e3b4eb Add missing newlines at end of file.
Originally committed as revision 5335 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-29 16:17:50 +00:00

12 lines
324 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'