From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <712ce05eb740e24030d816ec65f3fa45@quanstro.net> To: 9fans@9fans.net From: erik quanstrom Date: Mon, 14 Jul 2008 13:13:05 -0400 In-Reply-To: <66A41360-593C-4B12-B33E-04A9C7336CF1@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] xd bug Topicbox-Message-UUID: e634cd5e-ead3-11e9-9d60-3106f5b1d025 > If you look more closely at the alignment of the characters to the hex > values you will see that xd thinks Q has character code 0x525 and R > has character code 3. It should look more like > > % xd -c -x bad > 0000000 e0Q R S \n > 0 e0515253 0a000000 > 0000005 -x by itself doesn't output the hex codes for bytes, it outputs the hex codes for 4 byte integers. i think you're thinking of this command line instead ; xd -c -1x bad 0000000 e0 Q R S \n 0 e0 51 52 53 0a - erik