title: Reading delimited value from file into a array variable
body: <p>I want to read data.txt which has a 2x2 matrix number inside delimited by tab like this:</p>
  
  <pre><code>0.5 0.1
  0.3 0.2
  </code></pre>
  
  <p>Is there any way to read this file in bash then store it into an array then process it a little then export it to a file again? Like for example in matlab:</p>
  
  <pre><code>a=dlmread('data.txt') //read file to array variable a
  for i=1:2
     for j=1:2
     b[i][j]=a[i][j]+100
     end
  end
  dlmwrite(b,'data2.txt') //exporting array value b to data2.txt
  </code></pre>