summaryrefslogtreecommitdiff
path: root/manualPorts/hyperrogue/lastVersion.sh
blob: eab24b6666f4567f9d38cb0d17e84ba6c36a0c6a (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl -Ss 'http://www.roguetemple.com/z/hyper/download.php' | \
  sed '
    s,^.*<a href="hyperrogue\([0-9]\+[a-z]\)-src.tgz">[^<>]\+ source code</a>.*$,\1,
    t
    d
  '