freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep -E vs. egrep


From: Alexei Podtelezhnikov
Subject: Re: grep -E vs. egrep
Date: Sun, 26 Feb 2023 09:50:58 -0500

> > Since neither grep -E nor egrep is portable any more, here is a
> > patch that does essentially the same test as AC_PROG_EGREP for the
> > top-level configure.  Can be overridden with the EGREP envvar.
>
> Applied, thanks!

Would sed be more portable here? The patterns are very easy here.

$ make -v | sed -n -e '/GNU/p' -e '/makeapp/p'

This would also be consistent with autogen.sh which stays away from grep.

Alexei



-- 
Alexei A. Podtelezhnikov, PhD



reply via email to

[Prev in Thread] Current Thread [Next in Thread]