On Thu, 6 Jul 2006, Peter Philipp wrote:

> I just tested running hexdump -x on two different systems.  One system is a 
> macppc and the other and amd64.  On the same file the order (endian) of the 
> hexpairs are swapped.  Is this supposed to be like that?  
> 
> If there was an effort to make hexdump -x endian safe, which order should it
> prefer (little or big)?  And if it shouldn't be changed is there a chance for
> an extra flag that would make it endian-safe?

I think hexdump should dump in the native format.

Thwere's no such thing as a single endian safe format. What about
pdp11 byte order, alignments, float formats, etc?

        -Otto

Reply via email to