9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Steve Simon" <steve@quintile.net>
To: 9fans@cse.psu.edu
Subject: [9fans] weather
Date: Fri,  1 Oct 2004 18:03:50 +0100	[thread overview]
Message-ID: <578ef45f1811e9b42bf6d32cf8cf30c4@quintile.net> (raw)

[-- 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

                 reply	other threads:[~2004-10-01 17:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=578ef45f1811e9b42bf6d32cf8cf30c4@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).