![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Help me with AWK!
Hi guys,
This is my text file contains data like, Merk Type Cost M.Year Aston Martin 85000 2007 Mercedes Benz 60000 2006 BMW X5 65000 2008 AUDI A4 40000 2007 ..... ..... ..... ..... ---------------------------- In this text file i need to find out the total cost of those cars above, and the average cost of all them. Note that you dont have only 4 lines. Thanks in advance. And sorry for my language! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|