summaryrefslogtreecommitdiff
path: root/manualPorts/sox/lastVersion.sh
blob: 6109135ac5b6eaf339cf238c662cba7ad60533f3 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl "https://sourceforge.net/projects/sox/files/sox/" 2> /dev/null | \
  tr "\"" "\n" | \
  grep "^/projects/sox/files/sox/.*/\$" | \
  sed "s|^/projects/sox/files/sox/\(.*\)/\$|\1|" | \
  sort -V | \
  tail -n1