openbsd-ports/x11/xglobe/files/getcloudmap

12 lines
318 B
Plaintext
Raw Normal View History

#! /bin/sh
# Marc Espie, 2000
# Public domain
2000-05-31 16:56:38 -04:00
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' \
2006-03-04 05:05:34 -05:00
| grep "img src" | awk -F\" '{ print $2 }'`
ftp -o clouds.gif "http://www.fourmilab.ch$x"