title: AWK equivalent in batch scripting
body: <p>I want an batch scripting equivalent to this AWK script:</p>
  
  <pre><code>awk '{print $3}'
  </code></pre>
  
  <p>A file has this content:</p>
  
  <pre><code>XXX YYY : 8
  Rrr rrr : 7
  ddd rrr : 9
  </code></pre>
  
  <p>I want to get a batch script to print</p>
  
  <pre><code>8, 7, 9
  </code></pre>
  
  <p>Is there any way by which each value can be assigned to a loop and redirected to if condition?</p>