summaryrefslogtreecommitdiff
path: root/manualPorts/szip/lastVersion.sh
blob: 0a6f8e46704ba901574f201abb6f951befc617a6 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl -Ss 'https://support.hdfgroup.org/ftp/lib-external/szip/' | \
  tr '<>' '\n' | \
  grep '^[0-9.]\+/$' | \
  sed 's|/$||' | \
  sort -V | \
  tail -n1