Files
libuev/.stuff/bin/hexdmp
T
2011-01-10 16:11:31 +01:00

13 lines
282 B
Bash

#!/bin/sh
##
# $Id$
# (C) Copyright 2006 Amplex, fm@amplex.dk
#
# ABSTRACT: Nice formatted hex dump in bytes, hex & ascii
##
exec hexdump -e '"%08.8_Ax\n"' \
-e '"%08.8_ax " 8/1 "%02x " " " 8/1 "%02x "' \
-e '" |" 16/1 "%_p" "|\n"' \
"$@"