From 180721846e02d16fb6d59df1c4f7599cfb16aec6 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Thu, 10 Jul 2025 12:38:18 +0200 Subject: Remove egrep usage from scripts egrep: warning: egrep is obsolescent; using grep -E Change-Id: I4df0d520546da141cafc15e9464149059fdc06a6 Signed-off-by: Michal Nasiadka --- tools/pre-commit-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/pre-commit-hook') diff --git a/tools/pre-commit-hook b/tools/pre-commit-hook index 994716107..bf245158d 100755 --- a/tools/pre-commit-hook +++ b/tools/pre-commit-hook @@ -26,7 +26,7 @@ find . -type f echo "=== bashate checks ===" -files=$(egrep -rlI '^#!/(bin/|usr/bin/env )(ba)?sh' .) +files=$(grep -ErlI '^#!/(bin/|usr/bin/env )(ba)?sh' .) [ "$files" ] && (bashate $files || RES=1) echo "=== yaml checks ===" -- cgit v1.2.3