freebsd-update: use grep -E instead of egrep
GNU egrep emits a warning that it is obsolescent and suggests grep -E instead. Switch to grep -E in case we end up invoking GNU (e)grep (and for consistency with other invocations in this file). Reported by: Steffen Nurpmeso Sponsored by: The FreeBSD Foundation
This commit is contained in:
@@ -2547,7 +2547,7 @@ manually...
|
||||
read dummy </dev/tty
|
||||
${EDITOR} `pwd`/merge/new/${F} < /dev/tty
|
||||
|
||||
if ! egrep -q '^(<<<<<<<|=======|>>>>>>>)([[:space:]].*)?$' $(pwd)/merge/new/${F} ; then
|
||||
if ! grep -qE '^(<<<<<<<|=======|>>>>>>>)([[:space:]].*)?$' $(pwd)/merge/new/${F} ; then
|
||||
break
|
||||
fi
|
||||
cat <<-EOF
|
||||
|
||||
Reference in New Issue
Block a user