From owner-freebsd-hackers Tue Sep 21 18: 7:58 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (Postfix) with ESMTP id 566A115440 for ; Tue, 21 Sep 1999 18:03:09 -0700 (PDT) (envelope-from pfgiffun@bachue.usc.unal.edu.co) Received: from bachue.usc.unal.edu.co ([168.176.3.37]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.6) with ESMTP id AAA1EEF; Tue, 21 Sep 1999 20:02:04 -0400 Message-ID: <37E82BA1.F47FB23B@bachue.usc.unal.edu.co> Date: Tue, 21 Sep 1999 20:06:41 -0500 From: "Pedro Fernando Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: token@wuff.mayn.de Cc: freebsd-hackers@freebsd.org Subject: Re: nawk vs gawk? (was Re: GNU GLOBAL) References: <19990921234228.3610.qmail@wuff.mayn.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The three of them are on the ports tree. mawk and gawk are GPL'd, nawk is not. I'm not sure if nawk is fully POSIX compliant but it is the "new" awk described in Kernighans' book. Yes mawk is the fastest of the three, but I'm not sure if speed is the most important feature in a scripting language. Gawk has more features, but I saw a test somewhere that showed a bug in the FreeBSD version. I can dig it up if someone is really interested. Pedro. token@wuff.mayn.de wrote: > > Pedro Fernando Giffuni wrote: > > >Yes, I know that gawk is faster, but isn't nawk the one true (new) awk? > > >From my experience, the awk downloadable from Kernighan's web page > (should be "nawk", shouldn't it?) is a little bit faster on average > than gawk. Probably not much that it would really matter anyways. > I've heard that another implementation, Mawk is still faster but > I haven't tried it yet. > > mkb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message