]> 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>
Mon, 6 Mar 2023 13:02:51 +0000 (08:02 -0500)
commit46a79e80414cdf9830c3afc402f3e4a6c24df6e9
tree2b65e4e1bc512440eb143fe23c43869667b1a363
parent5fa16e3c50c5083acd52a61a76f726c759c82ffd
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
Approved by: re (cperciva)
Sponsored by: The FreeBSD Foundation

(cherry picked from commit e27ded83c76a609687a3d9e82b80fe7e1b782bf6)
(cherry picked from commit b562307b70346030f59fe6a05d125814c74da47b)
usr.sbin/freebsd-update/freebsd-update.sh