summaryrefslogtreecommitdiff
path: root/doc/print_dump.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/print_dump.sh')
-rwxr-xr-xdoc/print_dump.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/print_dump.sh b/doc/print_dump.sh
new file mode 100755
index 0000000..a50ed40
--- /dev/null
+++ b/doc/print_dump.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+hexdump -v \
+ -e '/1 "%_ad# "' \
+ -e '/1 " = %02x hex "' \
+ -e '/1 " = %03u dec\n"' \
+ $*