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