summaryrefslogtreecommitdiff
path: root/manualPorts/wurzel-xml/lastVersion.sh
blob: fdfc72d78d1cc5b43b235587029531f978e7c3d4 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl "http://www.wurzel.org/distfiles/" 2> /dev/null | \
  tr '"' '\n' | \
  grep '^wurzel-xml-[0-9.-]*\.tar\.bz2$' | \
  sed 's|^wurzel-xml-\([0-9.-]*\)\.tar\.bz2$|\1|' | \
  sort -V | \
  tail -n1