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

curl 'https://bindfs.org/downloads/' 2> /dev/null | \
  tr '<>"' '\n' | \
  grep '^bindfs-[0-9.]\+\.tar\.gz$' | \
  sed 's|^bindfs-\([0-9.]\+\)\.tar\.gz$|\1|' | \
  sort -V | \
  tail -n1