title: How to do divide a column based on the corresponding value in another file?
body: <p>I have multiple files (66) and want to divid column 3 of each file to its corresponding value in the info.file and insert the new value in column 4 of each file. 
  My manual code is:</p>
  
  <pre><code>awk '{print $4=$3/NUmber from info.file}1' file 
  </code></pre>
  
  <p>But this takes me hours to do for each individual file. So I want to automate it for all files. Thanks</p>
  
  <pre><code>file1:
   chrm  name  value
   4     a      8
   3     b      4
  
  file2:
   chrm  name  value  
   3     g      6       
   5     s      12       
  
  info.file:
   file_name    average
   file1          8
   file2          6
   file3          10
  </code></pre>
  
  <p>output:   </p>
  
  <pre><code> file1:
   chrm  name  value  new_value
   4     a      8       1
   3     b      4       0.5
  
   file2:
   chrm  name  value  new_value
   3     g      6       1
   5     s      12      2
  </code></pre>