From owner-freebsd-standards@FreeBSD.ORG Mon Oct 25 22:51:17 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97D5016A4CE; Mon, 25 Oct 2004 22:51:17 +0000 (GMT) Received: from VARK.MIT.EDU (VARK.MIT.EDU [18.95.3.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F0CC43D49; Mon, 25 Oct 2004 22:51:17 +0000 (GMT) (envelope-from das@FreeBSD.ORG) Received: from VARK.MIT.EDU (localhost [127.0.0.1]) by VARK.MIT.EDU (8.13.1/8.12.10) with ESMTP id i9PMpZnM033732; Mon, 25 Oct 2004 18:51:35 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by VARK.MIT.EDU (8.13.1/8.12.10/Submit) id i9PMpZh1033731; Mon, 25 Oct 2004 18:51:35 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Mon, 25 Oct 2004 18:51:35 -0400 From: David Schultz To: Jens Schweikhardt Message-ID: <20041025225135.GB33335@VARK.MIT.EDU> Mail-Followup-To: Jens Schweikhardt , Andrey Chernov , Dag-Erling Sm?rgrav , Tim Robbins , freebsd-standards@FreeBSD.ORG References: <200410132000.i9DK0o3O052401@freefall.freebsd.org> <20041013201820.GA26102@nagual.pp.ru> <20041014092108.GA28831@cat.robbins.dropbear.id.au> <20041025213635.GA55727@nagual.pp.ru> <20041025215043.GA3703@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041025215043.GA3703@schweikhardt.net> cc: Andrey Chernov cc: freebsd-standards@FreeBSD.ORG cc: Tim Robbins Subject: Re: standards/54410: one-true-awk not POSIX compliant (no extended REs) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 22:51:17 -0000 On Mon, Oct 25, 2004, Jens Schweikhardt wrote: > On Tue, Oct 26, 2004 at 01:36:35AM +0400, Andrey Chernov wrote: > # On Mon, Oct 25, 2004 at 11:19:12PM +0200, Dag-Erling Sm?rgrav wrote: > # > > Jens, I came up with this patch a while ago and sent it to Andrey in > # > > private mail: > # > > http://people.freebsd.org/~tjr/awk-re.diff > # > > # > that is never going to fly... the patch is too intrusive, it will > # > make future upgrades a nightmare. > # > # I try this patch and it works in simple tests, but I very doubt awk's > # author will accept it. > > This is no longer a matter of doubt. See my mail to bwk and his reply, > http://www.freebsd.org/cgi/query-pr.cgi?pr=standards/54410 > > So the current options seem to be > 1. patch 1Tawk to use the regex lib > 2. ditch 1Tawk and use GNU awk > 3. keep 1Tawk and tell people in posix(7) to use GAWK for better ERE support > 4. do nothing > 5. (1) seems like the best option. The argument about unmaintainability doesn't hold water given that the author has *specifically* said that he doesn't even want to touch the part of the code we would have patches against. Of course, if bwk changes his mind about touching the awk regex code, then we're in even better shape because we wouldn't have to maintain the patches anymore!