#!/bin/bash curl 'http://dvdbackup.sourceforge.net/' 2> /dev/null | \ sed ' s@^.*dvdbackup-\1.tar.xz.*$@\1@ t d ' | \ sort -n | \ tail -n1