egrep -> grep -E and fgrep -> grep -F

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-03-19 01:25:22 +03:00
parent 70fad75e40
commit 71cb6fc9e7

View File

@ -399,7 +399,7 @@ PATCHES := $(REQUREJS)
#**********************************************************************
# dependencies to check...
#
DEPENDENCIES_HELP = sed grep egrep fgrep printf
DEPENDENCIES_HELP = sed grep printf
DEPENDENCIES_WEB = node npm npx
DEPENDENCIES = $(DEPENDENCIES_WEB) \
@ -423,9 +423,9 @@ DEPENDENCIES = $(DEPENDENCIES_WEB) \
help: ## Print make target help and exit
help:
@IFS=$$'\n' ; \
help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) \
| fgrep -v fgrep \
| fgrep -v '"##' \
help_lines=(`grep -Fh "##" $(MAKEFILE_LIST) \
| grep -Fv grep \
| grep -Fv '"##' \
| sed -e 's/\\$$//'`); \
for help_line in $${help_lines[@]}; do \
IFS=$$'#' ; \
@ -455,7 +455,7 @@ doc/MAKE: Makefile
echo ; \
echo "---" ; \
echo "This file was generated by: make $@" ; \
} | egrep -v "^make\[1\]:" > $@
} | grep -Ev "^make\[1\]:" > $@
.PHONY: version