title: In AWK, is it possible to specify "ranges" of fields?
body: <p>In AWK, is it possible to specify "ranges" of fields?</p>
  
  <p>Example. Given a tab-separated file "foo" with 100 fields per line, I want to print only the fields 32 to 57 for each line, and save the result in a file "bar". What I do now:</p>
  
  <pre><code>awk 'BEGIN{OFS="\t"}{print $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57}' foo &gt; bar
  </code></pre>
  
  <p>The problem with this is that it is tedious to type and prone to errors.</p>
  
  <p>Is there some syntactic form which allows me to say the same in a more concise and less error prone fashion (like "$32..$57") ?</p>