diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-21 21:07:00 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-21 21:07:00 +0100 |
commit | 01be2df3867ec915fb9610c206cfd0d012674bd5 (patch) | |
tree | 6837b7cb31f52cb92b5d06e635b19d535a1c3208 /bindiff | |
parent | b8471ce80da8a0b66e64ca812598c91f43eeefae (diff) | |
download | bin-01be2df3867ec915fb9610c206cfd0d012674bd5.tar.gz bin-01be2df3867ec915fb9610c206cfd0d012674bd5.tar.xz |
bindiff: support large files
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'bindiff')
-rwxr-xr-x | bindiff | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)}' |