From owner-freebsd-current@FreeBSD.ORG Wed Jun 18 18:38:07 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2AD21065670 for ; Wed, 18 Jun 2008 18:38:07 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by mx1.freebsd.org (Postfix) with ESMTP id 673E68FC1B for ; Wed, 18 Jun 2008 18:38:07 +0000 (UTC) (envelope-from cokane@freebsd.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA04.westchester.pa.mail.comcast.net with comcast id fPNT1Z0060xGWP8540Xl00; Wed, 18 Jun 2008 18:38:06 +0000 Received: from mail.cokane.org ([24.60.133.163]) by OMTA12.westchester.pa.mail.comcast.net with comcast id fWe21Z00W3Xh0XL3YWe2pH; Wed, 18 Jun 2008 18:38:03 +0000 X-Authority-Analysis: v=1.0 c=1 a=Ru4scuCtayUA:10 a=M7MWwdNnLy0A:10 a=Sh08vNoGAUHrJO2v6hwA:9 a=4a5-nzaF3lYYNhGcZnWeioBqDDwA:4 a=rC2wZJ5BpNYA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 a=ZaxNb3_8iJhu4FgSGLcA:9 a=mghzx1_T5sTXgMz0cgviXcKIxEgA:4 a=rPt6xJ-oxjAA:10 Received: by mail.cokane.org (Postfix, from userid 103) id C000F35A7D4; Wed, 18 Jun 2008 14:38:02 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.20.1.3] (erwin.int.cokane.org [172.20.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cokane.org (Postfix) with ESMTP id 2A2301DB2F9; Wed, 18 Jun 2008 14:37:52 -0400 (EDT) From: Coleman Kane To: pfgshield-freebsd@yahoo.com In-Reply-To: <216970.93731.qm@web32701.mail.mud.yahoo.com> References: <216970.93731.qm@web32701.mail.mud.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-EkxF5O26qPfyfHBM7LR5" Organization: FreeBSD Project Date: Wed, 18 Jun 2008 14:36:05 -0400 Message-Id: <1213814165.68025.41.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 FreeBSD GNOME Team Port Cc: Diomidis Spinellis , Doug Barton , Gabor Kovesdan , current@FreeBSD.org Subject: Re: CFT: BSD-licensed grep [Fwd: cvs commit: ports/textproc/bsdgrep Makefile distinfo] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 18:38:07 -0000 --=-EkxF5O26qPfyfHBM7LR5 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-06-18 at 11:25 -0700, pfgshield-freebsd@yahoo.com wrote: > --- Mer 18/6/08, Doug Barton ha scritto: >=20 > ... > >=20 > > No, "here is a new bsd grep, but change all your > > scripts that have=20 > > relied on legitimate behavior of grep in the past" is > > a non-starter. I=20 > > haven't checked POSIX to see whether the particular > > construction I am=20 > > using fits the spec or not, but I really don't care. We > > need to be=20 > > feature-compatible with the GNU versions of these tools, > > both for=20 > > legacy scripts and also for those users migrating over from > > linux. > >=20 >=20 > OK, I probably exaggerated in that GNUisms are not all that bad. Let's lo= ok at it this way.. the problem is in regex so I don't see fit to start ada= pting ugly workarounds in BSD grep. If we really *need* the workaround I wa= nt to be able to ifdef it out for my own testing purposes. >=20 > By all means we will still need a GNU grep port available so we can have = the best from both worlds (I already a port and sent it to Gabor for testin= g but I don't want to maintain it). >=20 > Pedro. >=20 I agree that the regex lib is a better place to apply such a fix. --=20 Coleman Kane --=-EkxF5O26qPfyfHBM7LR5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkhZVZMACgkQcMSxQcXat5ebIQCeNbf1dMe3tCxLMPNvMlBpjH9+ MgoAnjdnGgsnvxYdjrmOj1jlqGVTGNEW =VeaD -----END PGP SIGNATURE----- --=-EkxF5O26qPfyfHBM7LR5--