Created
December 2, 2011 17:37
-
-
Save JoshuaEstes/1424116 to your computer and use it in GitHub Desktop.
convert something to csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -F"\t" -lane 'print join ",", map {s/"/""/g; /^[\d.]+$/ ? $_ : qq("$_")} @F ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment