Hi, I see that some geeklets require lynx but what is that and is it standard installed? for example here is a code i found Code: lynx -dump http://printer.wunderground.com/cgi-bin/findweather/hdfForecast?query=17552|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }' lynx -dump http://printer.wunderground.com/cgi-bin/findweather/hdfForecast?query=17552|awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }'
Almost. It's being used, with awk, to obtain and extract the data. awk is a command line program and a programming language used for working with text. The -dump flag tells lynx to output the webpage to what's called it's standard output. the " | " connects this to the awk standard input. wunderground is having an internal server error at the moment, but in the 2nd case awk will print out the 2nd through 10th field on lines that contain "Cond" but not "Fore": Code: > echo "Cond Two Three Four Five Six Seven Eight Nine Ten Eleven Twelve" |awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }' Two Three Four Five Six Seven Eight Nine Ten > > echo "Cond Two Three Four Five Six Seven Eight Nine Ten Eleven Twelve Fore" |awk '/Cond/ && !/Fore/ {for (i=2; i<=10; i++) printf $i " " }' > edit: and lynx doesn't seem to be installed. look into macports or fink
Lynx a wild cat with yellowish-brown fur (sometimes spotted), a short tail, and tufted ears, found chiefly in the northern latitudes of North America and Eurasia.
how to install on Lion? I found this tutorial https://wincent.com/wiki/Installing_Lynx_2.8.7_on_Mac_OS_X_10.6_Snow_Leopard but when enter the first line i get an 404 error
Follow the link that tersono posted and you'll find a few download links. http://lynx.isc.org/lynx2.8.7/lynx2.8.7.tar.bz2 You probably don't have a compiler installed though. If you follow macports installation instructions it'll guide you through installing Xcode, but it's in the app store.