From 3627bc89603350d24ec01841a05e59926096a9a5 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Fri, 13 Sep 2024 20:00:14 +0800 Subject: [PATCH] refactor: use grep -E instead of egrep (#2141) Co-authored-by: Jacob Coffee --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc296feb4..50585463a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ default: @$(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null\ | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}'\ | sort\ - | egrep -v -e '^[^[:alnum:]]' -e '^$@$$' + | grep -E -v -e '^[^[:alnum:]]' -e '^$@$$' @echo @exit 1