From 71cb6fc9e7136895bf10d3c5148e4d1fe87922cb Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 19 Mar 2023 01:25:22 +0300 Subject: [PATCH] egrep -> grep -E and fgrep -> grep -F Signed-off-by: Alex A. Naanou --- Viewer/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Viewer/Makefile b/Viewer/Makefile index 079258d6..8a8e704d 100644 --- a/Viewer/Makefile +++ b/Viewer/Makefile @@ -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