The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 10-20-2006
alfredo123 alfredo123 is offline
Registered User
 

Join Date: Jun 2006
Posts: 39
Quote:
Originally Posted by anbu23
Code:
awk '{sum+=$1} END{printf("%f\n",sum)}' filename
Awesome! Thanks Anbu...
Reply With Quote