summaryrefslogtreecommitdiff
path: root/manualPorts/barcode
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-15 21:52:07 +0200
committerErich Eckner <git@eckner.net>2019-10-15 21:52:07 +0200
commit9456c6b4df5c1cb22155fbd13a77a4be2fa19bde (patch)
tree3c42e5c76a625ca34f811d3a8d7cc0e2ea726751 /manualPorts/barcode
parent2016ee24e12ecb964ec81c218959f479d0fc0330 (diff)
downloadcrux-ports-9456c6b4df5c1cb22155fbd13a77a4be2fa19bde.tar.xz
barcode/lastVersion.sh neu
Diffstat (limited to 'manualPorts/barcode')
-rwxr-xr-xmanualPorts/barcode/lastVersion.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/manualPorts/barcode/lastVersion.sh b/manualPorts/barcode/lastVersion.sh
new file mode 100755
index 0000000..ce31201
--- /dev/null
+++ b/manualPorts/barcode/lastVersion.sh
@@ -0,0 +1,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