title: Replace commas with a tabbed space in many files
body: <p>I'm trying to find a way to replace commas <code>,</code> with a tabbed space <code>\t</code> or, in fact, it can be a single space as well. I would like to do this using BASH, and I was wondering perhaps Vim can accomplish such tasks?</p>
  
  <p>I know I can do this manually or through command line for <strong>one</strong> file with:</p>
  
  <pre><code>vi [file] -c :%s/\,/\t/g
  </code></pre>
  
  <p>Would it be possible to do this on a loop of files, such as:</p>
  
  <pre><code>for i in *; do [vi command here]; done
  </code></pre>
  
  <p>Thanks for your help</p>