CSV to TSV with sed


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. for f in * ; do sed -i -e 's/,/t/g' $f ; done
  2. # alternately:
  3. # sed -i -e 's/,/\t/g' *

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.