t: convert egrep usage to "grep -E"
commit81580fa06d85ef519a46b0b225cebfe71c168a37
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Wed, 21 Sep 2022 13:02:31 +0000 (21 20:02 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Sep 2022 18:00:18 +0000 (21 11:00 -0700)
treeeb9a13854f1dfbd9d3aa84b51b73a1404c7a7d26
parenta764c37bad6b4da2b248c30af1c251110fe1e031
t: convert egrep usage to "grep -E"

Despite POSIX states that:

> The old egrep and fgrep commands are likely to be supported for many
> years to come as implementation extensions, allowing historical
> applications to operate unmodified.

GNU grep 3.8 started to warn[1]:

> The egrep and fgrep commands, which have been deprecated since
> release 2.5.3 (2007), now warn that they are obsolescent and should
> be replaced by grep -E and grep -F.

Prepare for their removal in the future.

[1]: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00001.html

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/run
t/t1304-default-acl.sh
t/t3702-add-edit.sh
t/t4014-format-patch.sh
t/t5320-delta-islands.sh
t/t7527-builtin-fsmonitor.sh
t/t7701-repack-unpack-unreachable.sh
t/t9001-send-email.sh
t/t9814-git-p4-rename.sh
t/t9815-git-p4-submit-fail.sh
t/test-lib-functions.sh