#101329Replace deprecated egrep in commit-msg hook
Description
egrep is deprecated since 2.5.3 (2007) and is
marked as obsolete in grep 3.8, see
https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html
Following warning appear during git commit:
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
grep: warning: stray \ before #
egrep: warning: egrep is obsolescent; using grep -E