btocakci
asked on
adding
hi!
i want to write a shell command that will find the sum of the numbers in a file..
how can i do this?
thanks..
i want to write a shell command that will find the sum of the numbers in a file..
how can i do this?
thanks..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
there needs to be a space on the either side of + sign
ASKER
thanx..
Hi,
What does the file content look like?
What does the file content look like?
ASKER
1 3 5 8 9 6 45 65 lets say..
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
an error occurred..
at line three expr+1 : command not found
what is the reason??
thanks