diff options
Diffstat (limited to 'manualPorts/help2man/lastVersion.sh')
-rwxr-xr-x | manualPorts/help2man/lastVersion.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manualPorts/help2man/lastVersion.sh b/manualPorts/help2man/lastVersion.sh new file mode 100755 index 0000000..262611e --- /dev/null +++ b/manualPorts/help2man/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl "http://ftp.gnu.org/gnu/help2man/" 2> /dev/null | \ + tr "<>" "\n\n" | \ + grep "^help2man-[0-9.]\+\.tar\.xz\$" | \ + sed "s/^help2man-\([0-9.]\+\)\.tar\.xz\$/\1/" | \ + sort -V | \ + tail -n1 |