From owner-freebsd-current Mon Oct 19 11:09:53 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA01697 for freebsd-current-outgoing; Mon, 19 Oct 1998 11:09:53 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA01691 for ; Mon, 19 Oct 1998 11:09:50 -0700 (PDT) (envelope-from chuckr@mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.1/8.8.5) with ESMTP id OAA00680; Mon, 19 Oct 1998 14:08:54 -0400 (EDT) Date: Mon, 19 Oct 1998 14:08:54 -0400 (EDT) From: Chuck Robey To: "David O'Brien" cc: freebsd-current@FreeBSD.ORG Subject: Re: GNU Awk replacement In-Reply-To: <19981018223914.B25719@nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 18 Oct 1998, David O'Brien wrote: > > > What do people think about replacing GNU awk in the base system with the > > > One True Awk(tm) by bwk? > > > > How far back you harking? Oawk, no. nawk, yes. You loose too much > > 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. > > -- > -- David (obrien@NUXI.ucdavis.edu -or- obrien@FreeBSD.org) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message