]> 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 00:30:57 +0000 (19:30 -0500)
commitb562307b70346030f59fe6a05d125814c74da47b
treee6c81f7e269796329bf7e06edb1dc43788497d26
parentab53efd14237b71c3c0e4e212ada6526ef14402c
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

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