From owner-freebsd-arch Thu Oct 25 19:16:30 2001 Delivered-To: freebsd-arch@freebsd.org Received: from buffoon.automagic.org (buffoon.automagic.org [208.185.30.208]) by hub.freebsd.org (Postfix) with SMTP id 2F78937B403 for ; Thu, 25 Oct 2001 19:16:28 -0700 (PDT) Received: (qmail 47840 invoked by uid 1000); 26 Oct 2001 02:16:27 -0000 Date: Thu, 25 Oct 2001 22:16:27 -0400 From: Joe Abley To: Cyrille Lefevre Cc: arch@freebsd.org Subject: Re: import bawk? Re: NO_AWK Message-ID: <20011025221626.I11022@buffoon.automagic.org> References: <20011025205902.G11022@buffoon.automagic.org> <200110260144.f9Q1iRA50747@gits.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200110260144.f9Q1iRA50747@gits.dyndns.org> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 26, 2001 at 03:44:25AM +0200, Cyrille Lefevre wrote: > Joe Abley wrote: > > On Thu, Oct 25, 2001 at 01:50:22PM -0700, David O'Brien wrote: > > > On Wed, Oct 24, 2001 at 09:14:34PM -0500, Alfred Perlstein wrote: > > > > Is bawk a BSD licensed version of awk? What about replacing gawk with > > > > bawk? Any drawbacks? > > > > > > bawk is license friendly for us. I've gotten all the gawk'isms out of > > > our tree and have run bawk as my system awk for a while. Want me to just > > > do the vendor import and cut us over? > > > > > > I have not done this yet, because I know bawk can be slower than gawk and > > > didn't want to fight that battle. > > > > gawk has features that bawk doesn't have. > > that may be considered as a problem. you could think you write > portable stuffs until you try to use them on another platform. > having a "true" awk w/o any extensions may help a lot in god > practice. I agree. > > I write a lot of awk (more than is healthy) and I know I am guilty > > of using gawkisms. Hence, at the least, a large HEADS UP may be > > worthwhile ahead of such a change to warn morons like me that their > > scripts may be about to start breaking. > > you always have the choice to use gawk from ports... Absolutely. I agree, and I would be happy to banish gawkisms from /usr/bin/awk. I'm just saying there is an existing population of scripts which begin "#!/usr/bin/awk -f" that may break, and that for that reason appropriate warnings should be given. Joe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message