| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
| Subject: | Re: Byte-order in od -x (Win2K) |
| MIME-Version: | 1.0 |
| Date: | Tue, 28 Jun 2005 15:45:27 +0100 |
| Message-ID: | <830404B1D376BA46BC25BE71A3E12873B9B734@corvus.tcgp.dundee.ac.uk> |
| From: | "Fergus Daly" <f DOT daly AT chs DOT dundee DOT ac DOT uk> |
| To: | <cygwin AT cygwin DOT com> |
| Cc: | <fergus AT bonhard DOT uklinux DOT net> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id j5SEnY4T026678 |
>> Exactly the other way round ...
~> echo abcd | od -tx1
0000000 61 62 63 64 0a
0000005
is nice; and, for some purposes
~> echo abcd | od -An -tx1
61 62 63 64 0a
(or "od -An -tx1 <filename>") is nicer still.
("od -x .." outputs the strange transposition of bytes that you have
referred to.)
Fergus
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |