[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10045: Unix od command, reverses hex bytes in output
From: |
ADAdamo |
Subject: |
bug#10045: Unix od command, reverses hex bytes in output |
Date: |
Mon, 14 Nov 2011 09:56:58 -0500 |
On Red Hat, the od command reverses the hex bytes.
address@hidden PatientLoadDataFiles]$ cat a
123456
address@hidden PatientLoadDataFiles]$ od -cx a
0000000 1 2 3 4 5 6 \n \0
3231 3433 3635 000a
On HP-UX, it prints what you'd expect.
plr02:lrxiusr:/plr02_users/lrxiusr/artdadamo> od -cx a
0000000 3132 3334 3536 0a00
1 2 3 4 5 6 \n
Is this a big-endian/little-endian issue?
Thanks,
Arthur D'Adamo
200 Campus Drive
Collegeville, PA 19426
Of: 610-244-2296
Cl: 215-872-5925
- bug#10045: Unix od command, reverses hex bytes in output,
ADAdamo <=