title: How to print tab delimited file in terminal
body: <p>I exported excel data into a tab delimited txt file but I have hard time to print it in terminal, here is the file:</p>
  
  <pre><code>heading1    heading2    heading3    heading4    heading5    heading6    heading7  
  col1row1    col2row1    col3row1    col4row1    col5row1    col6row1    col7row1  
  col1row2    col2row2    col3row2    col4row2    col5row2    col6row2    col7row2  
  col1row3    col2row3    col3row3    col4row3    col5row3    col6row3    
  col1row4    col2row4    col3row4    col4row4                        
  </code></pre>
  
  <p>You can download the text file <a href="https://www.dropbox.com/s/g3222y420e7q9rx/test_tab_delimited.txt?dl=0" rel="nofollow">here</a>.</p>
  
  <p>I tried with sed and awk.</p>
  
  <p>update1: I  am on bsd (mac), cat file.txt prints in an ugly format that is not readable, I have a bash script that needs input tags, so I just print the tags first and choose the correct tags from the printed list</p>