diff options
author | Erich Eckner <git@eckner.net> | 2019-03-25 20:25:42 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-03-25 20:25:42 +0100 |
commit | 8215510dc02361191b32ce55ec92c3115380dd08 (patch) | |
tree | 1fc5e661fcbda03686e029f1edbdb003b9085587 /manualPorts/topal/lastVersion.sh | |
parent | bb700b441cb63277000260f83c4965adfc0bcb68 (diff) | |
download | crux-ports-8215510dc02361191b32ce55ec92c3115380dd08.tar.xz |
topal: lastVersion.sh new
Diffstat (limited to 'manualPorts/topal/lastVersion.sh')
-rwxr-xr-x | manualPorts/topal/lastVersion.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/manualPorts/topal/lastVersion.sh b/manualPorts/topal/lastVersion.sh new file mode 100755 index 0000000..f156744 --- /dev/null +++ b/manualPorts/topal/lastVersion.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +curl -Ss 'https://zircon.org.uk/topal/' \ + | sed ' + s,^.*<a href="rel-\([0-9.]\+\)">rel-\1</a>.*$,\1, + t + d + ' \ + | sort -V \ + | tail -n1 |