Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Nov 2002 06:47:02 +0000
From:      Dima Dorfman <dima@trit.org>
To:        ports@freebsd.org
Subject:   Re: cvs commit: ports/net/dictd Makefile
Message-ID:  <20021103064702.GN5793@trit.org>
In-Reply-To: <200211030640.gA36ennN023532@repoman.freebsd.org>
References:  <200211030640.gA36ennN023532@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021103064702.GN5793>