Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell Script in GeekTool trouble ...
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 941661" data-attributes="member: 51052"><p>How much of the forecasted info do you want?</p><p></p><p>btw, with all the tables that's a mess... much easier on a simpler page.. for instance.. tomorrows forecast...</p><p></p><p>[code]</p><p>mikeMbp:~ mike$ curl http://www.wunderground.com/global/stations/94975.html |sed -n 1133,1144p | sed -e 's#<[^>]*>##g'</p><p></p><p> Thursday</p><p> Chance of Rain.</p><p> Partly Cloudy.</p><p> High:</p><p> 66 °F</p><p> .</p><p> Wind</p><p> South</p><p> 17 mph</p><p> .</p><p> Chance of precipitation 30%</p><p> (water equivalent of 0.08 in).</p><p>mikeMbp:~ mike$ </p><p>[/code]</p><p></p><p>oh and since we're printing line ranges.. it'll fail if it changes.</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 941661, member: 51052"] How much of the forecasted info do you want? btw, with all the tables that's a mess... much easier on a simpler page.. for instance.. tomorrows forecast... [code] mikeMbp:~ mike$ curl http://www.wunderground.com/global/stations/94975.html |sed -n 1133,1144p | sed -e 's#<[^>]*>##g' Thursday Chance of Rain. Partly Cloudy. High: 66 °F . Wind South 17 mph . Chance of precipitation 30% (water equivalent of 0.08 in). mikeMbp:~ mike$ [/code] oh and since we're printing line ranges.. it'll fail if it changes. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Shell Script in GeekTool trouble ...
Top