[Linux-Biella] script

CIARROCCHI Paolo linux@bilug.linux.it
Mon, 30 Sep 2002 15:49:07 +0200


Ciao a tutti,
ho scritto uno script di una linea... ;-)
Administrator@OIVT444P /cygdrive/log
$ grep $kernel $test.log | awk '{tot+=$2}; END {print tot/NR }'
572.637

Vorrei pero' assegnare il risultato ad una variabile, sapete come 
fare?

Ciao e grazie,
            Paolo

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================