'od -x' output is reversed

Bernard Dautrevaux Dautrevaux@microprocess.com
Tue Sep 12 12:42:00 GMT 2000


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@microprocess.com
		b.dautrevaux@usa.net
-------------------------------------------- 

> -----Original Message-----
> From: Timothy Buckelew [ mailto:Timothy.Buckelew@noaa.gov ]
> Sent: Tuesday, September 12, 2000 8:46 PM
> To: cygwin@sourceware.cygnus.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.buckelew@noaa.gov
> 
> 
> 
> 

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list