--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tab2csv.sh Wed Sep 25 02:03:47 2013 -0400 @@ -0,0 +1,6 @@ +if [ -e $3 ] +then +sed -e 's/\t/,/g' $1 > $2 +else +sed -e 's/\t/","/g' $1 | sed -e 's/^\|$/"/g' > $2 +fi