blob: 54ade654d375d8a07b43333e210b0262c5eaaa40 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
curl "https://sourceforge.net/projects/libquicktime/files/libquicktime/" 2> /dev/null | \
grep "<a href=" | \
tr "\"" "\n" | \
grep "^/projects/libquicktime/files/libquicktime/\([[:digit:]]\+\.\)*[[:digit:]]\+/\$" | \
sed "s|^/projects/libquicktime/files/libquicktime/\(\([[:digit:]]\+\.\)*[[:digit:]]\+\)/\$|\1|" | \
sort -V | \
tail -n1
|