Skip to content

Commit 7bbcd06

Browse files
committed
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.
1 parent 139c554 commit 7bbcd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stack-functions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ stack-tail() {
676676
local final_line
677677
local output
678678
local previous
679-
until echo "$current" | tail -1 | egrep -q "${stack}.*_(COMPLETE|FAILED)"
679+
until echo "$current" | tail -1 | grep --extended-regexp --quiet "${stack}.*_(COMPLETE|FAILED)"
680680
do
681681
if ! output=$(stack-events "$inputs"); then
682682
# Something went wrong with stack-events (like stack not known)

0 commit comments

Comments
 (0)