]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
freebsd-update: use grep -E instead of egrep
authorEd Maste <emaste@FreeBSD.org>
Thu, 2 Mar 2023 23:54:52 +0000 (18:54 -0500)
committerEd Maste <emaste@FreeBSD.org>
Thu, 2 Mar 2023 23:58:58 +0000 (18:58 -0500)
commite27ded83c76a609687a3d9e82b80fe7e1b782bf6
treec7282a85183db734d303da43ba5b8d3eb3017777
parent3518a5bbd9bb0c03b38dea62e577042b779c3aed
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
usr.sbin/freebsd-update/freebsd-update.sh