I am new to UNIX shell scritping. I have a file in which i stored numbers( floating point numbers). I need to add them. OK I can use the cut command to get them separated at decimal point. But in this method I will need to store the results in two different files :
I need to know how do I add the contents of a file into a single variable. How is the value assigned to it? I mean I am not able to figure out what loop can be used. Also another question is can this be done without storing the result in 2 temporary files?
Thanks a lot for the help.
It might sound trivial to shell programmers, but please try to help me thanks a lot
Most people walk in and out of your life, only friends leave footprints in your heart.
Everything is okay in the end. If it's not okay, then it's not the end...