blob: 5c21b00a40278864f00789a0163dea9f151ef23c (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
curl "ftp://ftp.gnu.org/gnu/libunistring/" 2> /dev/null | \
awk '{print $9}' | \
grep "^libunistring-[0-9.-]*\.tar\.[xg]z\$" | \
sed "s|^libunistring-\([0-9.-]*\)\.tar\.[xg]z\$|\1|" | \
sort -V | \
tail -n1
|