1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-04-24 04:44:54 +02:00
Files
FFmpeg/tools/clean-diff
T

12 lines
325 B
Bash
Raw Normal View History

#!/bin/sh
2005-06-03 11:38:49 +00:00
sed '/^+[^+]/!s/ /TaBBaT/g' |\
2011-04-19 00:16:24 +02:00
expand -t $(seq -s , 9 8 200) |\
2005-06-03 11:38:49 +00:00
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' |\
2006-04-29 16:17:50 +00:00
tr '°' '\n'