summaryrefslogtreecommitdiffstats
path: root/bindiff
diff options
context:
space:
mode:
Diffstat (limited to 'bindiff')
-rwxr-xr-xbindiff3
1 files changed, 2 insertions, 1 deletions
diff --git a/bindiff b/bindiff
index 76b53fa..b1f6fe0 100755
--- a/bindiff
+++ b/bindiff
@@ -5,4 +5,5 @@ if [[ $# != 2 ]]; then
exit 0
fi
-sdiff -w 150 -Hs <(xxd -b "$1") <(xxd -b "$2")
+#sdiff -w 150 -Hs <(xxd -b "$1") <(xxd -b "$2")
+cmp -l "$1" "$2" | awk '{printf "%08X %02X %02X\n", $1, strtonum(0$2), strtonum(0$3)}'