summaryrefslogtreecommitdiff
path: root/doc/dumps
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2012-02-26 18:34:09 +0100
committerYves Fischer <yvesf-git@xapek.org>2012-02-26 18:34:09 +0100
commite29ae1a6042978ed2e231889b0cd52b6d8e5155e (patch)
treeda5258631c550393b4d44100b976b78b6141d183 /doc/dumps
parentb71ecd26a9a0822a890f9aa494c6821356ef6bea (diff)
downloadebus-alt-e29ae1a6042978ed2e231889b0cd52b6d8e5155e.tar.gz
ebus-alt-e29ae1a6042978ed2e231889b0cd52b6d8e5155e.zip
dumpfile hexdump options
Diffstat (limited to 'doc/dumps')
-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"' \
+ $*