Posted By

jeremydouglass on 04/25/11


Tagged

Bash csv tr comma tab tsv dsv


Versions (?)

CSV to TSV with tr


 / Published in: Bash
 

URL: http://stackoverflow.com/questions/5641378/replace-commas-with-a-tabbed-space-in-many-files

  1. for i in *
  2. do
  3. cat $i | tr ',' '\t' > $i.tmp
  4. mv $i.tmp $i
  5. done

Report this snippet  

You need to login to post a comment.