summaryrefslogtreecommitdiff
path: root/manualPorts/tex-gyre-fonts/lastVersion.sh
blob: 131fc8a50a072009c511ccc3b95acd27d5ee1ef2 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl -Ss 'http://www.gust.org.pl/projects/e-foundry/tex-gyre/whole/' | \
  tr '/"' '\n' | \
  grep "^tg-[0-9.-]*bas\.zip\$" | \
  sed "s|^tg-\([0-9.-]*\)bas\.zip\$|\1|" | \
  sort -V | \
  tail -n1