From 4e4801a2c31c9ef9b44fa5bcef1654ec6a223208 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 4 Jan 2024 13:38:21 +0000 Subject: [PATCH] bugs-in-changelog.sh: Use grep -E instead of egrep New version of coreutils egrep whinges. --- bugs-in-changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bugs-in-changelog.sh b/bugs-in-changelog.sh index 0ccbba802..b5c54bca0 100755 --- a/bugs-in-changelog.sh +++ b/bugs-in-changelog.sh @@ -31,7 +31,7 @@ fi # Comma-separated list of Bugzilla IDs. bugids=$( git log "$1" | - egrep -io 'RHBZ#[0-9]+|https?://bugzilla.redhat.com/[a-z\.\?/_=]*[0-9]+' | + grep -Eio 'RHBZ#[0-9]+|https?://bugzilla.redhat.com/[a-z\.\?/_=]*[0-9]+' | sed 's/^[^0-9]*//' | sort -u | tr '\n' ',' |