> I don't get it.
> As I said, awk in plan9 works ok in the mentioned respect.
> I said that plan9port awk gets it wrong for some reason...
>
> R
i just ran awk from sources. it produces the same
output as you produced for p9p awk. if you say
that p9p awk is wrong, then plan 9 awk is wrong
too since it produces the same output.
here's what you had:
;9 awk 'BEGIN {OFMT="%.0f"; print 17.23}'
17.23
;awk 'BEGIN {OFMT="%.0f"; print 17.23}'
17
and here's what the awk as distributed on sources does
minooka; /n/sources/plan9/386/bin/awk 'BEGIN {OFMT="%.0f"; print 17.23}'
17.23
yet here's what the awk done with bwk's current sources does
minooka; awk 'BEGIN {OFMT="%.0f"; print 17.23}'
17
- erik