<pre>awk -F~ '{total+=$3} END{print total}' /tmp/foo</pre>
assuming your file is /tmp/foo. You may have to use gawk instead of awk on Solaris. I don't have a solaris box to try it on.
Last Wiki Answer Submitted: September 6, 2008 1:43 am by MarkK645 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.