Return to Snippet

Revision: 45112
at April 25, 2011 04:22 by jeremydouglass


Updated Code
for f in * ; do sed -i -e 's/,/t/g' $f ; done
# alternately:
# sed -i -e 's/,/\t/g' *

Revision: 45111
at April 25, 2011 04:19 by jeremydouglass


Initial Code
for f in * ; do sed -i -e 's/,/t/g' $f ; done

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

Initial Description

                                

Initial Title
CSV to TSV with sed

Initial Tags
Bash, csv

Initial Language
Bash