Re: Nahuel Greco 2008-01-15 <[EMAIL PROTECTED]>
> hexdump shows swapped bytes when dumping in default mode (no flags). See
> this:
> 
>   [EMAIL PROTECTED]:~$ echo abcd > /tmp/file
>   [EMAIL PROTECTED]:~$ hexdump /tmp/file
>   0000000 6261 6463 000a
>   0000005
>   [EMAIL PROTECTED]:~$ hexdump -b /tmp/file
>   0000000 141 142 143 144 012
>   0000005
>   [EMAIL PROTECTED]:~$
> 
> In the first dump, the bytes are swapped, in the second one, the output
> is correct. 

This is not a bug. (It's just strange, but that's how hexdump is
designed to work, think big endian.)

Christoph
-- 
[EMAIL PROTECTED] | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to