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

curl 'https://sourceforge.net/projects/libircclient/files/libircclient/' 2> /dev/null | \
  tr '"' '\n' | \
  sed '
    s@^/projects/libircclient/files/libircclient/\([0-9.]\+\)/$@\1@
    t
    d
  ' | \
  sort -V | \
  tail -n1