From owner-cvs-all Sat Nov 2 22:47: 6 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 105C737B401; Sat, 2 Nov 2002 22:47:05 -0800 (PST) Received: from phalanx.trit.org (phalanx.trit.org [63.198.170.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94BB743E6E; Sat, 2 Nov 2002 22:47:04 -0800 (PST) (envelope-from dima@trit.org) Received: from sparkie.trit.org (sparkie.trit.org [192.168.4.16]) by phalanx.trit.org (Postfix) with ESMTP id E371319FA0; Sun, 3 Nov 2002 06:47:03 +0000 (UTC) Received: (from dima@localhost) by sparkie.trit.org (8.10.2+Sun/8.10.2) id gA36l3p10036; Sun, 3 Nov 2002 06:47:03 GMT X-Authentication-Warning: sparkie.trit.org: dima set sender to dima@trit.org using -f Date: Sun, 3 Nov 2002 06:47:02 +0000 From: Dima Dorfman To: ports@freebsd.org Subject: Re: cvs commit: ports/net/dictd Makefile Message-ID: <20021103064702.GN5793@trit.org> References: <200211030640.gA36ennN023532@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211030640.gA36ennN023532@repoman.freebsd.org> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I wrote: > Modified files: > net/dictd Makefile > Log: > Escape parenthese in regular expressions to appease a sed that doesn't > understand extended regexps. This will probably break that regular expression for Perl, which *does* understand extended regexps and will probably interpret "\(" as "[(]". That's not good. Is there a better way to handle this problem than the way I did? I thought about adding -E to the REINPLACE_CMD invocation, but that would break for an REINPLACE_CMD that isn't sed (e.g., Perl)--so it wouldn't improve the situation. Perhaps REINPLACE_CMD should pass -E to sed and its semantics be modified to include understanding of extended regexps? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message