weather from shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Impressive. I may try it.

On Fri, 1 Mar 2002, Raul A. Gallegos wrote:

> I have a better idea.  How about this:
>
> #!/bin/bash
>
> if [ "$#" -lt "1" -o "$#" -gt "2" ] ;then
> 	echo "Usage: wxw zip or wxw cityname."
> 	echo "Example: wxw 66212 or wxw Overland Park"
> 	exit 1
> fi
>
> if [ "$#" -eq "1" ] ;then
> 	QUERY="$1"
> else
> 	QUERY="$1+A$2"
> fi
>
> lynx
> "http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=$QUERY";
>
> Charles Hallenbeck said the following on Fri, Mar 01, 2002 at 02:51:08PM -0500:
> > Here is a script I use. I call it 'wxw'.
> > #!/bin/bash
> > lynx http://braille.wunderground.com/
> >
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>

Visit me at http://www.valstar.net/~hallenbeck
The Moon is Waning Gibbous (91% of Full)





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux