From 7bbcd0652164ec9df8c904a07376e20cdf5e5f01 Mon Sep 17 00:00:00 2001 From: Mike Bailey Date: Wed, 19 Oct 2022 16:51:38 +1100 Subject: [PATCH] egrep is deprecated (reported by @kwiksand) https://www.gnu.org/software/grep/manual/grep.html grep-3.8 introduces an obsolescence warning: egrep: warning: egrep is obsolescent; using grep -E We're using `grep -E` now. --- lib/stack-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stack-functions b/lib/stack-functions index d7f4ab6e..098ea987 100644 --- a/lib/stack-functions +++ b/lib/stack-functions @@ -676,7 +676,7 @@ stack-tail() { local final_line local output local previous - until echo "$current" | tail -1 | egrep -q "${stack}.*_(COMPLETE|FAILED)" + until echo "$current" | tail -1 | grep --extended-regexp --quiet "${stack}.*_(COMPLETE|FAILED)" do if ! output=$(stack-events "$inputs"); then # Something went wrong with stack-events (like stack not known)