Removing egrep for grep
This commit is contained in:
parent
c9111d6713
commit
28101f24cf
@ -43,7 +43,7 @@ function RecentNews() {
|
|||||||
# param rssFeed: the url to pull
|
# param rssFeed: the url to pull
|
||||||
rssFeed="$1"
|
rssFeed="$1"
|
||||||
date="$2"
|
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() {
|
function CreateCanary() {
|
||||||
|
Loading…
Reference in New Issue
Block a user