Wednesday, November 02, 2016

Got Temperature?


Another
one liner to get the temperature... This one specifically from a Bs. As. source, the text only version of La NaciĆ³n Online newsparer.

temp()
{
    wget -q -O- http://servicios.lanacion.com.ar/solo-texto | egrep --color=never Temperatura
    echo -e
}


The parsing is way simpler than the one used on the script I linked above, but the site seems to be a little a bit slower responding...
Anyway, plain and simple... It just works.

Labels: , , , ,

0 Comments:

Post a Comment

<< Home