title: How to extract data from 2 files and put it in different file (one line from one file and another line from other file and on..)?
body: <p>I have to files say one.txt and two.txt.</p>
  
  <p>one.txt having following data  -</p>
  
  <pre><code>ab
  cd
  ef
  </code></pre>
  
  <p>two.txt having following data - </p>
  
  <pre><code>gh
  ij
  kl
  </code></pre>
  
  <p>**i want output like this in different file like</p>
  
  <p>output.txt - </p>
  
  <pre><code>ab
  gh
  cd
  ij
  ef
  kl
  </code></pre>
  
  <p>can anybody please help on this .</p>
  
  <p>i have tried to open two files at time but somehow i am not able to do that..</p>