Skip to content

Commit d9e5679

Browse files
authored
Merge pull request #330 from bash-my-aws/egrep-deprecated
egrep is deprecated
2 parents 139c554 + 7bbcd06 commit d9e5679

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)