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