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

# lilypond braucht guile-2.*

curl "ftp://ftp.gnu.org/gnu/guile/" 2> /dev/null | \
  awk '{print $9}' | \
  grep "^guile-2\.[0-9.-]*\.tar\.[gx]z\$" | \
  sed "s|^guile-\([0-9.-]*\)\.tar\.[gx]z\$|\1|" | \
  sort -V | \
  tail -n1