summaryrefslogtreecommitdiffstats
path: root/bindiff
blob: 76b53facfa5c7b0f885d8642ffca6f7c050bd36b (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

if [[ $# != 2 ]]; then
	echo "usage: bindiff <file1> <file2>"
	exit 0
fi

sdiff -w 150 -Hs <(xxd -b "$1") <(xxd -b "$2")