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

curl -Ss 'https://zircon.org.uk/topal/' \
  | sed '
    s,^The current release of Topal is <b>\([0-9.]\+\)</b> .*$,\1,
    t
    d
  ' \
  | sort -V \
  | tail -n1