weather script
David J Patrick
davidjpatrick-rieW9WUcm8FFJ04o6PK0Fg at public.gmane.org
Thu Sep 16 19:13:43 UTC 2004
On Thu, 2004-09-16 at 14:42, Adil Kodian wrote:
> On Thu, 16 Sep 2004 14:31:05 -0400, David J Patrick
>
> export PS1="Current temp: $(wget -nv -q -O -
> http://weather.noaa.gov/weather/current/CYXD.html|grep 'C)' |head -1 |
> awk '{print $5}' |tr -d '(') >"
>
>
> put this one line in your .bashrc then you get the current temperature
> whenever you log on ! Of course this is edmonton temperature - you can
> get the same for toronto.
Not exactly what I'm after, but educational, thanks !
djp
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list