openbsd-ports/x11/xglobe/files/getcloudmap
sturm 7304428db4 - i moved
- fix getcloudmap
- bump PKGNAME
2005-08-03 08:19:24 +00:00

12 lines
322 B
Bash
Executable File

#! /bin/sh
# Marc Espie, 2000
# Public domain
PATH=/bin:/usr/bin
export PATH
x=`ftp -o - \
'http://www.fourmilab.ch/cgi-bin/uncgi/Earth?imgsize=640&opt=-p&lat=-21&ns=North&lon=-134&ew=West&alt=986&img=irsat.bmp&daynight=-d' \
| grep "/cache.*gif" | awk -F\" '{ print $2 }'`
ftp -o clouds.gif "http://www.fourmilab.ch$x"