9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@labs.coraid.com>
To: 9fans@9fans.net
Subject: Re: [9fans] plan9port awk problem
Date: Mon, 19 Apr 2010 12:31:21 -0400	[thread overview]
Message-ID: <fe786951a263337f9387eb379ba88085@coraid.com> (raw)
In-Reply-To: <u2wa560a5d01004190829r8eb8feb2xe145cd391aa3a605@mail.gmail.com>

On Mon Apr 19 11:38:47 EDT 2010, rudolf.sykora@gmail.com wrote:
> Hello,
>
> My p9p awk, besides not having a manpage, also has a problem (plan9
> version itself works fine, though):
>
> ;9 awk 'BEGIN {OFMT="%.0f"; print 17.23}'
> 17.23
> ;awk 'BEGIN {OFMT="%.0f"; print 17.23}'
> 17
>
> Is p9p awk different from plan9's?!

this is a bug that bwk fixed.  it is fixed in the
new port of awk to plan 9, but not in the distribution
the new port is contrib quanstro/awk.

- erik



  reply	other threads:[~2010-04-19 16:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 15:29 Rudolf Sykora
2010-04-19 16:31 ` erik quanstrom [this message]
2010-04-19 16:38   ` Rudolf Sykora
2010-04-19 16:45     ` erik quanstrom
2010-04-19 16:50       ` Rudolf Sykora
2010-04-19 16:53         ` Rudolf Sykora
2010-04-19 17:03           ` erik quanstrom
2010-04-19 17:19             ` Rudolf Sykora
2010-04-19 17:31               ` Vivien MOREAU
2010-04-19 17:37               ` erik quanstrom
2010-04-19 17:06   ` EBo

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=fe786951a263337f9387eb379ba88085@coraid.com \
    --to=quanstro@labs.coraid.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).