From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.inoc.net ([64.246.131.30]) by speech.braille.uwo.ca with esmtp (Exim 3.34 #1 (Debian)) id 16gtss-0007O6-00 for ; Fri, 01 Mar 2002 15:44:06 -0500 Received: from hudson.valstar.net (cust36.usr0-gtown.valstar.net [64.246.150.37]) by mx1.inoc.net (Vircom SMTPRS 5.2.204) with ESMTP id for ; Fri, 1 Mar 2002 15:44:04 -0500 Received: from localhost (hallenbeck@localhost) by hudson.valstar.net (8.11.4/8.10.2) with ESMTP id g21Ki1D00475 for ; Fri, 1 Mar 2002 15:44:01 -0500 Date: Fri, 1 Mar 2002 15:44:00 -0500 (EST) From: Charles Hallenbeck To: speakup@braille.uwo.ca Subject: Re: weather from shell In-Reply-To: <20020301202152.GD3169@asmodean.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: 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@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)