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

curl -Ss 'https://sourceforge.net/projects/xmedcon/files/XMedCon-Source/' | \
  grep 'href' | \
  tr '"' '\n' | \
  grep '^/projects/xmedcon/files/XMedCon-Source/[0-9.]\+/$' | \
  cut -d/ -f6 | \
  sort -V | \
  tail -n1