summaryrefslogtreecommitdiff
path: root/manualPorts/barcode/lastVersion.sh
blob: ce31201841ca4b23e57c65f542024f0171798177 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

curl -Ss 'https://ftp.gnu.org/gnu/barcode/' \
| sed '
  s@^.*>barcode-\([0-9.]\+\)\.tar\.xz<.*$@\1@
  t
  d
' \
| sort -V \
| tail -n1