From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from saidin.asmodean.net ([216.254.102.192]) by speech.braille.uwo.ca with esmtp (Exim 3.34 #1 (Debian)) id 16gtYD-0006Hf-00 for ; Fri, 01 Mar 2002 15:22:46 -0500 Received: from raul by saidin.asmodean.net with local (Exim 3.34 #1 (Debian)) id 16gtXW-0001hM-00 for ; Fri, 01 Mar 2002 14:22:02 -0600 Date: Fri, 1 Mar 2002 14:21:52 -0600 To: speakup@braille.uwo.ca Subject: Re: weather from shell Message-ID: <20020301202152.GD3169@asmodean.net> Mail-Followup-To: speakup@braille.uwo.ca References: <20020301171538.GB3169@asmodean.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: User-Agent: Mutt/1.3.27i From: "Raul A. Gallegos" 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: 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=3D"$1" else QUERY=3D"$1+=1BA$2" fi lynx "http://braille.wunderground.com/cgi-bin/findweather/getForecast?query=3D$Q= UERY" Charles Hallenbeck said the following on Fri, Mar 01, 2002 at 02:51:08PM -0= 500: > Here is a script I use. I call it 'wxw'. > #!/bin/bash > lynx http://braille.wunderground.com/ >