From owner-freebsd-bugs Thu Apr 4 23:10:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C876137B41C for ; Thu, 4 Apr 2002 23:10:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g357A6792344; Thu, 4 Apr 2002 23:10:06 -0800 (PST) (envelope-from gnats) Date: Thu, 4 Apr 2002 23:10:06 -0800 (PST) Message-Id: <200204050710.g357A6792344@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Simon 'corecode' Schubert" Subject: Re: i386/36774: The hexdump & od commands doesn't present the input data in the same order among their various formats on the IBM PC Reply-To: "Simon 'corecode' Schubert" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR i386/36774; it has been noted by GNATS. From: "Simon 'corecode' Schubert" To: Gerald Stoller Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: i386/36774: The hexdump & od commands doesn't present the input data in the same order among their various formats on the IBM PC Date: Fri, 5 Apr 2002 09:04:05 +0200 On Thu, 4 Apr 2002 20:40:45 -0800 (PST) Gerald Stoller wrote: > The hexdump & od commands doesn't present the input data in > the same order among their various formats on the IBM PC (due to the > order-difference between bytes in byte-pairs and shorts [little-endian]). > For hexdump , look at the pipeline > echo -123- | hexdump -cxo > whose output is > 0000000 - 1 2 3 - \n > 0000000 312d 3332 0a2d > 0000000 030455 031462 005055 > 0000006 > and you can see the reversal of the pairs of bytes between the first > three lines, and also that the columns don't line up. i think this is the desired behaviour. indeed this is doing the way as i expect it to do. -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message