Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 1996 17:58:57 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        zgabor@CoDe.hu (Gabor Zahemszky)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: hexdump
Message-ID:  <199604250828.RAA24392@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199604250704.HAA01146@CoDe.CoDe.hu> from "Gabor Zahemszky" at Apr 25, 96 07:04:44 am

next in thread | previous in thread | raw e-mail | index | archive | help
Gabor Zahemszky stands accused of saying:
> 
> How can I generate the next otput with hexdump:
> 
> addr: xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx xx cccccccccccccccc
> (of course addr is the adrress, xx is the byte in hex, c is the byte in char)

hexdump -e '"%07.7_ax:" 16/1 " %02.2x" " " 16/1 "%_p" "\n"' <filename>

(obviously, use an alias 8)

> 	Gabor Zahemszky <zgabor@CoDe.hu>

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604250828.RAA24392>