30th September Comments

Bash Script To Get Weather Forecasts For Your Zip Code

Posted on September 30th, 2008 at 6:38 am

Today’s Linux/Unix bash shell script is probably not the last follow up to the growing stable of scripts we’ve written to mine the knowledge on tap online. Today’s info is grabbed from WeatherBug.com. If you missed any of the others scripts we’ve jammed out, you can still find them in our older bash script posts to spew out famous quotations on pretty much any subject, do encylopedia lookups, access the online Thesaurus, translate between different languages and, of course, the use the online dictionary. This time we’re going to take a crack at getting online weather updates, using zip codes. If you check out the GET variables, you’ll notice that the scope is the WORLD, but it doesn’t seem to work well with foreign identifiers. Of course, I haven’t tried all that hard to get it to work – setting me up for a post on the upgrade ;)

Read the rest of the article here.

Leave a Reply

You must be logged in to post a comment.