[PATCH] Makefile: Fix POSIX grep alternation regex

Andreas Schwab schwab at linux-m68k.org
Mon Nov 11 15:13:14 PST 2024


On Nov 11 2024, Igor Melnikov wrote:

> Using grep -E for extended regular expression syntax with non-escaped
> alternation operator | lets both versions interpret the pattern
>  unambiguously and the check to function properly on systems with POSIX
>  grep as well.

Alternatively, you can use multiple -e options.  This works even with
traditional grep implementations.

-- 
Andreas Schwab, schwab at linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."



More information about the opensbi mailing list