bugs-in-changelog.sh: Use grep -E instead of egrep

New version of coreutils egrep whinges.
This commit is contained in:
Richard W.M. Jones
2024-01-04 13:38:21 +00:00
parent 465db54be3
commit 4e4801a2c3

View File

@@ -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' ',' |