mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 19:58:59 +00:00
c07ed8c8a2
Originally committed as revision 9634 to svn://svn.ffmpeg.org/ffmpeg/trunk
12 lines
324 B
Bash
Executable File
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'
|