This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: OD outputs the hex from right to left?...hex dump utility...
- To: "Dave Arnold" <avr_fan at mailandnews dot com>, <cygwin at sourceware dot cygnus dot com>
- Subject: Re: OD outputs the hex from right to left?...hex dump utility...
- From: "Tim Prince" <tprince at computer dot org>
- Date: Sat, 1 Jul 2000 21:40:09 -0700
- References: <004d01bfe3cf$8092c120$dabf1004@homepc.freedsl.com>
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