fixinc: RE error: repetition-operator operand invalid

Gerald Pfeifer
Sat Jul 31 22:30:00 GMT 1999

On Tue, 6 Jul 1999 wrote:
>>   sed: 9: ":loop
>>   /\\$/N
>>   s/\\$/\\++ ...": RE error: repetition-operator operand invalid
> It is curious I did not see this on my Linux box!

Perhaps because FreeBSD does not use GNU sed but a sed of its own?

> P.S. Gerald - would you be kind enough to post to egcs-patches
> for me?  Posting from seems to have been disabled.
> The fix is already in the main line.  Thanks.

I noticed that your mail appears in the list archive on the web (plus
it also arrived in my EGCS Inbox via the mailing list), so it seems that,
despite any error message you have received, your mail went through.

> 1999-07-06  Bruce Korb  <>
>         * fixinc/inclhack.def(end_else_label): Double the backslash so
>         sed gets a chance to see it.
>         * fixinc/ regen
>         * fixinc/fixincl.x: regen

I did an egcs_update and another bootstrap and indeed these problems are
gone. Thanks a lot!

Gerald "Jerry"

More information about the Gcc-patches mailing list