Hi
I have a file with this fields:
date, subscriber a, suscriber b, country b, date, seconds.
and I want to obtain this resume:
date, subscriber a, country b, total calls, total seconds, quantity subcriber b differents
my initial program
t[date";"subscriber a"," suscriber b"," country b]++
d[date";"subscriber a"," suscriber b"," country b]+=$seconds
for ( i in t )
print i","t","d
but this report print subcriber b. I want to print only quantity of call to diffents subscribers b.
desired output:
subscriber A, country A, 10 calls , 20 seconds, quantity of diferents subcribers B( example 10 differents subscribers B)
Thanks
malpa
I have a file with this fields:
date, subscriber a, suscriber b, country b, date, seconds.
and I want to obtain this resume:
date, subscriber a, country b, total calls, total seconds, quantity subcriber b differents
my initial program
t[date";"subscriber a"," suscriber b"," country b]++
d[date";"subscriber a"," suscriber b"," country b]+=$seconds
for ( i in t )
print i","t","d
but this report print subcriber b. I want to print only quantity of call to diffents subscribers b.
desired output:
subscriber A, country A, 10 calls , 20 seconds, quantity of diferents subcribers B( example 10 differents subscribers B)
Thanks
malpa