intel_fw 0.1.2

Parsing and editing library for Intel firmware images
Documentation
1
2
3
4
5
6
7
8
#!/bin/sh

DIFF=`cmp -l "$1" "$2" | wc -l`
SIZE=`ls -l "$1" | awk '{print $5}'`
STAT=`echo | awk "{print 100*$DIFF/$SIZE}"`

echo "$1" vs "$2":
echo "  $DIFF / $SIZE bytes differ (${STAT}%)"