This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: OD outputs the hex from right to left?...hex dump utility...


HI Tim,

the -tx1 worked.  Now the hex output is in the same order as the ascii
output.
It's not bad not bad at all.  Now all I need is to either build od on
Solaris 2.6
or find a precompiled download.

/dAVe

-----Original Message-----
From: Tim Prince <tprince@computer.org>
To: Dave Arnold <avr_fan@mailandnews.com>; cygwin@sourceware.cygnus.com
<cygwin@sourceware.cygnus.com>
Date: Saturday, July 01, 2000 9:37 PM
Subject: Re: OD outputs the hex from right to left?...hex dump utility...


>Curses upon him who started this little-endian thing!  Looks like you
>want an option like -tx1.  At least -tx2 should give groups of 4 rather
>than 8 reverse order hex characters.
>
>Tim Prince
>----- Original Message -----
>From: "Dave Arnold" <avr_fan@nettaxi.com>
>To: "Tim Prince" <tprince@computer.org>; <cygwin@sourceware.cygnus.com>
>Sent: Saturday, July 01, 2000 7:44 PM
>Subject: OD outputs the hex from right to left?...hex dump utility...
>
>
>> hi Tim,
>>
>> I just realized that the od dump utility is dumping the hex values
>> from right to left and then dumping the ascii values from left to
>right.
>>
>> This makes it very hard to read.  Is there a flag or option to make
>the
>> output of ascii and hex columns to be in the same order?
>>
>> here's a sample output.
>>
>>       000000 00000009 34333231 bf003635 00000078
>>               ht nul nul nul   1   2   3   4   5   6 nul   ?   x nul
>nul nul
>>       000010 454c4f53 4f525443 5343494e 0000ea00
>>                S   O   L   E   C   T   R   O   N   I   C   S nul   j
>nul nul
>>
>>
>> I like the output to appear like so:
>>
>>       000010 534f4c45 4354524f 4e494353 00ea0000
>>                S   O   L   E   C   T   R   O   N   I   C   S nul   j
>nul nul
>>
>> or even better like this:(all on one line, only letters and number
>seen on
>> ascii view and a '.' for everything else)
>> (also all on one line is much more readable)
>>
>>       000010       000010 534f4c45 4354524f 4e494353 00ea0000
>> SOLECTRONICS.J..
>>
>> Any help or suggestions on this would be very welcomed.
>>
>> /dAVe
>>
>
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]