#!/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