Created
February 16, 2016 13:46
-
-
Save vkargov/29dc1141c041dd8801b1 to your computer and use it in GitHub Desktop.
mono trace comparison thing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
HEX="0x[0-9a-f]+" | |
convert () { | |
gunzip -cS '' $1 | grep -v _gc_ | | |
sed -E "s/^\\[$HEX: [0-9.]* [0-9]*\\] //" | | |
sed -E "s/$HEX//g" | | |
sed -E "s/TRUE:/result=/g" | | |
head -$2 > $1_$2 | |
} | |
convert good $1 | |
convert bad $1 | |
kdiff3 good_$1 bad_$1 | |
#rm good_$1 bad_$1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment