Re: git: ceb5f28ba5fc - main - freebsd-update: re-edit files if merge conflict markers remain
Date: Thu, 02 Mar 2023 23:54:26 UTC
On Thu, 2 Mar 2023 at 15:37, Warner Losh <imp@bsdimp.com> wrote:
>
> I doubt egrep will ever be deprecated. Too many scripts depend on it.
> And fixing this one is a drop in the bucket. I personally think the warning
> from gnu-grep is bananas...
Agreed on both points.
In the man page we have:
-E, --extended-regexp
Interpret pattern as an extended regular expression (i.e., force
grep to behave as egrep).
That said, it's conceivable that this could end up invoking GNU egrep
and thus emit a warning. It doesn't hurt to use grep -E instead.