CSV to TSV with tr


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



Copy this code and paste it in your HTML
  1. for i in *
  2. do
  3. cat $i | tr ',' '\t' > $i.tmp
  4. mv $i.tmp $i
  5. done

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.