Hi guys,
Having some trouble finding a method to perform a calculation between the contents of two files... For example
Say i have:
File 1
-------------
1
23
54343
123
45676
8855
-------------
File 2
-------------
9087
576
7897
4778
665
4545
-------------
I would like to add or divide the contents of the two files between each other, such as:
1*9087
23*576
54343*7897
123*4778
45676*665
8855*4545
and finally output the result to another file...
How am I able to add the contents of these files?
Note: The number of lines between each file is always the same...
Thanks for any help you can offer!!
Mark