From b0661692b1ce139dd01736f49aab0890ed65e400 Mon Sep 17 00:00:00 2001 From: Juho Hiltunen Date: Mon, 31 Oct 2022 21:00:02 +0200 Subject: [PATCH] fix a warning about deprecated egrep by using grep -E. --- tests/bom.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bom.test b/tests/bom.test index a2e74595..0e015fd9 100755 --- a/tests/bom.test +++ b/tests/bom.test @@ -8,7 +8,7 @@ echo -n "testing for Byte Order Marks in source files ... " # TODO checking for other encodings (e.g. UTF-16, UTF-32, UTF-7) needs more elaborate search, # otherwise it shows many false positives -egrep -rlI $'\xEF\xBB\xBF' * | tee tests/bom.check >/dev/null # UTF-8 +grep -ErlI $'\xEF\xBB\xBF' * | tee tests/bom.check >/dev/null # UTF-8 if [ -s tests/bom.check ] ; then echo "found:"