title: git grep and xargs in Windows Batch file?
body: <p>I am trying to create a Windows friendly <code>.bat</code> implementation of the following <code>.sh</code> script. The top few lines are all fine, just add <code>SET</code> and cd is fine. git grep is fine, however, <code>xargs</code> isn't... What would the <code>git grep | xargs</code> logic look like in <code>.bat</code> ?</p>
  
  <pre><code>INFINITY=10000
  
  TOPDIR=$(pwd)
  METEOR_DIR="./code"
  cd "$METEOR_DIR"
  
  # Call git grep to find all js files with the appropriate comment tags,
  # and only then pass it to JSDoc which will parse the JS files.
  # This is a whole lot faster than calling JSDoc recursively.
  git grep -al "@summary" | xargs -L ${INFINITY} -t \
      "$TOPDIR/node_modules/.bin/jsdoc" \
      -t "$TOPDIR/jsdoc/docdata-jsdoc-template" \
      -c "$TOPDIR/jsdoc/jsdoc-conf.json" \
      2&gt;&amp;1 | grep -v 'WARNING: JSDoc does not currently handle'
  </code></pre>