From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 19 Apr 2010 12:31:21 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] plan9port awk problem Topicbox-Message-UUID: 09264cc8-ead6-11e9-9d60-3106f5b1d025 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