summaryrefslogtreecommitdiff
path: root/manualPorts/cdrdao/lastVersion.sh
blob: 99bc56db3aff49b02c045862ecbe2d18c66b849e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

curl -Ss 'https://sourceforge.net/projects/cdrdao/files/' | \
  tr ' ' '\n' | \
  sed -n '
    s/^title="cdrdao-\([0-9.]\+\)\.tar\.bz2"$/\1/
    T
    p
  ' | \
  sort -V | \
  tail -n1