repo.or.cz
/
FFMpeg-mirror
/
DVCPRO-HD.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of http://repo.or.cz/r/FFMpeg-mirror
[FFMpeg-mirror/DVCPRO-HD.git]
/
tools
/
clean-diff
blob
98e26a79f9a420c126a65edd23d892ff4c5e0247
1
#!/bin/sh
2
sed
'/^+[^+]/!s/ /TaBBaT/g'
|\
3
expand
-t
`seq -s , 9 8 200`
|\
4
sed
's/TaBBaT/ /g'
|\
5
sed
'/^+[^+]/s/ * $//'
|\
6
tr
-d
'
\015
'
|\
7
tr
'
\n
'
'°'
|\
8
sed
's/\(@@[^@]*@@°[^@]*\)/
\n
\1/g'
|\
9
egrep
-v
'@@[^@]*@@°(( [^°]*°)|([+-][[:space:]]*°)|(-[[:space:]]*([^°]*)°\+[[:space:]]*\5°))*$'
|\
10
tr
-d
'
\n
'
|\
11
tr
'°'
'
\n
'