From owner-freebsd-arch Sat Apr 8 11:22:44 2000 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id B217437B8B3 for ; Sat, 8 Apr 2000 11:22:35 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id UAA06496 for ; Sat, 8 Apr 2000 20:26:06 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id UAA00990 for freebsd-arch@freebsd.org; Sat, 8 Apr 2000 20:22:25 +0200 (CEST) Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (Postfix) with ESMTP id CD42B37B543 for ; Sat, 8 Apr 2000 11:21:50 -0700 (PDT) (envelope-from giffunip@asme.org) Received: from asme.org ([216.226.229.175]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.6) with ESMTP id AAA18AF for ; Sat, 8 Apr 2000 13:20:37 -0400 Message-ID: <38EF78E3.B86EFC11@asme.org> Date: Sat, 08 Apr 2000 13:22:27 -0500 From: "Pedro F. Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: freebsd-arch@freebsd.org Subject: Re: No nawk ?? References: <200004081636.SAA07027@dorifer.heim3.tu-clausthal.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Oliver Fromme wrote: > ... > > Replacing gawk with nawk would be a large step backwards for > me, because it would break many (if not most) of my scripts. > And this is really _many_. nawk doesn't have such useful > things like gensub(), systime(), strftime(), support for > certain pseudo-files such as /dev/pid, /dev/user and a lot of > other things. > Excuse my ignorance, but are these extensions standard (POSIX) or GNU? If they are GNU extensions my opinion is that they should not be in the base system. The reason would be the same for not depending on gcc's GNU extensions to build a kernel. > Of course, I could install gawk from the ports, but does that > justify a step backwards? I'd think it violates POLA. At > the very minimum, I'd have to fix the path #!/usr/bin/awk -f > in all of the scripts... :-) > Check out mawk; it's faster and is fully POSIX. I agree that nawk is limited WRT the other awks, but I prefer it for the base system due to the history it has and because it's smaller and faster than gawk. GNU awk is the worst of the three options (many bugs, big and slow). I have only made some very simplistic tests, so this can be considered only IMHO. cheers, Pedro. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message