From owner-freebsd-current Thu Oct 22 15:08:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09847 for freebsd-current-outgoing; Thu, 22 Oct 1998 15:08:23 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA09836 for ; Thu, 22 Oct 1998 15:08:19 -0700 (PDT) (envelope-from w@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id AAA06664; Fri, 23 Oct 1998 00:07:35 +0200 (CEST) (envelope-from w@panke.de.freebsd.org) Received: (from w@localhost) by campa.panke.de.freebsd.org (8.8.8/8.8.8) id GAA06595; Thu, 22 Oct 1998 06:09:18 +0200 (MET DST) (envelope-from w) Message-ID: <19981022060917.A6585@panke.de.freebsd.org> Date: Thu, 22 Oct 1998 06:09:17 +0200 From: Wolfram Schneider To: Chuck Robey , "David O'Brien" Cc: freebsd-current@FreeBSD.ORG Subject: Re: GNU Awk replacement References: <19981018223914.B25719@nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: ; from Chuck Robey on Mon, Oct 19, 1998 at 02:08:54PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From my memory, kawk is 2 x slower than gawk. Wolfram On 1998-10-19 14:08:54 -0400, Chuck Robey wrote: > > Good question. Our kawk port (kawk-98.02.11). > > from http://cm.bell-labs.com/who/bwk/awk.tar.gz > > > > To quote: > > This is the version of awk described in "The AWK Programming Language", > > by Al Aho, Brian Kernighan, and Peter Weinberger > > (Addison-Wesley, 1988, ISBN 0-201-07981-X). > > > > It is under a Berkeley/MIT/CMU like copyright. > > I took a look at this. I _think_ it's what I would have named "nawk", > the new awk. I haven't checked it, and I don't immediately remember a > short test to prove it .... if I remember right, it was better usage of > associational arrays, and also better looping. I remember a while back, > learning the hard way that you really don't want to use the old, > original awk. Way too primitive for more than 10 liners. > > I think I'd be happy enough with kawk. Lucent has the copyright, but > it's totally open, they give it away. What's more, they've obviously > (see the FIXES file) kept putting real fixes into it, right up to this > year. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message