From 454a3e508881316131b82651fd11a3aaf4648c52 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Wed, 7 Sep 2022 13:56:57 +0200 Subject: [PATCH] iimage: replace egrep usage with grep -E grep 3.8 deprecated support for egrep + fgrep, and now prints a warning on stderr: | egrep: warning: egrep is obsolescent; using grep -E | fgrep: warning: fgrep is obsolescent; using grep -F --- usr_bin/iimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr_bin/iimage b/usr_bin/iimage index 9b210d0..b2f81f7 100755 --- a/usr_bin/iimage +++ b/usr_bin/iimage @@ -1004,7 +1004,7 @@ function update_description_names() { find_all_images for i in $ALL_IMAGES ; do - if ! egrep "$i=" ./description >/dev/null ; then + if ! grep -E "$i=" ./description >/dev/null ; then echo "$i=`description $i`" >> ./description fi -- 2.1.4