[Linux-Biella] script sh
CIARROCCHI Paolo
linux@bilug.linux.it
Tue, 25 Mar 2003 09:47:49 +0100
From: Paul TT [mailto:paultt@supereva.it]
> CIARROCCHI Paolo wrote:
>
> >Qualcuno mi puo consigliare una forma piu' pulita di:
> >
> >bash-2.05$ cat totale_MO.sh
> >
> >#Effettua la somma degli MO generati in un giorno
> >
> >a=`cat $1| cut -d ";" -f 3|grep -v MO`
> >tot=0
> >for s in `echo $a`
> >do
> >tot=`expr \$tot + $s`;
> >done
> >
> >echo "tot="$tot
> >
> >Grazie!
> >
> > Paolo
> >
> >
> >
> scusa l'ignoranza: che diamine sono gli MO?!?!? monete d'oro? manubri
> ornamentali? molto onorato? minkie ostrogote?!?!
> jokes apart, davvero, che sono?!?!?!
Forse era meglio se toglievo il commento ;-)
Si tratta di sms Mobile Originated.
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."
=================================