9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] weather
@ 2004-10-01 17:03 Steve Simon
  0 siblings, 0 replies; only message in thread
From: Steve Simon @ 2004-10-01 17:03 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

> for those of us in north america there's a similarly simple weather
> monitoring service (it was very interesting to watch florida this

That reminds me, I noticed /rc/bin/weather appeared a while back
which is US-centric, so I wrote /rc/bin/ukweather (attached)

Perhaps we should have a nod to internationalisation (sic) with
/rc/bin/country/uk/weather etc and bind the apropriate one into
/bin?

-Steve

[-- Attachment #2: ukweather --]
[-- Type: text/plain, Size: 270 bytes --]

#!/bin/rc


hget http://www.met-office.gov.uk/weather/europe/uk/uk_printable.html |
	htmlfmt |
	sed '
		1,/^Key$/d
		/^UK ADVANCE WARNINGS OF SEVERE WEATHER$/,$d
	'

		
window -dx 275 -dy 220 hget http://www.met-office.gov.uk/datafiles/6hrlyani.gif '|' gif -e

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-01 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-01 17:03 [9fans] weather Steve Simon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).