Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "'Timothy Buckelew'" , 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) Content-Type: text/plain; charset="iso-8859-1" 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