delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/01/22:06:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <004601bfe3cb$4f9e3da0$dabf1004@homepc.freedsl.com>
Reply-To: "Dave Arnold" <avr_fan AT mailandnews DOT com>
From: "Dave Arnold" <avr_fan AT nettaxi DOT com>
To: "Tim Prince" <tprince AT computer DOT org>, <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: looking for good hex dump utility...
Date: Sat, 1 Jul 2000 19:14:51 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3

hi Tim,

od seems to do the job but if I want to just see numbers 0-9 and letters a-z
in the ascii output, how
do I tell od to do that?  by default od outputs 3 letter names for non
character ascii values like
del, nul, esc...

For what I'm doing I only need to see the ascii values for letters and
numbers and otherwise just
a period '.'  for everything else in the ascii output, but the hexoutput I'd
like to see for everything.

Is there a way to do this?  I could probably edit the source code and change
the ascii output
part to do this right?

so far I'm using od like this:

> od -txa -w16 -Ax  <file to dump>

/dAVe



-----Original Message-----
From: Tim Prince <tprince AT computer DOT org>
To: Dave Arnold <avr_fan AT mailandnews DOT com>; cygwin AT sourceware DOT cygnus DOT com
<cygwin AT sourceware DOT cygnus DOT com>
Cc: mail and news <avr_fan AT mailandnews DOT com>
Date: Saturday, July 01, 2000 6:35 PM
Subject: Re: looking for good hex dump utility...


>If od doesn't match your description, it might help if you would
>clarify.
>
>Tim Prince
>----- Original Message -----
>From: "Dave Arnold" <avr_fan AT nettaxi DOT com>
>To: <cygwin AT sourceware DOT cygnus DOT com>
>Cc: "mail and news" <avr_fan AT mailandnews DOT com>
>Sent: Saturday, July 01, 2000 6:10 PM
>Subject: looking for good hex dump utility...
>
>
>> hi,
>>
>> can anyone recommend a good, simple hex dump utility that's
>> available with very portable source code in c/c++ or java which I can
>> build and use on any of the variety of GNU supported platforms?
>>
>> I just want something that I can take with me from one computer
>> to the next as needed without having to find one for each platform
>> as I go.
>>
>> Just would like be able to dump file contents and see hex and ascii
>> values line by line 16bytes at a time with byte address in hex next
>> to each line.
>>
>> thanks,
>> /dAVe
>>
>>
>
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019