delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/12/15:43:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <17B78BDF120BD411B70100500422FC6309E0ED@IIS000>
From: Bernard Dautrevaux <Dautrevaux AT microprocess DOT com>
To: "'Timothy Buckelew'" <Timothy DOT Buckelew AT noaa DOT gov>,
cygwin AT sourceware DOT cygnus DOT com
Subject: RE: 'od -x' output is reversed
Date: Tue, 12 Sep 2000 21:32:51 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

No problem:

As your od output proves, HP-PA is big-endian while ix86 is little-endian
:-)

If you ask od to dump by bytes, (od -b) you'll get the same result in both
cases.

HTH

	Bernard

--------------------------------------------
Bernard Dautrevaux
Microprocess Ingenierie
97 bis, rue de Colombes
92400 COURBEVOIE
FRANCE
Tel:	+33 (0) 1 47 68 80 80
Fax:	+33 (0) 1 47 88 97 85
e-mail:	dautrevaux AT microprocess DOT com
		b DOT dautrevaux AT usa DOT net
-------------------------------------------- 

> -----Original Message-----
> From: Timothy Buckelew [mailto:Timothy DOT Buckelew AT noaa DOT gov]
> Sent: Tuesday, September 12, 2000 8:46 PM
> To: cygwin AT sourceware DOT cygnus DOT com
> Subject: 'od -x' output is reversed
> 
> 
> Greetings!
> 
> The output of 'od -x filename' appears to be reversed
> character-by-character.
> Let's say file 'junk' cpontains '121212'.
> 
> In HP/UX  'od -x junk' yields   3132 3132 3132
> 
> In cygwin it yields 3231 3231 3231
> 
> Any ideas?
> 
> cygcheck.out is attached.
> 
> System is a recent beta (about 2 months old) on Windows 98.
> 
> Thanks very much.
> 
> timothy DOT buckelew AT noaa DOT gov
> 
> 
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019