🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4603

Re: Gawk v24.7: Why Bother???

#4603
From: Christopher B. Browne
Date: Wed, 26 Apr 1995 00:00
32 lines
2084 bytes
In article <3nlngt$981@mudraker.mtholyoke.edu>,
Jurgen Botz <jbotz@mtholyoke.edu> wrote:
>In article <3nk1f4$8ld@ionews.io.org>,
>Christopher B. Browne <cbbrown@io.org> wrote:
>>Certainly gawk is cheaper than Perl, but if you add associative
>>arrays, [...]
>
>My understanding of awk (which is minimal, I use Perl) is that it has
>alway had associative arrays.

I've been getting corrected repeatedly by email; I was perhaps not
sufficiently precise about this.

Yes, awk and gawk and nawk and mawk have associative arrays.  awk
had them before Perl was a glimmer in Larry Wall's eye, no doubt.

What I *meant* to say was "DBM files," which happen to be a way of
binding associative arrays to external files.  This is one area
where Perl definitely beats awk (although I wouldn't mind having
an alternative implementation that uses something like splay
trees instead of hash tables, thus providing the ordering
property that is often useful), and an example of something mentioned 
as a desired feature of "super-duper-gawk."

Adding dbm file support would obviously add an additional library
to those used in gawk, and correspondingly increases the size
and weight of gawk.

Imprecision on Usenet.  A dangerous thing.
-- 
Christopher Browne - cbbrown@io.org
Microsoft Office - What you use when you don't have access to good software.
Technical Details
Message-ID: <3nmbk6$t7g@ionews.io.org>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3n8qt8$shf@smurf.noris.de> <D7L95H.Bp6@ul.ie> <3nk1f4$8ld@ionews.io.org> <3nlngt$981@mudraker.mtholyoke.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10259a,c6417ab4174dabc8
X-Google-Attributes: gid10259a,public
X-Google-Thread: 1012a6,4df32fd703a6b724
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 1025b4,4df32fd703a6b724
X-Google-Attributes: gid1025b4,public
From: cbbrown@io.org (Christopher B. Browne)
Subject: Re: Gawk v24.7: Why Bother???
Date: 1995/04/26
Message-ID: <3nmbk6$t7g@ionews.io.org>
X-Deja-AN: 101597201
references: <3n8qt8$shf@smurf.noris.de> <D7L95H.Bp6@ul.ie> <3nk1f4$8ld@ionews.io.org> <3nlngt$981@mudraker.mtholyoke.edu>
organization: Internex Online (io.org) Data: 416-363-4151  Voice: 416-363-8676
newsgroups: comp.unix.shell,gnu.misc.discuss,comp.lang.perl