sorting do not return best results

This commit is contained in:
Morgan Wattiez 2019-08-04 15:09:22 +02:00
parent 24bedd3a70
commit 23176b30c0

View File

@ -78,5 +78,5 @@ function istherenewissues() {
echo "$LASTISSUE" > .newjiraissue echo "$LASTISSUE" > .newjiraissue
} }
function greppagedate() { function greppagedate() {
curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | sort -n | head -n1 curl -sSL "$*" | \grep datetime | \grep -Eo '[[:digit:]]{4}' | head -n1
} }