title: sed: Batch - combining 3 columns of x, y, z values into 1 column in order of x, y and z last
body: <p>Again, I have about 150 files with the following data with no header</p>
  
  <blockquote>
    <p>x1 y1 z1</p>
    
    <p>x2 y2 z2</p>
    
    <p>...</p>
    
    <p>zn yn zn</p>
  </blockquote>
  
  <p>The delimiter happens to be tab key. How could I use sed and batch processing for these 150 files to achieve the following output:</p>
  
  <blockquote>
    <p>x1</p>
    
    <p>x2</p>
    
    <p>x3</p>
    
    <p>...</p>
    
    <p>xn</p>
    
    <p>y1</p>
    
    <p>y2</p>
    
    <p>y3</p>
    
    <p>...</p>
    
    <p>yn</p>
    
    <p>z1</p>
    
    <p>z2</p>
    
    <p>z3</p>
    
    <p>..</p>
    
    <p>zn</p>
  </blockquote>
  
  <p>Any ideas would be appreciated.</p>
  
  <p>NOTE: I posted similar question before, not duplicate. Please see this <a href="https://stackoverflow.com/questions/14516935/batch-combining-3-columns-of-x-y-z-values-into-1-column-without-using-matlab">link</a>.</p>
  
  <p>Regards,</p>
  
  <p>ikel</p>