diff options
author | Erich Eckner <git@eckner.net> | 2019-10-15 21:52:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-15 21:52:07 +0200 |
commit | 9456c6b4df5c1cb22155fbd13a77a4be2fa19bde (patch) | |
tree | 3c42e5c76a625ca34f811d3a8d7cc0e2ea726751 /manualPorts/barcode | |
parent | 2016ee24e12ecb964ec81c218959f479d0fc0330 (diff) | |
download | crux-ports-9456c6b4df5c1cb22155fbd13a77a4be2fa19bde.tar.xz |
barcode/lastVersion.sh neu
Diffstat (limited to 'manualPorts/barcode')
-rwxr-xr-x | manualPorts/barcode/lastVersion.sh | 10 |
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 |