chore: replace egrep with grep -E
Related to #
Problem
The repository shows the warning "egrep: warning: egrep is obsolescent" on some systems. We should use the POSIX replacement grep -E to avoid this warning.
Root Cause
The Makefile used egrep -E, which is deprecated on some platforms and prints an obsolescence warning.
Change
- Replace
egrep -Ewithgrep -EinMakefile.
Rationale
grep -E is the portable replacement for egrep and avoids deprecation warnings.
Test Plan
- Run
make testlocally (all tests passed in a separate worktree).