title: Printing columns with two kinds of field separator awk
body: <p>I want to print the following file in a way that the first six columns are always separated by tab and the rest (it can be two or more) always by space. </p>
  
  <p>For a sample file:</p>
  
  <pre><code>1   1   0   0   1   0   2   2   1   1
  1   2   0   0   2   0   2   2   1   1
  1   3   1   2   1   0   2   2   1   1
  1   4   1   2   2   0   2   2   1   1
  1   5   1   2   1   0   2   2   1   1
  1   6   1   2   1   0   2   2   1   1
  1   7   1   2   2   0   2   2   1   1
  </code></pre>
  
  <p>I achieve this by typing:</p>
  
  <pre><code>awk '{print $1"\t"$2"\t"$3"\t"$4"\t"$5"\t"$6"\t"$7" "$8" "$9" "$10}' file
  </code></pre>
  
  <p>But instead of typing from column 7 onwards, I want to say the rest of the columns as the number of columns varies.</p>
  
  <p>Thanks!</p>