Posted By

jeremydouglass on 04/25/11


Tagged

Bash csv sed comma tab tsv dsv


Versions (?)

CSV to TSV with sed


 / Published in: Bash
 

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

  1. for f in * ; do sed -i -e 's/,/t/g' $f ; done
  2. # alternately:
  3. # sed -i -e 's/,/\t/g' *

Report this snippet  

You need to login to post a comment.