summaryrefslogtreecommitdiff
path: root/manualPorts/gensort/lastVersion.sh
blob: 540ef1a08ca14dc9d66e1fbe1d1638271fad6783 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl 'http://www.ordinal.com/gensort.html' 2> /dev/null | \
  tr '"/' '\n' | \
  grep '^gensort-[0-9.]\+\.tar\.gz$' | \
  sed 's|^gensort-\([0-9.]\+\)\.tar\.gz$|\1|' | \
  sort -V | \
  tail -n1