Skip to content

Commit

Permalink
refactor: use grep -E instead of egrep (#2141)
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Coffee <[email protected]>
  • Loading branch information
kxxt and JacobCoffee authored Sep 13, 2024
1 parent 55bf06b commit 3627bc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3627bc8

Please sign in to comment.