O T weather underground

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

 



Nice script, Raul. May I recommend:

lynx -dump -nostatus


Raul A. Gallegos writes:
> From: "Raul A. Gallegos" <raul at asmodean.net>
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Here is a weather script I us.  Works real nice.  I just type at a 
> prompt for example:
> 
> wxw 80222
> 
> And I get the weather for Denver Colorado.
> 
> Script follows:
> 
> #!/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+$2"
> fi
> 
> lynx "http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=$QUERY";
> 
> - -- 
> Raul a. Gallegos - http://www.asmodean.net
> Do you like 80's music?  Do you want to spend some time on Saturdays listening?
> Visit http://www.chosen80s.com for all the details.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFAHHeYas0vKmIuNMcRAqciAJ9RtWnxOf3NWz8CP7ZNFfdj8y8zTACgrhfU
> PkA1pBQiFuwqz+N94VGRobg=
> =Qxpu
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
	
Janina Sajka
Email: janina at rednote.net		
Phone: +1 (202) 408-8175

Director, Technology Research and Development
American Foundation for the Blind (AFB)
http://www.afb.org

Chair, Accessibility Work Group
Free Standards Group
http://a11y.org




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