Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 1998 14:08:54 -0400 (EDT)
From:      Chuck Robey <chuckr@mat.net>
To:        "David O'Brien" <obrien@NUXI.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: GNU Awk replacement
Message-ID:  <Pine.BSF.4.05.9810191403500.348-100000@picnic.mat.net>
In-Reply-To: <19981018223914.B25719@nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9810191403500.348-100000>