Are their other Working Weather Scripts?

Dan D. dandunfee at
Sat Feb 4 17:02:13 UTC 2017

I use the lynx -dump approach also with braille underground.

I pipe it using:

| grep -iA 5 $1

Grep returns the search term $1 and the following 5 lines from the lynx
"dump".  So using "temperature" it will provide the current temp plus other
relevant current info.

The "5" can be changed to capture as many lines folllowing the search
termas you wish.

Sunset/rise and moonset/rise and phase are other examples.

Any term such as "forcast" will return the next week  or "wed" for a coming 
day will return its individual forcast.

On Fri, 3 Feb 2017, Tim Chase wrote:

> On February  3, 2017, Janina Sajka wrote:
>> Fortunately, is still up. It's not command
>> line, though I imagine one could write a script quite readily.
> Didn't know about this one.  A quick "lynx -dump" alias seems to do
> the trick:
>  alias weather='lynx -dump ""'
> seems to do the trick as long as you update the query to your
> preferred zip-code or other acceptable query.
> If you don't care about the details like phase of moon, and links at
> the bottom, you can pipe it to sed or head:
>  alias weather='lynx -dump "" | sed /Updated/q'
> or
>  alias weather='lynx -dump "" | head'
> One could wrap it in a function to take the search parameters on the
> command-line, but I'm usually only interested in the weather fairly
> locally most of the time.
> -tim
> _______________________________________________
> Blinux-list mailing list
> Blinux-list at


More information about the Blinux-list mailing list