chanman525
IS-IT--Management
Hey all. I've got a file that looks like the following:
81011, prt8, 0
81006, prt8, 28085
81009, prt8, 925
81011, prt8, 0
81006, prt8, 28085
81009, prt8, 925
All I want to do is add the numbers in the third column. Right now I've got...
cat test | read a1 a2 a3
sum $a3
but it's just saying that 0 cannot be found. Am I going about this the right way?
Thanks for any help you can give.
81011, prt8, 0
81006, prt8, 28085
81009, prt8, 925
81011, prt8, 0
81006, prt8, 28085
81009, prt8, 925
All I want to do is add the numbers in the third column. Right now I've got...
cat test | read a1 a2 a3
sum $a3
but it's just saying that 0 cannot be found. Am I going about this the right way?
Thanks for any help you can give.