|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Lose your application development headaches. Start developing and deploying applications with Advantage Database Server today. Download a 30-day trial for Free!
|
|
#1
|
|||
|
|||
|
how do you calculate in awk???
hello people,
Im having real problems trying to add up a total in awk?? I can get a total at the bottom of the line in column $2 but how would i get it so that i get a sub total say half way down?? can anyone help, ive tried looking in the manual pages but cant seem to find anything... Thankyou in advanced ![]()
__________________
Jeffers |
|
#2
|
|||
|
|||
|
>> i get a sub total say half way down??
Use head first, then pipe to awk. man head to find out more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > how do you calculate in awk??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|