improve searching datetime function
This commit is contained in:
parent
d4a026b397
commit
24bedd3a70
@ -78,5 +78,5 @@ function istherenewissues() {
|
|||||||
echo "$LASTISSUE" > .newjiraissue
|
echo "$LASTISSUE" > .newjiraissue
|
||||||
}
|
}
|
||||||
function greppagedate() {
|
function greppagedate() {
|
||||||
curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | head -n1
|
curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | sort -n | head -n1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user