Date: Thu, 25 Oct 2001 22:16:27 -0400 From: Joe Abley <jabley@automagic.org> To: Cyrille Lefevre <clefevre@citeweb.net> Cc: arch@freebsd.org Subject: Re: import bawk? Re: NO_AWK Message-ID: <20011025221626.I11022@buffoon.automagic.org> In-Reply-To: <200110260144.f9Q1iRA50747@gits.dyndns.org> References: <20011025205902.G11022@buffoon.automagic.org> <200110260144.f9Q1iRA50747@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011025221626.I11022>