That's the required behavior on such machines.
The order depends on the `endianness' of your system.
If you want output that is independent of the endianness,
the use a format like `-t o1':
$ echo hello|od -t cx1
0000000 h e l l o \n
68 65 6c 6c 6f 0a
0000006
Rick Meshberger <[EMAIL PROTECTED]> writes:
| I am running Redhat 6.1 on a Pentium 200Mhz Intel processor. I have
| discovered an error in the 'od 2.0' utility. When using od to display a
| file with '-cx', I discovered that it transposes each two byte field.
|
| example using od -cx displays like the following.
| 0000000 1 2 3 4 \n \0
| 3231 3433 000a
|
| On an AIX machine it displays as follows:
| 0000000 1 2 3 4 \n
| 3132 3334 0a00