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

curl 'http://dvdbackup.sourceforge.net/' 2> /dev/null | \
  sed '
    s@^.*<a href="http://downloads.sourceforge.net/dvdbackup/dvdbackup-\([0-9.]\+\).tar.xz">dvdbackup-\1.tar.xz</a>.*$@\1@
    t
    d
  ' | \
  sort -n | \
  tail -n1