This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Non portable sed invocation in libgcc configury
- From: Martin Husemann <martin at NetBSD dot org>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 23 Mar 2014 13:21:47 +0100
- Subject: Re: Non portable sed invocation in libgcc configury
- Authentication-results: sourceware.org; auth=none
- References: <20140323104629 dot GA18530 at mail dot duskware dot de> <m2mwghxjs4 dot fsf at linux-m68k dot org>
On Sun, Mar 23, 2014 at 11:59:39AM +0100, Andreas Schwab wrote:
> -r changes the regexp syntax to extended, so this will no longer match.
Right, it needs a few more \ removed - however, it doesn't work anyway,
as our sed does not accept empty alternatives:
(si|2|3|) fails with: RE error: empty (sub)expression
Since the script is outside posix, what is the prefered solution here?
Martin