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 |
From: | Mark Himsley <mark AT mdsh DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: od |
Date: | Fri, 15 Feb 2002 14:28:47 +0000 |
Message-ID: | <vg6q6u8e2p2cra5l55kps12icfv6kum6u0@4ax.com> |
References: | <200202151406 DOT g1FE6RO02178 AT otaku DOT freeshell DOT org> |
In-Reply-To: | <200202151406.g1FE6RO02178@otaku.freeshell.org> |
X-Mailer: | Forte Agent 1.9/32.560 |
MIME-Version: | 1.0 |
On Fri, 15 Feb 2002 14:06:27 GMT you wrote: >I created at test file with 4 characters in it: > > HTTP > >Then, I run od -bcx and I get: > >110 124 124 120 012 000 > H T T P \n \0 >5448 5054 000a That is correct in this little-endian platform, see http://info.astrian.net/jargon/terms/l/little-endian.html >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. -- Mark Himsley In Acton -- 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 |