Removing egrep for grep

This commit is contained in:
DarkFeather 2023-01-16 16:11:05 -06:00
parent c9111d6713
commit 28101f24cf
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ function RecentNews() {
# param rssFeed: the url to pull
rssFeed="$1"
date="$2"
curl -s "$rssFeed" | grep "$date" | egrep -m 5 link | tail -n 1 | cut -f 2 -d '>' | cut -f 1 -d '?' | cut -f 1 -d '<'
curl -s "$rssFeed" | grep "$date" | grep -m 5 link | tail -n 1 | cut -f 2 -d '>' | cut -f 1 -d '?' | cut -f 1 -d '<'
}
function CreateCanary() {