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

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

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