blob: 8fdd055c40fd15bceaea4227dbbb6657bd1a0bea (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
curl "https://www.x.org/archive/individual/app/" 2> /dev/null | \
tr "\"" "\n" | \
grep "^xcalc-.*\.tar\.bz2\$" | \
sed "s|^xcalc-\(.*\)\.tar\.bz2\$|\1|" | \
sort -V | \
tail -n1
|