diff options
author | Florian Pritz <bluewind@xinu.at> | 2013-04-10 12:40:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2013-04-10 12:40:10 +0200 |
commit | 35dda678c52bb2f27b2f5b1d07b5853f74234644 (patch) | |
tree | 5381a1189026ccf5dfb4682b47f601b0495ee759 /bindiff | |
parent | 023216ec92d254697059c24855b56adeafdef9c5 (diff) | |
download | bin-35dda678c52bb2f27b2f5b1d07b5853f74234644.tar.gz bin-35dda678c52bb2f27b2f5b1d07b5853f74234644.tar.xz |
add bindiff
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'bindiff')
-rwxr-xr-x | bindiff | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +#!/bin/bash + +if [[ $# != 3 ]]; then + echo "usage: bindiff <file1> <file2>" + exit 0 +fi + +sdiff -w 150 -Hs <(xxd -b "$1") <(xxd -b "$2") |