On Thu, 30 Dec 2004, OLIVAREZ COTAL JOSE LUIS wrote:

> date >>/var/log/temperatura.log;sensors -f|grep temp|awk {'print $1 
> ($2-32)*5/9'
> } >>/var/log/temperatura.log

Puedes ahorrarte un proceso si haces

...; sensors -f | awk '/temp/ { print $1 ($2-32)*5/9; }' >> ...

--
Jesus Aneiros Sosa
GNU/Linux User #190716
perl -e '$_=pack(c5,0105,0107,0123,0132,(1<<3)+2);y[A-Z][N-ZA-M];print;'

Responder a