From fd4523308f261b77e1532a35466bcaea82ea36fe Mon Sep 17 00:00:00 2001
From: John Van de Meulebrouck Brendgard <john@sunet.se>
Date: Thu, 16 Nov 2023 12:09:02 +0100
Subject: [PATCH] Replaced 'egrep' that is now deprecated.

---
 bump-tag | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bump-tag b/bump-tag
index 74fc23e4..d69695f5 100755
--- a/bump-tag
+++ b/bump-tag
@@ -228,7 +228,7 @@ verify_last_commit "./scripts/jsonyaml-no-output.py"
 verify_last_commit "./bump-tag"
 
 # Test the syntax of each YAML-file to be tagged.
-for file in $(git diff --name-only "${last_tag}..${this_branch}" | egrep "^.*\.(yaml|yml)$"); do
+for file in $(git diff --name-only "${last_tag}..${this_branch}" | grep -E "^.*\.(yaml|yml)$"); do
     if [[ -f "${file}" ]]; then
         ./scripts/jsonyaml-no-output.py yaml "${file}"
     fi