diff options
Diffstat (limited to 'manualPorts/szip/lastVersion.sh')
-rwxr-xr-x | manualPorts/szip/lastVersion.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manualPorts/szip/lastVersion.sh b/manualPorts/szip/lastVersion.sh new file mode 100755 index 0000000..0a6f8e4 --- /dev/null +++ b/manualPorts/szip/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl -Ss 'https://support.hdfgroup.org/ftp/lib-external/szip/' | \ + tr '<>' '\n' | \ + grep '^[0-9.]\+/$' | \ + sed 's|/$||' | \ + sort -V | \ + tail -n1 |