1 2 3 4 5 6 7 8
#!/bin/bash curl -Ss 'https://support.hdfgroup.org/ftp/lib-external/szip/' | \ tr '<>' '\n' | \ grep '^[0-9.]\+/$' | \ sed 's|/$||' | \ sort -V | \ tail -n1