title: Extracting columns from text file with different delimiters in Linux
body: <p>I have very large genotype files that are basically impossible to open in R, so I am trying to extract the rows and columns of interest using linux command line. Rows are straightforward enough using head/tail, but I'm having difficulty figuring out how to handle the columns.</p>
  
  <p>If I attempt to extract (say) the 100-105th tab or space delimited column using </p>
  
  <pre><code> cut -c100-105 myfile &gt;outfile
  </code></pre>
  
  <p>this obviously won't work if there are strings of multiple characters in each column. Is there some way to modify cut with appropriate arguments so that it extracts the entire string within a column, where columns are defined as space or tab (or any other character) delimited?</p>