9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Philippe Anel <philippe.anel@noos.fr>
To: 9fans <9fans@cse.psu.edu>
Subject: [9fans] Acid bug ?
Date: Fri, 22 Feb 2002 16:04:10 +0100	[thread overview]
Message-ID: <3C765DEA.5040102@noos.fr> (raw)


Hi,

According to the Acid Manual,

    The supported format characters are :

-------------------------------------------------------cut-here----------------------

Formats

    ...

    b print byte in "hexadecimal".

    ....
-------------------------------------------------------cut-here----------------------

But in /sys/src/cmd/acid/buildin.c, we have in the function "void 
patom(char type, Store *res)" :

-------------------------------------------------------cut-here----------------------
switch(res->fmt) {
...   
case 'b':
        Bprint(bout, "%3d", (int)res->ival&0xff);
        break;
...
}
-------------------------------------------------------cut-here----------------------

Do you know a good way to add extensions to the builtin functions of acid ?
(without modifing the acid sources)

    Philippe,




             reply	other threads:[~2002-02-22 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-22 15:04 Philippe Anel [this message]
2002-02-22 17:27 rob pike

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=3C765DEA.5040102@noos.fr \
    --to=philippe.anel@noos.fr \
    --cc=9fans@cse.psu.edu \
    /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).