delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/15/13:32:42

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <009401c1e4a3$7f1b9200$010b10ac@bluesguitar.org>
From: "Matthew Smith" <matts AT bluesguitar DOT org>
To: "Cygwin" <cygwin AT sources DOT redhat DOT com>
References: <BD7C6F231643D41193A000B0D03D36B0579135 AT EXCHANGE_01>
Subject: Re: od -x
Date: Mon, 15 Apr 2002 12:32:20 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

od -xIntel processors are little endian.

cheers,
-Matt Smith


  The od utility doesn't seem to behaving properly. With the -x option, it
reverses bytes e.g. 5245 4f43 when it should be 4552 434f. With no options,
I can detect no correspondence to the actual input data and no pattern
whatsoever. What character is an octal 503? The -c option works, but is not
so useful.

  $ tail -1 814out_20020412164115.pgp.262176.decr
  P.||20020412|||||24|ERCO

  $  od -x 814out_20020412164115.pgp.262176.decr | tail -3
  3163560 3032 3230 3430 3231 7c7c 7c7c 327c 7c34
  3163600 5245 4f43
  3163604

  $ od 814out_20020412164115.pgp.262176.decr | tail -6
  3163500 031463 030461 053574 052524 052040 051504 076120 030460
  3163520 033467 030464 034462 076064 052515 052524 046101 042440
  3163540 042516 043522 020131 052127 020125 027114 027120 076174
  3163560 030062 031060 032060 031061 076174 076174 031174 076064
  3163600 051105 047503
  3163604

  $ od -c 814out_20020412164115.pgp.262176.decr | tail -3
  3163560   2   0   0   2   0   4   1   2   |   |   |   |   |   2   4   |
  3163600   E   R   C   O
  3163604

  James Moore




--
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/

- Raw text -


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