summaryrefslogtreecommitdiff
path: root/doc/print_dump.sh
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-08-14 19:25:26 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-08-14 19:25:26 +0200
commitcaae83f445935c06cd6aef36f283a4688675278a (patch)
tree5e63cbfd2877195430a8657dcd75f42b6a4d7110 /doc/print_dump.sh
downloadebus-caae83f445935c06cd6aef36f283a4688675278a.tar.gz
ebus-caae83f445935c06cd6aef36f283a4688675278a.zip
refactored ebus code
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"' \
+ $*