help me please
I have this file :
00962798578964 600 00962785985764 00962798578964 110 00962786897532 00962798578964 61 00962776898523 00962798578964 111 00962795225325 00962798578964 45 00962777965862 00962798578964 55 00962799548155 - $1 : number of mobile doing calls to another numbers - $2 : time of calls in secondes. - $3 : number of reciver call. I need code do this : Print time of calls in mintues as this : 600/60 = 60 110/60= 2 61/60=2 111/60=2 45/60=1 55/60=1 *hint : if time of call < 60 sec then time= 1 mintue *hint in this file we have three companys (in $3) numbers: -0096278******* -0096277******* -0096279******* *I want to print sum of time (in mintue) for each company alone : Example : 600/60 + 110/60 = 12 min Example : 61/60 + 45/60 = 3 min Exactly I want to print : 12 min 3 min 3 min |
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate. Please, follow discussion here: http://www.linuxquestions.org/questi...6/#post4854956
|
All times are GMT -5. The time now is 06:09 AM. |