mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 12:40:01 +00:00
360d3f3c18
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
12 lines
630 B
Bash
Executable File
12 lines
630 B
Bash
Executable File
#!/bin/sh
|
|
|
|
grep -A99999 '^<<<<<<<' | grep -B99999 '^>>>>>>>' >murge.X
|
|
grep -A99999 '^====' murge.X | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\|\|\|)' >murge.theirs
|
|
grep -B99999 '^||||' murge.X | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\|\|\|)' >murge.ours
|
|
grep -B99999 '^====' murge.X | grep -A99999 '^||||' | egrep -v '^(=======|<<<<<<<|>>>>>>>|\|\|\|\|\|\|\|)' >murge.common
|
|
|
|
colordiff -du $* murge.ours murge.theirs
|
|
grep . murge.common > /dev/null && colordiff -du $* murge.common murge.theirs
|
|
grep . murge.common > /dev/null && colordiff -du $* murge.common murge.ours
|
|
rm murge.theirs murge.common murge.ours murge.X
|