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

curl "https://sourceforge.net/projects/xfe/files/xfe/" 2> /dev/null | \
  tr "\"" "\n" | \
  grep "^/projects/xfe/files/xfe/.*/\$" | \
  sed "s|^/projects/xfe/files/xfe/\(.*\)/\$|\1|" | \
  sort -V | \
  tail -n1