diff options
author | Erich Eckner <git@eckner.net> | 2020-04-18 00:33:40 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-18 00:33:40 +0200 |
commit | de17a621004b884113541ed54b79c5866c0dd237 (patch) | |
tree | fb2fc57d9d1cb5c02461eb69f9943d7fa8dc111e /cpan2cruxPorts/p5-sys-info/lastVersion.sh | |
parent | 0b1fd77f7f9ada7ed7b55e7fc3c6cae1333c6c73 (diff) | |
download | crux-ports-de17a621004b884113541ed54b79c5866c0dd237.tar.xz |
perl-sys-info new
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info/lastVersion.sh')
-rwxr-xr-x | cpan2cruxPorts/p5-sys-info/lastVersion.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info/lastVersion.sh b/cpan2cruxPorts/p5-sys-info/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +wget --output-document=- "https://cpan.metacpan.org/authors/id/B/BU/BURAK/" 2> /dev/null | \ + tr '"' '\n' | \ + sed ' + s/^Sys-Info-\([0-9.]\+\)\.tar\.gz$/\1/ + t + d + ' | \ + sort -V | \ + tail -n1 |