diff options
Diffstat (limited to 'scripts/hexify.sh')
-rwxr-xr-x | scripts/hexify.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/hexify.sh b/scripts/hexify.sh new file mode 100755 index 0000000..63211ca --- /dev/null +++ b/scripts/hexify.sh @@ -0,0 +1,4 @@ +#!/bin/sh +blob="$1" +chdr="$2" +hexdump -v -e '1/1 "0x%02x,"' < "$blob" > "$chdr" |