* Re: od -x
[not found] <BD7C6F231643D41193A000B0D03D36B0579135@EXCHANGE_01>
@ 2002-04-15 10:50 ` Matthew Smith
0 siblings, 0 replies; only message in thread
From: Matthew Smith @ 2002-04-15 10:50 UTC (permalink / raw)
To: Cygwin
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-04-15 17:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <BD7C6F231643D41193A000B0D03D36B0579135@EXCHANGE_01>
2002-04-15 10:50 ` od -x Matthew Smith
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).