blob: aa0c97728b54509459e18173a4a40c54aca97468 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
curl 'http://download.savannah.gnu.org/releases/confuse/' 2> /dev/null | \
tr '"' '\n' | \
grep '^confuse-[0-9.]\+\.tar\.gz$' | \
sed 's|^confuse-\([0-9.]\+\)\.tar\.gz$|\1|' | \
sort -V | \
tail -n1
|