From e69f9385e451edab1c3ad5ea091eb75f6e8c5bc0 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Thu, 27 Apr 2017 23:15:01 +0200 Subject: move blob hexifxing to script --- scripts/hexify.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/hexify.sh (limited to 'scripts') 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" -- cgit