9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] xd bug
Date: Mon, 14 Jul 2008 17:10:33 -0400	[thread overview]
Message-ID: <4135CF77-13EF-4D0F-A546-BD004AFCD022@mac.com> (raw)
In-Reply-To: <712ce05eb740e24030d816ec65f3fa45@quanstro.net>

On Jul 14, 2008, at 1:13 PM, erik quanstrom wrote:
> -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


On Jul 14, 2008, at 1:22 PM, Russ Cox wrote:
> The -c and -x formats are not intended to align.
> If you want hex codes aligned with characters, use -b.

Thanks for the clarifications. -b == -1x, so both solve this
misunderstanding.



  reply	other threads:[~2008-07-14 21:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10 21:26 Pietro Gagliardi
2008-07-14 16:43 ` Russ Cox
2008-07-14 17:02   ` Pietro Gagliardi
2008-07-14 17:13     ` erik quanstrom
2008-07-14 21:10       ` Pietro Gagliardi [this message]
2008-07-14 17:22     ` Russ Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4135CF77-13EF-4D0F-A546-BD004AFCD022@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).