[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
od bug
From: |
Steve Frampton |
Subject: |
od bug |
Date: |
Tue, 25 Mar 2008 17:46:58 -0400 |
Hello,
Linux appears to swap the bytes within the words:
address@hidden ~]$ uname -a
Linux bgr-7r4ved1l.soi.com 2.6.18-53.1.4.el5 #1 SMP Fri Nov 30 00:45:16
EST 2007 i686 i686 i386 GNU/Linux
address@hidden ~]$ od --version
od (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software. You may redistribute copies of it under the
terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
Written by Jim Meyering.
address@hidden ~]$ echo "abcdefgh" | od -x
0000000 6261 6463 6665 6867 000a
0000011
address@hidden ~]$
HPUX od shown as a baseline:
/home/sframpto--> uname -a
HP-UX soi_prod B.10.20 A 9000/800 1279364181 two-user license
/home/sframpto--> echo "abcdefgh" | od -x
0000000 6162 6364 6566 6768 0a00
0000011
/home/sframpto-->
Best,
Steve
Confidentiality Notice: This transmission (including any attachments) is
privileged, confidential, and intended only for the party for whom it is
addressed; any other use is prohibited. If you have received it in error
please notify the sender and delete all copies.
Tax Notice: To ensure compliance with Treasury Department Circular 230 please
note that nothing contained in this communication (including any attachments)
is to be considered tax advice, nor is it intended or written to be used, nor
may it be used, for the purpose of avoiding penalties under the Internal
Revenue Code or any other tax law.
Nothing in this email or attachments hereto creates, modifies, is a part of, or
supersedes any contract including, without limitation, any service agreement.
Only written agreements by officers with actual authority may do so.
- od bug,
Steve Frampton <=