summaryrefslogtreecommitdiff
path: root/manualPorts/topal/lastVersion.sh
blob: f156744cc1e5ef017df0fb93d1b2ea721ce0cc3c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

curl -Ss 'https://zircon.org.uk/topal/' \
  | sed '
    s,^.*<a href="rel-\([0-9.]\+\)">rel-\1</a>.*$,\1,
    t
    d
  ' \
  | sort -V \
  | tail -n1