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

curl -Ss 'http://fox-toolkit.org/ftp/' \
| sed '
  s@^.*<a href="fox-\([0-9.]\+\)\.tar\.gz">.*$@\1@
  t
  d
' \
| grep '^1\.6\b' \
| sort -V \
| tail -n1