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

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