[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancement request for od, dd
From: |
Bob Proulx |
Subject: |
Re: Enhancement request for od, dd |
Date: |
Thu, 6 Apr 2006 20:40:10 -0600 |
User-agent: |
Mutt/1.5.9i |
It would be most appreciated if you would group reply (or just to the
list since I am subscribed) to keep the others on the mailing list
involved. Also the mailing list mail is archived so that others can
benefit from the discussion later.
Jon Clifton wrote:
> My default alias for os is:
> alias od='od -t xz -Ax '
Ah, there is what I was fishing for. You are using -tx without a
size. It is defaulting to word size. Please try using it with -tx1
and look at the output. Is that acceptable? That should generate the
same output on either big or little endian machines.
od -tx1z -Ax
> After I learned enough about the data format I wrote a small C program on
> Linux that used ntohl() to byteswap the data where required and format it
> into ASCII.
Is that basically the same as the following?
dd conv=swab | od -txz
Sounds like you are on track.
Bob