delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <01ef01c1b966$32aaed70$f400a8c0@mchasecompaq> |
From: | "Michael A Chase" <mchase AT ix DOT netcom DOT com> |
To: | "David" <cupcake AT otaku DOT freeshell DOT org> |
Cc: | <cygwin AT cygwin DOT com> |
References: | <200202191403 DOT g1JE3tx09996 AT otaku DOT freeshell DOT org> |
Subject: | Re: od |
Date: | Tue, 19 Feb 2002 08:50:56 -0800 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2600.0000 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
----- Original Message ----- From: "David" <cupcake AT otaku DOT freeshell DOT org> To: "Mark Himsley" <mark AT mdsh DOT com> Cc: <cygwin AT cygwin DOT com> Sent: Tuesday, February 19, 2002 06:03 Subject: Re: od > > >You can see that the hex values in the last line are reversed. > > >I think they should be 4854 5450 000a. > > > > Only if you were on a big-endian platform. > > I can understand what you are saying if I interpret it to mean that > the hex storage values on my machine WindowsNT - which I assume from > you message is a big-endian platform - are faithfully represented > by the output from the od -bcx display. > > What then surprises me is that the octal representation of this > same storage is 110 124 124 120 which is what I would expect. > > It seems to me that you are suggesting that the only correct > representation of the hex storage values would require od to > ouput an ascii value of THPT. I reject, and od itself contradicts, > this interpretation of the storage values as being meaningful. > > I urge you to reconsider your opinion and to modify od to > output 4854 5450. No-one here can modify how od works. If it is really important to you, take it up with the appropriate GNU group. Don't expect a lot of sympathy from them though, this behavior has been consistent for decades. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |