From owner-freebsd-questions Thu Apr 25 01:32:02 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA25176 for questions-outgoing; Thu, 25 Apr 1996 01:32:02 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id BAA25143 for ; Thu, 25 Apr 1996 01:31:59 -0700 (PDT) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id RAA24392; Thu, 25 Apr 1996 17:58:58 +0930 From: Michael Smith Message-Id: <199604250828.RAA24392@genesis.atrad.adelaide.edu.au> Subject: Re: hexdump To: zgabor@CoDe.hu (Gabor Zahemszky) Date: Thu, 25 Apr 1996 17:58:57 +0930 (CST) Cc: freebsd-questions@freebsd.org In-Reply-To: <199604250704.HAA01146@CoDe.CoDe.hu> from "Gabor Zahemszky" at Apr 25, 96 07:04:44 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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"' (obviously, use an alias 8) > Gabor Zahemszky -- ]] 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 [[