replace egrep with grep -E for less warnings

This commit is contained in:
sevoves 2025-04-03 21:05:42 +04:00
parent d005317424
commit 7691293a5b

View file

@ -14,8 +14,8 @@
changes="0" changes="0"
find "$1" -type f -print0 | while IFS= read -r -d '' f; do find "$1" -type f -print0 | while IFS= read -r -d '' f; do
fn=$(basename "$f") fn=$(basename "$f")
egrep -v -f ../../src/tools/make/ignore "$f" >$fn.old grep -E -v -f ../../src/tools/make/ignore "$f" >$fn.old
egrep -v -f ../../src/tools/make/ignore $fn >$fn.new grep -E -v -f ../../src/tools/make/ignore $fn >$fn.new
if ! diff -U 2 -b $fn.old $fn.new >$fn.diff; then if ! diff -U 2 -b $fn.old $fn.new >$fn.diff; then
echo "" echo ""
echo "" echo ""